skysight-inc/HackerNews huggingface dataset:
> There is nothing undefined about using a unique_ptr after moving unless you use the internal pointer in undefined ways.

If you dereference (i.e. use) a moved unique pointer you get undefined behavior.

When talking about "using a pointer" most people mean dereferencing it, not for example comparing against null. It may be somewhat imprecise language, but it's what security people mean when they talk about "use after free", for example.
No disagreement here. I ended with a question as to whether there's a market; I don't know that there is.

AAA apparently has a road trip planner that's only available to members. That's one business model. :)

TripAdvisor could offer something to help promote their site. As I said above, a strong developer could crank out something better than most existing alternatives with a small time commitment.

A hobby app might be the right speed. Some suggestions I got above might end up being "good enough", though.
They don't have to know for certain. They just need enough data from multiple sources to get nervous and suddenly the whole investigation is shot.
Also, the fact that their home page video features some poorly motion-tracked simulated display. That alone instills some fear in me that this is just complete vaporware.
Yeah, there's potential to use a device like this to build a service like Simple or Moven but without the need to force users to open a new account with you just to get the necessary data. They even showed the instant feedback alerts in the demo video.
Building SQL Auto Completion
I want to try ccache at some point (with pkgsrc it's trivial to add), but I'm not convinced it will help.

Given the distributed nature the first implementation would keep the ccache objects on NFS, and that's going to cause additional latency for every cc invocation to the point where even a cache hit will likely be slower.

The next step would be to synchronise all of the ccache objects back to each build zone and then loopback-mount the directory into each chroot. This may provide a small increase in performance, but at the cost of additional complexity. I also wonder whether it would be enough of a performance win compared to the extra time it will take to rsync the objects to each build zone at the start of the build.

I will likely do this at some point anyway, as I'd like to have some hard numbers to back up my theory, and if it turns out to be a win, even better ;)
Yes "Geez"

Look I get it, you don't think what Twitter is doing adds any value and thats great but in reality you are just being smug and not really adding any value to the conversation. You are just trying to spread your smug dim view of the world and you aren't really helping anything by doing so.

Instead of always looking for the negative or the cynical view in things like this like "Well they are just doing this for the PR", why not look at it and say "This is awesome that a company is fighting in court to release this type of information to the public." It really will change your view of the world if you start looking at positive and will improve your life dramatically.

Twitter is doing something here that they don't really have to do because they could just go along with the other big companies, follow the guidelines the government laid out and no one would say anything. They have gone further to demand to release exact numbers and more importantly are fighting to stop the government's practice of being able to gag companies in these situations. It may be a small step but it is a first step and they should be commended for it no matter the motive. Good for them and I thank them for picking this fight for all of us.
I'd supplant savings account with stock market. The stock market is a little frothy as of late and a pull-back has been in the works for a while.
But this is $155. It needs to be an automobile :)
Another way is bi-static radars. Stealth is generally designed to prevent returns from going back to the sender, with the downside that they get scattered in all other directions. Just setup a (silent and difficult to locate) receiving station(s) and give it a communication channel to the sender (to synchronized), then it will receive the emissions from the sender that bounce off stuff.
I have worked remotely for years. I have no close friends anymore (aside from my wife) and I would not have any casual friends if I didn't go to church every now and then.

But I'm a genuine introvert and don't mind.
You are correct in that the NFC is just a protocol but for it to be used without a signature you need a secure element. In their "mock-up" they show a smart car interface on the front and in the FAQ they claim EMV. It is very puzzling.
Folks,

How are you securing your cloud VMs? Are you okay with AWS firewall or looking for better alternatives?

Thanks
Ritesh
Slogging through tedium and frustration has been a cornerstone of programming since the olden times
I'd pledge in a second if there was any mention of fixing the rules that made it boring to watch in the first place. Everything became a wedge or a spinning can o' doom.
A very welcome addition.
Thanks for the tip, I actually just figured that out myself a few minutes ago. Should be good enough until a proper SDK arrives.

With access to a Firebase SDK the only major additions the API needs to become a viable replacement for existing read-only client apps would be support for all the other lists apart from top stories (new, show, show new, ask, jobs, best, active) and more than 100 items for each. For apps that need write access I'd suggest keeping the current website on a separate subdomain until that is implemented into the API.
"They have no taste" applied in spades to most every consumer electronics company, with one exception that I noticed (yes, Apple).

I had a 2007 laptop festooned with about ten of those eye-piercing blue spots, but it's hardly fair to blame the inventor for the poor use of his work.

Alfred Nobel had it worse - he did make an explosive ...
You implement the Drop trait yourself, and it Just Works.
> I imagine in another few hundred years the specialists of the time will call today's techniques damaging.

They have actually stopped or delayed certain archaeological excavations because of exactly this issue. The Terracotta Warriors are the first example that comes to mind. The pieces are all elaborately painted, but current preservation techniques have proved ineffective in protecting the paint after they are first unearthed. They are intentionally leaving some areas unexcavated in the hopes that future preservation techniques will be more advanced and hopefully be more successful.
Before anyone gets too far in - that's just a preview, there are a about 60 pages cut out of the middle.
I'm simply pointing out that stealth isn't magic. In any battle it's good to spend time thinking about how you would kick your own ass. That makes you better.
To pick a single example, in the UK Boots points cards have a pin in and need to be inserted into a reader.
I miss the antique glowing greens
Would you even bother trying to get a refund on a $12 lamp after "only" ten years of life?

Manufacturers should definitely change their stated lifetimes if they turn out to be incorrect, but even if their stated figures turned out to be 50% too high I wouldn't be concerned. You're still getting many years of service per lamp.
Print Your Own Touchscreen
Brain makes its own version of Valium, scientists discover (2013)
I use http://evernote.com/clearly/
I could, but considering the length of my road trip, I'd probably need nearly a dozen, if they're done by state (more if some cover only a portion of a state): My trip will cover:
Colorado->Kansas->Missouri->Arkansas->Alabama->Georgia->Florida->Mississippi->Louisiana->Texas->New Mexico->Colorado

I don't want a library of guide books to be taking up space in the trunk.
I hate cash and can't wait until it's gone forever. I hate wasting time getting it out of the bank, I hate having to make sure I have enough at all times, I hate the crappy little coins I get back in change, I hate not being able to track where my money went easily.
Lecture 5, How to Start a Startup: Peter Thiel
My first reaction was "that's not enough!", but on further consideration...

I'm going to sign up and give it a try. Thanks!
A Closer Look at the Great Firewall of China
That was a well written article up until the links to sites behind Harvard University's paywall accessing service.
King of click: the story of the greatest keyboard ever made
PHP framework used in coursework at a UK University
Ideally those in charge of HN would have simply employed someone - they had offers starting at free I gather from previous threads - to make HN mobile friendly. Failing that apps are just patching the original site. I too decry this form of progress (replacing web access with apps that only fix the borked site) but it's not hard to see why people should want that.
I might be an edge case, but I use Dojo a lot because it's much better structured for larger JS applications than jQuery which quickly becomes a mess if you start doing a lot in JS.

That said, it does everything jQuery does, and more, and in a very nice way IMHO. If you're used to the jQuery syntax sugar, you probably don't like it, but I never liked sugar.

So yeah, a jQuery dependency is a killer for me.
Well in defence of Chip and PIN (and I can't believe I'm saying this), the exploits listed above take advantage of "No Signature" provided. This is where the card just gives the basic CC information -- same as what is on the front. The bank can see this and banks only allow small transactions to go through with no signature.

In the demo they buy coffee, etc. with it. You couldn't buy something more expensive with it because the bank would deny the charge.

NFC is similar. You can use it for small transactions, but not larger ones.
Seriously, what is this trash doing on HN?

From the guidelines:

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

Please, you have Reddit and Tumblr for this crap, please just stay there.
Anecdotal evidence as part of a Burner-esque 'tribe' of party people: 120-150 is about right.

Same holds true for client relationships in IT.

After that they are just faces in the crowd, not people.
Men not marrying? How deep does the problem go?
Like CocaKoala, I have no idea what Gaming on Linux is, and the article wasn't at all helpful in explaining it. It must have been those "high editorial standards" getting in the way. Let's take this from the top:

* It's hard to know where to start with the primary image here. First, it's a terrible, low-res social network profile pic. Second, it's a crappy photoshop. Third, it includes a profanity that ranges from "very rude" in most of the English-speaking world to "extremely offensive" in other parts. Very bad on multiple levels.

* The article contains a large number of simple grammar and usage mistakes, making it all the more troubling that the author is apparently also the editor of this publication. Many nouns are capitalized for no apparent reason. The author appears to believe - incorrectly - that ellipsis is an acceptable substitute for the common period.

Linux distro names are italicized for some reason. Phrases are bold-faced for emphasis, as though on a teenager's LiveJournal. The list of mystifying errors is long.

* As if the basic mechanical problems in the piece weren't enough, the author's actual writing focuses heavily on childish invective and name-calling, to the near-exclusion of basic facts and narrative. He veers wildly among topics, stopping here to heap abuse on people who have nothing to do with the article he's writing, and pausing there to - unwisely - foreground his own editorial prowess.

In short - this is an amateurish, mean-spirited and frankly quite depressing excuse for a piece of online journalism, written with a breathtaking lack of skill by an author for whom the term "hack" is far too good.
Yet more social justice clickbait flooding HN.

From the guidelines:

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

Go back to Tumblr.
The article doesn't say that, what it says is"Given these results, the researchers conclude that there is little reason to prescribe new-generation antidepressant medications to any but the most severely depressed patients unless alternative treatments have been ineffective. ".

The other thing to keep in mind is that this was a meta-analysis using data pooled across many different trials. It certainly isn't as rigorous as a RCT.[1]

[1]http://www.ccjm.org/content/75/6/431.full
From the guidelines:

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

Go back to Tumblr.
Announcing Hyperparameter – Data Science Training
Online ads roll the dice
What do you mean by "B2B2C Paid Support"?
Or they just found a way to implement ApplePay on their card.
Because it's not built for complexity? Maybe I'm a jQuery newb, but trying to built a tight app with it seems like a painful process. Sure, it's easy to build some quick tricks with it, but I'd hate to maintain a large project with a lot of it embedded.
But that was inspired by Stalin's photo manipulations, so it's not a question of "how close", we effectively already live in that world.
>Won't happen, due to the "optics" of dooming regional populations (never mind compelling the unwilling to treat the infected).

I agree it won’t happen until too late. I think around January we will see total panic set in.

>Hopefully this outbreak will, like most Ebola instances, burn itself out well before it goes outright pandemic.

Past outbreaks have not burned themselves out - they were controlled by standard quarantine and hospitalization. Even this outbreak was being controlled until August when it overwhelmed the limited infection control measures in place. We need to stop pissing around and get serious - when you have an uncontrolled pandemic that is doubling in size every 20 days then you need to act big and act right now with everything you have at your disposal.
It shouldn't be very hard to create a basic ownership system. Here is a version I just wrote, which works by defining a new version of "defun" that uses dynamic variables to keep track of ownership:

(defvar *transferring* '() "Objects which are going to be transferred from one owner to another.")
(defvar *resources* '() "The resources which need to be freed when the current procedure is done.")

(defmacro new-defun (name args &body body)
"Define a procedure which will have ownership over the resources it creates using any of the 'new' procedures.
`(defun ,name ,args
(let ((*resources* *transferring*))
(setf *transferring* '())
(unwind-protect (progn ,@body)
(mapcar #'free *resources*)
(mapcar #'free *transferred*))))) ; These are resources which were supposed to be transferred by weren't due to an error.

(defun transfer (resource)
"Transfer ownership of a resource from the current one to the next procedure called which can accept ownership."
(push resource *transferring*)
(setf *resources* (remove resource *resources*))
resource)

(defun new-open (&rest args)
"Open a file whose owner is the first procedure up the stack which can accept ownership."
(let ((file (apply #'open args)))
(push file *resources*)
file))

All that is needed now is a method "free" which will free any given resource. With this, any resource allocated with a "new" procedure (the only one I wrote was "new-open") will by put under ownership of the last procedure on the stack which was defined with "new-defun". Transfer between owners can take place by using "transfer". The best part is that more facilities are easy to build on top of this. The "drop" procedure would be trivial to add. The only problem I can see here is that there may be some issues if "free" throws an error, since "unwind-protect" doesn't protect the cleanup-forms. This should be fixable by just wrapping every call to "free" with "ignore-errors".
9 Alternative Ways to Carry Your iPhone 6 Plus Other Than Your Pocket
slight nitpick: i agree with you (i.e i dont think people should be complaining about the markup) but this issue is not that obvious when the "users" are the "programmers" complaining....
Indeed this sort of historical preservation seems to me rather like my own inability to throw things out. The manuscript got burnt, we know what it said, why go to all this trouble to re-reveal the wording?

I can see useful practice has been had, beyond that it seems like a waste of time and resources?
I understand what you're talking about re: &#x3c; and '<' -- the json -looks- page (terminal in my case) displayable, barring the &#xhhhh; encoding. cURL has facilities for decoding %20 (for example), but not what we're getting back w/ this json.

You've given me an idea though, so back to vi for me.

Thx.
haha pwnj
Sadly I can only do something about the DigitalOcean part, but like I said above, if anyone wants to make the case I'm happy to apply the credit for those enrolled in the full time study of code/serverz/whatever. :)
I've built a few such configurations myself, but never again. The worst behavior is that sometimes, the NFS caches result in compiling old versions of some files some of the time. When you're rapidly tweaking things for debugging and sometimes some changes only make it into some compilation units, it can drive you insane.

And it doesn't go much faster than just compiling locally with Clang on an 8 core CPUs with SSDs.
The page has an anarchist-style logo in the upper left. I suspect that this, in addition to the normal stereotyping of "the authorities" as being clueless with regard to technology, is what led to the jibe.
because they're doing something other companies have already tried to do[1], and failed? How are they any more heroic?

[1] http://www.zdnet.com/microsoft-google-v-nsa-lawsuit-to-proce...
This seems... of marginal topicality.
We're making an exception to our existing policy for those who wish to participate in this program.
Making the HTTPd run 20% faster with qrintf-gcc; a sprintf-optimizing compiler
My first time setting up a server with SSL was last week after buying a PositiveSSL certificate from Namecheap.

This issue bit me hard. I was extremely frustrated for a few hours when my browser said the site was fine but OpenSSL spat out a generic failure message when trying to get a page in ruby.

Discovering that the browser caches certificates made me realize that it wasn't an OpenSSL or ruby environment issue and lead me down the path to discovering that my server setup was wrong; I needed to explicitly provide intermediate certificates. Prior to that, I figured it happened automatically (as it seemed to with my browser).

I wish I'd seen this writeup before. It would have saved me a bunch of time. In retrospect, Commodo's instructions lacked important information. Your page, on the other hand, actually explains what I needed to do.

EDIT: I should mention that support was quick at getting back to me for an unrelated question about their website. Their lacking instructions notwithstanding, I'd still wholeheartedly recommend PositiveSSL.
I don't follow. Are you saying that cynical views don't belong to the HN because they don't "add any value to conversation"? Did I get that right?

> Instead of always looking for the negative or the cynical
view in things like this like "Well they are just doing
this for the PR", why not look at it and say "This is
awesome that a company is fighting in court to release
this type of information to the public." It really will
change your view of the world if you start looking at
positive and will improve your life dramatically.

Patronizing, misguided, but very deep. Must be from the early Dr. Phil, right?
So basically your argument is:

> Rolling back freedom of speech is a non-starter.

* Governments have a free speech right to propaganda. (The techniques I suggested 'rolling back' are only used for the purposes of propaganda).

> Media can and do provide quality information.

* Despite barriers and through mires of conflicting accounts, the media is able to effectively report information to a public that doesn't pay it and is able to ignore the influence of the institutions that do.

> By and large the public know about the Patriot act and support it...

* The public has wildly different opinions about the effectiveness of Obamacare than it does the Affordable Healthcare Act. Despite countless examples like this it is because of an efficient and reliable news system that the American public has a good sense of politics, the issues that the country faces, the trade-offs inherent to national legislature and how domestic bills fit into larger policy goals and geopolitics. There is no politicization of the media, or where there is it is recognized, sourced and understood as a defining piece of narrative context.

> The reports are there yet the public has yet to be swayed.

* But despite this really good reporting there's a real debate about whether global and ubiquitous surveillance, espionage and sabotage is legitimized by counter-terror purposes even when the programs in question have nothing to do with terrorism.

> We need to convince voters that the Patriot Act is bad not pretend they have been victims of mind control.

Information control. Don't burn too many calories on the straw man.
Yes, of course. A placebo headache medicine of course does not have the direct effect comparable to aspirin, acetaminophen or ibuprofen. It's direct effect is not physical, because it doesn't have one.

"No physical effect" means the same thing as "no effect", unless we are willing to discuss metaphysical effects.

The indirect effects are somehow the result of the user's expectation that there is a direct effect.

That is to say, "placebo effect" is not "the effect of the placebo object", obviously.

It's the emergent effect of the whole situation of someone being duped with a placebo.

Being duped with a placebo has direct, physical effects, while the placebo object has no effect.
> And I thought I was doing well with 4 casual friends and one close friend.

On the contrary, I have many casual friends but 0 close friends. I'd say I'm pretty extroverted and like having a wide social circle but the lack of close friends does bother me sometimes.