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 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.
alistairjcbrown··on There's A Gold-Dispensing ATM on West 57th Street
Conceptually, is this an ATM or a vending machine?
alistairjcbrown··on Reusing require.js modules in Node.js with AMDrequire
Ah, thank you - I misunderstood the crucial piece "load AMD modules like ... they were native Node modules".

I guess I can see the value in this, if you're retrofitting a new module in the AMD style to an existing node application which does not use that style.

alistairjcbrown··on Reusing require.js modules in Node.js with AMDrequire
+1 - this is why I love requirejs - lazy load modules in development, compile for QA and deployment.

Update: My other love for requirejs is that you don't need to use relative paths when requiring a module. Once you have a relative path, you can't change the location of either dependant or dependency. The require config lets you separate what you call the module from the location of the file.

alistairjcbrown··on Reusing require.js modules in Node.js with AMDrequire
How does this differ from the requirejs module for Node?

https://www.npmjs.org/package/requirejs

alistairjcbrown··on So, leboncoin.fr doesn't like my email alert webapp
That's a bad idea - doing that shows intent to circumvent an intended block.

See the last notable case "Craigslist v. 3Taps": http://en.wikipedia.org/wiki/Computer_Fraud_and_Abuse_Act#No...

alistairjcbrown··on Google Nest Parody Protest
They really did nail that site - it feels very Google.

Also, I'd love a Google Bee ^_^

alistairjcbrown··on Bad Password Policies
IIRC Facebook creates three passwords to deal with character case issues; the one you enter, an inverted case version and a version with the first characters case inverted.
alistairjcbrown··on Nerdsniping: A glimpse into a stubborn mind
> I guess we’ve messed with the prototype too much, and JavaScript isn’t really convinced it’s still a proper number anymore.

You're comparing a literal number with an object, which are not the same type.

  2 === new Number(2)
  // => false
  2 == new Number(2)
  // => true
alistairjcbrown··on LastPass Now Checks If Your Sites Are Affected by Heartbleed
[Citation needed]
alistairjcbrown··on Resume Republic – Awesome Online Resume Templates
I write my resume / CV in HTML & CSS and have PhantomJS convert it to PDF. I found this gives great control and lets you style to your hearts content with whatever you can get off the web.

Shameless plug - I build a basic setup with Grunt to do live conversion so I can edit the HTML/CSS and see the result instantly on save. It's also set up to run simple scripts on rasterising, like creating a citations list or adding a "generated on" date https://github.com/alistairjcbrown/html-pdf-live-conversion

alistairjcbrown··on Google's Nest Stops Selling Smart Smoke Alarms Over Fire Safety Concerns
> it performs to the standards that are expected

The company have said it doesn't - there is a potential that the device will not alert when smoke is detected because of a false positive when detecting waving. The feature actively affects the performance if the device which is why it is being disabled.

alistairjcbrown··on Google's Nest Stops Selling Smart Smoke Alarms Over Fire Safety Concerns
- That my faith is slightly shaken; simple smoke detectors are tried and tested, this is a little more wildcard

- That I've paid for a smoke detector that doesn't do the same as was advertised when I purchased it,

- That Nest have said "We're stopping these from being purchased until we fix them", not "As soon as you install it, it'll download a patch that turns off the wave feature. What's the problem?"

alistairjcbrown··on Google's Nest Stops Selling Smart Smoke Alarms Over Fire Safety Concerns
sigh I just ordered one of these and was really looking forward to it :(

As a safety device, it's a no brainer - I have to return it until it's rock solid. I can't knowingly replace my existing smoke detector with one which has the potential to under perform.

alistairjcbrown··on Coinbase user emails and full names leaked
Warrant Canary

http://en.wikipedia.org/wiki/Warrant_canary

alistairjcbrown··on Inside the Guardian’s CMS: meet Scribe, an extensible rich text editor
I'm surprised not to see Aloha editor [0] in their list of "Existing Solutions".

[0] - http://www.aloha-editor.org/

alistairjcbrown··on What Dreams May Come
Same: UK too and employer provides life insurance.

But when I bought a house, I was advised to get insurance cover specifically for the amount of debt remaining on the house; the policy lasts the length of the mortgage and pays out whatever is debt is outstanding.

alistairjcbrown··on NodeJS 5 KEY Things I Wish I Knew Earlier.
Points 3, 4 and 5 don't seem particularly NodeJS specific.

For point 2, as you say, NodeJS is built around packages and has npm bundled for easy dependency management. I'm surprised you didn't bump into this information more quickly as you were researching NodeJS as a technology.

For me, point 1 is the interesting piece of this article; when working with scripting languages, I've always worked with code editors like Sublime Text 2 and Notepad++. I'd be interested to hear more about your use of an IDE; pros / cons - what areas of development you found it improved and where it get in the way.

alistairjcbrown··on [dead]
Flanders and Swann - The Gnu Song http://www.youtube.com/watch?v=OPgo6s1lBbw
alistairjcbrown··on Facebook can now read your texts
Yes there is. It's called "Permissions Manager" and is available through the Samsung app store.
alistairjcbrown··on Amazon Wants to Ship Your Package Before You Buy It
In the UK at least, no - they would be unsolicited goods and you have no obligation to send them back or pay for them.

http://www.adviceguide.org.uk/england/consumer_e/consumer_co...

Edit: In the US it looks like it's illegal to send you something you didn't order unless it's a sample or from a charity.

https://postalinspectors.uspis.gov/investigations/MailFraud/...

alistairjcbrown··on Show HN: tyto
As many other have said, this looks similar to Trello. It may be worth looking into how they have their UI set up.

Noticeable differences - In trello, the button which will action something is located close to where you would expect the result.

eg. The new card functionality is at the bottom of the column, the new column functionality is in the top right. Further "more advanced" functionality is hidden in drop down menus for which the indicator appears on hover.

alistairjcbrown··on Github.com unavailable due to a large DDoS attack
Couldn't they use something like cloudflare to have the IP point to local servers? Then the traffic is split on location, with each edge server taking only local requests. That should greatly reduce the incoming traffic, at which point they can try to filter out the 'bad'.
alistairjcbrown··on The Coming Dropbox Apocalypse
> It is not a mass file backup system.

You say that, but then why do they sell personal plans for 100, 200 or 500Gb storage? That sounds like it's targeted for mass file backup to me.

alistairjcbrown··on Crowdfunding the Ubuntu Edge will fail
You're completely right - to me the phone is worth $600-650 because that's what I could have bought it for early on.

There's no way they'll get me to shell out +$200 now. The reward system feels like penalising those who back late, rather than rewarding those who back early.

alistairjcbrown··on Observations from a Tipless Restaurant
Coming from the UK, added service charges always annoy me (unless it's for large parties). A tip is something that I volunteer to express gratitude for a good experience. It is also something I can refuse if the experience is bad. Forcing a service charge assumes I will pay X% more than the price I have been shown regardless of experience.

However, that view is based on the UK system where minimum wage for the serving staff is enforced and where tip pools are allowed.

alistairjcbrown··on Ad-free Outlook and Hotmail ($19.95)
And yet there must be a reason Google Apps for Business does so well; it's cheaper and easier to have a dedicated company manage email (as well as other services, eg. docs, IM), especially if they are critical to your business infrastructure.
← PreviousPage 2 of 2