HN user

daviddavis

341 karma

I wrote a program in C once.

Posts13
Comments34
View on HN

Nutritional studies are notoriously difficult to conduct. You either have to isolate subjects and monitor everything they eat and when. Or you have to rely on self reported data and people do an atrocious job of tracking food, estimating portion size, etc.

This study did the former:

The duration of the study is 7 days including 3 days with controlled diet and 4 days (including 5 nights) in a metabolic chamber at the Institute of Nutritional Medicine at the University of Hohenheim.

I imagine it was prohibitively expensive to have more participants.

With the way that Apple prevents you from reusing Apple IDs, does it mean that if my Apple ID is blah@mydomainname.com and I migrate mydomainname.com (currently using G Suite free) over to iCloud that I can't set up blah@mydomainname.com?

Sunsetting Hire 7 years ago

Just out of curiosity, what happens to the engineers that work on these projects that get shutdown by Google? Do they get laid off?

I think you miss the point of the article. It's not that technology destroys jobs but that in the next century, technology could potentially destroy jobs at a faster rate than it adds new ones. That would be an unprecedented event in American history.

Raleigh, NC

---

Red Hat, Inc is looking to hire Ruby/AngularJS engineers. Must have some experience with Ruby or AngularJS. Benefits are solid and the pay is competitive. Also, the hours are flexible and you get to work remotely (at least part time). Send me an email if you're interested at my username at red hat dot com.

Ruby Tips Part 2 13 years ago

You have to be careful with using Array() to transform a non-array into an array. Suppose for example you wanted an array of hashes:

  >> Array([{:a => "b"}])
  => [{:a=>"b"}]
  >> Array({:a => "b"})
  => [[:a, "b"]]
It doesn't work as you might expect with a Hash. I'd probably recommend sticking with something like either of these unless you know you aren't going to be getting a Hash:
  a = [a] unless a.is_a?(Array) # option 1
  a = [*a]                      # option 2

One thing that sticks out to me is the price. Where did you choose $24.99 from? Recently I read Steve Jobs by Walter Isaacson (which is a more reputable book) for $13.60. I'm not saying that you're book isn't worth it but I don't see anything on this page to justify the cost.

I worked in the adzerk office this past weekend during Triangle Startup Weekend. At first I was a little bothered by the lack of natural light but I quickly got used to it and actually enjoyed the environment/architecture there.

Since moving to the triangle though, I think the best decision I've made is moving to Durham. It's still affordable, has a lot of character, and offers the same amenities that Raleigh and Chapel Hill offer. I think this why the startup scene in Durham is taking off.

Agreed. I use this font in vim at work because (believe or not) it seems to be the sharpest on my crappy LCD monitor at work. I was using Bitstream Vera Sans Mono before though which I love.