HNHacker News
TopNewBestAskShowJobs

jenrzzz

133 karma · joined July 11, 2010

Maker of things, dreamer of dreams.

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

submissionscomments
jenrzzz··on Crimes with Python's pattern matching
Why the heck is

    case Not(DistanceMetric)():
a syntax error?
jenrzzz··on To Ruby from Python
It's always a method. Ruby doesn't expose instance variables unless you define accessor methods for them.
jenrzzz··on Tunneling Wikipedia through WhatsApp to (maybe?) get around WiFi restrictions
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.
jenrzzz··on Repulsive Surfaces
If you liked this, you'll probably enjoy this video exploring how to turn a sphere inside-out: https://www.youtube.com/watch?v=OI-To1eUtuU
jenrzzz··on Elon Musk reopening Tesla factory despite Alameda County order
Many delivery services are operating, or they could have a caregiver pick it up for them.
jenrzzz··on DoorDash confirms data breach affected 4.9M customers, workers and merchants
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.
jenrzzz··on Sliding right into disaster: Left-to-right sliding windows leak
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.
jenrzzz··on Automated snare drum made to the order of Aphex Twin (2014)
The Hit AnyThing bot is pretty cool too. You can hear them both on "Computer Controlled Acoustic Instruments pt2 EP" (2015).

http://www.logosfoundation.org/instrum_gwr/HAT.html

jenrzzz··on Show HN: Command Line Challenge
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-
jenrzzz··on Huawei Watch
More convenient for the right index finger.
jenrzzz··on Making Ruby Faster
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.
jenrzzz··on Making Ruby Faster
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.

jenrzzz··on Making Ruby Faster
Actually, he wrote it!
jenrzzz··on Ask HN: Is it just me or why does Docker suck so much?
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.
jenrzzz··on How can an introvert Asian engineer like me make friends?
"Did you see that ludicrous display last night?"
jenrzzz··on The Magic of strace
ftp://crisp.dyndns-server.com/pub/release/website/tools/trace-20140126-x86_64-b95.tar.gz works too if it makes you feel any better.
jenrzzz··on Are Your Programmers Working Hard, Or Are They Lazy?
That's why you need to find a bricklayer with a O(1) bricklaying technique.
jenrzzz··on CAR and CDR
You can use symbolic modes in chmod too if you can't remember the octal representation. For example, you could set 0755 with "u=rwx,go=rx."
jenrzzz··on Why You Shouldn't Interrupt a Programmer
Mirror: http://heeris.id.au.nyud.net/2013/this-is-why-you-shouldnt-i...
jenrzzz··on An Aspiring Scientist’s Frustration with Modern-Day Academia
http://www.readability.com/articles/ace2uwfz
jenrzzz··on Here is a puzzle entitled "lowercase"
8b) cebhfg

I guess that's it. And fun times were had by all.

jenrzzz··on Here is a puzzle entitled "lowercase"
How many red fish are there?
jenrzzz··on Here is a puzzle entitled "lowercase"
Just got it, finally! Gotta check your assumptions.
jenrzzz··on Here is a puzzle entitled "lowercase"
4a) bgure.ugz

4b) bagureha.ugz (Pink Floyd!)

5a) vgevrq.ugz

5b.1) ohevrq.cat

jenrzzz··on Here is a puzzle entitled "lowercase"
Adam is #7
jenrzzz··on Rogue employee fired for turning game into Bitcoin mining colony
You might be assuming too much of them. ESEA's client is barely hacked together and, like most other anti-cheat software, uses some nasty methods to detect cheating. I wouldn't be surprised if their other development processes reflect on that.
jenrzzz··on Signs that you're a good programmer
I believe that's synecdoche.
jenrzzz··on Living with HTTPS
Google Cache mirror if anyone needs it: http://webcache.googleusercontent.com/search?q=cache:http%3A...