5,727 Posted Topics

Member Avatar for Sifiso21031085

> I think electronic voting has been proven to be even less reliable then paper voting either because of bugs in the electronic software or hackers. It wouldn't be difficult for a programmer to write the software which auto votes for a particular candidate regardless of who the voter intended …

Member Avatar for mike_2000_17
0
595
Member Avatar for Curious Gorge

You are asking if just writing software can open your computer to external malware? No, it doesn't. Of course if you write software that goes out and downloads and runs stuff from around the net without your control when you run it, it might download and run anything at all. …

Member Avatar for mike_2000_17
0
204
Member Avatar for lrw0831

use code tags if you want people to read your code. And don't go hijacking other peoples' threads, not even old ones like this.

Member Avatar for stultuske
0
1K
Member Avatar for NoR_1
Member Avatar for veedeoo

> It is considered an offense to have more than two colors of paint on your house. (Beaconsfield ) Good thing the city I live doesn't have that law. As per the building codes I am required to use a specific set of colours, I think it's 7 of them …

Member Avatar for jwenting
0
200
Member Avatar for Ghost

Made it a bit smarter, couldn't help tinker and use some more features of the Tiger :) The explicit cast to int Narue used was not needed, and the iteration can be performed using the new for-each loop in 4 lines less code than she used ;) [code] import java.util.*; …

Member Avatar for JamesCherrill
0
3K
Member Avatar for pekemp23

it's telling you to add the driver to your classpath. That's wrong with it and that's how to fix it...

Member Avatar for jwenting
0
454
Member Avatar for oanahmed

formal training is always good, much better than just diving in with no guidance and muddling along. As to this specific situation, learning your database first is probably better than learning it later, at least enough that you can do the basics needed for what you're really after (making tables, …

Member Avatar for oanahmed
0
346
Member Avatar for modesto916

file looks rather simple as config files come. And as you say the system is open source, you have access to the original parser to see how to parse it already and what each field means. Combine that with a web interface you make yourself in something that you know …

Member Avatar for jwenting
0
339
Member Avatar for r.nair3456

Struts? Never used it in the over 15 years I've used Java professionally and no interest in starting. Hibernate? .NET has similar functionality built in so you're going to need to learn something like it anyway. Better learn JPA rather than Hibernate specific ways of doing things and you're a …

Member Avatar for jwenting
0
223
Member Avatar for help distressed

once in a while some new form of spam makes it into the inbox, maybe one every other week or so. There's false positives though, mostly overzealous spam filters flagging mailing lists as spam because of the volume or masking the original sender. Overall, the spam volume (including what ends …

Member Avatar for diafol
0
267
Member Avatar for beauty.is.raven

> Its not homework, its a sample problem. it's still homework, just self imposed homework... Same logic applies, if you wait for others to do it for you you won't learn anything.

Member Avatar for jwenting
0
404
Member Avatar for humorousone

my guess: he has 4 source files and expects that he can just call methods in those without compiling them. Another guess: he has loose methods in those source files that are not inside any classes.

Member Avatar for humorousone
0
422
Member Avatar for NardCake

main problem I have with git is the same problem I have with anything "cloud" and that's that your data is out there out of your control, with only the promise of the current owner of the server/service that they'll not take it for their own and sell it and/or …

Member Avatar for NardCake
0
848
Member Avatar for firepower

hmm, sounds like he has a method that paints a Swing component. Not something you are going to automagically test with JUnit.

Member Avatar for firepower
0
67
Member Avatar for john.kane.100483

And there's a big part of your problem. You're using a 30 year old compiler, no doubt older than you are yourself, and expect it to work properly with new versions of the language on new computers with new operating systems. Use something reasonably up to date instead, or find …

Member Avatar for David W
0
250
Member Avatar for Mohamed_30

hmm, simplest way to launch a Java program from another Java program is to load the classes onto the active classpath, load the main class into a classloader, and then execute the main() method on that class. No need to use ProcessBuilder to create a new JVM, just make sure …

Member Avatar for JamesCherrill
0
235
Member Avatar for kumar89hitesh
Member Avatar for jwenting
0
121
Member Avatar for Dostoyevsky

hmm, most likely that's the size of his entire project which includes the precompiled assemblies for half of .NET.

Member Avatar for Dostoyevsky
0
256
Member Avatar for LyingInAHammock

Actually, mathematically a circle is defined by its center and radius so that's all you need to know to store the data. I wouldn't be at all surprised if the graphical API you're using has a method that will draw a circle on screen using those same things. And then …

Member Avatar for jwenting
0
564
Member Avatar for Amudha.M

and let's hope that the streaming of the image into the blob left it in a state where calling getBytes() on it would leave you with data that createImage() can interpret.

Member Avatar for JamesCherrill
0
238
Member Avatar for jr.sayre3

learning to do it in code is what you're taking those classes for. So go ahead and try... If you just wait for others to do it for you and hand in what they have done as your own you've learned nothing except how to be a dishonest, cheating, lazy, …

Member Avatar for Lucaci Andrew
0
124
Member Avatar for anand01

I do know that jInitiator is extremely picky about what JVMs it works on. It's quite likely you need to seek your problem in that area, incompatible JVM versions. Your best place for support would be Oracle themselves, if you've the licenses to use that stuff you're going to have …

Member Avatar for jwenting
0
196
Member Avatar for wallet123

check what line 86 of that CallbackServlet says... That'd give you an idea of where you're passing incorrect information.

