skysight-inc/HackerNews huggingface dataset:
> or the most succinct (replace && by & if writing):

That is strictly not necessary. `auto&&` is what is now being called a universal reference: `item` resolves to `const int&` if `myVec` is const, and to `int&` if `myVec` is mutable. `auto&&` does the right thing in the majority of cases. In fact, the following extension [1] has been proposed for C++17 (and already implemented in recent clang builds):

for( item : myVec ) { /* do stuff */ }

which is meant to be a short-hand for

for( auto&& item : myVec ) { /* do stuff */ }

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n399...
How to Export Your Facebook Photos
Yeah, totally! I didn’t pay any attention in German class in elementary school at all, so I’m totally unable to recite any rules (and I’m not even sure whether we were ever taught that explicitly), but that ordering totally exists and the incorrect sentence you just made up is actually completely incorrect. It’s not just a stylistic blunder (but people would still understand what you are trying to say).

I also remember being explicitly taught about some similar (but different) ordering in English, though I have mostly forgotten about it. I think time is always supposed to come last or something?

So “we are going to go to the airport with the bus tomorrow” would be correct (placing tomorrow at the beginning of the sentence would be, too, and would be the variant I would personally prefer), while “we are going to go to the airport tomorrow with the bus”, while still correct, would not be something you’d want to write.

Or maybe I’m misremembering, because that second sentence seems correct to me, just placing more of an emphasis on the means of transportation than the first one (i.e. you would use that one when someone already knows about your plans, but asked you how you will get to the airport). I don’t know. This is all a haze. I remember something about time and putting it last.
Wow, lots of absolute statements there.

"Real" soldiers do sometimes use weapon-mounted optics for observation and target ID. They don't always end up shooting the people they're looking at.

Your statement about cops simply reveals your ignorance about law enforcement.
the troll is a freudian slip? or a hidden request for help?
I agree but it seems like newer languages adopted the 1.0, 2.0 versioning scheme so it might throw some people off.
>> There are countless men who sleep with women, pretending to be someone they are not...

I'm not a lawyer but according to this [1] deception of identity demonstrates lack of consent.

[1] http://www.cps.gov.uk/legal/p_to_r/rape_and_sexual_offences/...
>"To the point - you could ensure that compiler can de-virtualize your usage of structure (or class if you will) by adding "nonvirtual" to every method it implements or derives."

Think it in this way. Many respectable people has been making a case to avoid inheritance[1][2]. What you are proposing would actually be an incentive to them. I don't know about you but the amount of functions that I actually override in my code is not even close to the 20%.

Why should we set a default for that 20%?

[1] http://channel9.msdn.com/Events/GoingNative/2013/Inheritance...
[2] http://www.gotw.ca/publications/mill07.htm
I don't think people wanted him to fight to the bitter end and lose! PersonalAudio most likely isn't going to get one cent of what they set out to get (including what you and everyone else contributed). So in my mind, this is a pretty good result.
Not only that, but it covers some very useful DS/A like Binary Index Trees and Computational Geometry to which many students are never exposed.
The weird thing is, why not just call it something new? I've always wondered if they called Perl 6 "Smeebly" or something would it get a better reception? C+++ ? My personal taste is that if you break backwards compatibility that is when you have a 'new' language and you just just name it as such.
> 3) Movies: you should watch them with subtitles in the spoken language.

I can't believe I never thought to do this. Great idea, thanks!
> The answer: “It’s the web; use existing web technologies.” was—and still is—a good answer.

That's a terrible answer. Oh, I just need to cobble together a bunch of shitty libraries that pale in comparison to what's available on native platforms just to build a simple app that will equally pale in comparison to apps on actual native platforms? Yeah, I think I'll pass.

Web technology sucks and it's holding us all back. I'd rather see a new web that is built as a platform for actual applications instead of "documents".
Up until recently, I've enjoyed the builder pattern. It becomes a pain in the ass though when your objects are deeply nested.

For example, with protocol buffers you end up doing things like.

AlbumCollection collection = user.getPreferences().getFavorites().getAlbums().toBuilder().addAlbum(album).build();

Favorites favorites = user.getPrefernces().getFavorties().toBuilder().setAlbumCollection(collection).build();

Preferences preferences = user.getPreferences().toBuilder().setFavorites(favorites).build();

and then you have to work your way up the chain of builders. Such a pain in the ass for something that could be much simpler with getters and setters.
Generally speaking, using a database as a queue is a particularly bad anti-pattern.
Ah, I see. It makes more sense if you forget about cubicles and just call the final outcomes A or B. Call the outcomes of the two coin flips H1/T1 and H2/T2. We have: H1->A, T1,H1->A, T1,T2->B. P(H1|A) is therefore 67% if the coin is fair, but in any event P(H1|A)>P(H1).

So the doomsday argument is actually correct. :-) But it's really nothing more than the (IMO vacuous) observation that (say) half of the people who ever live will have a birth order number greater than the median, and so the odds are 50-50 that fewer people will be born after you than before you. More generally, the odds that N times as many people will be born after you as before you is equal to 1/2N.
I was curious myself. I dug up the original proposal to create sjavac, which is here: http://openjdk.java.net/jeps/139
Clever (YC S12) is hiring full-stack engineers to hack education
Steve Jobs described education as one of the final frontiers still untouched by modern technology. Clever (YC S12 - https://clever.com) is building the data platform needed for great software to make its way into the classroom. Just like Stripe has made it simple for developers to build payment processing into their apps, Clever has made it easy for developers to build applications for schools using student data.

We're a small, highly technical team with deep experience in education. In under two years, 1 in 6 schools in America (over 23,000 schools) has begun using our APIs, meaning that Clever moves data for eight million students every day, and we actually grew by over 1,000 schools last week alone.

Our newest project is essentially Facebook Connect for education: one identity to tie together all of a student’s learning applications into a cohesive experience. We’re making that happen with our Instant Login service, which allows students to log in once and immediately get access to all their apps: https://www.edsurge.com/n/2014-05-14-no-more-passwords-cleve...

And while we have all the startup perks (a beautiful loft office in SoMa, free lunch, unlimited Amazon credits for learning..) – hands down the best part of the job are the calls and emails from schools describing how much Clever helps them.

As an education company, we’re all about learning personally too – it’s practically a prerequisite to work here. In the past few weeks we’ve done tech talks on things like exoplanets, set theory, and kitesurfing. (We also love a good round of bughouse chess – just ask Magnus Carlsen http://screencast.com/t/xD7umWfo)

We’re looking for full-stack engineers who can hack in Node, Go, and Python (or are willing to learn), but more importantly, we’re looking for people who share our passion for improving education. If you’re interested, we’d love to hear from you.

https://clever.com/about/jobs

At Clever, we want to work with the best people - applicants of all backgrounds and beliefs are welcome to come improve education with us. We're committed to making our office a safe and comfortable environment for all employees.
I think that would be a step in the right direction!
That's not how I remember it, somewhere you have to (occasionally because it's real core) toggle in the bootstrap using the front panel switches .....
> Nobody posts ice bucket challenge videos on Nextdoor, or kid pics, or game invites. :)

I'm sure this is an exception, but I turned off email notifications when people started discussing how to insulate their apartments to protect themselves from wifi radiation.
More etherium spam
I've got a Spider server on Creeperhost, which I use for myself. At the moment I'm running the Direwolf20 pack with an insane amount of automation going on, all chunkloaded in the few chunks around my base. I've gotten to the point where I'm starting to have problems with CPU load, but if I spread my stuff out and turned off things I don't need anymore it'd be fine. (Eg: I don't think I really need more than the 120 million cobblestone I've collected, or the million logs, or 125k+ carrots and potatoes.)

