HNHacker News
TopNewBestAskShowJobs

robmcm

1,077 karma · joined October 12, 2011

submissionscomments
robmcm··on Idiomatic Redux: Implementation and Intent
Redux is an alternative. Easy to reason about and debug.
robmcm··on If It Weren’t for Apple, Hybrid App Development Would Be the Winner Over Native
I think browsers could throttle scripts loaded from cross origins. That may allow the main website to load faster, but then I guess from the content owners point of view the most important thing is getting the ad code loaded and registering hits :(
robmcm··on If It Weren’t for Apple, Hybrid App Development Would Be the Winner Over Native
It was one of the attack vectors for the PlayBook (Blackberry/QNS) but by that point they were too far behind.
robmcm··on If It Weren’t for Apple, Hybrid App Development Would Be the Winner Over Native
To play devils advocate, we are in 2017 and JS adverts on normal websites can slow the latest phones down to a crawling stuttering mess.

These are probability the same developers that were writing sloppy Flash banners a decade earlier.

robmcm··on PhantomJS: Stepping down as maintainer
Is it Chrome eating memory of the websites you have visited? Suspended tabs suggests issues, which may not free up till you close them.
robmcm··on The Immigration Ban Is a Headfake, and We’re Falling for It
This is Bannon's strategy, not Trumps. I don't think he is playing a part.
robmcm··on The Real Name Fallacy
Wow a 5.6 MB background image...

It took me 13 seconds to load it on a 20 Mbps connection. And there we are worrying about how many Kb our JavaScript libs are.

robmcm··on iPhone update leaves users furious due to battery drain issue
I have no doubt there are battery issues that can be software (I remember IMAP issues back in the iOS4 days), but I think there is clearly a distinction between software bug battery drain issues (hot phone, slow consistent drop in charge) and this sudden shut down issue, battery percentage jumping by 10%/20% up and down when connected to a charger.
robmcm··on iPhone update leaves users furious due to battery drain issue
Less prone to usage degradation and environmental conditions.
robmcm··on iPhone update leaves users furious due to battery drain issue
I suspect this is a hardware (firmware) issue, I've had it, along with numerous other people and a replacement followed by an iCloud backup has always fixed the problem.

It's not normal battery drain, nothing could cause the battery to jump from 30% to 0% instantly. It wouldn't explain the percentage jumps when plugging back in, or how usage in the cold causes shutoff when under 50%.

I fear Apple knows there is a defect in millions of 6/6s devices and they are hoping they can ride it out though natural phone attrition.

robmcm··on iOS 10: Security Weakness Discovered, Backup Passwords Much Easier to Break
perhaps because the old API is still there? This appears to be a new less secure duplicate, with seemingly no benefit.

Also Apple took a lot of heat from the FBI case, perhaps this was part of the deal for them to drop the suit, which isn't a blatant back door.

The proof will be in their response to the issue.

robmcm··on iOS 10: Security Weakness Discovered, Backup Passwords Much Easier to Break
Humm, a skeptical view of this would suggest deliberate weakening of security.

Perhaps not a full back door, but more of an open upstairs window?

robmcm··on Nintendo Soars as Super Mario Mobile Game Comes to the iPhone
What about franchise dilution?

I'm not sure what a Call of Duty game means any more, other than it's going to be a FPS.

They have had different teams work on the games, there aren't any common characters, time periods vary etc etc.

robmcm··on Flat V8 is now live
OK, from the non blog site:

> Use the easiest tool to create sheet music collaboratively

V8 is just version 8, nothing to do with JavaScript engines :)

robmcm··on Flat V8 is now live
What is Flat V8?

This isn't a problem isolated with your website, but it seems to be almost impossible to get a clear description of a product from any website other than Wikipedia these days.

Currently I'm assuming it's either a non carbonated vegetable juice, or some kind of horizontally scaled node implementation.

