skysight-inc/HackerNews huggingface dataset:
Xinput is an extension, so it should be possible to disable via xorg.conf.
The #1 song on my playlist... she's absolutely amazing, and while it makes me sad that she didn't get to live the life of the classical pianist that she wanted to be I'm in a way extremely happy that she did live the life that she did.

https://www.youtube.com/watch?v=c1_D5gef72A
Check Website Performance
Author thinks that a browser that hijacks ads to show other ads is going to be a hit. The first technology that gets added to that thing via 3rd party plugin is going to be an ad blocker, because the entire idea is stupid.
Django generic scaffold
> is it really surprising that some people want traditional traditions?

Well, no. I guess not. And in that context, there will definitely always be a broad spectrum of those that want to keep traditions as such, and those that want change.

But it seems that at least for this particular tradition, it gets trickier to just consider it "a tradition" since it is so intertwined with the legal definition, for some countries at least.

So even though it's "just" a cultural tradition, it makes a big effect on the outcome of legal matters.

I mean, I've seen groups that oppose same-sex marriage suggest calling that "legal relationship between two people" something other than marriage, giving it the same rights and that would be enough.

The thing I try to imagine is, what would happen if some country would completely decouple the marriage term from the legal definition, if that would make things better or not.

As long as every legal matter related to the definition of this new term is updated, and so referring to marriage would only be at the religious level (no other consequences than that), what would happen? would that be a good solution for most? or would it be maybe just enough ?

I'm pretty sure there would be people disliking the idea of having a different term, however legally equivalent it may be, and probably they could give good reasons, but would it be the majority or a minority?

I have honestly no idea.
Pokemon20 Pokemon Super Bowl Commercial,Review World
The obvious reason to use threads... so you can do multiple things simultaneously.
> 2. there seem to be dozens of not-really-smoothly-interchangeable notions of what "modern C++" is, because the language is so vast, and there have in fact been several overlapping generations of "modern C++".

Everyone I've talked to understands modern C++ to be C++11 or newer.
C++ is still plenty viable, but if you like avoiding bugs, John Carmack seems to have come to the conclusion that using a functional style (which is not exactly encouraged by C++) is advantageous: http://gamasutra.com/view/news/169296/Indepth_Functional_pro...

"My pragmatic summary: A large fraction of the flaws in software development are due to programmers not fully understanding all the possible states their code may execute in. In a multithreaded environment, the lack of understanding and the resulting problems are greatly amplified, almost to the point of panic if you are paying attention. Programming in a functional style makes the state presented to your code explicit, which makes it much easier to reason about, and, in a completely pure system, makes thread race conditions impossible.

"No matter what language you work in, programming in a functional style provides benefits. You should do it whenever it is convenient, and you should think hard about the decision when it isn't convenient."
Thats what GP already said:

> Vivaldi. Its only downside is that it further boosts Chrome's dominance by being based on Chromium
#2 seems questionable. I always program in a thread-per-request style and start threads for blocking sub-operations of top level requests as well. I know there are platforms where this doesn't work well and I also know a lot of people cut their teeth on dreadful systems like sunos where it took ten seconds to start a thread, but on modern Linux threads are dirt cheap and well worth the clarity that synchronous programming allows.
That's true. I qualified my statement with probably because there are exceptions. Protecting against those sorts of errors is why my release candidates are done with a clean build and newly fixed bugs are reverified on that package before release.
I had no idea about this and I maintain (only) Debian and Ubuntu based clients everyday..
> Also, somewhat tired ground by now, but the California proposition would separated families and deprived them of the legal rights that families have. Your "lynch" analogy is a strawman, the KKK doesn't really do that these days, but it still does vile things. The KKK of today is quite equivalent in effect and practice to California's prop 8.

Well I'm not familiar at that level of US culture, and that illustrates the main point of critique that I tried to convey. The Prop 8 and KKK equivalence is a little unclear to me from a different background.

But that is impressive, using the paradox of tolerance to advocate protectionism.
Exactly! Why are Mitchell Baker and other execs at Mozilla being rewarded for lack-luster performance with nearly $1 million a year in compensation, meanwhile the actual programmers that toil on Mozilla's products go underpaid or even unpaid?
YouTube and Google Maps are pretty bad signals for Android users since they come preinstalled on the majority of phones.
Creepy Text Theatre Valentines Day 2016 REVIEW WORLD
Disagree. Compilers, like anything else, should be small composable libraries. Compilation and dependency parsing should perhaps be separate, and the same dependency-tracking library should be usable by the compiler, wider build tools, and IDEs or similar.
check these out:

http://www.bookbot.io

http://www.hnreads.com
Ask HN: What are startups working in field of Bionics and Biomechatronics?
I am quite interested in those field as well as interested in working for a startup. I want to know what is the future scope in those fields?
If this happened today then I would side with Curtis. But I have a different opinion when considering the acceptable attitudes of the last century.

In the early 1900s, Harvard had more than a few Jewish students and erected anti-Semitic admissions criteria at the same time. So a lot of students were rejected because they were Jewish.

Simone applied to Curtis in 1950, years before the Little Rock school integrated and a whole decade before the Civil Rights era.
> If you don't agree, go work out a logical derivation of why the practice of pairing up is optimal and report back.

You can't exactly do it from first principles, or from Euclid's five axioms. It's arbitrary, but it's an arbitrary part of the society we live in, so there are reasons why marrying - as opposed to just 'pairing up' - is optimal.

1. Family rights - if your partner is sick and in the hospital, marriage allows you to make decisions on their behalf, gives you visitation rights, and allows you to receive benefits if worse comes to worst. It also gives you greater rights when it comes to any children you may have.

2. Taxes - the government gives incentives to married couples. (We could argue that in states where gay marriage is prohibited this is not the case, but that just sounds like more discrimination.)
Yep, identical result, though I'm male, 32+ and 52k+.

I do actually use a very small handful of the website versions of some of these (eg, I have been to Walmart's website, I subscribe to some tumblr RSS feeds, I (very occasionally) use Facebook, and I listen to stuff on soundcloud every now and again)..

I generally don't install an App unless there's a very compelling reason to. Most of the time, the App version is going to irritate me with notifications I don't care about, and ask for permissions ranging from questionable to obscene (some game needs access to view all contacts, photos and use my microphone? yeah... no thanks).
> But we're not taking the issue up at work.

I think I mostly agree with you on the particulars, but asking religious people to stay in the closet isn't healthy either. Maybe certain discussions need to happen outside of the normal workday, but you wouldn't support a policy that required someone to leave their race, gender, or sexual orientation at home, would you?
Speaking very generally (there's always room for improvement), this is a feature. X programs are able to interact in interesting ways. Isolation can be a good thing and I would love to have more options for sandboxing programs (with or without X), but stuff like keylogging and sending events to windows are very useful. Removing the ability to do stuff like query the state of the mouse would break useful tools I use. The ability to keylog my keyboard or mouse is a potential risk, but it's also a necessary feature. As DHH explained[1], nerfing useful tools just causes people to find other ways to do the same thing, sometimes with worse consequences.

The "window composition only" approach of Wayland where it is simply assumed that this can be handled in e.g. the GUI toolkit is problematic if you have programs that don't use that toolkit. The windowing server is really the wrong layer implement this isolation - it makes useful things much harder while not actually providing a lot of security; if a malicious program is already running as the user, there are already endless ways it can harm the user without touching the UI. Real sandboxing would be, for example, a way to open a Wayland-style framebuffer that can be handed to a FreeBSD-style jail (or as "hardware" in a full VM).

[1] https://vimeo.com/17420638#t=27m27s
The Searcher of Patterns and the Keeper of Things
All valid points, but (anecdotally) over the past several years of work, this holds true.
Did you just mention Go and performance? ROTFL!

Writing in other languages means you end up using ineffecient abstractions. C++ affords very efficient abstractions and really doesn't force a different code structure than other languages, so it is hard to see why there'd be an advantage with something else.
Link to docs for that? Not seeing it on the Debian or Ubuntu sites

https://www.debian.org/doc/manuals/debian-handbook/apt.en.ht...

The Ubuntu 16.04 docs mention using "aptitude install" but the official docs still mention "apt-get install":

https://help.ubuntu.com/16.04/installation-guide/amd64/apds0...

https://help.ubuntu.com/12.04/serverguide/apt-get.html
I clicked the title and it provided a great answer. something about mysql not connecting. i thought it answered the question until i googled it. a better title would be 'why not php'.
Intelligent Birds: What does their behaviour mean?
I just saw the author do a talk at a Meetup, and it blew my mind. I've seen a lot of neat things in Scala libraries (Shapeless, Scalaz, Akka, etc.), but this is unique in how far it's gone in expressiveness for fairly everyday programming, to the point of being able to choose your APIs types using implicits. It was like watching sorcery. I wish I could share the same talk I saw, but there are a lot of videos out there [1]. I haven't watched any yet to recommend a specific one, so perhaps the more recent ones would be best.

[1] https://encrypted.google.com/search?hl=en&q=scala%20rapture#...
15 examples of sort command in Linux
> The counter-counter-counter argument is that these are true of every language.

I think the problem is that people keep treating these as binary attributes in some cases (usually the ones counter to their argument), and gradient ones in other cases, and this doesn't lead to effective communication. Almost all the attributes are gradient. The question is not whether C++ takes conscious and vigilant effort to not use a footgun, it's how much conscious and vigilant effort it takes in in comparison to an alternative, and for an alternative, it's not just that it may be slower, but how much slower.
The Picture of Dorian Gray (by Oscar Wilde) is just so beautifully written. It was Oscar Wilde's only novel (he only needed one). It also has the absolute best preface of any book I've read: https://www.gutenberg.org/files/174/174-h/174-h.htm#chap00
> powershell was created because cmd was deficient in many areas

And we didn't just copy bash, because bash was deficient in many areas.
You decided to compare many good people to terrorists. Don't be surprised by the blowback. If you don't want to distract from your point, consider picking a better analogy next time.
This works, until you start coding an imperative-style interpreter in the functional language, and mess everything up again :)

Anyway, I believe we should have the best of both worlds: a language which for the outer layers (the "outer loops" so to speak) uses functional style, and for the inner parts allows imperative style (of course the programmer should make sure that no side-effects remain visible here to the encompassing layer).
There's a legal aspect, but that's still just a law codifying cultural norms. Why do people have to wear clothes in public? The libertarian abstraction of people as living in isolation from one another until they choose to interact is a good example of a leaky abstraction.
Because we have Rust!
Here's what I see when I go to that Buffer page:

http://thumbsnap.com/i/nlgq33uo.png?0305

3 signup forms (1 in a modal) for their newsletter (and an additional link to signup for the newsletter at the end of the post).
Problem is no other browsers has anything close to the ecosystem of Firefox.

Chrome extensions seems (with a few exceptions) to be just locally stored web sites.

A better alternative to Firefox might be Palemoon which is just an older version of Firefox with security patches. I am not in a position to judge if it is safe enough for anyone to use but I like it.
Momentum.

Also, it's easy to paint yourself as "the good guy with all the government sponsored guns and military contracts" who will "keep the other good people safe" because "you're better, smarter, more capable and more honorable than them." It's a very sexy and lucrative mindset, so it shouldn't be a surprise that it's pervasive.
There is the chance the other investor knows something you don't know, etc. which means it isn't necessarily zero-information.
Qubes OS is super cool conceptually - torrenting it so when I've got time to spare I'll see if I can practically get it running, would LOVE to replace the current messy and insecure Linux/OSX/Windows systems with a new secure and stable OS that includes sandboxing by default for everything.
i think this is strange. i'm not a c++ programmer, but the evented frameworks (node.js or vert.x) are doing it the other way round: use threads only for IO (or computation so heavy it's practically blocking). the complete opposite.
Has nobody heard of quetelet?
'Casper the ghostlike' octopus discovered on Pacific Ocean floor
Thinking about this and the wisdom of crowds makes my brain feel fuzzy.
> threads should only be used to exercise multiple CPU cores and never as a way to work around blocking IO.

Well, nothing, except the simplest of tasks, is pure IO. If you are talking about asynchronous programming, that is basically the cooperative multitasking of the Windows 3.1 era. One event handler will, if it performs a lot of computations, block another from running. Most people seem to forget that the CPU is a resource that can be blocked too. So in the end you still end up spawning threads to reduce latency.
It's not a warning, it's just a judgement that what they want to do is outside of his expertise and/or interest.
Just a reminder. Prop 8 passed in California in 2008 with 52% of the vote. Individuals who held that view where hardly extremists.
>"Timothy Gowers's first big assault on academic publishing started almost by accident.

In 2012, the Cambridge mathematician took to his blog to write a post bemoaning the exorbitant prices that journals charge for access to research. Gowers vowed to stop sending his papers to any journal from the world's largest academic publisher, Elsevier.
tim gowers

To his surprise, the post went viral — and spurred a worldwide boycott of Elsevier, [...]"

>Be top scientist

>Publish a statement of intent on your widely followed blog

>People who have felt the same way but could not express their opinion without damaging their career follow

>be surprised

How much is this article insulting the reader's intelligence?
Swift Collections – Part 1 (Arrays and Sets)
A context switch takes about 50 microseconds. If you want to handle 10,000 requests in a second 500 milliseconds is lost to context switching alone. Probably more. The nature of IO & user input in general is to hurry up and wait. It's usually simpler to do async requests & polling file descriptors rather than thread-per-request. The former seems on the surface more complicated and more lines of code, but IMO, ends up being less complicated because you won't have to spend time digging through logs trying to figure out that the reason some other unrelated thread stalled for so long is because you were blasted with thousands of requests in the same second.
And, on a non-technical level, at least judging by the comment thread here, the Eich debacle still hurts Mozilla.
Yes, it's true, for certain definitions of "unclear" and "processes". The whole issue here is that the mind/brain is too complex to describe at any single level of abstraction. There are just so many different, valid levels of description, all the way from physics to high level computational approaches. Wikipedia lists 22 distinct branches of neuroscience [1], and each has their own set of problems they are trying to answer.

The problem this article brings up is that one researcher (who has received a lot of money to fund his project) has come up with an explanation of "process" that is "clear" to him for the questions he is interested in. However, for everyone else, "process" means something different, and they are unable to see how to translate his model to answers questions they are interested in. Without a simplified model, one that abstracts away the huge complexity, there's no ability to generalize its conclusions beyond the exact simulation at hand, and this means it has virtually no explanatory power.

So yes, because there are many valid definitions of "process", that statement is true for many of the interesting definitions.

[1] https://en.wikipedia.org/wiki/Neuroscience#Major_branches
Conversely, there is a large group of people who judge merit only in terms of outcome, without taking into account that two people of equal merit may have unequal outcomes due to unequal opportunity (or the person with greater merit at even have a lesser outcome).
Do military people disagree with your analysis about killing ?
No, but thanks for bringing him to my attention! It's amazing how someone like that so long ago could have such an impact on so many fields, while today, it takes teams of people to win the Nobel prize in a single field.

It's a testament to how much we know today relative to yesterday.
> Non-profits are mission driven.

Nobody works for Mozilla Foundation. The employees work for Mozilla Corporation, a taxable / for profit entity entirely owned by Mozilla Foundation. They have precisely one revenue stream worth mentioning: search bar contracts. Those contracts are bid on by for profit companies, who will be bidding based on perceived value per search, searches per user, and total users.

