skysight-inc/HackerNews huggingface dataset:
Well I'm a javascript noob myself but I'll try to explain. The clever thing is how he used eval.

This is where the magic happens :

var getter = function() {

var value = localStorage[elm.id] || "";

if (value.charAt(0) == "=") {

with (DATA) return eval(value.substring(1));

} else { return isNaN(parseFloat(value)) ? value :

parseFloat(value); }

};

So if you entered "=A1 + A2" it would be evaluated as
DATA[A1]+DATA[A2] . A1 and A2 get bound to DATA because of the preceding with statement.

Now the question is what happens when DATA[A1] is called.
He used Object.defineProperty to ensure that whenever you try to access a cell the same method (which i just explained) gets called.

Object.defineProperty(DATA, elm.id, {get:getter});

This means add a property called elm.id to DATA and it's getter is the function I just explained.

So whenever we try to acess DATA[something] it hooks into the same getter method so a cell can depend on another cell which depends on another cell and so on ..

Now you can see why this so clever. Because he used the inbuilt eval it can evaluate any kind of formula involving multiplication , division or function calls.

The only thing I dont understand is how circular references are prevented.

Like I said I'm not very familiar with JS so if anyone notices anything wrong I'd like to know.
I think the issue is, if it's like the schools I'm familiar with, you took the 1xxx, 2xxx and maybe 3xxx stats/calculus/linear algebra courses. You didn't take their 3xxx/4xxx follow-ups that the math and CS (different courses, same idea) took. At Georgia Tech, CMPEs took 2130 Languages and Translation. The course introduced compilers, it introduced language hierarchies (regular, context-free, etc.), but the 3xxx or 4xxx CS theory and compilers courses were where the material was really taught. And CMPEs rarely took those courses. If they did they were seeking a second major (no minor in CS was offered at the time, IIRC).

The same is true in math. EE/CMPE, probably every E, took through differential equations, maybe another math course or two, but few took number theory, numerical analysis, real analysis, the 4xxx stats or 4xxx linear algebra courses.

The depth at the undergraduate level between what an engineering major gets from the other departments (math, physics, cs) is nowhere near the depth that those majoring in those programs will see (depending on school, I'll grant some schools may not have strong science or math programs beyond the core engineering majors need).
I think the point is that most users wouldn't notice having to press "Y" again to accept a new fingerprint.
Frequency Modulated radio stations are free in India. It comes with traditional broadcast ad.
So, it's not a problem for you to use TLS with HTTP 1.1? What's the problem with HTTP 2.0 then?
Joining startups right now is generally a very bad idea unless you join as founder or director level +
Chrome is dropping NPAPI support, which includes the Unity browser plugin. Unity will be temporarily whitelisted probably through the end of 2014 but the goal is to remove support entirely.

http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-f...

So if they want to continue offering a browser plugin they have to switch to NaCl, I think.
This shows how far we've gone where we can write this kind of stuff easily.

However we have a long way to go. This would be nice for a start: http://vimeo.com/36579366
Leaked treaty is a Hollywood wish list. Could it derail Obama’s trade agenda?
F# is open source, and available on github.
Oil/gas/mining don't exactly leave the world a better place. Banks one could argue for both sides, though I tend to lean on bad too.
I have the exact opposite problem in math courses. I can visualize the transformations and what the math means, I can know the exact approach to take to solve a problem, but I can't seem to get all the way through without making stupid mistakes. "Partial Credit" for showing work never really helped me much.
I'm guessing what @rbehrends meant to say is that if you earn $2500/month and $1500/month basic income (unconditional) is introduced, the combination of inflationary pressure and downward salary pressure will result in you likely having a lower purchasing power than the assumed sum of the nominal values.

Personally, I don't believe that the impact is going to be quite as zero-sum. As recent stimulus attempts have shown, when you give poor people cash, they happily spend it, contributing to the economy. This in turn helps support greater production of goods and services. If the production capacity were fixed, then prices would jump. Instead, we are likely to see production jump more.

This is my personal belief. Anyone that claims to actually KNOW what will happen is fooling themselves. From my understanding, NO ONE has tried this at the scale being discussed.

Closest I think is Alaska Permanent Fund, but it's very small individual amounts (highest was 2008 in the amount of $2,069 for the year). Source: http://en.wikipedia.org/wiki/Alaska_Permanent_Fund

Compare that with $14,000-$30,000 being discussed and you see that we have no idea what such an infusion will do. It might usher in a new golden age of arts and sciences, or it might make us all lazy and inept. Personally, I'd rather give it a go, than sit and guess forever. Ending poverty forever just sounds too good to pass up.
Is there such a thing as a right to privacy at work? The employer can install cameras, monitor computer usage, monitor entry and exit... there's no privacy at work, including what your salary is.
Can you explain how such a tree would map inside a graph? I can't think of an obvious use case.
The problem with this model is that the company at liquidity event often rarely resembles the company during the early phases. As such, the employees which benefit the company the most during the early phases, and whose skills are most aligned to those phases will not be fairly rewarded if they make the (IMO, correct) decision to leave the company to make room for the right people at those later stages.

The assumption here seems to be that the primary value of an employee is their future effort, not their past. While there are certainly problems with poor employees leaving with some options vested, I fail to see this as an endemic issue where tons of bad employees are leaving companies one day after the initial vesting cliff (which should only result in the first tranche of options, not their full amount). If you have a big problem with this - I'd say the problem is not the vesting of stock options, but your failure to accurately create the right ISO plan and the failure to accurately identify which employees are likely to leave before you've attained the value you need from them.
I guess it's not CMDA (Verizon) compatible.

It sure looks nice otherwise, AND it has an FM radio. I hate that most new models have dropped that.

EDIT: Reformatting
The mods constantly replace blogspam with the original source. Probably several times a day.
3G is spotty. I should preface this by stating that I use Straight Talk with an AT&T SIM which is likely the other half of the problem.
Holy crap that is expensive. I'd expect a service like this to be less expensive than my local home brew store due to the grain bill being ordered in bulk.

For comparison, a super high gravity Belgian black will run about $60, including lots of Belgian Candi Syrup. Your average nut brown will run about $20.
Here are the prices for the Brazilian version.

8GB single chip: R$649 (US$280)
8GB dual-chip: R$699 (US$300)
16GB dual-chip with 3 covers: R$799 (US$344)
16GB dual-chip in a package that includes a headphone: R$999 (US$430)

For someone in the US it seems a lot, but it's actually very well priced IMO.

Source: http://www.techtudo.com.br/noticias/noticia/2013/11/moto-g-d...
> Those seem valuable at first, but is that still the case?

Probably not. The only one that springs to mind is diy.com, belonging to UK DIY retail supplier B&Q.

But no-one thinks to visit that domain, so in literature they have to suffix it with 'the website of B&Q'...
Sucks you guys couldn't get it to work. LESS has made our lives easier. We have a LESS parser in javascript that gets put in place of the css includes in a dev environment. When deployed, that whole block is replaced by css that was compiled at the build point.
ssh only gives you the "y/n" choice the first time you connect. If you've connected before but the key has changed, it throws up a very nasty warning and does not even give you the choice to continue. You have to manually edit your key file to remove the offending entry if you want to start using the new key.
It might have been better phrased as "the only sure thing in software engineering" but that doesn't sound as good.
More blaming statements. My point has already been explained by saying what my intent was - to illustrate there was more than water vapor in the juice (true) and that ingredient was in something we use as an air freshener (also true). If you chose to not believe me, that's on you - I don't fucking care one way or the other.

BTW, my wife pointed out to me yesterday that Febreze is not on the aisle with cleaning products at the market - they are located on the fragrance aisle with candles. Here's a link at Walmart showing the same logic: http://www.walmart.com/ip/Febreze-Air-Effects-Linen-Sky-Air-.... It's categorized as an air freshener. Febreze is evidently not considered a cleaning product by those who sell it.
This functionality exists - Click the up-arrow to the left of the article, it will log it in saved-stories and you can reread it later. Added bonus is that you +1 the article so others know you found it worthwhile.
Ask HN: mobile development with Phonegap vs. native?
Pretty straightforward story here: Android dev here looking to make a CRUD-type application that can deploy to the iOS platform as well. Seems like PhoneGap might do the trick.

What are your experiences with Phonegap? Is it generally permissibe for making enterprise mobile applications? What features could be missing? Why doesn't everyone use Phonegap if it can deploy to multiple platforms?

Cheers
Right, this is true. However, I think trainability is a more important point. As humans get phased out of manufacturing, co-working will be less and less important. However, simplifying the way that you train a robot -- letting someone who has the domain-knowledge move it's arms around and produce the correct functionality -- seems much more important, in the short and long term. I wonder if there are any other features of their robot that I am missing that could me be more important.

I agree, price is what's really amazing there -- and I'm assuming that this guy has created a prototype that can be scaled up, and I think it'll be even less than $22,000.
I think models of this type are a useful way of "thinking things through" further than you'd be able to do in your head, and a push to make sure you're being concrete about what you are and are not considering. It's not "doing science", it's not meant to give reliable predictions - there are too many degrees of freedom; it's meant to help with reasoning. It would follow, though, that "The simulation says X, therefore we should Y" is an inappropriate use of it.
This would be cool if I brewed every month. That would be a lot of work though and I can see the kits piling up until I cancel your service. Maybe mix it up and for people like me have the option of getting a hand picked craft beer pack on off-months (when I don't have time to brew).
I thought that Netflix required Microsoft Silverlight to play?
Cool idea.

I don't have any sense of your service area (SF? West Coast? US? Global?), price points, or your food handling reliability.

All of those datapoints are important for me to even ask myself if I'd buy.
We have just updated our website, it's in english now ;).

http://jarriveapp.com
No he isn't, he's the richest amongst us.
I have done a lot of scripts/tools to mostly automate or simplify it for non-techs to take over, but probably the one that I am most proud of was a 'mailbox reaper' task that was fully automated by crawling the filesystem in a Netapp storage engine (NAS).

A prior version was a simple python script that ran as a cronjob but it needed lot of hand-holding as it would run at times when the filer was too heavy, and it was annoying to babysit it all the time esp. at odd hours.

The new version used snmp data from the filer to 'gauge' how idle or busy it was (as a feedback loop), and it would self-throttle or 'accelerate' itself in various stages as necessary. Saved the company a lot of grief in storage costs, and it ran like a charm with with hardly human intervention. It kept various stats and logs which could be queried as needed. Also saved a lot of time for other engineers/ops on-call team to focus on other areas.

Looking back at it, it used some crude mathematical models to gauge the busyness of the filer, but this portion was designed to be plugable and independent of how the filesystem was being crawled.

This simple program (set up as a forever loop daemon) got me thinking on autonomous agents and 'self-healing' software in general but never had time to pursue it in a more academic setting.
I'm not normally one for off-topic comments, but fitting username.
It's worth pointing out that they have Git support built in as well.
So how would you reduce this version:

p {
margin-bottom: 20px;
font-size: 14px;
line-height: 1.5;
}
footer {
position: fixed;
margin-bottom: 20px;
font-size: 14px;
line-height: 1.5;
}
i think you're missing the point. having the SSL keys would give them access to all users' decrypted data, not just Snowden's. If Joe Blow happens to have an undeclared overseas bank account at Bank Foo, with account #1234 which can be seen from decrypted emails, then the FBI can investigate this "anonymous tip" overseas with no probable-cause requirement, then arrest Joe Blow for tax evasion. the origin of the tip would not ever need to be disclosed, they will just have gained knowledge of this bank account. afterwards, they can say "we have knowledge that Joe Blow has undeclared offshore funds, let's get a warrant for his email"...and so we have an illegally gained tip, used to get legal access to his whole email account.

Anonymous tips have been used to procure search warrants in specific circumstances [1], i'm sure there's no shortage of lawyers who can convince a judge, "cause 9/11!"

[1] http://gambonelaw.com/dealing-with-anonymous-tips-and-confid...
Designing a more effective donations page
The pricing on the FAQ says it's $57/month, but when you go to the sign up form it says $50/month.

Otherwise, cool service!
To put it bluntly: the assumption that you could model something with such complex (and poorly understood) socioeconomic effects using a mathematical model is ludicrous. The onus is on you to show that you could even possibly account for enough of the important effects, the sufficient variation in their outcomes, unknown and unintended effects, and social reaction/adaption/exploitation. Some of these can't even be measured.

So your call for programming as a response says more about how well you understand the problem space, than anything about an alternative to current political discourse. Not only will people never use mathematical models to express their opinions, even if they did they would still talk past each other and hold tightly only to the answers which confirm their own biases. You misunderstand why and how people exhibit this behavior if you think a numerical mode of expression is the solution.
yep! All of that is definitely true as well. People seem to be receptive to salsa in general, and from there I can see what types of flavors everyone likes and settle on a fair price point
And if you don't, you can crack the phone open and look at (much of) the wiring yourself. This is of course a lot harder with modern multi-layer PCBs, but I'd imagine still not impossible. You can at the very least take a multimeter to the microphone pins, and test whether they are indeed shorted or not.
If open source projects like that can't stand without constant corporate attention, should they stand? It sounds like they're trying to get stuff in to the hands of people who are actually interested.
Where are PGP libraries for iOS?
Date and time input that isn't awkward
What about option grants at public companies? It seems like a way for top-level executives to loot the company while the rank and file get enough kicked down to them keep them quiet.
I haven't investigated F# much. I'll take a look.
Yes, the dreaded 2,146,316, as foretold by Nostradamus.
probably because people here don't like domain squatters (it sounds like you bought the domain purely to sell it at a profit)
Please don’t generalize my arguments to scientific method as such, I am just talking about economy. A real-world economy is a wildly nonlinear system, a bit like the weather. And there’s always something important you may fail to take into account, like the role of the private financial sector in the recent economic crisis. You may argue that we are now wiser and our models better, but the plain fact is that the degree of correspondence between our models and the real economic world is very poor. When you tweak a model for such a complex system, how do you scientifically know it’s better for predicting the future behaviour? It’s madness to think that you could reasonably model what would happen after introducing a minimal income.
I think it's absurd that these negotiations were shrouded in such secrecy in the first place. These rules, if implemented, will have a massive impact on how the global economy will work. Yet, the public, who will end up living under the yoke of these rules, not only has very little direct input into the process but didn't (until today) even have a clear view of what rules were being considered.

I don't see how one can have a modern democracy if rules are made in what was (before the leak) a black box.

Hopefully this will lead to more transparency for these types of negotiations in the future. Leaking/spreading this leaked information should help show those with political power that this type of closed door process is not going to be palatable to a connected and informed public.

These types of international agreements tend to stick around for a long time once they are implemented. So, expending energy on the front end to get a more balanced agreement that works for everyone impacted, not just those with an invitation to sit at the table, will save a lot of trouble later on.
Even if the focus is on Andriod/iOS using C#, there should be definite spillover effects for Mono.

I see this as win/win.
> The best part of this whole situation is you are self-aware of your anxiety. It took me nearly 10 years to notice how it affected me.

I'd be interested in reading more about how you managed the whole thing.
I remember reading a comment on Reddit a few months ago that talked about how some of the very ridiculous things we see on fashion runways like clothes that almost literally look like garbage bags, things that really make you say "wait, are you serious?" actually legitimately make a lot of sense to fashion pioneers. I suppose it must be like an acquired taste type thing, like fine wine, delicacy foods, fashion choice, etc.

I agree though, that insofar as good design is really about communicating information to normal people, A List Apart just dropped the ball there. Maybe the fact of the matter is that the elite designers sometimes get bored that they never get a chance to let their creativity out? I'm not sure, just thinking out loud. :)
Point noted
I think it does make it less likely to be logically flawed, in that you can better see what is following from your assumptions. It's like stronger typing or an additional test in your test suite. It's perfectly possible to still get wrong results, but it's less likely. "Less likely enough" is another, extremely important question.
I did all kinds of crap related to physics, chemistry, calculus, and the arts. I'd much rather have done those kinds of courses than the (almost completely) useless things. There is definitely credit room, just a wrong focus. Also being able to skip early level courses for more advanced ones would have been nice (I challenged a few anyway, but they were expensive and still consumed some time.) Then maybe I would have enjoyed CS and not dropped out.
Actually we go out of our way to avoid killing stories critical of YC cos, to forestall exactly that complaint. Not that it works.
Is there a list of web-based editors beyond http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_... ?
Yahoo is auctioning off domain names like sandwich.com and cyberjokes.com
Its for more than Hacker News articles though
TypeScript is open source (Apache 2.0).
Bug reporting: entering "1 + 1" causes the cell to display "1"
Best Buy halts all HP Chromebook 11 sales, other retailers 'out of stock'
What happens to a city when its street cleaners go on strike
I agree, but lets also be sure they don't get a pass just because they are large. In Google's case, being a behemoth corporation is in itself a business risk that they need to manage, and one way to motivate them self-police is by holding them accountable for bad decisions.
I really like the usefulness of the pprof tool. I also like Rob Pike's book "The Unix Programming Environment". It's clear that Mr. Pike likes small command line programs that do an isolated task well.

I just wonder if it could be more beneficial to the community if Google invested in an IDE with a GUI for all of these tools.
Microsoft is a possible suitor and that follows logic with what we saw in the Nokia purchase.

That said, I still think Amazon will buy Xamarin.
I agree with this. I could see myself signing up, getting one kit, and cancelling. Repeat every couple of months when I actually find time to do the brewing.
> it looks like IE8 is finally falling off the radar

Some are luckier than others... I suspect one of our major clients (one of the country's largest banks) will be stuck using IE8 and nothing but for the next few years at least. They only moved off IE6 recently due to it falling out of support next April, so there is a chance they'll stick with IE8 until 2019 (the year before it and Windows 7 drop out of extended support).

At least our other major clients (smaller financial institutions) have started to see sense. While they are stuck on IE8 due to some ancient internal code that won't work on anything more correct that are at least rolling out Chrome on their standard desktops as an alternate choice for everything that doesn't rely on old IE bugs.
I read it as tongue in cheek.

Think this is the first time I've read about someone being offended for being called a fool, maybe this is just a touchy subject for some people(not trying to be snarky)
All great questions. As for now I’m focusing just in the US, but depending on demand I may expand.

I’m working with existing salsa brands, mainly independently owned brands who will take care of the shipping.

I’m really just doing this for fun to share great salsas and help out some existing small businesses. We’ll see where it goes from there
Also, go run -race
An African hack trip
That's an interesting challenge. We've posted revenue numbers on our blog, but not salary information. That said, the first job ad we put out will have pretty clear salary information, so, ok, I'll answer.

Here's the payscale in short, then. There are 2 main roles within the company: client management and sales.

Salespeople get £20k p.a., plus a 15% commission on sales, plus a share of the bonus pool. The base salary never goes up according to the current scheme.

Client Managers get £28k p.a., plus a share of the bonus pool, but their salary goes up by £2k/quarter for the first year, £1k/quarter after that, up to £40k.

The bonus pool is calculated by taking all the turnover, halving it, then deducting overheads, commissions and base salaries. The remainder is the bonus pool, split in a number of shares.