skysight-inc/HackerNews huggingface dataset:
> Harsh punishments work exceedingly well as a deterrent.

That is an enormous claim and there are reams of research on this topic - your assertion is not supported. It doesn't even stand up to the most cursory scrutiny - if it were true, then societies and states with harsh punishment would have lower crime - and this is very, very, very obviously not the case.

https://www.nij.gov/five-things/pages/deterrence.aspx

https://www.psychologytoday.com/blog/ethics-in-question/2015...

http://www.sentencingproject.org/wp-content/uploads/2016/01/...

https://undark.org/article/deterrence-punishments-dont-reduc...

tl;dr Social norms, accepted membership in 'legal' society and education are the best ways to deter crime, followed by certainty of punishment - not its severity. The reason people commit crimes is, in rough order, usually out of desperation, social norms that lead them to believe the prohibited act should be acceptable or ignorance of the knowledge that the prohibited act is illegal, for greed, and, lastly, then for the sheer thrill of it. Severity of punishment doesn't act as a good deterrent for any of those categories - certainty of punishment acts as a deterrent for the latter two, but for the first two, desperation and ignorance, are fairly well inoculated against rational counsel.

Before you start arguing the philosophy regarding merits of punishment v. deterrence, I am going to put it bluntly: the claim at issue - that severity of punishment is a deterrent for crime - is an evidentiary claim and it cannot be proven from first principle. It must be supported evidence, and as far as I can tell, the numbers are in, and they do not appear to be on your side. Unless you have studies that support your conclusion, the philosophy is totally irrelevant.
Yes, you are correct. Republicans generally support the right of employers to decide who to hire and for how much.

The Democrats generally support legally enforced non-discrimination, equal pay, minimum wage, etc.

Google's hiring policy itself could hardly be viewed as partisan.
Here it is from the horse's mouth, strangely enough also featured on the Russian propaganda network:

https://www.rt.com/news/313829-assange-advise-snowden-russia...
And Visual Studio
https://wikileaks.org/ciav7p1/cms/page_11629039.html
was what he was referencing.
https://en.wikipedia.org/wiki/Galvanic_anode
> this is exactly what I expect a spy agency would be doing

Loosing their "cyber" equivalents of atomic bombs after they deemed it unnecessary to improve the protection of the US against such those weapons is what you expect?
Feel much safer knowing the CIA keeps them safe and only use them for good causes /s
Yes, they should forsake THE ENTIRE FREAKING BASIS OF THE FOUNDATION by playing gatekeeper for the internet.
Agreed! One thing to add:

Learn to keep your knives sharp. A sharp knife is a safe knife and makes the whole prep process go faster.
Again, I think there is a difference between the desired and realistic roles of an intelligence agency in disclosing exploits. Sure, I would hope they disclose them. But at the same time if they are actively using an exploit, I have pretty much no expectation of them disclosing it.

I think this has way more to do with our reference-point than anything else. My expectations were never quite as high!
Data Firm Says ‘Secret Sauce’ Aided Trump; Many Scoff
For market data and news tiingo.com. For historical data quandl.com.
It's also good at making extremely simple things incredibly complex... but then provides some high level "functions" to do weirdly specific things.
Does anyone else actually enjoy going to the grocery store or walking to a local place to pick up food? What, exactly, are people doing that gives them so little free time that this is necessary? And why aren't people talking to each other?

I seriously don't understand the mentality that working all the time is good for you. I find that I figure out solutions to problems I'm having not by banging my head against them all the time, but from relaxing, walking, running, biking, shopping, reading books, and all the other "non-productive" things that normal people do.

Is Silicon Valley really like this? It sounds more like a dystopia than a utopia.
This wasn't an exploit of that type though.

I assume Rust allows for the same type of error?

Not familiar with Rust, but does the following work?:

let mut x = 0;
if x = 1 {
println!("oops, meant ==");
}
Anecdotally, I used to see people wearing various ones around the office. But not a single one in sight for past few months. Feels a little like the early video game market -- cool idea that's a few years ahead of the tech required to make it practical.
Ask HN: Coding with?overlays?
I'm a C++ dinosaur who uses emacs and git. I'm wondering whether you know of a different language, or an IDE, or an SCM or anything else that might support a notion of coding with "overlays".

What's an overlay? It's code that might be needed in a particular context, but not always. One member of my team adds annoying printf statements and repetitive assertions as debugging aids to code for which he is primarily responsible. I'd love to see his code without all the cruft. I'm frequently guilty of ignoring YAGNI, and leaving in "future" code that's #ifdef'd out. Nobody but me should have to look at that. We've all added code for integrating with various external systems, be it Windows vs Linux, or postgres vs mysql; but maybe I only want to see the Linux code, without all the Windows stuff.

It might even be nice to have overlays for various levels of commenting - so I could add comments for my own understanding of someone's code without inflicting them on everyone.

I imagine a system where I could check boxes: include debugging overlay, for linux, for postgres, with my personal comments ... when I need that. Or just the core code.

Have you ever seen anything like this?
You need hobbies.
Microsoft outage
"their role in domestic affairs is severely restricted"

You're delusional if you still believe this.
Like the concept.

Testing on FF 51.0.1 and I can't seem to see the expiry option which is supposed to be alongside the file that I uploaded. Maybe using a different browser would work?
On one hand, I think it's a great idea because I've done stages (STAH-jes) as a sous chef, and always liked the experience.

On the other, it definitely excludes a large amount of people who can't dedicate the time, or need to be paid a real salary for their trial period.

I like Menlo's approach of rapid staged pairing. I've gone through Automattic's trial but they pay little and it takes way too long, I wound up cutting it short.

(edited for spelling)
Bruce Schneier wrote a great essay on this topic: https://www.schneier.com/essays/archives/2008/01/the_psychol...

In short, we "feel" security more than we reason about it and once a risk has been personified we lend a lot more weight to it.
Author here, if you have any question feel free to comment here.
Some initial feedback:

* Title Case Everywhere Looks Weird
* Hovering over 'resolution' on the detail page shows a tooltip with the text 'Upload date'
* I uploaded a .NEF file and it seems to think it's 160x120 (it's actually 6000x4000)
* The buttons next to the link field on the detail page are not the same height as the input.
* When uploading the background icons become jerky (presumably due to the upload causing long frames)
* When uploading there was no speed / ETA data shown, just a spinner.
* I felt the animations on the homepage were all a little superfluous.
* The links in the footer link to places on the page, but without updating the URL hash, probably worth adding one to make it more linkable.
5 vim commands that solve frustrating problems for casual vim users
New Early Warning Technology Solution to Help Afrikan Farmers Control Pests
I like how just because those physical traits don't correlate to skill that makes it irrelevant or wrong to use as a criteria.

I've rarely seen a job where the performance is based on purely technical skills - the % varied from job to job - but a lot of it comes to how effective you are at working with others and just like the article argues - people in general respond to those physical traits.
Not to nitpick, I absolutely agree that the NSA should be responsible for disclosing this type of information to help secure the USA and its infrastructure.

The CIA on the other hand has clear (though not always followed) directive to only act outside the US and to act against foreign nationals.

It's less clear to me that they should be required to disclose these. Another post makes the claim that the CIA may have lost these, that case seems clearer that they must disclose to protect US interests.
Also it can be explained by the simpler hypothesis of Assange not liking Clinton without bringing Russia into things.

see http://www.mediaite.com/online/julian-assange-hillary-clinto...

and similar
Now whenever I get into a holy war, at least I'll know Uncle Sam approves of my tribe.
Lyme Is 'All in Your Head' – A Wake-Up Call to Mental Health Professionals
The Future of Traditional vs. Social Media Advertising
Is that good or bad? The amount of infinitesimal sea level rise that determines capacity would be the same either way.

One advantage of remote pneumatic pumping would be that power (W) could be scaled independently from capacity (Wh): you either add more spheres or you build bigger pipes/pumps/turbines. Conventional pumped storage installations frequently add more throughput to existing, unchanged reservoirs.
(Apollo-iOS) Graphql client for swift
Sinking of California's San Joaquin Valley Seen from Space
There are too many checkers players in a chess world.

They're attempting to establish the precedent today. Tomorrow(figurative, not literal), when such devices send everything to the cloud to be processed "To reduce false positives", there will be much more data to mine.

I won't have one of these devices in my house. I won't have an xbone in my house for the same reason. Today, they're not much of a threat to privacy but long term, the risk is too great for my comfort. They can't be trusted.
Nice one, I wish there was a Haskell extension for that! (Can't risk switching existing/pending code-bases over to Idris just for that feature though)
> WW2 was the last big state on state conflict -- that cannot happen again.

Respectfully, the belief that large-scale war was impossible between modern states was prevalent prior to the First World War.

I strongly believe that there will eventually be another large conflict, and that the only reason there hasn't been one to date is because we've managed to maintain the balance between Russian and American interests throughout the Cold War.

The collapse of the Soviet Union marked the beginning of a transitional state, and we've not reached a stable balance of power since.
Taksim Travesti Escort Masaj Yapan Irmak
No, but it does have to do with what authentic material they provide. There's a reason courts require "the whole truth"
> Perhaps Mozilla could [...] stop rendering US government websites or perhaps a random list of websites related to Trump or his supporters.

The STRONG commitment on the part of Mozilla to NEVER engage in such tactics is one of the reasons I make it my preferred browser. I have no objection to their expressing their political beliefs through press releases, even if I am not sure it rises to the level of "newsworthiness" to be upvoted on Hacker News.
My intuition is that a using the device normally (whatever that means) is more likely to produce better battery life than whatever scheme might work in theory because the design of the battery and charging system is tuned to normal use cases and the engineers have control of parameters directly rather than indirectly.
Contributing to Mozilla Firefox DevTools
Yes right, we were. But we were able to install our own firmware before there was the IME.

And it has also changed in the sense that the IME is a full fledged autonomous universal computer which has it's own RAM, ROM, clock etc. It is not just some very specific chip with hard-coded functionality, no, it can e.g. load and run Java applets. So it is a very powerful moving target which can be used for whatever it is programmed to. Rootkit researcher Joanna Rutkowska called it the perfect rootkitting infrastructure.
If anything Wikileaks presented a pretty ripe opportunity to replace Clinton with a candidate that could beat Trump in the general election. Nobody seized it and the Dem's lost. But yeah, blame Russia.
Mr. Putin, is that you?

Edit for downvoters: perhaps the sarcasm was a bit over the top, but my point is when someone compares the EU and NATO to slavery, I start to wonder.
The answer is!!!!! Clickbait. That's what won't ever go away.
The headline reads like a metaphor. Huge corporation to buy nimble startup for $$$$.
I'm not sure if you are using your regular pressure cooker correctly. Your vegetables should come out similar as if you steamed them. You are probably cooking them too long. The pressure cooker also shouldn't have to vent all the time. At least with my Kuhn Rikkon you have to carefully adjust the temperature to ensure the food is at the right temperature and then very little venting should happen. Of course that also requires constant monitoring and adjusting. But most things only need pressure cooking for 5-10 minutes anyways.
I have these same fears, yet there are 4 android devices, an ipad, and an echo dot in my home.

High utility and low chance of me being in the specific situation where internal home recordings are requested.

High downside if I do end up there, but low risk of ending up there (hopefully).
The content only exists because it's cheap to put online. If you require that someone transcribe it for closed captioning, it is like putting a tax on video uploads. They just won't be uploaded.

Because it's prohibitively expensive, or because they can't be arsed?

I used to assume the prohibitively expensive angle, but DEF CON has had live closed captioning for 3 or 4 years now, and is done so the recorded material can be used in classrooms with accessibility requirements. If DT can afford it, I have little regard for people who pretend to be committed to educating the masses and still don't bother.
I'm sorry but I didn't realize it was a requirement for spies to exist to have a free society.
We Released Imperfect Songs Fast and We Loved It
"Deep State"

https://en.m.wikipedia.org/wiki/Deep_state_in_the_United_Sta...
They have stated this is part 1 of a long series of Vault7 releases, so it might be possible.
An obscure OS would potentially help protect you on that one layer, but it's hardly a panacea. For one thing, an obscure OS means fewer friendly eyes looking for vulnerabilities. For another, you're still going to be vulnerable to things like a baseband attack:

https://dwaterson.com/2013/11/18/vulnerabilities-of-the-seco...
Can you remove the animation at the beginning, I've a bad vision and I could only read the text once it stopped moving, and I don't think this animation adds anything except eating the few seconds I give to a new website before choosing if I leave or stay. (at the opposite of the background animation that is okay)
It's not delusional to accurately state the law. But there does need to be strong oversight of these organizations to make sure they actually follow the law.

Edit: and yes, there is plenty of evidence that especially during the Vietnam war the CIA was actually breaking the law.
Exploring Dynamic Dispatch in Rust
If your goal is working for Amazon why not go and do it in Vancouver? Or somewhere in Europe?
Maybe there is a lot more junk then there was 10 years ago.
>No noise.

Only once it has reached full pressure. Steam escapes noisily through the lid locking mechanism for about a minute first (escaping steam is used to engage the mechanism, which makes it fail-safe because without the mechanism engaged it will never reach full pressure).

>It has two pressure settings

Only on the more expensive model. Cheaper version only has the higher pressure mode. But I have the cheaper version and I have never wanted a low pressure mode. It seems redundant because it already has slow cooking mode.
You can just watch the network traffic from the device to see when it is streaming audio.

Now this obviously doesn't rule out the device saving stuff locally, but plenty of people have verified that it does generally only send lots of data to the server when you have just asked it to wake up.
FWIW, I've seen a couple threads on Reddit where people did network sniffing -- the echo only had network traffic after the wakeword. So, in a hearsay/amateur manner, it seems to not be doing that.

As someone else mentioned, they could of course record constantly, then compress and transmit in batches, and that would probably go unnoticed.
In an effort to simulate their work environment, they bring in 50 job candidates at one time and pair them for 20 minutes.

Riiiiiiight.

If you're doing a cattle call for college interns, that sounds totally feasible. If I'm looking for a senior embedded developer, I'm lucky to get 5 resumes in hand and getting 2 in the room at the same time is nearly impossible schedule-wise.
I'm in the same boat. Have owned several UP bands over the years and have had several warranty replacements. I love the hardware form factor and the software, but the reliability, even when support was responsive, has been very poor.

My most recent band, an UP3, started having trouble charging last fall at which point I discovered that Jawbone had removed all of their support options save for an opaque support form. I have not received any response to my support ticket, nor found any more direct contact method. At this point they've lost me as a future customer, but they are also failing to fulfill their warranty obligations by ignoring customers with broken hardware.
An audition. Huh. I'd call it a contract. Kinda like some goofy companies call their employees "associates" as if that means anything.

My short term contracting rate is higher than medium term, so there's that interesting issue.
This is a bit of a wall of text, but please don't ever try to fly a mavic with your hands off the controls.

I love my mavic, but I feel DJI's advertising is super misleading and a bit immoral in the fact that they imply you can just press a button and make it follow you while you put away the controller and do your thing. The reality is that the detect and avoid capabilities of consumer MAVs are laughable.

The reality is this: the current generation of consumer drones aren't anywhere close to attaining safe autonomy at low altitudes or urban areas. They can also do a lot more damage than you'd expect; those flimsy plastic props carry enough energy to cut you to the bone no problem. You're legally required to maintain direct control of any MAV you operate, more importantly, it's really irresponsible not to. Things like the mavic seem like they're really predictable and easy to fly, and 99% of the time they are at this point, but at some stage it WILL have a gps glitch or experience gps occlusion, and it will fuck shit up unless you intervene. I'm really uncomfortable with a whole wave of people buying stuff like the Mavic today and flying them near other people or property with 0 training on what to do if the hand-holdy autonomy fails - which it will at some stage.

If you want to break the law and experiment will hands-off operation, please at least do it somewhere far away from populated areas and really far away from airports. Better yet, just don't.
Squash in a few minutes - pretty much just up-to-pressure then back down and done!
I created the Bloomberg Equity Screening (EQS) query language. It was mostly backward compatible with a previous generation, but added a lot of new things like chained conditionals (Python has these, most languages do not). It is meant to be familiar to users of the Excel formula language.

Most users do not want to write their queries by hand, so I also built round tripping of the language to/from a GUI query builder. You can build a query graphically, edit it as text, then go back to the graphical form. Certain things cannot be displayed however, and generating good error messages was very difficult.

A weird fact is that the backend which evaluates the queries has a totally different language of its own, so there is a transpiler for that.

Thousands of people have used this language, but 99% of them did not know it.
I happen to have met the hardware engineers who developed the chipset and microphone array PCB inside the Echo and they told me there is no recording unless the trigger word is detected.

I saw no evidence to prove or disprove this and there's nothing to say that the device couldn't be altered after installation.

[edited: grammar]
Website Optimization Guide
Inform was a huge inspiration for me! But there are some things I didn't like and so try to improve:

- It comes with a manual. You shouldn't need a manual for something simple.

- Too much prose, I like more structural things. If inform is a book, my Screenplay is technical documentation.

Inform is great for what it does, but I guess I needed something slightly different.
Food processors (proper ones, not hand "choppers" and the like - those are nearly pointless) are a terrible replacement for basic knife skills.

What they are mostly great at is a few things that are so labor intensive (ever made hummus by hand?) you otherwise might not bother. Also a good time saver for things like pasta dough.
Best Comment ever.
Serious question... is this a crime?
Visual Studio 2017 Launch [video]
This is exactly the reason why we are doing a new blockchain from scratch in Erlang; also with a lispy dialect for smart contracts.

æternity is a new blockchain for scalable smart contracts interfacing with real-world data via a decentralized oracle.

Smart contracts are essentially pure functions here. We have also a compiler for a Lispy language.

Check out our whitepaper (www.aeternity.com) and check out our Github ( github.com/aeternity/testnet ) (also check the /docs folder).

Disclaimer: I am the founder of aeternity.
Shouldn't it be possible to effectively neutralize the IME/PSP by controlling the data that enters or exits it, so that it can't be activated remotely, or communicate with the "mother ship"?
There's a referral link in the lower right corner of your site. A few seconds after the page loads, clicking anywhere on the page takes you to hidemyass.com.

I don't know if this was intentional on your part, but if so it's pretty deceptive.
Machiavelli never murdered anyone. It is the British who are the murderers. Look how much they love to make movies about killing. They're obsessed with it.
That's most probably not lying, just statistical noise not detected properly.

I made a sleep tracking app a couple of years ago, using the accelerometer built into smartphones. To normalize data between different environments (beds, matresses, phone models...), I tried to estimate activity/sleep phases compared to a low quantile over all data points, after trying to remove, or at least mitigate noise. However, if there is only noise, the algorithm will interpret that as if recorded movements were just really fine and still try to derive useful information from it.

There were lots of complaints that my app would "make up" data, but this was never the case. It was just not using an absolute lower threshold of non-movements.
I wonder if this is the first time Apple is seeing these
OK. They IPOed. They got their money. That part of the story is done. Now the stock is in the pubic's hands. Analysts think it is over-priced, so people sold. And an article said so. This is just some basic reporting on it. I'm not sure why you are choosing to use it as an opportunity to call people out as being ignorant.
"breitbart.com are mixed in with reputable news sources"

"reputable" news sources have generally devolved into being the ideological counterpart of breitbart.com so this makes sense.
One of the findings: Notepad++ has a DLL hijack [1]

[1] https://wikileaks.org/ciav7p1/cms/page_26968090.html
Build and Deploy a Node API and React Web App on AWS