2,528 Recommended Topics
Remove Filter ![]() | |
Hey, im having a problem retrieving information about some files due to the fact either the file name or the extension is too long. For example i want to retrieve the size of a file only i call [CODE=Python]os.path.getsize("somelongfilename.txt")[/CODE] Note that it may not be a .txt extension, but it … | |
Hello , I have question regarding visual studio , I have a console application that uses some data from Linux server , how can I run my application remotely from my windows on Linux without having to add the application on the Linux server .. for the sake of debugging … | |
![]() | I want to learn ethical hacking anyone's here to help me? |
Using the Microsoft.SharePoint.Client namespace in a C# code, I am trying to access a SharePoint List but I am getting a 403. Is it because the Microsft List I am trying to access is on a different computer on the internet and the program has to be on the same … | |
On July 18th, 2024, [OpenAI released GPT-4o mini](https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/), their most cost-efficient small model. GPT-4o mini is around 60% cheaper than GPT-3.5 Turbo and around 97% cheaper than GPT-4o. As per OpenAI, GPT-4o mini outperforms GPT-3.5 Turbo on almost all benchmarks while being cheaper. In this article, we will compare the … | |
In my article on [Image Analysis Using OpenAI GPT-4o Model](https://www.daniweb.com/programming/computer-science/tutorials/542030/image-analysis-using-openai-gpt-4o-model), I explained how GPT-4o model allows you to analyze images and answer questions related images precisely. In this article, I will show you how to analyze images with the [Anthropic Claude 3.5 Sonnet](https://www.anthropic.com/news/claude-3-5-sonnet) model, which has shown state-of-the-art performance for … | |
Imagine my surprise when I learned this morning that an [URL="http://news.cnet.com/8301-13924_3-10216733-64.html?part=rss&subj=news&tag=2547-1_3-0-5"]IBM researcher believes[/URL] that Moore's Law-- that the number of transistors on a micro processor would double nearly every two years-- could be nearing the end of its run. Amazingly Moore made this prediction in 1965 and his law has … | |
I wrote the Python code to upload the .gz file from my local machine to the OpenStack object store using the following documentation: https://docs.openstack.org/python-swiftclient/latest/client-api.html. Below is the code I wrote. from keystoneauth1 import session from keystoneauth1.identity import v3 from swiftclient.client import Connection, logger from swiftclient.client import ClientException import gzip # … | |
I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object … | |
Are you interested in finding out what a YouTube channel mostly discusses? Do you want to analyze YouTube videos of a specific channel? If yes, we are in the same boat. YouTube video titles are a great way to determine the channel's primary focus. Plotting a word cloud or a … | |
In my [previous article](https://www.daniweb.com/programming/computer-science/tutorials/542132/comparing-gpt-4o-vs-claude-3-5-sonnet-for-zero-shot-text-classification) I presented results comparing Anthropic [Claude 3.5 Sonnet](https://www.anthropic.com/news/claude-3-5-sonnet) and [OpenAI GPT-4o](https://openai.com/index/hello-gpt-4o/) models for zero-shot text classification. The results showed that the Claude 3.5 Sonnet significantly outperformed GPT-4o. These results motivated me to develop a simple retrieval augmented generation system with [LangChain](https://www.langchain.com/) that enables the Claude 3.5 … | |
Hello, I have simple problem for professionalist (that i think ) but i asked all available AI about it and none was able to help and solve problem. so nothing is able to help me in this. I have simple app that show 3 colored axes and camera that move … | |
hi guy! I started learn python with pandas , but now, i get the trouble so i cant understand what i should do with this trouble File "C:\Users\Administrator\site-packages\Ver6.py", line 3, in <module> abc = pd.read_csv('book2.csv') AttributeError: module 'pandas' has no attribute 'read_csv' Plz , someone help me coz i cant … | |
hi.. I have a problem when compiling the program created in VB6, an error message suddenly appears visual basic has stopped working the condition of the laptop that I use with 4GB memory specifications does this correlate directly while executing the process compile, while if I compile the program with … | |
I have a parameter in a RDLC report named "allocated_jobs" There are no Available Values assigned. It has 1 Specify Values: RTrim(Allocated = "True") ie; Only rows with field name Allocated and it's contents equal "True" are to be in the report. Me.JobsDataReportViewer.LocalReport.ReportEmbeddedResource = "Data_Reporting.JobsList.rdlc" *Data_Reporting is the stored report … | |
Hi All, Any body know how to convert EML files to Doc or MSG with proper formatting Many thanks in advance | |
Hi, I'm trying to start learning C++ on "Sublime Text" an error came out "file not recognized: File format not recognized collect2.exe: error: ld returned 1 exit status" what can I do about it | |
On June 20, 2024, Anthropic released the [Claude 3.5 sonnet](https://www.anthropic.com/news/claude-3-5-sonnet) large language model. Claude claims it to be the state-of-the-art model for many natural language processing tasks, surpassing the [OpenAI GPT-4o model](https://openai.com/index/hello-gpt-4o/). My first test for comparing two large language models is their zero-shot text classification ability. In this article, … | |
Greetings Folks! I had signed up on Daniweb many years ago but never bothered to seriously post until now. Only when the "social networks" of the world like Reddit and Quora and Twitter started disappointing me beyond the usual excruciating limits did I decide to explore some other programming forums … | |
Hi What is wrong in my this backup code it always not working and gives me an error SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB; AttachDbFilename=D:\repos\mysales\WindowsFormsApp4\Database1.mdf; Integrated Security=True; "); string database = con.Database.ToString(); if (textBox1.Text == "") { MessageBox.Show("Please Enter Backup File Location"); } else { string cmd = "BACKUP DATABASE … | |
I have text that is displayed from a database and I have managed to remove the first h3 tag in the text by using the following code but I would also like to remove the two <br> tags that are before the paragraph of text <h2 class="productsummaryheading mb-0">Product Summary</h2> <?php … | |
As a data scientist, I have extensively used the Hugging Face library for processing unstructured data such as images, text, and audio. My previous blogs have covered various transformer models for these types of data. Lately, however, I discovered that Hugging Face also provides transformer models for tabular data. One … | |
 The value of the Class variable is '0' 'I' '0' 'H' '0' '4' I hope the value of the Class variable is A' 'T' '0' 'H' '6' '9' I tried using sort_region to sort SelectedRegions1, but it still didn't work read_image (Image1, 'C:/Users/29185/Desktop/图片1.png') get_image_size (Image1, Width, Height) dev_close_window () … | |
Anyone here that wants to share if they use AI Code Assistants professionally, which one and why? I'm looking for experiences with backend .NET development in Visual Studio to be specific. | |
# Comparison Between Fine-tuned and Default GPT-3 Turbo for Text Classification In one of my previous articles, I showed you how to perform [zero-shot text classification using OpenAI GPT-4o and Meta Llama 3 models](https://www.daniweb.com/programming/computer-science/tutorials/542001/openai-gpt-4o-vs-meta-llama-3-for-zero-shot-text-classifiation). I used the default models for predicting sentiments of airline tweets. The default models perform substantially … | |
I'm trying to understand what schema markup code is and how it works. From what I've gathered, it's a way to help search engines understand the content on a webpage better, but I'm not entirely sure how it's implemented or what benefits it provides. Can someone explain in detail: 1. … | |
Does all .apk files can be decompiled no matter on how they are protected and secured, and recompile back in apk file? I have an apk file which i need the source code to change something a little bit. I tried using [javadecompilers](http://www.javadecompilers.com) but i did not get the main … | |
<head><title>navigation</title> <link rel="stylesheet" href="../css/nav.css"> <link rel="stylesheet" href="../css/tutorial.css"> <link rel="stylesheet" href="../css/vedio.css"> <link rel="stylesheet" href="../../ionicons-2.0.1/css/ionicons.min.css"> </head> <body> <div class="container"> <button onclick="unb()" id="but">☰</button> <ul> <li><a href="#">MyList</a></li> <li><a href="#">KitHub</a></li> <li><a href="#">Comment</a></li> <li><a href="#">Image</a></li> <li><a href="#">About</a></li> <li><a href="#">Help</a></li> <input type="search" name="search" placeholder="SEARCH TUTORIAL VIDEO" id="search"> </ul><br> <!-- <button>⌦</button> close --> <i style="font-size: 49px; color: white;margin-right: … Programming html-css | |
Folks, We already know about CodeIgniter and its enormous capabilities as a PHP framework, this very site being a testament of it. But what about an even smaller micro-framework for PHP? Something along the lines of Flask or Bottle? Something you can use to develop things like REST API, prototyping … | |
heres my RayCasting code on VB2010(it can be another programming language, i will get the same bug): Private Function GetPositionMap(ByVal Position As Double) As Integer Return fix(Position / ObjectSize) End Function Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double … |
The End.