Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamjernst
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
adamjernst
14y ago
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?
32.
▲
by
adamjernst
14y ago
Thanks!
33.
▲
Ask HN: Customer Support as a Service?
1 points
by
adamjernst
14y ago
|
2 comments
34.
▲
by
adamjernst
14y ago
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.
35.
▲
by
adamjernst
14y ago
I would never use swizzling (the Objective-C equivalent) in production code, but I use it regularly in tests. I think that's the relevant distinction.
36.
▲
by
adamjernst
14y ago
Amen. Same goes for Objective-C: dependency injection simply isn't needed when you can swizzle out any method (including +alloc) in tests.
37.
▲
by
adamjernst
14y ago
It is illegal for taxi drivers to refuse your fare depending on your destination. If their "Off Duty" light is not lit, just get in, then say your destination. If they protest, say you'll call 311 (and start taking a picture of their licens
38.
▲
by
adamjernst
14y ago
That didn't work out too well for the newspapers, did it? Newspapers got away with it for so long because they held a monopoly on information distribution.
39.
▲
by
adamjernst
14y ago
Many third-world countries already have this—usually fleets of young men on motorcycles that will deliver whatever you need.
40.
▲
by
adamjernst
14y ago
Brilliant. I've longed for something like this.
41.
▲
by
adamjernst
14y ago
They control their cash and assets. This indicates that investors believe Zynga will use up their assets without producing any profit from them—that is, their RoE is negative.
42.
▲
by
adamjernst
14y ago
Why would I bother investing money at all then? You can expect an annual return of around 7% on the stock market, subtract 4% wealth tax and 2% inflation and you're left with nothing in real terms. Everyone (even the super-wealthy) would sp
43.
▲
by
adamjernst
14y ago
Objective-C. Check out the engineering blog post here: https://www.facebook.com/notes/facebook-engineering/under-th...
44.
▲
A Faster Facebook for iOS
(newsroom.fb.com)
273 points
by
adamjernst
14y ago
|
177 comments
45.
▲
by
adamjernst
14y ago
$50 is equal to about 20 minutes-60 minutes of your time. Chocolat has easily saved me that much frustration and time. So it's worth it for me.
46.
▲
by
adamjernst
14y ago
Apple will never allow a JIT Javascript engine on any app except their own, for security reasons. (App Store apps can't allocate pages with the executable bit set, which is a good idea really.)
47.
▲
by
adamjernst
14y ago
Who has a "best friend" who is a fitness trainer at age 17? He doesn't seem to be US-based (mentions IB, and English is his second language) so not paying (as much) tax must help things. It sounds like SEO linkbait/blogspam type stuff to me
48.
▲
by
adamjernst
14y ago
Address Book has always been a C API, not an Objective-C API, for legacy reasons. I suspect that had a lot to do with it.
49.
▲
by
adamjernst
14y ago
Palo Alto has plenty of trees—and not coincidentally, I believe its per capita income is even higher than Mountain View's.
50.
▲
by
adamjernst
14y ago
I'd watch out for the Jevons paradox though: http://en.wikipedia.org/wiki/Jevons_paradox
51.
▲
by
adamjernst
14y ago
It'll be interesting to see what happens when Apple's TV is released. I suspect the resale value of all other televisions will crater as everyone tries to sell their old TV (and potential used purchasers instead purchase new Apple TVs).
52.
▲
by
adamjernst
14y ago
Too late. Single-family homeowners now control the zoning boards in Silicon Valley, and they're generally opposed to building new apartments or mass transit. New infrastructure is far too expensive these days anyway. I suspect this is one f
53.
▲
by
adamjernst
14y ago
I too thought of a forward braking light. When self-driving cars become common enough, people would learn to interpret it.
54.
▲
by
adamjernst
14y ago
All this VC money comes from pension funds, university endowments, and other large institutional investors that are looking for a return on investment that is higher than regular public equities. When the crash comes, pensions and endowment
55.
▲
by
adamjernst
15y ago
Theft is a real problem for these stores. And theft makes me angry. I'm willing to trade being recorded in public for a low-crime society.
56.
▲
by
adamjernst
15y ago
Try LinkShare, which will let you create arbitrary tracking code URLs that track sales. It's a bit messy since they're affiliate URLs, but you can figure it out.
57.
▲
by
adamjernst
15y ago
OK, so let's say you spend $10k of developer time (about 1 month at current salary rates) to optimize your code to save the environment. You must be saving less than $10k in electricity over the next couple years (otherwise you would have d
58.
▲
by
adamjernst
15y ago
Security cameras are everywhere. And soon every car will have a cell radio. What would be neat is a cross-linked solution: when a window is broken, instead of a noisy useless car alarm, inform the police immediately with a geographic locati
59.
▲
by
adamjernst
15y ago
Off-topic: Wolfram Alpha is amazing. Cool find.
60.
▲
by
adamjernst
15y ago
Wow, the vehicle theft rate is almost 5 times higher in SF than NY: http://newyork.areaconnect.com/crime/compare.htm?c1=san+fran... Of course this was burglary or theft, not vehicle theft. But I wonder what makes for such an extreme diffe
More ›