HNHacker News
TopNewBestAskShowJobs

dfboyd

211 karma · joined September 20, 2015

submissionscomments
dfboyd··on IRC and Emacs all the things
Slack is working hard to prevent this kind of interoperability; the incentive for them is to push ahead on features, and being abstract-able behind bitlbee or libpurple impairs that. They have deprecated the API token (called a "Legacy Token" on their site) that bitlbee uses, and there's a sunset date of May 5 2020.
dfboyd··on Travelling with 24” Monitors
WTF is an "alimentation cable"?
dfboyd··on OpenVMS: state of the x86 port
Isn't the VMS x86 port called "Windows NT"?
dfboyd··on Git wishlist: aggregate changes across non-contiguous commits
If you have commits:

  (start) <- A <- B <- C <- D <- E
and you want to see the combined effect of, say, A C D:

1. make a branch at "start", i.e. at the previous of A

2. cherrypick A C D onto it

3. diff your branch with "start".

They discuss a problem in the article where you want to see the sum of diffs from separate branches and it's not clear which change should be diffed first, or what if they conflict.

This problem is solved using this branch/cherrypick/diff method because the order in which you cherrypick the commits is the order you'll see in the diffs; if you don't like that order, do the cherrypick in a different order.

dfboyd··on Every productivity thought I've ever had, as concisely as possible
I looked at the guy's pie charts of working time, and unless I'm reading them wrong, he _never sleeps_. He has all 24 hours of the day marked as mostly work.
dfboyd··on Giving Up on Darwin
Creationist rubbish wrapped in lots of waffling.
dfboyd··on Artists Are Reviving the Idea of the Medieval Guild
About halfway down there's something that looks like the Iron Throne, but made out of cheese.
dfboyd··on OpenBSD: Why and How
"OpenBSD is very secure, so install it and then extract this tarfile full of unknown stuff onto your system"
dfboyd··on Build your own Command Line with ANSI escape codes
Isn't this a step back from curses? It only works on vt100-compatible terminals? ...or is this an indication that vt100-compatible terminals are all that's left?
dfboyd··on Domain-Oriented Observability
Zipkin. You've reinvented zipkin.
dfboyd··on A thousand pounds of dynamite (2014)
This article about the same occurrence is better constructed, because it doesn't start with the perpetrators; it starts with the bomb.

https://www.damninteresting.com/the-zero-armed-bandit/

dfboyd··on An OCR cliche: Into his/her anus (2009)
The Kindle version of "A Game Of Thrones" (first book in the series) has "Dome" everywhere instead of "Dorne" (the name of the kingdom in the south). Apparently it was OCR'ed from the printed book.
dfboyd··on Ask HN: Splunk vs. ELK vs. others?
Splunk and Sumologic both have query languages, and store the raw log lines now, and let you parse and analyze them later. ELK doesn't have anything like that; you have to configure ELK to understand the logs before it can index and store them, and it has no query language allowing you to re-parse and analyze them afterward -- all you can do is search on the fields you've already indexed. ELK can't, for instance, store 20G of logs today with no parsing applied, and let you parse out key-value pairs and graph all the latency numbers next week.

If you have more money than time, use Splunk.

If you are on AWS, dump your logs into Redshift -- you already know SQL and you don't have to learn another query language; and it's easy to see how to run extract/transform/load jobs. If you're on GCP, I'd investigate BigQuery before bothering with Splunk or Sumologic.

dfboyd··on Apollo Guidance Computer Talk
There is a small mistake in the talk: they say all the AGCs are either crashed onto the earth, crashed onto the moon, not flown, or returned (and in museums). There is still one AGC out there in space: the lunar module for Apollo 10 was put into orbit around the Sun.
dfboyd··on When Does Point-Free Notation Make Code More Readable?
From a Clojure standpoint, I don't think there's much going on here beyond comparing this:

  (defn at-least-two [x] (max x 2))
with this:

  (def at-least-two (partial max 2))
dfboyd··on Don’t Fall for Babylonian Trigonometry Hype
The story says George Plimpton bought the tablet in 1922. George Plimpton (I assume it's the same one) was born in 1927. I admit he was awesome enough that Jonathan Coulton wrote a song about him, but could he buy a tablet five years before he was born?
dfboyd··on The Neurodiversity Case for Free Speech
The article is unreadable on Chrome on Android; after load is complete, the related-articles div fights with a pop-in div for control, both of them rendering repeatedly on top of each other and continually yanking the scroll to the bottom of the page.
dfboyd··on Four MLs and a Python (2015)

  (ns fourmls.core
    (:gen-class))

  (defn csv-line-to-doubles
    [line]
    (map #(Double. %)
         (clojure.string/split line #",")))

  (defn barf-if-different-lengths
    [s1 s2]
    (if (not= (count s1)
              (count s2))
      (throw (Exception. "Mismatched lengths"))
      s2))

  (defn sum-csv-lines
    [prev curr]
    (if (nil? prev)
      (csv-line-to-doubles curr)
      (->> curr
           csv-line-to-doubles
           (barf-if-different-lengths prev)
           (interleave prev)
           (partition 2)
           (map (partial apply +)))))

  (defn -main
    "I don't do a whole lot ... yet."
    [filename]
    (println
     (clojure.string/join
      ","
      (map str
           (reduce sum-csv-lines
                   nil
                   (->> filename
                        clojure.java.io/reader
                        line-seq))))))
dfboyd··on Please Don't Say Just Hello in Chat
I originally wrote this text on an internal wiki page at Google. It was short-linked to "go/nohello" and sparked a fair bit of discussion, including another page with exactly the opposite viewpoint. I have no idea who Brandon High is, but he must have copied it from inside Google and posted it publicly.
dfboyd··on Fedux.org &ndash; Serving local directories via HTTP
python -m SimpleHTTPServer 8080
← PreviousPage 2 of 2