skysight-inc/HackerNews huggingface dataset:
Yeah, I agree with the other comments -- the greatest JS scoping gotcha involves unbound methods.

var o = { a:13, add:function(b){ return this.a + b; } };
o.add(42); // => `55`
var add = o.add;
add(42); // => `NaN`, because `this.a` is (presumably) `undefined`
var a = 3;
add(42); // => `45`, because `this.a` is resolved to `window.a`, as `window` is the global variable used as the method context when we call an unbound function (which is stupid (`null` would have been a way better choice, Brandon)).

This is the sort of thing you learn and just get over to reach the level of javascript mastery. Yeah, some things are silly. But you know what? You only get to write one language to access the dynamic web.
To answer your first question: It's pretty easy to track where bitcoins go. People have tools that visualize this (I've seen them). I don't know of one off the top of my head I can point you to, though.

To answer your second question: This idea has been discussed at length on bitcointalk.org by a lot of people. The idea is known as "tainting." There are a lot of problems with making it work in practice, so the concensus seems to be "don't go there."

To give you a sample of the (IMHO valid) objections: For one thing, it's difficult to verify which coins really should be tainted. (How do you know someone claiming certain coins should be tainted is trustworthy?) For another thing, tainting creates two "competing" bitcoin currencies, black coins and white coins. Finally, there is no central authority, so it would be challenging (though perhaps not impossible) to come to a "general concensus" on who should be in charge of declaring coins tainted.
Ticketmaster monopoly - Will it ever end?
Ticketmaster was started in the year 1976, and they just work locally but as soon as they enter in this business they grew rapidly and by the end of 1988 they had their roots in UK, Canada...
Few days ago, when this was on MainPage, it ended in different loop than now.

Today most articles ends in cycle between Philosophy and Modern Philosophy.. ( http://en.wikipedia.org/wiki/Modern_philosophy )

few days ago, it was cycling between Philosophy and Agency ( http://en.wikipedia.org/wiki/Agency_(philosophy) )

What changed and why?
Yup, it's a good solution. Funnily enough, it's very similar in nature to Apple requiring you to pay $100 to get a developer certificate for iOS (which allows you to run software that can break just about any limit that Apple imposes on AppStore apps). Maybe Apple PR will notice that this was positively received, and start donating the $100 developer fee - it sends a loud signal that the fee is all about filtering, and not about raking in $$$
I also hate ads on TV. That's why I don't watch TV anymore. Except for HBO which is not ad-supported.

This is not about responsibility towards a business model, it's more about rewarding good behavior and punishing bad behavior. As a consumer, you definitely don't want bad treatment.

After all Photoshop and MS Office success rely at
least for a part on software piracy

That's true, but look at the other side of the coin as well ... because of software piracy, alternatives don't have a chance to penetrate a market that's monopolized. It also keeps Microsoft and Adobe lazy. No competition means no incentive to improve and no incentive to lower the prices.

Companies like Adobe and Microsoft have pockets deep enough to ensure that piracy is kept under control. But the story is very different for small companies or independent developers that just want to make a living. Also piracy doesn't work in the same way for games, or other products that people aren't using on a daily basis.

That's why I consider piracy immoral - it kills small software developers, it perpetuates the monopoly of big companies and is simply unfair to the people that worked on that software, pushing them towards more control, flawed technologies (DRM) and server-side subscriptions (in which case users don't really own anything anymore, not even their own data).
Lets call it CSS ∞ then!
For unknown reasons, ARC has truncated my code-comment. It read:

// => `45`, because `this.a` is resolved to `window.a`, as `window` is the global variable used as the method context when we call an unbound function (which is stupid (`null` would have been a way better choice, Brandon)).
just use the software-engineering 2.0 way (vc but not github) and send a mail to their mailing list:
haproxy@formilux.org
Yet another Bitcoin exchange on Linode being hacked through the service console (I can't find the post where he mentioned it, but I remember reading it yesterday. He mentioned that the machine wasn't reachable on an external IP.).

I'm currently not sure about weather this is partially to blame or not. Would a dedicated server have made it harder to access the machine?
Note that a rejected applicant will have learned from the failed YC interview and adjust his presentation accordingly when applying to another incubator.

Kudos for your postmortem optimization feedback loop. This is one of the non visible features of YC that could explain the difference. Do you record the presentations for later review in such case ?

For the applicants, this gives the hint that they should apply to many different incubators and angels before applying to YC so that they can learn from their rejection how to optimize their submission. ;)
A $7 turky and a $400 iPad to Christmas this year?

