Recent submissions

Comment · 10 years ago
It seems likely that the NSA is running a large fraction of tor nodes, and doing exactly what you suggest. It would cost a trivial fraction of their budget, and yield huge amounts of relevant information.
Comment · 10 years ago
You only need to change a few words:

"In other words, they simply didn't test their (global!) custom route announcement management software. An edge case was triggered in production, and unsurprisingly they automatically went offline."

Comment · 10 years ago
Comment · 10 years ago

  ultimately I lose a bunch of work.
Take a copy of the entire repository before attempting anything potentially destructive.
Comment · 10 years ago

  man git stash
Comment · 10 years ago
I have no problem with lazy lists. It's the "0, 2 ... \infty" expression which offends me.
Comment · 10 years ago

  > There are some people who appreciate games that are very abstract and with
  > simple rules from which complex behavior emerges, such as a game like Go.
I love Go, but I despise perl. Perl is not built on "very abstract and simple rules. For instance, this code is quite hard to reason about:

    1: my @to-infinity-and-beyond = 0, 2 … ∞;
    2: say @to-infinity-and-beyond[1008];
    
    # OUTPUT:
    # 2016
This is self-indulgent mucking around. An inference procedure which goes from "0, 2 … ∞" to "the even-nonnegative integers" is bound to lead to unpleasant and hard-to-debug surprises.
Comment · 10 years ago
Ah, right. Thanks.
Comment · 10 years ago

   say "Code took {now - INIT now} seconds to run";
   # Code took 0.01111143 seconds to run
Implicit string interpolation??? What if I just want to print out the string "now"?
Comment · 10 years ago
Your best is different from his/her best.
Comment · 10 years ago
When did the internal projects start using Kubernetes? I heard that its uptake within Google has been very anemic.
Comment · 10 years ago
Side question: what is NPMJS Inc's business model?
Comment · 10 years ago
Being enthusiastic for wholesome things is a skill in its own right.
Comment · 10 years ago
You could probably whitelist with a .dockerignore like

    *           # exclude everything
    !README.md  # include the README.
    !run.sh     # include the initiation script
You would want to check exactly what the globbing rules are for the .dockerignore file, though. I don't know whether '*' will catch .dotfiles, for instance.

  https://docs.docker.com/engine/reference/builder/#dockerignore-file
  https://golang.org/pkg/path/filepath/#Match
Comment · 10 years ago
f(X)=sha1(concat(md5(X), X)), then.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton