skysight-inc/HackerNews huggingface dataset:
> for profit prisons strongly encourages incarcerating more people

Apparently government profit prisons do an even better job. Now that private prisons are increasing, the prison population level is beginning to decline after 40 years. Look out for the narrative violation.

And yes I'm aware that the rise of private prisons isn't actually the reason prison populations are finally no longer increasing. However, I find it hilarious to poke a hole in the false narrative of government prisons somehow being better, when at least 95% of all the prison population of the last 40 years went into government prisons.

Nearly the entire prison population boom - mostly 1980 to 2010 - occurred at a time when private prisons represented a tiny fraction of the prison base. If you go back to Clinton's Presidency - a time in which we saw the prison population continue to explode upwards rapidly - private prisons represented a meaningless single digit portion of the system.

The radical majority of the profit earned from the prison boom went into government specified pockets, not to the shareholders of private prisons. Handed out as special favors to create jobs in a political district, benefit construction companies, benefit police unions, and so on. Most of the employees that have benefited from those jobs have been government employees, millions of them over the years, which have derived hundreds of billions of dollars in pay from the government prison complex.

So the theory is that private prisons have a greater vested interest in boosting the prison populations than the government does? Then explain the massive boom in government prisons (and the government prison population) from 1980 to 2010. Explain how the government doesn't have in its own interest, growing its own size by putting more people in prison to be managed via ever greater tax sums / demands; passing more laws to hire more police to put more people in prison; hiring more government workers to manage more government prisons, to benefit voting districts, to ensure re-election; and on and on it goes.
Contrails don't always form. It depends on the temperature and humidity at altitude. It's entirely reasonable that there would be a correlation between contrails and weather, since contrails formation is heavily dependent on weather.
Most of the things you said in your writeup were no longer true in February 2015, and I think there are no concrete things that you wrote that are true anymore, thanks to the hard work of Python packaging infrastructure maintainers (https://github.com/pypa).

I find the griping a bit over the top. The point of the OP is that new exciting improvements have arrived in the Python packaging infrastructure. Yes, there were many ugly overwrought things in setuptools' past. Yes, npm has several great ideas. npm is also much younger than setuptools/PyPI, and I can cite lots of horror stories from its pre-io.js days too. But the volunteers who got us this far deserve to be recognized for the progress they've made.

I think the biggest legitimate concern right now is how unintuitive it is to use pip in the presence of several Python runtimes/versions.
I noticed this as well, what I cant figure out is if it was an accident or not?
If you do this once or twice, you can easily have a million a year coming in without having to do too much work. Or you could pay off the debt + sell it on. Seems like a decent way to generate $5 million over, let's say, 5-10 years.
"pip install ___"

Everything else is pretty much obsolete.

The problem is in how it doesn't really work reliably, especially with C extensions, which are much more common in Python-Land than with anything Javascript/NodeJS-related. You're also comparing with something that, by virtue of its age, has far less technical debt. Also, NPM is a "commercial product", PyPI is a community effort. Maybe the comparison to something like Anaconda would be more apt.

The author acknowledges most problems anyway, he just comes to the wrong conclusion: It's not "good" now, it's still terrible, but everything else is more-or-less as bad or worse.
The context of this discussion is smaller publishers/bloggers/etc. If you see the grandparent post it's clear that industry leaders will not find it technically challenging to get on board with both TLS and HTTP/2. The question I asked about economic incentive is not in the context of the NYT homepage but thank you for the unnecessary snark.

A local script injecting an ad is not the same kind of MITM attack and is no way mitigated by enabling TLS.

The discussion here is not about whether encryption is bad. My aim was to ask about whether no encryption = no HTTP/2 for you and why this is the case. I understand that the technical reason at the protocol level is because of obsolete proxies often sitting on port 80 and also the protocol negotiation that needs to take place.
Its utterly mind-blowing that humans of different races, with vastly different life histories and training regimens, competing in a sport with tremendous physical complexity, can wind up with performance equal to each other, to the limits of our ability to measure it.

There's still some important lesson in the Olympics, despite everything.
The IWGB sounds most interesting
I guess it's possible to replace react with preactjs.com with a little amount of effort.. In cases where the legal aspect prevents you from suing FB..
i know this is one of hacker news' perennial hobby horse subjects, but the struggle is real. i lived in the bay area for a year or two. the reason i am not there now is because i could have never afforded the house i bought here in nashville.
How great is the personal risk exactly? I've found that it's not all that high if you make an effort to listen to how people want to be treated. As a wealthy white person who passes for male I have a lot of experience with the perspective I think you're speaking from.
Every language was designed organically and is full of exceptions and flaws. I don't think most people realize this of their native language. As a native English speaker with a minor in Japanese, I found Japanese to be quite systematic compared to English. I also believe Japanese is more expressive, which is probably true for many languages. The kanji writing system can be difficult, it is true, but there are nice parts about it too if you care to think about them. On the whole I prefer Japanese as a spoken language to English and wish I was better at it. Writing could be argued either way.
Having pip installed by default is really nice, so that it consolidates people to use pip unless they have specific use cases e.g. Anaconda users. However, pyvenv/virtualenv isn't that great for the reasons the poster mentions, specifically that you have to set up something instead of just installing in a local folder and referencing that. I do think that pip is more mature and in some ways is better than npm, but in the respect of where it installs modules, it's definitely behind (I do realize that this is also a Python issue wrt where it references modules, but installing modules global by default is a pip issue. At least they're working on doing more local installations by default[0]). I shouldn't have to worry about where my modules are installed in general, and if I'm working on multiple projects with different package versions, I shouldn't have to think about virtualenvs because if I mess up and forget to activate it, it may or may not give me strange errors during various parts of development.

0: https://github.com/pypa/pip/issues/1668
In my experience, the only time this happens is with `npm uninstall`. If you only `npm install` stuff forever, node_modules seems pretty stable. Disk usage, however, is another matter.
The real answer is of course "it's complicated", but i'll take a shot:

Since the 80s, Japan has been seen as very 'futuristic' in the west. Some combo of extreme density and a high percent of the economy being manufacturing makes people more comfortable with technology, and that's reflected in their pop art and music, on top of the normal exoticism of a non-western language and culture.

Aside from this, their (extra future-y) nerd culture is more accessible to westerners through manga, anime, and video games than countries like China or India.

They also have fewer taboos about mixing sex and digital entertainment, so things like dating sims and porn games probably draw a segment of the particularly digitally comfortable into Japanese culture.
Kanji is tough indeed, but that's why hiragana is awesome. You can learn it quickly and since it covers the entire spectrum of pronunciation - you can use it to write/type any word, even if said word uses Kanji. This is how most Japanese type it anyway, since digital text input auto-convert hiragana to Kanji as you put together sentences.
These tools really have potential! Hopefully wcc will gain support for non-intel, non-GNU/Linux ELF files as well.

And the readme.md! I love how the author shows an example after every explanation! If only every readme.md was written that well!

Since shared object libraries must be generated as position independent code, how does converting an executable which was not generated as position independent code work though?
Sounds like there is a bad competitive situation in the halal wholesale market in your area. The store owner should have taken that in to account.
Maybe their intelligence is so good that they knew exactly which wheel to grease and that it didn't need a lot of grease.

More seriously, it's interesting to consider them turning their expertise against their customers.
Surprising properties of C null pointer constants
>But people like these NBC commentators are going to permanently have their names associated with "sexist" as result #1 in Google.

And if they apologize for it, people will see they're mature enough to recognize when they've hurt someone and correct it.
We've banned those accounts for sockpuppet voting and commenting.
The red flag for me was polynomial regression on such a relatively small sample. As you say, it might pan out but it's very preliminary.
One company I worked for required everyone to work from home at least one day a month as part of the disaster recovery plan. It was neat that we could be fully remote. Made stuff like snow easy to deal with.
So You Want to Learn Japanese
I don't see any foul either.

When the captain of the Australian cricket team was going out with a famous Australian model, that was news. Even though she was overall a bit less less famous than him.

Had she being going out with some otherwise unknown olympian, that also would have been news -- especially if the dude won a medal.
This demo is not realistic at all, and is pretty contrived to play to the strengths of HTTP/2.

If your page loads stuff from 25 different domains, HTTP/2 barely helps at all.
Likewise if your page is loading MB-size image or script files.
Likewise if your server takes 2+ seconds to render the darn HTML in the first place.

But HTTP/2 is awesome when all the resources come from the same domain, because it eliminates the bottleneck of separate TCP/TLS connections.
This means you don't have to do stuff like bundling resources and sharding domains.
And indeed you shouldn't do this stuff if you're using HTTP/2.

HTTP/2's biggest problem is that nobody is changing their site to take advantage of its benefits.
I've never understood why companies don't have a mix of environments so that each person can choose what works best for them. Allow options for an open floor plan area, a closed floor plan area, and remote work. My PhD advisor didn't care if I worked in my office, from home, or from the top of a volcano as long as I got the research done that he wanted each week (turns out I tend to work best in coffee shops).
In Denmark roughly 100% of the chicken is halal, but it is illegal to slaughter the animals by cutting of their head without sedating them, so in practice the only thing that changes is some imam saying an islamic prayer over the chickens.

Of course, that is too expensive, so now there is a recording of an islamic prayer over a loudspeaker.

Which is also the problem I had with the article: his rule only works when complying with the minority is cheap (playing a recording), if a halal chicken also had to have decent living standards making it 4 times as expensive, there would be a lot fewer halal chickens.
Is there something like this but for Chinesse ?
https://hn.algolia.com/?query=Letter%20of%20Resignation%20fr...
Tips for Successful Used Book Selling Online
I'm a little confused as to how the West is committing suicide as he puts it. Allowing the sale of halal meat? What a joke compared to the old communist threat.
It just means that people are thankful for your work! Great job :-)
Playstation Network (PSN) Code Generator 2017
Really? I couldn't even figure out how to get started with Riot. Vue's Guide walks you step-by-step from scratch how to get up and running. It also has a section on how to structure larger apps once you understand the basics. Riot's Guide is a topic overview. I had to find tutorials outside the main site.
I live in a world where 90% of my friends and family believe that they came from the sins of a woman who decided to eat an apple. I recently read a book called Sapiens, this book really drilled into my mind that we homo-sapiens are a derivative of a single great ape that had two daughters, one that became the ancestor of all chimpanzees and the other all humans.

If human origin interests you there is a great 10 minute video from the Youtube Kurzgesagt channel that lead me to read Sapiens.

https://www.youtube.com/watch?v=dGiQaabX3_o

https://www.amazon.com/Sapiens-Humankind-Yuval-Noah-Harari/d...
Another example happens when compiling scientific libraries that require C extensions. I've seen disagreements about which versions of libraries to link against. For example, I've run into issues when installing scikit-learn via pip because it linked against the Numpy version in /usr/lib rather than the correct Numpy in my virtualenv.
Import Any Products at Wholesale Prices
I am creating a system that helps people who sell products on amazon/ebay to reduce their importing cost. Hope to get your feedback.

People who import products on Alibaba.com usually feel difficult to meet the Minimum Order Quantities (MOQs) set by Alibaba sellers. I create a browser extension What-are-Worth-to-Buy (wawtb, https://chrome.google.com/webstore/detail/what-are-worth-to-buy/djppflkjdaembjhpobkmfoahadocnokk) and a website wawtb.com to solve this problem.

On one hand, the browser extension wawtb enables importers to claim how many piece of products they need. Multiple importers may claim the same product and we call them the product's candidates. When the total number of claims made by the candidates exceeds the product's MOQ, wawtb notifies each candidate to order the product on wawtb.com.

wawtb does not contain any malicious code. wawtb requests the permission of browsing history and the access trace on alibaba.com. This permission is necessary for wawtb notifying the users.

On the other hand, wawtb.com is a group buying site. It aggregates the orders of each candidate and parchases on Alibaba.com. Later, wawtb.com dispatches the received products to each candidate.
>What would be the economic incentive towards carrying out a sufficiently complex MITM attack on a blog or a newsfeed?

Injecting ads is a relatively harmless but hugely profitable application we are already seeing.

On the more serious side, changing news feeds has huge potential for governments. It's the perfect propaganda tool, and with advances in machine learning the cost of doing this on a gigantic scale shrinks every day.
$ python -m ensurepip --user
$ python -m pip install --user --upgrade pip
$ python -m pip install --user --upgrade virtualenv

> ...

> From here on out, now the world is your oyster; you can pip install to your heart’s content, and you probably won’t even need to compile any C for most packages. These instructions don’t depend on Python version, either: as long as it’s up-to-date, the same steps work on Python 2, Python 3,

Nit: I suppose installing virtualenv works in 2 and 3, but hasn't venv in 3 made that unnecessary?
Maybe I'm a bit too old-fashioned, but you should always assume that any program you run will delete your home directory with a probability > 0.

If you're not prepared for that situation at all times, you are using computers wrong.
It makes sense that people who can say "no" to risks they don't like have to be paid more. That's the market price and people in the actual military who can't refuse (once they signed up) are grossly underpaid. How would taking away more people's freedom help?

I'd rather see military pay go up to closer to market rates. If we ask people to take these risks they should be paid a lot more. You might even see more volunteers.
> Why are not enough people volunteering?

Because these particular wars are pointless and immoral? Your segue from briefly discussing mercenaries on to gender roles, marriage, Trump, the EU, etc. just doesn't follow. It's obvious that your steering the conversation toward a certain set of talking points. The last 3/4 of your comment probably would've been arrived at no matter the topic at hand.
I wonder if these kinds of teams are lead by extroverts, who appreciate having a captive audience for their peopley, extroverted shenaniagns.

Having a stable of people who are contractually obligated to put up with their outgoing personalities.
Yeah, I'm sure things are better. And your typical developer will probably be just fine (I mean, we know they are because Python is so popular!).

But for a beginner who is just trying to figure out how to share his or her code, it's still very confusing. And yes, part of that is definitely the fact that all of the mistakes of the past and their messy workarounds still show up in Google searches, muddying the waters; this obviously gives npm an edge. But even so, I feel that npm just does a better job when it comes to being learnable: people pick it up right away with very little trouble, and you can have your first "public-facing" module up on day one with very little effort. Indeed, in a way, the fact that it's so easy is what's giving it the most grief right now!

So there are definitely lessons to be learned there, for everyone.
Python is not a compiled language.

Is there any reason not to write your app in Cython? Then you could compile it with your ordinary C compiler. Could be much harder to reverse engineer that way, if that's your concern.
> Should a society that has elected to be tolerant be intolerant about intolerance? (...) Yes, an intolerant minority can control and destroy democracy. (...) So, we need to be more than intolerant with some intolerant minorities.

This has been tried during the French Revolution, one of its slogans being "pas de liberté pour les ennemis de la liberté" (no freedom for the enemies of freedom).

It led to Terror and mass executions, so I'm really not sure it's the right path.
Suppose you have an executable compiled for /usr/local on a SVR4 UNIX system, or on GNU/Linux (this is a severe violation of SVR4 and LSB FHS standards [1][2]). With these tools, you could theoretically unlink the application, then re-link it with $ORIGIN linker keyword, and install it into /opt, where the standards say it belongs. (Same for 3rd party unbundled applications which were linked to use their own shared libraries residing in /usr/lib[64] or /usr/lib[/64], another very serious architectural offense.)

Let's build upon the author's example in order to demonstrate the above (imagine for a moment that ls(1) is a third party, unbundled application which clashes with vendor's own ls(1) as delivered with the operating system):

% wcc -c /bin/ls -o /tmp/ls.o

(GCC)

% gcc -shared -Wl,-R'$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../../lib:/opt/local/lib' /tmp/ls.o -o /tmp/ls

(Sun Studio)

% cc -G -Wl,-R'$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../../lib:/opt/local/lib' /tmp/ls.o -o /tmp/ls

[1] https://docs.oracle.com/cd/E19455-01/817-5431/6mksv3nvi/inde...

[2] http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#etc... http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#opt... http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#var...
Thus the reason I hang up on startup recruiters the moment they say "A peter thiel funded start-up". I'm not sure what is a sadder waste of this amazing braintrust we have in the United States today, all of the advertising start-ups, or sociopathic dreck like Palantir.
Pair programming is great, but that can only happen between willing and compatible participants. As you say, it should never be imposed from 'above' to any arbitrary pair of colleagues!
Maybe it was wishful thinking on my part, but there was a time when I hoped that svg would be to vector graphics what png is raster images. With svg continuing to gain complexity, all that hope is gone.

At this rate, it'll become another html spec.
Irena Sendler
Riot sounds good, but what about performance? last time I checked riot performed quite bad in terms of performance.

An example: https://cdn.rawgit.com/krausest/js-framework-benchmark/956b0...
Tolerance is largely relative I think. You could have a crank that spits out pennies so long as you crank it. Invariably we will tire of turning the crank because it's monotonous uninspiring unfulfilling work. The argument could be made that someone somewhere does not have the opportunity to so easily spin a crank for money so we ought to be grateful, but the mind's adaptability is a double edged sword. You exalt the mind for it's adaptability, but it's the very same adaptability that accustoms us to our environment, and leads us to be ungrateful for the conditions we live in.
Similarly, I feel that this educational contracting is a threat to democracy. Either employ forced labor to provide education or don't have public schools at all.

I understand the concern that mercenaries may revolt against the real military, but is anyone really suggesting this is a danger to the US? I don't see anyone making that case.

The article also brings up real issues that soldiers-for-hire are inadequately supervised. This is a valid concern, but again the response to that should be a measured cost/benefit analysis as to whether adequate supervision + contractors or employees is better. Teachers-for-hire are, in many cases, also not adequately supervised. That doesn't mean we should resort to forced labor to provide teaching, it just means we need a better supervisory apparatus.
I'd probably disagree on most points here.

The spoken grammar of Japanese isn't too bad. I'd say it's more logical than English overall.

Written Japanese in Hiragana and Katakana is unambiguous in spelling/pronunciation. It's not like English where you need to learn a bunch of spelling (and sometimes multiple spellings). So it's massively easier.

There's Hiragana and Katakana which have a similar purpose, but then English has upper and lowercase letters for seemly no very useful reason.

Kanji is a significant additional workload and there where efforts to get rid of it in the past. The problem is I'd guess it does have utility, cramming more data in per unit area is useful, as is being able know it mean "on" or "off" or "of passable quality". And now with computers you can type in Hiragana and it prompts for the Kanji. That makes things significantly easier.

The other thing that's interesting about Kanji is the meaning is divorced from the sound. With English your forcing a discretized serialization on sounds. With Kanji the idiographic communication feels closer to a visual representation of a concept.
For some reason it's got a transparency set.

Removing bit of css should fix it.
.nrGrammardata rt {
color: rgba(0,0,0,0.4);
}
http://archive.is/NRcnQ
You mean that PNG, the reason why we still use GIFs? ;)
I'll add to this. Every place has its ups and downs, and the cultural distance allows Westerners to completely miss the negatives. Normally this is canceled out because the majority of nonwestern nations are visibly poor.

That means it can just seem incredibly cool and fun, while it's actually a relatively boring country in the scheme of things