HNHacker News
TopNewBestAskShowJobs

malingo

802 karma · joined May 6, 2011

[ my public key: https://keybase.io/malingo; my proof: https://keybase.io/malingo/sigs/oWQ0tsaamuqA4jXkAV2v4yUfTyOQlyfjZQoaGA4TGkQ ]

Email: dave malingo.net

submissionscomments
malingo··on A Linotyper for Life
Great short film on the end of the Linotype at the New York times in 1978: https://vimeo.com/127605643

Edit: you can see Linotypes in action at the International Printing Museum in Carson, CA (south of Los Angeles).

malingo··on [dead]
Related tsunami info: https://www.tsunami.gov/?p=PAAQ/2018/11/30/pj0ol4/2/WEAK51
malingo··on The Architecture of Git (2012)
I've always liked the low-level explanation at https://git-scm.com/book/en/v2/Git-Internals-Git-Objects

It's a great exercise for the reader to recreate the core functionality of making git commits with just a few command line utilities (echo, wc, xxd, shasum).

malingo··on Why Are Japan’s Cherry Blossom Trees Blooming in Fall?
The Economist published a remarkable chart last year that shows 1200 years of cherry blossom data: https://www.economist.com/graphic-detail/2017/04/07/japans-c...
malingo··on Ask HN: What's your favorite elegant/beautiful algorithm?
Check out Sattolo's algorithm as well. Good writeup here: https://danluu.com/sattolo/
malingo··on Go 1.11 got me to stop ignoring Go
> cd go; cd src; cd github.com; cd jrockway; cd project; is kind of a lot of typing to get to the thing you're working on. I have a bash alias to get there

In addition to your bash alias for navigation, you can use the `autocd` option of bash so that from your home directory you can say `cd /project`.

You can also use the CDPATH variable for quick navigation into a deep directory structure like that.

malingo··on User IDs probably shouldn't be passed around as ints
This post discusses using UUIDs as primary keys (but never exposing them), and an additional integer key on each table as the public facing ID.

https://begriffs.com/posts/2018-01-01-sql-keys-in-depth.html

HN discussion: https://news.ycombinator.com/item?id=16050047

malingo··on Maintaining code quality when nobody cares
Michael Feathers was on Software Engineering Radio last year: http://www.se-radio.net/2017/06/se-radio-episode-295-michael...
malingo··on A surprisingly potent technique can boost short and long-term recall
For a long-form examination of this, see https://theamericanscholar.org/solitude-and-leadership/
malingo··on A surprisingly potent technique can boost short and long-term recall
I also like the mindfulness approach of Ellen Langer, who recommends active observation of surroundings, which has a side effect of quieting the mind and providing the same benefits (for me at least) of breathing-focused mindfulness meditation. Almost like a shortcut right to your point B.

"Mindfulness, she tells the medical school audience, is the process of actively noticing new things, relinquishing preconceived mindsets, and then acting on the new observations. Much of the time, she says, our behavior is mindless."

https://harvardmagazine.com/2010/09/the-mindfulness-chronicl...

malingo··on Using k-d trees to efficiently calculate nearest neighbors in 3D vector space
This is color quantization, right? https://en.wikipedia.org/wiki/Color_quantization
malingo··on Show HN: Datasette – Create and publish an API for SQLite databases
I've had good luck with this library to use OpenID Connect with Nginx: https://github.com/pingidentity/lua-resty-openidc
malingo··on Show HN: Baby Buddy
Single-button app on your phone: https://ifttt.com/do_button
malingo··on Ask HN: What non-work task have you automated?
I track my visits to the gym with a geofence trigger with my phone--logs to a google spreadsheet through IFTTT.
malingo··on Pencil and Paper Games
I've seen some interesting rules-based design games that are more process-based art than games. One of the co-creators of Paper JS [http://paperjs.org/] is a member of this group of artists.

Some are based on 3-4 participants https://www.conditionaldesign.org/

Some work with an arbitrary number of participants, e.g. visitors adhering stickers to art gallery walls and floor (see "red fungus"): https://web.archive.org/web/20100829051147/http://poly-luna....

malingo··on Live: DNSSEC Root Key-Signing Key Ceremony
Live stream (starting at 2100 UTC) here: https://participate.icann.org/kskceremony

Writeup from a previous ceremony: https://www.cloudflare.com/dns/dnssec/root-signing-ceremony/

malingo··on Box Breathing
Here are a couple relevant studies:

Resonant breathing biofeedback training for stress reduction among manufacturing operators https://www.ncbi.nlm.nih.gov/pubmed/23294659

Effect of Fast and Slow Pranayama Practice on Cognitive Functions In Healthy Volunteers https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3939514/

Both citations from https://www.reddit.com/r/Nootropics/comments/25kfkf/breath_o...

malingo··on Noise Protocol Framework
Is Noise the right answer to any of these crypto "questions"? https://news.ycombinator.com/item?id=9593916
malingo··on Some bad Git situations and how I got myself out of them
First off, see [0] for a very helpful insight into the rebase command's syntax.

With multiple team members (each on their own feature branch), I encourage what I call the "pitchfork" approach [1], where the feature branches get stacked up into an integration branch to preview what the master branch would ultimately be when all the feature branches are merged in via pull requests.

A key part of building and recreating the pitchfork structure is git rerere [2].

[0] http://matthew-brett.github.io/pydagogue/rebase_without_tear...

[1] https://gist.github.com/dkaminski/c8e59221bea74ab1fea615a468...

[2] https://git-scm.com/blog/2010/03/08/rerere.html

malingo··on Apache Spark Scale: A 60 TB+ production use case
I have no practical experience with Spark, but I was wondering where Alluxio fits into what you're describing.

Is it only applicable once the "cluster [is] sized appropriately so that all data stayed in memory" as you mention?

malingo··on Talk of a Split from Docker
Right, so in that context who is the FreeBSD of containers?
malingo··on NSA's Puzzle Periodical
Reminds me of "ponder this" from IBM research: https://researchweb.watson.ibm.com/haifa/ponderthis/index.sh...
malingo··on Christo's Floating Piers
I will be there later today! Very excited. I will post some photos here if I have a chance. Here's an article with a few more details on the construction: http://www.wired.com/2016/06/heres-christo-built-huge-17m-fl...
malingo··on My First 10 Minutes on a Server
This is good advice on achieving the most secure SSH configuration: https://stribika.github.io/2015/01/04/secure-secure-shell.ht...

"My goal with this post here is to make NSA analysts sad."

malingo··on Memory Access Patterns Are Important (2012)
This kind of article stands in interesting contrast to the recent post on "non-programmers' solutions to programming problems."

On that post, jbclements commented [0] that we are reaching / have reached a point where "the conversation shifts from 'how can I meet the machine's needs?' to 'how can the machine meet my (programming) needs?'"

The idea of "the machine meeting my programming needs" still requires a programming platform that has been designed with a great deal of mechanical sympathy.

[0] https://news.ycombinator.com/item?id=11509543

malingo··on Why aren’t we using SSH for everything? (2015)
Yes, if session keys are ephemeral.

"SSH session keys are ephemeral and are exchanged between hosts using DHE."

From: https://lwn.net/Articles/572926/

DHE: http://stackoverflow.com/questions/14034508

malingo··on A Moss Girl’s Guide to Japanese Moss Viewing
The moss in Iceland is also pretty spectacular. While hiking the Falljokull glacier this past summer I learned about "glacier mice": http://mobile.nytimes.com/2012/08/28/science/earth/glacier-m...
malingo··on There's Math.random(), and then there's Math.random()
This is a great 2-part article: http://www.drdobbs.com/tools/fast-high-quality-parallel-rand...
malingo··on Anatomy of a Program in Memory (2009)
Original HN discussion: https://news.ycombinator.com/item?id=452005
malingo··on Modified yeast produce opiates from sugar
Poppy seeds are held behind the customer-service counter at some grocery stores [1]. They don't make you hand over your drivers license though.

[1] http://www.radioiowa.com/2008/01/10/store-puts-poppy-seeds-b...

← PreviousPage 3 of 5Next →