skysight-inc/HackerNews huggingface dataset:
Would be nice if there were some rough stats attached to these tips.

Is leading white space really a big slowdown? I wont know if its worth it ubt I invest the time into implementing it.
The generic version of this is weinre [1], which also uses the WebKit debugger.

I love the Safari/iPhone flavor, but I wish it persisted between page loads. Having to constantly re-open it from the menu gets annoying fast.

[1] http://people.apache.org/~pmuellr/weinre-docs/latest/
Complete Prevention means reducing opportunities for mosquitoes to pass the parasite on to humans, and preventing the emergence of strains that resist drugs and insecticides. We’ll need next-generation vaccines that block transmission for six months to a year, so that once an area is cleared of the parasite, it stays clear. We’ll also need new insecticides to offset the widespread emergence of mosquito resistance to the chemical compounds we use most frequently today. We may even need cutting-edge approaches, like introducing special fungi into mosquito populations to kill them off or introducing modified genes that can stop mosquitoes from reproducing.

there is actually a better solution, they just have to figure out the delivery mechanism.

Read more:
http://www.nature.com/ncomms/2014/140610/ncomms4977/full/nco...

http://www.iflscience.com/health-and-medicine/gm-mosquitos-c...
For what it is worth, this hit HN about 8 months ago and garnered a healthy amount of discussion: https://news.ycombinator.com/item?id=7430946
>For example, the United States probably has the most advanced surveillance capability of any nation on Earth. Certainly, this capability has the potential for abuse.

Why, does it have any other potential?

>However, the underlying use is more or less in line with other Western governments.

Nothing of the above is comforting.

>Contrast this with say, any hardcore authoritarian regime today using comparable technology, and it's a completely different magnitude of bad.

I dunno, at least most "authoritarian regimes" only mess with their residents. Whereas the US messes with its residents (somewhat for some groups, full on assault if you are black, see for e.g. incarceration rates), with 4-5 countries directly (invasion, etc), with 10-20 countries indirectly (threats, special "deals" from friendly lackeys put in power, etc), and all the world diplomatically.
FI-WARE
I know about buttons, but the site owners do want to run the adds, and the adds typically don't come from the same site.

And the discussion is about the benefits of HTTP2 optimizations.
What Are the Average Salaries for Big Data Developers
In a word, yes. Although:

1) I don't necessarily agree with your claim "through democratic institutions can shape their societies as they see it" - democracies are quite a bit messier than that.

2) I wouldn't use the word "converging" - I would probably say becoming stuck in similar states of sub-optimal social organisation.

And to touch on your other suggestions, I would say that, while these are certainly the richest and most educated people in the world, I don't believe that they are as a whole either: a) particularly self-aware of their own desires and values b) particularly conscious of how they might achieve said desires and values or c) particularly cognisant of how contemporary norm of policies and political strategies actually affect and shape society.

My argument would be that if people satisfied a, b, and c, we would see very different policy arrangements in Western societies. Speaking crudely, people would accept that even if it were possible to coerce market outcomes, it would not be desirable. Politics would become extremely boring, because it would no longer hold pretensions about its capacity to "manage" or "shape" the market.

I would assert that these are the policies that an enlightened society would recognise as most contributing and enabling the greatest good to the greatest number, and would therefore pursue.

Fundamentally, I don't think modern societies are as enlightened as you would like to portray them. That's really not meant to be a critique, I don't think it would be fair to expect much more at this stage of history.
No I don't find it shocking, but one thing is early mornings and late evenings, that's different than working through the night. Petrol stations run on 'automatic mode' in most european countries after midnight / 1 o'clock, nobody is there at 4AM.

Exceptions are security guards, hotel receptions, hospitals those are cases where the person being up cannot be avoided, its the nature of the job.

I think its different (from a legal point of view) a job where the person absolutely needs to be up like in a hospital, or a desk job where the person is being asked to completely change its lifestyle just for convenience of the employer.
> The most discussed benefit of iframes is separation from other styles and scripts on the web page.

I would love to hear your plans to overcome this as it is pretty much a hard requirement for any editor integration.

I have run into this and was quite hopeful about <style scoped> but browser support leaves much to be desired.
Sorry, but I'm not the person who made the original claim, just someone who is in agreement with them.
The 7th Underhanded C Contest is now Open
Let me filter by RT score. Also, maybe always show the score? One could write an extension for that anyway.
I agree with these points. There is at least one major flaw, though: asm.js can probably never be made into a truly multithreading platform (without becoming a really ugly hack), where I can see that happen for NaCl. This is a pity, because multithreading is something you need for making responsive applications (GUI not hanging when a computation occurs in the background). Yes, there's webworkers, but I don't consider them a multithreading solution, because they don't allow a shared address space for inter-thread communication (only message-passing). This can be detrimental for performance, because the "structural sharing" paradigm becomes useless.

I think that a base-language without support for garbage collection would be preferable. The main advantage is that multithreading is easier to implement. (Any language built on top of this language could implement its own garbage collection, in principle.)
The first 100ms to 160ms of the Yahoo call is RTB[1] delay. I don't see how HTTP/2 will fix that. Also notice all the various analytics beacons that will still be third party in the future. I know many people hate this stuff but when you're Yahoo! and most of your income is from advertisements on your web site you will still have to sell that inventory and prove to third parties they got what they paid for via various "pixels".

I don't doubt there is a lot of room to improve, clearly a lot was learned from SPDY and other projects. But I do worry that what we're actually doing is rewarding large companies who can bring all the stuff into one stream and the small sites will be yet more disadvantaged. I could see a world where this is used as a way for PHB's[2] to justify "just move our stuff to Google/Amazon/Apple". These sort of initiatives may incentivize more centralization and IMHO that is not a good thing.

Also being an old guy(tm) I worry about loosing the ability for humans to talk to these services or see the conversation in a textual way. Before you explode on that comment think about the balance of JSON -vs- various binary serialization solutions. How many of us have chosen a serialization protocol because "we can read it". I'm not arguing that as a perfect argument, but if you're already pushing TLS and HPACK then why not at least leave the textual data in there? I guess I worry that now we head down the RFC hell where only large bodies can get extensions in the protocol because we only have 256 options on this header and each bit counts. To be fair I've not deep dove the protocol yet, I suppose theses are just rantings of a guy who read a slide show.. :)

[1] http://en.wikipedia.org/wiki/Real-time_bidding
[2] http://en.wikipedia.org/wiki/Pointy-haired_Boss
Capitalism works just fine. The problem is throughout Europe and the US we have this weird kind of corporate socialism where governments are more and more involved in their respective economies and then blame "capitalism" when things don't work out. You can't call it capitalism if companies aren't allowed to fail.

And banks are so heavily regulated they're de facto agents of the state. The banking crisis isn't an indictment of capitalism at all - quite the opposite.
Yes and no. While it's true that a purpose of the second amendment was to preserve the right to armed revolt, another purpose, articulated in the Federalist Papers, was to share (distribute and balance) the state's natural monopoly on the use of force with the people.

However, I had more in mind an ideological revolution transcending the tired left-right paradigm. In this matter, the right sees a centralized concentration of power in the government as a problem but fails to see the role that concentrated capital plays in controlling that political power, while the left sees a centralized concentration of power in the economy as a problem but fails to see the role that concentrated government plays in concentrating wealth. Little do both sides realize that both concentrations of power are one in the same.
Monetizing your social feed (Beta Release)
Hi All,

We are looking for Twitter users to join our beta @ http://admonetize.me. We've built this app to allow Twitter users (for now) to post ads in subjects that interest their followers and make a nice amount of money out of it.
We currently have 10,000 beta slots available - would appreciate your help and feedback.
> There is at least one major flaw, though: asm.js can probably never be made into a truly multithreading platform

Are you sure? I believe I heard somewhere that Mozilla might be working on that by sharing a typed array across Web Workers.

I previously thought you couldn't do multi-threading, but now that I think about it, there's no real architectural reason you couldn't allow sharing a typed array between web workers, it's the DOM that's the problem.

And if you can share a typed array, you have a shared address space, as asm.js uses typed arrays for its heap.

EDIT: Aha, yes, Mozilla are working on this! https://bugzilla.mozilla.org/show_bug.cgi?id=933001
>That has nothing to do with musicianship or sound.

So? Music is not just about musicianship or sound, and art even less so.

It's an experience, and how you approach that experience is equally important.

That's also why Joe Satriani or some poser like Yngwie Malmsteen are no "better" than someone like BB King, nor is a pristeen sounding acid-jazz Blueray better than some crappy sounding Alan Lomax recordings.

>It might be a psychological hack to cause more people to become superfans by drawing out the obsessive compulsive desire to collect rare artifacts (which happen to be music CDs in this case).

Even more common is the psychological compulsion to just download or buy stuff and amass a huge collection which you're never gonna hear more than 1-2 times...
Does anyone know how this compares to Coursera course [1] or [2] + [3]?

[1] https://www.coursera.org/course/cryptography

[2] https://www.coursera.org/course/crypto

[3] https://www.coursera.org/course/crypto2
Show HN: SQL for operating system
The crisis in Europe is caused by the continued use of the Euro and all the policies being applied in an attempt to ensure it's existence.

Economics, and capitalism in particular are not a zero-sum game http://www.povertycure.org/issues/the-zero-sum-fallacy/
Journalists are not meant to know deeply every thing about every subject. Micheal Sauga seem to be a economic specialist which doesn't mean he knows Thruth either. In France at least there is something called economy course in the curriculum but it's far from allowing you to juggle with the different theories and build new ones. It only allows to find out what's happening by reading and gathering data and point of views. Which is what Micheal Sauga did, only 6000 words article focusing on what some people in the economic industry think about the today economy. What about the inclusivness of economy, that the point of it all and it's not only a word that made up by people who were interviewed.
Do you mean, live code evaluation inside de editor?
>All of my US credit cards have a verification number that is required as well as the CC number for any online transaction. It's not that much different from a PIN.

Not at all the token system the parent describes.
I couldn't understand the authors implementation. I found this in prelude. So much simpler.

dropWhile :: (a -> Bool) -> [a] -> [a]

dropWhile p [] = []

dropWhile p xs@(x:xs')

| p x = dropWhile p xs'

| otherwise = xs

I feel that dropWhile isn't that kind of operation fold was designed for.

EDIT:
I was somewhat wrong.
After some googling I found this clever implementation :

dropWhilePair :: (a -> Bool) -> [a] -> ([a], [a])

dropWhilePair p = foldr f v

where

f x (ys,xs) = (if p x then ys else x : xs, x : xs)

v = ([],[])

But this returns a tuple whose first element is the answer we need.
>In no way am I trying to incite Mac vs. PC, but after years of Apple laptops I grew bored with their aluminum fascism

So, they like killed millions of people, or invaded other countries to make them use aluminum laptops?
The freezer and electricity are available to at least 97% of poor Americans. One or more cars is available to 73%.

http://www.census.gov/prod/2008pubs/h150-07.pdf

For comparison, India and Bangladesh are likely to have electricity percentages around 50% (no good data is available) and car ownership rates in the single digits.
I was wondering this as well - would be interested in the answer.

Years since I've really dabbled in WYSIWYG editing JS, but the best I can think of us to use a reset CSS file namespaced for the `div` (or whatever container) in question.
Natural Language Processing with Ruby: N-grams
I couldn't find any good editor without iframe which provides delta save + content versioning. So I built one - Smalleditor (http://jdkanani.github.io/smalleditor) - it is similar to Medium's editor but with contenteditable.
SEEKING WORK - Remote, travel very possible depending on location and duration.

Location: North-east UK

What I do: Backend engineer / Sysadmin.

Do you need a backend service to talk to your flashy new web / mobile app?

Does your current build and deployment system give you nightmares about the only dev who understands it falling under a bus?

Need a proof-of-concept for your latest, hard-to-pigeonhole idea?

I do have experience of the full stack (including AngularJS and Coffeescript; see below) but am looking for work primarily involving the back end of the stack, or server admin / reliability / scaling. In previous lives I've run large-scale Debian installations doing devops before it had a name, and been responsible for servers in Antarctica.

Recent work:

* Feasibility study investigating the possiblility of writing custom code to interface with a biometric timeclock (Common Lisp)

* Proof-of-concept hardware development for projects linking the physical and virtual worlds in real time (Arduino, Node.js)

* Project management webapp for construction companies (Rails, AngularJS, Bootstrap)

Buzzwords: Debian, Chef, AWS, Heroku, PostgreSQL, MongoDB, Perl, Common Lisp, Ruby, Arduino / AVR

Tools: Git for version control, Jira for issue tracking, HipChat to keep in touch.

Got something you think is a good fit? Drop me a line at mike -at- lambdafunctions -dot- com
For some context and differing opinions, see the rather long discussion thread on gimp-devel that prompted this article:

http://thread.gmane.org/gmane.comp.video.gimp.devel/26058

http://thread.gmane.org/gmane.comp.video.gimp.devel/26068

http://thread.gmane.org/gmane.comp.video.gimp.devel/26078

From glancing over it, it seems to me like Elle Stone wants GIMP to make a rather radical shift to Do The Right Thing, while Øyvind Kolås (Pippin) values making small improvements one step at a time to avoid breaking current functionality.
One of the problems with the open borders is that the younger people are moving, leaving countries with an already stagnant economy with an even greater aging population issue.
Ask HN: What's up with junior developer salaries? (UK)
I'm an aspiring web developer, and I've been spending a lot of time looking for my first job in the industry. For an industry which supposedly has a big shortage of skills, I'm surprised by how low-paid a lot of the jobs are (I'm in the UK by the way). I'm talking about salaries of £15k - £25k, which seem to be fairly typical. And these are not no-skill "trainee" positions, they often come with a long list of requirements, typically knowledge of 5 or 6 different technologies, a portfolio of work and sometimes even 1-2 years industry experience.

By comparison, a graduate with zero relevant experience (or even without a relevant degree) can get a job with one of the big IT consultancies / professional services firms and command a salary in excess of £30k.

I'm really curious about the economics of all this. What's keeping junior developer salaries so low? Is the shortage of tech talent just a media fabrication? If not, wouldn't you expect salaries to keep pace with other industries competing for the same people?
"Processing Failed"
Half a Century of Rebellion – Interview with Germar Rudolf
I would think that for a small web app 100K a month would probably be the starting threshold. (maybe even 50K if it's < 6 months old)
I can only applaud Mr Dell for not going along with Wall Street and rejecting short-term planning required to do so.

If you look into how Apple and Amazon is coping while being public, you'll see that in both of those companies, the CEOs actually have very good deals with shareholders that allow them to reject short-term stock market greed and lets them focus on long-term goals.

The ultimate goal of a private company should not be going public - this is a false dychotomy created in part by Wall Street. Growth, innovation and long-term survival (meaning average positive cash flow over many years) should be that ultimate goal.
ha! I accidentally a sentence.

I've noticed Vegan and Vegetarian restaurants get high ratings, I think it's because the potential audience is so happy with the fact the place even exists (and gives them an alternative to cooking yet another meal or fighting with yet another menu) that the default is a high rating. Even very mediocre places around where I live have 4+ stars.
Yup that's more or less the only way I have seen in the wild.

The Scoped Polyfill https://github.com/PM5544/scoped-polyfill does just this and gets you most of the way there.

> It does so by prepending the styleRules selectorText with id's
I really like the new glass trackpad.
If I could, I would kick the guys responsible¹ for the disclosure in the ass. Why? We now have a youtube video with shitty music (proving essentially nothing), some scaremonger articles with a lot of prose around very few interesting bits, and most importantly, a friggin' hashtag. And of course, a name for the vuln.

But nothing, absolutely nothing, on how to protect myself as an ordinary user. The only thing I was able to infer from the craptastic video is that the user they're escalating from is member of the "admin" group, i.e. not a "Standard User" but an "Admin" in OS X lingo.

Among other things, the most obvious difference to regular Accounts is that "Admin" users can use sudo by default, but no clue whatsoever is exploited here. Some pipe-fu with sudo? Or a stupid setting by apple allowing "admin" group members doing dangerous things without (re-)authentication?

In closing, best make sure you're using OS X as a "Standard" User, not "Admin". In my experience, it's quite painless.

Edit:
> "Normally there are 'sudo' password requirements, which work as a barrier, so the admin can't gain root access without entering the correct password. However, rootpipe circumvents this," he says.

This at least hints at the possibility that said exploit does not work from a standard user. So there's that...

¹most likely not the researchers themselves, but some "CEO" or other suit-level.
1. Earn shitloads by monopolistically holding
back a decade of innovation in the rich west.
2. Give all of it to the poor.

If anything, that sounds like Robin Hood to me, more than anything else.
Sounds like the worst idea ever to me. It will stiffle inovation and adoption of technologies developed by those with not-the-biggest-site-in-the-world.

Functioning again as a barier against net neutrality, it goes against everything that made the Internet open and great.
There is parecon http://www.wikiwand.com/en/Participatory_economics
Yeah, Chipotle is interesting from a scale perspective. The ingredients are really good, the price is reasonable...

However, I've noticed some Chipotle's are better than others. There is a degree of variability depending on the local staff, more so than you'd find with a McDonald's. I have a handful around where I live and there's one that just isn't right.
I prefer the good old paper sheet of TANs, which at least DKB still uses. I had that exact pictured chipTAN reader; the display failed after about a year, and it was incredible hassle to get a new one activated with the Berliner Volksbank. It wasn't very good at reading the flashing barcode either, usually took a few tries.

It's a good idea, certainly, just a partly lousy implementation. Some banks will offer the option of sending you a TAN via SMS instead (so your phone is the "something you have"), but usually for a fee.
Although I personally rather like the new Australis theme of modern Firefox versions, when it came out I heard a lot of people annoyed at the 'dumbing down' of the interface, and I thought maybe there would be room for a different browser, with less laser-like focus on simplicity and more on extensibility... a browser that would be to Firefox and Chrome what Firefox 1.0 was to IE6, back in the day.

I thought of it as "browser for developers and power-users", and wondered if it would actually happen. This headline sounds promising, but I'm not sure that's actually the niche they're aiming for.
It most certainly is not a zero sum game. Any reading or thinking that led you to that conclusion is wrong.
It is sad that completely factual, sourced and on-topic comments get downvoted on HN just because they go against the political beliefs of downvoters who don't even bother responding.
That's actually one of my main requirement: No US hosting.
Countries I feel sort of safe with is Germany, Switzerland and Norway.
6.824 Lab 1: MapReduce
Form engineer here. We're not planning on shipping our firmware signing keys along with our product like Belkin did. Jokes aside, security, integrity and trust are our very top priorities. The hardware is designed in a way that should be extremely hard to misuse, and even if someone would be able to break the encrypted protocols, the encrypted and signed firmware images and manage to run custom firmwares on the MCU:s, they would still be limited by the extremely low power budget and the very limited amount of memory, so I would say that it is nearly impossible to store and/or transmit any meaningful amount of audio.
I love the UI and the results! I'd just say that I have two concerns; while the click-to-add nature of the genre list is great, I don't think it's immediately intuitive. Perhaps I'm just part of the old "if you click a link it takes you to a page" demographic, but clicking to add or subtract -- while in my opinion the right mechanic here -- isn't immediately obvious. Making it more clear how this works could save you some traffic by avoiding requests from people who don't immediately understand how the UI works.

The second thing is that, on browsing movies "from Japan," I immediately get Band of Brothers, Kill Bill, Lost in Translation, The Last Samurai, and the latest American reboot of Godzilla. If it's intended to show movies set in a particular country, that's potentially a really cool gimmick, but as it is it seems inaccurate.

Love the site, though! Great work!