jwenting 1,905 duckman Team Colleague

sadly those crooks get a lot of support from 'celebs', and many people are foolish enough to take anything their group of favourite 'celebs' claims as gospel.

Reverend Jim commented: And some "celebs" will take money to endorse anything. +0
jwenting 1,905 duckman Team Colleague

and of course you could get laid in bed, but for details about that you'd have to visit places that are definitely NSFW.

jwenting 1,905 duckman Team Colleague

yes, it's correct. You're not laying in bed, though you may have been laid in bed by someone after being found unconscious on the floor.

RikTelner commented: everybody do the dinosaur :D (you won't get it) +0
jwenting 1,905 duckman Team Colleague

interesting how they link to a lot of their own articles, but to nothing related that's been published by Microsoft themselves.
Of course them being militant Microsoft haters might have something to do with it...
Like the /. crowd they're not above launching some nasty rumours to make MS look bad...

jwenting 1,905 duckman Team Colleague

Or see it as a good reason to start reading about switch statements :)
Never be afraid to experiment and learn something new.

jwenting 1,905 duckman Team Colleague

of course more often than not Dutch people don't know or care whether inanimate objects are supposed to be male or female and refer to them as genderless.
It's not like German or French where the difference is clear from the way it's refered to (and where the difference mostly comes from in Dutch).
"Der Stuhl" and "Die Tafel" simply become "de stoel" and "de tafel" in Dutch, just as they'd be "the chair" and "the table" in English.

For most Dutch people it'd be rather hard to list whether object around them are male or female, unless they had access to a quality dictionary to look it up in.

jwenting 1,905 duckman Team Colleague

oh, razorblade and sticky tape. The original patch...

Reverend Jim commented: Literally cut & paste. +0
jwenting 1,905 duckman Team Colleague

but why go to the trouble of using a recursive solution when it can be done far more easily otherwise...
Very valid question if you ask me.

jwenting 1,905 duckman Team Colleague

nah, ticker tape is much more flexible and you don't have to resort it every time you drop a bunch.

jwenting 1,905 duckman Team Colleague

LOL, there used to be one. It only led to MORE such rubbish demands for doing kids' thinking for them as it caused a lot of google hits on queries like "project help", "project idea", "homework service"...

jwenting 1,905 duckman Team Colleague

You could even encode the actual size of each fragment into the sheet, but that would not be something you'd easily do by just copying and pasting images in gimp of photoshop.
The way would be to either add metadata in a comment field that some formats (like JPEG) understand, or encode it directly into the pixel values of the corner pixels of each fragment (e.g. the colour value of the first 2 pixels to be read from each fragment could indicate the number of pixels horizontally and vertically, the colour values of the last 2 pixels the starting position in the sheet of the next fragment).

jwenting 1,905 duckman Team Colleague

hmm, there's rather frequently a need to add request headers.
Of course you will usually need to send things like username and password as an MD5 or SHA hash rather than in plaintext in that header.

Think of things like OAuth2 tokens as well.

More common though is to have those things sent as HTTP headers:
http://www.mkyong.com/webservices/jax-ws/application-authentication-with-jax-ws/

jwenting 1,905 duckman Team Colleague

mind that the == comparison in this specific case can't be relied upon to return false.
The runtime (and even the compiler in this simplified scenario) might determine to optimise things in such a way that both point to the same String as stored on the String constant pool in permgen space.

Which teaches an important lesson: never rely on == in case of Strings :)

jwenting 1,905 duckman Team Colleague

hmm, even C++ may be too high level for that. C and ASM are where it's at.

jwenting 1,905 duckman Team Colleague

cout << "you're morbidly obese!" << endl

There you go.

jwenting 1,905 duckman Team Colleague

and oh, youtube videos are notoriously bad as a teaching tool.
While they can help, in combination with written material, to make concepts clearer, they're not to be used as your sole source of information, especially (because the average quality is very poor) if you don't have prior knowledge and can judge whether what you're seeing appears to be valid or not.

jwenting 1,905 duckman Team Colleague

It's for all the kids demanding we do their thinking for them and create their "final year project idea".
For myself I know what I want when I get home from the office, and that's a nice evening with a good book or talking to old friends :)

jwenting 1,905 duckman Team Colleague

yes, you can add notes to an eBook. But try easily looking back through them in context...
Much easier to do with a dead tree than with a dead electron.

Reverend Jim commented: True dat. +0
jwenting 1,905 duckman Team Colleague

There is no "best".
Therefore asking for "the best" is a by definition useless exercise.

There might be something that's more appropriate for specific purposes in specific scenarios than something else, but you never tell us what your specific scenario is so again it's impossible to answer your question.

Ruby and Python are pretty similar in their capabilities, so it's mostly a question of individual preference combined with integration with whatever other tools you have selected to use.
For me, that means Ruby is overall the more likely option when and if I need a scripting language, simply because I have the infrastructure to support it already in place.

