skysight-inc/HackerNews huggingface dataset:
I think it's extremely telling how people react to it. Some will get annoyed and demand for this to be disabled because others have the advantage on them. Others will try and learn to do it to get that advantage on other people.
I wonder if you could use this to perform a similar test to the marshmallow experiment (http://en.wikipedia.org/wiki/Stanford_marshmallow_experiment).
Yes there are, I'm not advocating for a one solution fits all.
If they need to learn something new, they will. It's part of being a programmer. For me, github's way of doing things is way more flawed that gerrit.
This is already a partly solved challenge. Text streams don't magically come into existence, programs needs STDIN, STDOUT and STDERR at their disposal to use them.

All you really need are scalars, sequences and mappings to fully express any data structure. Tagged types would be sugar on top but it could quickly add unwanted complexity.

All you need is a shell capable of marshalling data between the different programs piped together. Powershell is a nice idea but it only runs .NET code and that's a limitation I can't live with.
> Some women find a man who's had a vasectomy a turn off

Of course, this is a mating game. The time to get a vasectomy is after having children in a relationship that you know is going to last.
I don't understand why they want to use this code

primes = sieve [2..]
where sieve (p:xs) =
p : sieve [x | x <- xs, x `mod` p /= 0]

As their first example of Haskell. It's a prime generator based on trial division. And not even trial division up to sqrt of the number you test, but all the way up.

I like the idea of a small snippet showing of the power of haskell, but there are many much better examples imho. Perhaps the website could just choose one at random at each load?
I would have down-voted you for casting your way of thinking on me while being a smart-ass. It is not your call to say what is the "appropriate" way for _others_ for editing cat pictures or managing bookmarks.

Your second edit shows that you care enough to raise your level so here you go.
Ah, I missed the 4-1 length ones. And yes those were *s
I think it works because signal handling in ruby is implemented within its own queue. It looks like when signals happen in ruby they are added to a buffer and then threads check this buffer when they are running. So threads will only run signals when it is compatible with the global interpreter lock to do so. So as you said this would make the enqueing/dequeuing atomic because they are protected by the GIL.
>In effect, this means state ownership, which we've later learned to be very dangerous when taken to that level.

I dunno. Sounds like a good idea to me. The government owns all the land and rents out 10 year leases to the highest bidder in the case of contention. Currently all that rent-seeking money goes to private individuals who do diddly-squat for the public good. Should society reward sitting on land rights? No, society should award work.
A linked-list is already too specific, a sequence is all you need to express any linear arrangement of data, be it an array, linked list, vector, or any of the myriad of other concrete sequence types.
There's a well-known, widely used, Python project called Babel (http://babel.pocoo.org/).

I find it quite annoying when people name their project without consideration for other people in the open source community.

Other historical examples include Mozilla Firebird, which was renamed to Thunderbird after loud complains of the Firebird database community, or Twitter's Fabric, which clashes with Fabric (http://www.fabfile.org/), another Python project.
CSS Variables Are a Bad Idea
Hi from "the sea".
I think the Functional Programmers crowd overestimates how much better languages can really improve software development.

Projects in the industry would be massively improved by: more focus on quality (eg. decoupling), technical debt awareness, enhanced communication, enhanced architecture, internal engineer mobility, more thoughts given on social dynamics and productive work environments.

It pains me to say this but supposedly "bad" languages like C++/Java (which are actually really well done) are not the bottleneck for software development. It is only a distant factor among many that lead to software being the permanent tragedy it is in our era.
And the promise version for comparison:

app.get('/thing', function (req, res) {
db.get({user: req.user}).done(user => {
res.send({user:user});
}, error => {
res.send(400);
});
});
The creativity of the id game communities is astonishing. Games that are more then 20 years old have been kept alive and popular thanks to their pop cultural status and undeniably their "moddibility". The latter can be attributed to zero DRM, active support from the developers and free source releases. I'd say the wide spread piracy back in the days which was much worse than today also contributed to the impact in society.

As I am writing this comment, the submission has 50 points, no comments and is almost at the top of the front-page. I've seen people suspect vote cheating at similar stats in the past, so look at this viral (sorry...) example next time and react more positively. :-)
Programs already need to have their input in the proper format in order to parse them. I'd like the mismatch error to be from the invocation of the program rather than halfway down the parsing.

For this to work data structures would have to be nothing more than scalars, sequences and mappings without specific concrete types. Just like JSON, YAML, and the rest do it now.
Datedropper – JQuery Dates Plugin
The good old-fashioned rocket jump is another example of this.

Quake 1 had a feature where if a player took damage, they'd get pushed in the direction the damage came from. This was originally intended to serve as a visual indicator.

Of course, this meant that if you aimed the rocket launcher at your feet, and jumped and fired simultaneously, the damage kick + the jump would launch you a good distance upward. This became a popular enough technique that it was retained in the Quake sequels, and even imitated in games like Half-Life (the Gauss Gun would push you backwards, allowing a "rocket jump" of sorts)...
Bunny hopping was removed from competitive play with zblock, and later on made to be disabled by the server. CS has a whole other side to it where people don't even play on normal maps, and bunny hopping is part of it or the main challenge.

Continuing my point, during the development of Quake 2, bunny hopping was "fixed" but players complained, and it eventually got added back in. It remains a central part of Quake gameplay. Action Quake 2, a mod for Quake 2, had bunny hopping in it like Quake 2. The mod developers then moved on and made Counter Strike. CS featured bhoping prominently up until version 1.3.

These games have always lived and breathed bunny hopping, it has been a huge part of the game, and has influenced the creation of many games (CPMA, Warsow, DeFRaG, etc), and even started a new genre of game that requires of focuses on skilled movement.
And our species proceeds to die off within two generations.
>So it uses parens if there are no params, but not otherwise?

Params are only optional if there is a single parameter.
I believe this is a result of the shift from production of physical goods to a more service-oriented economy.
If your main concern is "manufacturing X" it is usually fairly simple to tally "Number of X produced" (even "Number of X produced by operator #128") number of defective parts, number of returned items after sale...
If you deal with software development, translations, advertising, copy editing getting an idea of "productivity" is far more complicated.
Do you count "lines of text written by operator #128"? This might make marginal sense for translators (and you are still missing any idea of quality/defects, because even if a customer rejects your work as "completely wrong" you won't get any specific metrics) but completely misses the mark for the other examples I listed.

So yeah, we are stuck with the idea that "you cannot control what you cannot measure", but we have a serious deficit in terms of measures.
Computer Laboratory – Raspberry Pi: Lesson 1 OK01
This is also how ngx_pagespeed gets back onto nginx's event loop after finishing some work in a background thread.
That sounds like how certain types of combos work in games like Street Fighter.
It is a pity that the mathematics on this page is typeset so badly. Because the subject seems very interesting.
We're already creating ad-hoc APIs using cut, sed and awk and grep (to name a but a few) all the time in order to massage the data into a format the next program in the chain will understand. This sometimes involves non-trivial invocation chains, I always feel like I'm working on a representation of the data rather than the data itself.

I would much rather have functional primitives (map, filter, reduce, zip, take, drop, etc) doing this work.
Ask HN: will psychohistory ever become reality?
For those who have never read Isaac Asimov's Foundation, psychohistory is "the FICTIONAL science which combines history, sociology, and mathematical statistics to make general predictions about mankind's future behavior. Asimov used the analogy of a gas: in a gas, the motion of a single molecule is very difficult to predict, but the mass action of the gas can be predicted to a high level of accuracy. Asimov applied this concept to the population of the fictional Galactic Empire, which numbered in the quadrillions." http://goo.gl/09ypYw

Asimov's psychohistory is based on the following assumptions:

- The population under scrutiny is oblivious to the existence of the science of Psychohistory.

- The time periods dealt with are in the region of 3 generations.

- The population must be in the billions for a statistical probability to have a psychohistorical validity.

- That human reactions to stimuli would remain constant.

Given a sufficiently large population, will psychohistory ever become reality?
This was brilliant! Very easy to follow for someone who is not very skilled in Unix.
so how is this different from say TypeScript?
"not simply introduce you to a particular syntax"

I don't think Felleisen, et al. get that much credit for this, except of course in having the uncommon wisdom in choosing The One True Way ^_^, which for instruction is the simple Lisp dialect of Scheme. There's almost no syntax to teach, e.g. literals (e.g. numbers and strings), atoms, lists, and special forms like define/lambda and if. Which of course is a major reason to use a Lisp for introductory programming, you spend seconds to minutes instead of weeks teaching syntax (of course the students spend a bit more time in the lab learning how to use the editor to properly indent the code so it can be comprehended, but isn't that pretty much what you must do with Python??).

BTW, a counterargument I recently came across in the great SICP vs. HoDP conflict is that the latter has no "magic". Does that resonate with you? (I can't comment having started reading SICP back when it was a lively Technical Report.)
I would say that a lot of this problem has to do with your being a student.

When I was a student, I found it completely impossible to learn anything in any depth, or remember it for a long period of time, simply because being a student means perpetually working on tasks that are kind of meaningless because they're being handed to you. They're not things you're doing for some purpose or cause, they're assignments. You're learning for the sake of learning, which is very appealing but doesn't work too well.

Since I started working, I'm learning a tonne more and I remember all of it because I'm doing real things. That's not intended as an insult, it just means that the tasks I'm working on are connected to the real world. They're less abstract.

So I'd say, pick things you need to learn and do something real with them. Take it as far outside the scope of being a student as possible. Start that business. Apply the stuff you're learning to real life.

And take the pressure off. You're not going to remember all this stuff, there's so much of it and it's so complicated. A CS course would destroy me, so you're obviously pretty smart. Just keep being pretty smart.
This is super cool. I love/hate it when somebody does something so simple that I go, "gosh, I could have thought of that!"... even though I obviously couldn't have, in a million years.
After Effects smoke ray intro tutorial
Could you give some good examples of 100% altruistic?
once browsers/JS engines supports ES6/ES7, we don't need babel. But thats not the case with Typescript. But we never know. Babel may start supporting ES8. It can be never ending process.
So, to offset a Bitcoin, plant 1.6 trees and keep them alive for a century [1].

[1] "On average, one broad leaf tree will absorb in the region of 1 tonne of carbon dioxide during its full life-time (approximately 100 years)." http://www.carbonfootprint.com/plantingtrees.html
r. o. f. l.
Weafo: An iOS app for transfer any type of contents without even opening an app
Might want to get a better camera...
I was wondering about this today; it makes sense to change the name eventually anyway. Once ES6 starts being implemented more widely by actual browsers, the old remit is likely to be obsolete.
Typescript is a language that compiles to javascript, adding some features.

6to5 (now Babel) compiles javascript with Ecmascript 6 and 7 features (poorly supported) to JavaScript code that only uses Ecmascript 5 features (which all major browsers since 2011 have supported).
Haven't finished the rename yet.
12 Social Media Marketing Tips to Master
And so will AC systems in local banks.

The problem is not that something consumes energy if there are people willing to pay for that energy. The problem is how we generate electricity. It's getting better, but it has nothing to do with bitcoin.
Lodash – difference between .extend() / .assign() and .merge()
These are probably debatable, but I'd suggest Wikipedia and Archive.org would come close.
The waste is incredible. It seems like the nash-equilibria of a currency are far, far from a social optimum. In other words, the price of anarchy is very high. This has always been an off-putting aspect of bitcoin to me.
End of the m0n0wall project
A REVERSE PROXY FOR THE REALTIME WEB
What a brilliant idea! A "List Processor"!

Oh, wait...
I don't think it's as inconsiderate as you imply. Babel (as in tower of) is a fairly well known biblical reference that I'd expect to find used in all sorts of project names related to translation.

Indeed, a quick googling shows there's a Python Babel, an Eclipse Babel, an Emacs Babel, a TeX Babel, a Babel language, and an Open Babel for chemistry. I'm sure the addition of this new JS Babel won't inconvenience anyone too much.

If anything, I think the real issue is open source projects overplaying their hand and insisting they own certain words or ideas that they have no real claim to, particularly when there isn't any actual chance of confusion. The Firebird renaming wasn't so much sensible precedent as a good example of a Mozilla saying "okay please stop yelling, we'll do whatever you want".
I'm fairly certain those companies don't pay for those job listings.
I keep hearing "200 murdered journalists" -I have not really seen any evidence that it was done by the Russian government, rather than the mafiosos the present Russian government has been demonized in the US for attempting to remove from power.

As for "no dissenting media, conquering foreign territory, tolerating extreme corruption etc" -I can't tell which country you're talking about. Whenever I hear some slavophobe ranting about the Russians, it seems some peculiar case of projection.
Not really true. Babel is a generic term for translation/languages and the Python and JavaScript world are very different so confusion about a translation library and a JavaScript transpiler is extremely unlikely.
See https://github.com/babel/babel/issues/568 for why this name change happened.
A much better version is here:
http://www.mamikon.com/VisualCalc.pdf
This is true. As evidence to the fact, I have a little brother who is 15 years younger than me :-)
Please don&#8217;t actually use Retweet and Favourite for polls on Twitter
Thanks, bug filed: https://bugzilla.mozilla.org/show_bug.cgi?id=1133323
I sincerely don't understand why do people call it wasted energy.

If your car runs on electricity, is taking your from place A to B waste of energy?

That energy is used to secure transactions. And even with its decentralized nature which is usually less efficient that centralized systems (but more reliable, and without single point of failure), it seems to be so far doing it more efficiently than banking systems.
Why do you assume that condoms are only less pleasurable for men?
This is one of many reasons why you're seeing a lot of people in the crypto space favoring "proof of stake" recently, which doesn't have this cost (though this is very controversial still)
There used to be a race between Google news (news.google.com) and Hacker News to be the top suggestion for me, hacker news has pulled away to a strong lead recently.
Then our Doctors' information on IUDs was also very out of date. That was their recommendation. Despite the low risks, they were still risks we weren't willing to take.
EME is a way to add DRM support to html5 video, but it's not compatible with Flash's DRM system, so can't directly be used to implement that.
And so will AC systems in local banks.

You can essentially include the entirety of operations of the bank, and the lifestyle of the people employed by the bank. There are literally millions and millions of people throughout the world who do nothing more than manage and monitor a system that moves numbers around and deals with proxy derivatives like bills and coins.

Not that bitcoin is a panacea -- personally it seems completely untenable -- but if we want to talk waste, the current regime is extraordinarily wasteful.
Show HN: Product Hunt for Techno Tracks
Reddit and the Future of Creativity
If the point is to show the power and elegance of the language, why would they complicate the expression with optimizations? The sqrt example is obvious to anyone who understands that line anyway.
While I'll be interested to see how the blockchain gets exploited for new tech, there are a couple of problems with your statement. First, right now there is a problem with how we generate energy, and a centralized banking system should be a lot more efficient in that regard, for all its other flaws - Bitcoin relies on the calculations being difficult and therefore compute/energy intensive, after all. Second, even if we had perfectly clean energy generation, there is a limit to how much we can use unless we get into really crazy future tech like exhausting energy into space via refrigerant/laser system: see http://physics.ucsd.edu/do-the-math/2012/04/economist-meets-.... (also the `Sundiver' sci-fi!).
> People who like Java, but favor the UNIX approach of small programs over the JVM.

Ah, that must be why the golang toolchain does not support bloated enterprise features like dynamic linking, so a hello world binary ends up almost 2MB. Go UNIX!
The government owns all the land and rents out 10 year
leases to the highest bidder in the case of contention.

So car company A leases some land for $x builds a factory at a cost of $5x. Good news, jobs for the local economy and whatnot. The factory can't be moved, and they want to operate it for 30 years.

After 10 years the lease comes up for renewal. Car company A wants to renew the lease for another $x. But car company B wants to fuck with their competitors, so they put in a bid for $3x. They know they won't win so they won't have to pay (car company A don't want to lose their $5x factory so they'll have to outbid) - they just want to raise their competitors' expenses.

That happens a few times and all of a sudden nobody wants to build factories any more.

Then you realise the same thing applies to your asshole neighbour's house...
How wasteful is people flying all the way around the world to watch a football game in the middle of a desert? How wasteful is it to try to host a football game in the middle of doggone nowhere Qatar in a godforsaken climate controlled stadium?

On a scale of one to ridiculous, bitcoin does not even come close to the stuff crazy people do.
It occurs to me that you can divide birth control methods into those that require self-discipline, e.g. rhythm and barrier methods and the pill, vs. ones that don't like IUDs, Norplant and of course surgery. And that there's a population for whom none of the self-discipline methods are going to work in the long term (I've been around women who had an amazing difficultly in taking the pill every day...).

Then there's the confounding factor of the backstops, the "morning after" medicines and abortion, with the further confounding factor of cultural acceptance of them. I've read that there's almost no stigma associated with abortion in Japan, which I connect with another thing I've read, that a baby isn't considered to be ... real?, really counted as alive in some sense, until it survives for 3 days. Which helps deal with the high natural mortality rate right after birth.

Which needs to be remembered when you e.g. try to compare life expectancy rates between countries, since infant mortality is such a major factor in that, and countries vary wildly in how they score it. E.g. the US tries very hard, much harder than most counties, to save preemies and those with birth defects, whereas the latter are unlikely to ever exit the neonatal unit alive in the PRC (something that came up in discussion of the couple in Armenia where it's claimed the mother gave the father of their newborn son with Downs Syndrome the ultimatum of divorce if he wanted to keep the child, one pretty clear implication being he would be killed if not).
I wouldn't say they are bad idea verbatim, but as they do not have good browser support, it is currently bad practice to rely upon them.

I certainly won't be swaying from using Sass and the other various benefits you get from a pre-processor. As you say - right now it's a no brainer.
It is wasting energy because a Raspberry Pi could easily handle one or two transaction per second(1). If you are worried about having a single point of failure, use ten or a hundred. Bitcoin is paying an enormous price for its decentralized nature.

(1) I am of course ignorant of peak loads here.
i haven't washed my hair with shampoo in.... months? i've lost track. i just rinse it with water.
I would love to see bitcoin having zero waste and impact on our environment but even now in it's current state it is much cheaper and environmentally friendly [1] than other methods like Gold Mining, Gold Recycling, Banking System Electricity Use, Paper Currency & Minting.

[1] https://www.academia.edu/7666373/An_Order-of-Magnitude_Estim...
Is there more detail about why the judge dismissed charges? I'd like to read more about the interactions with museum management after the reveal and the law enforcement response. Is this a case where everyone except management just loved what these guys did?

Basically: did people (the judge specifically) make the Right Decision here, or was there simply some legal shenanigans that allowed the restorers to go free?
http://en.m.wikipedia.org/wiki/Henry_George_Theorem

"In 1977, Joseph Stiglitz showed that under certain conditions, spending by the government on public goods will increase aggregate land rents by an amount equal to government spending on public goods. This result was dubbed by economists the "Henry George Theorem", as it characterizes a situation where Henry George's 'single tax' on land values, is not only efficient, it is also the only tax necessary to finance public expenditures."