Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kruhft
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
kruhft
10y ago
Good point. This is for data that's not in use.
302.
▲
by
kruhft
10y ago
Here's a quick one if your filesystem supports hard links: #!/bin/ksh typeset -A hashes find . -type f -exec shasum -a 512 {} \; | while read hash filename; do if [[ -z ${hashes[$hash]} ]]
303.
▲
Operator Overloading for Fun and Profit – logic from mathematical expressions
(github.com)
1 points
by
kruhft
10y ago
|
0 comments
304.
▲
by
kruhft
10y ago
This is mean to be a simple and straightforward implementation of the RSA encryption algorithm in Common Lisp. Review would be greatly appreciated. This code does not solve the key exchange problem or do any transport.
305.
▲
Rsa.lisp – An Implementation of the RSA Encryption Algorithm in Common Lisp
(github.com)
2 points
by
kruhft
10y ago
|
1 comments
306.
▲
by
kruhft
10y ago
How appropriate the day after finding the Task Manger in Chrome for the first time yesterday. Finally got my fan to turn off on my laptop.
307.
▲
by
kruhft
10y ago
> blind people are never Schizophrenic That is an interesting observation. Do you have a source?
308.
▲
by
kruhft
10y ago
No, the ability for the machine to not crash or need to be rebooted for long periods of time. Linux has gone completely downhill in this respect for the past few years. Switching to Solaris on my main Unix workstation has been a breath of
309.
▲
by
kruhft
10y ago
Stability.
310.
▲
by
kruhft
10y ago
One of the only reasons I had "The C Programming Language" on my desk when I was a C coder. The only thing I could never remember...
311.
▲
by
kruhft
10y ago
www.telehack.com - classic hacking adventure game.
312.
▲
by
kruhft
10y ago
Common Lisp.
313.
▲
by
kruhft
10y ago
Thank you for sharing your work. I could see some good use out of it.
314.
▲
by
kruhft
10y ago
It's not pretty, but it has a consistency to it that includes a lot of compact information in a digestable manner. It takes no longer to decode what the instructions say, but it saves a lot of time parsing, for the human reader of the
315.
▲
by
kruhft
10y ago
Good point. Haven't seen that example before.
316.
▲
by
kruhft
10y ago
If anybody is interested in some 'current' open source MS-DOS software, I put up my old undergraduate thesis sources from 1997 recently: https://github.com/burtonsamograd/xp32 Te repo has a full DJGPP
317.
▲
by
kruhft
10y ago
car and cdr may not be the best names, but they allowed for composition, like: (caar x) == (car (car x)) (cddar x) == (cdr (cdr (car (x))) Something which you can't do with first and rest. This has (AFAIK) always been one
318.
▲
by
kruhft
10y ago
Unlike NULL (a void* of value 0), nil is an interesting construct in that it's a special cons cell, an element of two pointers, where each cell points to itself. Or that's one way to think of it.
319.
▲
by
kruhft
10y ago
At 256 I think about a minute or so...
320.
▲
by
kruhft
10y ago
D'oh. Can't even read my own code this morning :) Thanks.
321.
▲
by
kruhft
10y ago
To run: Open raytracer.el M-x eval-buffer M-: (ray-test 256) Output will be in a buffer as well as 'image.pbm'.
322.
▲
by
kruhft
10y ago
I get the ACSII part, but what would be the purpose/intent of the 'lazy DAG transformation on eval'?
323.
▲
by
kruhft
10y ago
I've also written a GPU tracer using the same style of calculation, and it just blows anything done on the CPU out of the water. It gets about 10fps with 100 spheres on a mid range Mac Pro.
324.
▲
by
kruhft
10y ago
It's built to test the JIT but shouldn't depend on it. To run: Open raytracer.el M-x eval-buffer M-: (ray-test 256) Output will be in a buffer as well as in 'image.pbm'
325.
▲
Raytracer.el: a raytracer in Emacs Lisp
(github.com)
94 points
by
kruhft
10y ago
|
53 comments
326.
▲
by
kruhft
10y ago
Thank you. I tried to stay as much with the 'grammar' of C but with the syntax of s-expressions. Whatever came out most naturally as a C programmer was what I used in the S-Expr language.
327.
▲
by
kruhft
10y ago
@qwertyuiop924 Shoot me an email, I'd like to talk with you about this project: kruhft@gmail.com.
328.
▲
by
kruhft
10y ago
cmacro is it's own language that doesn't have the power of Common Lisp. Same with magma; to each their own, but I prefer the capabilities of CL over a homegrown macro language.
329.
▲
by
kruhft
10y ago
In the end, that's where it's true power would come from where you use the capabilities of the much higher level language to compile ideas to the lower level language. ALso, this allows for far greater compile time data generation
330.
▲
by
kruhft
10y ago
I just say 'sexy' :) Thanks.
More ›