You'd want to put the calls to close() in the finally block. Otherwise, if an IOException was thrown, the calls to close would not happen. This can cause a file descriptor leak on some systems (at least it does on Linux with a 1.4 or 1.5 JVM).
Here's how I would write it:
InputStream in = null; OutputStream out = null; try { in = new FileInputStream(inputFilePath); out = new FileOutputStream(outputFilePath);
You may appreciate his views on America (choice quote 'when being chased by a gang of rednecks': "I honestly believe that in certain parts of America now, people have started to mate with vegetables.")
I think he's spot on the money there. Did you see the show where they dressed up the cars with pro-gay slogans and drove through some southern redneck state? They almost got themselves shot by a gang of rednecks. It was quite hilarious.
I read comments on here about video cameras in the UK and why don't we stick up for our rights. Here is a case of someone being sent to to jail for pirating a movie. This is not an offence worthy of jail time at tax payers' expense. When are you guys going to say enough of this bullshit?
To those who mocked the camera situation in the UK with 1984 jokes, I would like to say a big "fuck you". Oh, and watch out for the telescreens. Thanks for listening.
As a software developer, I don't necessarily need more CPU power (although it does help quite a bit), I need more RAM. I currently have 5 GB of RAM in my workstation.
I know Vim and JEdit use a lot of RAM, but this is getting ridiculous!
Can you back up your claim with specific numbers and details of problems, or are you just spouting FUD?
Let me get this straight, you think that just because you didn't have any problems with IE based on 2 installations of Vista, the GP must be spouting FUD? Is it that you think that your Vista experience verifies that Vista/IE would work flawlessly on the almost infinite number of different possible hardware and software configurations, or don't you think that these factors would make a difference?
The result is that browsers will show you the finger if you don't code to the standard.
The problem with that is that most HTML is being generated as text. There's no checking to ensure it's valid after it's generated. Valid XML is no panacea and browsers have always had to cope with sloppy HTML, so what's the point?
As long as you pointed it out to your boss, you've done your job. Put it in an email, and then when someone hacks in to your network, print it out and show your boss as an "I told you so".
You're not joking. Around 95% of my commute is non-urban but it still takes me around the same time as driving. The 5% urban driving takes around 50% of the time. On my bike I can jump the traffic queues.
Sorry, you've lost me there. I posted a comment saying "I drink tea, you insensitive clod" and got modded troll. Is this something to do with tea being an alias for marijuana in the US?
In the UK, the PS3 has less hardware (ie it has software PS2 emulation), and costs near £450 ($900 at todays exchange rate)
Sony have total distain in the UK and EU countries for any of their consumers.
Agee entirely, there's no way I'm buying one. It'd be cheaper to buy one from the US and pay import duty on it, region issues aside.
For example, smoking. I hate smoking, it's horrid. But if people want to do it, they should be able to go to pubs where it's allowed.
The problems is that there are other people besides smokers breathing air in pubs. If people want to smoke they can stand outside in the cold with the motons, chimneys and other polluters. No one is taking that right away:)
Here's how I would write it:
Someone please mod this idiot "plague3106" down. He's done nothing but post inflammatory and belittling comments in this thread.
I read comments on here about video cameras in the UK and why don't we stick up for our rights. Here is a case of someone being sent to to jail for pirating a movie. This is not an offence worthy of jail time at tax payers' expense. When are you guys going to say enough of this bullshit?
What's wrong with Self-Addressed Envelopes?
To those who mocked the camera situation in the UK with 1984 jokes, I would like to say a big "fuck you". Oh, and watch out for the telescreens. Thanks for listening.
There's always evolution and ximian-connector, if they're still around. Last time I used them they were full of bugs, mind.
I was thinking the same thing.
After years of "Linux ready for the desktop" stories on slashdot, does this mean it finally is ready?
As long as you pointed it out to your boss, you've done your job. Put it in an email, and then when someone hacks in to your network, print it out and show your boss as an "I told you so".
You're not joking. Around 95% of my commute is non-urban but it still takes me around the same time as driving. The 5% urban driving takes around 50% of the time. On my bike I can jump the traffic queues.
Sorry, you've lost me there. I posted a comment saying "I drink tea, you insensitive clod" and got modded troll. Is this something to do with tea being an alias for marijuana in the US?
Moderated "troll" and "redundant" because I drink tea? Unbelievable.
I drink tea you insensitive clod!!!!1one
Instead of going to the gym, I cycle to work. It's 9 miles/half an hour. It means I get an extra half hour to 45 minutes in bed!
I can't be bothered to keep buying new phones. If the battery went in mine I'd like to know I can replace it myself.