Any bank that puts its ATMs on the internet has a moron in charge of IT.
The best way to secure these things is to make sure that the only physical connection from the ATM is to a well secured computer under controlled by the bank.
The above C code can be deciphered simply by reading the code. Sure, it may be difficult because it isn't great code, but it can be done.
On the other hand, if the above were C++ code, it could mean absolutely anything, depending on how operators were overloaded. Somebody could have defined "^" to play the star spangled banner on the system speaker for all you know. In C++, you can never really say for sure what anything means without looking in every single include file.
Canines were deliberately bred like that. No dog is the direct product of nature evolution but rather is the direct product of human breeding programs.
What made it cool is that because it kept compiling, subsequent errors were real errors, unlike today's "modern" compilers that generate one valid error and follow it by 50 worthless crap messages because the compiler was too stupid to keep going.
When I took my first datastructures class, the Prof had just gotten one of the first copies of "cfront", the first implementation of C++. Try doing that when neither the prof nor any of the TAs know the language!
C was first out on the market. When I went to school, Pascal was the teaching language, but C was what all the Unix Vaxen used. So must undergraduates from my school (UCSD in fact) ended up with a better knowledge of C than Pascal. We took an intro to programming course in Pascal and then most of the rest of the classes used C. Part of this is because C++ came out before anyone even thought of an OO version of Pascal, so all the professors who wanted to teach OO had to use C++.
Had there been an Object-Pascal in 1985, it might have been a different story, but Wirth missed the boat on OO with his Pascal successor, Module 2.
It is a teaching language, so the main design goal is to force students to do it right, rather than hacking. Once they learn how to do that, they can the use a profressional language hacks. In other words, first you have to learn the rules, then you have to learn when to break the rules.
I find it unfortunate that Universities usually use "professional" languages like Java or (before that) C++ rather than a language specifically designed to be clear to new programmers. Unfortunately it means that students end up spending more time learning the oddities of the language than on programming in general.
It's like teaching people to drive with semi-tractor trailers.
UCSD Pascal (not the first Pascal, mind you) was such an utterly cool system. It was my first real language. (I knew Applesoft BASIC and assembly, but...) I learned it in 1984 as a sophmore at UCSD.
Way, way ahead of its time. It was an IDE and the code it generated was bytecode, not native code. I love hearing all the Java weenies talk like the Java VM is somehow a "new" concept when P-code was availble for a real language in the early eighties.
I wrote a "conquer the galaxy" game in UCSD Pascal when I was 19. Such fun, dealing with overlays to fit it in the 64k of my Apple ][+. I never sold it, alas, so dreams of become a rich game programmer never panned out.
It's funny...it also had the last IDE I actually liked.
Unfortunately for UCSD, they priced it too high, and Phillipe Kahn came in and stole the PC Pascal market. Of course, the grad students who actually designed and wrote the system never saw a penny.
The range on the IR for most PDAs sucks. My Clie has a range of about six feet, which doesn't cut it as a remote. I hear that some of the modern PDAs have better range.
What I want to do is to create a music server with all of my music connected through a real sound system.
I want to be able to control it from my couch.
iTunes won't work for this...what would really be nice is something like iTunes that ran remotely so that I could control it from my laptop.
Actually, another thing that would be nice is a remote control interface and the ability to run it on a set top box so that I can sit on my couch and select music on my TV screen.
iTunes is nice, but it is hardly the most advanced jukebox conceivable. There's a lot of room for improvement.
According to du my ogg directory, containing 600 CDs ripped at the highest quality setting, is taking 49Gb of space.
That's gonna cost you what...100 bucks?
There are many things a CD rack won't do. Like, say, shuffle your collection. Or let you create playlists off of a large number of CDs. Or start the stereo from an ssh session in another room.
I've been playing all my music off of a harddrive for years. It's hardly impracticle. I used to have a pile of CDs cluttering up my desk. I used to have to worry about CDs getting scratched. I used to have to work to keep the CDs sorted.
You know, normally I pay for my movies. I spent good money on the movies I like..."The Big Lebowski". The entire B5 series. "Bladerunner". A number of others. I've probablygt 40-50 DVDs all told. I also bought the original series on VHS way back when.
I wanted "Star Wars" on DVD. But I don't want the "fixed" crap. I want the "Star Wars" I fell in love with. I'd pay good money for it even though I've already paid Lucas once for the original version on tape and once (to my regret) for the "Special Edition" on DVD.
But Lucas won't sell it to him. So screw 'em. I pulled it off of bittorrent and made my own DVDs of the first three films. I'm not going to pay the bastard for further fucked up versions.
I sat on a jury where there were a number of expert witneses. They charged anywhere from $250/hr to $650/hr. (The opposing lawyer always made sure to bring up the charges.)
If they want to beat Pixar, then they'll need to concentrate on hiring decent writers first, and CGI second.
Well yeah, that is how they do it. Because they are idiots.
Any bank that puts its ATMs on the internet has a moron in charge of IT.
The best way to secure these things is to make sure that the only physical connection from the ATM is to a well secured computer under controlled by the bank.
Yes, but looking at a code snippet, how do you know those are ints?
On the other hand, if the above were C++ code, it could mean absolutely anything, depending on how operators were overloaded. Somebody could have defined "^" to play the star spangled banner on the system speaker for all you know. In C++, you can never really say for sure what anything means without looking in every single include file.
Canines were deliberately bred like that. No dog is the direct product of nature evolution but rather is the direct product of human breeding programs.
Is it just me, or does it seem that most of the posters here have completely missed that this thing plays videos?
That's why you READ the warning messages.
What made it cool is that because it kept compiling, subsequent errors were real errors, unlike today's "modern" compilers that generate one valid error and follow it by 50 worthless crap messages because the compiler was too stupid to keep going.
Teaching using C++ is a crime against humanity (and I say this as a professional C++ coders.) Java is only marginally better.
When I took my first datastructures class, the Prof had just gotten one of the first copies of "cfront", the first implementation of C++. Try doing that when neither the prof nor any of the TAs know the language!
C was first out on the market. When I went to school, Pascal was the teaching language, but C was what all the Unix Vaxen used. So must undergraduates from my school (UCSD in fact) ended up with a better knowledge of C than Pascal. We took an intro to programming course in Pascal and then most of the rest of the classes used C. Part of this is because C++ came out before anyone even thought of an OO version of Pascal, so all the professors who wanted to teach OO had to use C++.
Had there been an Object-Pascal in 1985, it might have been a different story, but Wirth missed the boat on OO with his Pascal successor, Module 2.
It was really amazing what you could do in 64k, wasn't it?
It is a teaching language, so the main design goal is to force students to do it right, rather than hacking. Once they learn how to do that, they can the use a profressional language hacks. In other words, first you have to learn the rules, then you have to learn when to break the rules.
It's like teaching people to drive with semi-tractor trailers.
Way, way ahead of its time. It was an IDE and the code it generated was bytecode, not native code. I love hearing all the Java weenies talk like the Java VM is somehow a "new" concept when P-code was availble for a real language in the early eighties.
I wrote a "conquer the galaxy" game in UCSD Pascal when I was 19. Such fun, dealing with overlays to fit it in the 64k of my Apple ][+. I never sold it, alas, so dreams of become a rich game programmer never panned out.
It's funny...it also had the last IDE I actually liked.
Unfortunately for UCSD, they priced it too high, and Phillipe Kahn came in and stole the PC Pascal market. Of course, the grad students who actually designed and wrote the system never saw a penny.
You bastard...you'll destroy us all!!!!
We're still safe! That program still needs a person to compile its child!
The range on the IR for most PDAs sucks. My Clie has a range of about six feet, which doesn't cut it as a remote. I hear that some of the modern PDAs have better range.
There is one thing iTunes won't do.
What I want to do is to create a music server with all of my music connected through a real sound system.
I want to be able to control it from my couch.
iTunes won't work for this...what would really be nice is something like iTunes that ran remotely so that I could control it from my laptop.
Actually, another thing that would be nice is a remote control interface and the ability to run it on a set top box so that I can sit on my couch and select music on my TV screen.
iTunes is nice, but it is hardly the most advanced jukebox conceivable. There's a lot of room for improvement.
Not enough space?
According to du my ogg directory, containing 600 CDs ripped at the highest quality setting, is taking 49Gb of space.
That's gonna cost you what...100 bucks?
There are many things a CD rack won't do. Like, say, shuffle your collection. Or let you create playlists off of a large number of CDs. Or start the stereo from an ssh session in another room.
I've been playing all my music off of a harddrive for years. It's hardly impracticle. I used to have a pile of CDs cluttering up my desk. I used to have to worry about CDs getting scratched. I used to have to work to keep the CDs sorted.
No longer.
You know, normally I pay for my movies. I spent good money on the movies I like..."The Big Lebowski". The entire B5 series. "Bladerunner". A number of others. I've probablygt 40-50 DVDs all told. I also bought the original series on VHS way back when.
I wanted "Star Wars" on DVD. But I don't want the "fixed" crap. I want the "Star Wars" I fell in love with. I'd pay good money for it even though I've already paid Lucas once for the original version on tape and once (to my regret) for the "Special Edition" on DVD.
But Lucas won't sell it to him. So screw 'em. I pulled it off of bittorrent and made my own DVDs of the first three films. I'm not going to pay the bastard for further fucked up versions.
I sat on a jury where there were a number of expert witneses. They charged anywhere from $250/hr to $650/hr. (The opposing lawyer always made sure to bring up the charges.)
I gather Mr. Taco never realized that in Half-life, soda from the machines gave you a slight health boost.
So THAT'S where the ormans come from!
We're supposed to be punishing people for being convicted not for being arrested.