skysight-inc/HackerNews huggingface dataset:
That's awesome, I'm 14 too and I made an iPhone app, happy to know I'm not the only one!
Can someone explain though, non-code, under what conditions is the resizing taking place?
Such an objective approach like Silver's removes the market for the subjective narrative (convention bumps, opinion swings after gaffes, perception of the candidates, etc.) journalists rely on during the many months of campaigning. That's a threat to their jobs. It would be so amazing if the market for punditry would dry up.
apple.co.uk
Judge will work it out. You do not fuck with a legal judgement in the UK - they will start pulling the big guns next. Place your bets: frozen assets or criminal charge?
I think you too have no idea what JS is.
The script basically resizes the window based on weather you're on a touch device or not. It has nothing to do with the Samsung apology.
Where in the legal judgement did it say it had to be "above the fold"? They could have specified this if they'd wanted it.
The statement can be found on http://www.apple.co.uk for anyone wondering.
Nah, according to an interview I saw with him, they were within one launch failure of folding. His original concept for SpaceX was to put a greenhouse on Mars -- a completely money-losing inspirational venture. By comparison anything else is more likely to generate a profit. So essentially, he was ready to light that wheelbarrow full of money on fire, so anything beyond that was just gravy.

Look up the incident where he crashed his super-car with Peter Thiel as passenger. Musk's an impulsive gambler.

This is not to take anything away from him -- he's a huge inspiration to me, and I believe that impulsivity is a necessary precursor to creativity.
really? Don't you think that trillion dollar valuation gave every exec @ Apple some steel balls?

Apple products are so loved by masses that I bet ya if, for example, a judge would ban sell of Apple products in the city like New York, you would find some idiot on a manslaughter mission.
I used to be an Apple store employee in the Family room (where the devices get fixed). In fact I used to work as the exact employee who mainly checked people in for their appointment. The store I worked in had an extremely high volume of people coming in for repairs. Our store policy was, if the person had missed their entire appointment (E.g. 15 minutes late for mac appointments and 10 minutes late for mobile) then they would be turned away, except for in exceptional circumstances (multiple repairs etc).

We reserved some appointments each day for "walk-ins" and these became available every hour, however they were immediately snapped up within 5 minutes of become available.

My point is that, this is a reservation, much like an eye checkup or dentist appointment. If you miss your reservation, that is your responsibility and not ours to try and fit you in. The booking process is explicit in reminding you not to be late.

If the OP genuinely did get turned away for being 5 minutes late, then that is quite harsh, however I think its more likely that he missed his allotted appointment time and in that case it is 100% his fault for not making it. And oh yeah bringing up the Steve Jobs point is so irrelevant and is just hyperbole.

The recall itself is another matter which IS Apple's responsibility and probably should have been handled better.
Ask HN: Have App on Heroku, Need Analytics Input. Biz Details.
Ok, so I have this Rails app, its running on Heroku. Its making me a small bit of money, and I'd like to expand the feature set and go after a higher-margin type of customer.

My first problem is that I expect to log a crapload of events from my distributed set of tools that drive the revenue stream of the business. As such, the solution should be scalable without breaking the bank.

My second problem is that I need to report aggregate statistics from within the app (and within any other app I build in the future).

My third problem is that I don't want to build it myself. I'd rather be an expert at my own analytics platform than try to become an expert at Google's.

