HNHacker News
TopNewBestAskShowJobs

jordanthoms

2,885 karma · joined March 14, 2012

jordan@thoms.nz

Co-founder, Kami - kamiapp.com

submissionscomments
jordanthoms··on Oracle deprecating Java applets in Java 9
If you can have your users install a chrome extension, you can use the native messaging APIs: https://developer.chrome.com/extensions/nativeMessaging .
jordanthoms··on Google Pixel C Review
What networking technology does Chrome OS need? It's entirely possible to write great offline apps for it, they are just built using web technologies so you can use the same code online and offline.
jordanthoms··on Google Pixel C Review
Completely agree - I'm an Android fan, but it is unbelievable that the performance is still such an issue. Even the Nexus 6P drops frames quite regularly, and that's even with it doing much simpler animations than is common on iOS.

You can see this with the Material Design specs as well - the rendered demo videos (e.g. https://www.youtube.com/watch?v=Q8TXgCzxEnw ) from the Design team are amazing, but what's actually been implemented on Android is far less sophisticated and even then they frequently skip frames. Interestingly, many of the Google apps are much closer to the Design specs and perform better on iOS and even on the web, at least in Chrome.

Hopefully this will finally be resolved with the Chrome OS merge (Chrome OS has great performance) - It must be extremely frustrating for the Google Design teams when they can't implement their designs properly on their own platform.

jordanthoms··on You Need More Lumens
It's (probably) enough light to disrupt melatonin production in the evenings, but that doesn't imply that it's enough light to get you to produce Vitamin D etc and help with SAD during the day. Computer screens don't produce much light even compared to a normal bulb.
jordanthoms··on Why Are Corporations Hoarding Trillions?
A landlord may try to increase rent knowing that the tenants now have a basic income, however that creates an opportunity for someone else to provide housing at a cheaper price - it's no different from any other market, as long as you don't have massive supply-side restrictions like in some major cities.
jordanthoms··on Microsoft Drops Prices for Some Azure Instances by Up to 17%
It's expensive if you need decent performance - Isolated Dynos (i.e. running in their own EC2 instance) start at $250/month. We found that the shared Dyno options had significant noisy-neighbour problems.
jordanthoms··on Ask HN: Should I learn Angular 2 in beta or wait for the full release?
The angular 2 beta is already in production use within Google, so I don't think it's going to change that much for the final release. It's also quite different than 1.x, so unless you are going to want to work on migrating or maintaining 1.x projects learning 1.x isn't going to help you that much.

I'm not sure how good the v2 docs are right now (haven't dived into them much yet), but I'd say you are probably best off to start learning v2 now and get a head start - Egghead.io has Angular 2 tutorials up already so you could try those. Angular 2 is looking really good, and seems to be a big improvement in performance and simplicity over the first version, so I'd recommend learning it.

jordanthoms··on Florida Court Deliberates Manual Recount Problems with Touchscreen Voting
It's much harder to manipulate paper votes at scale than voting machines. With paper, people know that the correct vote was recorded (a voting machine could silently change it to something else), and the paper can be protected through a chain of custody with monitors from various groups watching it - and then counted by independent groups.

So the threat model is someone hijacks the firmware in a voting machine to record votes other than what the voter selected, and it's much easier for someone to flip millions of digital bits without being detected than for someone to change the box which is ticked on millions of bits of paper.

jordanthoms··on French Uber drivers have created their own Uber
It's great that they are deciding to compete in the marketplace rather than the courtroom.

It'll be interesting to see if the zero-commission model works for them though - The 20% Uber takes is actually fairly reasonable (and much less than what a traditional taxi company takes from their drivers) when you consider CC fees & Collections, customer support costs, customer acquisition costs, marketing, etc is all covered by that. Uber is spending huge amounts of money on growing the customer base (which is good for drivers as they have a liquid market of ride requests coming in all the time), and a service like this will most likely not be able to invest as much in that since they don't have the commission and investment to pay for it.

jordanthoms··on AMD’s new Crimson drivers accused of burning up video cards
AMD used to do monthly updates, but they were too buggy so they moved to updating less often so they could spend more time testing, but the drivers are still buggy. Rapid releases can help but you can't really solve testing problems with release schedules.
jordanthoms··on The Secret Ingredient in Orange Juice
Do you have evidence for that? I prefer freshly squeezed juice because it tastes better, but processing like this allows for cheap juice to be available in large quantities year-round, which also has value.
jordanthoms··on Scout Launches New Relic Alternative
Interesting - we're using New Relic and reasonably happy, but might give this a try. It'd be nice to get more concrete comparisons on features compared to them - New Relic is a pretty huge product and we use it for things like alerting PagerDuty based on error rates and response times as well as performance, and has lots of powerful reports etc.

Ironically, one of the biggest problems with New Relic is that their interface is bloated and performs poorly :)

jordanthoms··on f.lux for iOS is no longer available
All this passionate advocacy, and they won't even mention that this is allowed on Android (with a few apps doing it distributed through the Play Store) - or build an Android app themselves? I get that people are iOS fans, but there seems like a bit of Stockholm syndrome here.
jordanthoms··on Chrome OS is here to stay
Yeah, from a marketing perspective they'll never say that Android's dead, even if it's quite different underneath.
jordanthoms··on Ten years ago Wikipedia was widely considered a doomed experiment
I imagine their ranking metrics show that Wikipedia pages are very popular with their users, which is why they've steadily moved up in the rankings. It makes sense too - Wikipedia gives a general rundown of a topic in a standard format, so for a initial search to learn the basics of something it's a great destination. Can't see much of a conspiracy here.
jordanthoms··on GTA V – Graphics Study
GTA V's performance and graphics quality when driving around on the PS3 was truly amazing given the hardware, neat to see how they achieved that.
jordanthoms··on Chrome OS is here to stay
Notice that they never say Android is here to stay - Maybe Chrome OS will become the Phone/Tablet OS under a new guise?

Google's working on a new UI layer and potential backwards compatibility for older Android apps, which points in that direction:

- Chromium developers are working on a DART-based Mobile UI framework and execution engine, Flutter (http://flutter.io/). It's looking to be far better than the existing Android UI system - built for touch and 120fps from the start. This uses the Dartium VM and a bridge to allow the DART apps to use all the native features of the platform, it's much more than just another web framework. Development on this is very active right now, clearly a sizable team working fulltime - and they're building new developer tools also. There was a talk on this a while ago: https://www.youtube.com/watch?v=PnIWl33YMwA .

- Google has built a Runtime to allow existing Android Java-based apps to run on Chrome OS, and is currently testing this and working with developers to get their apps to run on it. It doesn't make much sense to invest in building that out just for chromebooks, since the experience on a Chromebook with Android apps is pretty awful (can't resize etc), but it makes total sense if it's going to be how legacy Java/Android apps run on the new Chrome based phone OS.

The sad truth is that Android simply isn't a very well engineered system - it's been improved over time, but problems persist - like the complex update process leading to unsatisfied users and security problems, poor UI performance (even now, Android can barely do simple animations at a steady 60fps on the latest Nexus devices, and has little hope of allowing for the beautiful animations the Material Design team has come up with), and poor battery life. Google's also at a dead-end with Java given the ongoing legal battles, and with Apache Harmony dead they have to maintain the standard library implementation themselves.

On the other hand, Chrome OS performs great, has awesome battery life on Chromebooks, is quite possibly the most secure end-user OS ever, and Chromebooks get speedy updates for at least 5 years. I know which one I'd choose as the basis for a merged OS.

Of course, if the merge is more Chrome OS than Android, they'd be saying exactly what they're saying now - The last thing they want is an Osbourne effect hitting the current Android phones.

jordanthoms··on Google to Fold Chrome Operating System into Android
The Toshiba Chromebook 2 ( http://www.amazon.com/Toshiba-CB35-B3340-Chromebook-Celeron-... ) has a great 1080p IPS screen, 9 hours of battery life, and, from what I can remember when I played with it, a good keyboard and trackpad along with decent build quality, for $290. It's got a decent Bay Trail 8W Celeron processor, and 4gb RAM (there are also models with faster processors). There are Windows laptops around that price range also, but AFAIK none with that combination of hardware quality and specs.
jordanthoms··on Google to Fold Chrome Operating System into Android
Sky (which is renamed Flutter now) is developing fast though and is clearly a well-resourced project. Certainly fits with a preview next year and 2017 release timeframe. It could be one of several projects competing though.
jordanthoms··on Google to Fold Chrome Operating System into Android
What about if it's Android that gets killed, not Chrome OS? Then it'd be a great day :)
jordanthoms··on Google to Fold Chrome Operating System into Android
Seems everyone here is panicking because they think that this means Chrome OS will be killed and Android will be made to run on Chromebooks - but I actually think the signs point to the opposite - Chrome OS becoming the Phone/Tablet OS under a new guise. I wouldn't read too much into a leak filtered through journalists, and instead look at what Google's actually working on:

- Google has Chromium developers working on a DART-based Mobile UI framework and execution engine, Flutter (http://flutter.io/). It's looking to be far better than the existing Android UI system - built for touch and 120fps from the start. This uses the Dartium VM and a bridge to allow the DART apps to use all the native features of the platform, it's much more than just another web framework. Development on this is very active right now, clearly a sizable team working fulltime - and they're building new developer tools also. There was a talk on this a while ago: https://www.youtube.com/watch?v=PnIWl33YMwA .

- Google has built a Runtime to allow existing Android Java-based apps to run on Chrome OS, and is currently testing this and working with developers to get their apps to run on it. It doesn't make much sense to invest in building that out just for chromebooks, since the experience on a Chromebook with Android apps is pretty awful (can't resize etc), but it makes total sense if it's going to be how legacy Java/Android apps run on the new Chrome based phone OS.

The sad truth is that Android simply isn't a very well engineered system - it's been improved over time, but problems persist - like the complex update process leading to unsatisfied users and security problems, poor UI performance (even now, Android can barely do simple animations at a steady 60fps on the latest Nexus devices, and has little hope of allowing for the beautiful animations the Material Design team has come up with), and poor battery life. Google's also at a dead-end with Java given the ongoing legal battles, and with Apache Harmony dead they have to maintain the standard library implementation themselves.

On the other hand, Chrome OS performs great, has awesome battery life on Chromebooks, is quite possibly the most secure end-user OS ever, and Chromebooks get speedy updates for at least 5 years. I know which one I'd choose as the basis for a merged OS.

jordanthoms··on Ask HN: Can you shed some light on calculating growth?
Sorry, but cumulative metrics (which is what total user sessions are) aren't very useful. To quote from http://a16z.com/2015/08/21/16-metrics/ : "Cumulative charts by definition always go up and to the right for any business that is showing any kind of activity. But they are not a valid measure of growth — they can go up-and-to-the-right even when a business is shrinking. Thus, the metric is not a useful indicator of a company’s health."

The more useful metrics are over a time period - like the sessions per month one. Looking at percentage growth over time for a cumulative metric seems pretty meaningless actually - among other reasons, it can never be negative even if your business just tanked.

Monthly Growth usually refers to the growth in a monthly metric per month, and would be 0% in your case.

jordanthoms··on Europe's highest court has rejected the 'safe harbor' agreement
People don't belong to the Government, the Government belongs to the people. If people choose to do business with a company based in a different country they should be able to.
jordanthoms··on Why I’m sitting at home crying on a Saturday afternoon
Apple's had major problems with account hijacks, including accounts of celebrities. There's no easy answers here.
jordanthoms··on New Chromecast 2015
No, there's very limited network configuration available and it's hardcoded to Google's DNS. You'll need to use a static route on your router to redirect that to a different DNS server.
jordanthoms··on Google Nexus 5x and 6P
Three interesting bits of hardware that are in both of these new phones - Nexus Imprint (the fingerprint sensor), the Android Sensor Hub (which appears to be a new chip, but no confirmation on what it is or who designed it), and a very nice camera module which seems to be performing nicely.

I've long felt that a major disadvantage for the Android ecosystem is that the OEMs simply don't have the resources to compete with Apple when it comes to designing new hardware, and it leads to situations where the iPhone is years ahead for certain features. One solution for that is for Google to invest in these technologies and make them available to all the OEMs, a bit like Android but for hardware too. I wonder if that's what is happening here? Looking forward to a teardown.

jordanthoms··on San Francisco Should Always Have a Subway Under Construction
If new construction is allowed though, the people parking money will encourage more development. You can always add another 5 floors to the top of the building which nobody lives in like they do in NYC.
jordanthoms··on OnHub
No experience with Draytek's routers, but I've been happy with their ADSL/VDSL modems (Vigor 120/130). They have some really nice features, like PPPoA -> PPPoE passthrough.
jordanthoms··on OnHub
Seems like a nice router, but the WiFi on that will be much slower - 2.4ghz only and no AC.
jordanthoms··on Patching Rails Performance
Thanks - I wrote this mostly as a braindump of some of the things I discovered in investigating this stuff - We had a period of several months where we were constantly getting timeouts. There's not really a huge amount of really detailed information out there on how the different servers work and the tradeoffs between them.

RE threads on MRI, I think it comes down to what your latency requirements are and the type of work as you said. I'm happy with sidekiq on MRI because it doesn't matter hugely if the process gets bogged down for 60 seconds while a ruby-heavy job runs and the other jobs run slowly - jobs are only pulled from redis when there is a spare thread, and sidekiq jobs won't timeout like web requests do. IO-heavy work will get a boost with threads on Puma, but if you get a single Ruby-heavy request running for 20 seconds serializing something, you are going to get timeouts happen.

I guess it does depend on the type of app you are running - Ours is actually quite Ruby-crunching heavy, because it has to serialize some big json responses, which is still incredibly slow in Rails. Apps which don't have occasional Ruby-intensive requests wouldn't have as much trouble with all this :)

← PreviousPage 9 of 27Next →