skysight-inc/HackerNews huggingface dataset:
The issue of plea bargaining isn't so simple as it's made out to be (by people who don't have any idea of what the justice system actually does).

The overwhelming majority of people that go through the justice system are guilty. For every ambiguous charge, there are a dozen instances where someone was caught with drugs on their person,[1] clearly identified in a security tape robbing a store, etc. That's the bread and butter of the justice system.

Like every system, the courts have been optimized for the common case. That certainly has costs in the uncommon case--as optimizing for the common case always does. Maybe those costs are too much to bear. But it's not a simple issue of government being "rotten to the core."

[1] Whether you think having drugs should or should not be a crime is an entirely separate issue.
We maintain quite a bit of compatibility, which is why we have access to the wonderful, but dependency-heavy lens library. See the Eta Playground for an example.
I amazed as well. The difference from US to UK and Germany is insane.
I would love to be able to, but the slowly dying on the inside always catches up
This reads like a horoscope. I can tut-tut at the over engineers and under engineers while considering myself just right.

Anyone to the left or right of me on the spectrum will also think they're just right and I'm one of the former or latter. This recursive confirmation bias then sends the article straight to the front page.

This is the most smug article I've read on here in a long time. Why can't we just be professionals?
Exactly. If we're going to have shared music, it needs to be what I want to listen to, which is likely to either be thrash metal or baroque. If someone tries to play country or 90s alternative or any kind of modern pop, I'm going to pitch a fit. No, I will not tolerate that crappy music while I'm trying to work.

I really don't expect a lot of people to care for listening to my thrash metal, so the obvious solution here is to simply not have shared music. It's just a bad idea, and just like you say, reeks of a boys' club and not a professional working environment. I don't go to work to bond with a bunch of people who I did not explicitly choose to be my friends; I go there to earn a paycheck and do interesting work within my profession and build my resume.
Top Developer Tools of 2016
So why Bitcoin is so big in China?
BTC China statement:

https://twitter.com/YourBTCC/status/819159971564662784
Open offices SUCK SUCK SUCK. The worst thing is when someone wants you to answer a question which requires a few moments of concentrated research. So then they stand there waiting on you but talking to the person in the next cube about their weekend or the weather or whatever. You can't tell them to leave because they are not in your office, but it's majorly distracting.
Thanks to everyone that submitted questions. We'll keep track of what wasn't answered for future episodes.

Here's the video - https://www.youtube.com/watch?v=45BvnJgwYjk
... wasn't just a pipe dream, after all. I worked in telecom in a former lifetime.
This is a great start but I still find .net framework & .net core confusing. May be small example (not code) would have been nice.
I think you've hit the nail on the head when it comes to houses - people form irrational sentimental attachments to their real estate.
The 8 Best Smartwatches for Business
I saw that quicksort code when I looked at Haskell back in 2002. Why is that still used as an example?

I have seen in-place quicksort in Haskell and it is not pretty.
There's nothing in this world quite like entering the 2th array item :P
Introducing downr
HTML5 Is the Next $100B Game Platform
Ah, I see.

I was thinking more along the lines of re-branding the same app multiple times for different genres.

I like the tag concept.
Ask HN: Do you like working with tech recruiters?
Why or why not?
>I've probably done about 1 month's worth of work in the past 4 months.

It sounds like you definitely want to move jobs, so I'm not advising you to stay. But if you're in a "work ethic" culture (e.g. USA), then bear in mind that everyone is really doing far less work than they're pretending to. People who actually work every hour they're paid for are pretty rare.
Don't worry. Solving the records problem is a high priority item for Eta. We might solve it in a different way than GHC 8, so that's where the 'dialect' part comes in.
Reading clojure docs is a PITA
The 4K 27" All-in-One will indeed be awkward at both @1x and @2x, which is all that Ubuntu supports (plus changing some font sizes). And who needs touch on a 27" screen? Apple gets it right: 2K/4K for 24" screens, 2.5K/5K for 27" screens.
Not defaulting to 'localhost' (or 127.0.0.1) is pretty bad in general.
A WebComponent that generates simple HTML table from JSON url
Have you thought of renaming the less-called one to Thomas? :D It's a bad solution, sure, but it is a solution...
Google Chrome extension will change every picture of Donald Trump to kittens
> twitchy and impair my thinking

I'm not sure how dangerous those symptoms are in the context of driving. Someone should do a study.

I was referring to these symptoms, which are unarguably dangerous in the context of driving: "tweaking", paranoia, mania, even psychosis.
SEEKING WORK - REMOTE - from India.

Creator of xtopdf, PDF creation toolkit for Python.
Blog with many Python and other dev posts: https://jugad2.blogspot.com

Indie developer and trainer for several years. Worked with multiple startups & large companies in US & India.

Skills: Python, Linux, UNIX, web apps, many DBs, XML-RPC, PDF generation & text extraction, CLI utility dev, Flask, MongoDB, SQLAlchemy, REST, ...
Worked on Ruby & Rails & Java (servlets) before, lot of C earlier - (team leader of Windows C DB middleware product, wrote popular Linux C utility tutorial on IBM dev site). Like to get back to some C work (on Unix).

Was server lead / senior engineer for two Rails-based dot-com products, by US companies. One was http://taskbin.com for 1st version.

Used many proprietary and OSS DBs. Most projects used DBs. Some ORMs: SQLAlchemy (Python), ActiveRecord (Rails).

xtopdf (PDF toolkit) overview: http://slid.es/vasudevram/xtopdf

Creates business reports, simple PDF ebooks. Supports 20+ input formats. Demos exist for use with with web servers, desktop GUIs and command line. It runs on Linux, MacOS and Windows.
Comprehending Python's (List|Dict|Set) Comprehensions
> Sure, Florence is beautiful and lovable, but I personally like the possibility to also drive to a commercial center, buy what I need for a few days, drive back home and park my car in a closed garage conveniently connected to my apartment via a lift, or my house via a door.

Why? That sounds like hell. If I had to drive everywhere for everything I'd go mad.
Interesting. The biggest source of annoying search traffic at Blekko was the people who were trying to find exploitable shopping carts, wordpress blogs, and forums. It was annoying because one could be 100% certain these folks are not clicking on ads ever and so it cost to serve and generated no revenue.

On the plus side it was a great leading indicator of a vulnerability in various bits of code because we would see searches that tried to match a particular package and version increase and then shortly thereafter a story would break about some data breach and personal data being stolen.

I was always a bit conflicted by it. I developed a number of tools which could identify this traffic and automatically ban it on our search engine which was the right thing to do, but you can probably sell that information to these organizations. So as a startup it was leaving money "on the table" as it were. I expect the way extract money out of that stream would be to have a site that accepted bitcoin and would return URLs of pages that matched a particular software package pattern.

Its also a great tool for sales people who are trying to sell wordpress themes for example (or identifying you is using your non-free theme without paying).
There are a lot of businesses where the social status hierarchy is much more important than productivity.

As long as the company can survive, they just don't want to give the bottom-rungs much at all.
> My VC++ builds are still faster, because they can enjoy using binary libraries across projects, something that cargo doesn't yet support.

This isn't anywhere near the top issue that I (or anyone else I know of) encounter with build performance in Rust. Dependent library builds are very parallelizable, so they tend to build quickly. Moreover, the build performance that matters in the day-to-day cycle is mostly rebuild performance, and the binary artifacts are cached in this case.

We could spend time adding a global cache of build artifacts, I guess, but all the time we'd spend working on this wouldn't impact my development velocity much at all. Incremental compilation, on the other hand, would.
Until your manager comes on a surprise visit :)
That is normal - got a fake ticket in Florence Italy had to pay
Agencies headed by Presidential appointees.
> No, telling that someone is guilty can only be done by a court. Prosecutors can say that they believe he could be guilty. In this case, they dropped that and said that he's likely innocent.

Just being charged with a felony means you are ineligible for conceal carry in a lot of places, even if you are found innocent in court.

That implies at the very least, that you are and will always be suspected guilty (on some level) even if the court never finds you guilty.
That's weird; the things I enjoyed at 25 are almost all the same things I enjoy now at 40. The only thing that's really different is that I eat better food now and I've cut out the sodas and junk food, and I'm more diligent about getting exercise (mainly on the weekends). I also seem to do better with dating for some reason than I did at 25. But my interests are pretty much all the same, from musical tastes to literary interests to hobbies (electronics, programming), though perhaps a little better developed.
Office is for work not play. At the really good/successful companies there's very strong work ethic, so people are not socializing on the floor, making calls, listening to music without headphones. In that case I'd say you have a culture/people management issue, not an office layout issue.
The Frye Logan [0]

Very expensive (~$450) but looks great and is extremely well made, I plan to carry it for many years to come.

[0] http://www.thefryecompany.com/logan-backpack/d/42724
Your feedback would be appreciated on this tool guys.
thanks, i'm new here :)
In fact, this setting has defaulted to localhost only for years. MongoDB 2.6, which made this the default, shipped on April 8, 2014
Clouds or Containers? Benchmarking builds
Quite a while ago (maybe 4-5 years ago). I actually didn't buy them, I mined them. In fact I had totally forgotten about it until I saw a news article stating BTC had shot up to $1000+.

>Why are you glad about that?

Well, I don't expect it to raise back to USD$1000+ any time soon (it's ~$740 now).
I dislike all music, not just in a programming setting. I would not be productive in such a situation.
People need to stop signing forms they haven't actually read and understand. Make the person stand there while you read and think about it. It pisses them off like you wouldn't believe. If more people were doing that, they'd have to change and have simpler, more straightforward terms.
Well, you have two tools that can fetch stuff - git and cargo. In my preferred workflow there'd be only one tool. It would also work as a cloud filesystem, like p4fuse.
Awesome! Reminds me of this: http://www.cse.chalmers.se/~uffe/HighResolutionSparseVoxelDA...
This is yet another story that makes a very convincing argument for a dash cam. I do not own a dash cam, but I was involved in an accident where the other car had a dash cam, and it made the entire process relatively painless.

I was actually found at fault, but the officer who responded said the person who hit me would have been found at fault if they didn't have a dash cam. I had entered a busy street that only allowed left turns via U-turns in the median. Traffic was really heavy, and I was having a hell of a time getting over. A bus next to the U-turn lane waved me in. I entered the left turn lane about a car length past where the solid white line began. As I was entering, a teenager in a 500+ hp car floored it in to the lane. As soon as they got around the bus they saw me, but couldn't stop in time as they were nearly going the speed limit.

I was technically breaking the law, and the kid who hit me technically had full control of the lane before I did, so I was at fault.

I know both me and the person who hit me wished we had done things differently there. We were both pretty impatient because of the traffic. It would have been nice to have been found not-at-fault, but I was technically in the wrong, and the dash cam proved it.

Dash cams get a lot of press when it comes to attempted fraud, but I think cases like this are the real kicker. I know other people who have hit people who made lane changes in front of them, and they were all found at fault. Without a video camera, the vehicle behind is almost always going to be found at fault when it comes to one driver's word against another. It's really difficult to prove something like an "unsafe lane change" without video evidence, and dash cams cost far less than a deductible.
Cool idea but it can't possibly be safe to spin infected blood on a device such as this.
Oh and here's another time when they SUCK: If they're not part of the "office culture" i.e. it's only IT who uses them. So, you have to play by both sets of rules. Get used to continuous interruptions because you'll be branded "not a team player" when you don't remove your headphones to say hi to everyone who comes into your area!
That sounds like a truly awful rash.
>people sit on long benches shoulder to shoulder

How do you sit on a bench for 8 hours a day?
I mean, yes, I think I want to, but I also know that the "the grass is greener" thing is real, I just don't know how to figure out where the real green grass is.

And yes, I'm in the US, in a smaller metropolitan area in the middle.
Dharavi used to have terrible violent crime in the 70s-80s, but despite the apparent squalor, it has since developed into a functioning "township" with long term established businesses and organized political and cultural institutions[1].

Your comparison of Dharavi to the situation in American public housing projects is fallacious because it draws the equivalency based on Dharavi's dirtiness while ignoring how incredibly dissimilar the places are.

[1] http://in.reuters.com/article/india-landrights-slum-idINKCN1...
> no eating at work areas

As a person who hates the sound of people chewing loudly, when you eat at your desk, please be considerate of people like me. Chewing with your mouth open bothers more people than you think. Should fall under standard don't-bother-people decorum like showering and brushing your teeth but it doesn't.
App Extensions Are Not a Replacement for User Automation – Sal Soghoian
Eta in fact only deals with STG code -> Java bytecode transformation. I agree that the intermediate transformations are brilliant, so I am very careful about playing around with the frontend bit of the GHC codebase. Eta currently implements almost all of GHC's primitive operations faithfully. I have taken extreme care in preserving semantics. In some obscure cases though, I just gave up since there are no platform-independent ways of implementing certain things (like vectorised instructions).
How to Succeed in the Startup World
Announcing Tokio 0.1
A lot of the comments here seem to focus on socialization and feeling like you're in a community, but closed offices don't preclude this.

I work at Wildbit (the company referenced in the article), and we have family-style lunches around a big table and plenty of common areas where socialization happens in the mornings, during lunch, when people make coffee, and plenty of other times.

The key is that when folks are working, they can do so in their office and stay focused. It's a balance of the two. Quiet space when folks need to focus and social space for other times. Having private offices and half the team working remotely doesn't affect socialization. We just tend to have better separation between the two so that they don't blur into each other or impact others who are trying to stay focused.
I'd suppose it's a fairly easy way for ordinary people and small investors to subvert capital controls.
A visual barrier may be needed also if you've got people roaming around. At one place we had large black fold out cardboard pieces to alleviate that. Was kind of absurd, but better than nothing.
Wouldn't notice if you didn't say it :) Tx
If you're apologizing for being meta and off topic you could also just save your comment for when it's on topic.
It seems that V3 is mature enough to not need daily PRs to fix bugs.
I am intimately aware of the prosecutorial aggression of the Solano County DA.

There was a young father who worked at the sugar factory that lived in a poor neighborhood. The owner of the house next door had rented it to ex-con meth addicts who liked harassing the mother when the father wasn't home.

Calling the police in this area didn't work because they wouldn't show up. The young man had a felony on his record for doing donuts then running from the police as an 18 year old which precludes him from owning a firearm legally, but out of fear for his family he purchased one.

On a particular bad day three men were stalking the house with his wife inside, he rushed back from work to find them harassing her on his lawn. One looked like he kept reaching for a gun behind his back.

The young father got his firearm and told them all to leave (note the police won't come at this point). The man with a "gun" gets more aggressive and as things escalate, during another sudden movement, the father shoots him once in the side.

Now that a gun has been fired the police come. The man dies on the front lawn. The officers, aware of the degree of harassment, tell the father that he was justified and that it will be okay. They all file reports to that effect.

The Solano County DA prosecutes the father for the manslaughter and felon in possession of a firearm. As a leveraging tool the manslaughter charge is dropped but the felon with a firearm puts him in the penitentiary for 7 years. He had a 6 month old and a 4 year old when he went in.

The Solano County DA knew they could win so they did, there was no benefit to the community. Solano is full of poor people that can be easily victimized, it's a heartbreaking environment.
You can just as easily say that banks were giving out loans they expected to refinance in the coming years.

That is, I find it misguided to fault people for defaulting on loan without faulting people for aggressively pushing people to refinance.

The cost of the system failure is being pushed to the people with the least control over it. I'm not looking for punishment. But responsible stewardship of the system controls would be nice.
Free/Open Cyber Threat Intelligence IPs
At one point, I got a large coffee, about 20oz, from a shop in San Marcos, TX. After finishing it over 15 or 20 minutes, I found myself with a full on stimulant overdose: dizziness, sweating, confusion, irritability, shaking... It took me a couple of hours before I would have felt safe driving.

I am a caffeine addict, at about a pot per day at the time of this story.
One of my ex-coworkers who just recently left told me the reason he left was that he'd been here long enough to see all the cracks. Is that really something that's impossible to escape?
One thing that that would bother me in that situation is I do not enjoy doing work on laptops. I prefer to work from a desktop where the monitor (1) reasonably sized, (2) at eye level. I also prefer a full sized mouse and keyboard, as I feel handicapped by a trackpad. Most quiet places do not have this, so I am effectively chained to my desk, where my desktop is.
The Inside Story of BitTorrent Inc’s Collapse
Watch your volume levels, though, if you're listening to music. A few years' worth of listening to metal with noise cancelling headphones trying to drone out the noise has probably contributed to the slight tinnitus I'm having.
I think part of the difference for me as far as the atmosphere in a coffee shop (for example) vs an open office is the office has voices you recognize and listen to.

If a voice I recognized said something in the general drone of a coffee shop I'd be momentarily distracted while I turned around to see where the voice came from.

In my current open office I find myself working to filter out what people are saying a lot more than I would in a setting with the same amount of noise, but nothing concerning me.
Now that's awesome to hear! Can't wait to give this a go for making an Android app on the next occasion that pops up
I don't mean to defend Mongo here, but as a counter argument to the broad principle: Ubuntu doesn't ship with iptables blocking all incoming connections by default. Should it?
I totally agree that EV certificates don't work. I know the difference between EV and DV, but I'm glad I don't have to rely on that knowledge very much. I don't trust myself that I would notice if an EV site would suddenly have a slightly different looking DV-style lock icon. I don't even trust myself to remember which sites use EV in the first place.

As many other commenters here, I mostly rely on password autocompletion. If autocompletion doesn't recognize the site, then I'm extra careful. The point is that this is rare enough so that it is actually feasible for me to be careful on those occasions.
People are trying to pull their money out of China, and in the process need to exchange Yuan for foreign currencies. China does not like this, because it causes inflation among other things, so it puts restrictions on exchanging Yuan.

https://www.bloomberg.com/news/articles/2016-11-30/china-sai...

Bitcoin is a way around this. If you are Chinese and can afford big clusters of bitcoin miners, you can mine bitcoin and exchange it for people's Yuan at a higher and higher price, driven by demand to pull money out of china.
Well, like a decade ago people would illegally download software with titles like "The Sims 3: Katy Perry Sweet Treats" (unfortunately not making this up) and buy or otherwise obtain the 3rd party guidebook. I just read how to max out your house score in SIMS right out of the guidebook and it had those hints like listed as bullet points, which even back then made me LOL that SIMS3 gamified mcmansion design.

And I remember it a decade+ later because it pissed me off quite a bit that hardcoded into the game software was the value judgement that a mcmansion was superior to my designs for log cabins and castles. What do you mean my sims characters will suicide if I don't put a bay window in my log cabin, this game which had promise is such BS. Well maybe I didn't expect much from the "Katy Perry Sweet Treats" add on but I expected better of the original.

There are aesthetic value judgements built into sim games like Dwarf Fortress but they're weird enough that they don't feel as constraining.

People were wasting time building useless things in computers a long time before minecraft, after all.
FWIW: I instead started organizing my workspace in the GOPATH layout (that is, I have GOPATH=~ and put a C project cloned from github.com/foo/bar at ~/src/github.com/foo/bar too). It also helps knowing where $random_repo was cloned from. YMMV