Search Results

Showing results 1 to 40 of 1000
Search took 0.08 seconds.
Search: Posts Made By: BestJewSinceJC
Forum: Geeks' Lounge 45 Minutes Ago
Replies: 9
Views: 81
Posted By BestJewSinceJC
If you have purchased a version of Windows, if you then use a different, even stolen version of Windows but can prove that you purchased it previously. . it is still illegal, but highly unlikely that...
Forum: C 53 Minutes Ago
Replies: 7
Views: 7,737
Posted By BestJewSinceJC
Umm you need a dynamic programming algorithm that uses subproblems and memoization to solve this adequately. Pretty sure all of the "solutions" listed in here are wrong.
Forum: DaniWeb Community Feedback 56 Minutes Ago
Replies: 9
Views: 114
Posted By BestJewSinceJC
Considering mods aren't ever bots, I think it'd be safe to write a quick script to let them do their job quickly. (It can't be that hard to write a check for the user's usergroup?)
Forum: Java 59 Minutes Ago
Replies: 1
Views: 39
Posted By BestJewSinceJC
Well, this isn't really the correct forum for job advice, and furthermore, most of the members here are either from the US or the UK.
Forum: Java 1 Hour Ago
Replies: 1
Views: 26
Posted By BestJewSinceJC
Yes, there is a problem, because these threads could potentially access/modify the data at 'unfortunate' times. For example, thread 1 modifies variable A to 2, then thread 2 immediately modifies A to...
Forum: Java 1 Hour Ago
Replies: 1
Views: 19
Posted By BestJewSinceJC
Ok and? I think it's pretty obvious how java and mySQL can work together to put together a generic idea like a "project management system" that doesn't even have any specific guidelines.
Forum: Java 5 Hours Ago
Replies: 2
Views: 35
Posted By BestJewSinceJC
It makes sense that private variables wouldn't show up in a javadoc because only the class itself has access to private variables. So it is just not necessary.
Forum: Java 12 Hours Ago
Replies: 3
Views: 74
Posted By BestJewSinceJC
So which part are you confused about? Reading in the values? Calculating the formulas? The formulas are standard formulas, so if you don't get them, just look up those terms on google and you'll find...
Forum: Java 2 Days Ago
Replies: 8
Views: 121
Posted By BestJewSinceJC
Then do System.out.println("f") afterwards. lol.
Forum: Java 2 Days Ago
Replies: 8
Views: 121
Posted By BestJewSinceJC
You're probably storing it in a double variable. For example

double result = 0.0;

result = average(x,y);
Now result is a double which is a larger type than float.
Forum: Java 2 Days Ago
Replies: 2
Views: 84
Posted By BestJewSinceJC
You can't use == (or !=) to test for equality against Objects. You have to use the .equals() method. And your method is intended to return true if you successfully added the event to the calendar and...
Forum: Java 2 Days Ago
Replies: 8
Views: 121
Posted By BestJewSinceJC
return (float)((x+y)/2.0);

OR

return ((float)(x+y))/2.0;
Forum: Java 2 Days Ago
Replies: 6
Views: 129
Posted By BestJewSinceJC
while(wordQuit == 2);

What is that for? ^
And what is your correctGuesses variable for? You never used it.

And the reason you got InputMismatchException is because your scanner tried to read...
Forum: DaniWeb Community Feedback 2 Days Ago
Replies: 2
Views: 118
Posted By BestJewSinceJC
Actually, at the risk of sounding whiny, I retract my statement. But I still believe that new members misuse the down vote system to "spite vote"
Forum: Java 2 Days Ago
Replies: 8
Views: 191
Posted By BestJewSinceJC
Like the docs say, split does not return the character that was split around. My point in my previous post was that you can easily figure out where the characters were anyway by using a little...
Forum: Java 2 Days Ago
Replies: 3
Views: 80
Posted By BestJewSinceJC
You need to register an ActionListener with the buttons as they are created, similarly to how you declared the ItemListener (with b.addItemListener). You can find examples of ActionListeners being...
Forum: Java 2 Days Ago
Replies: 2
Views: 101
Posted By BestJewSinceJC
Are we supposed to read your mind? What do you need help doing?
Forum: Java 2 Days Ago
Replies: 2
Views: 118
Posted By BestJewSinceJC
Yes, it would work - you are correct. See here (http://cs.wellesley.edu/~cs230/spring07/lectures/lec19_bsts/lec19_bsts.pdf) for definitions of predecessor and successor.
Forum: Java 2 Days Ago
Replies: 1
Views: 70
Posted By BestJewSinceJC
http://www.daniweb.com/forums/thread235793.html

You need to mark solved threads as solved - not to do so (and not even a thank you post)? is rude.

collections.sot(values);

There is no sot...
Forum: C 3 Days Ago
Replies: 9
Views: 217
Posted By BestJewSinceJC
no problem. If you want to go that route, I don't see how he could be upset. There are a lot of tutorials online on how to use structs.
Forum: Geeks' Lounge 3 Days Ago
Replies: 13
Views: 560
Posted By BestJewSinceJC
True enough, vega. I buy small hard drive sizes and I have a 1TB external and neither are ever anywhere close to full.
Forum: Java 3 Days Ago
Replies: 3
Views: 80
Posted By BestJewSinceJC
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class ComboBoxFrame extends JFrame {
/***/ private static final long serialVersionUID = 1L;

private JComboBox b;...
Forum: Java 3 Days Ago
Replies: 6
Views: 129
Posted By BestJewSinceJC
To make it easier on yourself, you should have two Strings. One String should contain the correct word. The other String should contain what you are displaying to the user. If you do this, when the...
Forum: C 3 Days Ago
Replies: 9
Views: 217
Posted By BestJewSinceJC
Please don't PM daniweb members. Personally I don't mind, but in general, that is the rule here. If people want to help they will respond in your thread. Regarding your PM, if your professor...
Forum: C 3 Days Ago
Replies: 9
Views: 217
Posted By BestJewSinceJC
My advice was to not use a 4 dimensional array when one is not needed. In fact my claim is that using a 4d array in this case is not good programming. If you were to declare a 2d array with this...
Forum: Java 3 Days Ago
Replies: 18
Views: 253
Posted By BestJewSinceJC
That is actually good logic - but it assumes that the MouseListener wouldn't get re-added due to the method calls being blocked/having to wait for receive, so it probably runs into the same problem...
Forum: Java 3 Days Ago
Replies: 1
Views: 79
Posted By BestJewSinceJC
Because Strings are immutable, so every time you say string+= in the background, another String is being created and all of the contents are copied into memory. This process takes a lot of time once...
Forum: Java 3 Days Ago
Replies: 6
Views: 129
Posted By BestJewSinceJC
Let me get this straight before I dive into trying to help you. So you are displaying the String as "_ _ _ _" initially, where every second character is a space? Then once the user guesses a correct...
Forum: DaniWeb Community Feedback 3 Days Ago
Replies: 90
Views: 4,716
Posted By BestJewSinceJC
I don't, and I occasionally double post with someone else or vice versa. Serves me right.

:(
Forum: DaniWeb Community Feedback 3 Days Ago
Replies: 7
Views: 175
Posted By BestJewSinceJC
Daniweb usually seems pretty fast to me. Well, fast enough, anyway. But I did get the same message the other day. . not complaining, I've been on forums that get them much more frequently.
Forum: Geeks' Lounge 3 Days Ago
Replies: 128
Views: 7,441
Posted By BestJewSinceJC
"It requires a very unusual mind to undertake the analysis of the obvious"

-Alfred North Whitehead
Forum: Geeks' Lounge 3 Days Ago
Replies: 2
Views: 164
Posted By BestJewSinceJC
If by convert, you mean rewriting the code so that the original intention of the program is still there, then yes, you can do it. Usually. If it is just a text input/output program as opposed to a...
Forum: Geeks' Lounge 3 Days Ago
Replies: 13
Views: 441
Posted By BestJewSinceJC
That drunk guy video is unbelievable. I've been around my fair share of drunks, but nothing remotely close to that. It looks like a supernatural power is controlling him with a will to get beer.
Forum: Geeks' Lounge 3 Days Ago
Replies: 8
Views: 150
Posted By BestJewSinceJC
Ok, I used the site Ancient Dragon provided and I got more reasonable results.
Forum: Geeks' Lounge 3 Days Ago
Replies: 8
Views: 150
Posted By BestJewSinceJC
12705 kbps download almost the same upload

wtf
Forum: Java 3 Days Ago
Replies: 18
Views: 253
Posted By BestJewSinceJC
Well, thank god that somebody else stepped up, because I was getting quite frustrated and it isn't even my program. Haha. Although after a quick look I don't see why your version is any different...
Forum: Java 3 Days Ago
Replies: 7
Views: 160
Posted By BestJewSinceJC
I've used it in projects to send "Objects" (as data) across Sockets and reuse the Objects on the other side. You could send the Objects as data and have both client and server know the exact format...
Forum: PHP 3 Days Ago
Replies: 11
Solved: php code error
Views: 234
Posted By BestJewSinceJC
why would you post 'php code error' in the java forum?
Forum: Computer Science 3 Days Ago
Replies: 1
Views: 98
Posted By BestJewSinceJC
Don't post questions in code snippets. Go read daniweb's rules. Specifically about which forums are appropriate to post in, what kind of questions are appropriate, and how to post a thread.
Forum: C 3 Days Ago
Replies: 9
Views: 217
Posted By BestJewSinceJC
You should switch to using a struct to represent your ticket class, destination, seat, and time. . All four of those things are obviously related data. You're only going to cause yourself headache...
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC