Battlestar Galactica is about the only good remake
I still don't understand what people see in the remake of Galactica. I see that it has a lot of fans here, but IMHO is the worst show I'd seen in the last years.
This is almost unbelievably. This so much Philip K. Dick that I doubt if we are in the "real" reality or some virtual simulation of one of his stories. Don't know if cry or laugh.
in my observation, at least, someone who thinks socialists or progressives are the same as communist is usually a closet facist, who would protest violently if called so. Do you feel like protesting?
Come on, the OP says tomcat is hard to install, which is not. Configuration on specific apps may be more problematic. I had some problems with classpath myself. I don't like putting JDBC drivers into paths shared by tomcat. I prefer to put the libraries into the war, for isolating each app. I would like to put the database access on an application server but haven't that setup yet in our apps. I think that tryinh to deploy a database application in PHP if it has not the drivers compiled in would not work, so Java has an edge at least. I agree on documentation, it's deficient if I'm being kind.
I can tell from my experience how to install for windows: 0) install java developer kit (jdk). Usually from Sun or you favorite implementation. 1) download tomcat installer (exe) 2) install Once the download done it must take no more than a few minutes. You can download a.zip if like but then you must put the java binaries on PATH and run tomcat/bin/startup.bat For linux or as/400 is about the same but run startup.sh.
Java its not magic, but if you are a little carefull its easier to get portable programs than for example a C/C++ program. My main problems are with old applets or that are tied to Microsoft JVM. That's the developer fault, or perhaps a business decision. Our web apps binaries run without problems on windows, linux or as/400, unchanged.
It seem that most programmers in slashdot only care about how much the language fits with his own tastes rather that on those things you mention like ease of use, maintainability, performance, scalability, and I would add maturity, availability, deployment, documentation, support, robustness, tool support and surely missing others. You see, those are problems that the user, customer o the sysadmin will have, why should a programmer care?
I'll add 4) MySql development slow downs as they develop an alternative to innodb (commercial or free) gives other FOSS DBs momentum (postgresql, firebird, etc) to catch up MySql in popularity.
May you elaborate on that? sounds like a lots of inserts in a simple log table. May be the volumen is high but not complex transactions or queries. Please correct me if my guess is wrong.
Both of those pieces of code happen so fast that it doesn't matter.
Unless of course that someone writes a compiler so optimizing that the code ends before it begins, causing a paradox that will end the universe. To prevent that imminent danger all programmers must start programming in TI-99/4a Basic right now.
And for Java not having pointers, seen any NullPointerExceptions lately? At least my C++ references cannot be NULL (they can be invalid though;)
Well, I seen LOTS of NullPointerExceptions, thank you very much:-) Really, this usually isn't as bad as it sounds because I can diagnose the problem more easily (in most cases) than an equivalent C++ program. The name isn't very good (NullReferenceException would be better maybe?) but the meaning is the same. Alas, I'm having one such problem that produces NullPointerExceptions because of missing parameters in http request and can't find what causes the problem. I know the NPE are the consecuences and not the cause and can catch them. This is a very weird case, almost in every other situation NPE were more easily spotted.
In my experience in C sharing memory would most likely make the "whole system fall over" because of overwriting the memory or free'ing twice the same block. C++ is more o less the same, though you can manage it better there is usually third parties libraries one cannot control. In Java you just cannot overwrite shared memory or release twice an object, accidentally or otherwise. All access are throught references. You can share an object and use it wrongly (example: account.substract(n) from two places) , but its a different problem at a different abstraction level. I personally like not to worry about pointers when I'm not doing low level work.
Modern Java Virtual Machines do Just In Time compilation. Sun JVM "hotspot" decides what to compile based on when code is frequently used. Then it compiles to machine code. So Java can be as fast as machine code. See http://java.sun.com/products/hotspot/docs/whitepap er/Java_Hotspot_v1.4.1/Java_HSpot_WP_v1.4.1_1002_4 .html for more details.
"Reference counting is nearly always very much slower than other garbage collection techniques, because of the need to update reference counts whenever a reference is changed, rather than only following references during garbage collection. Reference counting also requires some space in each object. Simple reference counting also fails to reclaim the memory used by data structures that have cycles (such as doubly linked lists), although this is ameliorated somewhat by judicious use of weak pointers." from http://en.wikipedia.org/wiki/Garbage_collection_(c omputer_science)
Darkstar surely deserves a place in a top 10. Apollo 13 first? this is nonsense. First Contact above Khan? come on!!!
Battlestar Galactica is about the only good remake
I still don't understand what people see in the remake of Galactica. I see that it has a lot of fans here, but IMHO is the worst show I'd seen in the last years.
This is almost unbelievably. This so much Philip K. Dick that I doubt if we are in the "real" reality or some virtual simulation of one of his stories.
Don't know if cry or laugh.
Funny, in spanish United States is "Estados Unidos". Got it? EU...
So you accept that 37% of Vietnam's population are in industry and service and don't think they may have an use for a laptop?
That's one of the thing Java ofuscators do. No reason to someone write a similar ofuscator for Perl.
Perl have this autoofuscating thing. Just write as usual, the result is ofuscated enough.
pas1234... oh wait, this is public?
in my observation, at least, someone who thinks socialists or progressives are the same as communist is usually a closet facist, who would protest violently if called so.
Do you feel like protesting?
I wonder how you explain that the last democrat administration had a great superavit and the republicans great deficit.
Also if you have transactions spanning more than one database, sometimes from different vendors (for example DB2 and MS Sql Server).
Come on, the OP says tomcat is hard to install, which is not. Configuration on specific apps may be more problematic. I had some problems with classpath myself. I don't like putting JDBC drivers into paths shared by tomcat. I prefer to put the libraries into the war, for isolating each app. I would like to put the database access on an application server but haven't that setup yet in our apps. I think that tryinh to deploy a database application in PHP if it has not the drivers compiled in would not work, so Java has an edge at least.
I agree on documentation, it's deficient if I'm being kind.
I can tell from my experience how to install for windows: .zip if like but then you must put the java binaries on PATH and run tomcat/bin/startup.bat
0) install java developer kit (jdk). Usually from Sun or you favorite implementation.
1) download tomcat installer (exe)
2) install
Once the download done it must take no more than a few minutes.
You can download a
For linux or as/400 is about the same but run startup.sh.
Then develop you application and deploy it.
Java its not magic, but if you are a little carefull its easier to get portable programs than for example a C/C++ program. My main problems are with old applets or that are tied to Microsoft JVM. That's the developer fault, or perhaps a business decision.
Our web apps binaries run without problems on windows, linux or as/400, unchanged.
It seem that most programmers in slashdot only care about how much the language fits with his own tastes rather that on those things you mention like ease of use, maintainability, performance, scalability, and I would add maturity, availability, deployment, documentation, support, robustness, tool support and surely missing others. You see, those are problems that the user, customer o the sysadmin will have, why should a programmer care?
I'll add 4) MySql development slow downs as they develop an alternative to innodb (commercial or free) gives other FOSS DBs momentum (postgresql, firebird, etc) to catch up MySql in popularity.
Because if MySql AB (the enteprise) closes doors, so goes developers funded by them, their sites, etc. Someone pays the bills now.
May you elaborate on that? sounds like a lots of inserts in a simple log table. May be the volumen is high but not complex transactions or queries. Please correct me if my guess is wrong.
Both of those pieces of code happen so fast that it doesn't matter.
Unless of course that someone writes a compiler so optimizing that the code ends before it begins, causing a paradox that will end the universe. To prevent that imminent danger all programmers must start programming in TI-99/4a Basic right now.
And for Java not having pointers, seen any NullPointerExceptions lately? At least my C++ references cannot be NULL (they can be invalid though ;)
:-) Really, this usually isn't as bad as it sounds because I can diagnose the problem more easily (in most cases) than an equivalent C++ program. The name isn't very good (NullReferenceException would be better maybe?) but the meaning is the same. Alas, I'm having one such problem that produces NullPointerExceptions because of missing parameters in http request and can't find what causes the problem. I know the NPE are the consecuences and not the cause and can catch them. This is a very weird case, almost in every other situation NPE were more easily spotted.
Well, I seen LOTS of NullPointerExceptions, thank you very much
In my experience in C sharing memory would most likely make the "whole system fall over" because of overwriting the memory or free'ing twice the same block. C++ is more o less the same, though you can manage it better there is usually third parties libraries one cannot control. In Java you just cannot overwrite shared memory or release twice an object, accidentally or otherwise. All access are throught references. You can share an object and use it wrongly (example: account.substract(n) from two places) , but its a different problem at a different abstraction level.
I personally like not to worry about pointers when I'm not doing low level work.
Not that much! remember, baby steps.
Modern Java Virtual Machines do Just In Time compilation. Sun JVM "hotspot" decides what to compile based on when code is frequently used. Then it compiles to machine code. So Java can be as fast as machine code. See http://java.sun.com/products/hotspot/docs/whitepap er/Java_Hotspot_v1.4.1/Java_HSpot_WP_v1.4.1_1002_4 .html for more details.
"Reference counting is nearly always very much slower than other garbage collection techniques, because of the need to update reference counts whenever a reference is changed, rather than only following references during garbage collection. Reference counting also requires some space in each object. Simple reference counting also fails to reclaim the memory used by data structures that have cycles (such as doubly linked lists), although this is ameliorated somewhat by judicious use of weak pointers."c omputer_science)
from http://en.wikipedia.org/wiki/Garbage_collection_(
But not significantly so that most people that today uses Java feels any need to leave for C#, unless it's a very personal preference.