jenrzzz

Joined 16 years ago

Karma
133
Submissions
31
Member since
Jul 11
Maker of things, dreamer of dreams.

[ my public key: https://keybase.io/jenrzzz; my proof: https://keybase.io/jenrzzz/sigs/KjBvxPfWib8r2J_JJCVTYkjypfQtf-BUogJsHPPKErE ]

View on Hacker News

Recent submissions

Comment · 4 years ago
Why the heck is

    case Not(DistanceMetric)():
a syntax error?
Comment · 4 years ago
It's always a method. Ruby doesn't expose instance variables unless you define accessor methods for them.
Comment · 4 years ago
I use the TP-Link TL-WR902AC for this, it's cheap and has a MAC cloning feature that makes it pretty easy. Unfortunately the firmware isn't updated anymore and it's missing a VPN client, but apart from that it gets the job done.
Comment · 4 years ago
Comment · 6 years ago
Many delivery services are operating, or they could have a caregiver pick it up for them.
Comment · 7 years ago
DoorDash is the worst. They inexplicably banned me from their platform after giving me a credit for a bad order. I filed several support tickets over several months and kept getting canned responses about how they were "looking into the issue." Eventually I just switched to Uber Eats.
Comment · 9 years ago
I was an expecting an article about waterproofing differences between windows that open to the left and those that open to the right. Forgot this was HN.
Comment · 9 years ago
Comment · 9 years ago
I love awk. I used to be afraid of it, but I started using it just to pluck columns, and over a couple years actually started to grok it.

Also, I learned today that cat takes a -n option to prepend line numbers to the output! My solution ended up being

    cat -n faces.txt | sort -k2 -k1n | uniq -f1 | sort -nk1,1 | cut -f2-
Comment · 11 years ago
More convenient for the right index finger.
Comment · 12 years ago
I didn't say it couldn't be questioned. I was just explaining some possible reasons why the patch was so esoteric, and pointing out that things that seem straightforward to MRI hackers often aren't to people who don't dig through Ruby internals every day.
Comment · 12 years ago
It's an optimization hack. By nature, they aren't that nice to look at.

`sym_equal` only makes 2 appearances in the whole codebase (to be bound to `Symbol#==` and `Symbol#===` in string.c), so there's not a whole lot of room for confusion.

Also, this is Ruby core! Smart people do what works and makes sense to them and don't spend a lot of time worrying about how clear it is to us unwashed masses.

Comment · 12 years ago
Actually, he wrote it!
Comment · 12 years ago
It may just be you, but given Docker's youth and novelty, you should expect some frustration. If everything about it seems like a pain in the ass, it might be the wrong tool for your use case.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton