HNHacker News
TopNewBestAskShowJobs

nateberkopec

3,366 karma · joined March 23, 2009

submissionscomments
nateberkopec··on A Guide to Fast Page Loads
Hmm, you must be. Here's my timeline for theverge.com: http://imgur.com/SOpXFZc

Steps: go to theverge.com, open Timeline. Hit CMD-SHIFT-R for hard refresh, which will automatically trigger timeline. Wait. When the load event fires, Timeline will stop recording.

nateberkopec··on A Guide to Fast Page Loads
I am heavily indebted to Paul Lewis and Ilya Grigorik's writing, which provided much of the source material in this article.

Anyone interested in further reading on the topic should check out anything by those guys, they're the foremost in the field.

nateberkopec··on A Guide to Fast Page Loads
Neat - I've never used it. I thought appcache only really helped "offline" web apps. How can it speed up ordinary sites?
nateberkopec··on The sky's gone dark
I don't understand - what's the difference between a conjunction and a collision?
nateberkopec··on Send Messages by Carrier Pigeons
"We're ready to cut Chad out of this at any time." "What?"

I'm still not sure if this whole thing is a joke or not. Poe's Law in effect.

nateberkopec··on Hello Ruby – Almost there
> What i don't like about Ruby is that undefined variables can be accessed without error (just like javascript)

What do you mean by this? Can you give an example?

nateberkopec··on RubySpec is Reborn
For anyone that missed the #rubydrama in December when Brian "ended" Rubyspec, I summarized it here: https://gist.github.com/nateberkopec/11dbcf0ee7f2c08450ea

I think Brian "ending" Rubyspec might end up being the best thing he's done for it. Suddenly, as soon as he (and Rubinius) left, RubySpec is running and actively used on MRI for the first time in years, and JRuby and Opal have already swapped over to the new implementation. @eregon deserves HUGE credit for making this all happen.

nateberkopec··on A Complete Guide to Rails Caching
Oh, I hope I didn't give that impression that it's no longer a "best practice". But you can, of course, accomplish exactly the same thing as an action cache with fragment caching. The cases where you can use action caching are so limited (like you said - mostly landing pages) that I feel it's hardly even worth bothering with when you can just wrap the entire view in a cache method. That's all I was trying to get across.
nateberkopec··on A Complete Guide to Rails Caching
What about caching in Ruby is complicated to you? It seems pretty simple to me.

What production website doesn't cache? You make it sound like it's a Ruby-only issue.

nateberkopec··on A Complete Guide to Rails Caching
Oh man, this is great! I'll try to add you in to the Redis benchmarks in this post, or at least talk about using you instead of redis-store. I was very frustrated with the state of redis-store when writing this post.
nateberkopec··on A Complete Guide to Rails Caching
Sorry, I should have qualified that sentence: "a mostly unnecessary step in achieving production-like behavior *when trying to determine a page's average response time". That's just been my experience with this. I haven't noticed significant differences in my Macbook vs Heroku when measuring response times.

It's a fast-and-loose measurement, to be sure. Virtualization/dockerization is the only way to get a super-accurate measurement.

nateberkopec··on Reddit Chief Engineer Quits After Less Than Two Months on the Job
I think they've turned over something like a third of their workforce in the last nine months. It isn't just these people leaving, though they've certainly been the most public.
nateberkopec··on No Code of Conduct
Not having a CoC is like not having an employee handbook.

In theory, we're all nice people, and nice people don't need laws or handbooks to tell them what to do or who to behave.

But we're not all nice people. And when bad things happen, you need to have something written down that you can point to and say: "Hey, you violated this thing you said you agreed to." CoCs are not preventative measures (they don't proactively reduce bad behavior), they're more helpful for throwing out community members when they do something bad.

nateberkopec··on Ruby Koans
Just use Cloudflare. It's free.
nateberkopec··on Artoo: Ruby on Robots
I'm optimistic about the future of Ruby speed. We've seen a lot of improvement in the 2.x series of releases, to the point where we're as-fast-or-faster than Python in most cases.

I'm also very optimistic on the future of JRuby, as with the new 9000 release it has the potential to bring Ruby speed in line with base Java. It's got decent corporate backing now as well with Red Hat and Oracle funding people to work on it.

