skysight-inc/HackerNews huggingface dataset:
Great advice, in general. One small point to remember is that it is impossible to implement a completely non-blocking output using the C++ ostream classes.

The underlying streambuf doesn't provide intrinsics to measure the remaining capacity of the output buffer, and may be forced to flush at any output request -- causing unavoidable blocking.

Of course, it is possible to implement your own streambuf class which provides an interface to measure remaining output buffering capacity. Just something to know...

C++ remains my favourite language; after a couple decades of intensive development using it, pretty much every other language always leaves me feeling "crippled", somehow.
Oh no thats not all... Linux also has had a way to allow non root users to do ping, using `socket(PF_INET, SOCK_DGRAM, IPPROTO_ICMP)`, which would get around the whole suid/capabilities approach to ping. That was the whole reason why it was introduced, and it can just do ICMP not generic raw sockets like CAP_NET_RAW (which lets you spoof any traffic), and avoids suid root binaries. Unfortunately you have to explicitly enable it (and there was at least one security issue in that implementation too), with net.ipv4.ping_group_range (or ipv6).
> everyone but Arch

Arch has a grsec kernel in the repos if you want one...
This is really the dumbest, most unnecessary drama that Amazon has needed to face with absolutely zero gain. The entire chain of command who approved this decision should get fired, because who knows what other dumb decisions they will make.
Mine is through my browser's search box ... which has defaulted to DDG for years.
If the environment was homogenized enough this would no longer be an issue.
Same here (Arch), but I just wanted to point out that Ubuntu has PPAs for almost every piece of software out there. Including new versions of Mono, Monodevelop and F#.
Blaming the military for stupid shit that the military does is like blaming police for stupid shit that police do. It might make us feel better, but it ignores the root of the problem, and therefore perpetuates the stupid shit. That is, we, the society that puts the military into impossible situations ("topple governments in the Middle East, and then hang around a couple of years to make sure that ends in order, peace, and prosperity for all") and the police into impossible situations ("you seem to have violence under control, here are three or four more basic human drives we'd like you to thwart in capricious fashion") are the root of the problem. So long as we allow ourselves to be distracted from that, we can expect more stupid shit.

...and yes, of course the military-industrial complex is complicit in our ongoing distraction, but they only hire the pundits and media personalities. We're the ones who listen to them.
And 70 years ago, those same religious people would have said miscegenation is against their religious practices. Similarly for inter-faith marriages. There are many examples of the mutability of their so-called religious practices. So let's not pretend it's anything but a dodge to avoid taking responsibility for their bigotry.
Actually node.js does it the same way. Under the covers node.js handles IO with libev which is an event library.
All your other points have been answered, but just to add that Mozilla does offer fellowships, they are very generous and they are consistently scaling up the program. It currently covers open web technologies, journalism, and science.

I think there's also a bit of confusion about what Mozilla do. The Mozilla corporation make firefox. The Mozilla Foundation that owns the corporation steward the open web, and help make open (source/access/data) the default mode of working for organisations that affect access to knowledge and technology. They are not about serving programmers with cool technology. They are absolutely about making people feel welcome and engaged in building the web.

source: am a Mozilla science fellow
The Origins of the Lockheed F-117 Stealth Fighter
By your standard, everyone who supported Obama should be fired, given that he also opposed gay marriage in 2008.

You okay with that?
You decided to compare people who deny gay marriage to good people.
You could be more generous in your reading and assume he has learned from past errors (hystrix).
The emphasis on doing everything with text is not a problem, it is a major feature of Unix. Configuration management, portability, and interoperability are all a lot easier to do thanks to Unix's dedication to text as the lingua franca of the operating system
If your handwritten signature, to be interpreted by a machine, is all that stood between the government and their ability to carry out a legal search, I have no doubt that you could and should be compelled to produce it.
They use libuv now.
The rejection of gay marriage is entirely contained within religious practice.
Modules were just put into a TS so hopefully we'll get them in C++19. I would love to have them now, however.
This statement misses the point. What I am saying is only use threads to compute things simultaneously and not to perform IO operations simultaneously.
FYI

http://askubuntu.com/questions/3167/what-is-difference-betwe...

It cleans out unnecessary packages.

All the update does is download the latest available updates so it should not be prompting. My experience is that only upgrade/dist-upgrade will prompt.

I've got a VM running ubuntu 16.04-beta and it seems to be fine.
I've absolutely had this happen. Potential VC called us out for not being in YC. Obviously it was not a good fit for either of us!
I hate software that uses ctrl-y instead of ctrl-shift-z. I guess it really depends on what you were exposed to first.
I was really dismayed when Colin Powell argued for invading Iraq. Yes, there are military people who get it. But just look what's happening.

I guess they have to think, what is the alternative? We can't change our role in the Middle East. We can't just stop supporting Israel for example.

I suppose yes, they tried Camp David. I guess I just want everyone to cease fire.

Maybe the overpowered people resorting to terrorism, I do hate that word, have to think there is a positive outcome from the cease fire. If they cease firing and life doesn't improve, why did they cease firing? At least firing alleviates the frustration of it all. They think they are hurting those who are hurting themselves.

But life for the Palestinians never improves no matter. It just keeps getting worse and worse and worse for them. The people with the power have to stop exerting it over others and selfishly taking more.

I had a buddy in Afghanistan and he said their way of life is 500 years old. I mean, I think okay, if they don't want to progress, that doesn't mean we should use the tools of our progress to take from them so we can progress more.

I think at some point we have to stop betraying people.
Watch, it'll be some weak encryption no better than no encryption as far as the ICs are concerned.
"Thunkabe is part of the YC W2016 Batch."

Something for you to fix there.
After reading this I wondered what accountability measures are in place for board members of the Mozilla Foundation.

Many non-profits have elections for board positions where members of the organization or its community can help determine board membership and vote out bad directors. Mozilla Foundation's by-laws (http://static.mozilla.com/foundation/documents/mf-bylaws.pdf) states "This Foundation shall have no members" (Article II).

Existing directors are the only ones who can vote in board elections. They are only accountable to themselves.

Mozilla Corporation is a wholly owned subsidiary of the Foundation, meaning all voting shares are controlled by the Foundation's board.

I find this to generally be a dangerous structure for a non-profit to have. Think twice about donating to any charity where the directors are well compensated and accountable to no one.

If the board is stubborn there is nothing anyone can do to force them out. Hopefully with pressure the community can achieve some reforms. One I would push for immediately is adopting new by-laws that allow community involvement in board elections.
I am a C++ programmer (mostly C++ anyway, I also use C and Java albeit not much which I always say I am a C++ programmer as 90% of what I do is C++).

My salary is quite high for a C++ programmer though but that is because I also have responsibility for a lot of things that would normally fall into the technical project or programme manager role. I help with pre-sales, technical support, architecture design and deployment, operational performance tuning, etc.

Also I live in West London where salaries are generally a bit higher anyway. I mostly work from home with a trip to the office in Vauxhall every two weeks during normal operations. The office is only a 30-40 minute train ride for me though and when we have a lot going on I will be in the office a couple of times a week if needed.

My previous experience and specialisation also help me command a higher salary, I have worked for a few large and high profile companies which does give me an edge as such.

Where are you moving to in the UK? What will you be doing?
Only useful for compiling software that depends on Unix toolchains.

Modern Windows has PowerShell, which is leagues ahead of bash in terms of functionality and power.
Only problem IIRC is it won't support the things we depend on extensions for :-/
It's ironic that they use PHP.
I bet I could name a few things about C++ you probably don't know. One small example, with out looking it up can tell me how to add a prefix operator (e.g. ++) to a class vs. a postfix operator? The answer is ugly. There are a lot details to C++ (and I'm only talking about C++98 at this point). It's easy to learn enough C++ to create some programs but it's hard to really learn C++.
I wonder if this or something similar is happening inside Mozilla: https://www.quora.com/CEOs-1/Are-there-any-CEOs-who-have-exp...
Teaching Machines to Read and Comprehend
No worries; as I say I am clearly reading too much into the original throwaway quote!
Take a look at Haskell's Single Threaded (ST) data type, which does exactly this:

https://wiki.haskell.org/Monad/ST
"[Out] of 268 cases where agents used microscopic hair analysis to link a defendant to a crime, the agents’ testimony was scientifically invalid in 257 or 96% of the cases."

That seems impossibly, mind-bogglingly incompetent.
The EU is a major disappointment in 2015 and 2016. Sometimes we forget: it's the largest economy in the world, home to some of the richest countries, the biggest political bloc, it's home to 500 million decently educated people, and a strong set of institutions and infrastructure.

And what is it faced with? An influx of 2-3 million people in about 2-3 years, a population growth of roughly half a percent spread out over a few years. Most of them from Syria, a country which 5 years ago was on the whole a reasonably decent place on par with countries like Moldova which is on track to join the EU, and close to Bulgaria which already has joined the EU. These refugees can have a sustainable place in Europe.

Yet Europe's being 'pushed to the brink', not for lack of resources... Europe has all the resources and the size to deal with what is, in the grand scheme of things (or in comparison with some actually major challenges in Europe's history, like say a world war) completely and utterly infinitesimal. But there's a complete failure of sensible vision and policy, politically Europe has failed on this topic in a way I wouldn't have predicted if you'd told me the numbers of the refugee crisis in 2010 and asked me if I thought whether we could deal with it in a proper manner, I'd have said yes. It looks like we're being ruled by fear and any political union that may have existed seems to rapidly disintegrate.
Yeah, until you do an upgrade:

"The upgrade process for some previous releases recommended the use of aptitude for the upgrade. This tool is not recommended for upgrades from wheezy to jessie."

See https://www.debian.org/releases/stable/amd64/release-notes/c...
This is such a self-inflicted problem.

Europe could decide to open their borders, and they would be fine. The US deals with much larger migrations every year. Or they could decide to close the borders, and they would be fine too.

Instead they do some schizophrenic dance in between. Some borders open, some closed. Broadcast to the world that people are welcome, and greet them with fences...

Decide and do. Stop talking about how it makes you feel.
> because likely nobody's storing any sensitive information on these devices.

Not wittingly ;)
You are right and I think this is a major flaw with the standard library.
5 Things We Have Forgotten About Open Source
Impro by Keith Johnstone

The Inner Game of Tennis

A Guide to Better Movement: The Science and Practice of Moving with More Skill and Less Pain

Punished by Rewards

Microeconomics: Behavior, Institutions, and Evolution by Bowles
haha yep :~). I'm baffled why it thought I was single because I use soundcloud. I know people who are married/dating who use that app. Why would that be an indicator of relationship status?
As a vet myself, you seem to have a view of the military that's straight out of a Tom Clancy novel (that everyone is extremely overly competent and highly educated and intelligent).
"Articles like this remind me how rational and practical the military is. I know so many brilliant military minds"-no, the military is full of people, a lot of whom are as at least as fucked up on many levels as people outside the military.
Yeah, I was thinking of the same thing. It's not my field professionally though, so I am not sure what the relevant conclusion would be for machine learning though (or if the comparison holds at all).
There is a spectrum of power. During WWII the locus of power finally transitioned from raw destructive power (which reached its ultimate form in the Atomic Bomb) to Metis, that quality that in its lesser form we call cunning, and which develops into cleverness, then intelligence, and finally Wisdom. (There is a discontinuity between intelligence and wisdom.) The physical form of Metis is the Turing Machine, the Universal Machine. (That other great monster child of the war.) Those that are most capable and driven master this media and are at this very moment driving forward the "cutting edge" of evolution on the world. They are not obvious, you have not heard their names. These unknown masters rule the world merely as a side-effect of their total obsession to seek Truth. This, we call "Meritocracy."
My main argument against Rust is the existence of D.

Over the years several languages have been the 'C++ killer'. For quite a long time it was D, and I know several people who converted. Then the standard library split in two, and the language got fairly unusable for a while. Now things have calmed down with D 2.0, but it's not clear it will still be around in 10-15 years time.

Similarly with Rust -- at the moment it seems to be a one company product (Mozilla). What if they get bored of it? Will my Rust code still work in 10 years time?
I agree. It seems like most of features of legal marriage can be captured through contract law.
I'd run a distributed for the fact that all was one command alone
I had this to say about c++/go recently:

Working on a c++ project: I feel stupid... and nothing works.

Working on a golang project: go is stupid... but everything works.

My issue with c++ is someone needs to write a "c++: the good parts" I may end up with rust, but right now I look at the documentation and some rust code and it's a bit overwhelming.

Go may be stupid in a lot of ways, but for the most part it's pretty obvious how to accomplish something.
People seem to think otherwise, but as the article mentions, the term Open Source was coined by the OSI and you can prove this easily: https://books.google.com/ngrams/graph?content=open+source&ca...
The "paradox" is that if player's batting averages, when high, get worse predictions and low averages are predicted to get higher, then these predictions work better than just guessing they will stay the same.

This doesn't seem like a paradox to me. Rather it seems kind of obvious. If the statistics are anything like a random walk then random walk theory (usually revisiting the starting point) would predict this.
I love reading about scandals like this one or the tennis online betting one. Data scientists are going to ruin so many schemes and frauds.
> I'm training Gmail that Ubisoft is a spammer

Spam data is shared, it would be better to create a specific filter instead.

By the way, what's preventing you from resetting the password and deleting the account in this case? Username? Secondary authentication?
The people didn't support assassination and terrorism, in fact those helped bring down the KKK, but they did support the goal of white Protestant supremacy. At its height in the 1920s, before the KKK's downfall in scandal, "claimed Klan membership exceeded four million and comprised 20% of the adult white male population in many broad geographic regions, and 40% in some areas". (cited on Wikipedia).

Klan member Edward L. Jackson was elected governor of Indiana, and "Although the full extent of the Klan's power was unknown at that time, it claimed that its members occupied more than half the seats in the Indiana General Assembly, and a large percentage of the local offices in Indiana." (Wikipedia again, but uncited)

Regarding Eich, while I don't think he himself supports violence, it's not such a huge leap to violence from a platform whose roots are in the Biblical verses:

"You shall not lie with a male as with a woman; it is an abomination" (Leviticus 18:22)

and

"If a man lies with a male as with a woman, both of them have committed an abomination; they shall be put to death; their blood is upon them" (Leviticus 20:13)
Benefits of Training Your Employees – The1netnews
Where did you get that number? That's the kind of SunOS derangement I'm talking about. On Linux with NPTL (which is over a decade old) and any recent Intel CPU (Westmere or later) a context switch between threads of the same process takes only about 1-2 microseconds.
Ask HN: Recommend a Lightweight Responsive CSS Framework for 2016?
It's been a few years since I've done significant work in stylesheets, and while I feel up to date on SASS and CSS itself, I have no idea what's going on in the framework world.

I'm now beginning a very small side project which unsurprisingly needs a web UI. I don't want to spend a ton of time testing CSS a role browsers and devices, but something like Bootstrap seems hugely bloated for this tiny project.

What mature, lightweight, well-maintained responsive stylesheet framework would you recommend? I'd prefer something with a strong community if possible, and semantic naming conventions would be a nice bonus.
This is exactly what I'm talking about. If you want to reach really high transactions rates then you cannot use one thread per transaction.
I guess that's what happens when the few have an agenda. Good thing they're rich.
It's not exactly the same, but the closest thing to a "C++: The Good Parts" is Scott Meyers' "Effective C++", imho.
Wait... It... Wasn't?
I agree with most comments here. App market maturing, user behavior maturing. It was always going to happen. Fart apps could only sustain so long:)

