skysight-inc/HackerNews huggingface dataset:
It's not just you - the GitHub demo is a tad annoying. The idea was that we might have people's attention for 15 seconds on average, and we wanted them to get a feel for the full spectrum of sounds in that time. So, it's tuned to be much more intrusive than a production stream might be.

Also, whether any particular sound is annoying or pleasant is complicated (we're just figuring out the parameters now) and subjective. So, we're working on letting users create, edit and share sound packs to see what smarter and more talented folks than us come up with.
WaPo: NSA Broke Privacy Rules Thousands Of Times, Harms Uncertain
What does "awesome format to work with" mean? You're not working with the format.
This is actually not true at all. (Source: Intern this summer)
Who the hell cares about what governments plan for?
As I've mentioned before, in a lot of professions it is paid and considered part of the job. If not, then at least it's regulated. We enjoy none of those benefits.

Software is a career requiring a much higher level of personal commitment than many other careers, while often not necessarily being better compensated.
Go-centric Vim setup
CloudEmailApp, Email service for kittens: http://cloudemailapp.com/
What I don't get it why society thinks it's okay to encroach on personal freedoms when it hurts the economic interests of some other party. What is it about economic/commercial/financial interests that we collectively consider it more moral.
This seems to be straight from Wikipedia and then wrapped in a while loop: https://en.wikipedia.org/wiki/Netcat#Setting_up_a_one-shot_w...

netcat's cool, but the post could've gone a bit further. If it's an intro "how to do this", maybe explain the moving parts for beginners?
This is the first time I ever heard anybody complain about UTF-16, citing it as the reason for why the JVM consumes more memory, which is of course bullshit.

One reason for why JVM apps appear to consume so much memory is because the JVM allocates more memory than it needs. It does so because the garbage collectors are generational and compacting (well, CMS is non-compacting, but when the memory gets too fragmented, the VM does fallback to a stop-the-world compaction of memory). In a server context the JVM also does not release the free memory it has to the operating system, because allocating that memory in the first place is expensive and so it keeps it for later usage ... the result is that memory allocation on top of the JVM is as efficient as stack allocation, since all the JVM does is to increment a pointer, and deallocation of short-lived objects is nearly as innexpensive as stack unwinding, since the GC is generational and deallocates stuff in bulk. These capabilities come at a cost, as the GC also needs memory to move things around, but it's also memory well spent (e.g. Firefox has been plagued by memory fragmentation for years).

Speaking of Golang, it has some of the shittiest GCs in existence ... non-generational, non-compacting, non-concurrent and "mostly precise". Of course, it used to be fully conservative, which meant you could easily end up with really nasty memory leaks on 32bits systems, because the GC wasn't able to make a difference between Ints and pointers.

The only thing saving Go is the ability to work in many cases with the stack, alleviating the stress that the GC faces, but this low-level capability will also prevent it from having a good GC anytime soon, like the JVM has had for years.

And really, in terms of memory usage, you should see how the JVM's CMS or G1 behaves in production, as it makes all the difference. Our web-service (written in Scala) that's being hit by more than 30,000 requests per second that must be served in under 100ms per request, was at some point hosted on Heroku, using only 8 instances, instances which have less than 400 MB of usable RAM. It was absolutely superb seeing it in action, as the processes themselves were not exceeding 200 MB of real usage - Heroku even told us that we are costing them more than we are paying them.

So yeah, you can talk bullshit about strings being UTF-16, but the real wold disagrees.
That's not life.

You won't have life if you don't work - or coerce it from others.

World average income equals the USA poverty line. That doesn't give much room for the productive to support the unproductive. Charity, yes indeed, but there's an unsupportably growing number who are quite capable of supporting themselves but demand others do instead.

The "right and humane" step is choosing to give to others freely, not to put a gun to someone's head and demand what's not yours.
Django unchained briefly visited that idea when Leonardo pondered why don't the slaves revolt or leave? The slave has nowhere to go.

Wage slavery, the term, was coined when industrial jobs were coming on to the scene in the north and there was still slavery in the south. Groups of laborers in these new factories soon went on protest. They self-described their situation as being similar to slave work/living standards but with a wage. Basically what we today would call inhumane.

This sentiment never diminished but instead was overwhelmed by the dominance of industrialized work in this format. Their protest fell on deaf ears because now all the jobs offered were like that and unions decided to fight for better working conditions instead of the system at large. Which leads us to today.

It's hypocritical when employees lambaste labor movements but will gladly partake the fruits of better wages and working standards.

It seem human nature will put up with a lot of things. An anthropological account i read: The anthropologist visited some area around Tibet. The system in place there required newly married women upon marriage to leave their husbands and work for the lord of the area, often as a concubine. After a year or so she would leave but not to return to her husband but instead go to a work camp where she would serve as a comfort girl. After that she returned.

The obviously shocked anthropologist asked why did people put up with this arrangement? It seems the reply was a "that's the way it was" sentiment.
Actually, there are phone YouTube apps not made by Google, such as Jasmine for iOS, as has been brought up repeatedly. Unlike Microsoft, they complied with the rules, rather than throw a hissy fit.
Aside from our moral duty to stand up for Freedom and Western Democracy when it is threatened, consider how bad it is for the startup ecosystem to have the entire world of potential users (including those in the US) perpetually doubting the integrity of our jurisdictional and technical data protection systems.
HTML5 seems to be the only public API they expose, and obviously they don't want random apps to depend on other, possibly undocumented APIs intended for internal use. Google can use any kind of whatever internal API they have in place in their own apps, I don't see why they should follow their own third party usage guidelines.
It's right that callback model sucks, and the task model is a way to go.

Sadly, many developers when they hear the word "C# async"
...
All of these statements are made by people that have yet
to study C# async or to grasp what it does.

But it's unpleasant to see the author is talking concept of task - lightweight threading, coroutine, or whatever - is like a patent of C# (or F#). And furthermore, treating many developers are not able to understand this concept.

Maybe true for the people around him.

I understand his position as a lead developer and an evangelist of Mono/C#, but this attitude is ridiculous.
Women was an excellent book. A complicated book that works on many subtle levels. On one level, it is in essence, the T.V. series Californication. On another level, it is the story of a man finding himself through his partners. Ham on Rye was also another excellent story of Bukowski's origins. All of his books were part memoirs, now. Post Office, tracks his early years working in the Post Office. Day in, day out. Checking in, his life being eaten away. The prose isn't great. However, it is rather amusing to read it today. Especially in a city where you hear people working 90 hour weeks; 90 hour weeks in tiny red-bull fueled offices. For what, for someone's glory.
>So unlike many other form of protection for corporate assets, trademark protections - when not overreaching - often very directly aligns with public interests.

I'd actually say that the public is as likely to be misinformed by the owning company's marketing as it would be from the copycat company's in this case. It's not like saying "it's the real thing" makes coca-cola "the real thing", or saying "100% agnus beef" makes whatever BS the sell at McDonalds good to eat.

Sure, there might be some confusion if Dirt-T-Water starts marketing it's stuff with "it's the real thing". But that would be minimal anyway, because the two products would have different logos (by law) and different names (by law).

At best they would benifit subliminally from those buyers that buy their stuff because the slogan reminds them of something.
Comcast and many cable ISPs have a monopoly for high speed Internet in many parts if the US. YouTube is not forced on anyone due to where they live, and there are plenty of alternatives to YouTube out there that you are free to use.
Mirror, if they take it down: http://750322650ec57ab9eca9-fe441ee6e1637528269eb3ca9702d9e7...
npm install -g serve
serve
It is funny you should say this. A friend recently had me interview for his company. He is a great guy, works too much, wakes up in the middle of the nights when he is on call. His boss started off by agreeing that yes, the friend worked too much. He may even have used the word burning out. He then hastened to tell me about his theory in life. Your 20s and 30s are meant to be a time for learning. Apparently, this "learning" involves working on these problems day in and day out. So the burning out was a good thing. Then, in your 40s, you start earning money. I could be a tech-lead or a manager, he said. Then, in my fifties, I could enjoy. He did this. He was happy with it, he said.
The rules are arbitrary if Google doesn't abide by them when making publishing its own versions of YouTube apps on the dominant platforms. It's behavior is anti-competitive if it uses its position as gatekeeper to YouTube to stifle Windows Phone by placing requirements on Microsoft that it doesn't place on itself.
I kinda have to disagree with you here. The problem of callback hell has nothing to do with the funcions being anonymous. In fact, you kinda want to have anonymous functions if you want to keep things as similar as possible to traditional code.

For example, when you have code like

var x = f();
print(x);

only a hardcore extremist like Uncle Bob would write it as

var x;

function start(){
x = f();
onAfterF();
}

function onAfterF(){
print(x);
}

because now your code logic is split among a bunch of functions, the variables had to be hoisted to where everyone can see them and the extra functions obscure control flow. In the first case its obvious that its a linear sequence of statements but in the second you cant be sure a-priori how many times onAfterF gets called, when it gets called and who calls it.

Coming back on topic, callback hell is not just about nesting and your current code still suffesr a bit from it. The real problem is that you cant use traditional structured control flow (for, while, try-catch, break, return, etc) and must instead use lots of explicit callbacks. Additionally, for this same reason, callback code looks very different from how you would normally write synchronous code and its a PITA if you ever have to convert a piece of code from one style to the other.
Funniest reviews
Rust Condition and Error-handling Tutorial
>what does "* ((int * )NULL)" do

Technically speaking, that is undefined.

"If an
invalid value has been assigned to the pointer, the behavior of the unary * operator is
undefined...Among the invalid values for dereferencing a pointer by the unary * operator are a null pointer,..."[1]

[1]http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf page 79
The future of transport: No loopy idea
23andMe is good, but FamilyTreeDNA is better for purely genealogical results, as they have a bigger database for comparisons and the people you might match are more likely to have researched their backgrounds more thoroughly.
I did actually mean install it on a server. I'm looking for something to provide central secure text storage for sharing secure passwords, notes etc between distributed staff
Does Bootstrapping Make You More Disciplined?
Aren't you still American? ;)

As an Indian I am confused why only people of the US are called Amerians while two entire continents are called America.

And also, why we Indians are not considered Asians by the said Americans.
Is YouTube purporting to provide me with Internet access or otherwise operate as infrastructure? I must have missed that.

If Comcast wants to provide a digital network that provides connectivity between selected entities (such as end-users and companies that have elected to pay Comcast additional fees), that's fine. But they don't get to call it "Internet". They don't get to pass it off as something different from the AOL and CompuServe of old.
Didn't Clapper get up on stage and say emphatically there had been zero abuses? This guy's lies have lies.
Woah, I didn't realize busybox had an httpd. Truly a sweet piece of software.
But doing things by hand with callbacks is going to have all of those same issues isnt it? If you dont want to infect everything then you basically need to just write synchronous code instead...
Manish, keep at it, leadership is about leading yourself, no one gets that except those who get through it and keep going.
>Nonsense. Most languages that include garbage collection allow you to turn it off; the same languages also allow you to explicitly control memory.

BS. Most languages don't allow you to turn off their GC, except if by it you mean doing silly tricks and jumping through hoops, using tons of memory to avoid having to GC, using pools of pre-allocated objects, not using any standard libs, etc. Even then, they are not callable from outside code (like C is and Rust tried to be) and memory use is huge.
Vehicular manslaughter charge upgraded to murder because of tweets
People with OCD are not the same as germaphobes. They may overlap, but it's not the same group.
According to Google, abuse means the improper use of something. Regardless of whether it was accidental or intentional, abuse is abuse.
WaPo Disclosed - Secret NSA Targeting Rationale
Yes. The point is that while the idea of continuations exists, no one should be forced to write continuation-passing-style code by hand!
>No one holds a gun to the consumer's head, they just convince themselves they need thing. Then they whine when they haven't saved more than 300k for retirement at age 50 and social security is looking rocky.

I think that we in the tech industry are... different here. In other industries, there is a /lot/ of pressure to look the part (well, to look an /expensive/ part.) Have you ever seen a real-estate agent in a car worth less than thirty grand? Hell, I've met a few sales folks and managers who wear watches they claim are worth at least half that.

Engineering is a little different in that we can dress down, and nobody is going to seriously give us shit for driving a piece of junk car. One can reasonably be a six-figure computer nerd and be a frugal person. A six figure salesman would be... well, he would be breaking a lot of expectations if he lived frugally.
That comparison seems weird because the relationships aren't the same. Comcast's customers are the people who pay for Comcast service at their homes and businesses. If Comcast favors its own content over other content, and they have a local monopoly on internet service, then they are using their monopoly to abuse their customers.

Neither Microsoft, nor owners of Windows Phone handsets, are customers of YouTube. The only people who are customers of YouTube are people who pay to have their videos hosted there.
The rule exists to ensure the continued compatibility of third-party applications with requirements of the YouTube service. Google can fix its own apps, and it can fix the content of an iframe loaded from its servers, but it can't fix apps it doesn't control.

There are good reasons for this very simple rule that everyone but Microsoft seems able to comply with. By definition, such a rule cannot be "arbitrary".
No one pays chargemaster prices. The reason hospitals set the prices so high is because they are the starting point for negotiations with networks and insurance companies.
Even consumers without insurance typically don't pay chargemaster prices as hospitals normally have cash pay discounts.
As payers begin to contract with ACO's, I think we'll likely see a shift to a more standard shape bell curve if reform is working.
Barry Zane Raises $10M for SPARQL City, Helping Analysts Manipulate Big Data
Accidental abuse is abuse nonetheless.
In older versions of Firefox, you could write:
var a = #1=objImUsing.prop.someLongName > 5 ? #1# : whatever;
but it's been killed since Firefox 12:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Shar...
Do you think such metrics can help you to target your audience ?
Check out http://search.geshergalicia.org/ .

Many, but not all, of the people mentioned in the 87 data sets (and counting!) that make up this database have a gender explicitly declared. Locale is the former province of Galicia in the Austro-Hungarian Empire, which is today eastern Poland and southwestern Ukraine. Time period is mostly 19th century and some early 20th century. Ethnicity is strongly biased towards Ashkenazi Jewish, but we also have some data sets that have representation of all the people in the community at that time, such as tax lists or phonebooks or school lists. I can get you data in JSON or XML, let me know.

I also have access to another large given name database that could be useful to you -- but that one is entirely Ashkenazi Jewish from what used to be northeastern Hungary, from roughly 1850 to 1906.
Artist pranks LA Best Buy stores with 'useless' gadget
It often won't, as features ("applets") are chosen at compile-time.
Corruption and regulation are fast friends which usually encourage each other.
OK, so you need some stuff to build.

The point is the runtime dependencies are small.

It also requires a compiler to build. Where's your rant about that?

(I keep promising myself to stop reading HN threads about C and C++ due to so much inanity. Looks like I caved.)
That's not a one-line script. That's a multi-line script with the linebreaks removed.
Yes, yes. What I actually do is write about a five line program which -- absent fancy alias disambiguation -- can't be optimized out of crashing. You're hired, okay? ;)
Bits from Debian - Happy 20th birthday Debian
HN Feature Request
I think HN would be slicker if clicking on a submission's title always opened the relevant discussion thread. This would allow the reader to browse a first-level filter and then decide whether or not to visit the submitted URL.

