Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

tripcode cracker in lisp

Name: Anonymous 2007-09-22 19:11 ID:+btR0ebo

tripcode crackers are pretty easy to write. perhaps all you smug lisp weenies could demonstrate how lisp's superiority by writing a tripcode cracker that can do better than the ~400kcps 4brute-johnbs does on my computer?

Name: Anonymous 2007-09-22 19:18 ID:nKpPMcJD

Write me a tripcode cracker because I'm too stupid.

Is that what you meant?

Name: Anonymous 2007-09-22 19:21 ID:Heaven

>>2
more like "show me that lisp is actually worth learning  by doing something useful with it".
i already have a very fast tripcode cracker that i wrote in c.

Name: Anonymous 2007-09-22 19:21 ID:8UONq1sa

I know I can't do that, so I'll try to weasel my way out.

Is that what you meant?

Name: Anonymous 2007-09-22 19:28 ID:Heaven

C is ofcourse faster than lisp, anyone who disagrees is a fool.
A tripcode cracker is not a trivial or semi-interesting program due to it's brute nature; therefore not worthy written in lisp.

Name: Anonymous 2007-09-22 19:51 ID:Heaven

>>5
it is trivial and bitslice DES is somewhat interesting.

Name: Anonymous 2007-09-22 20:13 ID:Heaven

>>6
Reimplementing and reinventing the wheel sure is interesting.

Name: Anonymous 2007-09-22 20:14 ID:Tm1m7G4r

>>1
You're expecting way too much of a toy language.

Name: Anonymous 2007-09-22 20:16 ID:T87Yv1zT

>>5
C has crypt, Lisp doesn't.. that's why I wrote it in C

Name: Anonymous 2007-09-22 21:25 ID:R1cNhwuW

>>5
An average Lisp programmer using SBCL produces faster programs than an average C programmer. The C programmer is bound by the limitations of his language, and will ultimately concentrate on  the trees and miss the forest, producing a suboptimal algorithm that runs as fast as possible. The Lisp programmer has probably achieved Satori, and will use the best algorithm, which, ran at just a bit slower than C speed (SBCL), will easily outdo the C programmer's crap.

Name: Anonymous 2007-09-22 22:00 ID:Heaven

>>7
is that why we have about 7 million suboptimal implementations of fib in lisp?

>>9
why not write your own crypt in lisp?
or better yet, do bitslice DES in lisp.

Name: Anonymous 2007-09-23 11:45 ID:UXNSpV0Z

LISP FAGS CAN'T DO SHIT!

Name: Anonymous 2007-09-23 12:11 ID:tnAXEAVE

Real Lisp programmers don't have to crack tripcodes, they can instantly calculate the key from looking at a tripcode.  That's one of the powers SICP gives you.

But remember this when reading SICP:  With great power comes great responsibility. (From Spiderman the movie.)

We will not help you crack codes, or use our powers for evil.

Name: Anonymous 2007-10-27 22:05

>>11
optimal fib requires matrix multply, so you want a vector based language, as cool as lisp is

Name: Anonymous 2007-10-27 22:10

fib(n) =

ans_mat = [[1,1][1,1]]^(n-1)

return(ans_mat[0,0])

end

If your matrix multiply is optimized using strassen's algorithm or the like, you just rock the house speeed wizzy.

Name: Anonymous 2007-10-27 22:20

or just use the fib formula

Name: Anonymous 2007-10-27 22:46

>>1
Oh, I'm sure Lisp compilers will totally own the highly optimized C/ASM code you stole from John the Ripper.

Give us something that isn't completely rigged from the start or go away.

Name: Anonymous 2007-10-28 5:45

>>17
gb2/soc/

Name: Anonymous 2009-03-06 7:46

Properties and shared methods   access to members.

Name: Anonymous 2010-01-05 16:07

It's been three years and the Lisp weenies still haven't proven themselves. Another victory for PHP.

Name: Anonymous 2010-01-05 16:21

>>20
Thread necromancy is a war crime.

Name: Anonymous 2010-01-05 16:30

>>21
My other war is a wdr.

Name: Anonymous 2010-01-05 16:58

>>1,20
The problem is trivial enough, but why would I rewrite an already rewrite something that has been done so many times.
The bottleneck of such code would be the DES implementation. A lisper would either use a library with bindings to openssl or similar to get crypt() from it, or reimplement crypt themselves. I doubt reimplementing crypt in Lisp would be faster than the optmized asm version, at best it would match its speed(with enough declarations added). I just looked over the 'bitslice' DES implementations and they would be trivial to implement indeed, however if you truly want speed, you shouldn't stop at just compiling some C or Lisp code to x86 asm, instead you should look into:
1) Parallelization - multiple threads for normal CPUs, or:
2) Hardware implementation: DES can be very efficiently implemented in hardware, much faster than you can do with sequential CPUs.
Besides threading, a poor man's solution of 2 is to use things like CUDA-based DES crackers or build your own using a bunch of FPGAs, or if you are truly rich, build a lot of DES cracker ASICs, then DES will be a joke to you. If needed you may use Lisp in the hardware design process, afaik there are/were some EDA tools which are/were Lisp-based.

If you want a more practical example that makes use of Lisp's speed and power, you should look at CL-PPCRE.

Another victory for PHP.
... Oh, IHBT.

Name: Anonymous 2010-01-05 20:23

>>23
I like that you said that as if implementing DES in assembly is easier than spawning a bunch of processes.

Name: Anonymous 2010-01-05 20:46

my other mario is a mdrio

Name: Anonymous 2010-01-05 20:54

my other AIDS is a DIDS

Name: Anonymous 2010-01-05 22:57

>>26

Don't DID.

DO.

Name: Anonymous 2010-01-06 0:43

>>27
laughingelfman.jpg.base64

Name: Anonymous 2010-01-06 1:18

My other laughingelfman.jpg.base64  is a ldaughingelfmdn.jpg.bdse64

Name: Anonymous 2010-01-06 1:31

My other meme is a mdy-mdy

Name: Anonymous 2010-01-06 9:05

My other anus is a dnus

Name: Anonymous 2010-01-06 11:43

>>29
Is your other caar a cdadr, too?

Name: Anonymous 2010-01-06 12:02

my other cabbage is a cdbbdge

Name: CCNA 2010-01-06 12:09

my other dns is ddns         ;)

Name: Anonymous 2010-01-06 12:29

>>33
My other cabbage is a Babbage :)

Name: Anonymous 2010-01-06 12:33

TripCUDA: close to 1GTrips/sec on a mildly overclocked GTX295.

I doubt you can beat that.

Name: Anonymous 2010-01-06 20:00

This just in!
C is better than Lisp for low-level programming when speed is important!

Name: Anonymous 2010-01-07 0:20

>>37
It's hardly a 'this just in'. Even /prog/, which has an above average number of fp weenies has never really denied that C is still the best low level language we have. It's a shame,really, but it's not changing any time soon.

Name: Anonymous 2010-01-07 0:55

>>38
OR IS IT

Name: Anonymous 2010-01-07 0:58

>>39
I was reading a periodical the other day, which basically compared performances of different languages. C was consistently on top in all but one of the testing criteria.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List