skysight-inc/HackerNews huggingface dataset:
This is crazy.
I recently stumbled upon the numbers for gun-killings by German police, I can't believe how much these numbers diverge:

https://de.wikipedia.org/wiki/Waffengebrauch_der_Polizei_in_... (Second column is "number of fatal shots", third is "total number of shots fired at people")

Of course, the USA have 4 times as many inhabitants and the German numbers are only related to gun-killings, not other methods. But still, they are in a completely different dimension.
If the research misconducts are from Japan, China and South Korean, they would immediately become the top news in the major media in USA. If they are from Western countries, well, most of them didn't even get mentioned in the same media. That is how unbiased these media are.

BTW, I am not even talking about Fox News and alike. NYT, you are in the list. The journalistic integrity of your articles has been dropping like a rock.
On a related note, Shinichi Mochizuki has been speculated to be Satoshi Nakamoto.

http://www.forbes.com/sites/timworstall/2013/05/19/ted-nelso...
the FDA grants a de facto monopoly right to anyone bringing a drug that is unpatented but out-of-testing standard to updated fda safety standards, by preventing competitors from advertising.
It's not backwards.

I think that reveals that the names really do have a problem. The problem is that "encode" sounds like "make this Unicode" to people who aren't familiar with Unicode.
> No matter how I look at it, I can't see any net good for voters when public employees unionize.

The benefit goes to the workers (not the voters, except inasmuch as the workers form a moderately large part of the voting public). The private sector consists of many organisations, while in the public sector there's basically a single employer and the employees NEED to unionise to bring about a balance with the powers of the employer.

Put it another way: imagine someone saying "I can't see any net good for voters when public employees aren't indentured slaves". Sure, the voters would get better value from public servants who didn't get paid and could be whipped into working faster, but that's not how we want to run society.

It can be incredibly frustrating to see unions fighting against progress and protecting their own against reasonable discipline. I'm not some union advocate (I'm a non-unionised private sector worker) - it would be great if members could take a more temperate line and bring their unions to a more reasonable position. But what the unions ARE isn't necessarily about bringing about ideal outcomes, it's about sheer exercise of power to fight the corner of their members.

The argument in favour of their existence is that it wouldn't be reasonable to prevent them, risking exposing their members to exploiting by power in the opposite direction.
> Open Emojoy.

FTFY:

> Open Emojoy. In Chrome.
I'm getting tired of this argument, we had it in the Rust community as well and I was tired of it there, too. I've seen the same argument over and over again, and every argument had the same hole that I see in your post: What, exactly, is a "character"? Please answer me that, and then you can write a proposal for how the API should work, exactly, and why this works with Indic and German and Korean and everything else.

Strings have to be arrays. It is inevitable. We are on Von Neumann machines with L1 cache lines that are something like 64 bytes wide, so making strings into something other than arrays is a complete non-starter. Because strings are arrays, we use array indexes to slice strings. The indexes are integers, because that just makes sense on a Von Neumann machine.

So your complaint is that you can slice a string in "bad" ways. What makes it bad? You're trying to prevent people from slicing up grapheme clusters, which is a noble goal. But in practice, we get the indexes from methods like str.find() or re.match(), and we treat them as more or less opaque, so we don't end up slicing grapheme clusters very often in practice. Grapheme cluster slicing requires a big Unicode table in memory anyway, so in the rare case that you need it, you can pay the high performance cost for using it. In the meantime, formats like JSON and XML are defined in terms of code points, so using code point arrays eliminates a class of bugs where you could accidentally make malformed XML or JSON, which would then get completely REJECTED by the receiving side, causing your Jabber client to quit or your web browser to show a bunch of mojibake.

And let me ask you this: what do I get when I write:

x = "a"
y = "\u0301"

Is the resulting len(x + y) == 1? But len(x) == 1 and len(y) == 1? Can you tell me what the correct behavior is? Might you end up with bugs in programs because len(x + y) != len(x) + len(y)? Or do you introduce extra code points into the string when you concatenate them?

Please, tell me what you actually think is correct behavior. It is far, far more useful than pointing out that something is "wrong" on purely semantic arguments.
I'm fairly new to Python (within just a few years of my first use of it) but have already been hacking at some Py2 apps to update them to Py3 because, well, Unicode. Much (not most, but much) of the random code I've tried to run with Py3 works without actual code modification beyond import statements.

Two primary exceptions: byte/string encoding in Py2, and print. So much of the Py2 syntax works without change in Py3, and while I wholeheartedly agree with "print('foo')" as the proper way to print something, "print 'foo'" is littered all over the random Py2 scripts I've found in my travels.

I am, in fact, converted to print(), for the record. The first time (in Py2) I tried to extrapolate what I learned about (asterisk)args, I attempted to do this:

print *df.columns

Whoops. Then came Py3:

print(*df.columns)

Huzzah! Instantly converted.

(edit again: Can't seem to get that asterisk to work without a full-on space)
I think the reason is that it's basically only now that Linux distros are starting to ship Python 3 as the default. When RHEL, CentOS and Debian moves completely to Python 3, the rest of the world will follow.
While I also spend my day compiling packages [0] -- well CROSS COMPILING packages, and the worst problem I have, bar none, is autocrap.

Not only is it a giant pile of poo to try to 'repair' when it invariably does something the wrong way (like trying to fish my host's headers), but when compiling a distro, it's also the single tool that takes the most io/cpu of the host; forget compiling C++ - when you add up the zillion's time autocrap tries to see if I have strtok() in my C headers (hint, I do, since 1991); and then doing it again, over and over and over and over, the /compile/ time becomes rather negligible in comparison to the /autocrap/ time (especially on a modern host with -j12).

The thing is, in MOST CASES you could do it all with a page of gmake. pkg-config and all that are excellent at removing the need for autocrap. gmake has made heaps and bounds at simplifying what used to be the nightmarish Makefiles.

[0]: I'm the author of https://github.com/buserror/minifs
I've been using Fieldbook a little bit, and even playing around with their API.

It's a great product I'm going to use more. Big fan - there have been several side projects where I've wanted to use Google Sheets as a prototype DB - with the simpler API and better relationship model, I'm going to use Fieldbook from now on.
This looks great! I've been on the hunt for a good CMS-as-a-service and have been a bit disappointed by the current options. Does fieldbook handle image uploads? Any other caveats for using this as a full-blown CMS?
Firefox Users Can Now Watch Netflix HTML5 Video on Windows
I know Americans love their guns and I don't want you to amend your amendments, but you almost made an interesting point, just changing the 2nd part in your sentence:

> It's amazing that we've improved vehicle safety in the last 60 years, yet there's no progress in gun violence.
And what are the usage limits?
Reminds me of a lecturer I had in a neuroscience class that informed us that "no one really checked whether all neurons had the same constants as the ones from the giant squid, but just assumed they did" (or something similar). Apparently anyone who thought of it assumed that something so blindingly obvious would already have been examined by someone else. It took decades before the error was found.
Show HN: Nestor v2 – A Programmable Slack Bot Platform
Trying hard to get the next meal... If getting a meal is s being successful then I think we have very different definition of success.
I'm not looking forward to a future where I have to "act natural" while typing in order to access my personal accounts.
C.R.E.A.M. by Wu - Tang addresses this. The song is about how they went from being drug dealers to preaching to kids how gang banging and drug dealing isn't the way. They made a lot of money doing that too, deservedly so. Corporations and cash for that matter are not inherently corrupt. My point is if people really listened to Wu - Tang they wouldn't be corrupt drug dealers even if they sold legal drugs.
Perhaps Pinky can now stop asking Brain what it is they will be doing tonight!
I haven't claimed a strong point. Neither have I said anything like what you are implying I've said. I've only tried to clarify my previous comments at which I seem to have failed.
Source? AFAIK Vance's biography was authorized and they're on good terms.
PEP3003 was a moratorium on language changes in order to allow alternate implementations time to catch up. This meant that Python 3.1 and Python 3.2 didn't include any new language features. Releases since the moratorium ended have been much more compelling, IMO.
Can multiple people edit the same spreadsheet at the same time? If so, are their changes displayed live?
We love using Fieldbook for CMS use cases. We think the public API coupled with public posts is a great fit for the API, too.

We don't handle image uploads yet. Definitely something we want to support in the future. Of course, you can put urls in the cells and build things that way... Definitely something we want to improve in the future :)
> I've used autotools for decades because everything else is worse.

I take it you've used CMake - could you explain in which ways you think it's worse than autotools? I agree it has concerning design flaws, but they don't come anywhere close to autotools' and I'd say CMake is overall dozens of times saner.
On the contrary, I mentioned 'substantiated hypothesis'. Comprehensive experiments are how a hypothesis becomes substantiated. There's no other way. And you rudely accuse me of not reading.

Even with an enormous and indefinite number of validating experiments, a theory is still provisional. There is no forever truth. For example consider Newtonian physics. For the 200 years until relativity and quantum mechanics were invented it was the best game in town. 200 years of experiment is pretty comprehensive. We can do experiments today that support Newtonian physics. But it was never 'true', because if you look very, very carefully you can find examples where it doesn't work.

You can not prove things true in science (unlike math), you can only disprove them. Things that resist disproof are held as provisionally true until we know better.

So: there is no moment when you "finally know what the truth is". Hence my disagreement with your post.

Scientists know what the truth isn't. There's a T-shirt slogan for you.
I wish we'll have assembly.academy someday. One of the poorly documented art as shell.
Memory as a Service
Very proud of you.
Author here, happy to answer any questions, here's a video demo of how it works: https://www.youtube.com/watch?v=ZuJAFkgWMPw
The paid tier right now offers a couple of things, mainly focused on business administration. In particular, the ability to manage accounts in your organization (remove access once someone has left the company for instance) and priority support.

More here:
http://docs.fieldbook.com/docs/plans-and-pricing
MySQLdb has other issues besides Python 3 support. It's no longer maintained and hasn't been updated in quite some time. The Django documentation (and I) now recommends mysqlclient-python, which is compatible with systems that rely on MySQLdb

https://github.com/PyMySQL/mysqlclient-python
I was responding to fizzbizz, not the original article.
Exactly, so you can express intent with the tag ("this is a major heading") and presentation with CSS ("and it's in Times Bold 24px").
I had the same experience.

I love love love printf() and it's ilk, so switching to something else (no matter how well designed) seemed asinine at first.

But .format() has really started to grow on me and did uncover some subtle bugs in old code.
We want you to use Fieldbook as your database, so we don't limit the number of api calls or books you can have in Fieldbook! (we hate when you run up against an artificial limit and have to scramble to get your product back online). :)

We don't scale as far as we want to right now. For a good experience, we're limited to about 10k rows in a book. Definitely something we want to improve a LOT in the future.

More info here:
http://docs.fieldbook.com/docs/data-size-limits
No mention of Eddie Cue? He was previously in charge of the store, right?
related: Le Cordon Bleau's US cooking schools are closing down:

The company cited "the impact of the federal government's new regulations on career colleges" for its decision, referring to "the Obama administration's gainful employment rule, which cuts off federal financial aid to schools where graduates borrow money at high rates to pay for school but earn little after graduation."

http://www.eater.com/2015/12/17/10401492/le-cordon-bleu-cook...

Though I would expect trade schools to continue flourishing...
So does the Romanzo Criminale series
http://www.imdb.com/title/tt1242773/
am I the only one bothered by this? As a bit of a disclaimer, I am disgusted by what Shkreli is doing in the pharma business (if anyone doubts this, I run a nonprofit dedicated to the opposite of what he's doing).

But what it says is that the SEC is motivated by sometimes petty reasons to go after people that are indirectly related to actual commission of SEC violation. Which of course, every CEO makes pretty much every business day. If the SEC were neutral, why didn't they find and eliminate Shkreli before social media got all hot to trot on hating him? The SEC is basically saying, well, he's unpopular, we have the power to take him out, let's do it.

Something about that seems wrong to me.
> Disagree. The original commenter is correct in saying that the naming scheme is not obvious. Something like to_bytes(encoding) would be a lot more clear.

But then function would do something completely different. "\x01\x02".encode('zlib') for instance is a bytes to bytes operation. The problem is that "foo".encode('utf-8') does not give you an exception. If the coercion would not be enabled you would get an error:

>>> reload(sys).setdefaultencoding('undefined')
>>> 'foo'.encode('utf-8')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/Cellar/python/.../encodings/undefined.py", line 22, in decode
raise UnicodeError("undefined encoding")
UnicodeError: undefined encoding

That's not any worse than what Python 3 does:

>>> b'foo'.encode('utf-8')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'bytes' object has no attribute 'encode'
It is funny in an article about the difficulties of finding safer ways of handling guns, it is attacked in the comments for trying to talk about gun safety. You can not just say guns are only unsafe in unsafe hands but not allow research and regulation in to gun safety to figure out why. Cars benefited from research and regulation and guns can too.
A secret catalog of government gear to spy on your phone
People shot dead by police this year
Cox Loses in Willful Infringement Trial  – Owes BMG $25M for Users' Piracy
November 2015 was warmest November on record
Yep! Definitely. We don't (yet) show cursors and who is connected like google docs does, but you do see changes replicated to all windows / users in real time. You can even see your own real-time changes from API calls in realtime while looking at your book.
Cox was accused of knowingly reactivating accounts of repeat infringers in order to maximize subscriber revenue. A federal jury in Virginia agreed today, holding Cox liable for willful contributory copyright infringement.

Will substitute a non-paywalled article when one becomes available.
> This could be asked of any form of discrimination.

I'm not sure what the objection is to that ?
Just use a fuzzy finder a lot and it's pretty easy.
The point I'm making is that prices are high but we are getting valuable things in return for high prices. I.e., we pay 5x the cost for 10x the value. Prices are high not due to inflation or someone getting ripped off, but because we want to buy awesome yet expensive things.

I.e., what I'm disagreeing with is the contention that "medication and care where you live is too expensive".

(Jacquesm is also assuming I lived in the US last year when I had my surgery, but in fact I was homeless and spent most of my time overseas.)
Congress quietly ends federal government's ban on medical marijuana
Similar to what UWaterloo Prof. Larry Smith says https://www.youtube.com/watch?v=Titm4d1lt74
Even when you specialize, you aren't privy to the same sort of functionality or information exposed to the inner circle of lead game developers, so you have to spend a lot more effort to gain the same insights.
Really? I've been referred to as "sir" by sales individuals for quite a while, even in my early-twenties. I guess it's a culture thing.
ICs are literal magic black boxes. The same-looking square can be the brain of a device, a stone that knows where it is, a full-blown radar[0], or just two capacitors and an op amp. And you can't tell by just looking at it; the only visual difference is in the magic runes written on the dark stone.

[0] - https://www.google.com/atap/project-soli/
The Absolutely True Story of a Real Programmer Who Never Learned C
JSON Web Tokens Signing Algorithms Overview
Let's not also forget string.Template ;)

https://docs.python.org/2/library/string.html#string.Templat...
> Bread, coffee, and tobacco were his staple intake

That would explain why he saw the world as swirly as he painted it later
Neat. How does this compare to Airtable? https://airtable.com/
Making Robots Conscious of Their Mental State (2002)
The amount of hydrogen produced is minuscule. The energy released is given by E=mc^2 where m is the difference in mass between the Deuterium and Tritium atoms and the resulting Helium atom and neutron. Even a hydrogen bomb doesn't create a significant amount of water (consider that it weighs a few tons, and only a tiny proportion of its mass is converted).
I chose to port from CPython2 to PyPy4, rather than to CPython3. It just made more sense.
I for one see no value in Python3 (unicode has been supported since 2.6). My reasons for migrating to PyPy4 instead of Python3-

1) It was easier than porting to CP3.

2) It gave me a tangible benefit by removing all CPU performance worries once and for all. Added "performance" as a feature for Python. Worth the testing involved.

3) It removed the GIL. If you use PyPy4 STM, which is currently a separate JIT. Which will be at some point merged back into PyPy4.

So for me, Python3 can't possibly compete, and likely never will with PyPy4 once you consider the performance and existing code that runs with it. PyPy3 is old, beta, not production-ready, based on 3.2 and Py3 is moving so fast I don't think PyPy3 would be able to keep up if they tried.

Python3 is dead to me. There's not enough value for a new language. I'm not worried about library support because Py2 is still bigger than 3 and 2.7 will be supported by 3rd party libraries for a very long time else choose irrelevance (Python3 was released in 2008, and still struggling to justify its existence...). My views on the language changes themselves are stated much better by Mark Lutz[0]. I'm more likely to leave Python entirely for a new platform than I am to migrate to Python3.

PyPy is the future of Python. If the PyPy team announces within the next 5 years they're taking the mantle of Python2, that would be the nail in the coffin. All they have to do is sit back and backport whatever features the Python2/PyPy4 community wants into PyPy4 from CPython3 as those guys run off with their experiments bloating their language. I believe it's all desperation, throwing any feature against the wall. Yet doing irreparable harm bloating the language, making the famous "beginner friendly" language the exact opposite.

I already consider myself a PyPy4 programmer, so I hope they make it an official language to match the implementation. There's also Pyston to keep an eye on which is also effectively 2.x only at this time.

[0]http://learning-python.com/books/python-changes-2014-plus.ht...
That's completely bizarre
I'm curious about why that was? From the graph showing the raam datapoints, there's a region with large gaps between points, and it would choose a track point that's well away from the original?