For at least a year I've adopted the habit of clicking on the comments link and never on the title itself. I quickly scan the first few comments and decide whether or not I am actually interested in visiting the subject's URL.

HN readers usually get it right. If the first few comments call the submission link bait or express a negative opinion chances are it isn't worth my time. There's also the problem of confusing or misleading titles. Again, visiting the comments page first always provides clarity for me.

In addition to that, I always open comment threads in new tabs. If I am interested in visiting the linked URL after browsing the comments I click on the title and now I have a tab with the subject URL and a quick way (back button or keyboard shortcut) to go back and review comments.

I'll usually scan HN's first and new pages and ctrl-click on the comment links for submissions that seem interesting. I then have four to eight tabs (usual number) to scan quickly. Click through the tabs. Quickly evaluate comments and either close the tab and discard it or dig deeper.

My feature request, then, is as follows:

1- Always go to the comments page, never directly to the linked article or site. To me the comments are often more valuable than the article itself. If there are no comments, go to an empty comment page. Let the reader decide whether to actually visit the linked article or site. You could make this a switch one could set in the profile.

2- Allow users to set a switch in their profile to automatically open submissions in a new tab. I'm lazy, I don't want to have to ctrl-click if I can help it.
¿El wi-fi perjudica la salud?
This is business. Microsoft would do exactly the same if the situation was reversed.
On American Consumerism
> couldn't have made small talk if he had a gun to his head

