I am building a large Java Web application. A page hits runs thousands of lines of code (parameter extraction/conditioning, input validation, session control, database SQL generation/ access, etc). And still (on a 2GHz machine, 2G RAM) the execution time (from intitial servlet entry to final JSP generation) is below 1 millisecond.
as unrealistic as the electric company charging you per piece of toast, or load of laundry that you wash
Oh? Do you pay a flat rate for your electricity, or do you pay by kilowatts used?
So if you do make a slice of toast, then you use some kilowatts, and you ARE paying per slice of toast. Ditto for laundry and every other electronic device in your houase.
I am current in Java, *ML, JavaScript, Visual Basic
Not all computer languages, but hey, markup languages also have syntax and quirks.
As for all the (probably hundreds) of choices, each was created for some reason or other (heck I created my own interpreted language). Most of them are fringe, but the main stream ones were carefully designed (hmmm, maybe not PHP) to be the next generation.
Each new language builds on the work of others and hopefully does not inherit the bad things. Old ones fall by the waysside. Everyone has their favourite. The more languages you know, the more you can do in any language.
Take for instance Java vs PHP. Both do web pages. If I was creating a small hobby level site, I would probably use PHP with MySQL. But for a large site which must scale, which has hundreds of pages, which must have a common look and feel, it is Java every time with one of the big databases (MSSQL, Oracle, DB/2).
Its the old adage: If all you have is a hammer, everything looks like a nail. I prefer to have a full toolkit.
but there should be 1 language that can handle 95% of the development out there
Too many conflicting requirements. An analogy would be the wide variety of vehicles we have. A transport truck is not an Indy car, yet both move things from point a to point b.
Different languages are also better at certain things. I would REALLY hate to have to build a Web application in assembler, yet writing device drivers in Ruby is just plain impossible.
Languages (and language paradims) do have their strengths and weaknesses, and there are a LOT of different application requirements.
No, no, no, you don't understand. We NEED a single language which is all-encompassing, and is a perfect fit for EVERY situation. Jusst think of the training savings. Just think of the manpower savings. Just think of being able to move programmers around into every project without the need for the learning curve.
. . . .
Yes, I am NOT serious, but this is a mantra for every PHB and book writer. Look! I have The Global Solution(tm)
Seriously, the thought of having each key what it's current action is is intoxicating. Imagine pressing the CTRL key, and having all the key caps show their CTRL-? action.
So the key C would show "COPY" when CTRL is pressed (for a text editor) or "Break" if at the command line.
Elevators used to have heat sensitive pads. You could lightly tap the pad and it would call the elevator. Heck, you coulk=d breath on it and it would trigger.
But....
People WILL get on an elevator during a fire. And of course the heat sensitive pad would trigger from the fire, so you had the situation where (during a fire) the elevator would helpfully take you right to the floor where a fire was raging.
What's really scary is that we are changing the atmosphere
When I was in grade school (back in the 60's) our science class was taught that the Earth behaves like a self-regulating system (think house thermostat). In such a system, the temperature will fluctuate around a base tempurature. He said that in Earth's history there are major swings (ice ages, temperate poles), and that within these major swings there are minor fluctuations. He gave some timlines, but that was many years ago.
He said that we are at the beginning of a minor up swing. This was in the mid 1960's.
Global warming? Yes. are we causing it? In my opinion, no.
being able to have a method that takes a variable amount of arguments is the *definition* of awkward
Amen to that.
And anyway, you can do this in Java by using a Properties object, naming the keys "k0", "k1", "k2", and so on. The called method simply iterates through the keys until it hits a null, which is the end of the variable amount of arguments.
What, if anything, will its citizens be willing to do about these matters?
ha... HA... HAHAHAHAHAHA,
Surely you are joking. The vast majority of "citizens" are politically brain-dead. They only vote on shallow artificial matters such as "looks" and "news clips". Asking the electorate to actually research the policies is futile. And actually electing intelligent, thoughtful, honest politicians, well don't hold your breath.
I still think there should be a "means test" to allow people to vote.
I mean it is just about conceivable that god created the earth 6000 years ago and hid dinosaur bones that look as if they are 200 million years old, to test the faith of people or for whatever reason.
It is worse than that.
The speed of light has been established. Doppler shift is well understood.
We use telescopes and look deeply into space. From the observations we can tell that the light from stars has been travelling towards us for billions of years.
So 6,000 or so years ago, not only did God create bones, he also must have created the entire universe and placed every photon of light in exactly the right place, AND given that photon the right speed, so that we see the sky as we do today.
People have chosen to use MS software and they have chosen to give MS a majority market share. It could be argued that they chose wrong, but they still made the choice.
This is so wrong. People did NOT make a choice. The "choice" was foisted on them by MicroSoft's restrictive licencing rules, which basically said: "You sell a computer, you owe us a licencing fee". So if you bought a computer with OS/2 on it, MS got a Windows licencing fee (and a separate OS/2 imbedded Windows licencing fee, but that is another story). Buy a computer with NO operating system, and MS still got a fee. So hardware sellers did not want to put any other OS on the machine, as it cost them anyway.
This was evetually ruled illegal. But by then the damage had been done.
Then, for a while, MS included Word as a free option. So every new computer had MS Word installed. Hard to compete with "free and already installed". Which is why the European Union wanted a version of Windows without Windows Media player so that other competing formats would have a chance.
Ideally (hah!), you would order a computer much like you order a car. Start with the basic model (engine, wheels, etc), then add the air-conditioner, radio, seat warmers, power windows, each of which is an added cost.
So order a computer, then add your choice of the OS, and apps.
P.S. Yes, I know the car analogy breaks down, but hey, that is why it is an analogy....
Fast Java applications?
Can we NOT put this to rest?
I am building a large Java Web application. A page hits runs thousands of lines of code (parameter extraction/conditioning, input validation, session control, database SQL generation/ access, etc). And still (on a 2GHz machine, 2G RAM) the execution time (from intitial servlet entry to final JSP generation) is below 1 millisecond.
Read the whole post next time
Well, actually I did. The power analogy breaks down because you cannot determine which electron goes where.
Yes, you CAN filter on packet type, so I guess that is where you were going??
have you ever looked at a log from a firewall
Yup. I even sent a message to the ISP about the number of packets coming from within their network. They told me to turn off logging....
you can go back to coding for Windows Vista again
And what makes you think I program for Windows Vista? Eh? Eh?
as unrealistic as the electric company charging you per piece of toast, or load of laundry that you wash
Oh? Do you pay a flat rate for your electricity, or do you pay by kilowatts used?
So if you do make a slice of toast, then you use some kilowatts, and you ARE paying per slice of toast. Ditto for laundry and every other electronic device in your houase.
store the date and time installed, and then keep track of every (milli)second that's past,
Or simply check an Internet time source.
I don't know. I have had training (or self taught) in:
Basic/ GW-Basic
Visual Basic/ VBA/ VBS
REXX
Perl
Fortran
COBOL
Pascal
Assembler
SQL
Java
JavaScript
C
C++
JCL
DOS/WinXP batch commands
WordPerfect PerfectScript
dBase/ FoxPro
PHP
HTML/ XHTML/ DHTML/ CSS
XML/ DTD
I am current in Java, *ML, JavaScript, Visual Basic
Not all computer languages, but hey, markup languages also have syntax and quirks.
As for all the (probably hundreds) of choices, each was created for some reason or other (heck I created my own interpreted language). Most of them are fringe, but the main stream ones were carefully designed (hmmm, maybe not PHP) to be the next generation.
Each new language builds on the work of others and hopefully does not inherit the bad things. Old ones fall by the waysside. Everyone has their favourite. The more languages you know, the more you can do in any language.
Take for instance Java vs PHP. Both do web pages. If I was creating a small hobby level site, I would probably use PHP with MySQL. But for a large site which must scale, which has hundreds of pages, which must have a common look and feel, it is Java every time with one of the big databases (MSSQL, Oracle, DB/2).
Its the old adage: If all you have is a hammer, everything looks like a nail. I prefer to have a full toolkit.
but there should be 1 language that can handle 95% of the development out there
Too many conflicting requirements. An analogy would be the wide variety of vehicles we have. A transport truck is not an Indy car, yet both move things from point a to point b.
Different languages are also better at certain things. I would REALLY hate to have to build a Web application in assembler, yet writing device drivers in Ruby is just plain impossible.
Languages (and language paradims) do have their strengths and weaknesses, and there are a LOT of different application requirements.
Sure, but you do know what an elephant is, don't you?
A mouse designed with government specifications.
No, no, no, you don't understand. We NEED a single language which is all-encompassing, and is a perfect fit for EVERY situation. Jusst think of the training savings. Just think of the manpower savings. Just think of being able to move programmers around into every project without the need for the learning curve.
.
.
.
.
Yes, I am NOT serious, but this is a mantra for every PHB and book writer. Look! I have The Global Solution(tm)
get this thing out for less than $500-$600
Sounds good. Where can I get one?
Seriously, the thought of having each key what it's current action is is intoxicating. Imagine pressing the CTRL key, and having all the key caps show their CTRL-? action.
So the key C would show "COPY" when CTRL is pressed (for a text editor) or "Break" if at the command line.
proprietary extensions
select * from mytable limit 4,10
Never ran into the BarCode font issue
:-(
The Web app must have them. They are printed on every Web page to ID the content.
Which makes it a show-stopper as far as Firfox/Mozilla is concerned
corporate America convinced that IE is "just as good"
Except that IE supports BarCode fonts natively whereas Firefox and SeaMonkey (Mozilla) do not.
Well, that is to say you CAN manipulate Firefox to do this, but it is a real pain, and the Firefox installation directories/files need to be massaged.
but tens of thousands of people doing it could slow a server right down.
Sooo, this would become known as the FireFox effect?
heat sensors
Elevators used to have heat sensitive pads. You could lightly tap the pad and it would call the elevator. Heck, you coulk=d breath on it and it would trigger.
But....
People WILL get on an elevator during a fire. And of course the heat sensitive pad would trigger from the fire, so you had the situation where (during a fire) the elevator would helpfully take you right to the floor where a fire was raging.
No argument there. It is just all the "we done did do it" alarmists.
And even Mars is reported as getting warmer, so it is not limited to Earth.
The point is that they knew about the earth getting warmer (and temperature swings) back then, and had a theory for it.
What's really scary is that we are changing the atmosphere
When I was in grade school (back in the 60's) our science class was taught that the Earth behaves like a self-regulating system (think house thermostat). In such a system, the temperature will fluctuate around a base tempurature. He said that in Earth's history there are major swings (ice ages, temperate poles), and that within these major swings there are minor fluctuations. He gave some timlines, but that was many years ago.
He said that we are at the beginning of a minor up swing. This was in the mid 1960's.
Global warming? Yes. are we causing it? In my opinion, no.
Ok, but do even they understand them?
being able to have a method that takes a variable amount of arguments is the *definition* of awkward
Amen to that.
And anyway, you can do this in Java by using a Properties object, naming the keys "k0", "k1", "k2", and so on. The called method simply iterates through the keys until it hits a null, which is the end of the variable amount of arguments.
What, if anything, will its citizens be willing to do about these matters?
... HA ... HAHAHAHAHAHA,
ha
Surely you are joking. The vast majority of "citizens" are politically brain-dead. They only vote on shallow artificial matters such as "looks" and "news clips". Asking the electorate to actually research the policies is futile. And actually electing intelligent, thoughtful, honest politicians, well don't hold your breath.
I still think there should be a "means test" to allow people to vote.
Don't even bother suggesting a political solution.
Sure, tell that to the companies that are buying up political critters to get laws passed that mainly protect their narrow business interests.
Now there is one site out there that claims the universe is really a very small bubble (slightly larger than the solar system)
:-)
Yes, well.
I guess then that the Voyager mission will bump up against something in a few years.
I mean it is just about conceivable that god created the earth 6000 years ago and hid dinosaur bones that look as if they are 200 million years old, to test the faith of people or for whatever reason.
It is worse than that.
The speed of light has been established. Doppler shift is well understood.
We use telescopes and look deeply into space. From the observations we can tell that the light from stars has been travelling towards us for billions of years.
So 6,000 or so years ago, not only did God create bones, he also must have created the entire universe and placed every photon of light in exactly the right place, AND given that photon the right speed, so that we see the sky as we do today.
Talk about "irreducible complexity"!
Replying to a troll yet....
People have chosen to use MS software and they have chosen to give MS a majority market share. It could be argued that they chose wrong, but they still made the choice.
This is so wrong. People did NOT make a choice. The "choice" was foisted on them by MicroSoft's restrictive licencing rules, which basically said: "You sell a computer, you owe us a licencing fee". So if you bought a computer with OS/2 on it, MS got a Windows licencing fee (and a separate OS/2 imbedded Windows licencing fee, but that is another story). Buy a computer with NO operating system, and MS still got a fee. So hardware sellers did not want to put any other OS on the machine, as it cost them anyway.
This was evetually ruled illegal. But by then the damage had been done.
Then, for a while, MS included Word as a free option. So every new computer had MS Word installed. Hard to compete with "free and already installed". Which is why the European Union wanted a version of Windows without Windows Media player so that other competing formats would have a chance.
Ideally (hah!), you would order a computer much like you order a car. Start with the basic model (engine, wheels, etc), then add the air-conditioner, radio, seat warmers, power windows, each of which is an added cost.
So order a computer, then add your choice of the OS, and apps.
P.S. Yes, I know the car analogy breaks down, but hey, that is why it is an analogy....
Should a piece of software which has been largely untouched since Office97 cost upwards of $400?
If this was really over-priced, then it would not sell at all, and MS would lower the price until it did sell.
Since this is the price, then enough people are buying at that price, so that MS can keep the price there. This is the free market society.