3,015 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for cambalinho

i have tried several ways, but i always get an overflow error :( how can i combine the ARGB color elements? Public Function ARGB(ByVal alpha As Byte, ByVal red As Byte, ByVal green As Byte, ByVal blue As Byte) As Long Dim color As Variant color = CDec(alpha) * 256 …

Member Avatar for cambalinho
0
86
Member Avatar for usmanmalik57

## Introduction ## Loss functions are the driving force behind all machine learning algorithms. They quantify how well our models are performing by calculating the difference between the predicted and actual outcomes. The goal of every machine learning algorithm is to minimize this loss function, thereby improving the model’s accuracy. …

Member Avatar for AndreRet
3
250
Member Avatar for peol
Member Avatar for Alicia_14

what unique characters are there in c? So far, I've found these: ¦ ¯ • | ÷ ¶ £ ¢ € ¥ © ® ™ › » « ‹ ‰ % ˜ 8 §

Member Avatar for DGPickett
0
96
Member Avatar for usmanmalik57

As a researcher, I have often found myself buried under a mountain of research articles, each promising insights and breakthroughs crucial for my work. The sheer volume of information is overwhelming, and the time it takes to extract the relevant data can be daunting. However, extracting meaningful information from research …

Member Avatar for AndreRet
3
182
Member Avatar for Shawne

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null. The error is from this line of code: home.addItem(new ModelItem(ID++, "Original Nuggets Meal", "", 90, "KFC", new ImageIcon(getClass().getResource("icon/img2.png")))); i use the correct folder as it is in a package in the same source of the file. please help!

Programming java
Member Avatar for Shawne
0
148
Member Avatar for brooklyn1991

Hello, everyone!:) I am new to Daniweb and I would like a little help in implementing Binomial Heap subroutines in C, especially insertion in Heap. For my application it is necessary to implement max-heaps(i.e., roots storing the maximum value) in stead of min-heaps(i.e., root storing minimum value) in ANSI C. …

Member Avatar for DGPickett
0
306
Member Avatar for Dani

The new robots.txt tester that is now built into Google Search Console is finding errors with the last two rows of my robots.txt file: Sitemap: https://www.daniweb.com/latest-sitemap.xml Sitemap: https://www.daniweb.com/sitemap.xml The error is: *Invalid sitemap URL detected; syntax not understood* Any idea what could be wrong here?

Member Avatar for Dani
1
446
Member Avatar for snah19

Hi, I'm transitioning to assembly, starting with processor 8086. The attached code is Masm 5 compatible and is a step up from Hello World, which linked and ran okay. An endless loop exists, giving credence to this note. Any comments or suggestions to resolve it would be appreciated, thanks! .model …

Member Avatar for snah19
0
121
Member Avatar for jayashree10

I am practicing to make GSAP animated websites but i am facing this problem of slow loading of my website for example slow loading images and fonts. It will be really helpful if somebody can help

Member Avatar for Biiim
0
73
Member Avatar for cambalinho

see these 'for' loop: Public Function SetTransparentColor(color As Long) Dim X As Integer Dim Y As Integer Dim c As Long Dim h As Long Dim w As Long Dim temp As BGRAQUAD ' substitua BGRColor pelo tipo de dado correto usado em bDibBGRA h = Height - 1 w …

Member Avatar for Reverend Jim
0
97
Member Avatar for jayashree10

I am facing a lot of issues in the performance optimization of my web application. Can anybody help? I have heard about reducing page load time, minimizing render-blocking resources, and optimizing images. But I don't know how to do it. Can anyone please share some techniques or tools you would …

Member Avatar for Biiim
0
57
Member Avatar for infoitmanoj
Member Avatar for amystivens
0
3K
Member Avatar for usmanmalik57

Stock price prediction is a challenging task that requires analyzing historical trends, market sentiments, economic indicators, and company performance. One of the popular methods for stock price prediction is using deep learning models, such as convolutional neural networks (CNNs). CNNs are a type of neural network that can extract features …

1
340
Member Avatar for usmanmalik57

Facial emotion detection, as the name suggests, involves detecting emotions from faces in images or videos. Recently, I was working on a facial emotion detection task and came across the DeepFace library that implements various state-of-the-art facial emotion detection models. However, in my experience, the performance of the DeepFace library …

Member Avatar for peol
3
367
Member Avatar for facarroll

