skysight-inc/HackerNews huggingface dataset:
The argument of "they're out to eradicate me and people like me" works better against Nazis because they're documented to have been doing that at scale. It doesn't work so well against people who've traditionally been on the receiving side of that sort of thing.

It's all fun and games to treat people with respect if you have nothing to fear from them and it lets you feel morally superior and all that, but at some point you gotta recognize that some people are right to be concerned and work against their persecution.

Again, taking an argument and misusing it doesn't actually weaken the original argument. It's possible for the perpetrators and the victims of genocide to use the exact same rhetoric against each other, but then it's on you to figure out who's being full of shit and not go "maybe the truth is in the middle between genocide and escaping a genocide".
> who's frightened that a loose cannon like him can have his finger on the big red nuclear button

I grew up during the Cold War and in Europe we were gobsmacked and terrified when a loudmouthed former actor was voted in as President on a ticket of opposing the SALT II agreement. Indeed he started funding SDI and emplaced GLCM and Pershing II in Europe and it looked like the US nuclear policy was heading towards survivable-first-strike. Survivable for the USA, that is.

But he went on to sign the INF Treaty and very nearly signed START II ( he would have done so if his advisers hadn't derailed him at the Moscow Summit ). He stood on the steps of the Kremlin and recanted his former accusations of 'evil empire' and he pulled us back from the nuclear brink.

You just never can predict...
Good read. Makes me glad I haven't made the switch to win10 yet. And yes windows defender is horrible, the other day it just decided that all .lnk shortcuts to browsers were infact malware (Even if it was just an ordinary shortcut)... Anyone else experienced this with windows defender?
True, Pence isn't a same-sex marriage supporter but he is also the Vice President. A position often described as having little to no power or authority.
The startup story #7: Chaos in my head: working in IT with autism
Personally? I don't, I use Python 3 and virtualenvs but then everything I write in Python is for myself to do things for me.

If I was writing software that had to be used in as many places as possible or sold, I'd absolutely strongly consider using 2.7.
LLVM has been able to JIT for years. Some fancy stuff might be WIP but the basic support has been there for ages.
Thanks for sharing your experience as another cautionary tale.

At Convox we have been running Docker in prod for 18 months successfully.

The secrets?

1. Don't DIY. Building a custom deployment system with any tech (Docker, Kubernetes, Ansible, Packer, etc) is a challenge. All the small problems add up to one big burden on you. 6 months later you look back at a lot of wasted time...

2. Don't use all of Docker. Images, containers and the logging drivers are all simple great. Volumes, networks and orchestration are complex.

3. Use services. Using VPC is far simpler than Docker networking. Using ECS is much easier than maintaining your own etcd or Swarm cluster. Using Cloudwatch Logs is cheaper and more reliable than deploying a logging contraption into your cluster. Use a DB service like RDS is far far easier than building your own reliable data layer.

Again thanks for sharing your experience as a cautionary tale.

If you are starting a new business you should not take on building a deployment system as part of the challenge.

Use a well-built and peer reviewed platform like Heroku, Elastic Beanstalk or Convox.
The CSP thing is something I've been looking at recently, and while it seems like it's a little bit lower-level than things like Rx, it seems like channels are more flexible streams (i.e. channels are two-way so you can do back-pressure etc.). I've been playing with https://github.com/ubolonton/js-csp and it's pretty nice; the "yield" statements everywhere are a little wonky, but otherwise it seems like you can implement some pretty sophisticated concurrency between processes with pretty straight-forward code.

For examples of that sort of thing, David Nolen and James Long have written some really great articles on the subject:

http://swannodette.github.io/2013/07/12/communicating-sequen...

http://swannodette.github.io/2013/07/31/extracting-processes

http://jlongster.com/Taming-the-Asynchronous-Beast-with-CSP-...

There was also an article recently that described a flux-like architecture using channels that I found pretty interesting, but I can't track it down right now.
There is one objective metric on which she definitely was worse: telling lies. And by worse I mean, he told many more of them.
Why not?

I the configuration.nix of NixOS is a nice, small way to get your dev machines configured and installed with the stuff you like. Just copy it on your new machine and off you go :)

I don't know if I would ever use Nix instead of the more language specific packet managers.
I tried finding a decent remote job as a new grad. I have 4 internships at top companies (Microsoft, Google). I applied to dozens of companies, only got one interview by a NY based company looking for cheap developers in Eastern Europe.

I gave up, I'm probably moving to London soon.
> Agriculture jobs never went anywhere.

I'm going to need a source on that. Here's mine: http://protecttheharvest.com/wp-content/uploads/2016/01/numb...

What do you think "productivity gains" means? It doesn't mean we need to hire more workers.
> In fact evolution seemed to put a higher premium on emotions than rationality for most of our species history... and probably for good reason.

Sure. Most of our species' history also happened in an environment that is extremely different from the world we live in today. I don't think the history of civilization in general and large states with high levels of economic specialization in particular has been long enough to really affect the tuning of our brains sufficiently.
Fully open source and cross platform: mpv (or mplayer) + aalib in conjunction with ffmpeg.
It's like you live in this world where the only beliefs that matter are your own and nobody else can believe something contrary and be genuine.

FYI 9/10 top defense manufacturers in the world donated to HRC. What the fuck do you think they expected in return? Peter donated as an individual and defended his stance publicly.
That article struck a chord with me. I live in a city, but I am not of a city.

The no-car, 600-square-foot-apartment, minimalist, trendy-restaurant, latest-social-justice-fashion people that surround me feel like a gang of condescending children. They wave policies with reaching consequences like foam fingers at a sports game. They are mugged and then bend themselves into a pretzel to avoid describing the attacker as black and explain the crime as a symptom of economic injustice. They pretend like Hillary doesn't have 20 years of corrupt history and an attitude that approximates the worst of European nobility.

I don't like Trump, but sometimes a giant orange middle finger is needed to break out of a rut.
> uninstalling user-installed apps

I ran into this when the Windows 10 Anniversary Update rolled out. In my case the program Microsoft uninstalled was a Start Menu replacement, so I didn't actually have a functional start menu for several hours after the upgrade until I got the updated version of the 3rd-party program installed.

This left me shocked, dumbfounded, speechless, and furious. Everything I've observed over the last 20 years says Microsoft honours backwards compatibility above all else. Raymond Chen has great blog posts about the huge efforts they used to go through. My understanding is that's why businesses have stuck with Windows; it'll keep running their 10, 15 ,20 year old legacy VB line-of-business apps even on their newest OS. Apparently Microsoft has now decided to throw out backwards compatibility? I don't understand this decision.
The goal in this case isn't to make money but to have more apartments/houses for rent (and hopefully lower the prices too)
What's with mentioning that he went to Stanford law school? This is the second such comment (the other commenter deleted it for some reason). Is someone incapable of having illogical thoughts because they went to "Stanford law school"?

He says this in the video:

> Whenever you hear someone use the word science it's like a tell that they're bluffing

Try to make sense of it.
I blame this on the way kibana is advertised. Some of web2.0 GUI with fancy color schemes and graphs.

I use kibana to monitor logs over 60 containers. Sure, the initial dashboard is a pain to setup, but once you get going going its very useful
>I think against Elizabeth Warren for example the anti-women sentiment would of had a greater effect on the outcome.

Sounds plausible but it's very hard to tell with a black swan candidate like Donald Trump. So many msm articles about Trump insulting blacks[1] and yet, he got more of the black vote than Romney in 2012[2]. It's another glaring example of the disconnect between what narrative the msm feeds us and what actually happened at the voting booths.

[1]https://www.google.com/search?q=trump+insults+blacks

[2]https://www.washingtonpost.com/news/monkey-cage/wp/2016/11/1...
I think this shows just how good Python 2 is ;)
This is a good example of people believing msm propaganda and not thinking themselves.

