Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmstout
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
How Jellied Cranberry Sauce Is Made
(nytimes.com)
1 points
by
kmstout
4y ago
|
0 comments
122.
▲
by
kmstout
4y ago
I'll remember this if I ever recreate my RSS to five-column-PDF-emailed-to-myself-every-morning setup. I had to do some ungood things to make BBC articles safe for LaTeX back then.
123.
▲
by
kmstout
4y ago
Instead of `paps`, you could also try ... | sed -re 's/$/\n\n/' | uniq | man -Tps -l - | ... If you have groff, you can also have `man` go straight to PDF.
124.
▲
by
kmstout
4y ago
I find the slow cooker is most useful for making lots of food ahead of time. Two slow cookers, a good freezer, and a stack of cheap containers are excellent tools for keeping people well fed when time is short.
125.
▲
by
kmstout
4y ago
$ curl -s 'https://www.economist.com/united-states/2022/11/24/why-its-hard-to-buy-deodorant-in-manhattan' | grep articleBody | jq -r .articleBody 2>/dev/null | fmt
126.
▲
by
kmstout
4y ago
POST THANKING PARENT FOR LINK TO ENDLESS ENTERTAINMENT.
127.
▲
by
kmstout
4y ago
Suppose you have a couple graphs, represented by adjacency matrices (A and B) whose cells represent travel times or distances or some other notion of cost. Assuming their dimensions are compatible, and that the columns of A correspond to th
128.
▲
by
kmstout
4y ago
import spice assert spice.flow()
129.
▲
by
kmstout
4y ago
For anyone who finds this, here's a much faster ytsearch: ytsearch ======== #! /bin/bash nresults=$1; shift query="$@" yt-dlp -j --flat-playlist ytsearch${nresults}:"${query// /+}
130.
▲
by
kmstout
4y ago
Semi-related is dungeonfs [0], a game masquerading as a FUSE filesystem. - [0] https://fossbytes.com/dungeonfs-fuse-filesystem-dungeon-craw...
131.
▲
by
kmstout
4y ago
I've been rebuilding my command line YT client based on mpv, fzf, and yt-dlp (compatible with youtube-dl in all the ways that matter). Here's my search command: ytsearch ======== #! /bin/bash nresults=$1; shif
132.
▲
by
kmstout
4y ago
Clearly, you need a bank of magnetic core memory.
133.
▲
by
kmstout
4y ago
One of the upsides of the pervasive JS is that it often calls APIs that do useful things. If you take the time to capture and study those interactions, you can develop your own libraries and CLI tools that operate those useful APIs, too [0]
134.
▲
by
kmstout
4y ago
> "Apocalypse" ... means literally "the lifting of the veil" ... You have just made weddings vastly more entertaining.
135.
▲
by
kmstout
4y ago
Today, we learn about the toilegami.
136.
▲
by
kmstout
4y ago
Early in the pandemic I cracked my knuckles on writing generator for monster Sudoku [1]; an example can be seen at [2]. I haven't solved a single one of them by hand. [1] https://reindeereffect.github.io/2020/05&#x
137.
▲
by
kmstout
4y ago
There's a cool little demo [0] of AS/400's files-as-databases concept: [0] https://www.youtube.com/watch?v=CDSgJE5mPJM
138.
▲
by
kmstout
4y ago
That's a pretty car.
139.
▲
by
kmstout
4y ago
There's an opportunity here to have a solar-powered Rube Goldberg contraption for transforming water and green coffee beans into something truly delightful.
140.
▲
by
kmstout
4y ago
If only they would make the Unix^H^H^H^HHole Hawg [0] in the US of A. [0] http://www.team.net/mjb/hawg.html
141.
▲
by
kmstout
4y ago
TotalNews was great for a young news junky who hadn't yet discovered RSS.
142.
▲
by
kmstout
4y ago
The creators of awk wrote an excellent book on it [0]. Also, the man page is good for quick reference. [0] https://archive.org/details/pdfy-MgN0H1joIoDVoIC7/page/n3/mo...
143.
▲
by
kmstout
4y ago
They use a lot of butter and they go well with coffee. Yes. (Both Wikipedia [1] and the Joy of Cooking consider them cakes rather than cookies.) [1] https://en.wikipedia.org/wiki/Madeleine_(cake) [2] Irma Rombauer, M
144.
▲
International Research Conference in the History of Computing, Los Alamos, 1976
(youtube.com)
2 points
by
kmstout
4y ago
|
0 comments
145.
▲
by
kmstout
4y ago
Someone else mentioned using a hash table to accumulate counts; that approach would give something like ~/bin/freq ========== #! /bin/bash awk '{acc[$0]++} END {for (item in acc) {print acc[item], item}}&
146.
▲
by
kmstout
4y ago
Roll your own: ~/bin/freq ========== #! /bin/bash sort "$@" | uniq -c | sort -nr Once you get into the habit of capturing your habits as scripts that snap together like German nouns, you'll f
147.
▲
by
kmstout
4y ago
Previous discussion: - http://www.5z8.info/backyard-fireworks-disasters_w0v6qb_hitl... - http://www.5z8.info/foreign-brides_a7s2us_begin-bank-account... - http://www.5z8.info/stoleniphones_w
148.
▲
by
kmstout
4y ago
Somewhere on YouTube is a talk where Gerald Sussman described mathematics (or at least mathematical presentation) as "impressionistic."
149.
▲
by
kmstout
4y ago
"When did you learn how to fly?" "I didn't, but I did stay at a Holiday Inn Express last night."
150.
▲
by
kmstout
4y ago
A long time ago I did a pair of articles about recursive descent parsing [1] [2], from very basic theory to a crappy programming language. As a side effect I also made a cantankerous parser generator [3] that produces a backtracking recursi
More ›