skysight-inc/HackerNews huggingface dataset:
> The JS broken behaviour described in the article is that if you happen to forget the "var" keyword when assigning a variable then you will create a global variable.

Use strict mode, problem gone.

(alternatively, jshint/jslint or a good IDE will warn about implicit global declarations, it's not a very difficult pattern to check for)
Just like the six strikes system in US.
So what isn't crap?
There's a huge initiative for open API use in healthcare. Take a look into BlueButton if you're interested.

http://blue-button.github.io/blue-button-plus-pull/
Is this mesh stuff really the answer? Sure, it can stop collection at a central point, but doesn't it still leave open the possibility for any data to be collected from spying nodes throughout the network?
> This only works if Samsung allows the user to download/install their purchased apps from earlier phones though. As well as Google Music and other services the user might expect.

This is true. This is one of the many hurdles they need to overcome to switch to another platform.

> When did this happen? Samsung is a huge partner of Android. They make 1 of 3 current Nexus devices and made the previous 2 Nexus phones (more than any other manufacturer). This is a completely unrelated thing.

It's speculation really. The previous Nexus products were all made by Samsung. Why did Google suddenly start switching to other manufacturers? If Samsung made the best devices, why change?

If your company commands the most profits and market share of a platform - do you not want to use this as leverage to some degree? Better bargaining power gives you a competitive advantage over other players (LG, Asus, HTC, etc).

> Does Motorola count? The first few Google developed Motorola phones were just announced.

It sure does. They need to speed things along though.
http://ricostacruz.com/jquery.transit/
but traceur is not compatible with IE8.
This looks a lot nicer than the websites I had to deal with last time I bought individual insurance on the open market (2010). Will be interested to see how the presentation of plan information is when it becomes available, since that was the second-worst part of the old experience [1]. Hopefully they'll get it right and lay out the choices in some kind of understandable and transparent way.

[1] The worst part was the scammy "comparison" websites, who presented themselves as third-party information aggregators, but often turned out to be stealth affiliate-marketing fronts for a small subset of companies.
It seems like they are on HN every day, yes. And I am getting lost. Docker, Dokku, Strider...

I am interested in one thing: continuous deployment of apps that wait until old versions of apps die off (using an IPC channel). Heroku seems to just time out after x minutes. Can someone more knowledgeable than me say how/if the Docker eco system handles this? I am interested in Node.js only.
Just as a challenge, thought I'd try to make as case like statement as possible... not sure I like it...

{'enemy?' => 'attack',
'captive?' => 'rescue'
}.each { |test, response| self.send(response) and break if warrior.feel.send(test) }
Actually it says that Lush's predecessors were developed in 1987. Version 1 of Lush was released last decade.

But even if it was 1987, that's not older than Perl or Python.
1. and 2. are solved in javascript by using strict mode (now in a browser near you)

3. is solved in ES6 with `let` (currently working in Firefox, behind a flag in Chrome, no support in Opera, Safari, MSIE or Node). Note that let also 1. isn't hoisted and 2. forbids double declaration (`let x; let x;` is an error)
Back to School Shopping
The Domain Name Wordplay
"If, as a political dissident, you had to choose between organizing your protest on Facebook or Vkontakte, Facebook’s Russian equivalent, you’d be far better off doing it on Facebook."

Lol, no, you aren't.

What you do is use every platform available.
That sounds pretty shaky, there was no implicit agreement to sign under any circumstances. There's also the fact he took it away with him under the proviso that he's going to study it first, and then fax back the signed agreement.

The very fact that he did not fax back the agreement would be a pretty difficult argument to counter.
New JavaScript features do just that:

2) Globals with 'x = 1' throws an error when run in strict mode.

3) They couldn't change the meaning of 'var', but they introduced 'let' which does just that - applies to a block rather than the whole function.
yes, but it doesn't provide the fullness feeling you get from soylent. Ensure feels like starvation. Soylent, because of the oats, stretches the stretch receptors surrounding the stomach. This is one input the brain uses to make you feel more full.
So if you press "no" on the first screen during setup, you will be not affected by filtering? Somehow, I cannot see the great danger to freedom in that.

Actually, as far as free speech in Britain goes[1][2][3][4][5], that almost sounds like a courtesy.

[1] http://www.worldmag.com/2013/07/american_street_preacher_arr...

[2] http://www.dailymail.co.uk/news/article-2330180/Woolwich-att...

[3] http://rendezvous.blogs.nytimes.com/2013/06/27/free-speech-o...

[4] http://www.christian.org.uk/rel_liberties/cases/harry_hammon...

[5] http://www.bbc.co.uk/news/uk-england-london-23128956
This paints a really misleading picture of what is available in Hadoop right now. Columnar data formats? Yep, we've got them-- see Parquet [http://parquet.io/]. Yes, Hive spends a lot of its time reading and writing data. This is because it decomposes SQL queries into sets of MapReduce jobs, all of which must take input from the filesystem and write it to the filesystem. That's one of the reasons Cloudera Impala was developed [http://blog.cloudera.com/blog/2012/10/cloudera-impala-real-t...].

If you don't like for loops, yep, we've got that too-- use Scala or another functional programming language to write your MapReduce jobs. Or use SQL, which is a lot more powerful than APL, and a lot more accessible to businessey types than functional programming. SQL is a declarative programming language, by the way-- I don't see any for loops there.

The efficiency argument makes no sense either. Does the author understand that a just-in-time dynamically recompiling virtual machine is faster than an interpreter? If so, he doesn't mention it anywhere. You know, sometimes old technologies are just... old. You could at least compare Java and the JVM to something like Lisp machines.

People overestimate the gains that are to be had from mmap. I am currently in the process of adding mmap support to HDFS and I know what I am talking about. mmap gives gains, but only when the data is coming from memory, and only when you can reuse the mmap. Otherwise, you're better off reading even a 512 MB file via read() and write(). The reason is that syscall overhead is not that high on modern UNIXes (like Linux), and page faults involve a transition into kernel space anyway.
He'd rather write in Beethoven languages than Lady Gaga languages. Which is fine, but there's something to be said for "takes 3 minutes to perform with one voice and one computer" as against "takes an hour to perform with a team of 30 highly specialised professionals."

To stretch his metaphor.
yes there is. You can install any application without approval from Samsung or Google. That is a freedom in the Samsung world that you don't need to root your device for.
Read my comment above. Soylent is very filling
Thanks! That's very nice, among possible backward compatible solutions I cannot imagine a better one.

Now I wonder what kind of fix the CoffeeScript folks will make, when they admit the problem...
If it was a juvenility contest, the response won by lengths. The response also won in mean-spiritedness and unnecessary escalation.
How Superman Defeated the Ku Klux Klan
Quite cool indeed. Issues..

Disabled state text should also be grey. (Currently, differentiating between unchecked and disabled isn't easy.)

'Line skin' unchecked state as an 'x' may mislead some people.
Bad copy pasta (missing 3 at the end): https://gist.github.com/sirpengi/6097113
I don't understand why he killed Fez 2. Channel that frustration towards making a good game.
Episodes 985-1000 here: http://www.botar.us/superman.html
If I understand this correctly, there is PHP code (preg_replace) in the jpg exif header filled into the preg_replace function in the executable. The executable looks clean that way. The executable finds the jpg via hard-coded file path.

Seems possible that the malicious code could appear in an image itself and be flagged with a simple but distinct header. The executable could just scan display memory for the simple header and execute subsequent code when header is found. Then when a user browses the image on a website, the code is executed without hard-coding the location.

Pure speculation. Such an executable may be too visible. In any case it seems the essential problem of the preg_replace or some kind of PHP executable command would still be the red flag to find such malware.
Qui tacet consentire videtur.

Silence gives consent.

This demands vigilant civil disobedience in the strongest terms possible. Make camp in Victoria and let Cameron know that this is not okay.
Buying the service doesn't legally enter him into the additional contract.

Signing the contract does that, and that's why he was asked (half-assedly) to do that. If anyone is liable for damages due to failing to properly conduct the company's business, it's our Facebook surfing friend at the counter.
How APL is proprietary? Anybody can implement it, and there are opensource implementations available. The 100k/CPU price the author referred to was about the high performance database integrated with a vector processing language engine.

It is not about commodity. cgroups-like functionality was available in many opensource OSes for years (e.g. FreeBSD jails), but was easily dismissed by majority as worthless. This is exactly what the author was talking about referring to Lady Gaga -- the modern programming community is driven by fashion regardless of how good or bad the current fashionable technology is. I do not find it surprising however, as it is a direct result of the order of magnitude growth of the programmer's population, which is behaviorally much more close to the general population currently that it used to be.
I sometimes use stuff because everyone else is using it. And then I wonder why I did that.

I recently removed bootstrap from a website I have that is composed entirely of static HTML documents [1]. It's a teaser / marketing site for my current project. The sample sites looked nice and I figured that since I and CSS are of basically nodding acquaintance -- why not?

I discovered that Bootstrap was just too featuresome for my requirements and I could not, for the life of me, get it to look correct. Everything was slightly out of place. It drove me nuts.

This led to a quest to find a simple stylesheet with a document-focused layout. Such a thing is not easily found; all and sundry are bloody obsessed with displaying their infinite genius through monstrously bloated code for designs that swoosh and swoop and resize and spin and have this and that and the captain's hat.

In the end I repurposed a stylesheet I'd commissioned as part of a wordpress theme from a good designer I know and trust[2]. A simple columnar layout. Done, dusted.

[1] http://confidest.com

[2] http://dribbble.com/karlbright . Insofar as the stylesheet you find above is bad, that's because I've been hacking on it for a few weeks since forking the original.
today I learned what a tosspot is: http://en.wikipedia.org/wiki/Tosspot
South African Chef ‘Too Fat’ To Live in New Zealand
The awesomness tool-chain
Following your argument they would be allowed to take all your stuff and sell it on ebay because you didn't sign anything.

What applies is their standard rules, whether you signed them or not.

In fact, because you didn't return the signed document clearly shows carelessness or malice on your side and will play against you.
I don't think they can fix that one in CS short of changing the semantics of the language: they decided to infer scope (an error as far as I'm concerned) and because they wanted to avoid shadowing they went with generalizing scope inference (as opposed to Python, which always infers function-local scope unless specifically told otherwise, scope inference is still bad but slightly less so as it won't suddenly turn a local variable into a global one without warning due to a non-local change).

I believe CS tried to copy Ruby as block scope inference works the same way, but Ruby uses its method/block duality to mitigate the issue: scope inference is generalizing across the (lexical) blocks of a method, but the inference stops at the method, if you assign to a name at the top-level (global) and assign to a name in a method you will create two different bindings.

Coffescript has no such duality, and as a result can't use it for a "watertight seal" around scoping.
I know you probably don't agree with this, but to many people (including myself), not having access to health care or qualified physicians would be considered a pretty big obstacle to personal liberty as well.

(You can't do anything if you're dead, after all.)
Sorry, but that is four levels of obfuscation with a strawman tacked to the end.

You may criticize how it is carried out in detail, but just blanket attacking representative democracy is idiotic and simplistic.

Oh wait, your first word was "Westerners". Gotcha, you already set out to state your prejudice, not make a balanced argument based in facts.
So, here's the thing about conversations like this: We have a broken culture in technology. We can know we have a broken culture in tech by looking at the number of women within it.

Given that reality, I'm coming down more on the side of stopping and listening when I hear a criticism of elements of our culture, rather than becoming reactionary. The criticism may not be right...but, it's worth listening and thinking about it, rather than just jumping down someone's throat with an angry and childish insult. Is it "political correctness" or actually language that turns people away? I don't have the answers...but, programming wasn't always a male-dominated field. The fact that it has become more and more so over time tells me something is wrong. Listening to ideas on what that wrong thing (or things) might be is probably a start on fixing it.
> building a company churning out garbage (relatively speaking)

If you call the s4 garbage relative to the iphone,then I'm sorry to say it's either you don't know the meaning of garbage or relative or you must be one desperate shareholder.
I hope you didn't buy them at $700 apiece.

Samsung is already investing and developing its own wearable devices and other stuff anyway but I guess it doesn't matter to you.
If I were you, I wouldn't buy stocks in both companies since they are all making money anyway.

ps: I neither use Apple or Samsung phone and I enjoy my phone very much
It depends. UK has a very special relationship with EU authorities.
In many ways, I feel like medical culture is very old-fashioned.

Truck drivers aren't allowed to drive if they haven't gotten any sleep, but your doctor in the ER making the decisions that will either keep you alive or let you die will almost always insist that 36 hour shifts are essential. There's a lot of ego involved, as can be seen in the way that that same physician will usually support limitations on truck drivers but will readily believe in their own inability to make mistakes--even in the face of scientific research showing otherwise.
I very much doubt the response reflects his attitude to women in computer science, and your comment regarding "this is not how well-adjusted adults disagree when having a discussion" is somewhat moot, as it wasn't a discussion. This is where I believe his anger came from, and where my support of his response also stems. The cause of women in computer science (which as a student in a very male dominated CS department, I wholeheartedly support) is not helped by people derailing everything in the manner in which the commentator did. Like many political and ethical discussions, there is a time and a place.
If he had said something outrightly and obviously sexist, yes, call him on it. But as it is, I think he had every right to get annoyed and want to nip that derailing in the bud.
Well, what exactly do you expect from people consorting with openly sexist organisations?
It really depends on what the app does, if it is something that the UX will differ greatly between a mobile device and a desktop, then I would say build a completely separate mobile version of the site. However, if it is only subtle changes then just create a responsive app that looks good on all devices.
That's really impressive, if accurate.

If so many people are using Bootstrap as a default style, it makes me wonder if maybe the default way browser style HTML element shouldn't be closer to what Bootstrap does?
If you compile Bootstrap from its LESS files you can pick and choose which parts you include.

Also means you can override a lot of the default mixins fairly simply.
Ask HN: how would be the hackathon of your dream?
Imagine a hackathon only for dev and only for fun, what you ll want to have/see?
"I recently pulled a random selection of 10 websites from the sites I visit every day and found clear Twitter Bootstrap signatures on 0 of them."
Why is writing criticism and announcing it in social media (what the article seems to call “planned”) a bad thing?

> Essentially, Sharp is trying to do what many women are doing these days - push an organisation or project to function in a way that they dictate.

Citation needed.

Overall, this article adds nothing new to the debate.
> Even in the specific example (variable scope) the JS rules are arcane, poorly documented, confuse the hell out of even experienced JS programmers, and are hard to debug.

When using strict mode, which you should be, you're about 0/4.

Your second incorrect complain is especially galling as ECMA-262 goes to extensive length in specifying it (section 10 "Executable Code and Execution Contexts" of the ECMA-262 5.1 specification)
Yea--you have a point. I wish I traveled more before I
planted myself in a country I'm embarrassed of.
It doesn't need to be under active development to perform its job flawlessly.
I agree, but there is a time and a place for these discussions, and there are better ways of handling it than calling him out in his own comments. If you wanted to address perceived casual sexism through turns of phrases such as these, a better angle would be to collect examples from such blog posts and author a new post with the purpose of discussing this use of language.

I don't think the gender equality in the industry is worsening, as you say. It certainly has worsened in recent years, but the strong movement in support of women in CS is gaining traction. My opinion on it may be jaded by the "white male privelege", but to me it seems the balance is starting to be reinstated slightly. Numbers of females joining the department each year has been increasing since I entered the degree, and recent statistics released actually showed there is now more women than men in the post-graduate CS degrees. Whether this is the case everywhere, I don't know (and doubt), but it's certainly a start.
Great examples, I agree that conflating declaration and assignment seems to be a mistake that different languages try to mitigate in different ways. Another example is in http://www.paulgraham.com/arclessons.html, "Implicit local variables conflict with macros."
They claim to have 1% of the web not 10 or more. Thus checking 10 specific websites is meaning less.
Is this example really relevant today? Who cares if you write while(dest++ = src++) or for (int i = 0; i < src.length; i++) { dest[i] = src[i] }; Was he just worried that the number of keywords and programming concepts were to many and made the language to complex? He would loath C++ then... Still, we seem to get by.
I thought Xhibit was a rapper or something. Also-- Twityap? Is that for real?
How about this:

Did you ever run red lights? Did you ever smoke pot? Did you ever drink alcohol under age? Ever downloaded a copyrighted content off the net?

If yes, then why did you not walk to your nearest police station to confess right after you did so?

There are things that the state "frowns upon" yet we do anyway. We do so because we, as individuals, have decided we do not see no harm. Well, now it won't be up to us.
That's good to know, thankyou. But I think for now I will stick with what I've got.
That's awesome and I'm a big fan of Bootstrap and use it for nearly every new project.

However I think 'powered' is taking things a bit far. Maybe 'styling' 1% of the web or 'powering the front-end' of 1% of the web. Wordpress uses the term 'powered' and that's fine because they actually do power a huge number of sites. That doesn't apply to most large sites running Bootstrap. Take Coinbase for example. They're still basically just running stock Bootstrap - but the site is 'powered' by a beefy custom backend.
The Health Insurance Marketplace is coming soon...as soon as Martin Fowler and Uncle Bob figure out how to breed.
That is the most harmful advice you could ever give to someone.

Who do a startup, if you can do a PhD, it's not that strenuous. Why do a PhD if you can just do a Masters, it's not that strenuous. Why go to university, if you can just go to a community college, it's not that strenuous. Why finish high school, if you can just do an honest labor job, it's not that strenuous.

See the false assumption here? 5 years from now, these people will regret that they didn't start 5 years ago. Hard work is builds you as a person, it makes life more interesting, it gives you purpose and after these 5 years, you can decide your own pace. You have the OPTION.

Not going for higher education, limits your options FOREVER. You can't change it anymore, it's final. If you're not looking for meaning in life, go for the lesser option, if you are looking for meaning, go for the highest option you can think of and then even one more. The funny thing is, once you're getting closer to your highest option, you discover that there is still more to discover and that it is beautiful.

For that reason, shoot for the stars, don't listen to nay sayers, make your life awesome you only have 1 and then it's over.

I'm still cringing, hope I could get my point across.
How do you save your document?
> Essentially, Sharp is trying to do what many women are doing these days - push an organisation or project to function in a way that they dictate.

Seriously?

While the arguments against swearing in the LKML strike me as lame, at best, I find the "see, what can we expect from women" attitude of this article much worse. It could just point out how absurd Sharp's position is (from the author's perspective) but this sexist crap just makes the article very weak IMO.
Adding a MOV shifts subsequent instructions and can relieve deleterious aliasing in the branch prediction buffer.

Here's a full explanation (with references and links to the diagnostic tools): http://stackoverflow.com/a/17906589/1001643
I did have "styled by" as the original headline. Bounced it off a few people who were not that sure what I meant so changed it to "powered by".
If it gets bad enough, outpatient antibiotic use will be a thing of the past: If you need antibiotics, you will be confined somewhere and your compliance will be monitored. Laws will be passed to make non-compliance not simply a crime, but effectively impossible. If worst comes to worst, the facilities will be quarantined. There will be incinerators on site.

So, no, I don't worry about 'society'. Society has ways of defending itself. However, when the notion of individual rights above all starts to bring about an existential threat, something has to give.
Listening to HN for fitness advice :: Doing a seminary at a porn convention. :v