I've written some code to deal with this before (in my case, I wrote a distributed timer for cycle races, predicting current rider locations and gaps from sparse user reports). For me, finding nearest point on the segments of the polyline worked, but choosing only vertices would have made the time estimates terrible. Were the points somehow more fixed than that, eg towns/motels on the route?
Farther down, likely.
Can you share the link and the title of the video? I want to find a mirror.
Suicides definitely decrease with less access to guns, however many countries with gun restrictions have higher rates of suicide than the US (e.g Japan, S Korea, France, Belgium) [1]

Also suicides via firearm had been declining in Australia prior to any buyback. [2]

[1] https://en.wikipedia.org/wiki/List_of_countries_by_suicide_r...
[2] http://c5.nrostatic.com/sites/default/files/australia.jpg
Thanks. Based on what you wrote, all we have his uncorroborated hearsay about one conversation (#4).

While discrimination certainly takes place in the world, I think we're blowing this article out of proportion; we don't know what happened here.
Part of the lesson that was drilled into our heads in my MBA program as it relates to strategy consulting was to always start by understanding the goals and motivations of owners/management. The fact that you should understand people's motivations before you can claim to understand a situation seems self-evident to me, but it's obviously not that evident to many.

I'm not sure how much I would blame MBA programs for this - there are a lot of idiots with MBAs, just like there are a lot of idiots with other degrees. An MBA gives students a set of tools and hopefully some understanding of how to apply them - but it's still up to the individuals to use their own judgement.
Most of the numbers about brazilian police are totally out of place and don't count the way our country is right now about violence.

We got the highest homicide count on the planet, being a country that banned guns. That, for sure, makes police more agressive.
It wasn't that you pointed out a factual inaccuracy. It was how you did it. You assumed you needed to "teach me some respect" instead of just saying "It's actually Caitlyn Jenner".
Non pay wall: http://www.bostonglobe.com/business/2015/12/17/gillette-sues...
Lawyer for Martin Shkreli Hikes Fees Five Thousand per Cent
sounds like expert systems all over again
That looks to me, a lot more complicated than it needs to be. I think that has combined two separate things - atoms and cursors. Here they are in javascript:

https://github.com/cjohansen/js-atom/blob/master/atom.js

https://github.com/dustingetz/react-cursor/blob/master/src/C...

Vastly less code than https://github.com/mweststrate/mobservable/tree/master/src.
Cursor+Atom has nothing to do with Rx or core.async, of course, and is probably not the future. (I say this as the maintainer of react-cursor)