skysight-inc/HackerNews huggingface dataset:
>I don't recall people demonstrating and burning garbage cans and burning his effigy and chanting #notmypresident.

Then you weren't paying attention. A quick google of "obama not my president -trump" or "obama effigy" will show you plenty of examples, with the bonus racism of hanging the effigy from a tree like they did back in the day. Here [1] is a 2009 Psychology Today article about the "not my president" phenomenon. In the late '90s there were anti-Clinton "My President is Charlton Heston" bumper stickers [2], referring to his position in the NRA.

I'm not justifying people's actions today, and I don't think it's a productive way to move forward, but it's also definitely not a new development.

[1] https://www.psychologytoday.com/blog/the-meaning-in-life/200...
[2] https://www.alamy.com/stock-photo-bumper-sticker-charlton-he...
React-mapbox-autocomplete a component for mapbox places independent of maps
Sexual assault is already legitimized. You can rape someone and you will almost certainly not be arrested, and suffer no real social consequences. Trump didn't change that he just made it more obvious.
Public perceptions of robotics and AI, what’s your pet peeve?
The editorial page of the NY Times was heavily pro-Clinton (and anti-Trump). The news side was just straight-ahead, aggressive journalism, IMHO. As examples, they broke the story about Clinton's email server, which arguably was the biggest blow to her campaign, and had continual reports from the Wikileaks/Russian DNC release.

