HNHacker News
TopNewBestAskShowJobs

alistairjcbrown

166 karma · joined April 26, 2012

he/him, software engineer

---

[ my public key: https://keybase.io/alistairjcbrown; my proof: https://keybase.io/alistairjcbrown/sigs/GOQlXYbomd3yg9iEbKD3zrAafarexe8uGJ-JuwYKfMc ]

submissionscomments
alistairjcbrown··on Cool URIs don't change (1998)
Jeremy Keith's 11 year long bet against cool URLs (specifically on longbets.org) comes up next year -- and it looks like he might lose it https://longbets.org/601/
alistairjcbrown··on Who Owns England?
And Wales; it seems to show data across Great Britain
alistairjcbrown··on What should go into JSX 2.0?
You'd have to spread in the object, right?

<Component {...{animal}} />

alistairjcbrown··on LastPass: design flaw in communication to privileged components
I believe it depends on the settings for that entry - from "auto log in", "auto fill", "fill in when selected from menu" to "require master password before filling in"
alistairjcbrown··on EU Referendum Results
"16.8 million votes needed to win referendum" - so there would therefore be ~33.6 million votes in total.
alistairjcbrown··on Google Fonts Redesigned
I'd love to see a search interface for all webfonts, powered by an open database of data from across all the major webfont providers. If this interface is independent of Google fonts, then you can apply it to any set of font data.
alistairjcbrown··on Cool URIs don't change (1998)
I remember Jeremy Keith talking about this at dConstruct conference; he put a bet on Long Bets that the URI of the bet wouldn't change [0]

[0] - http://longbets.org/601/

alistairjcbrown··on Zoe, a New Smart Home Hub That Lets You Control Your Data
It's unfortunate, but I have no faith in crowd-funded hardware. There's plenty of "according to" and "promises" in that article for me to want to take any claims with a very healthy pinch of salt.
alistairjcbrown··on From Karma to Mocha, with a taste of jsdom
It feels like there's a little bit of comparison mismatch here - I would equate Jasmine to Mocha, as they're both test frameworks, whereas Karma is a test runner. Mocha comes with a test runner OOTB, but you can also run Mocha tests with Karma.

One of the things I like about Karma is the ability to run the test suite in a number of browsers. We run our suite in Firefox, Chrome and PhantomJS as part of the CI setup.

I wonder if it wouldn't have been possible to set up a complementary test runner which allowed your Jasmine tests to be run with jsdom? That would give you the speed increase, but without needing to port, and would have allowed you to still leverage Karma when needed.

However, a good read and the Karma bootup time is certainly a pain point I've felt!

alistairjcbrown··on Monitor your local network with Raspberry Pi
Do many routers make that data easily accessible for automated use? From my experience, it requires work to get at that data.
alistairjcbrown··on Monitor your local network with Raspberry Pi
This is nice way of getting the live device data out from the router - I've made a few scripts in the past for logging into the router web interface and scraping connected device data as a "Who's in the house" display.

Pulling the DHCP functionality out into something more accessible is a great idea!

alistairjcbrown··on Monitor your local network with Raspberry Pi
Right - but if you're bolting on a Raspberry Pi, there's no way for it to know "live usage of WiFi" - only the router knows that
alistairjcbrown··on The Internet of Way Too Many Things
That's not true - you're meant to test your smoke alarm weekly. Also false alarms can be the smoke detector acting correctly to the presence of smoke, eg. Burnt toast.

In this case the ability to remotely check the alarm status from a self check, or to remotely snooze a false alarm while clearing the smoke can be very handy

alistairjcbrown··on Class action lawsuit filed against Lenovo over Superfish
That was one of the selling points to me for the Nexus line; not perfect, but Google's vision of Android without any of the manufacturer's extras
alistairjcbrown··on The Maker of the Trollface Meme
The irony being that even the article had an image from god knows where

> Image Credit: Adam Sandler (Unknown, please let me know!)

alistairjcbrown··on In-browser Redis
Does not support `flushdb` or `flushall` - I assume these had to be commented out?
alistairjcbrown··on Ask HN: What is this triangle in the Philippines?
It'll be a map error; last year they removed one of the Scottish islands by mistake - http://www.bbc.co.uk/news/uk-scotland-glasgow-west-23331456
alistairjcbrown··on Secure Mail for Devs
Looks interesting, but without more details on what you can configure or how much it will cost, it's hard to get excited.
alistairjcbrown··on Why Warren Buffett Just Bought Duracell
Can't scroll down on my phone; dolphin browser on an S3. On top of the multiple certificate errors, it's not a great experience from such a major site...
alistairjcbrown··on How to write a developer resume that will get you hired
"Your CV should be about three pages" - I had always been told, keep your CV to two pages, so you can print it on one sheet of paper (both sides).

I like it as it ties back into the main message of these slides: "reading CVs is a chore" so keeping it condensed helps me to focus with showing only the most valuable information.

alistairjcbrown··on Show HN: Improving WhatsApp
I was just about to comment this. Seems it's a pretty common misunderstanding.

AFAIK the only way to know if someone's read your message is to assume based on their last time online.

alistairjcbrown··on Show HN: Sail boat simulation – try to sail into the wind
I like that it shows the air which has hit the sail and then spilled off, or "dirty" air. It's a good indication of why you don't want to be sailing behind a boat you are trying to catch!
alistairjcbrown··on How Your Bank is Tracking Your Phone
I was just thinking this; banks take their time to issue a new card.

What're the odds that a new card was ready to go and posted (and that Royal Mail delivered it next day?) due to one questionable use?

alistairjcbrown··on Dot-clipboard – Monitor your clipboard and run scripts based on its content
It may be worth adding a section to your readme with the dependencies you use / how it works.

I had a look at the code because I was curious about how Javascript could interact with the clipboard. I can see that you use "clipboard-watcher" which in turn uses "NodObjC" - which also explains why this is OSX only.

alistairjcbrown··on BitPay's New Plan
That's a great analogy!
alistairjcbrown··on Open Source OCR in JavaScript
Interesting - I've had the Project Naptha (http://projectnaptha.com/) Chrome extension installed without really looking under the hood. Turns out it has Ocrad.js and Tesseract as two engine options - it uses them to automaticaly convert images on the page to selectable text.
alistairjcbrown··on Open Source OCR in JavaScript
Looks like underscore character ("_") is used when the letter can't be determined - so in fact it had no idea what your "S" was ^_^
alistairjcbrown··on Banned for Life
"helping others access content in ways that you have not been given permission" - That doesn't sound like what he did.

The videos were uploaded to YouTube and he used the YouTube API to display those videos as part of his app.

alistairjcbrown··on Banned for Life
Eh? Did you read the post?

"I wrote a simple YouTube client app using the latest YouTube APIs" - The content was not pirated, he created an app with one purpose; to allow you to play videos from one particular YouTube channel.

alistairjcbrown··on Introducing the Revert Button
This is an awesome feature - not one you'll use every day, but one that's very convenient when you've made an oops.
Page 1 of 2Next →