2,719 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for cambalinho

heres my timer class with a module(on a group project for create a DLL): 'Module: Option Explicit Private Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long Private Declare Function KillTimer Lib "user32" (ByVal hWnd As …

Member Avatar for rproffitt
0
41
Member Avatar for usmanmalik57

## Introduction ## In a previous article, I explained [how to fine-tune the vision transformer model for image classification in PyTorch](https://www.daniweb.com/programming/computer-science/tutorials/540749/fine-tuning-vision-transformer-for-image-classification-in-pytorch). In this article, I will explain how to fine-tune the pre-trained OpenAI Whisper model for audio classification in PyTorch. Audio classification is an important task that can be applied …

Member Avatar for meyerrluanna
3
2K
Member Avatar for usmanmalik57

The AI wave has introduced a myriad of exciting applications. While text generation and natural language processing are leading the AI revolution, image, and vision-based technologies are quickly catching up. The intersection of text and vision applications has seen a rapid surge recently. In this article, you'll learn how to …

2
401
Member Avatar for usmanmalik57

Large language models (LLMS) are trained to predict the next token (set of characters) following an input sequence of tokens. This makes LLMs suitable for unstructured textual responses. However, we often need to extract structured information from unstructured text. With the Python [LangChain](https://www.langchain.com/) module, you can extract structured information in …

2
108
Member Avatar for SolidSolutions

I had a difficult time figuring out how to get or test the last character of a string with javascript, so figured I would post it once I found out in case it helps someone else. I found plenty of removing the last character, but not for just checking what …

Member Avatar for Biiim
0
5K
Member Avatar for brother_1

I have 3 okta apps setup. Okta app for backend Okta spa app Okta web app The Okta spa app is able to use the access token it got and pass to Okta app for backend and the token is validated. However, the Okta web app access token when passed …

Member Avatar for Dani
0
27
Member Avatar for momentum2024

have an annoyance that I i'd like to know a workaround for please: -often/frequently/ nearly everytime i use MS 365 sign in or gmail sign in it takes me to a password reset. i have no wish to change my password { also previously did but it still kept wanting …

Member Avatar for Salem
1
45
Member Avatar for ASubhan

Reflect on your experience with object-oriented programming (OOP) in Java. Discuss how concepts like inheritance, polymorphism, and abstraction have helped you in your projects. Share examples and personal insights.

Programming java oop
Member Avatar for DEEPAK_84
1
63
Member Avatar for massivefermion

I'm learning nodejs(and I like it!). I tried to figure out how to have shorter alias for `console.log` and I found out that I can use `var cout=console.log` and use `cout('[string]')` from then on. Then when I wanted to use `process.stdout.write` and I tried to make a short alias for …

Member Avatar for Bhavika_1
0
316
Member Avatar for Paulmescal

"Hello everyone, I'm currently working on developing a shopping app, and I'd like to gather some insights from the community. What do you believe are the essential key features that should be considered when developing a shopping app? Your expertise and suggestions would be greatly appreciated. Thank you!"

Member Avatar for khushnuma_1
2
285
Member Avatar for usmanmalik57

Retrieval augmented generation (RAG) allows large language models (LLMs) to answer queries related to the data the models have not seen during training. In my previous article, I explained [how to develop RAG systems using the Claude 3.5 Sonnet model](https://www.daniweb.com/programming/computer-science/tutorials/542136/retrieval-augmented-generation-with-claude-3-5-sonnet). However, RAG systems only answer queries about the data stored …

1
122
Member Avatar for Chris Hüneke

Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can …

Member Avatar for amastyteam
2
524
Member Avatar for usmanmalik57

On August 20, 2024, [OpenAI enabled GPT-4o fine-tuning](https://openai.com/index/gpt-4o-fine-tuning/) in the OpenAI playground and the OpenAI API. The much-awaited feature is free for fine-tuning 1 million daily tokens until September 23, 2024. In this article, I will show you how to fine-tune the OpenAI GPT-4o model for text classification and summarization …

2
552
Member Avatar for ComNaD

If you have a Form that gets user input, submits and adds to a MySQL db. You want to be alerted via email, and also send an email to the user thanking them. You decide PHPMailer is the safest way, but want to use PDO to avoid Injection hacks. What …

Member Avatar for pritaeas
1
452
Member Avatar for DDL_972
Member Avatar for usmanmalik57

In a previous article, I compared [GPT-4o mini vs. GPT-4o and GPT-3.5 Turbo for zero-shot text summarization](https://www.daniweb.com/programming/computer-science/tutorials/542208/gpt-4o-mini-vs-gpt-4o-vs-gpt-3-5-turbo-for-text-summarization). The results showed that the GPT-4o mini achieves almost similar performance for zero-shot text classification at a much-reduced price compared to the other models. I will compare Meta Llama 3.1 70b with OpenAI …

2
543
Member Avatar for usmanmalik57

In my previous articles, I presented a [comparison of OpenAI GPT-4o mini model with GPT-4o and GPT-3.5 turbo models for zero-shot text classification](https://www.daniweb.com/programming/computer-science/tutorials/542182/gpt-4o-mini-a-cheaper-and-faster-alternative-to-gpt-4o). The results showed that GPT-4o mini, while significantly cheaper than its counterparts, achieves comparable performance. On 8 August 2024, OpenAI enabled GPT-4o mini fine-tuning for developers across …

1
255
Member Avatar for Chimdiebube

Hey guys! I started a keylogger project two months back, and I've hit a slump relating to what features I can add to make it more complex and less basic. So I just wanted to hear any suggestions anyone might have, so I find some inspiration. **Note: This project is …

Member Avatar for Dani
0
41
Member Avatar for rajat_15

Learning to code is one such skill that sets your kid apart from the crowd. In the same way, it also helps your kid in landing some amazing opportunities in his/her career. Some Points are: 1) Take baby steps 2) Block-based for beginners 3) Python programming course for kids 4) …

Member Avatar for Reverend Jim
0
52
Member Avatar for Hudasoft
Member Avatar for ASubhan

Hello !! "I want to learn Java data structures and algorithms (DSA). I have recently learned Java object-oriented programming (OOP). Suggest me best tutorials for learning.

Programming c c++ java
Member Avatar for trueframe
0
48
Member Avatar for indigo_4

It has to be said that Apple in recent years has not had any particularly eye-catching upgrades. Even, some features that users like very much have been removed, such as fingerprint unlocking. I'm using iPhone 13 now, if I wear makeup sometimes, iPhone 13 can't recognize my face. Once, I …

Member Avatar for jimbrown.dm
0
77
Member Avatar for kothaisaravan

Hi, Am using VB.NET. I have a search page in one form(Search.vb) and another form(Form1.vb) to display the details of selected data from the search form. I already have back button in Form1.vb which returns to some other form say (Action.vb). In case of searching data it returns to Form1 …

Member Avatar for cj10101
0
851
Member Avatar for Haseeb_12

Hey everyone! 🌟 Web development is evolving rapidly with exciting trends like Progressive Web Apps (PWAs), Jamstack architecture, and AI integration. What tools and frameworks are you using? How do you tackle challenges like responsive design, performance optimization, and security? Share your experiences and tips! Cheers, Haseeb Ahmad:

Member Avatar for jkon
0
86
Member Avatar for cored0mp

Recently made a decision for an app I'm working on to accumulate data in batches AND THEN to insert it into the database with one statement rather than adding 1,000 records through one thousand separate inserts. Is this done better through file or memory? If I write the segments of …

Member Avatar for DGPickett
1
192
Member Avatar for Nguyen Van Cuon
Member Avatar for kamaksha1

Hi.. I've to remove a very long path. I've written the below to try that but its giving WindowsError: [Error 206] (I've pasted it below). I've prepended "\\?\" to the actual path but still I'm getting the exception. Please let me know the solution... ++++ import os import shutil os.rmdir(os.path.realpath(r"\\?\D:\Kamesh\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\kkkkkkkkkkkkkkkkkkkkkkkkk\kllkppppppppppppp\long_path_test")) …

Member Avatar for Reverend Jim
1
8K
Member Avatar for TheRoyalFalcon

I found some code on the web a while back. But I don't know who wrote it. The code below looks for worksheet names in a excel file. I am not familiar with C++ (and do little to nothing with binary files). Can someone help me convert the code below …

Member Avatar for liangting03
0
1K
Member Avatar for usmanmalik57

In my previous [article on GPT-4o mini](https://www.daniweb.com/programming/computer-science/tutorials/542182/gpt-4o-mini-a-cheaper-and-faster-alternative-to-gpt-4o), I compared the performance of GPT-4o mini against GPT-3.5 Turbo and GPT-4o for zero-shot text classification. We saw that GPT-4o mini, being 36% times cheaper, achieves only 2% less accuracy than GPT-4o. Furthermore, while being 1/3 of the price, the GPT-4o mini significantly …

1
217
Member Avatar for Freaky_Chris

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 …

Member Avatar for rory jackson
2
4K

The End.