I have a script that delivers an empty gif file when an attempt is made to download an image ("Save image as..."). Here is a link to my page. Try to save either of the first two images from the screen (not screenshots). I have been told that this is …

Member Avatar for Dani
1
280
Member Avatar for usmanmalik57

Chatbots are software applications that can interact with humans using natural language. They can be used for various purposes, such as customer service, entertainment, education, and more. Chatbots can be built using different techniques like rule-based systems, machine learning, or deep learning. In this article, I will focus on the …

3
393
Member Avatar for sri_213
Member Avatar for rproffitt
0
99
Member Avatar for jkon

Hello , I always had a distant relationship with C++ (writing in it small programs (or libs for other languages) only when performance really matters) but I have found myself writing more and more C++ bots. I learned that you need to separate the definition of the class (interface in …

Member Avatar for jkon
1
119
Member Avatar for techlifelk

I get the following exception Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null My code is java.net.URL auth = getClass().getResource("auth.jpg"); Icon auth1 = new ImageIcon(auth); java.net.URL alert = getClass().getResource("alert.jpg"); Icon alert1 = new ImageIcon(alert); java.net.URL insuf = getClass().getResource("insuf.jpg"); Icon insuf1 = new ImageIcon(insuf); java.net.URL inva = …

Programming java
Member Avatar for Dani
0
31K
Member Avatar for bxdobs

Warning ... I am not a JAVA programmer so please be kind ... thanks for any help you can provide. Retired bit basher looking for a bit of help with a non-profit project. The code listed below was based on an online example that I found on js fiddle dot …

Member Avatar for john_111
1
82
Member Avatar for facarroll

I have a web page that loads images with a modal, and at the same time is meant to inhibit image piracy by delivering a transparent overlay when a user attempts to make a screen copy of the image. I have two php lines of image scripts which work OK …

Programming classes modal php
Member Avatar for AndreRet
1
73
Member Avatar for narayanabhilash

Dear All, In my Application i am downloading a file. on button click using servlet. after clicking the button servlet called and download dialog box opens with open / save and cancel button. i want to trace these button events. on open or save i want to update status 'true' …

Member Avatar for Aliyan_1
0
999
Member Avatar for Dani

The Google Analytics javascript tag we use in our HTML <head> is: <script async src="https://www.googletagmanager.com/gtag/js?id=G-3BQYMGHE7E"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3BQYMGHE7E'); </script> Then, there are a handful of `gtag()` calls elsewhere on the page. I'm confused by how async works in this context. …

Member Avatar for Dani
1
130
Member Avatar for mexabet

I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of the second input field, where the user is prompted to enter username and password. In the second step, I have …

Member Avatar for Dani
0
60
Member Avatar for Cameron_12

Hey guys, so I've been trying to create a website that allows users to update and delete records through the database I've set up in SQLyog. In my update confirmation file I've added location theme description to be updated and changed for all users. but for some reason its unable …

Member Avatar for AndreRet
3
141
Member Avatar for Apoorva_K

THIS IS THE LINK FOR QUESTION:https://practice.geeksforgeeks.org/problems/subarray-with-given-sum/0 #include <iostream> using namespace std; int main() { long long int s,n,a[10000000000],e,d,l,flag=0,t; cin>>t; while(t--) { cin>>n>>s; e=0; flag=0; for(long long int i=0;i<n;i++) { cin>>a[i]; } for(long long int j=0;j<n;j++) { e=a[j]; for(long long int h=j+1;h<n;h++) { e+=a[h]; if(e==s) { l=j; d=h; flag=1; break; } …

Member Avatar for Ethanbrody
1
162
Member Avatar for usmanmalik57

Language modeling is the cornerstone of advanced natural language processing, forming the backbone for cutting-edge technologies like ChatGPT. At its core, it involves predicting words based on context, a fundamental principle underlying modern large language Models (LLMs). There are various techniques for language modeling, with attention mechanisms emerging as the …

Member Avatar for AndreRet
2
512
Member Avatar for Sunnyfish

Hello all. I'm relatively new to libcurl C++, and I have been hopelessly stuck. Bit of a background for this app. It is very legacy, having been made in the early 2000s. LPSTRs abound. It looks in FTPs for files from suppliers (who have an SFTP they interact with and …

Member Avatar for Dani
2
229
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

The End.