HNHacker News
TopNewBestAskShowJobs

ryanatkn

67 karma · joined September 14, 2012

submissionscomments
ryanatkn··on Data Suggests the Language of the Future Could Be French
"The study’s methodology is somewhat questionable, since it counts as French-speakers all the inhabitants of countries where French is an official language, which probably won’t be the case. And almost certainly, as a second language, English will remain the lingua franca"

Sounds like the study measures colonial vestiges and not real world usage.

ryanatkn··on Authentication Cheat Sheet
Doesn't almost every service leak users at sign up? There are ways around it but I don't think they've very common.
ryanatkn··on Tuxedo.js – A Framework Built on React and Flux
Same. Flux is really simple and most of the implementations just remove some boilerplate and add some conventions. Given more time there might be a framework that has everything that I want, informed by comprehensive, mature, real-world use cases, but I haven't yet seen anything compelling enough in the dozen or so libraries I've looked at. I've found a lot of value in having granular control so I can explore different conventions and optimizations.
ryanatkn··on Io.js 1.0.0
From https://github.com/iojs/io.js

> Is it io.js or IO.js or iojs or IOjs or iOjS?

> The official name is io.js, which should never be capitalized, especially not at the start of a sentence, unless it is being displayed in a location that is customarily all-caps (such as the title of man pages.)

ryanatkn··on Class Hierarchies? Don't Do That
> Haskell has what it calls types

I think you mean typeclasses?

One of the things that always bothered me about interfaces was the inability to define a default implementation, especially when developing UIs. A proper mixin system (like what's used by React's components) has solved this particular problem for me.

ryanatkn··on Why CoffeeScript Isn't the Answer
LiveScript fixes scoping and adds a ton of other nice features including let and const variable declaration keywords.
ryanatkn··on Why CoffeeScript Isn't the Answer
The only gripe I share is scoping, and that's fixed in LiveScript. I've started writing LiveScript in a fairly explicit style - for example I use parentheses where they improve readability and I always use curly braces for object literals. Qualitatively I think it's increased the readability of my code way beyond JavaScript. It's nice to have curly braces carry specific meaning instead of being littered all over the place.
ryanatkn··on Facebook shares fall 7% on Oculus deal
It's far from precise but I'd maintain it's useful to illustrate that if Oculus is a success, Facebook made a great buy.
ryanatkn··on Facebook shares fall 7% on Oculus deal
I qualified it as 0.666x projected sales (intentionally not rounded >:), so yeah that 10M was a projected figure, which unfortunately I can't find the source for. By the end of 2015 I think Oculus will look like a steal, unless the goodwill is shot.
ryanatkn··on Facebook shares fall 7% on Oculus deal
No, revenue. For example Google's P/E (the equivalent profit ratio) is currently 31.4, and that's not including the control premium.
ryanatkn··on Facebook shares fall 7% on Oculus deal
A premium? Figures I saw were 10M units at $300. That's 0.666x projected sales, when 2-3x is the norm for mature companies.
ryanatkn··on The Best Tools for UI Hacking (not jsFiddle)
Another interesting one is RequireBin[1]. It lets you require npm modules from the browser via browserify and browserify-cdn.

[1] http://requirebin.com/

ryanatkn··on Why I Dropped Out Of YC
I'm curious how the OP found his startup partner(s) and what the irreconcilable differences were.
ryanatkn··on How I want to write Node: Stream all the things
JS devs rely heavily on libraries to do things that most programmers would expect the language to handle. $ and _ have been adopted as toolkit identifiers and are littered throughout most JS codebases. Highland does much of what one would expect from _ via Underscore/Lodash. I'd bet most people think they improve readability.
ryanatkn··on The Facebook Comment That Ruined a Life
Not sure why this article doesn't include a seemingly important detail, but it was widely reported that Justin ended his comments with "LOL" and "JK". Mens rea indeed.
ryanatkn··on A Clojure Crash Course
cljs <-> js http://himera.herokuapp.com/synonym.html
ryanatkn··on Study linking GM maize to rat tumours is retracted
Seems the main criticism is sample size - what was it?

> showed “no evidence of fraud or intentional misrepresentation of the data”, said a statement from Elsevier, which publishes the journal. But the small number and type of animals used in the study means that “no definitive conclusions can be reached”.

The type of animal is the same as used in the compared Monsanto study, so that seems shaky.

ryanatkn··on Kofi Annan: Stop 'war on drugs'
"Ten Years After Decriminalization, Drug Abuse Down by Half in Portugal"

http://www.forbes.com/sites/erikkain/2011/07/05/ten-years-af...

ryanatkn··on For modern development Javascript indeed is a shit language
Have you seen Wisp? [1] It's a minimalist approach with Clojure syntax. For me it may be the next step after CoffeeScript, which I believe has subtly brainwashed me into loving the lambda.

[1] https://github.com/Gozala/wisp

ryanatkn··on Stanford Ovshinsky: the greatest scientist you've never heard of?
This interview with Ovshinsky has some interesting stuff. [1] He talks about his motivations being socially driven, his vision of how humanity can use science and technology to make our world better, how a car company reduced his 201 mile range electric car (which happened to be his very first prototype) to a 125 mile one at retail, and how it might be a bad idea to go into business with an oil company if their long term strategy is counter to yours. Neat guy.

[1] http://www.youtube.com/watch?v=Yh4KuCVlF14

ryanatkn··on Bounding the speed of ‘spooky action at a distance’
This is ignorant speculation, but what if the interaction doesn't depend on distance, and instead always takes the same fixed amount of time? What if that delta t is equal to 1 plank time, one tick in the cosmic 3D simulation? Of course that's an advanced experiment to run, but the implications would be fun.
ryanatkn··on Show HN: Nutrients Per Calorie, a web interface to the USDA foods database
Thanks for the feedback!

Yes, that's correct, but everything is relative. The recommended daily intake is the recommended nutrient amount divided by 2000 calories, and this value is then compared against every other food. The bars for each nutrient are calculated according to the formula ((nutrient/calorie)/maxValue), where maxValue is the highest (nutrient/calorie) in the comparison set, and the result is a percentage of the maxValue, and is the percentage the bar is filled. So it's all relative - the highest value will always be a full bar. If something has half as much per calorie, the bar will be half-full. On the nutrients page, there is no daily value that's being compared against - it's just foods against each other.

Measuring something per-serving isn't something that you can glean from the data as presented. For amaranth, if you compare it to the recommended daily intake, you'll see a full bar for amaranth and just a sliver for the recommended daily intake, meaning 2000 calories of amaranth would have way more calcium than you need. More usefully, the app can show you how amaranth compares against other foods to help you make choices. I'll think about how per-serving data could be included - thanks!

ryanatkn··on Hello Chrome, it’s Firefox calling
If anyone is interested I just published a Kickstarter project for Mydentity, which combines WebRTC and Mozilla Persona into a non-profit private messenger.

http://www.kickstarter.com/projects/ryanatkn/mydentity-is-a-...