(I thought reporting the latter was over-aggressive. It was anonymous, uncorroborated data from arguably the most dubious possible source, Russian intelligence.)
In 2004 I got a job at a company that used basically this method, except I didn't get paid for it. I think I got the assignment on Monday, and had to present the results on Friday, so it wasn't over the weekend. Though I could be wrong on that. I could ask the CTO questions (it was a small company), and on Friday I presented it for the other devs, who asked questions, and later voted by email on whether I should be hired. I was, and it struck me as the best hiring process I'd ever seen.
Text after a blank line
that is indented by two
or more spaces is reproduced verbatim.
(This is intended for code.)
Extremely. Broken quanta will release its energy. Check solitons (example: https://www.youtube.com/watch?v=JD32kkoFU3Y ). Soliton wave can cross ocean, but if you broke it pattern, you will have regular waves, not a half of solition.
> One, if not the key to Trump's victory was the Rust Belt, where the above analysis fits rather nicely with the facts on the ground. Whatever role a "Pravda breaker" played (I love the concept), the voters in those states that put Obama over the top in 2008 then voted for Trump 8 years later (which also does a fair job of killing the "they're racists!" argument).

Obama ran as a changemaker for the working class. Clinton ran on an everything's fine platform. If you didn't think that everything was fine, and you were at least mildly racist or honestly believed that Trump wasn't, you switched from Obama to Trump. If you didn't think that everything was fine and were disappointed in Obama, and you were black, or not racist at all, you stayed home. If you thought that the only problem with Obama was Republicans, liked to think of yourself as a cosmopolitan citizen of the world, worked in professional services, and were educated and eating good, or if you were one of the mass media-credulous, you turned out for Clinton.

A thing I've been amused by over the past few days is how clear it was that none of the print/internet media had any stories or analysis prepared for the possibility that Trump won. Like Brexit (or Corbyn), it simply wasn't part of their concept of reality.
One problem is that syntax is just one (rather shallow) part of the design of a programming language, but it's one that gets a lot of attention because everyone who's used two programming languages can tell that it's a point where languages differ. Semantics (rules about what blobs of syntax mean) is a much more interesting way for languages to differ, but most "build a language" tutorials I (and probably GP) have seen don't seem aware that there are even decisions to be made there. The "your own" bit in the title is also a bit upsetting for a post that hands the reader a language and its implementation instead of talking about something of the reader's own design.
The fact that prices went up at all shows there is a huge problem. We're already paying more than anyone else in the world, why can't we get something for our money instead of having to pay even more?
Literally cannot build against node 7
https://github.com/atom/apm/issues/636
Trump Was Stronger Where the Economy Is Weaker
President Trump: What Does It Mean for Your Tax Bill?
If the only reason you haven't murdered anyone is that you haven't been offered enough money, I'm genuinely concerned.
Maybe he wants to make money with charging people twice?
Possibly.

I was on the Adwords Campaign Management team (responsible for http://adwords.google.com). In a way, you can tell it would've sucked, as you can see their interface is still the same crap, backward, half-assed garbage it was when it launched in 2009.

Even separate from the nature of the team (most didn't really seem happy), it seems I was further singled out in some way. I don't know why, but they seemed very serious about ensuring I was miserable, harassed, annoyed, and stalled out (unable to do anything). And then, as I walked around each day, many looked miserable (depressed or anxious and on edge (worried about sounding stupid?)), and there seemed to be a general mood of dissatisfaction.

If you read reviews on Glassdoor, Quora, or anywhere else online, you'll probably start hearing the same themes. That is, even if I wasn't explicitly singled out, I still would've probably not enjoyed my time there; it just wouldn't have been as severe.
Hit 1M points, 73 generations! Little guy just keeps on going. http://imgur.com/a/HFwRC
Murder is still considered worse than torture by most people, so it's appropriate that our laws reflect that.
Maybe you didn't notice, but Hillary had the same take on the economy as Trump --we need jobs, we need to create well paying jobs --people cannot afford an American lifestyle, etc.

So, at least in appearances, she bought in to the same line of thought --and no one more so than Bernie!
A lot of comments here are referencing the National Popular Vote Interstate Compact (NPVIC). If it ever comes to fruition, it would be a rather clever hack to get around needing a constitutional amendment to change/abolish the electoral college.

Don't get too optimistic about it going places, though. We've got three types of states these days: red states, swing states, and blue states. Let's look at incentives:

Blue states are the only ones to go for NPVIC so far, and it's easy to see the incentive: Blue states have twice in the last 20 years seen their candidate get more votes than the other and lose anyway. So far, blue states have contributed 165 electoral votes to the effort, and could maybe contribute another 17 or so (CT, OR, DE).

Swing states are not incentivized to go for NPVIC. Presidential campaigns bring lots of money to swing states. Swing states have contributed 0 EVs so far, and according to Wikipedia three such states are considering it: AZ, PA, MI. I expect each of these to fail. It would be big news if any succeeded.

Red states: They've seen their preferred candidate win while getting outvoted twice in the last 20 years. They currently see the NPVIC as Democrats asking for a rule-change to make it easier for them to win. I could see red states start to go for this if a Republican loses while getting more votes. Until that happens, the red-state contribution to the NPVIC will at or near 0 EV.
AppMail – The ultimate e-mail platform for developers
I completely agree. I saw that and thought - um, that's not a 2 hour job unless you want a massively hacked together app. I might be able to do something modestly decent over a weekend, but 2 hours? Nope. You have to have ways of inputting/verifying data, tagging genres, etc. I've done a lot of similar code but that's why I know it's basic, but not quick. It would let me know that the job wasn't going to last because of the lack of knowledge in estimating software development.
This guide has great info, do yourself a favor and check out.
The distraction economy
Shadow DOM fixes CSS scoping with the caveat that it fixes CSS scoping. If want to allow a 3rd party to style inside of a shadow root CSS variables is the only current way. While this works, it's pretty painful to pass variables for each property you need to style.

We desperately need CSS @apply [1] which gives CSS something similar to sass mixins. So to theme inside of shadow boundaries you would pass @apply rules.

[1] https://tabatkins.github.io/specs/css-apply-rule/
Right, with the syntax I chose there ends up being, IIRC, 6 different forms (<op>, <op> <arg1>, etc.), which can't be nested. Some of those forms share patterns which could be described as a nested grammar, but I just abstracted them in the parser code as functions (i.e. functions to parse patterns that show up in multiple forms).

I did use a lexer. I wrote an assembler before without using a lexer; using the lexer isn't that much simpler IMO, but it makes it more robust and makes it much easier to systematically catch syntax errors and produce meaningful errors.
He's getting downvoted because he's short quip is not a useful addition to the discussion.

If you already know that correlation != causation, then his quip is useless. If you don't, then those two words are also useless to you.

Either way it's a useless post and if he can't be bothered to explain more, then don't bother making the post.
This is full of information so do yourself a favor and check out.
Huh??? Can you please elaborate on that? Because that makes no sense to me at all.
PJ every time!
In my software engineering class, were using a lot of UML diagrams.

I don't know what to believe anymore as it looks like it's rarely used in the industry.
This quote caught my attention: "Caffe2go is core to the machine learning products at Facebook, together with research toolchains such as Torch. Because of its size, speed, and flexibility, we're rolling Caffe2go out across Facebook's stack."

Does this mean that Torch will forever be relegated to R&D status within Facebook while production apps will always be Caffe, similar to the two-language problem[1] that Julia aims to solve? I know that Yann Lecun created Lush and Torch7 is a spiritual successor, which was used for many years in the Lecun's NYU AI research lab[2], but am curious if this means a slow decline of Torch's relevance despite the numerous Facebook torch extensions[3] released relatively recently.

[1] https://www.opendatascience.com/conferences/odsc-east-2016-s...

[2] https://www.reddit.com/r/MachineLearning/comments/25lnbt/ama...

[3] https://github.com/facebook/fbcunn
> Sure, but the priority order should be: complexity,length,number.

I think that, of these three, reducing complexity is the only one to which we should directly aspire; reducing the length and number of regulations is, I think, helpful only to the extent that it reduces, or at least doesn't increase, complexity.
One example from Leibovich:

https://wikileaks.org/podesta-emails/emailid/4213

And one of Haberman's stories being sent to Podesta:

https://wikileaks.org/podesta-emails/emailid/51561

Here's a Clinton campaign strategy document that mentions Haberman and how she has "teed up many stories for us before and [we] have never been disappointed":

https://www.documentcloud.org/documents/3125945-Story-Memo.h...

Doing an advanced search on Wikileaks filtering by "nytdirect@nytimes.com" in the sender field, you'll see that the first drafts of nearly 50 different articles were sent to John Podesta:

https://wikileaks.org/podesta-emails/?q=&mfrom=nytdirect%40n...
Checked exceptions

Lack of functional composition

Mandatory types (for every trivial parameter object or "lambda")

Excessive Object-Whatever-Mapping

Coping with mutable state in large amounts of effectively global data.

Excessive partitioning due to the size impacts of above hardships

Then we can start to talk about the lengths of the lines...
definitly 2nd hand. The current model is probably the x260 with their model naming convention. Still an awfully capable machine for the price tag. And much like widely available cars, if it breaks, you either get new parts or get a new one altogether.
> Their echo chamber is no better than most peoples' Facebook feeds these days.

I think this explains it all.
If you write that in 2 hours, honestly I can't see that being code I'd hire someone for. You'd have to hack together garbage code and you'd look like someone who threw things together without thinking.
Let's be candid here. Usually, people who use "autistic" as a pejorative really mean "clueless," or worse, "addle-brained." Both are far better alternatives, and neither alternative will collaterally insult autistic people. If you want to insult someone, go ahead. But don't accidentally insult a whole bunch of other people in the process.

If there is nothing wrong with being autistic, then it's poor communication to use it as a pejorative. And if there is something wrong with being autistic, then it's cruel to use it as a pejorative. Either way, there are other, better ways to express oneself.

I'm not going to discuss a blanket assessment of all tech industry workers as "on the spectrum." That's not my area of expertise.

I had a friend who is really short. I used to tease him a little about his height (we didn't exactly see eye to eye), but one day I noticed that he seemed hurt by my jokes so I stopped.

Autistic people have enough social challenges and confidence issues. You'd have to have ice water in your veins to intentionally add to that. They deal with enough difficulty as it is.

Sometimes it's about sensing how the other guy feels. The coolest guys try to draw attention to their friends' good qualities, big up the confidence of those around them, and help their peers stand taller. Obama did this once in a crowd that said a cutesy "aww" when a fourth-grader came up to ask a question; the President immediately interrupted the crowd, said that the boy was a big guy, and suggested that they let him speak.

Here's the video:
https://youtu.be/BewOcp1JtDU

Autistic people don't deserve to be used as a punchline or pejorative. If you really mean "clueless," then say "clueless."
Normally debts don't get inherited without consent.

This, is more about shifting this debt to the kids or kicking them out of the facility. Further, they are not going to get 'better' the facility's are focused on keeping patents alive to extract as much money from the family as possible not because the elderly actually want to suffer as long as possible or necessarily benefit from the care.

PS: Funeral homes are also setup to prey on people suffering a loss. It's a sick business.
> Voters didn't vote for Trump because ... they voted for him out of ...

I'd like to propose a rule on HN, Don't make claims about issues like this without a serious factual basis. We have more than enough speculation already; more is just spam.
If you're an independent contractor, you'll pay a 15% rate on your income. 15%.

Also: "those earning less than $48,400 will experience an annual tax cut of less than $400, while those earning in excess of $700,000 will walk away with an average of an extra $215,000 per year." (That's probably assuming the 700k is from business interests, not salary)
> I've never served in the military, but from the people I know that have, they pretty much learn to take the same attitude.

The phrase used in the US military for this is "Embrace the suck". Which means "The situation is bad, but deal with it."
How we ditched HTTP and transitioned to MQTT
I think it makes sense to discuss which schedule works best for the applicant. Maybe they prefer to do it during the week, maybe they prefer to do it right there and then.
The complete guide to virtual reality – everything you need to get started
it's about lizards.
the usual USD-GBP/EUR price parity.
Airbnb vs. the city
Are they seriously trying to blame facebook for the voting result now?
I think there is a difference. Those were more isolated incidents --they were not mass protests on the day after the election. I mean in the least it shows them in no better light than the worst form the far-right.

Is that how they want to show the rest of America the way forward?
Do you have some useful research you could share?
I think the current interview process fails but...this idea of seeing if people can code a small project isn't much better - it might be worse. It's a lot different giving someone a tiny project to knock out in a weekend and working with them for weeks during crunch time, or getting estimates, or just if they are a good workmate. You're basing an entire hiring decision on whether the person can write some queries and a page?

I mean, I like the idea of proving what I can do, but software development - as in most jobs - are far more than technical ability.
has anybody evaluated building an api in Go vs Kotlin ? We are considering moving our financial tool api from python to either Go or JVM/Kotlin/JavaLombok+lambda .

I really like Kotlin as a language.. but im really worried about the future. Jetbrains isnt Google....

I like Kotlin also because we are an app-based startup.. and we have been considering Kotlin on the app side as well. That would be a nice crossover of engineering !
Yes, me too. I often find far better solutions to problems after backing off and deliberately not thinking about the issue.
Even writing Postgres functions, you're still writing the same basic SQL statements (for the 80% of your database interactions that are essentially CRUD) over and over again.

People used to defend writing things in assembly language for similar reasons, as a way of getting more machine sympathy. I'm not buying it.
I'm actually happy for you. And I'm scared about some things (mostly health care access and wars due to climate change) but I am also excited to see how some of these conservative policies pan out in practice. I hope it moves the dialog forward.

That said, your mandate claim is kind of absurd. More people voted for Romney than Trump.

And Obama got almost 10% more votes than Trump did. So it's not nearly "as loud as can be". Turnout was very low.
It is just a typo.

The compiler considers it to be a label.

Perfectly legitimate.
I love to see Linux Kernel, distributions put more focus on easy program / workflow that detect of insecure behaviors.

(Good old ZoneAlarm type GUI / workflow would be very nice.)

* Report and block if someone able to run any kind of privilege escalation exploit.

* Report and block if any non-white list apps attempt to make any network connections to internet and any external IP.

* Report and block if any non-white list apps, scripts try to run and execute any program.

Selinux seems to claim it can do most of these. But the barrier of entry to setup and using it effectively is high (at lease for noob like me).
Site of GM mosquito trial uncertain after locals vote against being guinea pigs
A few months ago I looked to buy a new flashlight and was shocked at how many choices there are.

All I wanted was a light with two modes - on and off. Maybe a low-light mode for insane battery life in a prolonged emergency. I wanted it to run on batteries I can find in a gas station. I went into the rabbit hole and never actually bought anything. I started to make a spreadsheet with all the options and features then wondered what the hell I was doing and gave up.
this is the kind of thing I was thinking of. it might be the best solution, except for the connotations. but just letting them learn about the culture and knowing their whereabouts and figuring out if they have any criminal tendencies in a controlled environment should be beneficial for everyone.
Very good question. Of course all services behave a little differently which is out of our control. To be honest, I don't have an exact answer on that. In my first tests I could chain a download directly after the upload with all services. But I don't know if that's because they're all guaranteed to be read-after-write or some were eventually-consistent just really fast. In general, if one service is read-after-write and you want to switch it for one that isn't you might get problems, unless you've programmed defensively (checking for existence before proceeding).
Give us some time to check that and run some more tests.
Many many fewer precincts and political domains.

The US has a total of 3,143 counties or equivalents per Wikipedia, obviously divided between 50 states and D.C., each a separate political domain, both counties and states. Corrupting enough of those under the Electoral College's constraints is a lot harder.
One of my (current) favorite quotes:

"And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore."

- Kurt Vonnegut
There is such thing: www.techmeabroad.com

It only lists Tech job offers from companies willing to recruit internationally and to sponsor working visa if necessary. It's free. I co-created that website. Enjoy :)
>There is no "map" function, but there are "List.map", "Dict.map", "Array.map" among others, and none of them are related to one another. This is not only annoying, but also breaks the abstract data-type guarantee: our call-sites are now tightly coupled to our implementation details. If I decide to change from a "List a" to an "Array a" for efficiency reasons, my whole codebase needs to know about it.

I can accept this in old languages. I can accept this in embedded languages. I cannot accept this in a language that is supposed to be about programmer productivity.

Basically this patient has one bullet hole in their heart. One. This doesn't make the patient dead as the author seems to let you think.
My $6,000 Welcome Gift to Donald Trump
Again, you'd have to define "run". Do you mean sub-4h? Sure, I'd agree it was wildly unlikely a normal person[1] could manage that in a month.

Personally I ran a 5h30 marathon (solo, carrying water+food, half-trail) without following a training plan at all - went from 1k to 13k to 21k to 42k in 15 weeks. By no stretch of any loose definition was I "already fit".

[1] people who don't already have a certain level of fitness.

[Edit: corrected 14 to 15 weeks after checking calendar]
There's also a Maslow hierarchy argument: millions of people have lost their jobs due to a variety of reasons, from "outsourcing" to "automation" to the "energy revolution". Social arguments, KKK, racism, etc. are meaningless when you worry about putting food on the table. Trump appealed to that sense.

The truth is that most of these jobs aren't coming back. Trump told them what they want to hear, namely that he will fight to bring back the jobs. Clinton told them what they had to hear, namely that many of these jobs aren't coming back and we need to figure out where the displaced workers fit in the working society. Needless to say, voters preferred Trump's messaging.