jwenting 1,905 duckman Team Colleague

And coherent writing skills, with the ability to write things other people can and want to read.
OP's blurb is a prime example of what they don't want to see. Poor formating, lots of typographical and grammatical errors, etc..

jwenting 1,905 duckman Team Colleague

Just turn the number into a String, pump that into a StringBuilder, and call reverse() on 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

good money in being an Oracle DBA... Or better yet and Oracle consultant :)

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 :)

jwenting 1,905 duckman Team Colleague

I wasn't in the game to begin with, so can't possibly have lost it.

jwenting 1,905 duckman Team Colleague

I'm hoping the random full discharge of my 2 year old phone last year isn't the beginning of the end for it.
If it is, I might look for a new one, or just revert to a 6 year old model I keep as a spare and use that for another 2-3 years.

jwenting 1,905 duckman Team Colleague

I thought that was Yahoo!?

no, it's 15.000 yahoos applying to work at Google.

jwenting 1,905 duckman Team Colleague

to get path separators in an operating system independent fashion, use System.getProperty("file.separator").
Of course that does not guarantee your directory will be correct, as you're hardcoding a drive name there which Linux (or Mac, or pretty much anything except Windows) doesn't understand.

jwenting 1,905 duckman Team Colleague

IMO there's no such thing as "unacceptably rich". The whole idea that people should be kept poor (or at least all within a specific and small margin of the poorest members of society) is a major factor in getting us into the economic crisis we are in and making it next to impossible to get out.
Potential investors are taxed to the point they have no money to invest, potential entrepreneurs think twice about starting a business on a loan (which that investor will likely deny them because he has no money to spend, but let's say he finds one able and willing to take the risk) because he'll just be penalised for his success (if he has it).

The Gold standard for currency worked well, until it was abandoned by countries needing a quick cash infusion for their governments that wanted to go on a spending spree for which their gold supplies lacked the backing volume.
So they abandoned the gold standard and just decided that the currency would be worth whatever the government said it was.
Result of course is inevitably high inflation, government budgets spiraling out of control, eventual monetary collapse, and poverty for all but those having control over the money presses who just print more money for themselves, leaving the rest of the population poorer still as a result.

jwenting 1,905 duckman Team Colleague

my current TV is less than 5 years old, I hope it will last at least another 10-15. At that time I'll see what's current mid range technology and whether that's worth the investment for the half hour or so a day I use the darn thing.

jwenting 1,905 duckman Team Colleague

Can you emagine a world without the great pyramids? What a pitty for humanity if those 2,000 year-old objects were destroyed in a war.

won't happen in a war, though they might get damaged.
But the "friendly" muslim brotherhood (aka al qaeda, aka the taliban) were planning to blow them up as signs of heretical religions before their guy morsi was thrown out by the army (once the army remembered its duty is to the constitution, and the guys in power were violating that constitution) similarly to them blowing up those statues in Afghanistan.

Not saying they'd have succeeded, would take a larger amount of high explosives than is likely available in Egypt, but they'd have been able to blast some serious holes in the pyramids.

Arrest Asad and his high command for war crimes, and put them on trial.

what war crimes?
1) there's no evidence chemical weapons were used in combat, let alone by government forces, let alone under orders from the president.
2) there's actually strong indication that the victims are the victims of the rebels (al qaeda that is...)
3) even if the Syrian government were responsible, Syria is no signatory of any treaty barring the use of chemical weapons, therefore can't be held responsible for violating such a treaty.
4) it's an internal affair in an independent nation. Why are we so upset about this when there's a rumour that someone used weapons against civilians that …

jwenting 1,905 duckman Team Colleague

sheesh, still at it trying to land that job at a high profile company after being supposedly already rejected by all of them?

nitin1 commented: what the hell!! what do you mean by all of them ? Don't comment if you don't know anything. rejected by only 5 of them , total companies visited my campus this year is 66. and i was selected in 6th company. relax!! +0
jwenting 1,905 duckman Team Colleague

I'd say that's not at all powerful as it's impossible to maintain, extend, or comprehend, and therefore utterly useless by all practical considerations given to production code :)

Which leads to the inevitable "how do you define powerful" :)

Tcll commented: power comes from how well the code performs, extendable, maintainable, and comprehendable only impact the language's use by developers. +0
jwenting 1,905 duckman Team Colleague

