Default variables (explicit is better than implicit)
Too many %&$.
All the things that make one-liners possible.
Side effects. Assignement in ifs.
if ( $a = func() )
Basically all the things that python doesn't do, or lisp for that matter.
Too many ways to do things is like using big words in an essay. Good code should be like Hemingway, short and sweet and clear.
Knowing lots of languages is good, it also lets you identify which features of a language are better.
There is more than one way to do something, is bad. Compared to other languages perl seems to promote unreadability and thus unmaintainability and thus no value. One-liners are great for nothing.
C is bad enough.
SO yes, learn other languages, learn perl in order to understand what is wrong with it. Break the myth of obfuscated code and pointless optmiziations and complexity.
Of course this is mostly for application programming, OS programming is entirely different.
And NEVER assume that a one-off quick script you write for yourself is not going to be maintained by others.
They listen because there is nothing else. They buy because of scientifically targeted marketing and promotion. And remember, video killed the radio star.
Even specific genres get old. How many classical stations just play Beethoven and Mozart.
Re:What is important in technology?
on
This is IT?
·
· Score: 1
What about those lockers you see at bus stations and such. Just stack the cubes and presto, with credit card payment and other things.
Just saw on CNN last night that in 1997 Ethopia actually INVADED parts of Somalia to attack terrorist training camps there, and they found and killed Arabs terrorists.
Ethopia now claims that members of Somalia's parliaments are allied with or controlled by the same terrorist groups that got their asses kicked back in 1997.
And that is 1 case in how many. Slim chances. Although I understand the military has had some cases of planes just flying off and crashing into things that might be suicide. Some things we will never know due to the correct laws surrounding CVR releases. That is what is holding up cockpit video recording AFIAK, there aren't laws protecting them yet.
First it started with CSPAN, then CSPAN started showing BBC, and I started to know when the British were awake and having breakfast, then CNBC was live from Singapore, Australia, Germany and London. The the House of Commons was live.Someone please make the timezones stop. Why do people have to be awake all the time. Don't the Asians and Europeans know that we need some sleep.
As far as the internet, CNN keeps screwing things up so I started on the yahoo AP and Reuters wires. That's like crack.
I understand that pilots are heavily tested, medically and psychologically on a regular basis. The chance of getting a disturbed commerical pilot in the cockpit is pretty slim I would think.
Unix pipes. How else are you going to get file type metadata if it isn't in-band. That is what the magic number is all about. Pipes, stdin, stdout, etc.
I think this is purely an application level problem and and not a filesystem problem.
It still matters in the gui world too. If we ever develop GUI drag and drop style graphics filters and such, say a webcam output into a filter into something else, that info is still in-band.
How would you represent the file type of a named pipe, or a socket?
I am reminded of the scene in "Contact", where the alien information is formated in 3d dimesions and the comment that multi-dimension representations are more efficient.
The hope is that since we cannot write in 3d easily in real-life, using the computer we can move beyond our current limitations. How many times have you wanted to make a 3d model, but not had any clay, nor any easy way to place things without gravity messing up the order.
Just because we are adapted to 2d, doesn't mean that we cannot adapt to 3d. How would you organize your desk in zero-g. Would you leave things hanging in the air? Would that be more efficient?
Look at digital cameras and scanners and microphones.
Eventually we will be able to make digital cameras that are equivalent to eyes in terms of size and viewing range and all the technical aspects. Then we make microphones small enough to fit in the ear. Then we will have digital storage to record everything we see and hear. Combine this with a wireless link and the entire world can share.
What will copyrights mean then?
You read a book, you are scanning a book, once you read a book anyone can read a book.
You see a movie you record your exact vision and exact sound. Then everyone can see the movie through your eyes and ears.
You hear a music, everyone hears music.
Once technology progresses enough to replicate our actual organs' capabilities, there will be no use for copyright. You will be able to replay experiences exactly as you experience them. Others will be able to replay those same experiences.
We are not there yet, but OCR will progress until we can reliably scan books just by photographing or reading them.
Minidisc and mp3 recorders will get smaller and smaller.
Digital camcorders will shrink.
We will probably not achieve perfection of the replication or sights and sounds, but at what level of quality will it not matter. The audio-philes will still be upset, the video-philes will never be pleased, but most of humanity will be able to share everything they experience at a sufficently advanced level of quality.
What then? There is no copyright, unless you ban all recording of anything. This might be possible, but is it ethical to assume that something you can see and hear you can't record? Why? You are already experiencing it, are you not allowed to have memories? Or is it only ethical to have bad memories.
What about hearing aids, or vision aids for people will impared sight? Are those illegal. Can they be modified to record?
What does this mean now. Can I carry a digital camcorder around everywhere I go, watching movies, visiting concerts, probably not. Why not?
We must start thinking about what happens when technology changes all our old assumptions. This is merely the beginning.
Some people are confused about stored procedures. You can write stored procedures in C, C++ and other languages. Oracle also supports stored procedures in Java, it even has its own embedded JVM that optimizes everything.
If you are doing lots of updates and such it is easier to do them with stored procedures in the database because the database can cache and optimize and doesn't require the latency and overhead of the network layer.
You also can centralize your business logic this way.
The real quote: ...All free men, wherever they may live, are citizens of Berlin, and, therefore, as a free man, I take pride in the words "Ich bin ein Berliner." -John F. Kennedy
Problems with perl.
Default variables (explicit is better than implicit)
Too many %&$.
All the things that make one-liners possible.
Side effects. Assignement in ifs.
if ( $a = func() )
Basically all the things that python doesn't do, or lisp for that matter.
Too many ways to do things is like using big words in an essay. Good code should be like Hemingway, short and sweet and clear.
Knowing lots of languages is good, it also lets you identify which features of a language are better.
There is more than one way to do something, is bad. Compared to other languages perl seems to promote unreadability and thus unmaintainability and thus no value. One-liners are great for nothing.
C is bad enough.
SO yes, learn other languages, learn perl in order to understand what is wrong with it. Break the myth of obfuscated code and pointless optmiziations and complexity.
Of course this is mostly for application programming, OS programming is entirely different.
And NEVER assume that a one-off quick script you write for yourself is not going to be maintained by others.
Oh please. Not the "mp3 sounds bad," arguement.
Either shut up and buy your gold speaker cables or learn how to encode mp3s with quality.
Cable TV generates new unique content.
Radio just plays music that is available elsewhere.
Sports and news are exceptions. About the only thing created just for radio uniquely is talk.
Cart before the horse.
They listen because there is nothing else. They buy because of scientifically targeted marketing and promotion. And remember, video killed the radio star.
Even specific genres get old. How many classical stations just play Beethoven and Mozart.
What about those lockers you see at bus stations and such. Just stack the cubes and presto, with credit card payment and other things.
Just saw on CNN last night that in 1997 Ethopia actually INVADED parts of Somalia to attack terrorist training camps there, and they found and killed Arabs terrorists.
Ethopia now claims that members of Somalia's parliaments are allied with or controlled by the same terrorist groups that got their asses kicked back in 1997.
Striving for perfection locally is like the hill-climbing problem. You get stuck at relative maximums of perfection and forget the absolute goal.
There is no right-way, there is only the current-way, the way always changes.
He probably just hit M-x accidentally-remove-copyright-header in emacs.
Happens to me all the time. Or was it diff --remove-copyright-header.
And that is 1 case in how many. Slim chances. Although I understand the military has had some cases of planes just flying off and crashing into things that might be suicide. Some things we will never know due to the correct laws surrounding CVR releases. That is what is holding up cockpit video recording AFIAK, there aren't laws protecting them yet.
First it started with CSPAN, then CSPAN started showing BBC, and I started to know when the British were awake and having breakfast, then CNBC was live from Singapore, Australia, Germany and London. The the House of Commons was live.Someone please make the timezones stop. Why do people have to be awake all the time. Don't the Asians and Europeans know that we need some sleep.
As far as the internet, CNN keeps screwing things up so I started on the yahoo AP and Reuters wires. That's like crack.
I understand that pilots are heavily tested, medically and psychologically on a regular basis. The chance of getting a disturbed commerical pilot in the cockpit is pretty slim I would think.
It's about the "everything is a file" concept. File semantics should be independent from the file system, because of networking and other things.
Unix pipes. How else are you going to get file type metadata if it isn't in-band. That is what the magic number is all about. Pipes, stdin, stdout, etc.
I think this is purely an application level problem and and not a filesystem problem.
It still matters in the gui world too. If we ever develop GUI drag and drop style graphics filters and such, say a webcam output into a filter into something else, that info is still in-band.
How would you represent the file type of a named pipe, or a socket?
Damn fine newspaper actually.
Work stoppage.... It's called READING SLASHDOT.
Damn. I followed the exact same path, except starting from Yggdrassil.
Once robots pass the turing test we will pretty much have to give them full rights.
There is theory and then there is pragmatism. If it walks like a duck...
I am reminded of the scene in "Contact", where the alien information is formated in 3d dimesions and the comment that multi-dimension representations are more efficient.
The hope is that since we cannot write in 3d easily in real-life, using the computer we can move beyond our current limitations. How many times have you wanted to make a 3d model, but not had any clay, nor any easy way to place things without gravity messing up the order.
Just because we are adapted to 2d, doesn't mean that we cannot adapt to 3d. How would you organize your desk in zero-g. Would you leave things hanging in the air? Would that be more efficient?
http://whiterose.sourceforge.net /index.php?page=page
Eventually we will be able to make digital cameras that are equivalent to eyes in terms of size and viewing range and all the technical aspects. Then we make microphones small enough to fit in the ear. Then we will have digital storage to record everything we see and hear. Combine this with a wireless link and the entire world can share.
What will copyrights mean then?
You read a book, you are scanning a book, once you read a book anyone can read a book.
You see a movie you record your exact vision and exact sound. Then everyone can see the movie through your eyes and ears.
You hear a music, everyone hears music.
Once technology progresses enough to replicate our actual organs' capabilities, there will be no use for copyright. You will be able to replay experiences exactly as you experience them. Others will be able to replay those same experiences.
We are not there yet, but OCR will progress until we can reliably scan books just by photographing or reading them.
Minidisc and mp3 recorders will get smaller and smaller.
Digital camcorders will shrink.
We will probably not achieve perfection of the replication or sights and sounds, but at what level of quality will it not matter. The audio-philes will still be upset, the video-philes will never be pleased, but most of humanity will be able to share everything they experience at a sufficently advanced level of quality.
What then? There is no copyright, unless you ban all recording of anything. This might be possible, but is it ethical to assume that something you can see and hear you can't record? Why? You are already experiencing it, are you not allowed to have memories? Or is it only ethical to have bad memories.
What about hearing aids, or vision aids for people will impared sight? Are those illegal. Can they be modified to record?
What does this mean now. Can I carry a digital camcorder around everywhere I go, watching movies, visiting concerts, probably not. Why not?
We must start thinking about what happens when technology changes all our old assumptions. This is merely the beginning.
The Rape of Nanking.
Some people are confused about stored procedures. You can write stored procedures in C, C++ and other languages. Oracle also supports stored procedures in Java, it even has its own embedded JVM that optimizes everything.
If you are doing lots of updates and such it is easier to do them with stored procedures in the database because the database can cache and optimize and doesn't require the latency and overhead of the network layer.
You also can centralize your business logic this way.
Sorry I didn't make myself clear.
The phrase "Ich bin ein Berliner," was not incorrect. He used that phrase twice in the speach.
The Berliners where not laughing at him.
This is an urban legend to some degree and should be debunked when possible.
http://www.serve.com/shea/germusa/jfkbe rl.htm
I am a moron
...All free men, wherever they may live, are citizens of Berlin, and, therefore, as a free man, I take pride in the words "Ich bin ein Berliner."
You after reading this following link about what he really said.
http://www.serve.com/shea/germusa/jfkbe rl.htm
The real quote:
-John F. Kennedy