3,012 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for kukuruku

Is it OK to have if statement in the constructor Thanks [CODE] public class CTime { private int start_hour; private int end_hour; private int start_minute; private int end_minute; public CTime(int h1,int m1,int h2,int m2){ if(h1>=7 && h2<17 && h2*60+m2>h1*60+m1){ setStartHour(h1); setStartMinute(m1); setEndHour(h2); setEndMinute(m2); } }[/CODE]

Member Avatar for Washington AM
0
8K
Member Avatar for marrywillson

AI is good for content writer. but some time AI have not perfect solution . so AI not good for future as a content writing prospective.

Member Avatar for Dani
0
44
Member Avatar for Ethanbrody

I want to know about what is the importance of user experience (UX) and user interface (UI) design in web development.

Member Avatar for myresellerhome
0
196
Member Avatar for Mr.M

Hi DW, I've faced an issue with my project, it has been working these years till I think last year or the other year. When I sync it fails saying unable to resolve dependency no matter which version I try I get similar error differs with version number.

Member Avatar for rproffitt
1
52
Member Avatar for cored0mp

More programming fun! OK this time around I'm trying to create a table with the statement, CREATE TABLE tablename ( recnumber SERIAL PRIMARY KEY, recordvalues VARCHAR ( 500 ) NOT NULL, datecreated DATE ) And it basically works, and I can add records using the dba account. However when I …

Member Avatar for cored0mp
1
91
Member Avatar for Ashley_31

1. Analyze the problem below and make a c++ program to enter on the keyboard the required data for process. Compute the time of flight of a projectile and its height above the ground when it reaches the target. Display all the inputed data and the processed or compute data. …

Member Avatar for Olive34
0
210
Member Avatar for Olive34

I have been tasked at work, well actually I volunteered to create an MVC site (as a demo) that will eventually be the base for moving my employer's legacy C#/asp.net code to MVC. It's a large site, used globally, and we are a small team of 5 devs. Right now …

Member Avatar for jkon
0
91
Member Avatar for Robinz
Member Avatar for usmanmalik57

In this tutorial, you will learn to fine-tune a [Hugging Face Transformers model](https://huggingface.co/docs/transformers/index) for video classification in PyTorch. The Hugging Face documentation provides an example of performing video classification using the Hugging Face Trainer with one of Hugging Face's built-in datasets. However, the process of fine-tuning a video transformer on …

2
222
Member Avatar for borobhaisab

Hello, I do not understand why the simplehtmldom is failing. This is the code: <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(E_ALL); //--- include_once('simplehtmldom_1_9_1/simple_html_dom.php'); //--- $url = "https://victoriousseo.com/sitemap_index.xml"; $html = new simple_html_dom(); $html->load_file($url); //-- foreach($html->find("a") as $link) { echo $link->href."< br />"; } ?> I got the simplehtmldom.php on the same directory as the …

Member Avatar for Dani
1
1K
Member Avatar for Syed Zubair

Dear Team, I am underprocess of a working for Tailor software where i need your kind and appreciation advise. I have fields of cloth like shirt and trouser of a customer, when i enter the records into database it is working well if single shirt or single trouser. **I want …

Programming visual-basic-6
Member Avatar for rproffitt
0
53
Member Avatar for usmanmalik57

Understanding facial expressions is crucial for various tasks, from recognizing emotions to enhancing security measures. While extracting faces from pictures is easy, doing the same in videos is tricky. Imagine creating videos with only highlighted facial expressions, offering a unique perspective on human interactions. Various tools are available for face …

Programming computer-vision python
1
921
Member Avatar for cored0mp

I'm working on an application, certainly not my first. Some aspects of my coding background are quite informal, for example I have only a rudimentary understanding of source code repositories. Take library formation, for example? I'm reasonably proud that my source is of sufficient quality and organization to pass an …

Programming python
Member Avatar for Dani
2
107
Member Avatar for cored0mp

How do I create a table in postgres that's associated with a specific database? Obviously from the command line one can do Create table tablename (); But how do I make sure that the table is associated with the correct database? CREATE table dbname.tablename(); is giving me the error: ERROR: …

Member Avatar for Dani
1
128
Member Avatar for cambalinho

using the Circle method and knowing the start angle(playerangle-30) and end angle (playerangle+30), in degrees, how can i draw the arc?

Programming visual-basic-6
Member Avatar for cambalinho
0
65
Member Avatar for anass_3
Member Avatar for Ethanbrody
0
58
Member Avatar for Isis_1

Hi everyone, was wondering if maybe someone could help me. I'm new to coding and have an assignment to do. The assignment is as follows: Write a program that lets the user enter the total rainfall for each of 12 months into an array of doubles. The program should calculate …

Programming c++
0
111
Member Avatar for dimitrilc

## Introduction ## In Android Studio, we can run multiple tests in parallel across multiple devices using the dropdown menu. ![Screen_Shot_2022-09-26_at_3.02.02_PM.png](https://static.daniweb.com/attachments/4/a7966192c6b1c265a65010a9d1fa236d.png) Running instrumented tests this way is very convenient during development, but there is a problem with this method when your tests are run on a remote build server: * …

Member Avatar for John_387
2
617
Member Avatar for Coderunner

Hello What is wrong in the form validation. It always give me -> not OK -> red color I hope someone can help me with this. Thanks in advance. Best regard. <html> <head> <style> .error { font-family: Tahoma; font-size: 8pt; color: #FFFFFF; padding: 2px 172px 2px 172px; background-color: #FF0000; display:none; …

Member Avatar for Coderunner
0
71
Member Avatar for usmanmalik57

## Introduction ## In the realm of computer vision, [Vision Transformers (ViTs)](https://arxiv.org/abs/2010.11929) revolutionized image processing by employing self-attention mechanisms, allowing for a non-sequential analysis of images. ViTs are instrumental in capturing intricate patterns and long-range dependencies, making them invaluable for tasks like image recognition and object detection. Hugging Face, a …

1
885
Member Avatar for mnoizinum

I use apple's x code, my system is OS X 10.4.11 Im getting a warning you must be familiar: [CODE]"#ifdef __DEPRECATED #warning This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. …

Member Avatar for Dani
0
255
Member Avatar for shane1961

My textbox datatype is DateTime. Using the click event of a button, this code is placed following MyTableBindingSourceAddNew() Dim CurrentDateTime As DateTime = DateTime.Now.ToString("dd.MM.yy hh:mm:ss") Me.SaleDateTextBox.Text = CurrentDateTime I then update table with TableAdapter. On my form I have a dropdown combobox in a toolbar, display member being "SaleDate" This …

Member Avatar for rproffitt
0
66
Member Avatar for LXSXX1024

I'm making a software similar to Grammarly in C++. I want to get data from the clipboard, then if a certain sequence of data that is a certain number of letters is contained in it, then it has to be replaced by a predefined string.

Member Avatar for Anthony6534
0
160
Member Avatar for usmanmalik57

In a previous article, I showed you [how to analyze sentiments using Chat-GPT and data augmentation techniques](https://www.daniweb.com/programming/computer-science/tutorials/540502/sentiment-analysis-with-data-augmentation-using-chatgpt#post2293643). Following that, some readers reached out, asking for a breakdown of fine-tuning a Chat-GPT model. In this article, I will guide you through fine-tuning your Chat-GPT model using your own data. First, I'll …

2
325
Member Avatar for nathaliecolemadrigal.lopez
Member Avatar for usmanmalik57

In one of my research projects, I needed to extract text from video files and create a CSV file that included sentiments expressed in the text. Manual extraction was time-consuming and costly. So, I explored Automatic Speech Recognition (ASR) systems and discovered OpenAI [Whisper](https://openai.com/research/whisper), known for its high accuracy in …

Member Avatar for Reverend Jim
1
600
Member Avatar for Clif40RD

Hi Everyone 👋🏼, I'm in a bit of a pickle, hopefully someone can provide some guidance. I have stale Firebase notification tokens in a database for an existing Xamarin application, initially (years back) the application never contained logic to refresh notification tokens. With the most recent update to the application …

Member Avatar for Clif40RD
0
123
Member Avatar for rproffitt

https://thehill.com/policy/technology/4162573-ai-art-cant-earn-copyright-judge-rules/ give us a preview that those that use AI, ML, GPT and such may be on uncertain ground if they want to copyright the code. You may not be aware that most of the online AI/ML/GPT systems keep copies of what you generate. So if you are creating code …

Member Avatar for Reverend Jim
3
255
Member Avatar for akkbkht

I am preparing a CSharp based desktop app in VS 2019. I have 4 ComboBoxes. On the form load, the comboBox1 fetches folder names in root directory in D drive. The structure is Folder The sub folder Then sub folder then MS word documents in the 4th folder. For example, …

2
67
Member Avatar for vikaskookna

In my recent journey of developing various AI solutions powered by Language Models (LLMs), a significant question has emerged: Should we harness the capabilities of Retrieval Augmented Generation (RAG), or should we opt for the path of custom fine-tuning? This decision can profoundly impact the performance and adaptability of our …

Member Avatar for anthonybell897
4
835

The End.