So, would you build the analytics system as a plugin to each app that needs it, thereby consuming the dynos and resources of the app (which may impact user experience if the dynos aren't enough and spike at times), or would you build it separately (isolated) and use APIs to move data between your analytics collection/data crunching app. Or maybe let your core app connect to the analytics app's database directly to pull data when needed?

I would love any answer you could muster. Also if any of you have ANY experience at this and would be willing to chat by phone, I'd be in your debt and would return the favor many times over when I get this business up and running. My email is in my profile, else I would love to hear your answer here in the comments.

Also, if you want to know more about how we run our business and how we got to profitability by bootstrapping, I will spill any details you would like to know about.

Thank you!
I've actually been working on my own site's sitemap, and I've figured out a bunch of things:

You can use a sitemap index [0] to split a sitemap into multiple ones. This is beneficial because you can change part of it and not have to have google re-crawl everything, since index updates happen right after a whole sitemap has been crawled. As a result, changes you make to a smaller sitemap get indexed way faster.

I've switched to grouping my bulk pages into sitemaps alphabetically, and then putting important ones (front page, about) into different sitemaps, and specific landing pages into yet another different one.

[0] http://en.wikipedia.org/wiki/Sitemap_index
I wonder if I go to http://www.apple.com/ if it redirects to the UK site if I'm in the UK?
This is all too closely tied to "confession" in the Catholic sense.

Ugh.
From what I've heard, Nate Silver received publicity for picking 49 out of 50 states in the 2008 election. I'd like to see how his model fares in 2012 and beyond, or a higher confidence interval at the very least. Is it falsifiable? Then we might be talking about science.
This document just locked up my browser, i7 w/ 8gb ram using chrome.
I'm using a fairly long screen and I can see the verdict fine. I don't think this was specifically put to get rid of the apology. More likely, the top image is always suppose to be fairly large and fit the screen well.

I wouldn't put it past Apple to make things look nice.
Can someone give a non-expert way of going about this learning method?

For instance, what are your options on Windows or Mac?
And are the languages you can do this with limited to Ruby, Python, or Javascript?
Yes. I think I nice approach would be just cloning core functionality of the program initially in your language of choice, then dealing with parameters and more advanced options as you learn that language better.
What I don't really get here, is how is storing data in a cloud service any different, from the legal perspective, from a safety deposit box at a bank or a storage locker in a public storage location?

The paradigm seems very similar - I go to a service provider, pay them money to give me certain amount of private space, put my stuff there, lock it with a key and go on my merry way. When I want to get my stuff out, I go to the location, unlock, get the stuff, re-lock and go.

US laws seem to have very strong protection against someone going and taking my stuff from there. Even if the bank or the storage place go bankrupt, I'm fairly sure no one is legally entitled to go through the stuff that is being stored.

Further, if one of the bank's or storage place customers happens to store something illegal, law enforcement typically needs a warrant to seize it. However, in no way are they entitled to take or destroy property of others, not relating to the warrant.

The ONLY meaningful difference seems to be that they can't easily just access the "storage box" associated with the warrant, and servers are much more portable, so they feel entitled to just take the entire thing. I guess that if your bank had no way of opening the lockbox, law enforcement might feel entitled to take the entire vault...
This behaviour is the same on apple.de or apple.jp, so it's not just the UK site. Moreover, it was added only 2 days after the judgement was upheld:

HEAD /v/home/n/scripts/hero_resize.js HTTP/1.1
Host: www.apple.com

HTTP/1.1 200 OK
Server: Apache
**Last-Modified: Sun, 21 Oct 2012 19:31:51 GMT**
Accept-Ranges: bytes
Content-Length: 632
Content-Type: application/x-javascript
Cache-Control: max-age=600
Expires: Sat, 03 Nov 2012 17:04:23 GMT
Date: Sat, 03 Nov 2012 16:54:23 GMT
Connection: keep-alive

I believe this was before the homepage was altered to display the ruling. Moreover, this was also just 2 days before the iPad mini was announced. Far more likely this is just related to new product announcements than any nefarious scheme.
Only on HN can you see the concept of "doing good for your fellow man" be described with a ridiculous weasel word like "slavery".

This is Ayn Rand style rhetoric that is thoroughly lacking in content and subsists entirely on individualistic outrage. The issue of society vs. individual freedoms is a valuable one, going off the deep end with weasel words does not contribute to the discussion.
is there a library out there that mimics this visualization? very powerful stuff
Huge wiki Benghazi Attack timeline
The onresize event fires whenever you change the sized of your browser window. Eg it occurs when you maximize the window or when you click-and-drag on the corner of the window in order to make it smaller or larger. See also https://developer.mozilla.org/en-US/docs/DOM/window.onresize
It uses facebook graph api calls to retrieve statuses and dynamically load the content from those statuses into the page. I didn't put a whole lot on the original page because my goal was to show how much of a site could be held in Facebook statuses. If you want to see what statuses will be loaded you can check them out at https://www.facebook.com/pages/SocialCDN/263306957124999
It doesn't, but this has always been the case. Apple didn't even own apple.co.uk until recently; the official site was apple.com/uk
> I think you too have no idea what JS is. The script basically resizes the window based on weather you're on a touch device or not.

Actually, you're the one who has no idea what JS is. I just resized a Chrome window with http://www.apple.co.uk/ loaded in it on my Windows desktop PC. As I changed the height of the window, the content above the Samsung apology was resized so that the apology would be hidden unless I scrolled down. It is most definitely not restricted to touch devices.
Or perhaps we can be "Born again users".
I once owned a PowerBook 5300 and at the time Apple's tech support process was horrible, and the company didn't stand behind its products.

It took me years to be willing to buy another Apple product, which was an iPad Shuffle. Turns out I really liked that product, and Apple had finally started to fix its tech support process.

I now own tons of Apple products, including several macs, an Apple TV, iPhone, iPad, etc. My last stop by the Genius bar resulted in no questions asked replacement of a few pieces of Apple gear that had broken (headphones, a bluetooth keyboard). I was extremely impressed.

A recall is a different thing, since it is ultimately a decision about the cost of the recall vs the harm to the brand of not doing the recall... this leads to the desire to have the recall be as inexpensive as possible.

Nonetheless, I hope this isn't a sign that Apple is reverting to its old ways.
Most likely not. Apple generally does not redirect people to their locale-specific version of their site. I'm in Canada, and I can visit apple.com without being redirected to apple.ca, for instance.
Seems to be a cross between C and Go; It uses a simple syntax much closer to Go's than to Cs, but keeps control at the C level - e.g., no garbage collection.

Nice work.
I don't see how it matters that the behavior was added before the text itself. It's more relevant that it was added after the judgement.
I clicked the link expecting to find more about the language, but instead of the hello world or any other example, it was just a wall of text. Tried clicking around to find some example code, but no luck. I still have no idea how the code looks like.

This is not how one should mark new language.
Here's an idea: moment quota. Set up a social network similar to those that exist, but implement a cap. You then have to choose what really matters.

A good example is Dribbble. To prevent excessive posting you have a cap (per month) that you can use. At the end of the month, you're topped off with more posts (or "shots" in their language).

This would make people not only enjoy networks more (and be conscious of what they share), but make the experience of taking in other people's content actually exiting.
Twitter Bootstrap: Design Inspiration
Hum... I donno. My understanding is that apple no longer redirects to .co.uk for UK users since the ruling. This seems a little convenient to me.
I think this article is great. However, I think you should spend a little more time (like your last comment) describing why this is important; make it obvious why people should appreciate your work. I, for one, wish I was better at memory management since I spend most of my time in managed C# (and other languages with memory management). For your next post, spend a little more time spelling out the details for why each step is important: what is gained by not copying _this_ memory? Compare the memory usage profile of the managed vs. unmanaged algorithms. Explain the constraints of the GC (and perhaps some history). Many people assume the GC will always do a better job at managing memory than they can, so explain the corner cases for when that's not true.
only images with no links to the original website, pretty useless
Amazon and Google are undermining mobile pricing, and that may hurt everyone
Belgium: Universal Smokers Church Fined For Violating Smoking Ban
Stop Procrastinating by “Clearing to Neutral”
I'm getting a little bored with all these negative postings. I don't need to get all torqued off at Apple just because some guy had problems getting his computer fixed by them.

I've had good experiences with Apple, and I've had horrible experiences with them. The bad bits usually correpond to me being in a foul mood or being short tempered when I'm talking to them. That, interestingly enough, correlates with my desire to tell everyone and their dog about how bad it was while I was dealing with them.

http://www.nytimes.com/2012/03/24/your-money/why-people-reme...

Let's all take a moment to be grateful we live in such wonderful times. Technology like Apple makes is awesome, it works more of the time than it doesn't, and yet it does not define who we are at our cores. You are alive and human - take the time to go out and smell the fresh air, talk to a stranger and find the things that bring you joy.

And then share the good bits with us on HN! :)
Except when it comes to the text of the message, for some reason.
So anything, any time, that alters the vertical spacing of the Apple homepage around the world, even if it's only 2 days before a major product roll-out is related to an 15pt font paragraph at the bottom of their UK homepage that no-one except the lawyers will even click on? Moreover, given that they've pissed off the judge once, their own lawyers won't have signed off on 5 times over?

I find that rather implausible, though I guess it's not impossible.
Obligation? No, not as such. And falling victim to those ideas is hugely dangerous. The idea that we are not or should not be our own masters, that we should dedicate ourselves to service to our communities and so forth is an entrancing idea, but it is mistaken. Wanting to give back to your community is good, and noble, but being obligated to do so is a recipe for tragedy.

In the end it comes around to the same old thing: the institutionalization of morality. Which inevitably leads to obligatory orthodoxy. It's important that people have differing opinions in society, even down to ideas on morality. It's also important, so we have learned, that the strict obligation of society be limited to just those things which are strictly necessary to enable society to operate.

There was a time not long ago when being a member of a specific state religion was mandatory, and enforced. It was a time of oppression and orthodoxy where free-thinking and individual liberty were limited, and progress was stunted. There have been more recent times where similar institutionalized, obligatory morality has gained traction (under various ideological banners) and those too were times of oppression, orthodoxy, suffering, and stunted progress. It doesn't work. Obligation-to-society is merely the first brick to be used to pave the road of good intentions that leads from individual liberty to rule and oppression.

Societies were individuals express their feelings of community spirit and care through spontaneous and personal gifts of time, money, and effort are healthy. Societies where a moral obligation to society is strictly enforced are regressive and tragic.
advice on education, by Terrence Tao who is himself a prodigy mathematician: http://terrytao.wordpress.com/career-advice/advice-on-gifted...

I think the article doesn't really answer to the question of the title, but is rather a bunch of example of very gifted children (in the field of music).
Politicians are highly numerate. They just lie about their incentives so the appear innumerate when misjudged.
Sure. I've gone camping, too.

