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 Hackathon hustlers who make a living from corporate coding contests
There's such a thing as a 'prototype' and generally they are are meant to be thrown away. Software Engineering 101. They're meant to explore problem spaces, not be final solutions.
kruhft··on Ask HN: What are you working on?
A tree structure editor for S-expressions.
kruhft··on Gameboy Advance development by example: Drawing and Moving Rectangles
Unfortunately I am not aware of the modern documentation resources and a quick search shows they're just as scattered as when I was looking them up, possibly more now.

The hard part back then was finding examples generally, but that's also the fun part in that you read all the specs for the machine you can find and let your imagination run wild. Assembly is kind of like that and the machines are small enough that, with enough background knowledge, they can be made to do some pretty interesting things.

Like learning anything, just read the every doc you can find and write code is the best advice to get started :)

kruhft··on How to write Common Lisp in 2017 – an initiation manual
Good advice and similar to the strategy I use at work to use Common Lisp and Parenscript. They are yet to be completely accepted, but I'm working in it.
kruhft··on Gameboy Advance development by example: Drawing and Moving Rectangles
As an ex Gamebody (pre Advanced) developer that got a great job doing professional development after playing around with developing on an open source emulator, I have to say that I got into doing it because it was just great fun.

These machines are small enough to fit in your head when you're developing, and you really learn to get 'down to the metal' when your builtin libraries are memory addresses and ranges. The development is fast and fun.

I totally recommend checking it out and making a couple of games on something like the Gameboy or Gameboy advance. An excellent learning experience.

kruhft··on Ask HN: How do you make money from your side projects?
Sales through the macOS App Store.
kruhft··on How to write Common Lisp in 2017 – an initiation manual
Stability of (most) implementations and solid language standard.
kruhft··on Elon Musk’s Neuralink wants to boost the brain to keep up with AI
There is also Emotiv: www.emotiv.com
kruhft··on The “Emacs Lisp Programming Environment (ELPE)” Now in the MacOS App Store
This post is an announcement to let people know that there is now a stable version of Emacs modified to run in the macOS App Sandbox. It is not labeled as "Emacs" per se due the restrictions the sandbox places on all application, limiting some of the power of the application, so it is being marketed as a "Programming Environment".
kruhft··on The Unreasonable Effectiveness of Mathematics in the Natural Sciences (1960)
Thank you for that great explanation. Very enlightening.
kruhft··on Cross-platform GUI Toolkit Trainwreck, 2016 Edition
For cross platform GUIs I use CAPI[1] from Lispworks, and was one of the main reasons I purchased it after using free Common Lisp implementations for many years. It's a well designed and stable system for building native guis on macOS, Windows, Linux, Solaris and others with a single code base and well worth the price of admission for creating desktop software.

[1] http://www.lispworks.com/products/capi.html

kruhft··on Ask HN: Best books on AI?
Paradigms of Artificial Intelligence Programming (PAIP)

One of the best books on AI and Programming ever.

kruhft··on Gödel and the limits of logic (2006)
Got it years ago and loved it. Have to give it another read some day.
kruhft··on Gödel and the limits of logic (2006)
I highly recommend getting Godel's proof[1] and reading it. It's an amazing journey and quite understandable from the start (the first half of the book is introduction), and I've never been able to read proofs very well. It takes concentration, but once you get it (at '17 GenR') it's almost like a symphony going off. The crystalline brilliance of the "System P" decomposition is worth it just to see how math as a process could be reduced to a such simple, clear and concise set of symbol manipulations...and then the rest shows how that could be used topple itself. Incredibly philosophically insightful.

[1] https://www.amazon.ca/Undecidable-Propositions-Principia-Mat...

kruhft··on Ask HN: Best tiny JavaScript framework?
PX2: https://github.com/burtonsamograd/px2

A better designed version of Backbone with a small footprint.

kruhft··on Hydrogen – An advanced drum machine for Linux
Here's an example of an album I made with ReNoise and it's default sounds/plugin set:

http://kruhft.bandcamp.com/album/macro-2

All of it is mixed, played and recorded'live' with the pre-programmed tracks being mixed using an offboard midi controller.

kruhft··on Hydrogen – An advanced drum machine for Linux
Here's an album I made exclusively with LMMS and it's default setup of sounds and plugins:

https://kruhft.bandcamp.com/album/listener

It's a pretty good piece of software.

kruhft··on Ask HN: What's the one thing that let you grow the most as a developer?
Writing code. Then reading that code, working with it and starting over and writing it again with what you learned.
kruhft··on How to Sell Anything: Aristotle and the Ancient Art of Persuasion
Too bad his example was crap. Using Aristotle to point out seedy sales tactics is fine, but at least give a counter example to the sales course spam.
kruhft··on Ask HN: Would you design a modern CPU with virtual memory support?
You can build memory safety into machine code with the proper processor architecture. See the last reference in the original post.
kruhft··on Cirru – An editor for AST
What I've noticed after using paredit is that I'm doing a lot less paren matching (well none) and a lot more white space clean up, so I think such a function would be very useful to run as a hook on insert char. Since the program is always syntactically correct, it might almost work...

And @sedachv, thanks for Parenscript. It makes Javascript almost...well, now I can work it it :) Much appreciated.

kruhft··on Ask HN: Would you design a modern CPU with virtual memory support?
So the idea is that you take memory and chunk it into regions that can (possibly) overlay each other, each with it's own protection level? Interesting idea.
kruhft··on Cirru – An editor for AST
M-q is useful, but something more useful IMO would be the same feature but one that removes unneeded white space within the sexpr between expressions and keep everything indented. A contrived example:

   (defun   x ()   
   (+ x   x)) => (defun x () 
                     (+ x x))
kruhft··on x86 Paging Tutorial
Relevant: "Ask HN: Would you design a modern CPU with virtual memory support?"

https://news.ycombinator.com/item?id=13775321

kruhft··on Cirru – An editor for AST
Paredit[1] is (almost) from the gods as an AST editor. The only issue I have is that it doesn't automatically reformat your code so it is not only always syntactically correct, but also properly formatted at the same time.

[1] https://www.emacswiki.org/emacs/ParEdit

kruhft··on Show HN: Band Blocks, visual music programming
Ah, it's made with something called Blocky from Google. Very interesting interface paridigm. Thanks for doing something with it as an example.
kruhft··on Show HN: Band Blocks, visual music programming
Tried to make a simple looping note, pressed play and it hung my tab with an 'unresponsive script'. Nice concept UI, but couldn't make any sound.

The idea of the 'puzzle pieces' to show where to slot in components is very interesting though. Maybe, although my pieces stuck together properly, it was syntactically invalid? I would think that with the design such a system would prevent invalid programs from ever happening; quite an achievement IMHO.

Now if only I could get it to make some sound...

kruhft··on The Brilliance of Dwarf Fortress (2011)
Dungeon Keeper was like this as well, except, IIRC where you could cast a spell and go into first person mode with a specific character for some time.
kruhft··on What happened to clockless computer chips?
> synchronous logic design because everything happens in parallel, but it's a set of well-understood building blocks. Whereas asynchronous design is just entirely free of familiar reference points and there isn't quite the same set of standard idioms....Yes, you get rid of setup/hold violations, but you're going to get a whole new class of problems with the addition that "timing closure" is now a moving target.

Sounds like the argument about the problems and differences typed/untyped programming languages. One set of problems is solved with typing at the cost of linguistic expressiveness due to lacking and/or cumbersome type systems.

I'm thinking async hardware is the typeless of HW designs, but that also takes off the safety guards used from years of experience in synchronous design.

kruhft··on Show HN: Poxi – A Hackable Pixel Art Editor
Screenshot?
← PreviousPage 8 of 21Next →