skysight-inc/HackerNews huggingface dataset:
Some style preferences are subjective, but some have very good reasons for being the way they are. Here's a simple JavaScript function that returns an object...

function blah()
{
return
{
key: "value"
};
}

...except it returns undefined when invoked:

console.log(blah());
undefined

Can you spot the bug? With so little code, it should be obvious, right? Before reading on, stop for a minute and really try to find the error.

...

Figured it out?

...

The answer is that JavaScript has automatic semicolon insertion. That means there's effectively a semicolon on the same line as return. ASI is why, in JavaScript, you always put the curly brace on the same line. Sure, you could try to remember the ASI rules, but you're guaranteed to be safe if you just put your braces on the same line. And considering how much code a typical programmer writes, you are almost guaranteed to inflict an ASI bug on yourself if you don't do this.
Music piracy is down but still very much in play
We're storing floats at one minute resolution . We could have thousands of writes a second at peak load . Reads are not that heavy for now .
Did anyone notice that RIAA does much less "anti-piracy" lobbying etc now compared to the MPAA?
Yes, it seems most people's rules actually were subsets of the true rule.

Laziness is involved to a certain degree. Though I don't know how much---no one is forcing anyone to do the puzzle, so the truly lazy filter out, too.
Hit the nail on the head. I am sure he is popular somewhere but I doubt he has any fans on Reddit/HN/etc given his political stance.
How to get a domain anonymously?
Say one wishes to set up a satire site. Nothing illegal, just wanting todo anonymous satire, how does one ensure that the domain doesn't give away the owners identity?
"Please use the original title, unless it is misleading or linkbait."

Your title broke that rule both by not being the original and by being more linkbaity.

In general, we want to minimize editorial spin in titles. I wrote about this yesterday if you're interested: https://news.ycombinator.com/item?id=9816242.
How to improve your vocabulary without improving your laziness?
Sweden is too cold for an Egyptian - in every respect.
I use schemas[0] for this. Could someone explain what advantage is gained from RLS in comparison, either to views or schemas?

[0] http://www.postgresql.org/docs/current/static/ddl-schemas.ht...
Looks interesting...

Do you actually support 'full remote' positions?
I'm asking because the application system on your site has 'Permanent legal right to work in the United States.' listed as one of the requirements.

The platform I know best (.NET) seems to align with what you're looking for, but working in and/or moving to US is not really an option. Time zone wouldn't be an issue though.
But most koreans are not employed by conglomerates or at least not directly (laws). There are more and more anti-chaebol laws (they can't make soap and jeopardize small and medium makers).
Craigslist allowed third party to map listings 10 years ago, and CL

http://www.housingmaps.com/

CL makes no effort to stop people from publishing or viewing ads on other sites. Many multi-posting tools exist, especially for housing.
Just pointing out some of the obvious:

- Yeah right, please explain this to my mom. She is a user of my software. Thank you in advance.

- Even if it was about my users you cannot re-define freedom for them aka same thing applies as I wrote above

- My users are also corporations and they banned AGPL

Checkmate. :)
ProxyHam, a killer application to protect online anonymity
Offering advice is difficult without more information... but I'll try. Yet maybe I'm talking more about systems architecture than software architecture.

A cutting-edge architecture is often using cutting-edge technologies. We don't have much details about your system, but it feels like "big data" is your keyword: be it NoSQL databases, map-reduce, or maybe streaming/events systems are areas to investigate.

Apache has many projects related to big data, which may give you a broader vision... and guide you. Be prepared for a paradigm shift: you can't apply old recipes to new technologies. For example, believing Cassandra could replace MySQL because it has "almost SQL" would be such a mistake: Cassandra requires a different data model.

Try to understand how big data technologies could fit together for your problem, and you'll gain valuable insight. Apply these technologies in a successful project, and you'll gain experience.

As for your frontend, in terms of architecture, there's not much that can be done but to decouple it (with a REST api) if not already done... It could make a rewrite easier.

Sorry for such general advice. Maybe it's too basic to really help you.
The entire reasons you mention have nothing absolutely nothing to do with the value of science. Selling "prestige" in 2015 is a ridiculous thought.

I don't find it ridiculous at all. Just because it's intangible doesn't mean it doesn't have economic value. As I mentioned elsewhere, a considerable amount of that economic value comes from non-scientists who can't evaluate work themselves but can look at the organ of publication as a rough proxy for scientific value.

The HARD thing that need to change is actually simple: it's laziness, and fear, powered heavily by lobbying publishers. Scientists are smart people, all they need is a kick in the butt.

Considering the kicking they've been getting from the publishing lobby, perhaps a more emollient metaphor is called for :)

The problem here is that prestige is a real economic good even though you'd rather it wasn't. So boycotting the good journals as an author is a terribly risky strategy. It's free to publish on sites like Arxiv, and scientifically good stuff will get a certain amount of kudos from other scientists, but it's not obvious when you go to Arxiv what's hot and what's not. What you need is something with the openness of Arxiv, the signalling value conferred by the selectivity of journals like Nature, Science, or the leading journals in scientific subfields, and (ideally) some way to winnow out stuff that is clearly total crap. And once you have a basic version of this platofrm (which should not be terribly hard to build, but will cost some money (and should probably not be built by scientists themselves, because they are terrible at making web pages)), is a contractual commitment of some sort to get a critical mass of people to agree tp move to that platform instead of submitting to existing journals. IT's not going to work if people do it in dribs and drabs because nobody wants to be the first person to undergo the experiment which may Destroy Their Career. You need a crowdfunding approach - not so much to raise the actual funds but in terms of creating a tipping point - such that everyone keeps submitting to journals and basically doing what they do now until (say) 30% of working scientists are signed up to the new system. When that target is reached, everyone in that signup group moves to the new platform and sticks with it for an agreed-upon minimum period, come hell or high water. You need some sort of a big bang event to make this work because scientists don't have all that much political capital in the western world, and you're getting into a fight with people who have a lot of economic capital and (frankly) who understand politics better than most scientists.

You may find it instructive to study the history of London stock exchange and its 'big bang': https://en.wikipedia.org/wiki/Big_Bang_(financial_markets)
Show HN: Push notifier for GitHub stars
Ask HN: I am busy with too many things at once
Hi NH.

A couple of years ago I realised I was a mediocre programmer. After 5 years of work experience with unfinished degree I knew only one language (php of all...) and some good practices on a surface level. I set that for change. For 2 years I studied in my spare time, learned a bit of Java, go, clojure, learned some fundamentals and good practices classics (gang of four, DRY) started reading blogs and following the industry.

Except, it's too much. I realised I am into too many things. I know a bit of everything, but not too many things well. I want to study data science, maths, devops and find that my desire is driven by fear of becoming outdated and irrelevant. I would appreciate a piece of advise on managing the learning process, get the joy of tinkering back and conquering the anxiety of ever changing rules to the game. Thank you.
That is because the subreddits where those posts were are now private. She was posting in /r/pics, but it too is now private.
We have started tests with PythonJS for testing this and, carefully, also for writing the actual JS. So far it works really well; PythonJS is very nicely done and after playing with it for a few hours (!) code looks and feels better than the corresponding JS.
He did not mention hiring anywhere in his comment. Can you actually reply to him instead of giving words into his mouth?
Not just Dutch universities, other universities within EU should join the effort.
Splash the Colors of Rainbow in Your Wedding
No, we don't do that. The Dutch are just interesting.

Maybe also you notice these stories more once you moved there?
ES6 actually solves this with it's new Class syntax.

class Child extends Parent {
}
You're comparing a company that sold 11k cars last quarter to one who sold 11k F-150s last week and got raked over the coals for it.

Tesla is a boutique manufacturer. Their stock price is entirely based on dreams of future earnings, just as Amazon's price has been unnaturally elevated for 15 years despite never turning a profit worth writing home about.
I thought that (') was the apostrophe character, although it doesn't look like one. (Source: http://www.cl.cam.ac.uk/~mgk25/ucs/apostrophe.html) The same source agrees with you elsewhere though, making my distinction pedantic. (http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html)

I can't personally imagine this solution would be any less confusing, given that the new preferred apostrophe character according to this source is specifically a right single quote character.
we use double quotes for HTML and single quotes for JS. that makes it easy to embed HTML snippets in Js code and JS snippets in HTML attribute values without escaping.
I often (maybe once a month) buy the Economist in print, because it is a good read, whether or not you agree with all their opinions, and is genuinely global in its scope. I once had a print subscription but didn't have time read an issue each week.

I don't have an online subscription now, which makes Hacker News submissions for Economist articles are a little problematic.

I wouldn't mind knowing why the Dutch oppose windmills.
There's an economy of scale in producing solar panels. And there can be economies of scale in installing them.
In a strictly controlled project, fine. But working with three different open source extensions that all use a different setup gets confusing quickly.

Point being the same: Haskell as used is never quite standard Haskell.
If I recall correctly the source and destination of strcpy cannot overlap. If they do it's an undefined behaviour.
If I want to see how a url will appear to someone before I send it, I open an incognito tab in chrome and paste it there. It doesn't have access to any of my currently open sessions, cookies, etc. so I see exactly what someone else will see when they click, and I send or don't send (or modify and send) accordingly.
I find it interesting that the article claims eventual consistency, but also best effort ordering. The consistency in a queue is surely made of two parts: count and order. To not have duplicates is nice, but if ordering is not guaranteed - is this really a queue? Seems like it's a Something In Something Out, or "a pile" or something. Again, curious about what the evental consistency guarantee is referring to.

Not saying it cannot be useful - for work distribution it will surely work - but it needs to be considered for your usecase that you will need to be able to process messages in an unlimited unordering. Process a delete action before a create for example.
Women still go for the Neanderthal's. Guess things never change :)
Nope.

I am not leaching on anything. You can twist words as much as you want but freedom is not defined by you or RMS or for that matter anybody else. It is pretty clearly defined in the dictionary and AGPL contradicts the foundation of freedom. If you dont want people use your software freely dont call it free software. Call it "limited use to a subset of non-profit oriented users who contribute everything back in return of using my software". That would greatly simplify the life for everybody and we could save the planet instead of haveing this thread about what is the definition of freedom and who does it apply to.
Maybe the best way to learn is to succeed (to some degree) at this project, and later realize you could have done much better... Learn from your (small) mistakes.

Maybe "su*k at it, but don't fail" beats "screw up this project".

A failed project might not give you the best learning experience.
According to a WhatTheFont analysis, it is.

http://i.imgur.com/4N2tN9M.jpg
Bottom line (according to the article):
The Netherlands is quite densely populated, so every wind turbine is bound to be in someone's backyard.
Last paragraph explains that more than 70% of the population is in favor of more wind energy, but many people don't like the face of large windmill parks.
I got a bunch of results searching Google for 'anonymous domain', how much anonymity do you need that a service from an existing provider isn't enough? Do you want to be able to write stuff without worrying about being sued for defamation etc.? Because there's a big different between anonymous and inaccessible. If you expose yourself to litigation and your identity can't be quickly established, it's not a big deal for a lawyer to get a subpoena and take it to your domain registrar specifically in order to serve notice upon you.
Reddit does have a consistant position:

1) don't brigade.

2) don't dox

3) mods can mod what they like; the commonly agreed best subs use extensive vigorous modding

4) admins aren't going to get involved unless you break the tiny number of rules.

Reddit should release the graphs that subs have of visitors. A FPH brigade causes 10,000 extra visitors, thousands of extra votes, and hundreds of comments. In smaller subs this is very destructive. That is very clearly reddit activity that can be tied to FPH posts and FPH subscribers.

And if Reddit did apply their rules consistantly it would result in a lot more subs being closed - the pro-self harm subs, the pro eating disorder subs, and the pro suicide groups are clear contenders for banning. (To be fair the suicide groups do get banned. I think they've worked out an equilibrium of being as pro suicide as they can without getting banned).

(I didn't downvote your posts. I don't think they deserve the downvotes.)
Megastructures: Bigger than worlds
Software architecture precisely is about abstracting your application code away from technology.
Practising TDD is a good way to allow you learn about how to better design your components. Because all your components end up having two clients: your application code, and your test code. This will guide you through better components interfaces (and also make your code a lot more flexible!).
I think you're always going to see that. When a system is pioneered, it is very, very, very hard to get any kind of traction.

To extend the car analogy. Karl Benz spent more than 3 years trying to find an engine configuration that worked and did not blow up. Then, again, he spent years to get an engine of the correct size to provide the correct amount of force for his horseless carriage, and things like transmission, gearshifters, ... Designing the first automobile, start to finish, took one man, going through 3 companies because they wouldn't let him, from 1871 to 1885, 14 years total. And keep in mind that the 1885 version was extremely unreliable, hard to control. It got out of control during a demonstration and crashed it into a wall 3 months after it's construction. It took until late 1888 for a "usable" model to get onto the market (and this is using a flexible definition of the word usable : his wife made 3 design changes on her first trip with the car, one because the brakes didn't work downhill, another to the ignition and something about the fuel line)

But 2 things change for today : building a working car, is much easier. Anybody can do it in a week. Building a car that people might want to buy ... 2-3 years at least. Building a car with a new engine (the only way you're going to really improve performance), or any large difference (e.g. hybrid-electric) 6-10 years at least. Building a fundamentally different car like the tesla took barely less time than Karl Benz needed : 2000 (real work on Tzero started) to 2009 (working prototype presented) to late 2012 when the first model S rolled of the assembly line. This happens because the standards have gone up a lot.

Yes writing software is easier. But writing software that qualifies as "good" has much higher standards, which makes things take longer. I would argue that these 2 are in competition. Some years the tools win, and you can write software faster. Other years people introduce the web and "standard" 5 middleware layers (javascript client-side, load balancing, web server, business logic server, database server) and it takes a lot longer. Other years people demand that a local bakery's webpage is "scalable" and it takes a LOT longer.

If the car industry is a good example, the time and effort required to write software will effectively not go down by more than 20-30%, unless you compromise on quality.
https://news.ycombinator.com/item?id=9822580
I'd suggest focusing on getting something to work, regardless of what you write it in. Then, if time allows and if it gets traction, refactor it.

But the main focus should be to get something working.
JavaScript Async Control Flow
Microsoft Edge is already good enough for me to drop Chrome
Currently, Make Things Now: Blocks requires Chrome, Firefox or Safari on a non-touch device. We're working on support for both IE and touch devices and we will be releasing this soon!

Until then, if you have any questions or suggestions, please get in touch!

---- I'm on a windows 7 machine running Chrome.

Once I manually disabled your blocking divs, and enabled the content div, I got the UI to display, and I think I understand what your app does...

It's a minecraft style voxel modeller with STL export capabilities, geared toward 3d printing! Cool stuff! You gotta disable all that target platform checking crap and just let it run on anything, and then see what doesn't work.

That said, it was throwing exceptions internally, so I never actually got to drop a voxel... I stopped short of trying to debug your emscripten stuff..

Edit: In your STL export, are you only exporting externally visible faces? Also, does your 3d printing integration allow printing on the fly? Curious how you are tackling that... Ive been kinda thinking about an app like this to make 3d printing more interactive.. it would be really neat to be able to draw and print stuff one layer at a time interactively! like... doing pixel art one layer at a time, and having it print each layer as you move to the next... Cool stuff! Let me know if you're looking for someone to collaborate with!
Now you are conflating prestige with curation. Journals dont do curation other than an initial check, instead reviewers decide, for free. Publishers' job is basically to make sure that the herd perceives them as prestigious by coddling the big names to publish in their journals (again, for free). This is social engineering. They do not do anything that an openaccess journal can't do. (Look at eLife, open and prestigious).
In every election ever made that has ended with a slim margin, people will reflect backwards and wished that they had been better informed or made more aware about the vote. Its kind of human behavior to wish that you could go back in time in order to do a small change and have a large impact, but so long there is statistically significant amount of voters, for everyone person that would go back and vote apache there would be an 1.06 of AGPLv3 voters that would also have not been as aware about the voting and would have voted AGPLv3.

That said, 16.5% voting participation is a bit on the low end. My guess is that it mostly reflect those who reads the Mailpile blog, are active in the development, or are active in places like HN/conferences where news about the vote has been announced several times.
> I'm surprised that celebrities even want to go on reddit

Some celebrities seem to be thriving on reddit. I've seen Arnold Schwarzneggar engage users on /r/fitness, and he has posted several videos (that tank one was one I saw recently) along with doing PR for his Terminator movie.

Whoever is helping him along seems to be doing a great job.
Could you elaborate on what you mean?. The core users are the ones that vote and comment, If they don't vote and comment then posters dont get karma, If they don't get karma they don't post and if they don't post then Reddit really isn't going to have a user base of any kind. So it's in everyone's best interest to preserve the culture.
Right, that's what you're seeing in SF or London right now ?
Fun! Just used the data to see which politicians vote together: http://imgur.com/pYHXO4f :)

Edit: thinned it out to politicians who vote together > 75% of the time: http://imgur.com/NfxDY6H .
> (I didn't downvote your posts. I don't think they deserve the downvotes.)

Thanks. I'm used to it, honestly, because it's become obvious over time that holding an opinion in contrast to what HN wants to hear is a nearly guaranteed ticket to comment illegibility. HN is the only forum on which I participate where disagreement is acceptably expressed as making someone's thoughts more difficult to read.

I'm merely presenting my (long earned) observations on Reddit. I absolutely think it's a shitshow, a terrible place full of terrible people, but I suspect I'm being punished for daring to suggest that there is something wrong with the site itself. In the smaller subreddits, there are absolutely small embers of really powerfully rewarding conversation. There is stuff worth saving on Reddit, and I think the loud stuff drowns it out. I've had extremely fulfilling conversations about network security, application security, game modification, and polyamory in the various communities of which I am a part, and I've learned a lot. My experience isn't representative because I subscribe to nearly zero default subs.

To your point, I think SRS serves as the complete counterexample to everything you're saying. The entire purpose of SRS is to brigade and single out individual Redditors, and I've seen the results firsthand. If FPH was doing it, there isn't a universe in existence where SRS gets off that hook and it makes sense. Transparency is important here, as you say.
An Interview with Elon Musk's Father, Errol Musk
It makes much more sense to pay once for publishing a paper than continuously paying for it forever, doesn't matter by who. Searching for a 50+ years old paper and bumping into a paywall is really frustrating. What justifies these journals to make a profit from these papers forever?
It was also on the UK GCSE IT syllabus when I were a lad. The IT syllabus was actually incredibly good. I get very sad when i see the state of the modern one.
Why is it unthinkable ?, you hire PR people to do PR.
When your homeless soup kitchen scares away Donald Trump, you might be doing something right.