Also keep in mind that most of the "steady eddies" are people that know how and understand the fundamentals of programming, but really have specialties elsewhere. My current project only needs two people because of this. I'm a natural coder, he's a natural at making GUI's. I can make GUI's, but it takes me forever. I can crank out 100 files and thousands of lines of codes in a week or so, but it takes me a week to make a damn form that doesn't suck so bad that I wouldn't use it:). The same goes for him. Just like he has to go behind me and clean my GUI up, I have to mop up his wierd cludges from hell.
The second thought I have is that people generally work better in pairs than alone. The right match of people itself will induce enthusiasm about a project. Just as long as they actually do work instead of play quake all day. A countless number of times in this eternal (several year long project) my co-worker and I have had awesome conversiations about all the cool things we could do to make it better. Every time this occurs, I feel compelled to actually try some out.
Don't forget that seriousness can kill a project just as fast as neglect. Most projects start with "wouldn't it be neat if we could..." Don't let it turn into "we need X by Y!" When Y comes, if X is done, it will be a nightmare to administrate. If you need more time to meet a deadline, take more time or drop features. I can't stand deadline code! (Maybe that's why I work with a partner instead of for a company that imposes arbitrary deadlines because they made promises that can't be kept.) People need to understand that code is one part art, it comes to you in the strangest times in the strangest ways, and code is one part architect, if you rush it the end result will be an expensive POS that isn't worth the paper to print it on.
If you want a project to get done quicker, the only sure way is to have a good modular design.
While funny comments (I used a variable once that was only for deciding whether a csv returned by small webpage was mime'd to excel or text that I called "TransmoduficationFactor" for lack of a better name at the time. (for those of you who've played Redneck Rampage)) are distracting, sometimes it's better to break the tension of coding with the sparce comic comment to improve moral. (I'm not saying your project should be stand-up material.) Also, if your coder-buddies see something like that, they may begin to find you less intimidating and actually talk to you when they are having problems instead of sitting depressed staring into their CRT's getting eye-cancer. Or worse, the begin using the evolutionary programming model ("That didn't work, lets try this. That didn't work, lets try both at the same time. That didn't work, lets add 50 more lines that don't do anything except use synergey to produce the correct result 99% of the time." The greater that % is without being 100 the worse it is because you are less likely to catch it in testing. I learned this one in File Structures class. I turned in 2 pages consistantly. The other students' projects where 5-50 pgs).
Just thought I would add my comments from my little experience in to this wonderful thread.:)
Re:Installation, bugs, first impressions
on
Eclipse 2.0 Released
·
· Score: 3, Interesting
Just a few things you said aren't exactly true, however, I made the same mistakes myself a few months ago.
The 54 megabyte version is the SDK comes with all the stuff to write your own eclipse plugin. The 20MB version labeled "Executable Binary" is sufficient for anyone who wants to use eclipse. After I found this and banged my head into the wall for not reading the page, I was happier with Eclipse.
The speed is less in SWT as you would think. Swing really isn't that slow. SWT is faster than swing, but not by the leaps and bounds that Eclipse is faster than NetBeans or jEdit. The deal is Eclipse doesn't come with 30 plugins. NetBeans has more plugins (and loads everyone at startup) than any project on Earth will ever use. From FTP support to J2EE server integration. It's a tremendous pain. jEdit lets you configure the plugins that you want. I love jEdit's XML editing (about par with Emacs). Someone should write in XML editing support for Eclipse. Thats my biggest beef with Eclipse.
I thought SWT was cool and I was going to do my current project in SWT. My mind was changed by the potential of Swing. LNF (look and feel) configuration is awesome! I wrote a little class to allow the look and feel to be configured by system properties (which I always load from a configuration file). So, by changing a few entries in a (uncannily similar to samba.. property = value) configuration file, you can make the program look and feel different. In the end, there will be a configuration program to allow the user to test all the LNF's. I envision that this small amount of effort on my part will let the user choose an interface that is a little more comfortable for them. In the very least, they will have a more asthetically pleasing resource, and that means a lot to end users. (Think about the time you spend customizing and picking themes for your Linux desktop!)
Anyhow, in the end, I heard that the benchmarks showed that there really wasn't as big of a difference in speed as there was made out to be.
Want to simulate SWT in Swing?
Type this in main()
UIManager.setLookAndFeel(UIManager.getSystemLookAn dFeelClassName());
but it will look like motif and not gtk under linux.
Keep in mind that it really doesn't matter if the controls are drawn by Java or the OS, they still have to be drawn and Java2 1.4 isn't stupid such that it doesn't user the available hardware acceleration routines available from the OS. Theoretically, it doesn't matter who draws them if they are both drawn the same way:).
I have shown two programs to friends that have hated Java since it was born. They couldn't tell that Eclipse was written in Java. They couldn't tell that arkanae(.tuxfamily.org) was written in java. Neither are slow except for loading, but so are all other IDE's and 3D games.
The optimizations that you point out are just as valid for Java and are more of an arguement that Java can be optimized for each CPU that it runs on despite the fact that it is cross platform. Not only has it got faster, but it has the potential to be much faster yet. Consider the power of being able to dynamically determine if a function should be internal or not based on statistical information. C certainly doesn't have that ability. This makes it quite possible for Java to surpass C in performance based upon the very fact that it is dynamically compiled.
I was told that the phones that will run java would have a different processor designed for that purpose. In that case it wouldn't really hurt battery life that much would it? You're right about Symbian, but even they know that Java is a big market and have a VM for it.
Sure you can't run desktop apps on a pda, but you sure can run a java pda app on any pda without having to port it to all the various processors.
There are plenty of people that call C a glorified assembler, but that doesn't make it all bad. Java is a bit more than a scripting language. Scripting languages are notably procedural. That's the true meaning of "script". It's a procedure to be carried out. Java is more like a system of interacting components.
The debate that you refer to is that programmers can no longer generate assembler as good as they once could. I know of this one crazy guy who optimized his program to the rotational speed of the disk drive. There were 0 IO waits in his program and I gaurantee you it ran at least twice as fast as any C program could:) The real point I guess I'm trying to make is that you would have to know what kind of hardware you were on at compile time to get the most performance. Java only moves compilation to the client machine. Javac is nothing more than a source code obfiscator. In the end there will be a VM that can handle garbage collection better than the C programmer can handle memory leaks, segmentation faults, and buffer overflows. What am I talking about? That day has already come. Every other day someone screws up a buffer and my system is in a constant state of vulnerability. Why fix the problem in every location that it's broke? Why not just fix it in one place forever? If not Java, some virtual machine will eventually prevail. Given that Java has a head start, it will most likely be the one.
As for GIT/VM sitting in L1/L2. That's only true when the program is running in interpretted mode. This will only last until the program has been completely compiled. During that time (the first few minutes of running the application) the cache misses will be heavy. That's not so bad when you consider that's when cache misses are already heavy from not having the program fully in memory.
As for consuming memory... I really don't get it. Most people don't care that Windows consumes about twice as much memory as Linux when deciding which OS to run. What really matters on a client workstation is how quick the program responds to the user. Threading fixed this problem long ago. And java fixed the threading problem.
WebStart was designed so that shared libraries wouldn't need to be redownloaded, programs automatically install, and programs are up to date. If you want a program an your computer that will run when you double click it, take a look at the executable jar format. It's been around for years, and.jar's are associated with javaw -jar (I search down the registry entries to add -client to make my programs start almost instantly). Linux has had this functionality for a long time, and there are a bazillion how-to's.
Correctly written programs in java are almost impossible to distinguish from their counterparts. Take a look at eclipse or open/star office.
Java is prospering in cellphones, pda's, desktop apps, as well as the server. Cellphones and pda's because no two use the same hardware, but it costs more money to rewrite the apps than to just run them. No one knows about the desktop apps they have that were written with java (Limewire gnutella client for one). The main reason java hasn't taken off before is because it had that stigma of being slow. It is less slower than C than C is slower than assembler. That's little to pay for not having to port apps and not having to rewrite code over and over vs reuse of code that is given in the API and your own object oriented code.
I think it's pretty obvious why SUN really wants this lawsuit. MS is going to bundle.Net with Windows and that will be another plus for companies debating which to use. It's the same case as Netscape vs Microsoft, and they'll win if MS doesn't include Java. They only included their own insecure and buggy v1.1.4. I wished they would remove it and force people to get a real jvm.
Just don't go bitching about SUN when the real problem seems to be the programs written in java that you've got. If anyone wants, I'll email them a 10K jar file that will run when you double click it. If you want to create your own, create a text file with Main-Class: a.class(be sure you press enter after the line). type jar -cfm my.jar file_with_main_class_in_it a.class. That's all it takes. Hell, you can include all your libraries in that one file and all will be fine. In fact, I can give you one jar file that you can copy into the deploy directory of jboss, and it will deploy both the website and the ejbs. Then you can take that same file and double click it to run the client side app. Java supports it just fine, but all the apps you've seen are appearantly written by a crackpot that thinks he knows java after compiling his hello world program.
BTW, it's only a 9.3 meg file that you can get from java.sun.com just click the j2se button on the right and get the jre 1.4.0_01:) Compare that to 20M.Net upgrade.
If you want a faster VM, try these free VM's: http://jrockit.com (email verification, but free) http://www-106.ibm.com/developerworks/java/ (but you have to register... click tools and products on the left side and go to IBM Developer Kit)
There are already talks about java running multiple programs in one VM. There are a few programs out there that do it for you, but they aren't there yet. Once this is in place java programs will start instantly after the first one. The reason why java appears to be slow to people is that it takes longer to start than other programs because of the git and vm load. The -client setting skips jit on startup and there is a JSR proposal on it's way for keeping the VM live. Java has come a long way and has had years of testing. It's not going to leave the servers any time soon! Especially now that we have JBoss 3.0 stable with EJB 2.0 support.
Want to see a java app done right? Try limewire.com:)
Re:Moving production to Asia?
on
IBM Spins Down
·
· Score: 2
That would explain why the working man has less money than say Bill Gates. You don't earn wealth, you ride others to it. The hardest working people in America (assembly line workers) make the least (minimum wage). The system is the way it is to try to lessen the hurt of capitalism. Capitalism isn't about giving money to those who come up with ideas, it's about who promotes their product better. Bill Gates didn't come up with anything original on his part. He ripped off someone else and remarketed it. The idea of capitalism is much better than the reality. The man who made DOS wasn't really rewarded for his efforts. Usually, some company squeezes the invovation out of it's employees for only 1% of what the product is worth. Look through the BS and find that wealth is inherited or stole, rarely earned. No man is that much greater than another!
That's what they said about assembler. Assembler was twice as fast as C and still is 10% faster at least. Don't think that just because C is fast that C# is. What does C#'s VM get you? I've yet to see what C# has over C++ except an entire new way to do things that won't really be portable.
Exactly what platform are you running Java on? I really don't think there is a platform that doesn't support some form of Java.
WTF are you talking about expensive JIT? JRockit(jrockit.com) is free for both windows and linux... go get your copy today! Don't complain about things before you read the news:) It's free as in beer as of a few weeks ago. Other than that, there is the IBM JRE that is blazing fast for linux (leads all the specs and can be dld for free from their site) as well as IBM's open source jikes compiler that is the best I've really seen out there. Just go take a look at things. If 10% speed bothers you, get out your assembler book:) You're not going to find a better combination of cross-platform support and performance than Java, and it gets faster every day.
I just really don't like it when people who haven't used Java in the past year knock it. I had the same mentallity, because I hadn't used java since about 5 years ago on my 486 with 16 megs of ram. I couldn't run emacs then, but I do now. Java isn't slow, take the oracle challenge:) hahah
As many times as people post the numbers all over the net, you would think people would get the idea that java isn't slow. I'm not going to bother adding another link to some benchmark showing the progression of java from 24X slower than C to ~1.5x C and continuing to improve. In fact, in some places, it ran faster than C (compared to Intel's compiler).
They wouldn't have to worry about installing and configuring Java if MS didn't hate it so much. Do you really think that a linux user or a mac user is going to be setting up a.NET platform anytime in the foreseeable future? Even if they did, Mac and Solaris are not going to come with the ability to run C# programs out of the box. If you wrote your code in C#, you aren't going to be running it on anything but windows for quite some time. Right now, you can have Java up and running on you system without any problem. I just point people to java.sun.com, and even the least intelligent seam to get it working. Anyone that can download and install winzip, can do the same with java. It's not a big requirement.
Sun recently worked out their differences with the Apache people. Any non-profit organization can now be certified for free as far as I understand. Go check out jakarta.apache.org, it should still be there.
Java is not getting more proprietary! There are several compliant Open Source JSP servers(Tomcat and jetty to name a couple) and at least two open source J2EE platforms (JBoss and Enhydra).
On the other hand you have the FUD claims of MS. They took the Java PetStore tutorial, and used it for a benchmark. Just to be fair, Larry Ellison is probably guilty for doing that to begin with, but no one took his "Oracle Challenge" seriously because it was just silly. Just so you know, Oracle put together a performance enhanced version of the PetStore, and beat MS again, just proving once and for all, it's how you program, not what language you use.
I had a similar opinion to your's a few months back, but after taking a look and testing it myself, I was quite suprised. Java didn't become popular by being slow, difficult, or a licencing hassle. I don't know whether I believed it because I actually thought it was true, or because I was too D***ed lazy to play with it. You'll find it quite interesting if you bother to take a look at what all you can do with it and how fast it really is.
The standard API comes with as much functionality as Perl with every CPAN module available:) I read another post on here that claimed PERL would be the next thing, but I just don't see that happening. Do you really think that Perl is going to be user-friendly to the end user? You can get just about any package you need from CPAN, but you have to install it, and face it, CPAN is not as easy as just grunting as you download the 20M or so that is the JRE.
My point is, Sun is very willing to work with the Open Source community now, much more than MS, and Java is not the beast it used to be. Java also has a large chunk of the mindshare, and MS is not going to steal one single developer from the Java platform until they know that their software can be used by all their clients. If you develop an enterprise application, you will be running it on windows, and you will be paying constant upgrade fees for more users, newer versions of windows, SQL Server, and the.NET Developer Studio. On the Java side of the world, you can get along just fine with JBoss, Linux, Eclipse, and NetBeans/Forte, all for free. I guarantee you when you add up MS licensing fees, !/$ (read: bang per buck) award is going to go to Java every time. That's how they measure it in the Java world... go check out ECPerf over at theserverside.com.
I wasn't aware that it was in hebrew. I should go back and see if he speaks before he makes an atmosphere, because that would be funny:)
BTW, I'm 90% sure that it says that the antichrist has 666 writen on his forhead in revelations. I used to be X-tian, but there are only so many contradictions that you can tolerate. It's not all that devine. Perfect beings don't contradict themselves.
This is only true for some cases of near-sitedness. Most are caused by the eye ball not being round like it should. The submitter's is much much worse in the fact that his lens is not good:) No ammount of compensation by muscles can cure either of those cases. Some people are now developing nearsitedness from reading and computing. These are caused by strain, and may be repairable by those means. I read somewhere once that they have a method of surgery using lasers(it was the discovery channel, all about lasers!) to replace the lens of a human eye with that of a fish. The best advice has already been given though. See lots of qualified people./.ers are techies. They may help find a way to replace your eye with a camera, but they aren't going to give you any good advice except to see many experts:) Not one, not even two, not even three in your hometown, but many. I would try to go to at least one new place, because they are probably more up to date on eyecare. Most old optomitrists seem to be unaware of alternatives much past glasses or contacts. They've been doing their thing for 30 years, and why fix something that isn't broke? (hehe crazy old people... some day I'll have a garage of then, antiquated computers and say "If Nasa can go to the moon with 32K, then why do you have a problem going there with just 256M." But they'll just stare at me and ask, "What's a kilobyte? Is it bigger than a exobyte?")
WHAT? I thought the linux console had a gray background! Maybe that's how those scientists came up with a beige universe. Infinite black averaged with anything finite is always going to be black. They just had the monitor brightness set up too high. Now it's salmon, so I'm assuming they've got there color set to 6500K instead of 9300K that they had it set to before.
I agree with most of your post, but I think there is a way for Quake X to be written in java. Using NMI and OpenGL, I think anyone could get acceptable results considering that my computer spends more time waiting on the video card than the code to execute. However, Sun will probably fix their shoddy, broken implementation to actually work right just for this purpose. Don't let anyone convince you that Java is slow at math! I forsee much better 3D support in Java's very near future. This is the second story in the past week or so about this kind of thing.
Anyone serious about doing OpenGL (which is anyone serious about cross-platform 3D graphics) should visit NeHe Productions. They have examples for C, ASM, Java, C++, and even Python. They use a cross-platform NMI mapping that works on Unix, Windows, and Mac. You'll have to play with them to get them working though (classpath and security settings). Would be cool to set up a Java Webstart for them:)
I was going to try this a year ago, but decided that I didn't really need a darwin award:) You can do it with any glass bowl and anything that burns in any microwave that you feel safe doing it in:) The brown gas you see, NO2, is toxic and is found in cigarette smoke. Be careful, it's arguably the most harmful substance in cigarettes. Not good for the atmosphere either:) I really don't think there is that much in cigarettes, and I would urge anyone foolish enough to do this (like me after a few drinks) to NOT breath the funky air!:)
You have been warned!:) http://www.epa.gov/oar/aqtrnd95/no2.html bad stuff really:) when it dissolves in your lungs, it's likely to make nitric acid, which is like to make your lungs liquid if you breath too much.
Yeah, we do the same thing, but I have IP ranges for different kinds of servers... when one changes, I change IP's of the machines. If it runs both services, it is both web1 and db1; it claims both IPs. I don't know what I would do with 4000 machines though... Hopefully you could segment them into projects or teams as well as function. I'm wastefull with IPs, but I'll be ready for IPv6:)
Then I figured that after they have that much information, they could just read the new code as you send it, thus it would be instantly hacked. Not even that hard on most systems because they have to continually send the new code over and over until all the cards had gotten it (some may be off or disconnected at the time). So, given the old keys and code, there is no secure way to get the new keys and code to the card.
You mean atomic number right? Or was 2 Deutronium?:) Yep... Deutronium is unstable, it crashed again last night. Something about Deutronium's configuration, I guess. Sounds like this guy needs to invent a few elements. He'll even make it to the coveted Unobtainium. (I wouldn't use this one in hopes that I could get that Quantum computer on the net.) I guess I'm odd for giving them a name based on their function (Web1, web2, db1, db2). My CSC dept. names their servers after birds( Eagle, Hawk, Ospre(doesn't help when you can't spell them)). A friend and I built a cluster, and named it chicken. We even printed a picture and put it on the front to make it easily identifiable.
Funny that open source software has problems with release method, isn't it? From the kernel to KDE, any large OSS has release problems. There are larger projects that don't have these problems in the real world. It's a scalability issue. Millions of developers need better coordination through planning and standardizing. Funny how that directly contradicts Linus's logic in the evolutionary programming model. Not only is half the software under-documented, but the code looks like a million monkeys' code as well because fast code and quick fixes are the core of the Linux principal. Sure you can make boat float that way, but it will never be as good as a well designed battleship. Someday, they'll learn that the million monkey aproach just doesn't cut it compared to having set standards of coding style and well thought out, near static API's. I look at XFS code for the kernel, and I see good clean code; whereas, almost anywhere else has scabs and scar tissue from all the duct tape and patches.
I would quote some funny stuff from the kernel, but I'm on a qwerty keyboard and it has frustrated me enough. It's a bottomless bag of humor and pain.
I've seen things like a=b; while(a==b); a=b;
Don't get me wrong, it's better than other OS's with intentional obfiscation, but it can be a lot better, and shouldn't be compared to alternatives by developers. Windows sucks, shoot for the best possible, not the best on the market. I can compare a bowl of oatmeal to windows and give a favorable review for the oatmeal. And oatmeal is just a hearty bowl of self-hatred.
nope... only tricked people into thinking it's an accomplishment. Ask the HAM people why they don't use the roof of their house as an antenna:) Even if it did work, it would transmit harmonics more than the actual signal. That's wasted wattage. They just need better antennas and less wattage, not some crackpot that thinks bigger is better. (really only true for a dish)
Sadly, I think the score is still 0. You'ld think you would have to know something to be a general manager:)
oh great... I was hoping they wouldn't make those silly weapons from Dune. Someone's going to sneeze into a microphone and it's not going to be pretty:)
The upside: Maybe LAN parties won't sound like 20db of static with spurious explosions.
How long until it's used in an assasination with no evidence to convict the culprit?
Thanks for explaining how the human eye works:) hehe Thats like running 32bit textures in 16bit color. If there is an increase in quality, it's so minute that it's not worth changing the production and paying the patent costs. If there is artifacting in the current process, I'm sure its because of poor design or cheep material, etc. I'm sure they don't have a device that can detect the color without a polarizer (or filter as you call it). If they don't, then they are using 3X the number of sensors, thus its really no better than a lot of CCD then is it? Just because manufacturers use pretend resolutions and calculate data to fill it in is the fault of the manufacturer, not the technology. Same number of sensors of CCD is going to give the same quality as this.
hehe... that would make the second computer device to overlap colors. Other than printers, no other computer device nor even the human eye does it. I dare say that this offers very little over a standard CCD. It's funny that it is even mixed in software considering the computer display is just going to seperate it back into RGB again. Even if it didn't, it would offer nothing over CCD with the same number of sensors. Just think about it for a second and you'll see why. It's going to require three sensors per color on their solution. It requires three sensors per color on the current solution. The difference is, it will require much more effort to make thiers than what is already being made. They can't physically put the sensor over another sensor, therefor: they could have just put all the sensors on the bottem layer to begin with. It's an utterly useless invention.
So, what am I goind to do with a camera that can see things better than I can? Human eyes don't detect color and intensity on the same sensor. Is this going to help with telescopic photography? I don't understand:) Even if it made resolution sharper, or cameras smaller, I still don't see a point? Is it going to be used in medical devices? Still, fiber optics work just great. If the theatre has more problems with lighting and projecting than capturing. It won't make digital zoom a good idea.
All arguements of usefullness aside, I could have made that on my desk. Measure intensity at the top. An orange polarizer. Measure intensity again. A red polarizer. Measure intensity yet again. Subtract blue from red from orange to get yellow. Subtract orange from unpolarized to get blue.
Is it really that great of a technology? It's not really innovative. It's not even really useful. Do you really think CCD is the limiting factor of resolution of digital cameras? I'm still betting on memory, processor, and memory bandwidth to get the "shutter speed" down.
Also keep in mind that most of the "steady eddies" are people that know how and understand the fundamentals of programming, but really have specialties elsewhere. My current project only needs two people because of this. I'm a natural coder, he's a natural at making GUI's. I can make GUI's, but it takes me forever. I can crank out 100 files and thousands of lines of codes in a week or so, but it takes me a week to make a damn form that doesn't suck so bad that I wouldn't use it :). The same goes for him. Just like he has to go behind me and clean my GUI up, I have to mop up his wierd cludges from hell.
..." Don't let it turn into "we need X by Y!" When Y comes, if X is done, it will be a nightmare to administrate. If you need more time to meet a deadline, take more time or drop features. I can't stand deadline code! (Maybe that's why I work with a partner instead of for a company that imposes arbitrary deadlines because they made promises that can't be kept.) People need to understand that code is one part art, it comes to you in the strangest times in the strangest ways, and code is one part architect, if you rush it the end result will be an expensive POS that isn't worth the paper to print it on.
:)
The second thought I have is that people generally work better in pairs than alone. The right match of people itself will induce enthusiasm about a project. Just as long as they actually do work instead of play quake all day. A countless number of times in this eternal (several year long project) my co-worker and I have had awesome conversiations about all the cool things we could do to make it better. Every time this occurs, I feel compelled to actually try some out.
Don't forget that seriousness can kill a project just as fast as neglect. Most projects start with "wouldn't it be neat if we could
If you want a project to get done quicker, the only sure way is to have a good modular design.
While funny comments (I used a variable once that was only for deciding whether a csv returned by small webpage was mime'd to excel or text that I called "TransmoduficationFactor" for lack of a better name at the time. (for those of you who've played Redneck Rampage)) are distracting, sometimes it's better to break the tension of coding with the sparce comic comment to improve moral. (I'm not saying your project should be stand-up material.) Also, if your coder-buddies see something like that, they may begin to find you less intimidating and actually talk to you when they are having problems instead of sitting depressed staring into their CRT's getting eye-cancer. Or worse, the begin using the evolutionary programming model ("That didn't work, lets try this. That didn't work, lets try both at the same time. That didn't work, lets add 50 more lines that don't do anything except use synergey to produce the correct result 99% of the time." The greater that % is without being 100 the worse it is because you are less likely to catch it in testing. I learned this one in File Structures class. I turned in 2 pages consistantly. The other students' projects where 5-50 pgs).
Just thought I would add my comments from my little experience in to this wonderful thread.
Just a few things you said aren't exactly true, however, I made the same mistakes myself a few months ago.
.. property = value) configuration file, you can make the program look and feel different. In the end, there will be a configuration program to allow the user to test all the LNF's. I envision that this small amount of effort on my part will let the user choose an interface that is a little more comfortable for them. In the very least, they will have a more asthetically pleasing resource, and that means a lot to end users. (Think about the time you spend customizing and picking themes for your Linux desktop!)
n dFeelClassName());
:).
The 54 megabyte version is the SDK comes with all the stuff to write your own eclipse plugin. The 20MB version labeled "Executable Binary" is sufficient for anyone who wants to use eclipse. After I found this and banged my head into the wall for not reading the page, I was happier with Eclipse.
The speed is less in SWT as you would think. Swing really isn't that slow. SWT is faster than swing, but not by the leaps and bounds that Eclipse is faster than NetBeans or jEdit. The deal is Eclipse doesn't come with 30 plugins. NetBeans has more plugins (and loads everyone at startup) than any project on Earth will ever use. From FTP support to J2EE server integration. It's a tremendous pain. jEdit lets you configure the plugins that you want. I love jEdit's XML editing (about par with Emacs). Someone should write in XML editing support for Eclipse. Thats my biggest beef with Eclipse.
I thought SWT was cool and I was going to do my current project in SWT. My mind was changed by the potential of Swing. LNF (look and feel) configuration is awesome! I wrote a little class to allow the look and feel to be configured by system properties (which I always load from a configuration file). So, by changing a few entries in a (uncannily similar to samba
Anyhow, in the end, I heard that the benchmarks showed that there really wasn't as big of a difference in speed as there was made out to be.
Want to simulate SWT in Swing?
Type this in main()
UIManager.setLookAndFeel(UIManager.getSystemLookA
but it will look like motif and not gtk under linux.
Good links!!!
javootoo.com links to just about every LNF.
a screenshot on javootoo of SkinLF with aquathemepack my favorite!
audiolaf may allow blind users to use your current app without a rewrite!
Some conversation search for SWT to see I'm not the only crackpot that thinks SWT isn't that much faster (anymore).
Keep in mind that it really doesn't matter if the controls are drawn by Java or the OS, they still have to be drawn and Java2 1.4 isn't stupid such that it doesn't user the available hardware acceleration routines available from the OS. Theoretically, it doesn't matter who draws them if they are both drawn the same way
I have shown two programs to friends that have hated Java since it was born. They couldn't tell that Eclipse was written in Java. They couldn't tell that arkanae(.tuxfamily.org) was written in java. Neither are slow except for loading, but so are all other IDE's and 3D games.
:) The real point I guess I'm trying to make is that you would have to know what kind of hardware you were on at compile time to get the most performance. Java only moves compilation to the client machine. Javac is nothing more than a source code obfiscator. In the end there will be a VM that can handle garbage collection better than the C programmer can handle memory leaks, segmentation faults, and buffer overflows. What am I talking about? That day has already come. Every other day someone screws up a buffer and my system is in a constant state of vulnerability. Why fix the problem in every location that it's broke? Why not just fix it in one place forever? If not Java, some virtual machine will eventually prevail. Given that Java has a head start, it will most likely be the one.
The optimizations that you point out are just as valid for Java and are more of an arguement that Java can be optimized for each CPU that it runs on despite the fact that it is cross platform. Not only has it got faster, but it has the potential to be much faster yet. Consider the power of being able to dynamically determine if a function should be internal or not based on statistical information. C certainly doesn't have that ability. This makes it quite possible for Java to surpass C in performance based upon the very fact that it is dynamically compiled.
I was told that the phones that will run java would have a different processor designed for that purpose. In that case it wouldn't really hurt battery life that much would it? You're right about Symbian, but even they know that Java is a big market and have a VM for it.
Sure you can't run desktop apps on a pda, but you sure can run a java pda app on any pda without having to port it to all the various processors.
There are plenty of people that call C a glorified assembler, but that doesn't make it all bad. Java is a bit more than a scripting language. Scripting languages are notably procedural. That's the true meaning of "script". It's a procedure to be carried out. Java is more like a system of interacting components.
The debate that you refer to is that programmers can no longer generate assembler as good as they once could. I know of this one crazy guy who optimized his program to the rotational speed of the disk drive. There were 0 IO waits in his program and I gaurantee you it ran at least twice as fast as any C program could
As for GIT/VM sitting in L1/L2. That's only true when the program is running in interpretted mode. This will only last until the program has been completely compiled. During that time (the first few minutes of running the application) the cache misses will be heavy. That's not so bad when you consider that's when cache misses are already heavy from not having the program fully in memory.
As for consuming memory... I really don't get it. Most people don't care that Windows consumes about twice as much memory as Linux when deciding which OS to run. What really matters on a client workstation is how quick the program responds to the user. Threading fixed this problem long ago. And java fixed the threading problem.
WebStart was designed so that shared libraries wouldn't need to be redownloaded, programs automatically install, and programs are up to date. If you want a program an your computer that will run when you double click it, take a look at the executable jar format. It's been around for years, and .jar's are associated with javaw -jar (I search down the registry entries to add -client to make my programs start almost instantly). Linux has had this functionality for a long time, and there are a bazillion how-to's.
.Net with Windows and that will be another plus for companies debating which to use. It's the same case as Netscape vs Microsoft, and they'll win if MS doesn't include Java. They only included their own insecure and buggy v1.1.4. I wished they would remove it and force people to get a real jvm.
:) Compare that to 20M .Net upgrade.
:/ (but you have to register... click tools and products on the left side and go to IBM Developer Kit)
:)
Correctly written programs in java are almost impossible to distinguish from their counterparts. Take a look at eclipse or open/star office.
Java is prospering in cellphones, pda's, desktop apps, as well as the server. Cellphones and pda's because no two use the same hardware, but it costs more money to rewrite the apps than to just run them. No one knows about the desktop apps they have that were written with java (Limewire gnutella client for one). The main reason java hasn't taken off before is because it had that stigma of being slow. It is less slower than C than C is slower than assembler. That's little to pay for not having to port apps and not having to rewrite code over and over vs reuse of code that is given in the API and your own object oriented code.
I think it's pretty obvious why SUN really wants this lawsuit. MS is going to bundle
Just don't go bitching about SUN when the real problem seems to be the programs written in java that you've got. If anyone wants, I'll email them a 10K jar file that will run when you double click it. If you want to create your own, create a text file with Main-Class: a.class(be sure you press enter after the line). type jar -cfm my.jar file_with_main_class_in_it a.class. That's all it takes. Hell, you can include all your libraries in that one file and all will be fine. In fact, I can give you one jar file that you can copy into the deploy directory of jboss, and it will deploy both the website and the ejbs. Then you can take that same file and double click it to run the client side app. Java supports it just fine, but all the apps you've seen are appearantly written by a crackpot that thinks he knows java after compiling his hello world program.
BTW, it's only a 9.3 meg file that you can get from java.sun.com just click the j2se button on the right and get the jre 1.4.0_01
If you want a faster VM, try these free VM's
http://jrockit.com (email verification, but free)
http://www-106.ibm.com/developerworks/java
There are already talks about java running multiple programs in one VM. There are a few programs out there that do it for you, but they aren't there yet. Once this is in place java programs will start instantly after the first one. The reason why java appears to be slow to people is that it takes longer to start than other programs because of the git and vm load. The -client setting skips jit on startup and there is a JSR proposal on it's way for keeping the VM live. Java has come a long way and has had years of testing. It's not going to leave the servers any time soon! Especially now that we have JBoss 3.0 stable with EJB 2.0 support.
Want to see a java app done right? Try limewire.com
That would explain why the working man has less money than say Bill Gates. You don't earn wealth, you ride others to it. The hardest working people in America (assembly line workers) make the least (minimum wage). The system is the way it is to try to lessen the hurt of capitalism. Capitalism isn't about giving money to those who come up with ideas, it's about who promotes their product better. Bill Gates didn't come up with anything original on his part. He ripped off someone else and remarketed it. The idea of capitalism is much better than the reality. The man who made DOS wasn't really rewarded for his efforts. Usually, some company squeezes the invovation out of it's employees for only 1% of what the product is worth. Look through the BS and find that wealth is inherited or stole, rarely earned. No man is that much greater than another!
Really??? Wouldn't suprise me except that there is a VB.Net which completely alters the VB language to add OOP principals. MS is just wierd sometimes.
That's what they said about assembler. Assembler was twice as fast as C and still is 10% faster at least. Don't think that just because C is fast that C# is. What does C#'s VM get you? I've yet to see what C# has over C++ except an entire new way to do things that won't really be portable.
:) It's free as in beer as of a few weeks ago. Other than that, there is the IBM JRE that is blazing fast for linux (leads all the specs and can be dld for free from their site) as well as IBM's open source jikes compiler that is the best I've really seen out there. Just go take a look at things. If 10% speed bothers you, get out your assembler book :) You're not going to find a better combination of cross-platform support and performance than Java, and it gets faster every day.
:) hahah
Exactly what platform are you running Java on? I really don't think there is a platform that doesn't support some form of Java.
WTF are you talking about expensive JIT? JRockit(jrockit.com) is free for both windows and linux... go get your copy today! Don't complain about things before you read the news
I just really don't like it when people who haven't used Java in the past year knock it. I had the same mentallity, because I hadn't used java since about 5 years ago on my 486 with 16 megs of ram. I couldn't run emacs then, but I do now. Java isn't slow, take the oracle challenge
As many times as people post the numbers all over the net, you would think people would get the idea that java isn't slow. I'm not going to bother adding another link to some benchmark showing the progression of java from 24X slower than C to ~1.5x C and continuing to improve. In fact, in some places, it ran faster than C (compared to Intel's compiler).
.NET platform anytime in the foreseeable future? Even if they did, Mac and Solaris are not going to come with the ability to run C# programs out of the box. If you wrote your code in C#, you aren't going to be running it on anything but windows for quite some time. Right now, you can have Java up and running on you system without any problem. I just point people to java.sun.com, and even the least intelligent seam to get it working. Anyone that can download and install winzip, can do the same with java. It's not a big requirement.
:) I read another post on here that claimed PERL would be the next thing, but I just don't see that happening. Do you really think that Perl is going to be user-friendly to the end user? You can get just about any package you need from CPAN, but you have to install it, and face it, CPAN is not as easy as just grunting as you download the 20M or so that is the JRE.
.NET Developer Studio. On the Java side of the world, you can get along just fine with JBoss, Linux, Eclipse, and NetBeans/Forte, all for free. I guarantee you when you add up MS licensing fees, !/$ (read: bang per buck) award is going to go to Java every time. That's how they measure it in the Java world... go check out ECPerf over at theserverside.com.
They wouldn't have to worry about installing and configuring Java if MS didn't hate it so much. Do you really think that a linux user or a mac user is going to be setting up a
Sun recently worked out their differences with the Apache people. Any non-profit organization can now be certified for free as far as I understand. Go check out jakarta.apache.org, it should still be there.
Java is not getting more proprietary! There are several compliant Open Source JSP servers(Tomcat and jetty to name a couple) and at least two open source J2EE platforms (JBoss and Enhydra).
On the other hand you have the FUD claims of MS. They took the Java PetStore tutorial, and used it for a benchmark. Just to be fair, Larry Ellison is probably guilty for doing that to begin with, but no one took his "Oracle Challenge" seriously because it was just silly. Just so you know, Oracle put together a performance enhanced version of the PetStore, and beat MS again, just proving once and for all, it's how you program, not what language you use.
I had a similar opinion to your's a few months back, but after taking a look and testing it myself, I was quite suprised. Java didn't become popular by being slow, difficult, or a licencing hassle. I don't know whether I believed it because I actually thought it was true, or because I was too D***ed lazy to play with it. You'll find it quite interesting if you bother to take a look at what all you can do with it and how fast it really is.
The standard API comes with as much functionality as Perl with every CPAN module available
My point is, Sun is very willing to work with the Open Source community now, much more than MS, and Java is not the beast it used to be. Java also has a large chunk of the mindshare, and MS is not going to steal one single developer from the Java platform until they know that their software can be used by all their clients. If you develop an enterprise application, you will be running it on windows, and you will be paying constant upgrade fees for more users, newer versions of windows, SQL Server, and the
I wasn't aware that it was in hebrew. I should go back and see if he speaks before he makes an atmosphere, because that would be funny :)
BTW, I'm 90% sure that it says that the antichrist has 666 writen on his forhead in revelations. I used to be X-tian, but there are only so many contradictions that you can tolerate. It's not all that devine. Perfect beings don't contradict themselves.
Actually, that came with the King James translation. Royalty address themselves in plural.
This is only true for some cases of near-sitedness. Most are caused by the eye ball not being round like it should. The submitter's is much much worse in the fact that his lens is not good :) No ammount of compensation by muscles can cure either of those cases. Some people are now developing nearsitedness from reading and computing. These are caused by strain, and may be repairable by those means. I read somewhere once that they have a method of surgery using lasers(it was the discovery channel, all about lasers!) to replace the lens of a human eye with that of a fish. The best advice has already been given though. See lots of qualified people. /.ers are techies. They may help find a way to replace your eye with a camera, but they aren't going to give you any good advice except to see many experts :) Not one, not even two, not even three in your hometown, but many. I would try to go to at least one new place, because they are probably more up to date on eyecare. Most old optomitrists seem to be unaware of alternatives much past glasses or contacts. They've been doing their thing for 30 years, and why fix something that isn't broke? (hehe crazy old people... some day I'll have a garage of then, antiquated computers and say "If Nasa can go to the moon with 32K, then why do you have a problem going there with just 256M." But they'll just stare at me and ask, "What's a kilobyte? Is it bigger than a exobyte?")
WHAT? I thought the linux console had a gray background! Maybe that's how those scientists came up with a beige universe. Infinite black averaged with anything finite is always going to be black. They just had the monitor brightness set up too high. Now it's salmon, so I'm assuming they've got there color set to 6500K instead of 9300K that they had it set to before.
I agree with most of your post, but I think there is a way for Quake X to be written in java. Using NMI and OpenGL, I think anyone could get acceptable results considering that my computer spends more time waiting on the video card than the code to execute. However, Sun will probably fix their shoddy, broken implementation to actually work right just for this purpose. Don't let anyone convince you that Java is slow at math! I forsee much better 3D support in Java's very near future. This is the second story in the past week or so about this kind of thing. :)
Anyone serious about doing OpenGL (which is anyone serious about cross-platform 3D graphics) should visit NeHe Productions. They have examples for C, ASM, Java, C++, and even Python. They use a cross-platform NMI mapping that works on Unix, Windows, and Mac. You'll have to play with them to get them working though (classpath and security settings). Would be cool to set up a Java Webstart for them
yeah... just before you do it, give us your name, so we can link to your darwin award! :)
I was going to try this a year ago, but decided that I didn't really need a darwin award :) You can do it with any glass bowl and anything that burns in any microwave that you feel safe doing it in :) The brown gas you see, NO2, is toxic and is found in cigarette smoke. Be careful, it's arguably the most harmful substance in cigarettes. Not good for the atmosphere either :) I really don't think there is that much in cigarettes, and I would urge anyone foolish enough to do this (like me after a few drinks) to NOT breath the funky air! :)
:) :) when it dissolves in your lungs, it's likely to make nitric acid, which is like to make your lungs liquid if you breath too much.
You have been warned!
http://www.epa.gov/oar/aqtrnd95/no2.html
bad stuff really
Yeah, we do the same thing, but I have IP ranges for different kinds of servers... when one changes, I change IP's of the machines. If it runs both services, it is both web1 and db1; it claims both IPs. I don't know what I would do with 4000 machines though... Hopefully you could segment them into projects or teams as well as function. I'm wastefull with IPs, but I'll be ready for IPv6 :)
Then I figured that after they have that much information, they could just read the new code as you send it, thus it would be instantly hacked. Not even that hard on most systems because they have to continually send the new code over and over until all the cards had gotten it (some may be off or disconnected at the time). So, given the old keys and code, there is no secure way to get the new keys and code to the card.
You mean atomic number right? Or was 2 Deutronium? :) Yep... Deutronium is unstable, it crashed again last night. Something about Deutronium's configuration, I guess. Sounds like this guy needs to invent a few elements. He'll even make it to the coveted Unobtainium. (I wouldn't use this one in hopes that I could get that Quantum computer on the net.) I guess I'm odd for giving them a name based on their function (Web1, web2, db1, db2). My CSC dept. names their servers after birds( Eagle, Hawk, Ospre(doesn't help when you can't spell them)). A friend and I built a cluster, and named it chicken. We even printed a picture and put it on the front to make it easily identifiable.
:)
I like elements though, very clever!
Funny that open source software has problems with release method, isn't it? From the kernel to KDE, any large OSS has release problems. There are larger projects that don't have these problems in the real world. It's a scalability issue. Millions of developers need better coordination through planning and standardizing. Funny how that directly contradicts Linus's logic in the evolutionary programming model. Not only is half the software under-documented, but the code looks like a million monkeys' code as well because fast code and quick fixes are the core of the Linux principal. Sure you can make boat float that way, but it will never be as good as a well designed battleship. Someday, they'll learn that the million monkey aproach just doesn't cut it compared to having set standards of coding style and well thought out, near static API's. I look at XFS code for the kernel, and I see good clean code; whereas, almost anywhere else has scabs and scar tissue from all the duct tape and patches.
I would quote some funny stuff from the kernel, but I'm on a qwerty keyboard and it has frustrated me enough. It's a bottomless bag of humor and pain.
I've seen things like
a=b;
while(a==b);
a=b;
Don't get me wrong, it's better than other OS's with intentional obfiscation, but it can be a lot better, and shouldn't be compared to alternatives by developers. Windows sucks, shoot for the best possible, not the best on the market. I can compare a bowl of oatmeal to windows and give a favorable review for the oatmeal. And oatmeal is just a hearty bowl of self-hatred.
Nothing burns karma like the truth.
nope... only tricked people into thinking it's an accomplishment. Ask the HAM people why they don't use the roof of their house as an antenna :) Even if it did work, it would transmit harmonics more than the actual signal. That's wasted wattage. They just need better antennas and less wattage, not some crackpot that thinks bigger is better. (really only true for a dish)
:)
Sadly, I think the score is still 0. You'ld think you would have to know something to be a general manager
oh great... I was hoping they wouldn't make those silly weapons from Dune. Someone's going to sneeze into a microphone and it's not going to be pretty :)
The upside: Maybe LAN parties won't sound like 20db of static with spurious explosions.
How long until it's used in an assasination with no evidence to convict the culprit?
yeah... but that doesn't explain why this technology is preferable to just more ccd :)
Thanks for explaining how the human eye works :) hehe Thats like running 32bit textures in 16bit color. If there is an increase in quality, it's so minute that it's not worth changing the production and paying the patent costs. If there is artifacting in the current process, I'm sure its because of poor design or cheep material, etc. I'm sure they don't have a device that can detect the color without a polarizer (or filter as you call it). If they don't, then they are using 3X the number of sensors, thus its really no better than a lot of CCD then is it? Just because manufacturers use pretend resolutions and calculate data to fill it in is the fault of the manufacturer, not the technology. Same number of sensors of CCD is going to give the same quality as this.
hehe... that would make the second computer device to overlap colors. Other than printers, no other computer device nor even the human eye does it. I dare say that this offers very little over a standard CCD. It's funny that it is even mixed in software considering the computer display is just going to seperate it back into RGB again. Even if it didn't, it would offer nothing over CCD with the same number of sensors. Just think about it for a second and you'll see why. It's going to require three sensors per color on their solution. It requires three sensors per color on the current solution. The difference is, it will require much more effort to make thiers than what is already being made. They can't physically put the sensor over another sensor, therefor: they could have just put all the sensors on the bottem layer to begin with. It's an utterly useless invention.
So, what am I goind to do with a camera that can see things better than I can? Human eyes don't detect color and intensity on the same sensor. Is this going to help with telescopic photography? I don't understand :) Even if it made resolution sharper, or cameras smaller, I still don't see a point? Is it going to be used in medical devices? Still, fiber optics work just great. If the theatre has more problems with lighting and projecting than capturing. It won't make digital zoom a good idea.
All arguements of usefullness aside, I could have made that on my desk. Measure intensity at the top. An orange polarizer. Measure intensity again. A red polarizer. Measure intensity yet again. Subtract blue from red from orange to get yellow. Subtract orange from unpolarized to get blue.
Is it really that great of a technology? It's not really innovative. It's not even really useful. Do you really think CCD is the limiting factor of resolution of digital cameras? I'm still betting on memory, processor, and memory bandwidth to get the "shutter speed" down.