I'm just saying trying to live normally on a peak power of a couple kW might be optimistic. The dryer alone draws two or three.
It resizes the height of the "hero" element (the iPad mini promo at this time) so that it takes up the whole height of the browser window, pushing the footer below the fold.
Is this still available online in some form?
You're forgetting that he predicts the specific numbers of the outcome, not just the result. When he predicts that candidate A will win with X electoral votes, and the result is very close to X, that's a substantial verification of his prediction, especially if it repeats several elections in a row.
I think even without the script story it's plain that Apple is acting like a child here.
Foxy Nate Silver and why old-media hedgehogs could soon be old news
No one pays attention to off-year races.
Man I really hate to break it to you but Linux (and almost certainly OS X) has many privilege-escalation bugs at any given time. Any executable you run on any operating system could potentially be a virus; the main thing protecting you on Linux is that the combinations of buggy kernels and buggy libraries are much wider than on Windows, which generally stays pretty up-to-date and thus consistent across many machines.

Don't pretend Unix-type OSes are immune to malware. Don't forget the Morris worm.
Hi,

Windows doesn't have many of the basic Unix tools, but you can still implement them using your programming language of choice (how great). No, you're not limited to these three languages. I only meant in the article that these three are probably the easier to copy Unix with, for their scripting nature.
They are openly mocking the legal system when it doesn't go their way. I care.
For me it's more that HN-oriented bloggers seem to think every two-sentence thought they have is so profound and success-guaranteeing it should be broadcast to the world.

I think of it as business-oriented trolling.
so thus pushing the verdict out of view without scrolling down....which if they make it take up the whole space, most people dont bother scrolling down...
Portland CyborgCamp 2012 Stream (Live now)
What are elections?
Hi Gabriel,

I'll change it. Thank you very much for reporting the problem. It now allows you to zoom in. I'll take more time to fix the header, tho.

Thanks man.
Please don't talk about how your post will be “downvoted into oblivion”, or plead with readers “don't downvote siimply because you disagree”. Just say what you are going to say, and let the chips fall where they may.

In any case, as I read this, you have the top comment on this thread. It'd look better in that spot without the obsession about how people vote on it.
I don't see what the big deal is. When I go to http://apple.co.uk I see a statement about Samsung in reasonably sized, clear print:

"On 25 October 2012, Apple Inc. published a statement on its UK website in relation to Samsung's Galaxy tablet computers. That statement was inaccurate and did not comply with the order of the Court of Appeal of England and Wales. The correct statement is at Samsung/Apple UK judgement."

Screenshot, in case you see something else: http://imgur.com/79bBm

Edit: Oh, I see...the statement gets pushed below the first visible page so you have to scroll to see it, which most people don't. Still, so what? Where did you guys expect them to put it? Tattooed on Tim Cook's forehead? Joe the plumber doesn't care about intellectual property disputes between electronics companies.
This is Ayn Rand style rhetoric that is thoroughly lacking in content and subsists entirely on individualistic outrage

Nobody who has seriously looked into Rand's fiction and nonfiction could say something like that. Either you've only looked into Rand superficially, or you are just parroting what you've heard elsewhere. There is immense intellectual depth in her work.

I don't see why liberals allow conservatives to monopolize Rand (in their half-assed hypocritical way). Rand makes bulletproof arguments for the rights of women and gays, against racism, and against the corporate-government cronyism liberals are railing against today.

She is a classical liberal, not a postmodern liberal, but today's postmodern liberals would do well to return to their roots. By doing so, they'd pull in lots of Republican voters and stomp the Republicans.
This is Roissy's new blog, correct? I don't know, the guy's writing just creates a strong, visceral negative reaction in me. Complete 'ugh' reaction. Like the worst parts of 4chan, it's disgusting, horrifying, and strangely compelling.

I think many of his points may be correct, but he is biased by his excessive cynicism. Grey-tinted glasses are no better than the rose-tinted kind.

If MChurch is chaotic good, and VGR is true neutral, I think Roissy would be lawful evil.
Ok, this looks like a nice hack :)

Here is a screenshot after you've logged in for the ones who wonder what it does :
http://i.imgur.com/3ZvNa.png
This should give you his archived posts http://archives2.twoplustwo.com/dosearch.php?Cat=0&Forum...
Why is the search bar on HN at the bottom of the page?
It doesn't feel like it is in the right place
The headline predictions aren't his only predictions.

Silver also publishes projected margins of victory (with margins of error), and he does so for every state and every senate race, not just the battleground ones. As such, it's possible to do a fairly substantial review of his model against actual results.

Statistics are never perfect, but his predictions are far more transparent and verifiable than anything else on the market.