skysight-inc/HackerNews huggingface dataset:
I should add, we've lost industry also because of the rise of China. Some loss was inevitable as the U.S. was too big and diverse to be able to sustain employment and profits across the board under pressure from lower-cost rivals. You'd have to seriously cripple the free market system and diminish overall wealth. Even at the heights of union power (1920s - 1950s), America was never remotely that socialist. Anyhow, economic equality is a means to an end (wealth, stability), not an end in itself.

Mexico is something of a red-herring. Vastly more industry has moved to China than Mexico. In fact, since NAFTA almost all of it went to China. It was only within the past 5 years that Mexico really saw significant NAFTA dividends, as China had been eating their lunch for years. Just ask Wal-Mart.

This is further proof for how racism, prejudice, and xenophobia is at the heart of the current political movement. The narrative is that Mexicans have taken all the blue collar jobs and depressed wages. In reality it's mostly due to China. But the Mexican narrative prevails because it resonates with people's prejudiced preconceptions.

There are similar parallels with immigration.

There's just no denying the inherent racist attitudes. It can't be denied and it shouldn't be denied. And admitting that doesn't discount what real, legitimate issues people face. In fact, admitting that is one of the first real steps necessary to addressing those issues. The inherently racist narratives make it impossible to reach effective compromise, socially and politically.
True, but I don't think that's common near the price point of Apple hardware.

It's also not uncommon in the "lower ranks". I just bought a 800 € ultrabook with a 256 GB Samsung PM961 SSD (NVMe, 2.8 / 1.1 GB/s) and the Skylake i7 for example.
Nothing new there. Garbage In, Garbage Out.
I think Python's exceptions work pretty well, but how do you make use of the hierarchy? It's not clear to me from this example.

I find myself using Python exceptions in two pretty disjoint cases:

1) try/catch around a single line, where the exception is as specific as possible (e.g. KeyError, etc.). To do something specific in the error case, perhaps decrement a retry count. (Although this is one of those places where "exceptions should be exceptional" comes to mind; I don't like "except" for normal control flow...)

2) try/catch around main(), where the exception is as general as possible. To log the exceptions, or perhaps print a usage message.

There doesn't seem to be much usage between those two extremes.

I recently read "The Design and Evolution of C++" by Stroustrop, and it was not obvious to them to use the class hierarchy for exceptions. I'm not sure exactly where the idea originated from. (He also talks about resume after exceptions, which sounds insane today, but was pretty heavily debated at the time.)

Go has no class hierarchy, and I believe the error handling is with an Error interface. Although I guess is does have some kind of subtyping by creating a more specific interface than Error by adding methods.
Agreed, the DNC emails seem to paint a picture of the establishment as inflexible and self assured. I wish Bernie had been enough of a wake up call.
I hear that some residents of Monaco who love the low taxes there are maybe not there as many days as they should be out of a given year. I hear they use timers on the lights and so forth to make their home look continuously occupied.
> they voted for him out of economic desperation

Really? The entire election can be boiled down to a single, concrete, easily understood reason? There's no diversity of thought at all? How remarkable.
I think if you act in a violently nationalist way (harming or harassing someone who is "not American enough"), or taunt legal immigrants because they "look hispanic", "look indian" etc, that is all completely reasonable grounds for firing.

In my opinion, you can identify as nationalist or favor immigration restrictions as long as you don't harm, harass, threaten, etc. someone. And I think this is what the Grubhub CEO is saying (their later statement reinforces this).

This isn't censorship of ideas, it's reinforcing a culture of empathy and goodwill at a company with those values.

Think about it this way: would you enjoy working for a company that did nothing as co-workers made fun of you for your race, disability, country of origin, or sexual orientation?
Have you considered that their choice is negatively impacting quite a lot of people, and it is profoundly unfair for them to take housing off the market and drive up prices just because they can?
There's no such tax on 'passive income', it's just taxed as business income, which is exactly what it is and taxed no higher than employment income. It's just not taxed as capital gains nor has dividend tax credits, which it shouldn't be/have.

The only tax that discourages renting out is that the portion of your principal residence used for renting out no longer qualifies for tax-free capital gains.

Considering how almost nobody in BC ever declares this, and barely anything is done to curb it, it's kind of a moot point.
Please don't look elsewhere for conceptual purity. Ruby is absolutely ideal for exploring any concept that can be expressed in object oriented programming, and even many that are expressed in algebra.

Ruby has been designed fundamentally as an Alan Kay style object oriented programming language. In that light in my opinion it is more suitable for conceptual purity than most other scripting languages.

DHH's criticism of SRP has to do with legitimate drawbacks. I think all of us have experienced the over-engineering SRP can invoke when applied naievely. Also note that DHH's framework Rails has made significant steps in enabling SRP for modern Rails applications, so this is not a flat out rejection of the idea.
Can you elaborate your first sentence? Not really well-versed in the hairy issues you raise.

This will (necessarily) require more oversight. But I think we should be prepared to accept some regulation/oversight of the political process itself, given how critical it is to the functioning of society.
The point that you are refusing to understand is that what you describe and apparently experienced is at most a common failure mode. It is not what the program is intended to be, and it is not representative of a typical troop with properly trained adult leadership. I'm sorry you had an asshole scoutmaster who couldn't internalize even the first half hour of the training he was supposed to receive before serving in that role.
In addition to libraries like quick error and error chain, you can just use coalesce your errors into `Box<Error>` instead of defining an enum like this.
1. They created a sophisticated system to allocate effort.

2. The system selected Pennsylvania as an important target.

3. They expended lots of effort there -- and still lost it.

I don't see how it is the computer's fault. Even if the system predicted the results exactly, you still need to do something about it.
Oh damn, that's a lot more than I expected. What a success. That's almost a million dollars per year!
So I'm wrong because a car shipping in volume in 12-18 months will be cheaper than a car I can buy right now?

I also wonder about the math. Edmunds puts a Civic at about $5000 a year (for 15,000 miles):

http://www.edmunds.com/honda/civic/2016/cost-to-own/

To save $2000 a year over that, a Model 3 has to go ~10 years with minimal costs beyond electricity.
The author was going somewhere when he began writing about what a developer is thinking about, but, perhaps because he was focused on vindicating TDD, he did not arrive there.

A developer who is writing unit tests must have a good idea of the purpose of the target of the tests, so she is thinking about requirements. Furthermore, if she is writing unit tests for small components (which will often be the case on account of everything being done in short cycles) then a lot of that purpose is contingent on other aspects of the design and how it is all supposed to work together: in other words, she is thinking about design.

If you don't spend some time thinking ahead about big-picture requirements and design issues, you are in danger of going a long way down a dead end.
Not exactly a book but Go By Example[0] is an excellent when I start learning Go. The examples are clear and one example focuses on just one thing. I find myself going back there to refer to the example whenever I need.

[0]: https://gobyexample.com/
"Well north of" are the key words here.
can you explain exactly how a presidential election is (or could be) gerrymandered? Aside from two (Iowa and Maine) all the states award all of their electoral votes to the winner of that state's popular vote. So unless the shapes of the states change, there's no way to gerrymander.
> They missed the mark overall by about 2%

This is misleading. Only on a national level were the polls that close. In the actual swing states that gave Trump the presidency, the polls were off well outside the margin of error.

For instance, in Wisconsin no poll ever showed Trump winning that state, and the closest IIRC showed Client winning by 3%. The average was significantly higher than 3%.
gerrymandering doesn't effect the presidential results at all.

Though, a large part of the problem was assuming Clinton's turnout would look like Obama's 2012 turnout.
They were off by more than a percentage point. The NYT's vote differential reported Tuesday afternoon was 1.2%; the actual was less than one-seventh of that.
Sure, oil is subsidized. But it's disingenuous to claim Tesla doesn't play the regulation arbitrage game either.

