Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unhammer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
361.
▲
by
unhammer
7y ago
Nah, like any bad analogy, it can be stretched :) Once you've moved past the "lies-to-children[1]" version, you can ascend to the real meat of the burrito: https://blog.plover.com/prog/burritos.html And
362.
▲
by
unhammer
7y ago
too late to edit, but that should look like (+1) <$> Just 1 → Just 2 (+1) <$> getIntFromThatUserThatOnlyTypes1 → IO 2 (+1) <$> [1,2] → [2, 3] ((+1) <$> ask) 1 → 2 and take <$> Jus
363.
▲
by
unhammer
7y ago
`apt search bible` gives lots of hits, though my favourite edition is unfortunately only available on tumblr: https://kingjamesprogramming.tumblr.com/
364.
▲
by
unhammer
7y ago
The simplest but still most versatile one is probably fmap (also knowns as <$>) which lets you use a function on whatever is inside the burrito: (+1) <$> Just 1 → Just 2 (+1) <$> getIntFromThatUserThatOnlyTypes1 → IO 2 (+1
365.
▲
by
unhammer
7y ago
https://haskell-works.github.io/posts/2018-08-22-pdep-and-pe... from the series https://haskell-works.github.io/ shows how to use popcnt (and rank-select) in a Haskell CSV parser
366.
▲
by
unhammer
7y ago
Great article, and some great links from it too. The list of models "following the letter but not the spirit" at https://docs.google.com/spreadsheets/u/1/d/e/2PACX-1vRPiprOa... has some hi
367.
▲
by
unhammer
7y ago
My go-to tools: * vd (visidata) * xsv (often piping into vd) * jq (though I often forget the syntax =P) * gron (nice for finding the json-path to use in the jq script) * xmlstarlet (think jq for xml) * awk (or mawk
368.
▲
by
unhammer
7y ago
Hm, web based so defeated by CORS (plus privacy issues unless you install it on your own server, but then Postman itself is closed source …). Fortunately there's an Emacs package for this =P http://emacsrocks.com/e15.ht
369.
▲
by
unhammer
7y ago
It's also quite relevant for anyone with a morbid interest in those "logical" conlangs that try to divide the world into some sort of rational categories (Lojban, Ithkuil etc.). Though perhaps demotivating for those who attem
370.
▲
by
unhammer
7y ago
The visualisation works fine in newest Firefox on Linux, though only in Chromium do I get the sound effects (like a high pitched fan noise)
371.
▲
by
unhammer
7y ago
> [session manager] can now run commands not only "autostart style" at login time, but also when your computer suspends, logs out etc. > larger thumbnails as well as support for a "folder.jpg" file altering the fol
372.
▲
by
unhammer
7y ago
Well, there are hostile user interfaces at least: https://userinyerface.com/ https://www.darkpatterns.org/ and in programming you have defensive/deterrent features like prefixing unsafe function name
373.
▲
by
unhammer
7y ago
Dependently Typed Haskell in Industry (Experience Report) http://delivery.acm.org/10.1145/3350000/3341704/icfp19main-p... "We encountered bugs in GHC at a higher rate than other projects." heh not
374.
▲
by
unhammer
7y ago
https://en.m.wikipedia.org/wiki/Noun_class#Common_criteria_f... has some more fun ones. When I first heard of noun classes in school, we were introduced to them via Borges' story about the Chinese Celestial Empori
375.
▲
by
unhammer
7y ago
In Norwegian too, "sola" fem and "månen" masc.
376.
▲
by
unhammer
7y ago
one as a baby monitor (shoutcast + microphone) and one for my weechat irc bouncer
377.
▲
by
unhammer
7y ago
relevant: http://www.vpri.org/pdf/tr2015004_cuneiform.pdf talks about archiving computer programs so they may be read by future civilizations
378.
▲
by
unhammer
7y ago
> Even something which seems like a tiny, inconsequential frustration affects your mood. Your emotions don’t seem to care about the magnitude of the event, only the quality. > The more you feel that you can control your environment, a
379.
▲
by
unhammer
7y ago
You can drag attachments into Emacs from other programs, I do this on Linux at least
380.
▲
Buying into the Emacs Platform (2018)
(two-wrongs.com)
247 points
by
unhammer
7y ago
|
133 comments
381.
▲
by
unhammer
7y ago
I use one bash history (and fasd history) per tmux session: https://gist.github.com/unhammer/abef48d8f6452c74e3513c68485...
382.
▲
by
unhammer
7y ago
http://yourcalendricalfallacyis.com/
383.
▲
by
unhammer
7y ago
https://floobits.com/ at least claims to support Emacs and Atom (and neovim and sublime and intellij); though https://github.com/Floobits/floobits-vscode says "Not ready. Don't get your hopes
384.
▲
by
unhammer
7y ago
> A third possibility would be to pass the SQRT function as an argument to QUAD (don't laugh!) :) I was excited to see the heading "3.3.1 Free (Global) Variables", considering the amount of work people do to avoid those (i
385.
▲
by
unhammer
8y ago
what do you use for calendar sync?
386.
▲
by
unhammer
8y ago
Cf. parallel automaton traversal, there's a talk on doing that in Haskell at https://www.youtube.com/watch?v=b4bb8EP_pIE&feature=youtu.be... slides: https://github.com/Gabriel439/slides/bl
387.
▲
by
unhammer
8y ago
http://visidata.org/ is a nice one for quickly getting an overview of some tabular data – you can even just stick it at the end of your pipe. If bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah produces a tsv, t
388.
▲
by
unhammer
8y ago
If your awk script gets too long / unreadable you just put it in a file and use some whitespace and longer variable names. AWK scripts tend to be very readable (much more so than e.g. sed) as long as they stick to the "stateful fi
389.
▲
Colour Profile Support Coming to Xfce
(simon.shimmerproject.org)
1 points
by
unhammer
8y ago
|
0 comments
390.
▲
by
unhammer
8y ago
That was an unbound variable, not due to a tool for predicting what directories you typically navigate to. Who in their right mind would use that in a shell script? (Actually, nevermind, if github had decent code search I'll bet you co
More ›