HNHacker News
TopNewBestAskShowJobs

keitmo

227 karma · joined September 23, 2010

[ my public key: https://keybase.io/keithmo; my proof: https://keybase.io/keithmo/sigs/m99sDky3GkxQBN3yiDqXlrRWl8PqBFrZw9S4zLxx5-8 ]
submissionscomments
keitmo··on What developers should know about TCP
I often tell people to assume the TCP stack's buffering is arbitrary & capricious and will do the most inconvenient thing for your code. That can mean ether a) dribbling data in one byte at a time per recv() call, or b) buffering multiple megabytes and returning it all in a single recv() call.
keitmo··on The World's Longest Alphabetical Email Address (2004)
I've seen sites that specifically deny @example.com email addresses.
keitmo··on A Practical Guide to Memory Leaks in Node.js
A few years ago we had a nightmarish resource leak in our server. The code in question was reading and parsing HTML, looking for a handful of specific tags (title, description, etc). Under heavy load the server would be stable for a few hours, then memory would suddenly explode and kill the NodeJS process.

The problem was caused by the HTML parser we were using. The parsing results appeared to be a POJO but apparently there was much lurking under the surface.

The fix: `parseResults = JSON.parse(JSON.stringify(parsedResults))`

keitmo··on Senate takes another stab at privacy law with proposed COPRA bill
Maybe the'll trim it down and call it COPRA LITE.
keitmo··on We ‘may’ have discovered a potential remedy for tinnitus
I have a double hit of tinnitus.

The first hit started in 2010, a neurological "gift" from the swine flu.

The second hit happened in 2013 while mounting a new tubeless mountain bike tire. The tire blew off the rim and caused permanent hearing damage in my right ear.

I have to sleep with a fan or white noise machine now -- the "sound" I hear in a silent room is enough to keep me awake.

keitmo··on The Power of Shower Thoughts
This is one of the many reasons I love bike commuting. I solve many work-related problems while I'm riding.
keitmo··on Cats Cannot Taste Sweets (2007)
One of our cats loves to lick the adhesive side of packing tape.
keitmo··on The Crash of United Flight 232 (2017)
Yes, exactly.

I attended a presentation by Captain Haynes back in the early 90's. He showed several photos of the DC-10's hydraulic system. In many places the triple-redundant hydraulic lines were parallel and in close proximity to each other, close enough to be taken out by a single piece of shrapnel from an uncontained engine failure.

keitmo··on [dead]
AC/DC "Hells Bells"
keitmo··on Eating reindeer meat
Exactly my experience in Alaska. Just a bit gamey, but I would definitely try it again.
keitmo··on The Organ of the Universe: On Living with Tinnitus
I developed tinnitus in 2009, a neurological "gift" from a case of swine flu. (The other gift was chronic paroxysmal hemicrania, a nightmarish migraine-like condition that threatened to destroy my life until I got it under control with medication.) The tinnitus was exacerbated a few years later after a freak accident while inflating a mountain bike tire. The tire exploded off the rim, more-or-less directly into my right ear. I'm now partially deaf on that side, but of course I hear the tinnitus load & clear.
keitmo··on Show HN: Evilpass – A slightly evil password strength checker
I had something similar happen on a financial site years ago. The logon page silently truncated passwords to N characters, while the password reset page silently truncated to N+1 characters. My default randomly generated password length was, of course greater than N+1.
keitmo··on An administrator accidentally deleted the production database
The "Other" Moore's Law:

Backups always work. Restores, not so much.

keitmo··on AlphaGo beats Lee Sedol again in match 2 of 5
That quote reminds me of "The Two Faces of Tomorrow" by James P. Hogan. One of the subplots is that humans can communicate because of shared experience. We all must eat, sleep, breathe, seek shelter, etc. Communication with an alien or artificial intelligence may be difficult or even impossible without this shared framework.
keitmo··on Mark Zuckerberg Backs Apple in Its Refusal to Unlock iPhone
I'm not much for conspiracy theories, so I decided to make my own.

<tinfoil> What if the FBI's request is just a ruse to obscure the fact that the NSA has already unlocked & decrypted the phone and found evidence needed in the criminal charges? </tinfoil>

keitmo··on Major Linux Problems on the Desktop, 2016 Edition
Autoruns: https://technet.microsoft.com/en-us/sysinternals/bb963902.as...
keitmo··on Apollo 11: The computers that put man on the moon
No mention of Margaret Hamilton? Inexcusably lame.
keitmo··on Ask HN: What happened to Express.js?
I can't explain the lack of repo activity, but Strongloop did publish an Express 5 article recently: https://strongloop.com/strongblog/moving-toward-express-5/
keitmo··on Linux on an 8-bit micro (2012)
I haven't seen software-based DRAM refresh in a long time. Well done!
keitmo··on Xkcd: Airfoil - So what's the right explanation?
As a private pilot and Cessna 182 owner I can say, with absolute authority, you're all wrong.

Planes don't fly because of the Bernouilli Effect, or the Coanda Effect, or angle attack, or any of these other technical explanations.

Planes fly because of money. As soon as you stop throwing money at them, they stop flying.

Ask any plane owner and I think they'll agree.

keitmo··on Dropbox never deletes cache files
Which version? FWIW, I'm running the latest forum build (0.8.107) under Windows 7 and it periodically purges its cache as expected.
keitmo··on Tiny IP stack, small enough to fit in a "tweet"
Not only is it nonfunctional, it's also at least 8 bytes longer than it really needs to be:

short s[70];*l=s;t;main(){for(;;){read(0,s,140);if((s[4]>>8)==1&s[10]==8)s[10]=0,s[11]+=8,t=l[4],l[4]=l[3],l[3]=t,write(1,s,140);}}

I feel so dirty now.

← PreviousPage 2 of 2