Well maybe people should overthink what they shove into their machine what has to keep them running their whole life.

We need a new culture concerning the consumption of food. People should be more aware of where their food comes from and under which circumstances its "produced". Beeing selective will keep us from throwing away so much in the future.
Platforms are for pussies  Yet another independent magazine calls it a day
On Entrepreneurs & Earned Media
Yes, the Son of Obsidian theme (http://studiostyl.es/schemes/son-of-obsidian) is so much better than this theme (for ASP.NET projects anyway).
We don't automatically throw it away. It depends on the food. Is it something that would keep well, or would it be better to just throw it away? Sometimes, food kept in the fridge is neglected or forgotten about and just ends up being thrown away a few days later.
Could you explain your comment ? It don't understand the relation with the comment you responded to.
For a much longer (but, I think, insightful and amusing) variation on that theme, see http://bradhicks.livejournal.com/393124.html. Warning: not everything in the first paragraph is actually true.
5% of our population is starving/malnourished children... http://feedingamerica.org/hunger-in-america/hunger-facts/chi...

Everyone reading this forum has probably never come close to actually dealing with the poverty levels that afflict a surprisingly large amount of people in America. The level of accepted inequality with almost no social welfare net is atrocious.
This Guy Has the Coolest Job in Coding [video]
Autistic and awesome. I always try to make transparent terminals for real time web development but give up in frustration and go back to doing it the old fashioned way.

This is a cool interface. It's fun to use math/graphing libraries in design. I used one for this: http://webp2p.org

Good stuff
The article mentions that it's difficult to oversell Xen boxes. Anyone care to comment on why this is?
6.1 was running on an even more ancient PC from 2001. This was at a former employer so I have no influence over this system any more. The funny thing was that we had ample budget for this project, I think we spent about $10k on a very nice rack-mount SCXI DAQ and about $60k on other equipment but upgrading the computer system driving the whole thing was out of the question due to color-of-money issues and dysfunctional inter-departmental politics.
Hate to be blunt but that is a really small amount of the total food consumed. No system, no matter how perfect, is 100 percent efficient. There will always be waste.
11 Things You Didn’t Know About Yelp
yay a survey popup!
There is a series of commercials where someone who is handling a task well explains that they are not a professional but they slept at a Holiday Inn Express the previous night.

The original commenter's post read like the beginning of one of these commercials.
Great, I'm loving this extension a lot, great idea and execution.
Statistically questionable, but much better than most non-mathematical publications involving statistics. The problem is: every use of statistics outside of pure mathematics is questionable. Even in experimental physics, where perfect distributions are assumed, when an experimental setup may well lead to a bias. That's the major point the paper raises. Given the standards, I don't doubt for a second that this paper was rightfully published. If it wasn't, the question is: how many other papers weren't? I'd argue more than half of those employing statistics.
Ask HN: Money back guarantees with eproducts?
I am working on producing legal template documents for businesses without a legal department (e.g. confidentiality agreements).

What does HN think about offering money back guarantees once someone has purchased the product?
The Metrics of Space: Tactical Level Design
It's an american joke, my apologes for both using a cultural reference and making a pretty snarky comment.

A more "HN-spirited" comment would have been:

You aren't speaking from any real authority or
experience, and your 5 paragraphs could have been summed
up with the following: "when you gamble you don't expect
to win them all, so regret is baked into the equation".
Please be more concise with your comments and get to the
point.
It strikes me that if people have an issue with much of this, they have an issue with the concept of jury trials.

This guy isn't an expert on tech or on patent law, but the system isn't designed assuming that he is, actually the opposite. Jury trials are meant to put cases in front of 12 ordinary people and have them decide the facts with the judge guiding them through the law. Serving on a jury I (or rather we) were told that he was the judge of the law, it was not for us to interpret that, we were the judge of the facts.

If the jury does or seems likely to do something which contradicts the law then it is for the judge to direct them otherwise. If you believe that that should have happened and hasn't, then your issue is with the judge, not the jury (and here I would suggest saying he doesn't understand the law is probably a long shot, and if Samsung believe this then they will have grounds for an appeal.

But cases are meant to be judged by ordinary people, complete with their flaws and weaknesses, their biases and prejudices and their imperfect understanding because that is the standard the law is held to - the standard that "normal" people (rather than technicians or experts) see as appropriate.

Yes it's an imperfect system, but as with democracy, I'd suggest that it's the least bad system we've tried.
"Literally nothing." No, this is flatly wrong. It's $100 spent to make the spam filter work. Imagine if they had an expensive technological solution that used complex baysian filtering to detect frivolous submissions. If the average cost per legitimate submission were $100 to keep the systems running no one would bat an eye.

Yes the $100 doesn't pay for anything directly but it does serve it's purpose and it does result in a lower operational cost for the system overall, so it's incorrect to say that it buys you nothing.

Consider an alternate scenario, for example. A company has a program which provides matching funds for charitable donations by employees. Is that money buying "literally nothing"? No, it's buying greater employee happiness and strengthening the bond with the employer in exactly the same way that a salary bonus would.
Ask HN: Is H-1B realistic for new grads?
By this time next year I will be graduated with a M.Sc. Computer Science and I am focusing on getting a job as software engineer in the USA afterwards. The H-1B visa seems, besides the J-1 visa, my only chance to get there.
Normally H-1B is for highly qualified job applicants, but what about new graduates coming from the university having round about 1 year work experience?

While I am pretty sure that this is possible, as in there are companies which would sponsor a H-1B even for a new graduate I wonder what do you think about that?

If you are a company sponsoring H-1B what expectations would you have from a candidate? Probably the same from every one else..., but still these are other measures since this involves a long visa process costing the company a lot of money and time.
C/C++ Low Level Curriculum Part 9: Loops
In 2010, Americans generated 34 million tons of food waste. [1] Does anyone want to help me build a smarter refrigerator that automates food storage and notifies the household when something is about to go bad?

[1] http://www.epa.gov/osw/conserve/materials/organics/food/fd-b...
I'm sure part of the issue was that I was trying to teach myself Labview under a deadline as a fresh college grad with zero oversight from anyone with experience with it.
Hackers leak 1 million Apple device IDs
Hoe kan ik snel afvallen
A little off topic perhaps but what amazes me the most is that the Three.js code is actually understandable for someone who doesn't do 3D programming. It all makes sense, and the interface is just perfect.
Aha, someone changed the first link on page Problem from purpose to obstacle.

Its a little bit like butterfly effect :)