robmcm··on Apple’s Cook Confident of Victory in Tax Fight as Irish Dither
Something I didn't realize until talking about this yesterday, is that the tax rate is often used to reflect the infrastructure in a given location.

So whilst the Irish tax rate may be the lowest, the cost of operating a business there may, in total, be higher than somewhere with a higher tax rate.

Obviously I am not suggesting they will go elsewhere (given they cost of moving is probably very high) but something worth considering.

robmcm··on Apple’s Cook Confident of Victory in Tax Fight as Irish Dither
> we paid $400m to Ireland and that was based on the statutory rate of 12.5pc
robmcm··on Wallace and Gromit – The Great Train Chase (1993) [video]
... and a TARDIS of a train track box.
robmcm··on Apple Plans iPhone for Japan With Tap-to-Pay for Subways
For me it was a few things:

- I normally have my phone in my hand anyway. - My phone is in a pocket by it's self, so there is less risk of pulling out keys, coins, or notes along with my wallet. - I have many contact-less cards, so would have to pull the right one out of my wallet. - I would then have to put everything back, and go back to getting out my phone. - I get an apple pay notification ever evening when my card is charged, so I can easily tell if I have been over charged and get a refund.

robmcm··on A Message to the Apple Community in Europe
In the UK they did exactly this: http://www.lawandtax-news.com/asp/UK_Court_Allows_HMRC_To_Im...

If you evade tax, you know full well what you are doing, even if it's technically legal you should expect to be retrospectively taxed, especially if you are exploiting the system to such an extreme.

robmcm··on Apple Plans iPhone for Japan With Tap-to-Pay for Subways
The advantages of ApplePay are the authentication (security/privacy) and support for AppleWatch.

It's also trivial to cancel your virtual if your phone/watch is stolen, as it's just a unique hash. You can then continue to use your physical card, or re-register it.

robmcm··on Apple Plans iPhone for Japan With Tap-to-Pay for Subways
Also be aware that the hash for each ApplePay instance of the same card is unique, so you have to use the same device when tapping out that you did when tapping in (or all day in order to hit the cap).

It's also worth priming your device (double tap home button from lock screen) and authenticating before you reach the gate. You don't want to hold up the 50 stressed commuters behind you fiddling with your phone.

robmcm··on Master Plan, Part Deux
Would it be fair to say this outsourcing is similar regardless of company.

Perhaps if some of the larger manufactures have in house teams for things others outsource, it will be largely insignificant given their larger size.

Essentially it's not significant.

robmcm··on React: Mixins Considered Harmful
inheritance is very hard to comprehend at a later date, traversing though sub/super class hierarchy, overrides and super calls is incredibly painful.

You often end up with a subclass that may be thousands of lines in length if you consider it's flattened definition.

robmcm··on Spotify: Apple rejected our app update to drive iPhone users to Apple Music
Title should not say "iMusic", but "Apple Music" like in the linked article.
robmcm··on Simple Ways of Reducing the Cognitive Load in Code
Remember this is in the case of spiting out smaller functions to improve readability.

Variable naming will only add to that, as you can rename variables in the extracted methods for their local purpose.

If you have too many arguments you can package them up in a object/map/tuple of your choosing (depending on language).

(Reverting to local state would in my opinion increase confusion and decrease readability.)

robmcm··on Simple Ways of Reducing the Cognitive Load in Code
If the methods you are creating are private and for the purpose of segmenting a block of code, you really shouldn't be testing it directly, as it almost certainly won't be part of your public API.
robmcm··on Simple Ways of Reducing the Cognitive Load in Code
state can be passed through as arguments...
robmcm··on Simple Ways of Reducing the Cognitive Load in Code
There is also a cognitive overhead when trying to find local variables defined in huge functions, at least when they are split into smaller private (static) methods (with variables passed as arguments) it's easier to track.

Both in the parent method and in the encapsulated child.

robmcm··on [dead]
I expect most of it was spent on bureaucracy and trying to figure out what they actually needed.
← PreviousPage 2 of 25Next →