nateberkopec··on Run a script when police raid your house
IANAL: what could actually happen to you, legally, if your hard-drive self-destructs after being tampered with?

Is that really "destroying evidence?" What if you just shut down the computer, rendering the hard drive unusable, its contents completely encrypted (a la TrueCrypt). The evidence isn't destroyed, it's just inaccessible.

nateberkopec··on Obama Sides with Cameron in Encryption Fight
That's optimistic. I think we learned with PRISM that Silicon Valley companies are more than willing (whether through legal compulsion or otherwise) to cooperate with the administration.
nateberkopec··on Show HN: Rbkit – a low-pause profiler for ruby
The Ruby community has gotten very serious about speed in the last year or so. This bodes well for the entire language. Well done guys!
nateberkopec··on Soylent’s Next Chapter
I'm guessing they're so overwhelmed by domestic demand that they don't feel the need to open up the market even further.
nateberkopec··on Soylent’s Next Chapter
Amazon just "picks and packs" your product. They don't manufacture it for you. I'm sure 90% of Soylent's supply chain issues aren't in the shipping process but in raw material procurement and manufacture.
nateberkopec··on Soylent’s Next Chapter
Soylent's website claims they've shipped "over 3 million meals" (1 million bags) since launch. From what I can tell, the first bag was shipped in May 2014.

That's roughly 111/k bags per month since launch. For the first nine months of a company, that's operationally extremely impressive.

The delays for new customers (3-6 months, yikes) seem ridiculous, but if you do the math, I'm surprised it isn't more.

nateberkopec··on Rubyspec is dead, long live Rubyspec
You make it sound like speed is the only purpose of a programming language. If that was true. we'd all be writing C.

Ruby optimizes for programmer happiness - that was Matz's explicit goal when writing the language. If that doesn't matter to you as much as speed on microbenchmarks, or if writing Ruby doesn't make you happy (it makes me happy!) then Ruby isn't for you.

nateberkopec··on MRI Developers Don't Use RubySpec and It's Hurting Ruby
Is it? Python is exactly the same. It has no language spec (defined by its implementatation), and it has a BDFL who hasn't pushed for one.
nateberkopec··on MRI Developers Don't Use RubySpec and It's Hurting Ruby
As linked in another comment, basically:

https://bugs.ruby-lang.org/issues/7549#note-2

1. Matz is, and always will be BDFL. 2. The core Ruby team wants to talk in terms of C and MRI being the Ruby spec, not a third party/written RubySpec

nateberkopec··on MRI Developers Don't Use RubySpec and It's Hurting Ruby
Rubyspec is a great project for all the reasons Brian outlines.

However, it's also a failure - in part, due to Brian and his attitude towards contributors. See this twitter conversation: https://twitter.com/the_zenspider/status/547527644535726080 He's been grinding on Rubyspec for years, bless him, but I think there's a reason why he was unable to rally the community behind his effort, both in terms of gathering more contributors and in making it "official" in terms of the language spec.

JRuby, currently the only non-MRI ruby implementation that you can seriously consider for production use, runs the MRI test suite against JRuby. RubySpec is far from The Only Solution, though Brian would like you to think it is.

nateberkopec··on Amazon Unveils One-Hour Delivery Service
This headline could've read: "Amazon relaunches Webvan".

Very interesting how ideas from the first bubble re: brick-and-mortar are coming back.

nateberkopec··on TU-95MS – Soviet Bomber
The best part of this listing is that they accept "Cash in person".
nateberkopec··on ArangoDB
> "In typical applications with "complex" database operations there is often no clean API to the persistence layer when to or more database operations are executed one after each other which belong together from an architectural perspective."

Is that even a real sentence?

nateberkopec··on Google Checkout Closing Down on Nov. 20th
This is probably because requestAutocomplete has been moved into Chrome Beta, and will probably feature tight Wallet integration.

http://www.chromium.org/developers/using-requestautocomplete

nateberkopec··on SpaceX Falcon 9 – Possible Explosion
The gas cloud could apparently be seen from the ground. Someone snapped a pic from Reunion island, near Madagascar: http://wikkit.tumblr.com/post/62684205892/tracking-a-new-spa...

EDIT: Here's more pics from South Africa http://uforsa.co.za/2013/09/mass-ufo-sighting-on-29-septembe...

← PreviousPage 9 of 15Next →