The server is cheap enough, and if I wasn't so nuts it could handle a small number of players easily.
Have you checked out the Seven Languages in Seven Weeks book? It might help drive the point home.
It will probably be refunded minus any cost of merchandise and legal fees accrued thus far, or hopefully rolled into a defense fund for future lawsuits.

What if he had fought and won, but couldn't recover his expenses? I think he was estimating them to be in the range of $1.5M. Sure it would have helped everyone else, but that's a lot of money (and time) to risk when the other side is willing to walk away.
YouTube's upcoming music subscription product
The main problem with using C++ as C is that everyone has different ideas about which ideas to cherry pick. So without a lot of discipline and a good coding standard, lots of (maybe subjectively) bad ideas will make it into the code as well. And once they do, you can't do anything about them any more.
I guess this should be clarified more in the README - this uses zmq (and potentially other brokers) as the queue, and uses the database for tracking results, saving recurring tasks, etc
> Look upthread and you'll see yourself saying that we're talking about examples "where those things [directional indicators like the preposition to] aren't required in English".

And you'll see in the same post that I quoted that that I criticized not the concept that the indicators were not required, but the particular example given as being a poor example as it was not an example of a construction that was idiomatic English in current use by native speakers.

"I don't think its an example of a case where those things aren't required in English" in reference to a particular construction is not a claim that there are not other constructions which would be a valid example.
I requested array accesses on the Groovy mailing list 7 years ago, see http://groovy.329449.n5.nabble.com/Indexed-properties-td3396...

I never did fill out a GEP but you could try your luck by subbing one, see http://docs.codehaus.org/display/GroovyJSR/Groovy+Enhancemen...
Comments are reliably short, easily digestible and may contain a tasty disgreement.

The article, by contrast may require some effort to parse.
Off the top of my head:

Reaction Housing http://www.reactionhousing.com/

Watsi https://watsi.org/

Soylent http://www.soylent.me/
I think it's still a "problem." Which one is the "correct probability" that you're going to die? If, instead of dying, a red light in the room might turn on after a minute, how would you place a bet about whether the red light would turn on?
Bjarne Stroustrup, A Tour of C++.
For good coffee - go to Portland, Oregon.

I've had some of the best coffee I've ever had in North America there.
Carolla should donate that $500k to the EFF or similar anti-patent troll organization. He raised that money to fight the case. If he settled, he should pass the $$$ forward to the next defendant that wants to pick up the torch.
I would have seriously learn Data structures if this tutorial would have existed when I was in college. It expresses data structures and algorithms in simple yet powerful way.
Good to know, so more like a crontab entry for the database.

Where's the actual queue though? zmq isn't a message queue, it's more akin to a protocol. e.g. if I have N workers and M jobs, and M>N, where are all the >N indexed jobs kept while the others are being processed?

Like it appears you're using PUSH/PULL pattern, which means the jobs queue up in the publisher's memory (on a per PULL-peer basis..). So if the publisher crashes, those jobs are lost. If the number of jobs queued exceeds the high-water mark, those additional pushes are either going to discard messages or block. If it blocks, it looks like your code is going to have lots of other issues... If the worker crashes, I believe that queue is also going to be lost.
Yeah, it would be cool to see. As I mentioned in the readme, it's not necessarily indicative of anything -- if someone started a new iOS project, 95% of their code ownership would be of template/project setup code, so it'd be hard for anyone else to see how much they've actually contributed. That's why I added filters, though.
Doblet (YC S14) Plans to Be Everywhere Your Phone Charger Isn't
Agreed but even there were a monopoly for the interpreter/compiler you would see people marrying with a specific version and having the implementer to maintain two different branches of the compiler for security reasons.
As a game developer I see the GPL as something I don't want to deal with.

Game engines licensed as MIT? Yes please.
What's the endgame for propping up population numbers with immigration? Surely the whole system falls apart once the net fertility rate falls below 2. What then?

There's good reasons to be immigration-friendly, but dealing with the endgame of the inevitably shrinking population like the Japanese are doing seems like a better long-term strategy than the temporary band-aid solution of solving the problem in the short-term with increased immigration.
C11 has the uchar.h header (say, http://www.cplusplus.com/reference/cuchar/ ), but it wasn't in Visual Studio last I checked.

Most programmers will tell you to use UTF-8 for in-memory strings. But it's not easy to figure out if a particular char* is already encoded as UTF-8, and it's common for people to forget that Unicode characters can take up to 6 bytes in UTF-8. I know I'm in the minority, but I prefer to use UTF-16 or UTF-32, because nobody makes the kind of mistakes with UTF-16/UTF-32 that they make with UTF-8. Plus, you can't accidentally pass a UTF-16-encoded string to a non-Unicode-aware function.
Yes. I work for Informatica on a data integration product -- taking streams of similar but somewhat different data and trying to determine the actual state of things. It's often used for merging customer lists, for example.

We have found that determining the best value of truth from incomplete and sometimes conflicting data sources is one of these messy problems with no easy answers. It takes a lot of fiddling with match rules and considerable domain knowledge to get good results. Accordingly, our product is designed to be very flexible and configurable.

I suspect improvements will come from making it easier for analysts to see a) the effects of proposed match rule changes and b) what decisions contributed to producing each output record under the current rules.
For all America, or just the USA?
> There is no relation between decentralisation and advertisment. Any node can serve you ads.

There is a difference between "track you and show you ads" and just "show you ads." A print newspaper can show you ads.

> Example: It is easier to hold Google accountable for data in their servers than users of BitTorrent for their data.

Not really. If Google or Facebook has your data but your "friends" have access to it, your friends also have your data. They can copy it and keep it indefinitely. Removing the middle man doesn't reduce your own control, it only removes the middle man's control.
I wasn't using "agency approvals" as a positive point for security :P. Real security properties just aren't legible to that kind of environment.

Most likely they'll start off with some "tamperproof" microcontroller platform to assume away user control, further rely on keeping the protocol documentation secret and other obfuscation, and then write naive code that trusts every node to behave because they can't conceive of how brittle that kind of system is.
As much as I like the Stanfurd prison experiment, we really should stop treating it like real science. It's not peer reviewed, has a poor set up, and never been reproduced.

#3 on here.

http://www.cracked.com/article_21193_5-ridiculous-lies-you-p...
America is surrounded by a near identical twin in the north, huge oceans on it's sides, and a relatively undeveloped south. The country itself is as large as europe with as many climates to experience. It's nearly inevitable.

Europeans on the other hand, can drive to a different developed nation in 5 hours. Seeing your relative across the country isn't that big of a deal. Being aware of cultural differences is inevitable.
Sorry, I don't understand your Bootstrap example. If I'm not technical to "install" BS (script/CSS tags and uploading files to a host) then I'm probably not technical enough to use Bootstrap's CSS/JS components by writing HTML or little JS snippets. What real benefit is the one-click install if that's (probably) the easiest part of using a JS/CSS library?

Edit: It's not your Bootstrap example, it was the original question. Sorry to confuse that.
Thanks a lot. :-)
I've fixed some typos. Also made some changes in highlighting the word. Is jarring still an issue ? I guess, I'm not fast enough to notice that. Added other features to TODO.
Thanks for the feedback!

1. I will change this.

2. The formatting is misleading here. The final book will have very different formatting. There are a lot of "fun" images in the book, but it is confusing that they still have a label like "figure 1.2". They serve no purpose except to provide a mental break.

3. This figure got removed in a rewrite.

4 & 5. Thanks!
اتفاقيات الشراكة الاقتصادية الأورو إفريقية .. أو الاستعمار الجديد
On the other hand, there are now proofs of concept for both ultrasonic networking, and spreading malware via USB firmware independently of the OS.
Here's a simpler way to see what is going on. Number all the humans that will ever live in order of their birth from 1 to N. The odds of your birth order number (call it B) being in the range of 1..M<N is M/N. The larger N is, the less likely it is that your B is as small as it is. So the odds of N being large (relative to B) are small.