Not only is demand for Tesla's cars _partially_ sustained through consumer tax rebates, but Tesla's _profitability_ has historically relied on selling ZEV credits. Both of these factors may be cut short by the changing political tides now that the [federal] executive, legislative, and (soon) judicial branches will be majority led by a party that has a rough consensus on switching priorities from the past decade or so.

I'm not trying to antagonize against Tesla specifically, nor prop up the virtues of a truly ecologically-damaging industry that plays by a similar rulebook, but anytime a company's business model relies on a certain political climate rather than _solely_ on efficiency gains through technological innovation, the door swings both ways given a long enough time scale.

Cue discussion about how innovative R&D is not possible without initial government investment, especially against already subsidized industries that don't have to factor in tremendous externalities... but that's a more politically subjective debate compared to just stating how I don't agree with the claim of Tesla being 'unsubsidized.'
That's what I imagined it is. Not quite what OP described...
Proper notice, enough time to migrate away. Looks fair
Sounds like macro recording in Office. You'd start recording, do some things, stop recording, and then you could see the VB code you generated and could edit it.
> Play around with the program intelignetly and observe no bugs

What if the computer encoded your knowledge?

> Don't call it done until you haven't proven to yourself that the code has no bugs.

What happens when the software changes? Do you repeat every single desk-checking exercise to ensure nothing has broken?

Do you even remember every click, every experimental input?

Can you prove that you do?

> This is an informal process of self-code-review but which involves quite rigorous thinking about the behavior of the code.

I trust that smarter developers than me are smarter developers than me.

But I am dumb. I assume that the code is smart and that my mental simulation of the code, which my brain helpfully and invisibly patches on the fly, is correct.

But my mental simulation is frequently wrong. So I wrap myself in explicit statements of what I think the code does. Then I make those explicit statements executable. And then I run them frequently.

And frequently, I realise again that I am dumb and I should leave the flawless coding to others.
The worst part is they collect social benefits like education and healthcare without paying any income taxes into the system.
I would have really loved one when I was doing a lot of data entry in a previous job. Instead I just got a USB keyboard with a number pad, I understand that my niche desires don't necessarily make for a mass-market desirable device.
You have a very bizarre view of the world from where I'm sitting.

Saying that you're retired and working on hobby projects is technically true, but in context heavily implies that you did not have a management background.

How on earth is this true? In what universe does someone who is retired except for some hobby projects mean that they were never in management? I literally don't know how to parse that.

And even if it is, how does someone who was "former management" now have no credibility to talk about work/life balance or whether developers are overpaid or underpaid? They don't have a particular dog in the fight anymore, right? Unless, as I suspect, you think that they're "different" somehow, not part of the same class of people as you, and they'll "stick with their own kind."

Every comment you've made seems to me to be bigotry with a thin veneer. I don't know, maybe I'm just privileged in that I've never been in a struggle of labor vs. management. Just don't see the world in those terms. I'm sure you think that means that of course I'm engaged in that struggle, and I'm either lying (because I'm in management), or getting screwed (because I'm labor and management is always screwing labor whether they know it or not). Shrug. I'm happy. Not sure what else to tell you.

The only one here who I see playing status games and pumping up the us vs. them mentality is you.
I'm ok with second best. I just want to make sure I can still get hired in X years.
Not enough effort bridging the gap with rural voters? Too much belief that people would vote along racial and gender lines?
Been keeping an eye on gun since the early demos more than a year ago. Nice work, Mark. :)
Is there no requirement for timely repairs in the USA (or at least in some states)?

Here in New Zealand, I can hand my landlord a 14 day notice to remedy, and if they don't fix the problem within 14 days (or at least start remedying, if it's a larger problem), then I can take them to the Tenancy Tribunal, where they can be ordered to, and sometimes even get fined punitive damages.

The same works the other way. If I leave the house in an unsatisfactory condition (e.g. not cleaning the property, not keeping the garden under control), then I can be given notice to remedy and taken to the tribunal if I don't fix it.

It's a win-win system, both parties can take action against the other for problems. The tribunal is not meant to be biased towards the landlord or the tenant (although in practice they tend to side with the tenant a bit more), and is a neutral third party. They usually try mediation first, before actually ordering people to do anything.
It took 30 upvotes and 12 comments for this post to finally be flagged. Oh the hypocrisy.
Not enough having a different candidate?
Contact ecodatasolution@dr.com if you need any credit repair you wont be disappoint they helped me upgrade to 750 their services are legit, fast and safe you will be thankful for my referral or reach them at +1 262 777 8270.
The Investigatory Powers Bill: Mass Surveillance in the UK
Island Generator
If anyone is interested in learning more about scikit-learn, I'd recommend "Hands-On Machine Learning with Scikit-Learn and Tensorflow" from O'Reilly:

http://shop.oreilly.com/product/0636920052289.do

When I first started using scikit-learn, I was overwhelmed with the number of classes and options available. I just chose some basic classifiers I was familiar with and stuck with most of the default settings. The book explains many of the other models and when they would be useful, but also spends a lot of time exploring the datasets (using pandas), preprocessing data and building data pipelines, finding the best hyperparameters, best ways to evaluate a models performance, etc. The library feels less like a big bag of algorithms now and more like a cohesive data pipeline.
Currently using wheatbin to manage my various project assets. It's an open source kanban app you self host: http://wheatbin.com
Whyso? I defer to your experience, but I would expect that incorrectness is simply inconsistency measured against a more complete/complex basis?
Big MCMC model, likely written in Stan. Fancy as can be to a statistician with a penchant for strong priors... And completely fucking useless when your priors on likely voters are as wrong as wrong can be.
Perhaps it depends on the distro. You certainly have to reinstall to upgrade to a new version of CentOS (which is what I use on all my servers).
She ended up with a 1-2% preference

You are off by an order of magnitude there. As of Wednesday afternoon, the actual popular vote difference was less than 0.17% of votes cast.
> Might be better than nothing, but if you are designing a reusable API, you'll be better using it on some real code.

Agreed, this is why tests should be driven from the outside in.

But at the unit level, tests are often the first contact with production code. Tests are dumb and setting up complicated stateful worlds is painful and tedious.

It becomes easier to simplify the production code to simplify the test code, than to just write the first thing that comes to mind.
I'm here for the comments. For such a big event, I expect to talk about it a little.
Yeah, while Trump got elected on a wave of anti-establishment rancor, most of Congress is still the establishment.

I predict that no turkeys will be voting for Christmas, and no Congressmen will be voting for limits on lobbyist dollars.
what about kids who don't do _any_ group
Does anyone know how empty properties are handled in U.S? Do you still end up paying property taxes?
Used to use Asana but finding JIRA to provide the necessary amount of structure for me to be disciplined.
I'm a developer, and an ex-sysadmin. Using the CLI makes my life much simpler. I greatly prefer being able to write scripts, and use things like PDSH to run commands across many boxes. For example, go through every web server, search their logs for occurrences of IP X and then count the number the number of requests per second. Is this something I do every day, nope, but the basics of doing it are the same as the basics of so many other things that I do that there is no issue memorizing the commands.

Using guis and managing a server without a CLI is a very annoying situation.

There are other things where using a GUI is way nicer, like complicated partial git commits.

Also thanks for informing me that I have aspergers, guess I'll have to go have a doctor check that out ;)
Here is a better description:

http://www.calgaryherald.com/vancouver+slaps+year+empty+home...

(Vancouver slaps $10,000 a year tax on empty homes. Lie about it and it’s $10,000 a day)
The email sounds like it was written by someone angry and hurt and desperate to "do something" (the hypothetical "he would have been terminated" is revealing).

The actual interpretation of who is being asked to resign is ambiguous.

At the least it should be a lesson not to hastily send company-wide emails while gripped by extreme emotions.

Agreed the headline here is a bit of click baiting.
Not exactly what it says
I'm reminded of Mitt Romney's fabled ORCA system[1], which was also an epic failure. Indeed, it's something which has since caused me to re-evaluate my opinion of Romney: if he was as great an executive as I thought, how could he have helmed a disaster like ORCA?

[1] https://en.wikipedia.org/wiki/ORCA_%28computer_system%29
Democrats once represented the working class. Not any more
I know a guy who charges to do house-sitting when people go away on holiday (usually for a month or two).

He's literally made reverse Airbnb.
Here u go https://veertu.com
the kind where people band together to defeat the global elite and the upper class / 0.1%, instead of letting them divide-and-conquer us (Red States vs. Blue, white vs. black, immigrant vs. native, Boomers vs. Millennials).

Why is this kind of us vs them against "the wealthy" acceptable to you? The upper class / 0.1% constitutes millions of people, some bad, most good. Just like every other group. Would you be comfortable putting any other words in your sentence above instead of upper class? Like men, women, the elderly, the poor, minorities, etc? Why is bigotry against the wealthy ok?
I think it did work. The Clinton camp uses internal polls which are much more accurate than public ones. These don't have the 1-2 week lag that the public polls do. The Trump campaign has its own internal polls too. From what I've read, the Trump campaign's internal polls found Clinton support in the Midwest collapsed 1.5 weeks before the election. From how they reacted it sure looks like the Clinton camp knew this too. The Clinton camp suddenly went all out: surprise rallies in Michigan and Pennsylvania; surprise concerts with Jay Z, Madonna, Lady Gaga; even drafting Obama to do daily rallies in November. Obama held twice as many rallies in November than he did in all of October.

The way I view it the Clinton camp knew they were in serious trouble and reacted accordingly.
You can use automated unit and integration testing without doing "TDD". The overhead isn't even particularly high; you have to test any piece of code you write anyway, so you might as well put in a tiny bit of extra effort and have unit testing.
This is Trump's pollster's post on the election:

http://www.moremonmouthmusings.net/2016/11/10/trumps-interna...
Yep, I do feel like I have to work all the time, and I do feel guilty when I'm not working. Pretty sure you're right that I'm doing some damage.

I feel like one of the worst parts about a compressed work schedule is that I've mostly stopped playing & exploring, and exploring is where the good stuff happens. Many of my most important personal developments and achievements were on "fun" time, even if it was work. Doing overtime and working too much like I'm doing now mutes that.

I have some commitments in the short term that mean I can't fix this very quickly, but long term I aim to be where you're at for sure.
I use Teamwork but plotting a jump to JIRA for more functionality.
What if Facebook found a way to turn it's billion into tiny wikipedia fact checker.
Just as a sticking point, Apple's SSDs are not, and have never been, regular NVMe or M.2. They have always used their own stupid custom proprietary connector, despite basically implementing most of the relevant standard (NVMe/PCIe/SATA).
The other factor is that the polls were likely rigged in her favor since she was spending so much more on paid advertising. Note how they all magically converged on the last day of the race.
You'd be surprised. When I was in college I saw a lot of people running Linux and showing off how cool it was. They were l33t because they had Linux. Uncommon things are very cool in the right audience. Plus, people in CS majors see their heroes using Linux for work and want to emulate them. For us, it's just another tool to get the job done. For them, it's getting a jump start on how they imagine their lives will be in a few years.

My 18 yr old cousin drives a 1988 Volvo with holes in the floor and a missing second gear, and he's the cool one in his group. Because he has the most inconvenient car. That's cool in his group.