- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 4K
- Posts with Upvotes
- 3K
- Upvoting Members
- 889
- Downvotes Received
- 120
- Posts with Downvotes
- 114
- Downvoting Members
- 56
Re:
I know rproffitt is a moderator on the Tech Republic forums. Does anyone else participate in any other online forums / communities / subreddits / etc? Just curious :) |
|
Re:
Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a … |
|
Re:
Cop shows that include a 5 minute foot chase. This is usually the result of the cops shouting out a suspect's name from half a block away instead of waiting until they are within arm's reach. Inevitably the suspect runs into the path of a car or truck and the … |
|
Re:
Hi DW. I'm a bit confused and lost on how this App is working called Ha Tunnel Plus (You can check it on Playstore, and have a look on YouTube for the configuration file). Basically it somehow uses the internet connection of the server, it tunnels it to your Android … |
|
Re:
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 = … |
|
Re:
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] |
|
Re:
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; } … |
|
Re:
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 … |
|
Re:
Hi Everyone - Just wanted to post here that Dani is MIA for a little bit, she's keeping an eye on DaniWeb via her phone, but is away from her computer. I'm sure she'll be back at it soon! |
|
Re:
heyy guys.. m implementing PEER TO PEER FILE TRANSFER.. What protocol should I use? TCP or UDP? And why? |
|
Re:
Lexicographic algorithm I'm trying to make this algorithm work, but it keeps telling me that my declaration array is not correct because it needs to have a constant value. Array declaration can be found in the main #include<iostream> #include<array> using namespace std; void nextPermutation(char* v, int n) { //function declaration … |
|
Re:
Hi guyz, What are the 2 main types of software? not specifically, in general. |
|
Re:
I am trying to import a list from a txt file, but the reader skips the first line and also adds the last "null" line that the file writer adds. I fixed the null part but I can't seem to be able to add the first line in the list. … |
|
Re:
I am Richards Watson. I am a dissertation helper in Greatassignmenthelp. I have a 8 years of experience in this field. I am very glad to join this forum. |
|
Re:
In both situation __del__ doesn't work. I understand that 'del obj' don't delete all references, but why/how/which references created? Example 1: class Exp: def __init__(self): self.b = 1 self.a = lambda :self.b def __del__(self): print('a') obj = Exp() obj = None del obj Example 2: class Exp: def __init__(self): self.b … |
|
Re:
I have two projects (one project Referenced in the form of a jar package.jar project can be referenced by multiple projects). mybatis interface code is written in the jar project(common project). datebase properties at war project. In the beginning, all the actual operations of the database were called in the … |
|
Re:
3. Using repetition control structure (do while loop), prepare a program that can receive employee id and working hour(s) for three (3) employees. The program able to: i. calculate Overtime Payment using formula Overtime = Working hours * 35.00 for each employee ii. calculate Total Overtime Payment for all employees … |
|
Re:
Hi, I have an application with one JFrame and two modeless JDialogs. When I mimimize the JFrame, the dialogs are still there, not minimized. So i need to hide them. I can hide them with WindowDeactivated event which runs one time when the JFrame is minimized but when I want … |
|
Re:
Hi to All! I have a POS Software which I have developed in Java, NetBeans IDE. I am deploying this software on a variety of Windows Computers / Laptops for 5 years. I have used JFormattedTextFields for double data type in the whole Software. And I have set Format of … |
|
Re:
Wv4gJyLguPzuClVexggQO6r0uLUNI3mMtwXH8yG9wd)jSMjXNbSLrrxUsN39DwmtjRlthSS24axWyEZYFk2u7EJnp2tKyB2CASYri6)rui)9iJidseE6phmADVAJKeCmZZq)vB)ybdnT3Ji5kGafyYuazcv9zim33k |
|
Re:
Once harm has been done, even a fool understands it. -- Homer |
|
Re:
I need help with a java project as soon as possible. Please help if absolutely necessary. Please, please ![Java_Project_Fall2022_page-0002.jpg](https://static.daniweb.com/attachments/4/e1636f48d3cb06c972c29cf47fa9f44c.jpg) ![Java_Project_Fall2022_page-0001.jpg](https://static.daniweb.com/attachments/4/4e7d8604a518555e648b8cfe86711934.jpg) |
|
Re:
I am not quite sure why I am getting this error package tile; import java.awt.Graphics2D; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import javax.imageio.ImageIO; import main.GamePanel; import main.UtilityTool; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[][]; public TileManager(GamePanel gp) { this.gp = gp; tile = … |
|
Re:
I’m trying to find a way, either with Excel or another program, to find out what combination of numbers will equal a predetermined sum. I’ve tried Excel Help and the internet, and it appears possible, but all the examples are far more complicated than what I’m trying to do and … |
|
Re:
Help me! I have this number 1726.16723958045672098127. How Can I register in my db MySql. Why is the number truncated? |
|
Re:
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class should have the following methods. double KMToMiles(double distance) double MilesToKM(double distance) double FeetToMetres(double distance) double MetresToFeet(double distance) double KgToPounds(double weight) double PoundsToKg(double weight) double CelciusToFahrenheit(double temperature) double FahrenheightToCelcius(double temperature) The Calculation class should have the following … |
|
Re:
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class should have the following methods. double KMToMiles(double distance) double MilesToKM(double distance) double FeetToMetres(double distance) double MetresToFeet(double distance) double KgToPounds(double weight) double PoundsToKg(double weight) double CelciusToFahrenheit(double temperature) double FahrenheightToCelcius(double temperature) The Calculation class should have the following … |
|
|
Re:
Is this code correct? Or should I keep using } else { for (errors) until the end? if ($y = $link->prepare('SELECT id, password FROM usuarios WHERE username = ?')){ $y->bind_param('s', $_POST['username']); $y->execute(); $y->store_result(); if ($y->num_rows > 0){ echo 'Username exists, please choose another!'; } else { if ($y = $link->prepare('SELECT … |
Re:
Hello! I have a maze 4x6 [[False True False False True False] [False True True True True False] [False True False True False False] [False False False False False False]] where true is the entrance and exit. I want to assign to the right true the entrance, and to the … |
|
Re:
Hi ! I have developed a Java application using Derby Database. The application jar file is successfully running on Windows but on Mac it gives and exception as following: ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver I am pasting code for database Connection which I wrote. String dbdriver = "org.apache.derby.jdbc.EmbeddedDriver"; Class.forName(dbdriver).newInstance(); con = DriverManager.getConnection("jdbc:derby:C:\\4DSOFTECHDB; create … |