Hacker Newsnew | past | comments | ask | show | jobs | submit | 2012-12-28login
Stories from December 28, 2012
Go back a day, month, or year. Go forward a day, month, or year.
1.The Cold Hard Facts of Freezing to Death (1997) (outsideonline.com)
437 points by BlackJack on Dec 28, 2012 | 184 comments
2.Show HN: CSS3 animation (thegoodman.cc)
271 points by podrivo on Dec 28, 2012 | 95 comments
3.SQL is Agile (pocoo.org)
265 points by johns on Dec 28, 2012 | 160 comments
4.Root Domain Website Hosting for Amazon S3 (aws.typepad.com)
254 points by jeffbarr on Dec 28, 2012 | 83 comments
5.$89 Exynos4412 1.7Ghz ARM Cortex-A9 Quad-Core 2GB (hardkernel.com)
241 points by 6ren on Dec 28, 2012 | 92 comments
6.Solve your first world problems (firstworldproblems.biz)
192 points by mhlakhani on Dec 28, 2012 | 49 comments
7.Warrantless wiretaps? Congress votes yes (arstechnica.com)
180 points by zoowar on Dec 28, 2012 | 99 comments
8.Show HN: The home automation system with an API (ninjablocks.com)
149 points by schappim on Dec 28, 2012 | 89 comments
9.Show HN: Hacking a Raspberry Pi into a wireless airplay speaker (jordanburgess.com)
144 points by jordn on Dec 28, 2012 | 73 comments
10.YouTube kills billions of video views faked by Music Industry (tomsguide.com)
140 points by donohoe on Dec 28, 2012 | 48 comments
11.OS X emulation layer for Linux (dolezel.info)
125 points by frozenport on Dec 28, 2012 | 73 comments
12.Is it worth selling software on Ubuntu Software Centre?
112 points by nvr82 on Dec 28, 2012 | 53 comments
13.Apple's Company Registration for its App Store is Awkward and Awful (sam-dunne.com)
111 points by samdunne on Dec 28, 2012 | 81 comments
14.Things Developers Should Do For Web Accessibility (laneshill.me)
110 points by laneshill on Dec 28, 2012 | 22 comments
15.RubyFlux: a Ruby to Java compiler (github.com/headius)
112 points by neXter on Dec 28, 2012 | 39 comments
16.Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT/Harmonograph (harmogram.com)
105 points by adrianleb on Dec 28, 2012 | 33 comments
17.How Benjamin Franklin Got His First Fifty Customers
100 points by davemel37 on Dec 28, 2012 | 31 comments
18.What Is It Like To Be an Adult and Not Have Kids? (slate.com)
90 points by danso on Dec 28, 2012 | 171 comments
19.Ratan Tata, Head of $100B Tata & Sons, Retires (thehindu.com)
89 points by azifali on Dec 28, 2012 | 62 comments
20.AppData says that Instagram may have lost 25% of users after TOS change (nypost.com)
90 points by Irishsteve on Dec 28, 2012 | 85 comments
21.Show HN: Nasdaq Dubstep (soundcloud.com)
88 points by svtiger on Dec 28, 2012 | 22 comments
22.How I Made $350 In Two Days With Three Pages and Some Payment Code (2011) (danshipper.com)
86 points by _airh on Dec 28, 2012 | 41 comments
23.TCP incast: What is it? How can it affect Erlang applications? (snookles.com)
81 points by hypnotist on Dec 28, 2012 | 16 comments
24.Google Removed 50 Million “Pirate” Search Results This Year (torrentfreak.com)
78 points by Libertatea on Dec 28, 2012 | 16 comments

Why do people host static websites on S3 at all? It really isn't designed for that: it is an object store. Yes: it has a URL structure accessible in a way that makes it look like static hosting, and Amazon caved pretty early to people wanting to use it that way by adding features to make it more reasonable, but it doesn't fix the underlying problem.

Specifically, it is both allowed to--and often does--return 50x errors to requests. The documentation for the S3 API states you should immediately retry; that's fine for an API where I can code that logic into my client library, but is simply an unacceptable solution on the web. Maybe there are one or two exceptions to this, but I have simply never seen a web browser retry these requests: the result is you just get broken images, broken stylesheets, or even entire broken pages. Back when Twitter used to serve user avatar pictures directly from S3 the issue was downright endemic (as you'd often load a page with 30 small images to request from S3, so every few pages you'd come across a dud).

Sure, it only happens to some small percentage of requests, but for a popular website that can be a lot of people (and even for an unpopular one, every user counts), and it is orders of magnitude higher of a random error rate than I've experience with my own hosting on EC2; it is also irritating because it is random: when my own hosting fails, it fails in its entirely: I don't have some tiny fraction of requests for users all over the world failing.

Regardless, I actually have an administrative need to stop hosting a specific x.com to www.x.com redirect on some non-AWS hosting I have (the DNS is hosted by Route53, etc., but I was left with a dinky HTTP server in Kentucky somewhere handling the 301), and I figured "well, if it doesn't have to actually request through to an underlying storage system, maybe I won't run into problems; I mean, how hard is it to take a URL and just immediately return a 301?", but after just a few minutes of playing with it I managed to get a test request that was supposed to return a 301 returning a 500 error instead. :(

    HTTP/1.1 500 Internal Server Error
    x-amz-request-id: 1A631406498520D6
    x-amz-id-2: hXQ1YXyu0gxaiGITKvcB+P8+tgPsP3UITX/Or4emyjZtaL16ULAyHFx2ROT4QPXY
    Content-Type: text/html; charset=utf-8
    Content-Length: 354
    Date: Fri, 28 Dec 2012 07:19:24 GMT
    Connection: close
    Server: AmazonS3
This wasn't just a single-time problem either: I've setup a loop requesting random files (based on the timestamp of the test run and a sequence number from the test) off this pure-redirect bucket that I've left running for a few minutes, and some of the S3 nodes I'm talking to (72.21.194.13 being a great example) are just downright unreliable, often returning 500 errors in small clumps (that one node is giving me a 2% failure rate!!). S3 is simply not an appropriate mechanism for site hosting, and it is a shame that Amazon is encouraging people to misuse it in this fashion.

(edit: Great, and now someone downvoted me: would you like more evidence that this is a problem?)

26.The Product Manager's Lament (linkedin.com)
74 points by Brajeshwar on Dec 28, 2012 | 43 comments
27.SDK published for Ouya - Apache 2.0 licensed (ouya.tv)
73 points by jonny_eh on Dec 28, 2012 | 21 comments
28.FreeBSD Foundation exceeds target for 2012 (freebsdfoundation.org)
71 points by owe on Dec 28, 2012 | 29 comments

I teach search and rescue people how to travel on skis or snowshoes and live in winter mountains. If you are prepared, you can stay out in sub-zero for days and days very comfortably.

A key skill is constant regulation of your body temperature. You never want to become too hot/sweaty or too cold. If too cold - get into shelter, drink something hot, eat carbs, add clothes, move faster. If too hot - remove clothes, or move slower. Fix temperature problems immediately - never tough it out.

Common mistakes: people get distracted by gadgets, or they get impatient and start to wander. Then they lose awareness of their body temperature, and become hypothermic. Once you get hypothermic, things fall apart fast.

If you do winter travel in remote areas, carry warm clothes, water and food. Then if you get stuck, be patient and steady. Follow this advice, and the odds of freezing to death go way down! :-)

30.Debtmageddon vs the robot utopia (steamthing.com)
65 points by hobbyistbee on Dec 28, 2012 | 93 comments

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: