skysight-inc/HackerNews huggingface dataset:
You have to consider both sides of the equation, though. You have to consider that the cop is a human being in the heat of the moment, who wants to survive every encounter they have in the course of their career (they're not just playing the odds in this one, they're playing them all), and whom society would also like to survive.

If you overspecify caution and requirements for the cop, you'll end up in a situation we are quite arguably already starting to see in some places, where it becomes impossible to be an effective police force at all, and crime starts going up very quickly [1]. And now even more people are dead, as well as communities, and hope for the future, and all the other things like that. And this almost instantly turns out to be even worse than anything the cops ever did; we go from once-every-few-years news stories about police in a given city shooting a guy in dubious circumstances (that often, a couple of weeks later, turn out to be fairly justified, but that news story doesn't get around anything like the first one did) to "yup, another day of 10 more murders than we had per day last year". Hardly strikes me as a win.

[1]: http://www.csmonitor.com/USA/Justice/2016/0402/Chicago-viole... - and I should point out to many of you that while you politically filter that story, please note everyone involved is a Democrat.
I agree. I am not convinced not to use a child seat for children I care about (also it is the law).

However, the parent commenter used that single study (that seems to have an ax to grind with Levitt) as proof against Levitt's claim.

And it does not appear so cut-and-dry to me.
And for every Sheryl Sandberg there's 10 men. Being the exception != being the norm.
You can't really build anything next to that building. It's surrounded on three sides by major thoroughfares and a brand new terminal on the fourth.
> Cops told us that there are more fatal accidents closer to home/in short runs

Evidently, "cops" aren't statisticians: base rates matter.
This is hilarious, I love it. I would also love to see this made into a public service with some clever ML algorithms to keep the conversation going as long as possible.
As an aside, The Girl Scouts is a really fantastic organisation. In particular compared to The Boy Scouts in the US (which is much more religiously affiliated and discriminates against gay people; The Girl Scouts by contrast are trans-inclusive).
> I was thrown off by the expression "quantum observation" because I thought you were talking about the observer effect

I admit that the observer effect was the first thing that sprang to mind when I was thinking of how the uncertainty principle was stated. That's probably why I worded it so poorly.

> His remarks read more like an autopsy than someone being in the situation he was in.

Seeing as how all this took place soon after the war, I imagine he may have considered it something of a post-mortem.
> surely and elderly man's passing is less tragic than that of a heroic soldier defending his brothers

I can't tell if this is sarcasm or not.
Just one (more) encouraging note: The maintenance challenge that LuaJIT faces is actually kind of trivial compared with other projects like the extremely successful evolution of Spice Lisp to CMU Common Lisp to SBCL over a period of 30 years.

I am sure that project seemed like a corpse after Rob McLauchlan moved on in the 90s leaving behind a compiler much more complex than LuaJIT. However, dozens of open source heroes have picked up that project and moved it forward. Kudos to them :). Could be that we in the LuaJIT user community need to take a leaf from their book.
There are plenty of men's magazines that will offer you a "denim checklist."
In your experience what difference does full disk encryption vs home encryption have in this context? We've been debating this a lot at work.
This can be very dangerous, because if for any reason Amazon decides to stop doing business with you, you must pay them to either ship back your stock or to destroy it.

A little time with your favorite search engine should find plenty of horror stories, especially from merchants selling used CDs, DVDs and Blu-rays, there's been suspicion in the past that false claims of piracy were being used to suppress the supply of these items.

And don't they charge for holding your inventory? They'd be insane not to, and that charge might be higher than you can arrange.
I feel that the solution to both classes designed for heap allocation and binary libraries is the same: making a decent wrapper around them that obeys RAII. In many cases, this is just requires using `unique_ptr` with a custom deleter.

auto deleter = [](unsafe_type* t) { cleanup_unsafe(t); }
std::unique_ptr<unsafe_type, decltype(deleter)> safe(make_unsafe(), deleter);

If this is used in many places, you can make a very easy wrapper class to handle it.

class safe_wrapper {
public:
safe_wrapper()
: unsafe(make_unsafe()) { }
~safe_wrapper() {
cleanup_unsafe();
}

unsafe_type* operator->() { return unsafe; }
private:
unsafe_type* unsafe;
};

(Note that the example there is only for use within a single function. If the safe_wrapper is to be returned from a function, then the copy/move operators should be defined as needed.)

Certainly, when passing ownership back to the binary library, you are relying on it to correctly handle ownership. But so long as the ownership is in one's own code, you can easily add the type safety.

Regarding a stack-based class being accidentally placed on the heap, you can't prevent all errors, you can only make it less likely. I'd argue that it is easier to accidentally forget to call a cleanup function than it is to accidentally place something on the heap. With C++11 and up, any calls to "new" should be regarded with deep suspicion.

True on the FP patterns moving in, and I love them. `std::function` is a joy to work with, especially as compared to either C-style function pointers or inheritance from a "callable" type.
Maybe that is where they came up with ad re-targeting.
brillant !
Another aspect of IP addresses in court cases I never understood is in regards to copyright infringement. When someone shows up in court with a log showing your IP doing "something bad" how do you know the log wasn't entirely fabricated?

I mean, it's pretty easy to create a log showing any given IP doing whatever you want. I seriously doubt that prosecutors are demonstrating a chain of custody and immutability in regards to such digital evidence.

If it's the government doing it you at least have the sworn testimony of the investigating LEOs but in civil court it seems like it would be merely the word of the prosecution which is basically no different than, "it happened because I said it happened."
I totally plan on using a child leash when I take my 2 year old to a massively crowded place like a zoo or amusement park. Is that really frowned upon?
Exactly, but most people don't know it, and even if some know it on an intellectual level, they don't really internalize it on a practical level.

See also TSA and terrorism, etc.
Hard-copy books may in reality be just as ephemeral as the endless streams of bits and bytes that flow around us these days but, to me, there is always something that just projects a sense of a well-ordered mind and an all-is-well-with-the-universe feel when I see finely-bound versions of such books arranged on shelves with a purpose as they are in the pictures shown here. This is a real throwback, but a nice one. The article itself is fluff but for me, as a long time book buff, this part was intriguing. Not fine-library stuff, just a nice way to convey a feel of real interest for a lobby entrance that would normally be utterly prosaic. It just has a stamp of individuality about it, and I like that.
I don't think doing this actually prevents that. Your full agent is still forwarded. You need to use a separate agent per key if you want to prevent the remote host from using your other keys.
That's not the ratio of men to women in the tech industry, and said ratio is not caused by competency discrepancies. It's actually partially caused by exactly this kind of sexist drivel that you're spouting; who would want to enter an industry that is so unwelcoming?

Why is there so much sexist trash in the HN comments today?
Don't see how there could be any performance implications with having RAII within C. It would be a simple method call with the this pointer to the struct during complication. Though if your performance consideration is at the assembly code level why use C?

I've had some good/bad experiences with garbage collectors. They do help improve productivity and ROI within the enterprise space where memory isn't too much of of issue. Then when memory does become a issue within smaller memory footprint environments they can be a real pain in the ass.
EliasDB – A graph-based database
The comments here are super-disappointing.
DD News
It doesn't seem like it's just America. This is from the UK: http://www.dailymail.co.uk/news/article-462091/How-children-...

America might be slightly ahead of the rest of the world because of its car culture (reducing the need for children to walk places independently.) But it's a trend everywhere.
Mlooper?
So my opinion on the difficulty of learning features in a language are not valid since I'm just learning the features?

Bravo.

My problem is not with what I think you are attributing to me but rather other issues with the language and tool chain. There seems to me very little that can be done in C++ that can't be done cleaner in C.

It's evident that most people who use a language aren't going to have time to spend years becoming a master at it. They are going to join a team and say "So to do my assigned task I need to do X, what features let me to X the cleanest" and this is how I've taken on learning C++.

Sadly, no features that are new have yielded themselves to any problem I've seen. I haven't encountered it.

Your solution to rebut my argument is that "you need to be at least 10 years into the language to know anything kid!" yet you provide no rebuttal.

Please do provide an argument not an insult at my age the next time you'd like to raise a disagreement with my ideas.
A promise micro framework in 18 lines of Swift code
For anyone not familiar, this is an effect where if you load wet soil just right it will break the structure of the soil grains and turn into a fluid. Demo here, you can skip the first minute if you're short on time: https://www.youtube.com/watch?v=-X9-4tWpMCo

Wikipedia has more information and some good photos: https://en.wikipedia.org/wiki/Soil_liquefaction

It's a really cool and equally terrifying phenomenon if you're used to thinking of the ground as a solid object. Plenty of videos on YouTube as well.

EDIT- Here's a car that sunk into the ground, which then resolidified around it: https://youtu.be/2WoKu5VxKgs?t=50

http://izismile.com/2012/08/31/christchurch_liquefaction_26_...
No, this is not a uniquely American problem.

http://www.telegraph.co.uk/news/uknews/law-and-order/1149812...

Even in European countries that are more liberal about this it's now relatively easy to find individual accounts of parents being harassed for leaving children unattended.

But "we" haven't arrested anyone. "We" should be replaced by "police officers" IMO.
> What's creditable in the US case is that they threw their weight around in part to promote liberty and democracy across the world.

Oh, come on. They, at times, overthrew democratically elected heads of state like Allende in favor of military dictatorships that went on to torture tens of thousands.
I can't even imagine.

My daughter was born the day a 4.0 quake hit Piedmont, CA. I was in the fourth floor of a hospital in SF. The hospital beds were rolling around and I could feel the building moving. Very humbling for a guy from Minnesota who had only experienced minor quakes that didn't do much more than make it feel like a semi-truck was passing by outside. I don't know how I looked, but the mother of my child looked over at me and was like, "that was nothing."
a) A Razor is a logical shortcut that's true more often than not. It's not some type of law.

b) Never attribute to ignorance what is properly and accurately attributed to malice.
In the US we have lots of hidden taxes too - corporate taxes (some of the highest in the world), regulatory fees, that kind of thing.

Additionally, we impose various surreptitious tax-like requirements on companies: health insurance can't charge your actuarial price (equivalent to taxing the healthy and paying the sick), rural and city customers must pay similar prices for various resources, etc.

But I agree with you - we should replace all these taxes with a single transparent consumption tax.
The CEO of Overstock has been loudly complaining about naked shorts for a while

https://www.overstock.com/naked-short-selling.html
I think your analysis failed to identify the root causes. Based on my observation having worked within the court system, the biggest problem is that courts have too low a standard for the submission of "expert" evidence. That precludes courts from distinguishing between real science and fake science (e.g. most forensic "science").

Courts understand that they can never be subject matter experts, and give great deference to people who call themselves experts (doctors, etc.) The real failure is the mainstream scientific community's failure to police fields that hold themselves out as being "scientific."[1] The National Academy of Sciences did a paper several years ago, where they took a look at the state of forensic "science" and collectively gasped: https://www.ncjrs.gov/pdffiles1/nij/grants/228091.pdf. But then they kind of just let that go.

If scientists were as politically-involved about forensic science as they are about climate change, we'd see major changes in the system.

[1] Engineers and doctors, in contrast, have done an excellent job policing their fields through their professional organizations.
Yes. It does. It also gets a lot wrong for people who care about different things.
Startup - low salary and high expectations regardless the place... And if management doesn't care about you just move on.

About the "what_doyouthink" - why such inconsistent underscores?
Secret Hack to Get Headphone Jack on the iPhone 7 [video]
Just because you disagree with an opinion does not make it sexism. If anything it exaggerates your own self prescribed ignorance.
Isn't Ubuntu basically functional and beautiful?
I mean i installed Ubuntu for my mother, father and my sister's laptop. ( All of who only use their laptop for either watch Netflix or word=processing etc ). They were quite happy with it. They have been using it for a year now.
I found it helpful to think about (the modern) C++ as a combination of two languages: one is a relatively straightforward language for application development, almost on par with Java or scripting languages such as Python; the other is a very sophisticated tool for implementing universally useful, generic classes and libraries.
Game Genie declassified: That summer I played 230 Game Boy games
Makes sense. I was wondering whats driving the hourly/daily rate in Poland (getting quotes for 60-70e per hour) but this explains it.
Weekly digest 5 – x64dbg
Plants are a poor resource to mine in comparison to bacteria. There are way more bacteria, they evolve much more rapidly, and they spend much of their time trying to kill each other.

The historical problem with mining the bacterial world has been that only about 1% of all bacterial species can be cultured in the laboratory. That was solved a couple of years ago with an ingenious low-tech approach called the Ichip. The people who solved it went on an ad-hoc, short fishing expedition and found a new viable antibiotic candidate the first time they tried. [1]

The future of antibiotics, like the future of a large chunk of drug development, is thus going to involve mining bacteria for the weapons they use on one another and the tools they use to eat things. We'll never run out of those, and we'll have more candidates than we know what to do with once people make a serious go of using the new methods of culturing bacteria. [2]

[1]: http://www.the-scientist.com/?articles.view/articleNo/41850/...

[2]: https://www.edge.org/response-detail/26701
The conversation then shifts to how it does this? What if I want to print to something else? Why if I want to read differently from a stream?

When you provide a shorthand that's all well and good but when you TEACH a short hand it's what's ONLY used by the students.

The students will assume there is no other way to read and write then using >> and << which is horribly incorrect. These are largely inadequate measures for reading and writing in my experience as you probably want to do formatting which printf just does better.

So many of the students in my CS class this semester can't do the first lab, which in all essence, is a tokenizer because they don't know that there are other ways for writing to, or reading from, a stream!

A short hand should only be used in a majority if it can do everything the long hand way can do.

Also for anyone interested what my first C++ project looked like you can see here:

https://web.njit.edu/~gwryan/CS280/CS280-Program-1-Fall-2016...

https://git.gravypod.com/gravypod/school/tree/master/cs280/h...

It's not my best work, but if any C++ people want to notify me of things I'm doing that's wrong I'm more then happy to learn.
without moral guilt?
The classical document about this:

http://lackof.org/taggart/hacking/ssh/
Actually, I sincerely thought that the original comment was trying to make a progressive point veiled in so much sarcasm as to make it difficult to understand. I guess I was too naive... And they were simply making a disturbingly sexist comment...
Good practices for using ssh
The other thing about C++ is that you start by saying "I'll write C and only use this one extra feature from C++." and thereby you open a Pandora box. You decide to use reference types, and all of a sudden your classes are not default-assignable.
Brilliant! But... of course some of the spammers are bots themselves.
To the contrary, prosecutors do (with various degrees of success) establish chain of custody for digital evidence. Moreover, no prosecutor is going to build a case on just an IP address in a log file. They will use that as evidence supporting a warrant to search a suspect's computer. At that point, law enforcement will usually collect a physical hard drive, which will be considered the "original evidence" and subject to the usual chain-of-custody protections.
Thanks, you just saved an hour of my life :)
> You're quoting somebody else there, friend.

Sorry. My apologies!

> I jumped on this particular subthread because I wanted to point out that your list of innovations boils down to "Microsoft improved the user interface for touch devices."

No, it doesn't. I use most of them on a desktop PC that doesn't include touch. Also, cloud and cross-platform capabilities go beyond touch.

> Peccadilloes? I do not think that means what you think it means.

I know what it means. And in the UK, it's not specifically sexual in connotation. However, I did spell it wrong ;-)
I presume you mean this:

"In a more recent series of analyses, Levitt4 and Dubner and Levitt11 used FARS data from 1975 to 2003 and, by various methods, directly compared the mortality with child restraint systems vs seat belts in children aged 2 to 6 years and could not demonstrate a difference in effectiveness. Levitt and Porter12 restricted the FARS data set to 2-vehicle crashes in which someone in the other vehicle (ie, the vehicle without the index child occupant) died, under the assumption that the distribution of restraint use among children in potentially fatal crashes is independent of whether someone in the other vehicle dies, after adjusting for various crash-related characteristics.

"The precision of these previous effectiveness estimates and their relevance to today's fleet were limited by their reliance on FARS (the limits of which were presented in the introduction), by the inclusion of older vehicles and restraints, and by failing to control for the severity (potential unsurvivability) of the crashes. Our analysis based on a modern cohort of children involved in crashes in which the car was rendered undrivable addressed many of the limitations of these previous analyses and found effectiveness estimates for child restraint systems to be greater than that for seat belts alone, with estimates greater than those of both Levitt4 and Hertz.6"

Levitt, et al, used only FARS data, which only records fatal accidents. A hypothetical accident where only the child would have died but that was prevented by the restraints would therefore not show up in the data, leading to the value of the restraints being under reported.

Further, failing to control for the severity of the accident (which this work does using the survival of the driver) also undervalues restraints: if the car ends up as a ball the size of a grapefruit, it doesn't matter what restraints were used.
EURUSD: Sees Price Hesitation but Vulnerable
It's really not surprising that Amazon's algorithm takes "of course you'd want Prime" into the calculations.
Very interesting, thanks. I had somehow not seen Google's involvement in this project.

Reading between the lines of what you said it's clear just how big your network could be!
Just remember to tear-off anything that looks personally identifiable ( address, reference numbers etc ).

There used to be a trick in the UK of attaching reply envelopes to bricks and putting them back into the postal system, hoping that the spammer would be charged by weight, but Royal Mail put an end to that.
Missed a plane. Four times. Two of them in the row. ADD sucks.
Sugar contains just 25% more calories compared with cereals while oils and animal fats contain over 2 times more calories. So if one just stops to eat sugar without changing the composition of the food, it is trivial to compensate calory loss with eating, for example, bread made without sugar but with extra oil.

But the article is not about just removing the sugar. As the author discovered, just by giving up on sugar one changes the whole diet. He could no longer consume any junk food and had to start cooking himself. So the real benefits could be in that switch, not in avoiding sugar per se.
I think they are wrong just like I think you are. That's no argument.

You're defaming one of the most beautiful services that has ever come out of YC. A service that will help the life of so many hardware hackers and professionals. The pricing model for InstaPart is the most noble I've ever seen and you're complaining about them being predators and dark pattern practioneers?
> The first listing is indeed from Amazon.com as the seller. It has the cheapest price at $5.97 with "FREE Shipping" if you have Prime. So I assume that without Prime, there is a cost for shipping.

When I'm not logged in, it shows it has free Prime shipping. When I do log in to my account without Prime, it shows it has free shipping with an order of $49 or more. The only way I can find to see the shipping cost is to add it to my cart and proceed to checkout, which makes it a bit difficult to comparison shop.

> Assuming that that free shipping, unlike Prime, is unconditional, it is worth pointing out that TheHardwareCityCo offers a shipping date from "October 3-12". I'm assuming that you also don't get the return guarantees that you do from Amazon.com.

Amazon also seems to overstate these shipping dates to make Prime shipping look better. Almost every time I have ordered something via a 3rd party like that, it arrives before the earliest date Amazon says it could.
Obviously not the same but I've had this happen in a couple places and I just say "FUCK OFF" as loud as I can and get visibly upset and they leave me alone after that.
The phrase “Taco Tuesday” is trademarked
by far the best advice is to not listen to advice on the internet.

use the defaults, lady.