skysight-inc/HackerNews huggingface dataset:
For actual careers advice from real people, not the looking-back-from-my-yacht type, try https://www.somewhere.com.

Yes, I'm the founder, but this is what we do best - asking questions about work and getting responses from people who are right there, right now, e.g.

https://www.somewhere.com/provocations/latest
1) Knowledge of the space is good, but can be learned while implementing. You'll need to know the language pretty well, in order to keep the line count down.

2) It's fun
I have. The officer was following me for awhile, and he claimed I started changing lanes to get off a highway before I turned my signal on, which probably had some truth to it. My tabs were about 6 months out of date (it just completely slipped my mind), and I had heard they can't stop you just for that, so I assumed it was just an excuse to pull me over.

When he got to the car, he claimed to smell a large amount of alcohol on my friend and me. It was like noon on a Saturday and we had not been drinking at all. He asked me to get out and do a sobriety test, which I did and passed. After that he just gave me a warning for the tabs, which I was not expecting considering how out of date they were. He never mentioned the lane change again after he first said why he pulled me over. Full disclosure, I'm white.
The first and third are far easier to do if you are not black.
Because the police told us! And I'm also pretty sure my friend was told the same when he was at the hospital.

I should have left the part about the paramedics out because it's not really central to what I feel is important about that story -- that our laws exist in a way that makes drug users afraid to seek medical attention. I don't mean to malign the paramedics, and perhaps my perception of their behaviour was off since it was a really traumatic night for me.

You're free to believe me or not. With regard to the Naloxone thing, I told it that way because that's just how I thought Naloxone had to be administered... I guess I've seen too many stupid movies (Pulp Fiction in this case, perhaps). If you knew the full context of what happened it might make more sense. My friends had never done heroin before and I've never around people who do it either, so I don't know anybody who carries around Naloxone.
Just to add to the GP, this would break any cryptography algorithm that one can run on a classical computer.

Currently, quantum computers are believed to break only our most used algorithms, not all of them.
see also: https://news.ycombinator.com/item?id=9921557
Quantum computer can be simulated by classical computer with exponential slowdown.

Here are some quantum computer simulators: http://www.quantiki.org/wiki/List_of_QC_simulators
"Papers please"
Off-topic: how did the e-ink menu concept turn out?

I feel that a lot restaurants that change menus frequently pride themselves on printing new menus every day. When you get the menu, it seems to reinforce the idea that everything - the menu, the ingredients, etc. - is fresh. Not sure that holding an e-ink reader that's been handled thousands of times by others would give the same feeling, but maybe I'm wrong?
At this point I feel bad for Scott Aaronson. Everytime a crackpot paper comes out (and I'm 97% convinced at this point this is one of them) he takes the time to refute it on his blog.
Nothing about this adds up. The video is flawed during both the arrest and around the time of death. Given her activities, saying this warrants further investigation is a gross understatement.

The willingness of police to label death a suicide never ceases to amaze me. I was on the beach down in Florida a few years ago and found a dead girl with her hands tied. Cops showed up and immediately assumed suicide. Turns out she had drug issues and had a history to support the assumption, but no reasonable person would approach a situation like that with such strong priors.

I'm not saying every crime scene is out of a Hollywood movie with a serial killer lurking in the shadows, but I would have really liked to see zero prior beliefs at that point. I'd sleep better knowing the people out there in charge of "serving and protecting" the general public viewed their occupation as a search for truth rather than some perverse version of The Office with guns.
previous discussion: https://news.ycombinator.com/item?id=9929177
Yes, and ticketed. A Houston PD unmarked car cut me off in traffic and I switched lanes to avoid their car. I was ticketed for "Changing Lanes Not in Safety" by another officer who was following.
Never put down to malice something that can be attributed to stupidity or bugs.

Far more likely the recording software is crappy and sometimes skips back a second or two.

The problem is whatever they released, people would start picking apart and launching conspiracy theories about.
Hm, limiting the frontpage stuff could be an interesting twist to links aggregators.

For example, only drop things off the frontpage, if nobody made a comment for 24 hours. Obviously, this builds up a queue of content. Now we could let people vote on these for ordering the queue, but comments are only allowed for frontpage stuff. Hm, sounds very similar to plain old web forums, though.
A lot of the posts here focus on content. I would focus on process. Since you're new to the job your head WILL be spinning, so it's important for you to setup a way to work through the "newness".

Bring a notebook and a timer. Understand what your immediate report's expectations of you are and then set up a schedule for yourself to help yourself meet those expectations. I'm assuming that since it sounds like you're new/junior hire, the expectations, at least initially, will be low. Use this time to create a rhythm for yourself on a hour-to-hour, day-to-day, week-to-week basis so that you yourself can see your progress and understand what you're doing.

Nothing is more discouraging than being pumped for a job, putting in a lot of hours, but not really realizing where the time has gone (which was my experience initially) with very little positive results to show for.
Instead of teaching kids how to code at school we should teach them law and what police officers are allowed and not allowed to do when pulling you over or showing up on your property, etc.

I have no clue if the cop was right when he said that he has "every right" to ask her to put down her cigarette and step out of her car. Cops pull this shit all the time betting on the fact that citizens have no f-ing idea what they actually can and can't order them to do.

"I will light you up!", just for that this guy deserves to be fired.
Honestly, I think a good IRC channel is probably more what you want than a website.
I've been really happy with its bundling of information. Taking a trip soon. Booked a flight for me, a flight for my girlfriend, a car, hotels on various nights across the vacation period, etc.

Google grabbed all the info and bundled it, put it onto my calendar, and into my email in a specific place. Saved a bunch of trouble, now I have reminders on my calendar of when I check in, where, when and where my flights are, etc. And it will tell me when its time to leave for the airport, though I find this last thing a bit buggy as it will tell me when to leave as if I wanted to arrive at the airport at the time my flight leaves, and not an hour before (minimum).

I'm really enjoying what Google is doing to make my life easier.

Previously, I would have manually moved each email into a trip folder then spend time adding each item to my calendar along with confirmation codes, etc. That takes a while.
I wrote about why I opted not to open source my failed startup (and there was some lively HN discussion around it):

https://news.ycombinator.com/item?id=8641867

Eight months later, I still think it was absolutely the right move. Don't get me wrong, I wish the project could have lived on. But I sleep much better at night knowing I didn't open myself up to any additional liability or feeling inadequate for not having the time to spend helping others do something worthwhile with the code.
You are correct Playframework still does too much for the most people, however we are using a lot of things from the framework, basically json, forms, templates, the new DI layer, the ws library (which still is not usable on spray :(:() and the plugin layer.

Mostly I think we could easily switch to Spray, however currently I really liked Play in his current version.
It's a cool hack, but only useful for fast startup just at this point. It can't do network sockets (for obvious reasons), or things like gettimeofday or even fds just now.

Reminds me of a Lisp image dump.
If you get (illegally) pulled over by the (racist) police, what should you do? Submit to their power trip instead?

Given that there's a lot of questions about the audio in general, I'm not sure how nicely he really asked - the entire veracity of the audio stream is under question here: the video skips around but the audio doesn't. That certainly lends credence to the "he was being nice" argument, except for the part where the "nice" could well have been added in post-processing.

Ultimately, a racist institution staffed by racists most likely murdered a woman whose only crimes were (a) not signaling to pull over after the officer signaled her to pull over, for some other reason, and (b) not being polite to the officer in question.

Until and unless you show me that police deserve politeness, the only reason to be polite to them is "because otherwise they may kill you". That is not only f'd up, it's literally terrorism. As in: these acts make us terrified and we are less likely to resist their authority. So, yeah.
For anyone who is interested in a python version with inferior plots I have a notebook here:

http://kastnerkyle.github.io/posts/linear-regression/

Closed form is at the bottom, basically invalidating the whole rest of my post.
Maybe you're right... maybe it's my own bias since the only times I've interacted with police have been positive.

Maybe if you're stopped regularly, then it's hard to keep your temper. It'd be interesting to know how many times she'd been stopped in the past.
To be honest, I'd be alright with that as a consumer.
Great, thanks! I'll check those out.
Way to miss out on the past decade of Bond films, then?
You seem to be redefining a political philosophy into what you think it should mean. Anarchism did not start 2000 years ago. Anarchism is pure post-enlightenment, although like most philosophical thought, precursors are seen and inspiration is taken from Greek, Roman and religious/Christian sources.
My experience with Coin and why it will ultimately fail
There are also real, documented, movement for men's rights, for example fathers rights organisations.

the fact that you'd make that comparison is, I think, extremely telling.

Could one not argue that it is telling us that there is a need for such organisations, and that the privileged mainstream prefers not to address such issues, because it would have to give up on some privileges?

As an aside, what is the reason that you mention the suffrage without mentioning that the suffrage movement did not campaign for women being included in the draft, when the only non-sexist resolution of the conundrum would have been (and still is) to legislate that suffrage should be given exactly to those who are subject to the draft? In other words, why did you omit mentioning this outrageous and still ongoing basic sexism of the suffrage movement?
The "tricky bit" is not in branching out, it's in collapsing back down to determinism again.

When you do your measurement at the end of the process, if you have a mixed state you'll just pick one of the "parallel computations" -- you can't just "pick the best one". Put simply, it's like a nondeterministic Turing machine that branches randomly instead of taking "all paths at once."

Where quantum computers are meant to get their extra power is in what's called "destructive interference". The idea here is that there aren't really classical probabilities associated with the computation branches, there are complex "amplitude" numbers that square to give probabilities. When your computation is laid out in the right way, you want the amplitudes of the "bad" paths in the computation to cancel out, so when you take a measurement at the end all you're left choosing between are "good" paths.
"Someone asked kindly for her to put it out, and she went full rant in return."

Which is not illegal. If she has the right to smoke, he has the right to ask her to stop and she has the right to say no.

"If you get pulled over by the police, starting an argument and forcing them to escalate things isn't the best idea."
Yeah, much better to let them do what they want, bully you and find something to arrest you and meet their quotas.

One should not get arrested for being rude, being rude is a fucking right, period.
Wait, so when Theo says 'Some BPF-style approaches have showed up. So you need to write a program to observe your program, to keep things secure? That is insane.'

That is fine and dandy, but when someone criticizes Theo's work in the same scornful manner, it's suddenly 'narrow-minded', 'willfully ignorant' and part of a 'vendetta'.

Pot meet kettle.
Because databases are a very poor fit for APIs? This is one of my biggest problems with high holy REST: it generally just means reimplementing your SQL API in HTTP semantics.

APIs should be about encapsulating business logic. Databases should be about storing data in a reliable, predictable way.
Pattern Matching Syntax Comparison in Scala, Haskell, ML and OCaml
So you really think that all of the people recently murdered by police officers would be fine if they had just "behaved"?
Evaluating MySQL Parallel Replication Part 3: Benchmarks in Production
I seriously don't understand why such complicated parking rules are needed to begin with? I can understand a single (e.g. 9-5) set of times for Monday through Friday and a separate one for the weekend, but such more complex ones as I see it serve no real purpose other than ticketing people who have trouble interpreting the signs.
Hi, we currently support approx 270 London postcodes. Croydon is there as I can see properties for buy and rent. Would be keen to hear your thoughts after using it for a couple of days.
Quora seems dedicated to the age-old question: how many ways can we ask the question of how amazing Elon Musk is?
Are you in this list?
You'd be surprised. The profile (no pun intended) of these types of blades have gotten has gone up a lot, but the actual number of hand made items hasn't really increased much as a result. They're expensive, and if you're not cooking a lot, or a very serious hobbyist, then you're not going to want to take on the burden of care that a knife like this requires.

The flip side of that is that the production of this kind of knife is not something that's easily done at scale, while keeping the standard high. However, there are ways to get a similar aesthetic, without the same demands on the worker. That's where you get things like Global, Shun, Mac etc (and to a lesser extent, Tojiro and their ilk).

TL:DR - lots of this style of knife exist nowadays, but the number of handmade items is still small.
Did anyone ever tell you that you lack the basic human trait of a sense of humor?
Shows like CSI give the impression of infallible police with perfect tools to solve crimes but that obviously just is not the case. More than half of murders go unsolved (and that doesn't count the ones nobody realizes are murders) and we're seeing lots of evidence that innocent people end up being punished for them often enough.
My wife and I have occasionally entertained the thought of moving from rural NJ up to New Paltz. Seems like a cool town when we visit. Not interested in bringing my family and my tax dollars up to a town with an overly large police force with not enough to do though, so thanks for the comment.
Wow, this project is moving fast:

* Support for the PROXY protocol

* Support for cache-based and ticket-based TLS session resumption using Memcached (and forward secrecy)

* Experimental mruby Handler

Embedding mruby is an interesting choice. Is anyone known to be using this in production yet?
I have not, but I know people who have. They were all pulled over after finishing a bar shift by police officers waiting for people to leave the bar and make a mistake so they had an excuse to pull over a possibly impaired driver.
Column for Programmer Cameron Howe
A mess is a mess, true, but some are easier to clean up than others.

GP is correct. Methods for scaling/optimizing the application layer are clear and well-known. Scaling the data layer is a huge challenge. This is why the market is filled with snake oil databases promising linear scalability and perfect consistency/reliability, etc.
A collaborative graffiti wall built in HTML5
> You can ask if it's a question or an order.

That sounds like excellent advice if your goal is to get executed.
So what would be a practical solution here?

This seems like a case of "unchecked power" to me. I am baffled how this prosecutor does not get reprimanded or dismissed given the seemingly obvious evidence that she intentionally did the wrong thing here.

The damage that her choices did to this man's life are shocking and inexcusable, and this kind of behaviour should be terrifying to everyone, law-abiding tax-paying citizens included..

I get that in the end, "the system worked" and his conviction was vacated, but meanwhile this poor man sits in jail, for years? That's horrible.
> the obesity crisis ain't happening in cities.

It ain't happening in the wealthy areas of the city. Travel to the areas of low economic status and social mobility, and you will indeed find that obesity is a major problem. This really has to do with the fact that in most cases, rural and low income areas of cities are food deserts, so residents are forced to eat fast food and low quality meals from places like corner stores and bodegas. Continue on with the superiority circlejerk, however.
> CHECK constraint violated is no good for humans.

Well, sure, an application should respond to DB errors by presenting appropriate messages on the UI, just like any other errors it encounters. You should only see "CHECK constraint violated" if you are bypassing the app and using the DB. Otherwise, you should see something nice provided by the app.

> Why shouldn't I enforce unique constraints in the application?

Because you should do it in the database whether or not you do it in the application, and then once you have, well, DRY.
The sad thing is that the deterioration of professionalism among police forces has led to the world that paublyrne described. I mean... in practice... for a large number of Americans... it already IS a world where "strong, the violent, the aggressive, triumph over the vulnerable". It's just that the "strong, violent and aggressive" are police, or gangs, or your occasional supremacist.
I feel bad for certain demographics in the US... but don't really have any sort of realistic solution for their issues. I just wish it wasn't this way.
I suppose the sim part could be done via bluetooth to the phone in your pocket. Airtime could be minimized by only uploading after hitting the panic button, so even if they notice the camera and confiscate the physical recording, you've got something up to the cop reaching for it uploaded.
Thanks Cg123. Speed and ease of use is what we are going for. Stay tuned as we are always updating the app with new features. Currently our news feed model is only available to logged in users but we plan to expand this to users who choose not to sign up. We really want people to stop running searches and we push properties based on previously run searches.

Appreciate the kind words.
Canadarm: a JavaScript logger that works for you
A blog post with more details can be seen here:

http://engineering.cerner.com/blog/javascript-logging-we-can-do-better/
>> It looks like they want to hide something.

I usually take the side of the cops, but this whole thing is pretty sketchy.

First, she gets pulled over for an improper lane change. When was the last time you got pulled over for something so random and minor? Then the cop starts harassing her to put out her cigarette, then tells her to get out of the car, then threatens to tase her, then the officer leaves out may of the details of the arrest in his report.

Then she dies in an apparent suicide days later. And now, we have a poorly edited video of the incident.

None of the facts in this case add up at all.

So yes, it would seem they have plenty to hide and this video only adds fuel to the fire that they're covering something up.
> you make lots of shots, and some of them go in the goal

That's not iteration, that's banging your head against a wall and praying for a miracle. Iteration implies methodically and continuously moving towards an optimal solution, not heading back to the RNG after each failed attempt.
I feel dirty up voting a joke, but it's pitch perfect.
Can we reintroduce þorn and eð?

Þeo ðus þinks ðis þick þistle's þorns þreaten Thomas' þumbs.
You have to leave America. Permanently. Where do you go?
You can see a blog post in more detail here:

http://engineering.cerner.com/blog/javascript-logging-we-can...
Intel 80386 Reference Programmer's Manual
I'm joking, but it hits a little close to home because all of us have done that before. You're at the end of your rope and just need this thing to fucking work and you'll deal with the "why" later. For now, x = x works dammit, and it doesn't matter why. Meanwhile the console is filling up with all of your variables being printed out because you couldn't figure out where the value of x was being corrupted.

The next morning you switch to functional programming and forget that day ever existed.
Because politiks.
WebSphere Liberty Now Java EE 7 Compatible
CKAN 2.4 released
I've been meaning to buy that book for a long time, thanks for the refresher :)

I've found that there are way more books for "greenfield" software development and not so many books for what 60% of people actually do (maintaining other people's projects, legacy or otherwise).
Bollocks.
If your database schema changes right at the heart of the data model, a load of unit tests are not going to save you from some serious hassle.
Well, judging from my experience...

- failed startups don't just stop, they go into administration and get auctioned off, which means someone else owns the IP.

- proprietary source usually contains licensed copies of other people's source, and sorting out who owns what and what's safe to release requires a surprising amount of time and money.

My previous place had a tonne of interesting IP, all of which is now owned by a VC company who will never, ever do anything with it. I'd have liked to open source it if we could have, but it was a total nonstarter. shurg
Early 2.6 and late 2.4 MongoDB binds to 0.0.0.0 (instead of 127.0.0.1)
By "deal with this" I meant "deal with the fact that researchers have giant blind spots about the ethical impacts of their research."

I don't expect Joe Random to know to contact these guys' IRB, when they likely don't have one at all.
JCache, why and how?
Why are the prices so insanely high? I can get Linux onto a kindle and poke that for under a hundred.
The paperwork that showed the work order for placing the signs.
We Asked If Remote Working Was Sustainable and You Wowed Us
people deserve politeness.

I'm not convinced the police force in the US is that racist. The majority of crime is committed by Black people. Are the statistics racist? He seemed to be a polite police officer to me.

The police kill more white people than black people. But you don't hear about the white ones, since they don't fit with the "scare the public" media agenda.

Also check out the stats for murder - the number of blacks killed by whites - very small. Whites killed by blacks, again very small. Whites killed by whites - pretty small. Blacks killed by blacks - completely dwarfs the rest. Sorry can't find the source for that at the moment... But if you want to stop black people being killed, you need to look primarily at black people to stop killing them.