HNHacker News
TopNewBestAskShowJobs

hmemcpy

37 karma · joined April 6, 2011

[ my public key: https://keybase.io/hmemcpy; my proof: https://keybase.io/hmemcpy/sigs/sfpxjTVhROQJt2d4JmxgUqsn_WLmOYrmmJ8zYrmGK18 ]
submissionscomments
hmemcpy··on Show HN: I made an Imgur plugin for Snagit, screengrab tool
Several times a day, actually! I'm on twitter, and I often bitch about the finer things about my dayjob (software development), usually accompanied by screenshots... So it's very handy indeed!
hmemcpy··on Show HN: PlaintextOffenders API and Searchable Database
Whoa! This is incredible! Great job mate!
hmemcpy··on Passwords in plain text
Hi, I'm @hmemcpy, @omervk's partner in crim^H^H^Hplaintextoffending :)

One of Such Volunteers (wow!) made a Chrome Extension that scrapes addresses from PTO and shows you a red banner if you're on a site that's featured PTO!

https://chrome.google.com/webstore/detail/plain-text-offende...

hmemcpy··on Plain-Text Offenders Hits 1000
Yeah... We're working on a "proper" site (with proper API). It will be up soon, but it's taking its time :(
hmemcpy··on Where unit testing fails
Sorry for the late reply.

That's an interesting question - would a unit test prevent this error? To answer this, let's consider what happened: the database didn't respond in an appropriate way, and probably returned an error. I'm not exactly sure what exact error was displayed, but WordPress has caught this situation, and handled it the best it could - displaying a proper error. I would write a unit test for this exact scenario - using a fake (mock) object, simulate the database timeout, and make sure that the error was caught and handled appropriately. Other then that there's no real other way to gracefully recover.

hmemcpy··on Where unit testing fails
Sorry, my hosting is probably not... used to any traffic :) Should be ok now...
hmemcpy··on Plain Text Offenders - Did you just email me back my own password?
It's already planned :) Stay tuned!
hmemcpy··on Plain Text Offenders - Did you just email me back my own password?
Just make a tumblr page for it :) Seriously, not including setting up a domain it takes about 15 minutes...