first learn to write coherently. Your wall of text causes most people (including me) to simply give up after a few sentences (if they even get started).
So the only thing I got from your rant was that you want to become some sort of super programmer without ever actually putting in any effort to get the training to become one.

Not a good impression, is it?

jwenting 1,905 duckman Team Colleague

we're not here to do your homework for you, kid.
And if you'd paid attention in class you should easily be able to do all that yourself.

jwenting 1,905 duckman Team Colleague

nah, he should get himself a time machine so he can go back in time to where he has enough time to do his homework that it's no longer "urgent".

jwenting 1,905 duckman Team Colleague

what about just looking at http://www.hibernate.org ?

jwenting 1,905 duckman Team Colleague

www.springsource.org comes to mind. Why go further than the source for samples when they have a lot of them?

jwenting 1,905 duckman Team Colleague

Obama wants a war, Al Qaeda gives him an excuse to attack a sovereign nation state.

And nobody thinks it weird that we're in Egypt, Syria, Libya, and Tunisia are supporting the very people we're fighting in Afghanistan and Iraq, supplying them with weapons that they're sending there to use against us?

jwenting 1,905 duckman Team Colleague

if this kind of threads is what they need to 'advertize' their product, .... , might tell us something about the quality of said product.

quality of sad products you mean? :)

happygeek commented: hehe +0
jwenting 1,905 duckman Team Colleague

At the time development of Win8 started, market research showed that by 2012 there would be such a demand. And an even greater demand for laptops with touch screens which were projected to have almost replaced desktops and traditional laptops by now.
That was 5-6 years ago.
If their marketing firm misread the market, you can't blame Steve Balmer for it, not the Win8 dev team who just built what they were told to build based on long term market projections that turned out to be wrong.

jwenting 1,905 duckman Team Colleague

that number is a fluke, a fake.

Yes, the government spends a lot of money. But a lot of that goes to buying things like computers, cars, paying construction companies to build new data centers for the NSA, paying Lockheed Martin and Boeing for new drones to spy on people, etc. etc.

jwenting 1,905 duckman Team Colleague

you could start saving up for all the books, software, and computer equipment you're going to need...

jwenting 1,905 duckman Team Colleague

in other words, "I want to steal someone else's work so I can get a good grade without putting in any effort".

jwenting 1,905 duckman Team Colleague

good luck. I hope you know what those things actually mean or you're in for a very hard time.

jwenting 1,905 duckman Team Colleague
  1. Most any job will start there. It's a good place to learn, and a place you can start being effective despite knowing next to nothing (and no, you'd not be expected to know anything in an entry level development job either, you'd be set to testing, fixing bugs, analysing support requests, learning).
  2. There's always a need for good network admins, DBAs, and hardware engineers. Can outsource pretty much anything to some low wage country, except for the guys with the screwdrivers and soldering irons...
  3. Quite likely. Pay in software engineering has been under extreme pressure from competition of mass produced code monkeys from low wage countries for so long it's pretty low now unless you have very specific skills that are extremely hard to get, which you don't.
jwenting 1,905 duckman Team Colleague

hmm, the perfect smartphone?
Lightweight (no more than 100 grams), small (no more than fits easily into a front pocket of a dress shirt), big screen (10"+, thus directly conflicting with the first two requirements), full size qwerty keyboard (which is about 10 times larger than the maximum size of the device), 2-3 month battery life on standby (the maximum size and weight of the device make that impossible), 2-3 weeks actual use (ditto).
And oh, an old fashioned rotary dial to dial numbers would be nice :)

Ergo, the perfect smartphone does not and cannot exist as it is a series of contradictory requirements.
As is, my 2 year old Samsung XCover is serving me reasonably well, and I hope it will last at least another 2 years though the way the battery is degrading I might have to replace it (or maybe find a replacement battery) within a year.

jwenting 1,905 duckman Team Colleague

not if the software were designed as such. I'd consider it a failure of my firewall to detect the intrusion attempt, and as anyone on the internet should have I've a hardware firewall as well as a multilayer software firewall in place to prevent just that.

And you've still posted nothing but vague rumours and accusations.
EU (and especially German and French) government agencies are not unknown to post lies and other falsehoods about US companies in order to stir up political sentiment for more trade restrictions and forcing EU countries to "buy European".

jwenting 1,905 duckman Team Colleague

