HNHacker News
TopNewBestAskShowJobs

kruhft

1,034 karma · joined April 7, 2011

Artist, musician, meta-linguist, and Lisp hacker.

Email: kruhft@gmail.com

https://www.github.com/scarlet31.github.io

submissionscomments
kruhft··on Sxc – An s-expression based language source transpiler for C
@qwertyuiop924 Shoot me an email, I'd like to talk with you about this project: kruhft@gmail.com.
kruhft··on Sxc – An s-expression based language source transpiler for C
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.
kruhft··on Sxc – An s-expression based language source transpiler for C
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 for static initialization. Even files can be loaded in to do away with runtime IO, building programs that are closer to self contained 'images' rather than a collection of files.

kruhft··on Sxc – An s-expression based language source transpiler for C
I just say 'sexy' :) Thanks.
kruhft··on Sxc – An s-expression based language source transpiler for C
That's the choice i made, with (if .. (else... )).
kruhft··on The Idea of Lisp
Here's my attempt:

https://github.com/burtonsamograd/typed-cl

kruhft··on Why numbering should start at zero (1982)
Is this whole comment train 'bike shedding'? Like tabs/spaces, brace indent levels and all the others, these arguments and explanations about why one way is better is like watching people run around a tree.
kruhft··on Things You Notice When You Quit the News
How Orwellian.
kruhft··on Emacs-jit: Emacs with an Emacs Lisp JIT compiler
+1 EXWM for a tiling window manager. Very nice setup.
kruhft··on Emacs-jit: Emacs with an Emacs Lisp JIT compiler
> if you are using emacs lisp to do raytracing, then wow.

Just a good, computationally intensive benchmarking task :)

kruhft··on Emacs-jit: Emacs with an Emacs Lisp JIT compiler
As the author of this patch, and someone that's followed the dumping problem as well on the list, and someone that follows emacs development I would say that...no, this is not a portable solution to the problem that would be accepted.

libjit does offer the ability to compile the code to a static vector that can be written to disk but that would then put machine specific code in the output .elc files making them unportable.

Also, at this state with the JIT it's not possible yet to fully compile all of the emacs bytecode; there are still some lurking bugs that need to be squashed that I'll (or someone else) hopefully have time to look into in the future to get this to 100%.

kruhft··on Downside of Lower Manhattan’s Boom: It’s Too Crowded
Get rid of cars in the area? The area is easily walkable for its size. Doesn't Paris do this downtown?
kruhft··on Modern C [pdf]
There you go! Thanks :)
kruhft··on A vi-centric family tree of editors (2000)
An old post I wrote (2006) on a way to improve emacs startup times by loading commonly used packages into your core for instant startup time:

http://web.archive.org/web/20060501032837/http://metashell.b...

kruhft··on Modern C [pdf]
The biggest problem I've seen with assert[1] is putting functioning code inside one and then not knowing why your code no longer works with NDEBUG.

[1] http://en.cppreference.com/w/c/error/assert

kruhft··on Modern C [pdf]
The best book I had for learning more about C was titled 'Writing Bug Free Code For Windows' from the late '90s early 2000's. It contained a complete object oriented system using simple header tricks and data hiding plus covered all sorts of pre-processor tricks that aren't evident until you really dig into what C can really do. I'm sure it's impossible to find now, but recommended.
kruhft··on Learning to Read X86 Assembly Language
Reading assembly language is about having the computer in your head, just like regular programming. You read and execute the instructions just like any other language, just the operations are that much smaller and less abstract. Each instruction is a 'function call'; just like any low level language you leverage abstraction to build up these operations into greater pieces of execution knowledge using macros and functions in logical ways to get the outcome.

It's not magic. The best way to learn assembly is to program in it. I learned on the Gameboy by getting a job and programming 2 games in it. Fun as hell, especially when the machine is small enough to really fit in your head and clock cycles count at 4Mhz.

kruhft··on How to get started with DJing
Vinyl is so heavy that it's a burden, but there's nothing like playing on real decks to teach you the ropes.
kruhft··on Ask HN: What's your dev machine setup?
Home 1: 4k TV with a Macbook Pro 13" running OSX Home 2: 1080p TV with an 8G/8 core Acer running Solaris 11.1 Home 3+: various laptops running as servers with Linux

Work 1: 15" Macbook Pro with a 27" Mac Monitor Work 2: 17"? Dell Laptop with 32G/8 cores

Keeping configurations sane is something that I've been unable to keep track of yet with the variety of OSs I'm running. Mostly I use emacs and pass around a .emacs.d git repository but that still seems to have problems.

Most machines run 'nicely' without too much configuration. Solaris is about as rock solid as they get if you don't mind running 10 year old software...but it screams and with running a simple WM and it's almost too fast and could be considered 'twitchy'.

Keyboards are a combination of builtin on the laptops and Unicomp Model M keyboards.

Throwaway mice.

kruhft··on The Curse of the Modern Office
As am I. I found some expensive hardware solutions that do eye tracking but can't justify the expense to see if they work. Other systems include mounting a dot in the middle of your forehead and moving your head around...impractical for most cases.
kruhft··on Faust – A language for audio applications and plugins
Common Lisp Music has the best piano synth out of any of the music generation packages I've ever used:

http://ccrma.stanford.edu/software/clm/

kruhft··on Music for Programming
kruhft - Listener (2016)

iTunes: https://itunes.apple.com/ca/album/listener/id1127677466

BandCamp: http://kruhft.bandcamp.com/album/listener

kruhft··on WebAssembly Browser Preview
I see a move to (browser?) specific based installer packages and a re-thought static 'cache' mechanism/area to do the preload.

Of course, we move from the beauty of no-install software on the web back to runtime installing but...maybe it would be better?

kruhft··on Portier – An email-based, passwordless authentication service
Auth is built into the browser[1], it's just ugly (popups) and nobody uses it.

[1] HTTP Basic Auth

kruhft··on WebAssembly Browser Preview
Solid tooling and plenty of prior art, tooling and standards that exist for adding debugging info to binaries[1]. I wonder if this could be layered into the WASM binary format in some way.

[1] DWARF2 et al.

kruhft··on WebAssembly Browser Preview
The DOM is nice, it's the CSS I could do without.
kruhft··on WebAssembly Browser Preview
Would not the browsers start 'bundling' for popular languages (python, ruby, Common Lisp ;-) or allow for cache 'preloads' for popular runtimes?
kruhft··on Images of New MacBook Pro with Magic Toolbar Leaked in MacOS Sierra 10.12.1
I like the builtin fingerprint reader if that means I don't have to type my password to login. Love it on the phone, hope it works on the laptop.
kruhft··on Brain training exercises might just make you better at brain training exercises
Kinda like practicing math, just makes you good at math?

/s

kruhft··on GitHub accounts leaked [REMOVED]
None of my 3 accounts in there.
← PreviousPage 10 of 21Next →