HNHacker News
TopNewBestAskShowJobs

kettunen

571 karma · joined June 17, 2018

Lisp hacker

Find me at https://topikettunen.com

submissionscomments
kettunen··on Show HN: AI climbing coach – visualize how to climb any route based on your body
One of the most fun part of climbing is the problem-solving aspect of it. Figuring your way to get up the wall/boulder. Why would you want to get rid of that?
kettunen··on An Open Letter to the FreeBSD Foundation, Core Team, Committers, and Community
Yes, https://www.youtube.com/watch?v=36qZYL5RlgY
kettunen··on Bad Emacs defaults
While I'm mainly an emacs user, I do enjoy using mg from time to time. Especially nice that it comes with macOS nowadays (used to come with age old emacs version). I could probably do everything in mg, but I just cannot stand the auto indendantion in it when you have 8 spaces of indent and write a newline, the next line gets auto indented with a tab instead of 8 spaces (newline-and-indent assumes tabs are every eight characters..) Sure, this is not an issue if you use only tabs, but most projects just tend to be using spaces. Also, I think in OpenBSD mg there is a flag for enabling/disabling this (IIRC).

Nonetheless, I do like mg!

kettunen··on Ableton Push 3
Cool stuff! I used Push 2 for a long time and I really enjoyed the workflow with it. I decided to sell it since most of my music work shifted to using Logic so didn't have much use for it anymore. Until quite recently, I had this scratching itch to rebuy Push 2 and start playing around with it, just to notice that it's sold out everywhere. I had a feeling that they will release Push 3 quite soon, so great to see it out finally. Maybe I need to start using Ableton again!
kettunen··on Why you should still read the docs
Wait… Did we stop reading docs at some point?
kettunen··on The Free Software Foundation is dying
It's his history and actions that made him unsuitable for the position. Despite that, they still decided allow him to return to the board. While RMS and FSF have done great things in the past, actions should have consequences and movement shouldn't be tied to one person.
kettunen··on The Free Software Foundation is dying
I lost all the respect that I had for FSF when they decided to re-elect Stallman. Would love to see a lot of changes in that foundation.
kettunen··on Codeberg – Fast open source alternative to GitHub
Love to see alternatives to these big code hosting solutions! Personally I'm donating to sourcehut, mainly in "support your local" -mentality, and definitely recommend people doing the same for your favourite projects . But that being said, for most of my coding, I have a simple self-hosted cgit + gitolite setup that suits my needs exactly! Unfortunately, cannot get completely rid of GitHub due to work and open source necessitites.
kettunen··on Coltrane: A music theory library with a command-line interface
This is very cool! Sometime ago I ended up starting a similar project in Common Lisp, but then life happened and it has stayed as WIP for quite a while already... Maybe now I don't need stress about finishing it since this seems quite handy!
kettunen··on Parody HN Homepage (2012)
A Legitimately Interesting Technical Blog Post, 3 upvotes. Loved it!
kettunen··on Ask HN: What was your Plan B?
I fell into programming. I had been programming since being a wee lad but I never was too keen on studying or school itself. After high school I realized that I couldn't get into the school I wanted, studying psychology in my case, probably could've gotten in there if I would really wanted to, who knows. At that point, I was pretty good at programming and thought that might as well try some computer science stuff. Luckily got into one school, but got a real job on my first year, and the school became secondary for me. I was able to audit lots of stuff so I could finish my Bachelor despite working at the same. After that degree, haven't looked back to schools since and, for some weird reason, I quite enjoy my current software engineering job.
kettunen··on I still Lisp (2021)
Personally I feel that Scheme (Racket or some other implementation) is in many ways better language compared to e.g. Common Lisp. Simpler and more intuitive (at least IMO) compared to Common Lisp which is in scale of Java or C++ when it comes to the size of the standard/language. This can be of course explained due to the nature of Common Lisp and how its, according to its standard's author, more about politics than art, since when Common Lisp was being planned they needed to accomodate many features from many different Lisps before it. But despite that, when it comes to real-world code, in my own experience, Common Lisp and especially SBCL takes the cake.
kettunen··on Ask HN: What weird technical scene are you fond/part of?
Demoscene, especially Amiga
kettunen··on Why Lisp?
While Common Lisp is my favourite programming language, I didn’t necessarily get the Eureka moment by just programming in it (although I understood quite early how the interactive REPL driven way of programming is superior to any other form of programming) but instead when I started to learn more about lambda calculus. Then it really clicked for me.
kettunen··on Ask HN: If you could teach a course, what would it be?
Mixture of programming and arts.
kettunen··on Ask HN: What helped you sleep better?
I occasionally suffer from bad sleep and wonky sleep schedule. I have tried melatonin and it has helped sometimes but I don't want to rely on something like that for achieving better sleep.

The best results I have achieved when seeking better sleep is good nutrition, not eating too close to bed, and exercise. Simple as that but thankfully I'm otherwise healthy person. On top of that, I every once in a while do yoga nidra if I happen to not be able to sleep with quite good results at least personally.

kettunen··on Emacs’s Builtin Elisp Cheat Sheet
As an Emacs user, I definitely enjoy always finding new things about it. Thanks to these kinds of discoveries I've been able to make my .emacs.d smaller and smaller in tiny increments due to being able to replace various packages downloaded from ELPA/MELPA with built-in ones.
kettunen··on Ask HN: Favourite open source game?
One great Open Source game that comes to mind is definitely VVVVVV.

- https://thelettervsixtim.es

- https://github.com/TerryCavanagh/VVVVVV

kettunen··on Ask HN: What are your favorite examples of elegant software?
The original MapReduce implementation by Jeff Dean and friends is probably up there for me. Couple of hundred lines of code doing bunch of task distribution on a very large scale is just very impressive.

