skysight-inc/HackerNews huggingface dataset:
That also happened for Brexit before.
And there are more western elections to come in the coming months (Italy, France) where this is likely to be a factor.
https://news.ycombinator.com/item?id=12918711
I wish Nintendo were more open about some of the incredible stuff they've done over the years.
this is really strange to me honestly. From what i can tell (i avoid facebook as much as possbile) "News" on my feed are mostly just uplifting news style. Everything relevant and political has no place on facebook within my environment. And i dont consider myself sheltered.
I got one of these about 18 months ago, just as my 7-ish year old flip phone was wearing out. It's cheap and does what I need it to. I think FDE slows it down by half, but even after all this time, I'm not using it constantly. I dropped and cracked the screen earlier this year, and getting a new one wasn't a big deal (buy screen online, find someone nearby to apply adhesive).

I just wish it had a better Android version (5.1?) and 5GHz wifi. If a successor comes along, I might look into it and give mine to Mom or something.
Tom Brokaw was especially insulting to the half of the country that voted for Trump. After several comments about uneducated rednecks causing the downfall of our nation, he summed it up this way:

"This election was much more about ‘Duck Dynasty’ than ‘Saturday Night Live’."

Hell hath no fury like an elite liberal scorned.
And now i am nostalgic for gray plastic.
Pointing out that the technology platform chosen makes features simple elsewhere into multi-year odysseys seems fine to me. I think maybe atom users are too close to it, so have heard such things before and react very negatively to it. For me it was interesting to learn it took significant work to provide this support.
The Quickbooks Platform
Sucralose thermal degradation may produce toxic polychlorinated aromatic HCs
> and a weakening yuan may curb enthusiasm for foreign wares.

I don't get it. Aren't most brands these days made in China or south east Asia? (looking at you, fashion brands)

Now, I don't speak Chinese so I stick to AliExpress, but you don't typically find non-Chinese made products for sale there (at least in the realm of clothing or electronics)
I worry that "right to die" can devolve into "it's the right time for you to die".
Show HN: Reorganize pixels of a painting into a smooth color palette using PCA
Complete list of new features in MySQL 5.7 [0] (in bullet form) would show scores of performance improvements. The performance improvements from 5.5 to 5.6 were significant and 5.7 is much much better.

[0] http://www.thecompletelistoffeatures.com/
> If a man said “not today, I have a headache,” he might miss his only chance.

Ouch
As I understood it, it is more a solution for dev-ops to create the infrastructure. Like a provider agnostic CloudFormation. CloudRail is about making it super simple to integrate APIs into an app.
Remix and Refresh Your Content
New Ukrainian Rocket Launcher Appears to Use Raspberry Pi
"people who hold positions that are being publically shamed tend to lie to pollsters"

Alternate theory: People did not lie to the pollsters -- but there was voting fraud, and Trump didn't win.
In addition to latency and cpu usage improvements, we also saw a substantial drop in memory usage for code that allocated a large number of objects. After the initial migration, PHP7 has been very solid in production.
Good to great has a big problem with survivorship bias. It's fairly low-investment to read, but I wonder how much value there is in adhering to the principles it recommends.
I don't know about back then, but it's very common today for banks to accept scanned checks of various sorts. Many banks have mobile apps that let you take a picture of the front and back of the check and deposit it that way.

There are also services that convert paper checks to electronic form or let you create electronic checks. For example:

http://ww.deluxe.com/about-deluxe/deluxe-resource-center/che...

https://www.deluxe.com/echecks/

(I have no connection with Deluxe, I was just aware of their electronic check service since I was looking at business checks and this option came up.)
Trump’s election marks the end of any serious hope of limiting climate change
Pretty sure the Belgian Congo one from 1949 is just eyes playing tricks on you. I see it blowing the proper direction looking at it immediately. If I stare hard enough, I can see the perception of it being backwards, however.

Fun read though!
Sounds like you didn't read the part where they reviewed their research and looked at where they went wrong.

http://fivethirtyeight.com/features/how-i-acted-like-a-pundi...
> the question that remains is "Why is the heating dependent on being online?"

1) So they can bill you.
2) Bad design

Billing is almost always the reason if the design is sane. And it's always a PITA.

Bad design is self-explanatory. Most programmers think in terms of features rather than function.

I have this discussion every day with people creating battery operated IoT devices.

Me: "What is your most important function?"
Them: "Well, we need to do <feature X>"
Me: "<sighing> No. Your most important function is to protect your battery. If the device is dead, nothing else matters. Nobody should be able to make you drain your battery without your permission. After that consideration, you can do something useful."
The Troubling Reason the Electoral College Exists
Testify makes a moderate improvement to writing tests, but I still love it. Multiply the improvements across a hundred tests and the difference is huge.
If this were sponsored and implemented by a trading firm there would be angry comments about leeches living off honest people's incomes. minimising latency to push another ladBible video into your eye balls is way more moral and better for society apparently.
Exactly. coercion on the part of emotionally uninvested financial stakeholders like insurance companies is a likely end- state.
Clang is too clever and gives malloc the correct implicit declaration even when you don't have an explicit prototype:

test.c:10:12: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
[-Wimplicit-function-declaration]

I think that having a prototype mismatch with the actual declared function is undefined behavior, so this is a legal way to resolve it, but not every compiler will. Older compilers tended to treat malloc as just another function and wouldn't do this.

I was able to replicate the older behavior by wrapping malloc in my own function. In one file:

int main()
{
int* p;
p = (int*)wrapped_malloc(sizeof(int));
*p = 10;
return 0;
}

And in another file:

void *wrapped_malloc(int size) {
return malloc(size);
}

Compiling them into one program results in a crash. The relevant bit of assembly is:

0000000100000f4f	movslq	%eax, %rdi

So it is indeed only extracting the lower 32 bits of the returned pointer.

The page looks pretty old (the IA-64 reference sure is dated, anyway) so I'd guess that it was referring to an older compiler that didn't have a special case for malloc like this.
I see your point, and I see your concern. However, I don't think that concern alone is a stopping factor for implementing such a decision. That would mean that you cannot make progress in many bad situations, when people have begun to rely on them. As an example, I think Obama was right to pull out of Iraq, but he was criticized for increasing the instability there and the return of terrorist groups to it. The Republican support from the Rust belt is a similar example(moving from cheap to intellectual labor has been great for the USA's overall GDP, but has destroyed the livelihood of blue-collar workers).

That was the heart of my point - with a limited budget of resources, you simply cannot help anyone. At that point, you are faced with some philosophical questions - should I be maximizing some global 'goodness' factor, or should I be working for the local group that I am supposed to represent? In the end, the leaders of democratic countries are elected to represent the will of their voters, not to better mankind(unless that is what the voters want!).

If Trump and his supporters believe that a wall will improve the situation for the US and American citizens, then I don't think arguments about the welfare of others(whom they might even view antagonistically) will sway them.

I found different arguments much more persuasive - arguments that removing illegal immigrants would not bring jobs back to American citizens, because they were a net economic positive and creating demand as well as supply.

However, these arguments seemed to be drowned out by the loud, resonating narrative on how evil and racist the supporters of Trump's policy were, which I can only imagine hardened their resolve to get it through. An especially easy angle that Trump could pursue was the disregard of rule of law by illegal immigrant supporters, which I feel could have received a lot more attention and understanding from Trump's opposition.
I am sorry if this does not fit with your world view. In my environment facebook is some social media platform, with a few uplifting news but mostly irrelevant personal stuff. As anyone i am "friends" with way to many people without a specific genre, so i dont think my feed is special in that regard.

There is barely political or relevant stuff on my feed, and as said i never heard anyone say "did you read _that_ on facebook?" when talking about something in the news.

If that helps you: my circle is mostly from Austria and Switzerland
This could be fun to golf... smallest I've got is

main(){if(puts("Hello World!")){}}
What reality-based approach to predicting Trump's win would you have used? Note; anecdotes are not a reliable approach.
I highly recommend for those interested and able to visit the John Soane museum discussed here. Its an incredible space with an incredible collection, curated in a dense but careful way. In many ways the antithesis to the vapid detatchment of the great majority of art galleries and museums of today.
> "The librarian wants free content, and the copyright office is there to protect creators of content. They are diametrically opposed ideologies"

Well, that's an insane viewpoint.

Creative Commons and free culture licenses exist to maintain both!

> "You don't make any money from recording music anymore," he said. "The streaming services have wiped out that revenue stream."

Ah. So your company has failed to keep pace with what your audience wants, and so is falling apart. Your answer is to use copyright like a sledgehammer, rather than trying to understand the current market.
Hm - fair point. If I was to do something like this, I'd definitely treat it as a throwaway - I'd do some cursory data modeling, put some tables into a local MySQL DB, reverse engineer that with (say) Hibernate and then throw some Jersey services and some Ajax in front of it. I wouldn't give any consideration to scalability, or security, or maintainability... one would hope that a hiring committee would take that into account, but you're probably right, the people doing the evaluating would likely immediately forget that this was supposed to be thrown together in a couple of hours, people being people as they tend to be.
> You move to New York and limit yourself to one kid, of course!

Yeah, no

> New York is the only market that I'm aware where you can ask for a (one) car seat when you request an Uber. It worked fairly well when I went to visit, but most cars only have one seat, so if you have two kids you're still out of luck.

Interesting. I wonder why only New York? This is another one of those corporate decisions that I would really like to know how they arrived at.
Cut the shit.

> I weep for our nation and pray for it's kindness and fairness to all people.

Any yet you (presumably) voted for an openly racist fascist.
How so?
It's more tongue in cheek than the other parts of the analysis, but it's pretty straightforward in any case.
Nesting if/then/else don't make code more readable either.
Yeah, my impression is that the manufacturing will be automated, the pay of the job will be low, or the prices will increase in most situations. I guess it remains to be seen whether it is worth it but it seems to me that at the very least the transition will be painful.
Ask HN: Who is having trouble hiring?
What startups out there are having a hard time filling roles?

Particularly curious if there are some lesser-known companies at the Series A/B/C stage that are finding it difficult to fill a bunch of roles, possibly in unsexy industries like fintech, advertising, etc.
Welcome to reality
I have a few close friends and a plethora of acquaintances. A lot of my closest friends aren't particularly politically motivated so we don't talk about it much, but plenty of my acquaintances are. Now I don't argue with them anymore and read books instead. Much preferred.
I think we've always known that startups resemble one another and that they follow trends. This is not new. VCs also flock with each others' decisions and with markets.

Nothing really new here.
The reality is that not everyone wants open boarders and free trade and rights for all. Some.. actually about half of the people seem to reject this for some reason.

That's the perception tilt that doesn't seem to be reflected in the media
Somebody should make a mirror with a camera just to get rid of all those stupid selfie shots of people looking into a mirror while holding a camera.

Or something like Photoshop content-aware fill able to recognize the camera side of cell phones and replace it.
I liked Atom. But the more I use it the less I like it. Paying 300MB of RAM to edit a 5KB file seems idiotic. And the fact it can't open a file larger then 100K-256k means I can use it to manually inspect logs.

It was a nice distraction, but back to VIM.
If you are not a programmer, I don't know who else is.
Should I become a bot agency?
Thanks for sharing that link!
> proven, reality-based statistics

Nassim Taleb has been calling BS on FiveThirtyEight's methods and models for months: https://twitter.com/nntaleb/status/762032883414556674

He's now gone as far as calling FiveThirtyEight "clueless" and posted further comparisons of his model with theirs: https://dl.dropboxusercontent.com/u/50282823/binary%20foreca...
Correction, not technically the majority. He did not receive the most votes.
https://en.wikipedia.org/wiki/National_Popular_Vote_Intersta...

Ratified by 10 blue states representing 165 electoral votes, and zero red states. Most of the bluest states (CA, MA, NY, RI, DC, WA) ratified it during the Obama administration.
Thanks! Should be fixed now
I did CS and have been a professional programmer for more than 15 years on pretty much every platform under the sun. I am very introverted. I still panic during the whiteboard phase of the interview about 75% of the time. Like go blank on simple stuff. Some problems need collaboration but I find I can only really think clearly when alone. I have been debating taking one of those public speaking classes because I probably need to transition to more of management role (love programming, but, my hair is starting to turn grey and I hear we kick everyone out of the club when the grey happens). The public nervousness has not been very helpful in my life. I wonder what it's for? Why have that feature? Maybe it's a bug.
What are the bots up to on npm?
Interesting way of putting it!
Well, for me, it was usually because of the high quality commentary, wherein folks had rational discussions about the content of a piece rather than resorting to Reddit-style content-free snark that neither educates nor illuminates.

Funny how times change, eh?
I find it funny that those who vouched for free speech have been trashing Trump's supporters all this election, too much talk for free speech eh?
I think the cities and the small rural areas need a project to work on together. My suggestion would be infrastructure projects. Hire the people locally and from the city in masses.
One nit: A phonon is a vibration of a lattice, not light.
Thanks for the suggestion! I didn't know this museum existed, and I'll pay a visit as soon as I have a chance.
Heh, that's the best I can come up with; just aimed for it being pronounceable (diff-flow). No pun intended, except maybe that it's the "difference" you keep that "flows" to stuff you can actually enjoy?

Edit: Also thought of "discretionary income per UnFree hour" (DIPUPH) ... not sexy either though.
Our mirror does have a camera built in) For testing purposes we did use mirror selfies and those photos you just linda stuck around.
But Instagram integration will make it even better))
Doing ORMs and auth without knowing what you're doing imply a huge risk out of itself, which Go tries to avoid.

If you have relational data the solution is not to use an ORM to half-abstract it away, it's to learn SQL. ORMs can be useful tools to avoid boilerplate, but they will show their ugly internals when SHTF, and those are always harder to understand than plain SQL.

As for auth, it's very easy to add to any web application or HTTP API using one of the many middleware solutions out there.
Sometimes I get mad about the electoral college, but I always cool down. Because at the end of the day: this election was a tie. We use the electoral college to break ties. Maybe it's not ideal. Maybe popular vote would ve fairer. Maybe a coin flip would be fairer.

But really, I'm sad that Bush tied with Gore. I'm sad that Trump tied with Hillary. And I want to live in a country with better candidates, less party politics, and more decisive victories for my values.

From that perspective, the electoral college isn't really the problem, so I let it be.
taxi drivers, making discounts for clients with Trump's photo, weren't thinking about their terms. They just want peace.

To clarify: I'm not fan of Trump, but I glad to see such reaction.
I heard that last year some pre orders were counted towards the singles' day tally. Is that accounted for?
Could be, but personally I'm done with being silent and just chuckling silently to myself or rolling my eyes when people pull out these infotainment zingers disguised as "insight".

The last year has ripped covers off the culture war that the US has been slowly boiling in like a frog. BLM and Trump aren't one offs, there are tons of people with serious gripes in this country, and for myself I'd rather call out the BS that obscures this than just sit here and let it stand unchallenged.
Candidate Barred from Bench Wins Judge Election in Illinois
I collect retro consoles, I've had about all the gray plastic I can stomach
Web development needs qualifiers
Indeed, except, of course, the word "irredeemable" signals that it was just as impossible for them as it is for us.
Not according to exit polling.
Large-scale webGL-based data visualizations by Uber
But Trump's entire campaign was based on demonizing the other side with lies and disinformation and making unfair generalization about huge groups of people. And don't turn around and try to tell me that Clinton engaged in those kinds of tactics to the same degree. Are we just supposed to turn around and forget all of that, like none of it happened? No! That's like hoping your abusive father or husband will just suddenly start being more nice if you give him what he wants. When has that ever happened?
Efficient concurrent programming. I'm not aware of any cross-platform C/C++ or Python libraries that give you async I/O + multi-threaded coroutines. Such a library exists for the Java ecosystem (quasar), but IIRC, it's enabled by clever bytecode tricks, so it's not built with vanilla Java. Further, you still have to take care not to use any libraries that are incompatible with this concurrency model (e.g., anything that does sync I/O).
fun read.