The introduction of Chrome should concern Mozilla Corp employees, and the ceding of market share to it should be terrifying. Your capacity for The Mission is diminished if user base declines, because bids will decline.
We need a reboot of the web from the start.

Something simple (like markdown) that can be implemented in a wide range of languages (not only system languages).

The complex web we have today is a dead end. It monopolizes too much ressources in few complex projects.

We need a lot of different projects trying to achieve different goals. Some can be specialized (like only for a site or a task). Some can be whole-purpose.

3 or 4 layout engine is not enough.
a) war a very unforgiving environment - bad policies become apparent very quickly under pressure

b) the things you are against ("kill people's friends and families and not expect them to become terrorists") are often policies not under military control. If the government doesn't want to spend the money or annoy its allies enough to solve the root causes, there's not much a soldier on the ground can do except mitigate the damage (and yes, that often includes actions that perpetuate a bad status quo)
> They decided to censor inmates because they can

They've already disenfranchised and disarmed prisoners and we've stood by and allowed it. What makes the 1st amendment any different from the 2nd or the Constitution's protections of voting?

The horrible precedent was already set and prisons are simply following it to its logical conclusion. We should have revolted when we stripped millions of citizens of their right to vote...that was the bigger overstep.
just as an aside, on HN, italics work better for quoting than pre tags.
X11 is inherently insecure. With Wayland, the compositor itself is privileged but all clients get access to only their frame buffers and event streams.

Network transparency is mostly irrelevant on modern desktop systems, X11 remotes modern apps poorly at best, and if you really need remote desktop access you know where to find RDP and SPICE.

The Wayland switch will be a win because X11 is almost pure cruft. The good parts are what was kept in Wayland.
joint distribution of 2 normal distributions isn't necessarily a normal distribution in 2 variables. Independence would be sufficient condition for that, yet obviously there is no independence between various measurements of a human body.

https://en.wikipedia.org/wiki/Multivariate_normal_distributi...
There isn't, really. Give it a few years and they'll be considered the exact same. Don't be on the wrong side of history.

(I'm sure we've had this conversation 100+ years ago on slavery. That didn't die in a single day, either.)
That is not what I mean. Obviously such a corporation would have a board of directors but no shareholders at all (including no dividends and control rights), just like Mozilla as described in the comment.
The Traveler’s Guide to Tipping Internationally
Well, looks like we're all single ladies under the age of 32 who make 52k/year
libuv (used by Node.js) uses epoll, kqueue, etc. for network I/O. It uses a thread pool for all file operations.
A real estimate is available for JMLR, a reputed machine learning journal, about $10 per article (!): https://blogs.harvard.edu/pamphlet/2012/03/06/an-efficient-j...
creating profiles specific to each might help
Part of having effective communication is having people on your wider team that are experts in that area, even if they aren't one of the people writing all the software.
I think we had a discussion here on HN not long ago but I can't find it.

edit:

Found the article:

http://www.theatlantic.com/business/archive/2016/02/the-inve...

comments:
https://news.ycombinator.com/item?id=11155889
LOL... why not PHP.
The only thing that has always been behind, and might still be for a couple of years, is the include system, which causes huge delays when compiling and linking, even when editing one single file.

When I make edits and hit build, the old C include system kicks in and it's a very long process. I'm using C++ but precompiled headers are not a standard (many details will prevent you to use them) and there are not decent ways to reduce build time to bearable ranges.

I'm sure this is the main point that makes C++ so unattractive. If you're a programmer, having shorter code-write/build/test/repeat cycles is important if you don't want to lose focus on what you're doing. I don't know if build delays are specific to C++ or specific to microsoft, but if modules were available in some beta form I would try them ASAP. Even platform specific techniques would interest me...

So yes, I'll love C++, but not only the ABI and build configs are not easily solved by CMake, but build times will never make C++ attractive enough. It's not not realistic to pretend you can be really productive with C++.