Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Sure, runs on GNU/Linux (Score 1) 477

COBOL's reputation for being slow has to do with writing the programs, and dates back to its earliest days when code had to be written as SET RIDICULOUSLYLONGVARIABLENAME EQUAL TO 2 PLUS 2. Development time sped up a lot when Gracie was finally convinced that RIDICULOUSLYLONGVARIABLENAME = 2 + 2 would work as well[...]

You mean: ADD 2 TO 2 GIVING RIDICULOUSLYLONGVARIABLENAME
and: CALCULATE RIDICULOUSLYLONGVARIABLENAME = 2 + 2

It gets worse with operations with longer names and other variables:

MULTIPLY WEIGHT-OF-SPARROW BY NUMBER-OF-SPARROWS GIVING TOTAL-WEIGHT

Comment Re:This makes Unix 15 years older than Tetris (Score 1) 254

Unix just turned 40, and Tetris just turned 25. What do they have in common other than closely spaced birthdays? They were both first developed on PDP-11 hardware (Unix on a PDP-11, Tetris on a Russian clone). And they've both been cloned, early and often.

And Lisp is 50 years old. It wasn't developed on a PDP-11, since PDP-11s weren't around then :) It was developed on an IBM 704, but there was a version for PDP-1 developed a little later.

I think you can say the same about cloning, since there are many different dialects of Lisp and many languages have adopted aspects of Lisp.

Comment Re:And to celebrate, it issued the command: (Score 2, Informative) 254

Bah. Your command would fail. You need to escape the splat just like the semicolon:

Not necessarily. It depends on whether there are files/directories in the current directory that start with the string "kids" (and your shell's globbing rules). If there aren't, then everything works find. If there's only one, things might seem to work, but files/directories in subdirectories will not be found (and therefore removed).

find my_lawn -name kids\* | xargs rm -rvf

Which will break if you have spaces or tabs or newlines etc. in your filenames. Use this instead (I hope you have a reasonable version of find and xargs):

find my_lawn -name kids\* -print0 | xargs -0 -r rm -rvf

Comment Re:Maybe Jeff can explain this (Score 1) 139

No, he's not saying that at all. Go read it again.

Basically John the Ripper guesses the password and then you're free to try that password against other machines. Obviously if someone's used that password on the other machines you will get in using that password. That has nothing to do with whether the original password can be retrieved from the hash by reversing the hashing algorithm or "decrypting" the hash to get the original password.

Also, the text that John the Ripper spits out could actually be different from the real password and still work, because every hashing algorithm takes a large (probably infinite) set of things and squeezes them into a finite set of values. i.e. there are guaranteed to be collisions.

Comment Re:A Strategic Solution (Score 1) 237

Although I have been using Ruby and Lisp more the last few years, much of my business is based on Java

You might want to have a look at Clojure

Clojure is a dynamic programming language that targets the Java Virtual Machine. It is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.

Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs.

Slashdot Top Deals

With your bare hands?!?

Working...