K
kmkeen
kmkeen.com · Personal blog · on HN since 2009
kmkeen writes about command-line tools, small programs, and Linux, including the Jshon JSON parser and AWK-generated music.
What HN saysHN commenters link the AWK music generator as a fun unusual use of tools, plus Jshon and an essay defending distro maintainers.
37HN people shared it
17linked it in comments
35stories submitted
536story points
3 years agolast shared
2009people per year2026
Most-shared posts
- 1Jshon: A command line program to parse, read and create JSON8 people · 39 points · first shared 2011 · 20 comments on HN
- 2Maintainers Matter: The case against upstream packaging7 people · 140 points · first shared 2016 · 95 comments on HN
- 3Music with AWK7 people · 77 points · first shared 2011 · 15 comments on HN
- 4GZ-sort, an utility to sort big gzipped files4 people · 8 points · first shared 2016 · discussion on HN
- 5Tiny Code2 people · 75 points · first shared 2009 · 11 comments on HN
- 6Tiny Code: Floppy booting, Open Firmware, Bitlash, more Movizt.2 people · 4 points · first shared 2014 · discussion on HN
- 7Local Euler: Now with all 476 puzzles and images1 people · 76 points · first shared 2014 · 12 comments on HN
- 8Self Hell in Python1 people · 67 points · first shared 2015 · 89 comments on HN
- 9Rackspace: concerns from a former Slicehost customer1 people · 22 points · first shared 2012 · 16 comments on HN
- 10A Month of RTL-SDR: IndieGoGo Progress Report1 people · 5 points · first shared 2014 · discussion on HN
- 11A new approach to FOSS crowdfunding1 people · 4 points · first shared 2014 · discussion on HN
- 12Practical use of SAT1 people · 3 points · first shared 2013 · discussion on HN
- 13Chromebook C100P Tweaks (ArchLinux)1 people · 3 points · first shared 2015 · discussion on HN
- 14Jshon: JSON parser for the shell1 people · 2 points · first shared 2011 · discussion on HN
- 15Generator Tricks for Engineers1 people · 2 points · first shared 2011 · discussion on HN
What HN people wrote when they linked it
orthecreedence · 2019-01-09
Cool! Reminds me of an AWK-based music generator I used to listen to while programming: http://kmkeen.com/awk-music/
I love when people use tools for bizarre things outside their intended purposes.
keenerd · 2017-10-05
Yes. It has been great and I've written about it: http://kmkeen.com/c100p-tweaks/
Asus has released an updated version (C101) with USB-C: https://liliputing.com/2017/09/asus-chromebook-flip-c101-hits-us-299.h…
bscphil · 2022-03-03
Well said. Dynamically linked packages managed by a package manager and created and distributed by maintainers is the Linux Way of doing things for multiple very good reasons.
In fact, the article brilliant describes one of them:
> Modern software distribution: AKA "actually free with no-ads apps store" of the Linux and BSD worlds.
That's it. That's the advantage summed up in a single description that wasn't even intended as a description of the advantages of the current way of doing things!
The article has a list of "cons", but it utterly fails to consider the possibility that this overwhelming advantage of what it calls "modern software distribution" is simply and inescapably tied to the maintainer-oriented approach that currently underlies it!
Attempts to create modes of distribution that are even slightly different from maintainer-distribution (think Google Play) suck ass. For all its faults, F-droid is a vastly better platform because it insists that the software must be built and distributed by an F-droid maintainer. Stepping even further away into the realm of developer built opaque binaries is begging for chaos and misery.
As you say, it's ultimately a security concern [1]. The article claims that a change is necessary because of "increased usage of languages and run-times that don't fit the current build model", "some of these new projects have large numbers ... of dependencies", but these are themselves problems with modern software development. Even putting…
mbrock · 2022-02-05
There's also jshon which is a simple stack-based DSL for constructing JSON from shell scripts.
http://kmkeen.com/jshon/
It's written in C and is not actively developed. The latest commit, it seems, was a pull request from me back in 2018 that fixed a null-termination issue that led to memory corruption.
Because I couldn't rely on jshon being correct, I rewrote it in Haskell here:
https://github.com/dapphub/dapptools/tree/master/src/jays
This is also not developed actively but it's a single simple ~200 line Haskell program.
iamtedd · 2021-06-08
A more pleasant method could be: http://kmkeen.com/awk-music/
singingfish · 2021-05-04
Someone used awk to make a generative synthesiser http://kmkeen.com/awk-music/
de_watcher · 2019-11-06
It's not about the ease of use (you need just a couple of lines in CMake to trigger the pkg-config scripts that every lib in the distribution has). It's about the people who work hard on maintaining the distributions. That's where the quality comes from.
And not only for the libraries:
http://kmkeen.com/maintainers-matter/
zimbatm · 2016-12-03
For shell scripting, jshon is also very useful ( http://kmkeen.com/jshon ).
something123 · 2015-11-18
The Asus Flip has very similar hardware (same chip) and it runs Arch ARM.
http://kmkeen.com/c100p-tweaks/index.html
So almost definitely yes...
jonjacky · 2015-03-21
Many examples here. Also search for "tiny ..." or "minimal ..." with more search terms to narrow down the category
http://kmkeen.com/tiny-code/index.html
a3_nm · 2011-10-25
For more elaborate stuff, you can also use jshon (http://kmkeen.com/jshon/).
zpoley · 2011-04-10
Here is my contribution to Unix friendly JSON command line tools (requires Node.js and NPM): https://github.com/zpoley/json-command. Here are a couple other good ones:
http://kmkeen.com/jshon/
https://github.com/micha/jsawk
acqq · 2011-03-12
I've just listened to the mp3 linked from the page (http://kmkeen.com/tmp/awkbient.mp3) and I've heard the sounds I've described. I hear it like "(loud:) dong (quieter:) brrr-brrr-bbrrr (loud:) dong (quieter:) brrr-brrr-brrr (loud:) dong"
The brr-brr sounds are the unpleasant ones. I hear them also when listening to wav made by lame --decode of mp3.
sengork · 2017-10-06
This reminds me of AWK Music http://kmkeen.com/awk-music/
radoslawc · 2016-07-10
http://kmkeen.com/jshon/ or python -mjson piped to $editor
rakoo · 2014-11-01
Also of interest: http://kmkeen.com/arch-wiki-lite/
manveru · 2012-10-21
Also see http://www.kmkeen.com/jshon/