HNHacker News
TopNewBestAskShowJobs

garethadams

545 karma · joined February 6, 2012

[ my public key: https://keybase.io/garethadams; my proof: https://keybase.io/garethadams/sigs/1VgdSoHttynfXzVJglYPv-SGWjkSXi7dtbp0U8uj1Yc ]
submissionscomments
garethadams··on The Physical Web
There's no reason it couldn't mean that anyway - if a device is open to the Internet then the URL it serves via Physical Web could easily be its own. But it allows for less-smart devices too.

The biggest problem I can see, as with all proximity devices, is spoofing. How do I know the item listed as "Bus Stop" is actually the bus stop, and not someone's malicious Raspberry Pi hidden in the bush next to it?

garethadams··on Unavoidable patterns in strings
That would be valid, but '0' is a shorter substring that appears consecutively
garethadams··on How a new HTML element will make the Web faster
The browser knows about the device it's running on, and specifically its display density.
garethadams··on Siri’s Inventors Are Building a New AI
You can also ask this query directly into Google's knowledge graph[1] - but the point still stands that Google doesn't have a way to formulate that query directly from a natural language sentence.

[1] http://www.freebase.com/query?lang=%2Flang%2Fen&q=[{%22id%22...

garethadams··on Facebook emotion manipulation study: an explanation
Has someone told Fox News?
garethadams··on The security hole I found on Amazon.com
Rails 4 includes that as a default header[1] and has done since August 2012[2]

[1]: https://github.com/rails/rails/blob/master/guides/source/sec... [2]: https://github.com/rails/rails/commit/2a290f7f7cdf775491eda0...

garethadams··on The URL shortener situation is out of control
That assumes that every user gets the same "long" URL for a particular "short" URL (and that every 30x corresponds to a short-to-long redirect). It falls down where a URL depends on geolocation or time sensitivity.
garethadams··on Self-Destructing Cookies
People complained that cookies were being used by advertisers to track them.

The EU decided to take action by mandating that companies make it visible when this was happening, in the Directive on Privacy and Electronic Communications[1].

Since it's technically impossible to allow the benefits of cookies without opening privacy holes, I don't really know what else privacy campaigners were hoping to achieve.

[1]: http://en.wikipedia.org/wiki/Directive_on_Privacy_and_Electr...

garethadams··on Transport for London – New responsive website
From what I remember from the old API site, it is information freshness.
garethadams··on Why is git pull considered harmful? (2013)
Posting good answers to get rep is not exploitation of the reputation system; it is the reputation system "exploiting" users
garethadams··on This website has a lot of unclosed h3 tags

    //text()[contains(.,'Dull needles')]
garethadams··on The new PHP
Has PHP decided whether it's a language or a framework yet?

EDIT: To clarify, a framework like Rails definitely has a place for including a web server.

Now Ruby has a lightweight web servers in its standard library (but not its core library). Maybe the problem people are seeing with the web server (and it's not a new problem) is the way PHP's core library contains so many things that other languages would leave out as optional includes.

garethadams··on Google’s suggestion for a better infinite scroll?
All of the links in the footer are also at the bottom of the right-hand main column
garethadams··on To close or not to close – Void HTML elements
The take-away from the article should be "…because now I understand the issues", and not "…because Google says so"
garethadams··on GCHQ intercepted webcam images of millions of Yahoo users worldwide
I think you may have got the wrong story here
garethadams··on Was the iOS SSL Flaw Deliberate?
I think I'll apply Betteridge's law[1] to this one.

[1]: http://en.wikipedia.org/wiki/Betteridge%27s_law_of_headlines

garethadams··on How The Guardian successfully moved its domain to theguardian.com
See for yourself - https://github.com/guardian/frontend
garethadams··on Apple SVP of Design Jony Ive Removed from Leadership Webpage
If it was this leadership page[1] (linking through to an individual profile[2]), seems like it's back already.

[1]: http://www.apple.com/pr/bios/

[2]: http://www.apple.com/pr/bios/jonathan-ive.html

garethadams··on 3D GIFs Created with a Simple Visual Effect
I forgot that no one works on a Sunday
garethadams··on I No Longer Need StackOverflow
The difference here is the difference between just seeing how something works and feeling how it works. There are a lot of people who are able to just read things and absorb them into their mindspace, but I feel that for the majority the 'click' doesn't happen until you try it yourself.
garethadams··on I No Longer Need StackOverflow
> Are there really people who check Stackoverflow every single day of programming?

http://stackoverflow.com/help/badges/83/fanatic

garethadams··on 37signals becomes Basecamp
Christian men too. Call the small-sample police!
garethadams··on Interviewing a front-end developer
And any interview technique that involves "real world" problem solving is criticised for being too contrived.

And any interview technique that involves the candidate actually working on production code it criticised for being exploitative and effectively slavery.

garethadams··on Amazon, the time has come to give you a key
Based on Airbnb's trends[1], the only way the number can be "vanishingly small" is if an even greater number of people are deliberately stopping these behaviours. Where are you seeing that happening?

[1]: https://www.airbnb.co.uk/annual

garethadams··on Bill Gates loses to Magnus Carlsen in 9 moves
Bill Gates already won all the Monopoly in 2001
garethadams··on A command-line murder mystery
I guess she's not important. What let you to suspect her?
garethadams··on Telegram protocol defeated. Authors are going to modify crypto-algorithm
The best part was when he copied it from your quoting of his message, but removed the "not" that came before it
garethadams··on Telegram - secure, free messaging
Depending on your definition of "decentralised", open sourcing the code would enable other people to set up servers that they can trust is running that code.
garethadams··on Dizzying but invisible depth (2011)
You might have put [2011] in the title in that case. But it's still an enjoyable article :)
garethadams··on The lie of the API
> My take on that particular issue is that you accept headers, offering them as the supported way of interaction, but extensions or other content-type declaring suffixes as convenience

This is exactly what Rails offers by default, actually. Although you (can) declare your code using a `wants.csv { … }` format, it's mapped to both the extension and the corresponding Accepts MIME type. (with the Accepts header taking precedence over the extension, I believe)

← PreviousPage 2 of 6Next →