so you vaguely remember one schoolteacher who disapproved of one kid's submission for a test in Belgium, and claim that to mean that Dutch law prohibits you from publishing photos of people under any condition without a signed model release form.
Farfetched to say the least.

And given the number of people visible in photos published in newspapers and everywhere else all the time, almost certainly incorrect.
Do you really think a journalist is going to go to the trouble of asking permission from all the thousands of people visible in his photos of a rock concert or political rally whether they agree to having those photos put in a paper or shown on television?

jwenting 1,905 duckman Team Colleague

too late anyway, if it were really urgent he's dead by now and the computers exploded into clouds of silicon and metal dust.

ddanbe commented: Kwak! +14
jwenting 1,905 duckman Team Colleague

post the relevant article of Dutch IP law, stultuske, as AFAIK no such law actually exists in the Netherlands (at least not a blanket law relating to images taken in public).

jwenting 1,905 duckman Team Colleague

so now because of some rumoured secret chip in PCs that allows the government to control your computer an operating system is not safe?

jwenting 1,905 duckman Team Colleague

it's not one or the other, AM, it's the whole package.
Changing your lifestyle without changing your diet will do little. Changing your diet without changing your lifestyle won't get you the full effect either.
And that's not even taking into account the large group of people for whom there's no option to change one or the other, or for whom changing one or the other will do nothing at all because of other factors involved, like genetic reasons for metabolism problems.

See what happens when you drop the 10km a day hike and the 20km a day bicycle ride without reducing your caloric intake.

jwenting 1,905 duckman Team Colleague

uh, no. If I take a picture of someone, copyright does not rest with that person.
It rests with me, the photographer.

The person(s) in the photo might have some rights, depending on jurisdiction, to place restrictions on how I can use that photo, but that's it.

jwenting 1,905 duckman Team Colleague

you're still trying to get that job at a high profile company, despite being turned down time and time again, and people telling you to start looking for some lower hanging fruit?

You're just going to get more rejections that way. There's a reason Amazon and others turned you down, and Google's going to turn you down for the same reason.

jwenting 1,905 duckman Team Colleague

if Shaw uses a US based hosting provider, chances are good the data ends up in some NSA program even if he's a Canadian based company.
Even if his traffic passes through the US on its way somewhere else it'll end up in an NSA program (though possibly another one).
And for that traffic, there's not even any protection under the national security act of 1948, which put down that US foreign intelligence services are not to launch operations on US soil. IOW not just the NSA (which from its conception was not listed as a foreign intelligence service precisely to excempt it from that law's restrictions) but the CIA as well are allowed to read your mail.

And that's the big one, why even using a non-US service doesn't mean you won't get your mail read by Obama's snoops, your cellphone calls not recorded.
And of course many countries (UK, Netherlands, I think Germany, France, Belgium, etc. etc.) are clammoring to install similar programs and have already admitted to sharing their own residents' records with the NSA.

jwenting 1,905 duckman Team Colleague

without knowing the specifics, it's impossible to give any advise.
And even knowing the specifics, I'd not give any legal advise as it's far too risky in putting me at risk from being implicated in anything you do acting on that advise.

Intellectual property right claims like that can go very different depending on where you are, where the claimant is, where the person who uploaded the content is, when all this happened (laws change, as do international treaties), what court it ends up in, etc. etc.

I've been loosely (as in, I knew some of the people involved) involved in one somewhat similar case where a notorious pirate was tracked down and takedown orders issued.
It was a complete mess with the IP owner being in the UK, the pirate in Spain, his hosting company in France, and the servers he was hosting on in Italy.
In the end courts just threw in their hats and gave up trying to determine who was to pay what damages to whom, and it ended with the hosting provider agreeing to stop hosting the pirated content and scrapping the pirate as a customer, the IP owner in the end getting nothing but the knowledge that for a short while a large scale pirate had been put out of action (he was back a few weeks later with servers hosting in yet another country) and a legal bill running into the hundreds of thousands of Euros.

jwenting 1,905 duckman Team Colleague

http://www.oracle.com/technetwork/java/index.html good tutorials, documentation, etc.

Yes, it's a bit of a dry read if you're young and want to just jump into the thick of things, but just jumping in isn't going to make you a decent developer, you need a solid background.

@Plazmotech this is no place for religious wars between languages. C++ isn't "much, much better" in general, or even in many specifics, to Java. It might be more appropriate for some things than Java, for other things it's decidely inferior.
And without knowing what OP wants to use his knowledge for in detail, it's impossible to make that assertion. For example if he wants to write for Android, C++ knowledge will be pretty much useless to him.