Another way to look at it: half of the humans who ever live will have fewer people born after them than before them. Your a priori odds of being such a person are exactly 1/2.
I honestly don't know - maybe if you posted this again in 12 hours, then 24, then 72 I might have thought of something

:-)

More seriously the names-reminder is a great idea
The Internet is Still a Consumption Platform
Pre-standard C++ had that scheme as well! (well, CFront releases, http://www.softwarepreservation.org/projects/c_plus_plus#cfr... ).
Stroustrup doesn't think so.

I don't have a link - it was in some recent conference. He stated that every time he added a new feature everyone would be up in arms and demand a really verbose implementation, which he added reluctantly. Now that everyone is used to the features they complain about how ridiculously verbose it all is.

There isn't any reason for the craziness of

template<typename T>
void foo(T a)

vs

void foo(auto a)

Certainly things can become too implicit, but C++'s heritage of verboseness is due to the conservatism of the standards committee, not because anything less would be confusing.
If you just want to learn about the features introduced in C++11/14, I wrote compiler-specific books about those: http://cpprocks.com
I use http://angryhosting.com and it's great. $12/year for the most basic plan. Don't expect much in the way of support, though
Is it possible you're thinking of the PDP-8? The PDP-11 didn't have switches; it had a keypad (shown around halfway down the page), and could also have a boot ROM (present on this machine).
Quick question about the music for the game ; I see you have already answered a few questions along those lines.

When the bunny dies , there is a sound for its micro-explosion. I remember "Dangerous Dave" died with the same sound :) Are a lot of these interchangeably used ? Are these just system sounds ? How do these work ?
Apologies if this seems like an inappropriate fork, but the author uses a convention in the introductory paragraph that I find jarring, at best, and I wonder if anyone knows what it's called? It's this (emphasis added):

"...You're not wrong (though not entirely right, because descriptivist linguistics): An intuitive code governs..."

Is there a name for this? It feels, to me, like an "abbrev" or something, where the speaker wants to either convey cleverness or assume common understanding with the audience. Maybe it could be called a "redditism" - that's where I think I normally see the form. Does it have a name? Just curious...
Yep, just had to re-set-up all my direct deposit stuff. To summarize, the owner of my debt was allowed to sell it to a third party, with non-existent or at least extremely poor notification, in a way that required extra effort on my part to avoid accidental default! Not a great system in my opinion, but perhaps being at the mercy of those you have borrowed from is a disincentive to borrowing that is quite properly built into the system.
One in three smartphone owners uninterested in apps
Nice, thanks for sharing! This is something that has been on my todo list for a while, but for a different reason. My wife thought it would be a neat idea to create a facebook account for my infant son and then tag him in photos and videos so that he can go back and look at it when he's older. I'm not psychic, but something tells me that either facebook won't be around forever, that his account may get flagged someday for TOS violation (under 13, account not created by him), or that some of that data might eventually get lost. It'd be nice to automate this, but this will work great for now.
I try not to complain, but since you are here... I buy coffee from a local roaster. It isn't in your list when I try to go through the sign up process. I can't proceed with the sign up process unless I pick a company. Meanwhile, if I want to recommend my local roaster to you, I get presented with a WuFoo form. That's cool, but I have to give you my name and email (which I don't care to do) and there is no place for me to give you contact info for the local roaster I'm trying to submit. I then go back to the original signup form and think that I'll try to find some coffee I drink occasionally, just so I can get through the signup process. As I'm scanning the list I see some that I would call extremely common-place - could be bought anywhere - and start to wonder if I'm just not the target audience (even though our household drinks a lot of coffee and we are always interested in variety). Thus, didn't sign up.
This is a recent usage, or even meme -- "because science," etc. She's no doubt using "because" ironically. See:

http://www.theatlantic.com/technology/archive/2013/11/englis...
Both are like black holes of real estate crazy orbiting each other...
I had an LSI-11. It was a real sweet machine. DEC completely missed the micro revolution - they could have owned it. So sad.