"Now when Jesus heard these things, he said unto him, Yet lackest thou one thing: sell all that thou hast, and distribute unto the poor, and thou shalt have treasure in heaven: and come, follow me." Want to "sell all that thou has" really quickly? Try eBay!
I'm not too good with hardware, so most of the stuff I do is digital. There are some nice microcontroller development boards from places like microcontrollershop.com and futurlec.com with a breadboard area and a serial or USB connection to program the controller.
Again for digital, maybe a grab-bag of ICs, which will mostly be logic gates. I also use a lot of shift registers and 3-to-8 decoders.
For a power supply, I bought a powered breadboard with a 5v supply and a variable supply, I think either from jameco or digikey.
O'Reilly put out a book on embedded programming a few years ago that has some basics for digital interfacing.
>> It was the first platform with a highly complete API set included in the core,
>Python predates Java. When I program in Java, it's always a pain to replicate the functionality I get with Python's default libraries. Python comes with "batteries included."
I think the two packages in Java that really differentiated it were java.sql and java.rmi. It gave you an API to work with numerous databases on numerous platforms. That is still tough to find in other libraries. RMI made it easier to distribute large applications across multiple platforms. I don't see a lot of people doing this with Python & Ruby. Java also came with reasonably good threading support, some minimal support for locking, and some mostly-thread-safe libraries. When Java came out, most of the other languages had libraries for collections, file access, and if your were lucky, network operations.
>> it was the first language with reflection designed into its core, and it was the first language to bring OOP, Virtual Machine, and cross-platform capabilities together into a workable package.
>Python has had compiled bytecode for a long time. And it's also clearly object-oriented.
Python compiles into bytecode, yes. Java has a just-in-time compiler that turns the byte code into native code. Psyco is not as good as the leading JITs.
>Unless you mean the first such language pushed by a *corporation* rather than by *enthusiasts*. Or maybe the first language targeted towards corporations. Some of the largest users of Java these days are companies with large database+web applications, with a lot of business logic. Python and Ruby may be getting more of the smaller projects these days, but it will be some time before they are able to get some of the larger ones.
They don't have complete per-language statistics. I grabbed all the team descriptions and massaged the data a bit to get a complete list. I merged Moscow ML, SML and SML/NJ. There was one entry that listed Scheme as the language. Ironically, the Dylan Hackers appear to be the only team to have used Dylan. I am one of the 21 ocaml people (O Caml, My Caml). My robber screwed up while bribing a cop in the twisted round and didn't get to the playoffs.
These statistics are just for the main implementation language:
There was no requirement to program in a functional programming language. One guy wrote his cop & robber as shell scripts, although it failed in both rounds.
For all the talk about it, I don't think I've ever actually known anyone to do the classic accidental rm -Rf / as root.
Many years ago, I was trying to free up space on a Sparcstation 1. I was trying to clear stuff out of/usr/demo or something similar just off/usr. The directory had several subdirectories starting with . that weren't picked up by the rm -rf *. So, I did rm -rf.* which unfortunately included.. and it started cleaning out/usr. I freed up a bit more space than I intended.
From what I can tell, this Hurd port was using the L4Ka::Pistachio kernel, which is licensed as BSD and not GPL. I am surprised that GNU would go for that.
Having been a part of the ugly TransQuest fiasco, I am pretty familiar with most of this. TransQuest was a joint venture between Delta and NCR, which was owned by AT&T at the time. TQ had an absolutely terrible turnover rate and made a lot of temp agencies rich.
Around the middle of 1996, I think, AT&T divested itself of NCR and Delta ended up making TQ a wholly-owned subsidiary. I left in early 1997, and I think it wasn't more than a year or two before TQ became Delta Technologies and the TQ employees became Delta employees again. As far as I know, Delta still does most of its own IT, I know some of my former co-workers are still there.
Delta does contract some things out, but they are almost always installed and maintained in Atlanta.
Java's collections are just okay. Try the collections in Smalltalk, Ruby or Python if you want to see where Java's could be better. Here's a quick example of one of the cool things in Python:
ages = [ 1, 54, 7, 9, 22, 34, 75, 81 ] kids = [ a for a in ages if a < 13 ] agesquared = [ a*a for a in ages ]
Another one, that I have seen other people here griping about with Java. This is how you read all the lines of a file into an array in Python:
lines = file("somefilename").readlines()
Java's standard library does a lot, but sometimes you have to jump through a lot of hoops. I think Python needs some work on its database API, I think JDBC is still a little better.
Although Paul sounds like he is being a bit elitist to me, I don't think he was trying to say that one programmer is better than another because they choose language X. It's that someone is more likely to be a good coder if they take the time to learn other languages for the sake of learning new ways to do things rather than just to make a quick buck.
As he planted the flag on the moon, Armstrong yelled out "First Post", but was quickly modded-down by mission control.
Although he claimed that he wasn't bitter about being left in the command module, Michael Collins spent his time alone by replacing Neil Armstrong's Tang with Metamucil and reversing the direction on the toilet hose.
During their training, the Apollo 11 astronauts were taught to identify over 1200 varieties of cheese, "just in case..."
Buzz Aldrin's capsule record of 72 zero-G somersaults before puking has never been broker.
Mission Control was commanded to whisper while Buzz Aldrin was hitting a golf ball.
The following conversation occurred during one of the lunar rover expiditions, but was quickly hushed up:
Buzz: Watch it!
Neil: Huh?
Buzz: Right there!
Neil: Where?
*THUMP*
Mission Control: What was that?
Buzz: Neil hit something.
Mission Control: Some form of life?!?
Buzz: Not any more.
Buzz Aldrin stated that his biggest regret was that he 3-putted Mare Imbrium.
I went so far as to redo the whole program in Python, although I'm sure a Python guru would have done it better, also I had to remove some -'s because they triggered the lameness filter. It just feels cleaner than Java or Mono:
from sys import * from re import * from string import *
def Usage():
print """ ------------- %s usage:
\t%s [Input String]
\t[Input String]: An input string that should be tested against \t the prompted expression
------------- """ % (argv[0], argv[0])
if len(argv) < 2:
Usage()
stdin.readline()
exit
input = join(argv[1:], " ")
print 'Enter a regular expression to test the string "%s":' % (input), regex = stdin.readline().strip()
matchstr = "" if not match(regex, input): matchstr = " NOT"
print '"%s DOES%s Match %s"' % (input, matchstr, regex)
GCC (GCJ, actually) does more than this. It can compile Java source code straight to a native executable without ever creating byte codes. Also, it can compile byte codes (.class files and whole JAR files I think) into native code. It can also still compile Java source to byte codes if necessary. Even if you compile to native code, it still includes a byte code engine in case you need to load class files that haven't been compiled to native code.
The 3.4 release of GCJ can compile Eclipse into a standalone executable.
Also, GCJ supports a much nicer native interface called CNI. It only works with GCJ, though.
I was gonna celebrate the answer to the ultimate question of Life, the Universe and Everything on 10/10/10.
"Now when Jesus heard these things, he said unto him, Yet lackest thou one thing: sell all that thou hast, and distribute unto the poor, and thou shalt have treasure in heaven: and come, follow me."
Want to "sell all that thou has" really quickly? Try eBay!
I tried decoding some of those signals. The only thing I got was this really big Mersenne prime.
I assume that it will walk all over its own keyboard now.
Step 1: Hold your leftmost tentacle approximately 4-6 inches from your middle eye.
A multimeter might be a good idea
I'm not too good with hardware, so most of the stuff I do is digital. There are some nice microcontroller development boards from places like microcontrollershop.com and futurlec.com with a breadboard area and a serial or USB connection to program the controller.
Again for digital, maybe a grab-bag of ICs, which will mostly be logic gates. I also use a lot of shift registers and 3-to-8 decoders.
For a power supply, I bought a powered breadboard with a 5v supply and a variable supply, I think either from jameco or digikey.
O'Reilly put out a book on embedded programming a few years ago that has some basics for digital interfacing.
>> It was the first platform with a highly complete API set included in the core,
>Python predates Java. When I program in Java, it's always a pain to replicate the functionality I get with Python's default libraries. Python comes with "batteries included."
I think the two packages in Java that really differentiated it were java.sql and java.rmi. It gave you an API to work with numerous databases on numerous platforms. That is still tough to find in other libraries. RMI made it easier to distribute large applications across multiple platforms. I don't see a lot of people doing this with Python & Ruby. Java also came with reasonably good threading support, some minimal support for locking, and some mostly-thread-safe libraries. When Java came out, most of the other languages had libraries for collections, file access, and if your were lucky, network operations.
>> it was the first language with reflection designed into its core, and it was the first language to bring OOP, Virtual Machine, and cross-platform capabilities together into a workable package.
>Python has had compiled bytecode for a long time. And it's also clearly object-oriented.
Python compiles into bytecode, yes. Java has a just-in-time compiler that turns the byte code into native code. Psyco is not as good as the leading JITs.
>Unless you mean the first such language pushed by a *corporation* rather than by *enthusiasts*.
Or maybe the first language targeted towards corporations. Some of the largest users of Java these days are companies with large database+web applications, with a lot of business logic. Python and Ruby may be getting more of the smaller projects these days, but it will be some time before they are able to get some of the larger ones.
There was no requirement to program in a functional programming language. One guy wrote his cop & robber as shell scripts, although it failed in both rounds.
No, man, he looks just like Peter Boyle as the monster in "Young Frankenstein".
Here he is on stage with Scott McNealy.
I knew we shouldn't have hired Boies Schiller.
Here's Ballmer's secret meeting with Richard Stallman.
The Longhorn Beta doesn't go so well.
I gotta do something about Google!
For all the talk about it, I don't think I've ever actually known anyone to do the classic accidental rm -Rf / as root.
/usr/demo or something similar just off /usr. The directory had several subdirectories starting with . that weren't picked up by the rm -rf *. So, I did rm -rf .* which unfortunately included .. and it started cleaning out /usr. I freed up a bit more space than I intended.
Many years ago, I was trying to free up space on a Sparcstation 1. I was trying to clear stuff out of
Not to be outdone, Microsoft is reportedly working on a way to crash and iPod when Windows crashes.
So does this make (2^25,964,951 - 1) * (2^25,964,950) the largest known perfect number?
From what I can tell, this Hurd port was using the L4Ka::Pistachio kernel, which is licensed as BSD and not GPL. I am surprised that GNU would go for that.
You can find the letter authorizing public release/unlimited distribution of this manual here.
Having been a part of the ugly TransQuest fiasco, I am pretty familiar with most of this. TransQuest was a joint venture between Delta and NCR, which was owned by AT&T at the time. TQ had an absolutely terrible turnover rate and made a lot of temp agencies rich.
Around the middle of 1996, I think, AT&T divested itself of NCR and Delta ended up making TQ a wholly-owned subsidiary. I left in early 1997, and I think it wasn't more than a year or two before TQ became Delta Technologies and the TQ employees became Delta employees again. As far as I know, Delta still does most of its own IT, I know some of my former co-workers are still there.
Delta does contract some things out, but they are almost always installed and maintained in Atlanta.
That would explain the driver's manual that says "The green and red light to be going and stopping when lighted."
Or maybe it was because they wanted it to anagram to POOR CENTS
or, most likely:
** COST PRONE **
.. and in the tradition of C++, this language would be called "ADD ONE TO COBOL"
Java's standard library does a lot, but sometimes you have to jump through a lot of hoops. I think Python needs some work on its database API, I think JDBC is still a little better.Another one, that I have seen other people here griping about with Java. This is how you read all the lines of a file into an array in Python:
Although Paul sounds like he is being a bit elitist to me, I don't think he was trying to say that one programmer is better than another because they choose language X. It's that someone is more likely to be a good coder if they take the time to learn other languages for the sake of learning new ways to do things rather than just to make a quick buck.
Although he claimed that he wasn't bitter about being left in the command module, Michael Collins spent his time alone by replacing Neil Armstrong's Tang with Metamucil and reversing the direction on the toilet hose.
During their training, the Apollo 11 astronauts were taught to identify over 1200 varieties of cheese, "just in case..."
Buzz Aldrin's capsule record of 72 zero-G somersaults before puking has never been broker.
Mission Control was commanded to whisper while Buzz Aldrin was hitting a golf ball.
The following conversation occurred during one of the lunar rover expiditions, but was quickly hushed up:
Buzz Aldrin stated that his biggest regret was that he 3-putted Mare Imbrium.
That headline caused me to shoot coffee out of my nose, you insensitive clods!
The same thing happened to me. The scary thing is, I don't drink coffee.
the GCC supports Java bytecodes
GCC (GCJ, actually) does more than this. It can compile Java source code straight to a native executable without ever creating byte codes. Also, it can compile byte codes (.class files and whole JAR files I think) into native code. It can also still compile Java source to byte codes if necessary. Even if you compile to native code, it still includes a byte code engine in case you need to load class files that haven't been compiled to native code.
The 3.4 release of GCJ can compile Eclipse into a standalone executable.
Also, GCJ supports a much nicer native interface called CNI. It only works with GCJ, though.