- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
If only java had a cross-platform way to get environment variables. Something like
ho! Wait... There is!
Admin
I'm a bit late to this, but the answer to:
"I wonder what they do when windows 9 comes out?"
Implies that Windows 9 WILL come out at some time. Given the current releases, I keep having doubts. It may be called Windows 2015 or some such, as Microsoft keeps changing the naming scheme.
It seems that other OS companies have a better numbering system, but then again that just looks like.
Admin
There are other OSes out there. Hewlett Packard MPE started its life in 1972 and end of life cylcle was 2010! Still supported by third part vendors. A program from 1972 will still run flawless on the latest version from 2010.
After 450 days of uptime we did install an OS patch. Try to get that order of uptime on a Windows, IOS or *NIX machine.
Admin
How about
instead?
Admin
...still, it's an ugly way to do it. Although I'd hazard to say that the other ways I've seen are even uglier. Apparently you're not supposed to set environment variables in Java.
Admin
Neat, thanks guys.
Although I do understand that the point of the code is somewhat different: OS sniffing. Which is more of a shoe/glass bottle to pound in a nail issue.
Admin
Admin
Admin
Admin
Admin
I had over 700 days uptime on each node of a Debian 3 / 3.1 cluster that powered a public facing web application. They were only taken down because the utility company cut both power circuits to the Data Center and the DC's UPS units failed. They were due to be de-commed anyway though.
Admin
(Though a second party tool[*] could do it in Windows XP.)
[* Was a third party tool until Microsoft bought it.]
Admin
Admin
Create a Windows service that monitors cmd.exe for changes and runs
anytime that it changes.
It will keep command.com up to date. Now that's enterprisey!
Admin
Or better yet:
Admin
Admin
And that's application uptime, not just OS uptime.
Not to mention the VXWorks units that have been running 24x7 for best part of twenty years with no reboots. There aren't many though, as most buildings mains power and UPS are less reliable(!)
Admin
The True WTF is to complain about java that different OS have different shell clients.
Admin
Admin
NT 6.3 is Windows 8.1. As if the versioning scheme wasn't confusing enough.
Admin
He already had a couple of upvotes - you just downvoted him to oblivion. Hope you're happy.
Admin
Hereby nominated for featured comment....
Admin
Admin
DOS 1 only knew how to run .COM files; COMMAND.COM contained the loader for .EXE files. This had the flaw that DEBUG.EXE couldn't itself debug .EXE files.
DOS 2 contains the loader for .EXE files, and COMMAND.COM and DEBUG.EXE use DOS to load both .COM and .EXE files. (DEBUG.EXE uses a different loader for other files, so if you, say, rename a .COM to .BIN and then load it into DEBUG.EXE then it won't run correctly. I used to think that DEBUG.EXE only used DOS to load .EXE files until Raymond Chen corrected me.)
Even in Windows the .COM/.EXE limitation is from the shell, for instance Windows 9x has an internal executable whose extension is .TSK to stop you from invoking it accidentally.
Admin
Any reason why Runtime.getRuntime().exec() isnt used?
Admin
nvm
Admin
Skip to Windows 10. http://www.gamespot.com/articles/microsoft-announces-windows-10-skipping-windows-9/1100-6422657/
Admin
Are you fucking kidding? If you write unsustainable, non-robust code, YOU are the enemy. If you can't upgrade your code to keep it bug-free, YOU are the enemy.
Sincerely, Someone not stuck in the past.
Admin
But as the user, the enemy appears to be the OS vendor for breaking something that worked. All you care about is that the software that you've been using for 10 years worked on Windows 8, and now it's broken on Windows 9. You don't know or care whether the programmers wrote non-robust code that would break if Windows 9 ever came out. Maybe the vendor doesn't even exist any more, so it's not possible to get them to fix it. You just expect it to work on the next version of Windows, and if it doesn't, it's obviously Windows' fault.
Admin
http://www.reddit.com/r/geek/comments/2i0g19/microsoft_dev_explaining_why_its_windows_10_and/
Admin
Fortunately for them micosoft skipped windows 9.
Admin
i like to play free online games that use a program called "Flash"...some older games quit working when i upgraded Flash to version 10...because they thought it was version 1!
Admin
Well... no we know that they did skip windows 9