Of course the current/latest version of it has took a life of its own in size and complexity (but of course with performance and reliability too) but the initial version still shines through!

kettunen··on Ask HN: What book changed your life?
While being definitely more on the hippy-dippy side for some, for me the book that affected me the most was Ram Dass' Be Here Now.
kettunen··on Ask HN: Tell about your work from home setup
What room do you use in the house? Living in a one-bedroom apartment, so I have set my work desk to my bedroom. I once did my work on my "music corner" in the other room but quickly realized that it hindered my work since it was so easy to pick some instrument and start noodling with it.

Do you have a special desk? I use a standing desk from IKEA.

What monitors do you have? Just some random 27inch screen. Nothing special.

Keyboard? I used Microsoft's Ergonomic keyboard for a long time. However, I recently wanted to get some lightweight keyboard for traveling and bought Apple's tenkeyless Magic Keyboard, which works great. It also seems to be pretty much the only regular keyboard that doesn't make my forearms burst into fire since I was grown so used to ergonomic keyboards. Maybe it is due to its low profile. I don't know. Nowadays, I pretty much use the Magic keyboard solely.

Mouse? Logitech MX Master 3. I have been looking for some vertical mouses.

Do you work from a laptop? Yes.

Do you move around the house? Occasionally.

What other equipment? Noise-cancelling headphones.

kettunen··on Ask HN: Which programming language do you plan to learn in 2022?
Recently started a new small side business focusing on audio software. Unfortunately this world involves pretty much solely C++, so guess I need to start learning modern ways of writing it. While I hate it, thankfully modern C++ feels pretty nice.

Along side that really I'm a Lisp hacker in disguise but for some reason I have enjoyed writing Haskell in recent times, so I would like to write and learn more about it!

kettunen··on Ask HN: Best Engineering Blog Posts?
Big fan of https://danluu.com. Also recently stumbled upon one of his posts that lists various different programming blogs worth a read: https://danluu.com/programming-blogs/. Found quite a few interesting blogs from there!
kettunen··on FreeBSD Jails for Fun and Profit (2020)
Author here!

This is an old post of mine which I happened to find useful. Orchestration of jails moved quite bit forward lately! For example, you can manage your jails quite nicely with containerd today! See great post from Samuel Karp about the topic: https://samuel.karp.dev/blog/2021/05/running-freebsd-jails-w...

kettunen··on Ask HN: Why does Linux Kernel use goto statements?
Many people tend to assume goto is bad design, and while it definitely can be, there are some great uses for it especially on low level code.

I feel like this idea of goto being bad dates back to Djikstra's essay about the subject. I think quite often people tend to reference this and based on that declare that goto is always bad while missing the point that Djikstra was actually talking about goto being harmful when proving algorithms, not necessarily in real world code where there are great use cases for it when used in moderation.

kettunen··on Nim 1.6
Yeah, these kind of statements feel very “empty” to me. That’s probably true that you could do everything with Nim, it’s also true that you can do everything with every language. Should you? That is another question.
kettunen··on Ask HN: Will Rust become a good career choice?
Big reason why industry have chosen C or C++ in these safety critical applications is the fact they are standardized and their caveats are well known. Two years is definitely too short time for Rust to become something so stable that it could be utilized in these fields.

I personally would definitely want to see the shift towards Rust but theres no way around the fact it'll take time. When we have something similar to the lines of MISRA or AUTOSAR in Rust then it might be an option, but those kinds of endeavours will take a long time. But I definitely can see some usage for Rust already in many other domains!

kettunen··on Ask HN: Why should we learn Lisp?
Personally I come from Common Lisp world, so can't say much about other Lisps tooling. In CL I just mainly use couple of different implementations, whatever might suit for the job best. Mainly SBCL with some CCL and ECL thrown in there. Library-wise not much out of the ordinary. Either just built-in tools or maybe some usage of the most common libraries like alexandria (basic utils), cl-ppcre (regex), uiop (OS stuff), usocket (sockets), bordeaux-threads (threads), Closer-MOP (meta-object protocol) and some web tools like Clack with Hunchentoot or Woo etc. So nothing really out of the ordinary in CL.

The language spec of Common Lisp is pretty large (not necessarily a good thing) so the built-in libraries offer a lot so you don't necessarily need much third-party libraries. Issue with this along side the size of the spec is the fact that the spec is old, so it's missing some crucial stuff from it like threading etc. in which these third party libraries comes in handy.

kettunen··on Ask HN: Why should we learn Lisp?
I'm a Lisp programmer amongst many other languages, but its quite sad that people quite often tend to say some anecdotal quotes from Graham or Raymond when this question is asked without really giving a good practical reason on why to learn this language. Truth is that you can do basically everything that Lisp can do in any other language only the clearness and conciseness on some things might change.

Best reason to learn it is just if you have some curiosity towards it, just go and learn it. Especially if Lisp might be something out of your comfort zone this could give lots of different ideas on your other work even though I might not use Lisp ever again. To me, Lisp tends to be my first go to language when I want to write something quickly and prototype something, which is mainly due to built-in interactivity in the language that allows this.

To me, what makes Lisp great is the fact how it generalizes the interaction between you and the machine. Basically everything that we as programmers do is to interact with data (programs being data for compilers), which Lisp makes almost indistinguishable from the code itself. This kind of approach with S-expressions makes data representation very easy and clean which the reduces your cognitive overhead since you don't need think about how the data is structured, since S-expressions itself provide an minimal syntax for it.

kettunen··on MF DOOM Has Died
Seems like very suitable for his character. Anyway, this is a big loss...
Page 1 of 2Next →