3rd State of the Perl Onion 60
Geoff Eldridge writes "
Larry Wall has made available a
copy
of his 3rd State of the Perl Onion which he recently delivered.
You will need a basic grounding in molecular chemistry to understand
this year's onion." Larry is (as always) pretty dang wierd. But it is nice to know that the end of cobol is iminent.
Grumble, grumble (Score:1)
I used to think "at least perl is ok as a text processing engine". After doing web pages using it, now I'm not so sure. The wierd syntax with a zillion exceptions keeps trampling me down. And the documentation! Don't get me started on that.
oops (Re:TNT vs Dynamite - Wrong) (Score:1)
nitroglycerine
(Larry Wall's Speeches == Inherently cool) (Score:1)
I started (and continue) as a programmer in order to a:stretch my mind, and b:have a laugh. Larry does both very well.
Larry's language is the one I have found that gives me the best ability to write tight, efficient, outright sexy code, and maybe embed an in-joke in it as well, that I have found in any language.
I'm sorry, the man is a legend.
Does anyone have a mirror for Ted Shieh's paper? (Score:1)
Any ideas on where to find his work?
Um, one *wee* little thing (Score:1)
Anonymous Coward, get it?
Re:but perl isn't used much in chemistry (Score:1)
I run a website for a chemistry learning center and use Perl for just about everything. It's not all chemistry related- much of it is fairly generic, but I've written lots of snippets of Perl to do things like generate Chime images of atomic orbitals.
Eric
Re:gotperl.com (Score:1)
Re:The Genome project uses Perl (Score:1)
Most of the code behind the unravelling of DNA is written in Perl. And they even make it freelly available
Sure, that's the bioperl effort, as well as some related projects. You can even see some of my contributions at bioperl.org [bioperl.org]. However, that's bioinformatics and not chemistry.
I've yet to see Perl used intensively for building chemical compounds, or doing molecular dynamics simulations, or doing substructure searches, or visualizing 3D structures. I have seen Python and Tcl code for those tasks.
To repeat myself, Perl is used a lot in bioinformatics, but rarely in chemistry.
Moderate this up! (nt) (Score:1)
gotperl.com (Score:1)
I concur (Score:2)
This essay is literally off the Wall (Score:1)
You can see the fear in his eyes (Score:1)
Perhaps it's the clean, logical syntax that lets you learn the language in a day. Maybe it's the strong OO features. It could be the easy C integration. Possibly it's JPython, the Java Python interpreter which lets you execute Python in a browser without plugins, with full access to the Java API. Could it be the easy readability which has led to the nickname "Executable Pseudocode", letting even a non-Python programmer understand a Python program with ease? It is all of these things, and much more. Python is a fantastic language and just because Larry says that you can't get a job programming in Python doesn't mean that you shouldn't check it out. http://www.python.org.
COBOL will outlive us all. (Score:1)
Re:I concur (Score:1)
Re:Rid of Cobol, bah! I say. (Score:2)
Inertia. Plain and simple. Our company has a client-server, C++, OO Open System platform billing system which is intended to replace our legacy systems. Guess what? Can't handle the millions of accounts that out mainframe systems can, and it can't keep up with the new features that are being deployed in the existing systems. Sure, in time they'll catch up in scalability and feature set, but it won't be in the next 12 months, I bet.
True, all the new systems are being developed without COBOL. This is for obvious reasons. This doesn't mean that COBOL is going away at the end of next year when the Y2K repair work is finished. It just means that there won't be many *new* projects using COBOL. There will still be like 80% of the existing business DP systems running legacy code that won't be replaced for years to come.
In a perfect world, I would love to be rid of COBOL. I just ain't necessarily so!
Re:gotperl.com (Score:1)
....great white north...sheesh
Re:The speech (Score:1)
Re:but perl isn't used much in chemistry (Score:1)
You might be surprised.
I run a website for a chemistry learning center and use Perl for just about everything.
I don't mean this as a put-down, but that's not really chemistry. How would you load one of your structures and measure, say, a dihedral angle? It is doable in Perl (I've done it) but you'll have to write your own code because no one has distributed a package for doing it.
Compare that to Tcl, where I can name several programs which let you do that, and the same for Python.
Or how about doing some molecular dynamics (MD) on it. I've seen two different Python programs which do MD, but none written in Perl.
I could list a dozen other chemical research related tasks (compute a molecular surface, identify salts in a compound, find the maximum common substructure between two chemicals, parse a SMILES string, read a mol2 file, determine connectivity, and more). I've never seen a Perl program available which can do these, even with extensions written in C/C++. I have seen various of these in both Tcl and Python.
It isn't that Perl cannot be used for these tasks, but I believe strongly that Perl is not very suitable to chemistry work. Although negative proofs are tricky, I use as evidence the relative paucity of Perl package for doing chemistry, compared to other languages.
There are more chemistry programs which implement their own language from scratch than use Perl!
Now, Perl is often used to drive these programs in a rather loose fashion, and glue them with other systems, as you have done with your site, but this is not the same as doing chemistry with Perl.
P.S. I didn't know that Chime could do atomic orbitals; RasMol, from which it is based, cannot, and I don't see anything at mdli.com or the umass site describing the feature or even suggesting it. Do you mean VdW spheres, or if not, could you point me to a description of it? Thanks!
Re:Python is good, but the documentation is poor (Score:1)
b) Python has performance similar to Perl. If you are having trouble with performance in Python, it is very easy to profile the program and rewrite a couple of functions in C for speed. If Perl is running faster than your C, you must be using bad string libraries or something.
c) Also, I've not seen much Monty Python stuff except for the name of course, but it doesn't really bother me either.
Re:Grumble, grumble (Score:1)
Re:You can see the fear in his eyes (Score:1)
Re:gotperl.com (Score:1)
*snort*
Re:gotperl.com (Score:1)
Re:Rid of Cobol (Score:1)
TNT vs Dynamite (Score:1)
I think Larry Wall made a slight chemical mistake there. I quote:
That's TNT, trinitrotoluene, frequently confused with dynamite. But it takes a detonator to get TNT to explode. You can take pure TNT and hit it with a hammer, and nothing will happen. Don't try this with dynamite. It will ruin your day, if not your hammer.Dynamite is TNT soaked into a special kind of clay (I cant spell the name, it sounds german like "keiselghur" or something), TNT itself is very unstable.
Re:Grumble, grumble (Score:1)
"I want to use software that doesn't suck." - ESR
"All software that isn't free sucks." - RMS
Mirror, Cmdr? (Score:4)
--sledge
There's a reason... (Score:1)
I'd be interested in seeing how well that statistic holds after the current Y2K panic has passed.
Slashdotted... (Score:5)
You bastards!
Not quite (Score:2)
As Aaaaaaanold said in the movie Conan: The Destroyer... "Lot on your knife!"
COBOL isn't going anywhere, especially with the advent of e-commerce. Did you know that there was more NEW lines of COBOL written than any other language except C++ and the difference between those two was something like 2%? Did you know that the COBOL language has been continually updated and modernized such that it is as modern a language as nearly any other? Did you know COBOL can do OOP?
Ok, it's been years since I've done any COBOL coding and I do most of my current stuff with perl but I still have to defend a very good language from the uninformed assaults against it. COBOL really gets a bad rap.
---
"Who pill da cubby custar?"
Wierd Larry YankoWall (Score:1)
Fun, but certainly weird. Almost like he said to himself -- "Let's see. They want an hour talk on perl. How far off topic will they let me get away with? Hmm -- I have this cool program to display molecules -- how can I relate organic chemistry to perl?" It would almost make one believe that Larry Wall and Weird Al are one and the same -- or perhaps a pair of (evil?) twins.
Which is certainly ok, because I'm weird enough to seek out Al's (music?) and Larry's writings.
Jim
Re:Larry Rocks (Score:1)
Imminent demise of COBOL (Score:1)
but perl isn't used much in chemistry (Score:1)
Most of the programs either have their own language or embed Tcl. There is a RasMol variant - which Larry Wall used to make the images -- which uses Tcl. Cerius2 (a commercial package) uses Tcl. CACTVS uses Tcl for small molecule chemistry, as does VMD for molecular visualization (which I also helped write). MMTK uses Python for biomolecular modeling. I've even seen Prolog used for one system!
But never Perl. Perl is used a lot in bioinformatics, but rarely in chemistry.
If you have pointers, please contact me at dalke@acm.org. One of my interests is in how people use very-high level languages for computational chemistry and biology.
Perl (Score:1)
It's one of those languages that when you start, it looks REALLY syntactically clumsy, but after a while, you realize Perl is governed by a few simple conventions. They only break habit a few times. (WTF don't filehandles have little jibs in front of them, like $scalar, @array, etc?)
I've been writing in Perl for a while, and after a while you realize how much work Larry has gone though so the rest of us bums can be lazy. Perl didn't happen by accident, folks, it was DESIGNED that way.
Usually, most people that hate Perl call it, 'ugly' or 'gross'. They just haven't learned to realize the simplicity within the language.
-VaxGeek
Lies, Damn Lies, and Statistics (Score:1)
I personally don't think that is the single, definitive source for determining the future of Programming Languages. Not to mention - it shows a very slight decline on the number of job posting in Cobol. It's not valid to say - because the deman is declining it is going to zero...
I used COBOL for a long time - I know it very well. While I have little desire to do any more Cobol programming or maintenance in my life (althought I probably will)there is definitely a place for it and it's not going away.
Good programmers know about "the right tool for the job". Most bad programmers I know are ones who only know one language and think that is the best solution for every problem...
Dan
Re:Rid of Cobol (Score:1)
Well, it's really a matter of perspective. Perl kicks some SERIOUS ass for the things I use it for - system maintainence scripts (I was writing things in BASH for a few months until I tried Perl), CGI [i have yet to find a better suited language for this],and various other sundry tasks that I won't list.
To each his own. For what it does Perl is a kickass language.
But then again, BASIC kicked ass in it's day too.
Doesn't mean it's any good NOW =)
I know alot of COBOL programmers - the College i started out at had a CS program specifically geared towards "legacy application suppport". They trained the students in dated langauges like FORTRAN and COBOL - most of them left the school for $60k+ per annum jobs with companies like State Farm Insurance, supporting their ancient COBOL programs. So COBOL is still a very active language but I really haven't seen any "apps from scratch" applications of it other than in academia.
Just my $35.Thoughts? comments? flames (ok i can do without the flames) ?
-brendan
The Genome project uses Perl (Score:1)
Chris Wareham
Re:Wierd Larry YankoWall (Score:1)
> programming language I have seen recently.
You must not be a member of ACM's SIGPLAN. The weirdest programming language essay I've read was in Volume 33, number 12 of SIGPLAN Notices. An essay therein, "Evolution of the High Level Programming Languages", by Masud Ahmad Malik of Amman, Jordan, derided Ada as being bad for mission critical situations (precisely the domain for which Ada is well-suited). The essay was revealed in Volume 34, number 2 of Notices to be not just innacurate and fourteen years out-of-date, but also plagiarized! It prompted (relatively) angry letters from Ada advocates and an apology by the editors. *That* was a fucked-up comparative programming language essay.
Mirror here. (Score:3)
Python is good, but the documentation is poor (Score:1)
In fact, I still haven't worked out why some of my Perl code is still faster than my carefully crafted C programs that do the same thing. Maybe it's the masses of resources that the Perl interpreter chews up that give it an edge
(The Monty Python fixation put me off Python as well
Chris Wareham
Re:There's a reason... (Score:1)
I said NEW lines of code. This does not include any of the maintanence work being done on Y2K. This is only for brand new, never before seen projects.
---
"Who pill da cubby custar?"
Re:Larry Rocks (Score:1)
The speech (Score:1)