http://en.wikipedia.org/w/index.php?title=Problem&action...
To install an off-store script download it an drag it onto Chrome.
>What is not reasonable is how deceptively similar the ad looks to an actual search result.

I'm not sure if this is true as I almost never click on an actual add link rather then a search link. I'm not sure if this is subconscious (I'm simply not seeing the adds), but I think if it was deceptive I'd be clicking them all the time.
That's probably just because everything is cached now. Connected apps can't make loading slower.
Here's How Reddit Survived And Thrived
Take a look here: http://www.freewebspace.net/forums/showthread.php?2246409-Xe...
Out of sight, out of mind http://www.history.army.mil/brochures/Somalia/Somalia.htm
To me, my $4000 Savile-Row suit is worth twice as much. It's not bespoke, it's made-to-measure. Sort of half way to bespoke.

I don't need to wear suits, I never really have. I've always worked for relaxed companies, never been to a wedding (well, apart from the one I bought the suit for).

But I'm a skinny guy. Even the slimmest of fitting shirts and suits on the rack didn't really fit. My suit? It's like a glove. I put it on and feel awesome. And this is why my suit is worth every penny.
Reddit’s Database Has Two Tables
Why you can't sleep
I think part of the problem is that it is considered to demonstrate wealth to have a full fridge. People feel good knowing that there is always enough to eat in their homes.

Another problem is the sheer distance to the next supplier of food. Supermarkets move outside of towns, so people feel it is best to go shop for a longer period of time when, in fact, they can't possibly plan their food needs. So a lot of stuff gets thrown away because it has gone bad or doesn't look as nice any more.

In Germany, we have organizations like "Die Tafel", that take food that is near it's best-before date out of supermarkets and distribute it to homeless and poor people. That to me looks like a much better use of the over-supply on food.
Interesting. In Sweden the high level information about a private company is publicly available. Several websites like allabolag.se lives from aggregating this data and reselling it.
I could say exactly the same about Ireland, especially the west, a great place to live and the government are very supportive of startups
Depends on where you are. States like NY, IL, and MA are running quite short on landfill space. E.g. the Chicago area has a little over a dozen years of landfill space left at current rates. As a result they have to ship the waste to places like West Virginia and Ohio, which have a lot of available space. However, this creates a lot of greenhouse gas emissions in the process, and of course costs money.
How are they calculating the value of food thrown away? Are they assuming you could deconstruct the uneaten portion into its ingredients then resell them at their retail price? Perhaps pro-rating the menu price of a restaurant dish?

Or are they using the actual street value of a half-eaten Applebee's chicken fried steak?

If they're doing the latter then yeah, that's pretty wasteful. If not, they're just doing bad math based on bad assumptions. Might as well talk about the trillions of dollars in used cars going to junkyards, assuming that every 1978 Ford Cutlass is still worth its inflation-adjusted showroom price.
You don't need Java
Isn't that what http://fredericjacobs.com/identifying-the-traitor is?
Is the benefit a constant "Error establishing a database connection"?
I guess we'll never know for sure if Steve Jobs egged on his buddy Larry Ellison to throw this sucker punch at Android but given his apoplectic reaction to Android it sure seems likely.
Nice idea. I'm tending to use Vim with a vertically split screen, notes on the right and the draft to be edited on the left. To bash in the first draft, I tend to use PyRoom (Ubuntu Linux).
It's great to see Scotland mentioned here on HN.

For a country with a rich, celebrated history of inventions (http://en.wikipedia.org/wiki/Scottish_inventions_and_discove...), it would be wonderful if we could eventually see a start-up culture like they have in NY/SF.

Can we please not call it Silicon Glen though?

--

Edit: As a developer from Glasgow I find it hard to find interesting start-ups. If any happen to be reading, I'd love to hear from you: <shamelessPlug>http://martinw.net </shamelessPlug>
The article makes the mistake of equating universities with talent pool. Scotland has a much smaller talent pool of developers than many other countries and that's a fundamental bottleneck for any startup.
It's also grossly insecure unless you sanitize $udid, which thankfully the author of this script does.

It's still relatively unsafe, as it invokes external programs through a shell, so you're dependent on the shell's environment, which can diverge on different systems. Last I checked, PHP did not have an easy, obvious way to safely invoke another program. You can do it manually with a mix of pcntl_fork and pcntl_exec, but capturing the output using that is more difficult.
> Autistic

That's a rather unfortunate typo :)
Surplus food consumption and waste in San Francisco/America raises food prices globally.

A lot of that food will be wasted imports, or food that could have been exported if not bought by American consumers.
Leaked Image Shows Packaging For “The New iPhone”
Right - the aerospace people aren't stupid - far from it. They simply have vastly different goals and constraints, and thus a different organization and a different development process.
"And the more he talks, the worse it gets for that verdict."

Is that the case in the US? Can this gentleman's comments become evidence at the appeal?

In the UK, members of the jury are not permitted to discuss the case, their deliberations or aspects of the evidence during or after the trial. For ever. It is contempt of court if they do.
He's an ex-programmer and many of his stories (those set in the current era at least) have gadgets like palm pilots as key plot elements. So there's that.
Introduction to Growth Hacking for startups
Morality aside, food in San Francisco physically cannot feed people anywhere else! Personally I try to clean my plate when I eat. But your values may vary, and as we live in an affluent area, there's no objective reason why you shouldn't toss half your food, if you felt like it.

That may be true when you talk of food in its final state - obviously you can't ship your half eaten stale sandwich halfway across the country to feed a hungry child. At a different scale though, by buying food you don't need, but can afford in your affluence, you are driving up the cost of the ingredients for those poorer and in other locations by needlessly reducing supply.

Waste by the rich /does/ affect the poor's ability to buy food whether you like it or not.
The only reason they are short is NIMBY. As far as actual space there is plenty of room.
How much for dialcloud.com? Couldn't find any contact info in your profile.
Interesting to know; and for low- to medium-value deliveries, this would be useful. Wonder how this would scale country-wide?
$1.45 per person x day is not a "small" amount; for a family of four it's $174 per month: twice or thrice the price of a typical Internet subscription which everyone finds expensive...

But of course what the article doesn't say is where this waste happens: in the home or in food-processing plants, or as unsold inventory in supermarkets, etc.
Nothing of the sort actually.

On the contrary, it shows how by breaking things into smaller modules instead of a monolithic one, they got things moving along faster.
A Pensieve for the rest of us? Sounds useful, will try this out (albeit not with the promoted app - I don't do Windows, sorry).
Chinese company to sue Apple when iPhone 5 is released
Any thoughts on how possible Scottish independence might affect this?
A Bouncing Angry Bird
Also, wasn't DHTML just HTML+JS?
Google had asked for $4,030,669, but the judge cut it back, denying the part that was for the work done by the ediscovery vendor. Truthfully, I've never seen a bill of costs that was not cut back, but the bottom line is, Oracle has to pay for bringing this stupid lawsuit about APIs.
I must admit I don't see the problem with equating universities with a talent pool. Could you elaborate on why that would be wrong? It isn't always true, but it is a reasonable assumption that graduates are of a decent calibre.

I would fully agree that a university education is not required in order to be considered talented (some of the most talented people I know didn't attend university), but at the same time having a degree shows a certain level of ability. If you have a CS degree, you should at least know your way around a computer, and the post-graduate research being done by universities is world leading. Being at the forefront of your field isn't talent, what is? (again acknowledging that this doesn't make those people product geniuses - a different form of talent!)

Scotland has a much smaller talent pool of developers than many other countries

Presumably only because the population is smaller than many other countries?
On behalf of everyone in your country younger than you: cheers for not giving a fuck. Don't expect much sympathy when you all have alzheimer's.

This is what I mean when I talk about the death of inter-generational good faith.

Unless of course you're working on some sort of synthetic biology to eat trash, in which case, carry on I guess. We're all (desperately) rooting for you.
which city particularly in the west?
Scotland has a smaller pool of people than many other places. But there are still plenty and people would relocate if there was more demand as the article says.
Personally I don't see it affecting any of the five points raised: however, if you're looking to start a new business there may be some financial considerations. But to be honest, despite all the talk true independence is really quite a long way off, and certainly not until the EU financial situation has generally calmed down (so, a long way off!).
Perhaps it would simply come down to what happens to the tax rates show a local government have the ability to raise and lower taxes? Lower taxes and more grants for small businesses === more people willing to try their hand at their own business.
Apple got where they are by taking other people's ideas and making them more marketable. Railing against Samsung for copying is ironic given that's Apple's modus operandi.
Can we please not call it Silicon Glen though?

too late, I'm afraid - http://en.wikipedia.org/wiki/Silicon_Glen