HNHacker News
TopNewBestAskShowJobs

adamjernst

1,019 karma · joined November 2, 2010

submissionscomments
adamjernst··on Los Angeles Drivers on the 405 Ask: Was $1.6B Worth It?
Jevon's Paradox! https://en.m.wikipedia.org/wiki/Jevons's_paradox
adamjernst··on Simplify Your Message, and Repeat Often
> The other thing I would say is to stay close to professions that create and make things, and stay away from derivative professions like finance. I think makers increasingly have the power in our society.

Wow, interesting words from someone who works in finance.

adamjernst··on Garbage Collection, Without the Noise or the Smell
Garbage collection is controlled by the mob.
adamjernst··on The Rise of Men Who Don’t Work, and What They Do Instead
Because it's part of a series: http://www.nytimes.com/2014/12/12/upshot/our-series-on-the-d...

With an entirely separate article on women: http://www.nytimes.com/2014/12/14/upshot/us-employment-women...

Don't assume the worst!

adamjernst··on ComponentKit by Facebook: A React-Inspired View Framework for iOS
Actually ComponentKit is built on GCD!

https://github.com/facebook/componentkit/blob/master/Compone...

GCD is fantastic—one of my absolute favorites. We're trying to solve a problem one level above that: exposing an API that doesn't require every view developer to know the details of managing GCD queues and updating a UICollectionView.

As for Autolayout, it's very powerful but isn't performant enough for layouts as complex as Facebook's News Feed. We tried it first before developing ComponentKit.

adamjernst··on ComponentKit by Facebook: A React-Inspired View Framework for iOS
Will do shortly.
adamjernst··on Making News Feed nearly 50% faster on iOS
You're right about this. My terminology was incorrect.
adamjernst··on Secrets of dispatch_once; x86 performance trickery
Requires writing to executable pages, which iOS doesn't have.
adamjernst··on Pngquant – Lossy PNG compressor
pngquant is great. I make an iPhone app that displays transit maps. Transit maps are ideal candidates for quantization (limited color range, large blocks of color that are perfect for RLE) and I saved a lot of file size by quantizing the map tiles. Thanks pngquant!
adamjernst··on The Driverless Car Revolution Should Not Begin with Cars
Fatal flaw in this plan: unions. New York has already tried to switch to driverless subways, but progress is slow due to constant union interference.
adamjernst··on Run Windows 1.01 in your browser
Windows 1.01 feels much closer to Mac Classic than Windows 3.1 does. (Button appearance, close button on left, menus must be held down to stay open, "Get Info" instead of "Properties".)
adamjernst··on Car thief sprayed with invisible dye in police trap
> sentenced to a community order for 49 hours and ordered to pay £400 costs at Brent Magistrates' Court for theft from motor vehicle

To me (an American), that sentence seems incredibly lenient.

adamjernst··on Airbnb Guests Trashed This Guy's $2.5 Million Condo
"Out of 86 guests, I've only had problems with 15 guests."

"only"? n.b.: If your business model is renting out luxury condos to people on the Internet, you're going to have a bad time. People will use them for parties.

adamjernst··on How much do BART Employees make?
BART jobs are quite supply constrained. Sure, union jobs are great if you can get one, but there aren't many to go around.

Plus, who would really enjoy working in a workplace where everyone doesn't care? I couldn't stand it even if I were paid more, couldn't lose my job, and had more vacation time.

adamjernst··on What's Really 'Immoral' About Student Loans
That's precisely what he argued though: "A 2010 study by the Goldwater Institute identified "administrative bloat" as a leading reason for higher costs. The study found that many American universities now have more salaried administrators than teaching faculty."

What's more he doesn't propose eliminating federal aid or loan guarantees, he advocates letting you discharge student loan debt in bankruptcy and putting colleges on the hook for some percentage of that default.

Sounds like a great idea to me. Schools that equip their students for well-paying jobs have nothing to fear, but diploma mills out for easy loan money will suffer.

adamjernst··on Mark Zuckerberg addresses PRISM
If the NSA was MITMing SSL communications on a wide scale, presumably the companies would notice that the cert fingerprints were not what the companies expected.
adamjernst··on Preparing a Mac laptop for your Grandma
Teach her to pinch zoom. Double tap-zoom is a power user gesture.
adamjernst··on New mobile version of NYTimes is awesome
Agreed—mostly because it's SIMPLE!
adamjernst··on Brian Kernighan's Advanced Programming Techniques Class at Princeton
I took Brian Kernighan's class when I studied at Princeton. As part of the class I developed www.itrans.info which set me on my way to being an independent app developer. I'm enormously grateful for his class, his involvement with students at Princeton, and just how genuine he really is as a person on campus.
adamjernst··on Native iOS development made simple [video]
Correct.
adamjernst··on Native iOS development made simple [video]
Nice idea, but the sample code they show in the screenshot uses "FALSE" instead of NO (the Obj-C standard boolean literal).

I'm not sure how they did that (#define?) but stay far, far away. Imagine if you opened up a Ruby codebase and found out I had aliased NO to be the same as the language builtin false... yeesh.

Also, setting boolean instance variables to NO in init is silly since Obj-C objects are calloc'd, so all ivars are guaranteed to start with default values (nil/0/NO).

adamjernst··on The Controller Pattern Is Awful, Or, Stop Writing Stupid Classes
For webapps, I agree. There is no progression of state in a webapp's "controller" object: it's one shot and done.

For native apps in frameworks like Cocoa Touch of course it's an entirely different ballgame. A view controller has quite a bit of state, usually some different modes, maybe some enforced state transitions. So the controller pattern makes a lot of sense there.

The author is spot on about how some architectural oddities like one-method-classes come from Java's lack of functions as first class objects.

adamjernst··on Oil Sands Mining Uses Up Almost as Much Energy as It Produces
A ratio of 3:1 doesn't strike me as "almost as much energy as it produces." Would you say that if I gave you $3 for every $1 you gave me?
adamjernst··on Dash-cams: Russia’s Last Hope For Civility And Survival On The Road (2012)
I mailed a package to Russia about 5 years ago. Recipient had to pay a bribe to get it.
adamjernst··on Apple's upgrade dilemma
This is because the iPhone 4 is missing a newer version of the crucial noise reduction chip:

http://www.tuaw.com/2012/02/06/siri-may-be-iphone-4s-only-be...

The fact that Apple supported iOS 6 on the 3GS is proof that they're pretty serious about backwards compatibility.

adamjernst··on In Asia's trend-setting cities, iPhone fatigue sets in
"Nobody goes there anymore. It's too crowded." – Yogi Berra
adamjernst··on America Has Hit “Peak Jobs”
That graph is incredibly misleading. It goes from $5000 segments to a $50000 segment—which the author has the nerve to label a discontinuity!

That's not to say income inequality isn't a problem, but misleading charts are the wrong way to make an argument.

adamjernst··on After Fires, Ban on phones and laptops looking possible on Boeing 787 flights
This seems like an intentional misunderstanding for press attention. How do you get from "shipments of lithium-ion and lithium batteries on cargo aircraft" to banning laptops?
adamjernst··on Ask HN: Customer Support as a Service?
Thanks!
adamjernst··on Dependency injection is not a virtue
Use monkey patching in tests, never in production.

Monkey patching is fragile, but in tests, who cares? If it breaks, you see why and you fix it. Tests don't have to be held to the same level of reliability as production code.

Page 1 of 6Next →