jwenting 1,905 duckman Team Colleague

finding all that out is part of your work, not ours. You should have learned how to perform your own research by now, make use of those skills.
Feel free to bounce ideas off of people, but don't expect them to do your thinking for you!

jwenting 1,905 duckman Team Colleague

Visual Studio has a lot of very useful features, but most only become useful in fairly large products with multiple developers working on it as a team, and of course a lot of things only come into play for specific types of applications like web applications.

jwenting 1,905 duckman Team Colleague

all of which means nothing at all, Mike. You claimed the main reason people buy guns for is to commit suicide.
That's such a blatant lie you can't even come close to finding a statistic you can massage into shape to show some sort of correlation.
So you come up with numbers that claim that 60% of suicices involve a firearm, then combine those with some utterly meaningless numbers that are over a decade older that a percentage of gun deaths to be suicides (go figure), and then combine that with an even older unreferenced claim that homes with a gun are more likely to see a suicide than homes without one.
Not only are all those claims irrelevant to the actual claim you make, they're also unrelated to each other as they apply to different time periods.
With 200 million guns in the US (the actual figure is closer to 300 million), and some 3 million deaths a year TOTAL in the country, which is lower than the number of guns sold per year in the US, every single death according to your logic would have to be a suicide by gun, and a suicide by a newly purchased gun at that, for your argument to make any sense at all.

So much for unusual facts. Usual lies more likely.

Unusual fact: It's been statistically shown that 96% of statistics are incorrect.

jwenting 1,905 duckman Team Colleague

OK, now go ahead and use what you've been taught.

jwenting 1,905 duckman Team Colleague

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.

Just run your system using the normal security precautions that you'd use at any time and you're no more at risk than at any time (and how much that is is impossible to tell without knowing what precautions you normally take, if all you do is browse stackoverflow and daniweb for information while running a firewall and AV package you're a lot less at risk than if you're downloading stuff from every anonymous website and p2p network you come across and running it without any security in place at all).

jwenting 1,905 duckman Team Colleague

let's try to keep the partisan mudslinging out of this? Election fraud is of all times and all parties, all you end up doing is have shouting matches about "who does it more" which depends in part on what you consider election fraud to be, which some to extend to their political enemies running election campaigns and asking that voters show proof of their being allowed legally to vote at all.

jwenting 1,905 duckman Team Colleague

There are books out there that are utter rubbish, mostly books written by people with a "name" in one field about another and using that "name" to give the work an air of authority.
Sadly such things get published and pushed hard by publishers who have no clue that they're printing rubbish (or simply don't care).

diafol commented: fair one +0
jwenting 1,905 duckman Team Colleague

hmm, a Smart is a Mercedes, technically (they own the brand...), not a BMW.
Now a Mini, that is a BMW :)

OP, there are a ton of introductory tutorials available on Java, I strongly suggest you work your way through at least the one's on Oracle's own site at the OTN before you even attempt to get a job as a junior. As a senior I'd expect you to have at least 5 years and hopefully closer to 10 years of practical experience.

jwenting 1,905 duckman Team Colleague

only reason I slow down near accidents (if there's no traffic jam forcing me) is so I don't get hit by people running around without looking at traffic (including any emergency crews...).

As to survivor shows, those are the most heavily staged of all.
If you look even a bit, you see the "survivors" appearing every "morning" of their "ordeal" freshly washed and shaven, in clean clothes without a hole or gash in them, and no doubt after a hearty breakfast.
IOW they're just play acting, and are removed to a comfortable hotel or lodge after shooting the daily episode in half an hour or so.

jwenting 1,905 duckman Team Colleague

and if you ask on facebook and twitter 95% no doubt thinks the entire universe revolves around them...

ddanbe commented: 6% at least +0
jwenting 1,905 duckman Team Colleague

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

jwenting 1,905 duckman Team Colleague

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 of the application and 3rd party libraries.
IDEs make it a lot easier to keep up to date of course. When coding quick prototypes or working in a simple text editor I often resort to just importing entire packages for convenience. Later an IDE (if needed) can then reorganise that.

jwenting 1,905 duckman Team Colleague

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 and logo, but I'd start with brewing up some actual product and getting some people to give their honest opinion about it (and no, that's not your dad and mom who'll say how much they love it so as not to hurt your feelings).

When you have that, and can make it to the same taste consistently in your kitchen (not your bathtub, that's not hygienic), take that to a production company (after applying for a patent) and ask for quotes on production runs (which might well turn out to be impossibly expensive), or get out and build your own factory (which for local distribution only may well be enough).
Either will require a major investment.
Bottles you can buy in all shapes and sizes. For that small production run at least initially hiring some kids to spend a few afternoons a week gluing labels on bottles works well, or get a labeling machine.
Labels and printing company can make, there's some in every town and city. They often also have connections to graphic design firms that can design the logo for you, if you lack the skills.

Initial layout? Tens of thousands of dollars, hundreds …

ddanbe commented: Good advise! +0
jwenting 1,905 duckman Team Colleague

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 budget (and oh, set yourself a realistic budget before going in, it's easy to get carried away and end up buying very expensive gear you don't need right away, but be realistic and don't think $150 is going to get you a decent instrument).

Don't rely on online stores with a few pictures and maybe a short soundtrack, those don't tell you anything and the "reviews" are carefully tailored to make the items the store wants to push seem the best (which is usually the items with the highest profit margin, or those that have been gathering dust in the warehouse).

jwenting 1,905 duckman Team Colleague

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 state religion, a religion that all citizens MUST be a member of.

Just declaring Christmas day to be a day off for federal workers doesn't do that (and that is what congress did).

Note that this is about the federal government only, individual states under the establishment clause are not preventing from demanding their citizens be a member of a specific religious group, and indeed several states have had such requirements at one point or another.

diafol commented: sounds reasonable +0
jwenting 1,905 duckman Team Colleague

maybe his ambition is to be banned?

jwenting 1,905 duckman Team Colleague

Huck Fin isn't racist. But under the PC police state, it's considered racist because of the way it's worded. They never look beyond the fact that it contains the word "nigger", never read the context in which it is used.
A word btw that blacks among themselves use extensively to refer to themselves to this day, yet when a white person uses it even when literally just quoting a conversation between two black people he's called a racist.

And even were it racist, it's a historical document and has a right to exist just because of that.
If we wipe out any part of our past just because we don't like it, we forget it and it's bound to happen again.

jwenting 1,905 duckman Team Colleague

that'd depend on who's in charge of changing the law... If those guys and gals think it in their own best interest to change the law they will.
And languages do change, usually through being influenced by other languages. And English being a language that's spoken more by non-natives than natives, there's quite a lot of potential for that.

jwenting 1,905 duckman Team Colleague

oh, spicy foods are great. The spices are a good way to preserve foods that would otherwise go off and become unsafe to eat (yes, that's what spices were originally used for, as preservatives, just like smoking and freezing).

jwenting 1,905 duckman Team Colleague

The user should not enter 1 digit at a time, but always an entire combination.
Check the combination entered against the combination stored, et voila.

jwenting 1,905 duckman Team Colleague

nothing urgent about it.
Just create a new String each time, showing just the already guessed letter.

jwenting 1,905 duckman Team Colleague

wth are people still trying to use turbo C when that product is going on 35 years old (older than they are almost certainly), hasn't been supported for over 25 of those, and was created for an operating system and hardware architecture they've at most only read about or seen in a museum trip?
Yet if they don't get a new iPhone every few months they start complaining that they have such seriously outdated stuff...

jwenting 1,905 duckman Team Colleague

Once you start shutting down websites because someone doesn't like them, very quickly the entire web is shut down.
There's a lot of people who think "freedom of expression" should not include that freedom for everyone who thinks differently from themselves.

jwenting 1,905 duckman Team Colleague

learn Java...

Without that you're never going to do it.
Then learn about controlling cameras, network protocols, etc, etc, etc.

jwenting 1,905 duckman Team Colleague

seems you didn't get the message: we're not your project idea generator, use your brain for that.

In our experience, 90%+ of kids coming here asking us to give them their ideas then come back to ask us to implement those ideas for them.

jwenting 1,905 duckman Team Colleague

IMO you should never blindly just ignore any warning. If you're not sure of why you get it, what the risks are of ignoring it and find those acceptable, and there's a solution, fix your code rather than ignoring the warning.

Deprecated methods are deprecated for a reason, they often are unreliable or have dangerous side effects.
So don't use them unless there is no other way (and there just about always is another way).
In fact sometimes (and especially outside the core Java APIs provided by Oracle) deprecated methods have been changed upon deprecation to do nothing at all, or to just log a warning and terminate, forcing users to replace calls to them.

jwenting 1,905 duckman Team Colleague

we're still waiting for an automated project idea generator...

diafol commented: haw haw. still chortling as I type :) +0
jwenting 1,905 duckman Team Colleague

Given your initial question, you should probably give up trying to write any malware removal software as if you'd have even the most rudimentary knowledge about such you'd have known Java is not an appropriate choice to implement it.

jwenting 1,905 duckman Team Colleague

take a look at the split() method in the String class. Using that and a little knowledge about arrays the solution becomes trivial.

stultuske commented: my thought exactly +14
jwenting 1,905 duckman Team Colleague

And in snow up to my waist :)

while facing a blizzard headon, wearing only shorts and sandals.

jwenting 1,905 duckman Team Colleague

uh no. I'm the referee who hereby declares the entire game invalid :)