Trump has been advocate for gays from the 80's and supporting lgbt has been big part of his campaign.
Well they "seem" to be doing fine as well, so we're getting into some pretty dark territory (is that racist imagery?) to now imagine that they're suffering immensely inside and just putting on a painful show. One of them just won a "most eligible bachelor" competition in our predominantly-white city last year. Oh and I'm a hispanic physician (yes, we exist!), and I'm also doing great. No, I didn't vote for Trump.
Afaik, it has nothing to do with Ubuntu or any other Linux distro specifically, but this is rather a choice from python itself. See PEP394 [1]:

"for the time being, all distributions should ensure that python refers to the same target as python2."

I read above as the python community itself made "python" the default for python 2.7 and "python3" for python 3.x. Nevertheless, an unfortunate choice at this time. I understand the reasoning at the time of writing (March 2011) but now this should be reconsidered.

[1] https://www.python.org/dev/peps/pep-0394/
http://www.cnn.com/2016/08/07/politics/john-kasich-donald-tr...

> Kasich told CNN's Jake Tapper that he didn't receive a call himself. But he said one of his aides confirmed to him a New York Times report last month saying Donald Trump Jr. tried to entice Kasich with a position as the most powerful vice president in history -- putting him in charge of all domestic and foreign policy -- was accurate.
Because he appointed Pence who believes in gay conversion therapy. And because his platform contains various mentions of rolling back LGBT rights.
Let this (and Perl 6) be a lesson to language designers: do not make backward-incompatible changes, ever. It cripples adoption. Java managed this much better by being able to mark APIs as "deprecated".
I'm confused - what about the Snopes article is "nothing of the sort"? They cite sources, quote those sources, and provide good evidence that she wasn't fired. Do you have evidence to the contrary other than Zeifman's (self-contradictory) claims?
I just posted that my default Python is 2 and I'm on 16.04.1, but I suppose the upgrade from 15.10 perhaps left the default as-is?
In my circle of friends I've seen that the spectre of Nu-Labour, the very centrist version of Labour (often referred to as Diet-Tory) was responsible for the Iraq war. I know people that would rather back a Corbyn and his Old-School Labour, even if that means that Labour is less electable, as long as it means that their principles are intact.

Not saying I agree with that at all but thats what I see in a large circle of leftist, northern middle-age/class people.
I know of a very popular Mac desktop app whose sales dropped by 90% overnight when the author made it open source (but still asked users to pay). The reason I know this is that I was thinking of open sourcing my file manager [1]. I did some research, found the aforementioned Mac app and got in touch with the author who told me how open sourcing had affected sales. It would have made my project unsustainable, so I decided against open source. I ended up choosing a different business strategy [2].

1: https://fman.io
2: https://fman.io/blog/fmans-business-strategy/
Is it fair to acknowledge that the feelings expressed in the articles you reference are valid feelings and feel true to the people who share them?

Edit: Is it fair to acknowledge that the people of the United States have a history of discriminating against minorities?
The investment has a huge ROI for Palantir too.
I think its more a question of discovering how they lost ohio and michigan, which are reliably blue states. What strategic nd tactical choices did they make that cause them to lose in so many states that they thought they had won. Clinton was rated 80%+ to win by everyone at the start of the night.

Is it an over reliance on polling? Likely to vote stat seems like a viable arguement

A poorer ground game? In the city I live in Trump came, sold out the colliseum, and Clinton sent Kaine who who sold out a middle school gym. This is in a blue city in a blue state.

Did they just get played by Trump and spend the entire campaign making it about him instead of about Clinton?

I don't know, but at this point they have plenty of time to try to figure it out and they really ought to. After all, it doesn't look like the greens or the libertarians are going to be a viable opposition party in 2 years
it's been getting larger, most of the votes coming in are from larger areas that on average in this election voted for Hillary and 99% of the vote is in (some ballots in some states like California could be counted up to 3 days after end of election if they were postmarked on the day of the election). It's highly unlikely that large pockets of Trump votes would be found to make up 300K+ gap now.