To be fair, I think this describes most people.
Hardly implemented in Bash, it uses nc. I have a friend who implemented using no external binaries in Bash. I'll ask him and see if I can get it

EDIT: I think this is it: http://ur1.ca/f2ozi
I was just thinking about this the other day and wondering if anyone had tried it yet. Too lazy to look for it.

Throw a way to do some real routing in there and you might be on to something. It's an interesting idea, with the trends of blogs (like mine even) going to octopress, simplifying the serving of static text is greatly beneficial.
What the Steve Jobs movie got right, and wrong
Is that an almost correct piece of code? What sort of situation would something like that come up in?
Fabrice Bellard is the Chuck Norris of all hackers..

its a waste of time trying to figure out what his superior mind could be thinking :)
While I don't fault Facebook directly with this, when any gathering evolves to enabling gossiping, spying and showing off for those who are most affected by it, I'm not sure if on one hand we move ahead as a society, or if by using up such social attention, perhaps, as a civilization, we use up our energy and attention to care about such things and have the opportunity to spend as much energy on ourselves instead of spending it on others and putting ourselves in front of others for so much validation.

We're all human and need support and love, but we need to be able to give it to ourselves, and maybe a 'social' network will always be superficial to the point that it drives and feeds loneliness.
There are a few insurance companies like this. However, the patient must have the cash flow for these large expenses. It often takes takes time to get reimbursed.
How to Get Meetings With People Too Busy to See You
I was initially very skeptical at first too. Then I noticed that the positioning of the "Busy = false" statements had been reduced to a structured form exactly as if we had started with an unstructured GOTO or multiple exit point control flow.

As a C++ guy, I don't like his "Busy = false" system to begin with. It would seem much better (to me) if he used a non-copyable object to represent the outstanding activity. Such an object could naturally reset the "Busy" flag in its destructor. But usually there's a better scheme than using a simple Boolean flag to represent a "busy" state anyway. (How is clearing the flag going to release the next guy waiting for the resource?)

So while I'm still a bit skeptical of drawing conclusions from this, I readily admit it's not so off-the-wall as I'd originally thought.
OK, I'll bite. Name 5 products or services that have significantly improved in quality at constant cost, or declined in USD price at constant quality, over the past 10 years (excl. high-volume offshored consumer electronics, which of course I'll grant you).

[I tried pretty hard myself and all I came up with was, possibly, clothing].
> [1] Except on AIX and any other asinine system that maps NULL.

It's pronounced "aches" for a reason.
A third of venture-backed IPOs between 2006 and 2012 had an immigrant founder
Since nobody mentioned ruby version

ruby -run -e httpd . -p 5000