Member Avatar for jwenting
0
319
Member Avatar for JamesCherrill
Member Avatar for peter_budo
6
240
Member Avatar for crasher

"why so many kids are incapable of thinking for themselves even in their final year at school". And start with yourself, do a thorough analysis of how you come to be incapable of original thought.

Member Avatar for Amiet_1
-1
2K
Member Avatar for gabrielcastillo

sow shi set dad reeding things alowed reduses errors in writtuhn teksts?

Member Avatar for Reverend Jim
0
235
Member Avatar for sk8ergirl
Member Avatar for Fatima_110

if you lack the knowledge you need, get the knowledge... It's really that simple. You're now at a stage in life where you're no longer being led by the hand, but expected to be able to figure out on your own what you need to know and find ways to …

Member Avatar for Fatima_110
0
217
Member Avatar for ZaneDarklace

I'd just use the javax.crypto package instead. Provides all you need for most encryption requirements most people will ever have. http://docs.oracle.com/javase/7/docs/api/javax/crypto/package-summary.html http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html

Member Avatar for ZaneDarklace
0
923
Member Avatar for hitro456
Member Avatar for abhishek.anand.37017794

look closely at your code... You're trying to call a method "display" in your Local inner class, but that inner class has no method named "display", it has a method named "msg".

Member Avatar for balaji.ghadage
0
1K
Member Avatar for Compton11

1) "which do you use more". Since when are we in a popularity contest between interfaces and abstract base classes? 2) implementation dependent. Wouldn't expected to need to know that in detail unless I'm to write a JVM. 8) "better" is relative to what you want to achieve... 9) last …

Member Avatar for jwenting
0
320
Member Avatar for serkan sendur
Member Avatar for nitin1

and what about talking with your coordinator? When I was at that point they had a selection of projects to choose from, based on requests for graduate students from companies and research institutes willing to host people for their graduation work. For example I was offered a position to do …

Member Avatar for jwenting
0
197
Member Avatar for Doogledude123

I prefer to import individual classes. Why? Because it gives some documentation on the top of your source file indicating which classes are used in your application. Might not always be needed, but I've seen places where that was parsed into a document and used to determine dependencies between parts …

Member Avatar for jwenting
0
258
Member Avatar for Ancient Dragon

Lag is almost always network related. Sometimes simply resetting your router will cause things to get better, sometimes you're stuffed because there's some upstream problem. Some games let you throttle the amount of data the client will accept, effectively telling the server "I can only receive x bytes per second, …

Member Avatar for jwenting
0
200
Member Avatar for supra

too lazy or too stupid to think for yourself? Which of the two applies to you? Whichever it is, you don't deserve to get a passing grade.

Member Avatar for stultuske
1
421
Member Avatar for RLS0812

pay to win is the standard business model for MMOs now. And yes, it is caused by the attitude among people that they don't want to pay for things. So you draw them in with a free game, then have an item mall where to buy what you need to …

Member Avatar for jwenting
0
225
Member Avatar for Muni123

security policies prevent me from taking part in surveys about security policy :)

Member Avatar for jwenting
0
144
Member Avatar for daniweb2013

[QUOTE=Killer_Typo;432553]:D which came first: the chicken or the egg!![/QUOTE] In case of Borland's compilers, they're written mostly in Pascal. And that includes their Pascal compilers... They wrote a compiler stub that could compile a minimal subset of the intended language in machine code or Assembly, used that to compile a …

Member Avatar for LordoDeGrim
0
752
Member Avatar for ddanbe

> Are we allowed to live for an eternity? were it possible, no doubt there'd be laws mandating euthenasia for anyone who's not paying more in taxes than they get in government benefits...

Member Avatar for Ancient Dragon
2
2K
Member Avatar for Warrens80

> IMO declaring Christmas as a federal holiday violates that law. (Public Law 90-363) it doesn't, unless the federal government dictates that everyone join a specific religious group and forces them to celebrate Christmas within that group. That's what the establishment clause means, that congress can't create (or declare) a …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Ghost

To run a class you don't need to launch the java executable. Create a classloader and use that to fork off the class in-process :) You can also do that to compile classes. Simply hook into Ant which is a Java application and can compile Java classes for you (by …

Member Avatar for stultuske
0
866
Member Avatar for GrimJack

good riddance to another terrorist pushed into premature sainthood by a world press totally oblivious of reality. While apartheid in the RSA was a Bad Thing (tm), the terror campaign of the ANC was no better and has led to what now is a regime that is no better except …

Member Avatar for GrimJack
2
838
Member Avatar for nitin1

Go to a decent store selling musical instruments, ideally one specialising in stringed instruments, and talk to the staff. Try multiple guitars, have the staff play some for you, get a feel for the size, weight, and sound of them. Then decide which would best fit your needs, wants, and …

Member Avatar for nitin1
0
189
Member Avatar for HiHe

> > Lowest bidder. if only... The contract was granted to "the correct party" which was a company headed by an old college friend (of the correct skin colour of course) of Michelle Obama, which just happened to be a large campaign contributor to the Obama campaign. A company with …

Member Avatar for mike_2000_17
1
858
Member Avatar for bCubed

> It tells me that, that is not a valid command Which means you either don't have Java installed, or don't have it installed correctly.

Member Avatar for bCubed
0
340
Member Avatar for asif49

You can't start marketing something without at least a prototype. You can't start marketing something without at least a cost indication. And you can't get either without a recipe and at least a price quote from a production facility. It's all well and dandy to want to design a bottle …

Member Avatar for Agilemind
0
294
Member Avatar for Croft .L

The End.