Here's my 2 cents - Apple could introduce an Indie category/sub-categories. Community could come up with a distinctive micro-icon that represents something as an indie app. Sort of like the tiny Zynga dog icon you see in their apps. Once again, Apple could introduce apps to be flagged as indie by its users. Refine search results by this flag.

I think Apple does their job of promoting really cool indie apps and games. But it has to be outstanding or novel enough for them to pitch it forward.
SegWit is also intended up to open up some new middle ground security options-- e.g. making it realistically possible for nodes that verify a random fraction of the data; with a security model in between light an full.

It also addresses some of problems with validation costs that are quadratic in transaction size.

It's also, by far, not the only tool in the Increased-capacity-without-harming-decentralization tool belt, for example I recently described a new approach for signature aggregation which, if applied to the current transaction load would decrease transaction sizes around 30% while making verification somewhat faster.
Which is written in C, and all the major C compilers today are written in C++.

The circle of life :)
GNU/Linux kinda does.

https://www.gnu.org/software/libc/manual/html_node/Pattern-M...

Don't know if they are commonly used by shells however.
From the article: "According to the WSJ, of the 48 venture-funded U.S. tech companies that went public since 2014, 35 now trade below their initial public offering prices."

The venture market has been running on the "greater fool" approach, assuming that stage N investors will be bailed out by stage N+1 investors. Instead, the last private equity stage is left holding the bag. Look at Twitter's numbers.[1] Twitter still isn't profitable, which is incredible considering the simplicity of the business.

From the startup perspective, the trouble with becoming profitable is that you're then evaluated as an operating company. Investors look at GAAP earnings, not growth or EBITDA ("earnings before all the bad stuff") numbers. Operating companies are usually valued around 10x earnings. (Apple is around 11 right now). On that basis, many of the "unicorns" have negative valuations. If you're stable and profitable but not hugely profitable, you can't get another round of funding.

[1] http://financials.morningstar.com/ratios/r.html?t=TWTR
I'm not the authorized user of the account, so I have never tried to log in to it. Maybe that's over serious and stuffy, but there you go.

As far as the shared training, I see that as a plus. They choose to spam as a trade off in their user registration work flow, if they don't want people like me to mark their messages as spam, they can choose a different trade off.
Web Accessibility Is Important for Your Business
I installed TenFourFox on a friend's powerpc 2 months ago. The older browsers gave issues with certain sites. It's great people put effort in maintaining a crucial piece of software on older hardware which is still capable enough.
Why is it certainly false?
Unfortunately, there are no updated versions of his books for C++14 or 17.

I owe a lot to the books though.
I'm sorry but that does not make much sense. Even if they don't "hate" their gay friends, they are pro limiting their rights and actually mandating on how they should live their life.

It is the very definition of being bigoted.

They're not perfectly reasonable, and they are not kind. They just like to think they are through a lenses that hides away some parts of the population.

Edit: spelling
That's not true in all circumstances.

There are many amazing developers who have mental problems, or other disabilities, that prevent them from working full time.

Nothing is wrong with these people. Some of them are even on government disability. They essentially have no money.

Are they or their ideas worthless?
I'm not sure if you can restrict your employees from distributing the code, though. I can see 2 situations:

1. Employee executes GPL binary on company's computer. I'd consider this binary to belong to owner of the computer - the company. So employee may not have the right to ask for the code.

2. Employee gets GPL binary from company, executes it in his computer. Is he forbidden to get access and distribute the source code? Can a company make restrictions around the GPL to its workers?
Does it have "Slaughterhouse" (see https://bugzilla.mozilla.org/show_bug.cgi?id=929539 and http://bholley.net/blog/2016/the-right-fix.html) ? This is not the only incident where Mozilla people have suggested hiding bugs until an old ESR goes end of life BTW.
Thanks god. I was beginning to worry we didn't have enough low quality boilerplate apps out there already.
Is there some kind of rule that every startup name has to be of the form NounNoun or VerbNoun?