But...I'm sure there would have been another worm or virus (and many others - like there had been) that would have caused the same vigilant info security that we have today.
I think his methodology was fine and pollsters were shit. If you look carefully at the map, he basically called all the swing states hilary and trump took from one another. His model saw the holes in the pollsters data. I think to swing trump to winnning, he'd probably just have to adjust a weighting factor by fractions of a percent. Look at how close michigan, florida and wisconsin were. The tiniest of margins won it for trump in the end. Literally a handful of factories that had closed in the past decade between those states determined this race.

The scarier thing is that for the next 10-20 years, boomers in the rust belt are going to swing republican unless dems can get a Bernie. To me, whatever democrat wins the michigan primary, is their candidate above all else.
Something like this could happen too: https://twitter.com/ariellejjohnson/status/79470832530046566...
Mostly bad design, it saves lots of money when developing and rolling out.

They didn't even have a firewall.
Ask HN: How do I defeat my filter bubble?
Like many Americans, I find myself doing some post-election soul searching. I read - a lot - and listen to podcasts - a lot - and travel and blah blah blah and generally try to be aware of the world. But evidence suggests I am way less aware than I thought.

One lesson of all this is that there's only so aware you're going to get of the world when that awareness is mediated by a screen. In other words, much of the solution is probably not technical. But some of it surely could be. Any suggestions on how to use technology, or something systematic, to become a more fully aware person?
Thank the Lord Almighty for Divine Interevention
Faster programs, easier programming
Yes. And the optimal policy is trivial given those inputs, as long as the aperture between pipes is larger than the "jump" height of the bird: if bird y + bird y velocity > bottom pipe y, jump. So finding that with a neural network or genetic algorithm is fairly silly.

If the aperture is smaller than the jump height, then you need to do something smart to time your jumps.
We tend to think in a one size fits all manner and in a team environment I find that counterproductive or even destructive.

Every team needs a couple of people who can solve problems on the spot. They're going to fix your production issues. You need a couple of people who want to know why all the time. Someone with a big picture view. Someone with good aesthetics. Someone schedule driven, and a process nerd.

But they don't have to be the same couple of people. Diversity is more than fine, it's essential to avoid echo chamber syndrome. Some of the worst projects I've worked on had little to no dissent in the ranks. The code was self consistent but entirely wrong (bad info architecture, slow, brittle, impossible to learn after the fact).

But everyone tries to hire people that think exactly like they do. If we weren't so bad at determining that we'd probably never make anything interesting at all.
Getting Started with CMake
I've been very impressed by AliExpress, and ordered over 50 different things in just the past year. My experience has been nothing but positive.

I've been filling my shopping cart for the past week, waiting for tomorrow's Singles' Day (aka 11.11 Shopping Festival).

On a side note, I think their Android app is top notch (far better than any shopping app I've used before).
Baby steps. They weren't sure if they could even fly a solar plane, so they figured that out first. Then they weren't sure if they could even communicate with the thing once it's up in the air, so they've just figured that part out. Next step will be to figure out if they can fly and communicate in different weather conditions. And maybe they won't figure that out, but at least they didn't "imagine it was useless" and not even try.
Oracle JDK download is geo blocked from US
What does SJW mean to you? Just someone who cares about social issues, or someone who only pretends to care for self-serving purposes? Or something else?

I really dislike that term, but maybe I'm misunderstanding what exactly people mean by it.