What's even crazier to me is trump has yet to pass Mitt Romney vote total. He didn't even beat the last republican candidate but won the election.
Hmm, ok so you suggest all of a sudden switching to explicitly calling Python 2 with python2, like it is now for Python 3? Python 3 is present and working by default but we just decide, by convention, that Python 2 = python and Python 3 is python3. For obvious backwards and horizontal compatibility.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

$python3 --version
Python 3.5.2

Edit: Just to check I started a clean 16.04 (on DO) and did the commands:

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

# python --version
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: apt install <selected package>

# python3 --version
Python 3.5.2

So, no python 2 by default but python 3 and you call it using "python3" as adviced in the pep qznc talks about.
After reading his book, I think Thiel did what everyone else did not. He supported the underdog, thus he could pay almost nothing for a ticket that had %40 odds of winning. His win is a x1000 return. He now gets to rub elbows with more clients: nsa,fbi,cia,epa,etc and force feed palantir more contracts.

I don't think Thiel loves Trump, he is just a psychopath that can play chess at a higher level.
Wrong thread for that man, come on.
A quick guide about Python implementations
As a Trump supporter, you should first and foremost brush up on your knowledge what the terms "liberal" and "liberalism" actually mean.
low turnout is just a symptom. the cause was weak enthusiasm for a candidate that didnt emotionally resonate with the public, and had no simple, strong messsage about what she would do.

on the other hand, you had enough enthusiasm from trump's side that they more than compensated for "normal" Republican voters that hated him.
Oh, well, if you're talking about the jobs lost in the 1800's, I agree, those jobs aren't coming back.

But that graph is relatively flat since 1970, and I seriously doubt they were able to count all the jobs now being performed without documentation and not reported to the government.
I'm greatly underwhelmed on that one because there is zero information about the compatibility of those solutions, the pros and cons, the most appropriate use cases, etc. They're just demos without context.
A core dump is a file that's generated by the OS and includes a snapshot of the process state. It's useful when e.g. one is not able to run the program under a debugger.
Enabling it depends on the OS, I would just search for enable core dumps on "my OS".

If one can run the target program under a debugger, a core dump is not so helpful because it's a static snapshot, whereas a debugger can modify program state.

I am guessing that one has to run the python process itself under the debugger and pass the parameters such as the script path.

There will probably be a signal or exception condition at one point and one can take a look at the call stack. The call stack will probably be messy, as it will include python internals.

An alternative way to debug this is to understand the lifetimes and preconditions of C++ widgets and signals and slots and review one's python code.

Unless there's a bug in Qt itself, PyQt and Qt might have a misunderstanding about lifetimes and something gets cleaned up too soon or there's a dangling refrence to a cleaned up object
Former Python developer here. The problem was two-fold: Python 3 broke backwards- and forward-compatibility (in a practical sense: there were workarounds, but libraries didn't necessarily use 'em, and Python is nothing if not a glue language); and for the longest time there really wasn't a good reason to switch. I think it wasn't until last year that it really started to make sense to go with Python 3 — and by then I'd already switched to Go.
this headline is a bit much. 1/3rd of new projects use Python 3! A lot of people are excited about the language now that a lot of the warts have been dealt with and language compat is higher than ever.

Though all it takes is one dependency to throw a wrench in the plans, the major projects are Py3 now.

Though porting large python 2 projects is still a huuuuuge pain. This is more a result of python 2 badness than python 3. But a lot of work.
I read that last week, and it's great. I love the part about GWB. I still know people today who call him an idiot, but it is that attitude, and underestimation that helped him win the Presidency twice.

The liberal has become synonymous with elite. If you disagree with a liberal you're uneducated, angry, racist, or pick any other disparaging word. It has caused a divide that crosses right/left, and is instead top/bottom. According to a poll NPR quoted, ~40% of registered democrats voted for Trump. That is why Hilary lost. The Republicans AND Democrats have become parties of the elite. The rise of Trump and Bernie came from those people who are rejecting elite regardless of party.
See Google's Knowledge Engine.

The problem is challenging. Perfection is impossible (for deeply philosophical reasons), but a reasonably tractable system strikes me as possible.

https://www.google.com/intl/es419/insidesearch/features/sear...
> Its worth trying out.

I think this sums most of it up. People think things are getting worse and their lives very likely are, so why not try something different? It's the reason for most "unforeseen" results for ultrarightwing parties in Europe, I imagine. People want "someone who'll stir the pot".

I've never felt like that, but I can understand the sentiment, after hearing it so many times.
> I have a family member who voted for Trump because they can't wait till he sends Muslim out of the country and sends Mexicans back to Mexico and builds a wall. Trump said terrible things and people voted for him because he said those terrible things.

These people certainly do exist, but not nearly in the numbers the media portrays them to. If so, how did we elect a black man twice and just miss electing a woman to the highest office in the land? I refuse to believe the narrative about how racist rural America is.

And to the extent there is racism in rural America I posit a good portion of it is driven by folks looking for someone to blame for their currently undesirable status in the global economy.

If NY and CA were struggling, all the racists would be on the coasts and not in WI, MI, and OH, etc.
Could you give us a few sentences summary for the lazy or headphoneless, please?
Show HN: vault – create and use encrypted containers simply
In a way, rural America was a tech bubble. In the 19th century and earlier, factories were in the city or near water. As the interstate system made shipping cheaper, factories moved out of the cities and coastlines for cheaper land and labor.

Now container shipping has moved factories into cheaper countries altogether. But we have generations of people that have lived in these rural factory towns which now have no factory.

The issue is real and Donald Trump was the only one addressing it. It's just too bad Donald Trump was the only one addressing it.
Maybe unjustified, but I'm always kind of suspicious of a post which is largely focused on raw data (like this one) and which presents only pie-chart visualsations [0].

Yes, Python has a pretty dirty history, with many people choosing to stick to the Python 2.7 that they knew and loved. And yes, commercial software tends to move waaay slower than the wider community (many banks are still running COBOL). If you're focused on making money and pleasing clients then "it worked for us before" is always going to be the strongest argument.

Major players in the Python eco system have pledged to move away from Python 2 [1], and if we had non pie-chart visualisations, I'm sure we'd see huge trends towards Python 3 in the last year. Even slow-moving corporations are starting to use Python3. Yes, MacOS defaulting to Python2 is still a problem, but Ubuntu switching to default Python3 is already a huge step to get companies to move forwards.

[0] http://www.businessinsider.com/pie-charts-are-the-worst-2013...

[1] https://python3statement.github.io/
Seems like a losing argument to me. It's pretty much a no win question, probably better to just say you are under audit.
I won't deny that when I started on k8s a year ago it was confusing and I was pretty lost. But I also didn't have docker and docker-compose experience. If you have the latter I feel that learning k8s should be pretty simple. The most difficult parts of k8s to me now are the more abstract features, like ingress, rbac/abac and things of that nature.

The system has matured incredibly over the last year. There are also third party tools like kompose/compose2kube which will convert docker-compose deployments into kubernetes manifests.
Though it begs the question, was there anything Obama/Clinton should have done? Why is the onus on the government to bring change?

All I hear from that side of the debate is that somehow the government should restore prosperity to these regions. Why aren't these people moving to do something for themselves if they want change?

If all you can imagine your state being good for is low-skilled labor there is nothing the government can do long term to protect that. Protectionism might bring some "jobs" back but it will come at a long term cost of reducing the USA's competitiveness in the global market (this is exactly why globalisation is a thing).

Personally I think policy in Middle America needs to embrace the state of the world (putting aside petty coast vs interior bullshit) and think about what they can do to compete on a global scale. Then maybe their lives would be better.