jwenting 1,905 duckman Team Colleague

in my experience, with experience you get more cynical, more fatalistic, more focussed on getting the job done at all rather than whatever high ideals about beautiful results you may have had in the past.

jwenting 1,905 duckman Team Colleague

start by scrapping ALL references to the word "Tetris" or anything that has any relation to it.
The owners of the copyright are notorious for going after anyone using it, whether it's used commercially or not.

And learn to divide your source into logical units, split it up into multiple classes, make it readable.

jwenting 1,905 duckman Team Colleague

"started learning java through youtube" does not bode well for someone wanting to make a career out of software development.

And no, you should not look at specialised game programming curiculi, they're far too narrow and you're almost certain not to find employment in the field, certainly not long term employment.
It's an incredibly fast paced industry, most people entering it burn out or leave within 5 years, those with overly narrow training finding themselves unemployable.

Game programming sounds like fun, but once you realise it's just another job and you're not being paid to play games all day the novelty quickly wears off, yet the incredible work pace, the massive stress brought on by deadlines that are known to be impossible to meet even before development starts, the constant push from on high to make those deadlines tighter while adding more and more to the release, that never changes.

jwenting 1,905 duckman Team Colleague

there exist many such programs. What do you think UPS uses, FedEx, DHL, Royal Mail, most every trucking company, to generate routes?

And there are many ways to solve it, usually by encoding the map into a graph and letting loose a pathfinding algorithm.
Of course that's a crude approach, as there's a lot of stuff to factor in to get an optimal solution, and you'll need more software to calculate the loadout of your delivery vehicles and optimise that, then find a way to coordinate between the two so you don't end up with routes that look optimal but leave you with overloaded vehicles.

jwenting 1,905 duckman Team Colleague

Rather than 'conquering' the Tibetans the plan is to overwhelm them with numbers. At the end of the current phase, the Han Chinese will outnumber the Tibetans and there will no longer be a 'Tibetan' culture

which is taken directly from the Soviet system of supplanting Russians into central Asia in order to "Russify" the central Asian republics.
Of course the Soviets combined this with forced migration of tens of thousands if not hundreds of thousands of the original inhabitants of those republics to Siberia where most of them succumbed to disease and exposure (they were literally dumped in the forest along the side of the railroad with nothing but some shovels and other tools and told this was their new home).
I'd not be surprised if China is using similar "relocation programs" to move Tibettans to their northern plains, near the Mongolian border, where entire cities are crumbling to dust that were constructed there in the last decades without any reason other than to meet targets on construction of new houses.

jwenting 1,905 duckman Team Colleague

if it's so shallow it takes only 4 days to acquire the skills to pass the exam and get a piece of paper, it's also utterly worthless.

jwenting 1,905 duckman Team Colleague
  1. we don't want to end up doing your homework and actually writing your paper, which would inevitably be the next demand you come up with.
jwenting 1,905 duckman Team Colleague
  • 10 open file
  • 20 start loop
  • 30 read line
  • 40 if end of file goto 100
  • 50 parse line
  • 60 goto 30
  • 100 end loop
jwenting 1,905 duckman Team Colleague

wrong questions, useless answers.
You use what pattern, if any, is applicable to the situation at hand. Just because some pattern is "popular" doesn't mean it's "better", let alone universally superior to everything else.

I've worked on applications where the designer/lead programmer was a pattern fanatic and dedicated to using a specific pattern everywhere, mindlessly.
All such were characterised by being bloated, poorly designed, under performing, maintenance nightmares.

Determine what your overall application structure should be based on its functional and technical infrastructure requirements, then and only then start thinking about how to engineer that application, and patterns will emerge as a matter of course out of that. Starting with a pattern and thinking "oh, how shall I make a multiuser distributed document management system using an abstract factory" isn't the way to go, it's the way to disaster.

jwenting 1,905 duckman Team Colleague

One of the founding fathers said: he who gives the government a bit of his liberty to get a bit of security will end up having neither.

Which is exactly what has happened. You let it happen, you asked for it, now you have to live with it. Do not expect the government to ever let go of the power you handed them on a golden platter, in fact expect them to do whatever they can to increase the power they have over you to the point where you have no say in your own life whatsoever.
That's the nature of government, ANY government.