skysight-inc/HackerNews huggingface dataset:
Hey everyone, this has been a pretty crazy day for me, and I'm pretty sure it's been crazy for everyone else as all. Sorry for only just responding to everyone on this thread, I've been super busy and have only just gotten a chance to sit down and get to work.

First off, I'd like to thank everyone for the feedback of gotten on the project, both positive and negative. As was revealed by the ton of technical difficulties and ridiculously sized bundle.js file, this was a hashed together project that was more of a proof of concept rather than a final app. Now that I know that there's a lot of interest in at least some sort of app developed along these lines, I'm going to spend a lot of time polishing the site and exactly how one expresses belief "for" or "against" topics or people. I also plan to look into research as posted on how to work against polarization in the country. I pushed a couple changes that should hopefully account for some of the technical problems people were having earlier, but I won't have time until the weekend to dive deep into it.

Secondly, I totally agree with okreallywtf that technology like this has the potential to be great, but so far tech's only made the problem worse. As the interest from HN shows, I think that there's a lot of room for developers to actually go out into more bridge-building type projects that work to get people to interact with those on the "other side." To get moralistic, I think that there's not only room for development here, but that we have the duty to explore these options. We have to prevent division from becoming further entrenched in this country. In this vein, I want to especially point out comments that highlight other sites that try to bring people together and become more informed about government like Placecot and pol.is. Maybe there's still ways that social media and technology can change the ways we interact with people. Perhaps we just have to be more aware of the forces that keep us within our own ideological bubbles.

We have a lot to work to do in this country to try and bring everyone together after this election. Let's see what can be done.
It's under the limit ($600):
https://www.irs.gov/businesses/small-businesses-self-employe...

But even if it wasn't, a company of any significant size (enough to pay even 1 person's salary, say) should have a low effort and cheap way of tracking contractor payments and issuing 1099s.
While I'm not here defending Trump, I expect to see a lot of the debate vitriol get completely reversed by Trump's advisers now that he actually has the Oval Office. I find this one scary as well, but I will wait and see just where they go with this now that they have their "mandate".

That said, it is likely to see sanctioned, commonplace profiling of minorities in a Trump administration. Rudy Giuliani seems to be one of his closer domestic crime advisers, and it is Giuliani that hired Bratton for the "zero tolerance" Terry stops (ie "stop and frisk") in NYC.
Your claim was that Elm isn't boilerplate heavy, but without these types of abstractions, it is.

Perhaps you can't see the benefit and you're happy writing 10 implementations of "show", but don't claim there is no boilerplate.

For the record I don't care if it's typeclasses and I wouldn't want to see Elm turn into haskell. I'd just like some other type of mechanism for abstraction besides extracting to a function.
He also called Snowden a traitor and wanted to boycott Apple because of the 5C encryption incident.
if that's common then it's a reasonable criteria for the position, sure. That hardly ever comes up in my work environments, so I'd be happy with an engineer who is awesome 99.999% of the time when they aren't in this position.
A significant amount of coal is burned in the world today. Much of it is burned in an inefficient way. Retrofitting coal burning plants to burn cleaner would a large impact on global carbon emissions. Replacing coal with cleaner sources would also have a large impact.

The important thing is: dollar-for-dollar, retrofitting is more effective than replacing.
Clearly Ivanka wrote this.
Nassim Taleb is like his own Markov chain text generator now
Which contradicts what many of his supporters claim is his main allure, that he's real and "tells it like it is."
It's signed on my laptop.
I can present to audiences pretty easily, I actually enjoy it. I also don't mind at all having a client watch what I'm doing. And yet, while I have no trouble doing interviews - having worked as a freelancer that would have been pretty bad - the situations are not comparable even for me. I loathe interviews. Fortunately a lot of clients, and I've had several major companies, had people hiring me without any of the usual stuff based on a gut feeling, I had to answer silly irrelevant technical questions only twice. And once I even failed "explain a right join" - something surely everybody would be expected to know, and of course I do, but at that moment I blanked. I go the job anyway but it goes to show that even to me interviews are a very different and greater kind of stress than anything normal work can throw at me. Even if it looks the same, it isn't, not at all! The brain knows context.

An interview situation is much more adversarial: They are looking out for reasons not to hire you, you are competing with others for the job and only one can get it! No such consideration on the job, unless the work environment is completely and ridiculously broken. When are you ever in a work situation where several people work on competing solutions and everybody else but the person who made the winning one is fired? At work you are working together, and to solve a problem, not to week you out of the pool.
"Two, the monetary cost of a book isn't the largest "cost"."

Is that going to be true for all people around the world, regardless of income? Sure it's probably true for you or I, but free learning resources are likely to be vital for many others.
How to invent an interesting problem which can be solved in 2 hours, which can not be found in the Internet and would allow candidate to demonstrate something?

And you need to produce such problems relatively often, right?
Btw, small bone to pick with the Pact whitepaper[1]:

> EVM and Solidity have no support for atomic execution. Ethereum contracts simply abort on error, leaving developers with the impossible task of undoing previous writes and contract creates after any possible error condition.

EVM transactions are atomic; all state changes are reverted on aborts (out-of-gas errors and throws). Ethereum state changes are committed only after successful transaction execution, so developers never have to worry about writes from half-executed transactions.

1. http://kadena.io/docs/Kadena-PactWhitepaper-Oct2016.pdf
In my experience, high-pressure "fix it now" scenarios are about leaning on what you know about the system, interpreting metrics and log messages, understanding how it's going wrong, and deploying a (usually very simple) fix. Sometimes just blindly hitting the "rollback" button as a first step fixes it, too.

Performing well in this kind of scenario is much less about algorithms and data structures, and much more about systems thinking and the level of your understanding of your system.
Heh, not a chemist either, but the parent probably has the same feeling I get when I watch "hackers" in crime dramas break into systems and see a bunch of HTML and CSS on their terminals.
Gp is being downvoted for more or less indiscriminately trying to tar everyone who voted for a certain candidate in democratic election.

If you check the comment history of gp you'll see.

Please note that I am not a fan of Trump, I just refuse to accept that 50% of Americans are dumb and evil.
Mine is signed. Maybe the HN crowd tends to have less restrictive GateKeeper settings since running unsigned stuff is kind of a pain in the ass.
Not much accountability from the CEO for stagnant product vision and direction. I guess if I founded Twitter I wouldnt fire myself either, but if I was their board I would think about it.
The government is buying treasuries to push down rates, not because they are doing QE at the moment. Now pushing down rates means there is more money to borrow (the gov buys from owners of bonds, they get cash in return), but it doesn't necessarily mean the government is printing money (you can tell by he inflation rate, which is still quite reasonable).

The corporate bond market cannot soak up trillions of dollars in safe investments. In fact, low interest rates can simply result from high demand for treasury bonds because they are a "sure thing."
Look at this game on Steam: “Make America Great Again: The Trump Presidency”
Trump University? How he stuck contractors he hired and managed to get out of paying them their due? Trump is a huckster and given his track record, I cannot believe he is going to sober up and be fair and honest here.
You said that entertaining the idea of "clean coal" is a referendum on science education in our country.

I'm saying that the idea is completely compatible with science, and at a cursory inspection seems like a completely viable solution. There's no education problem involved in at least discussing it.

Is coal at ~70% efficiency a better solution than nuclear, solar, wind, hydro, etc.? I'm not sure, but that is sure as hell not snake oil.
A curated list of amazingly awesome Elixir and Erlang libraries, resources
Well, where will your parents be going? They are getting older. You won't have them forever.

If that doesn't spend all the money, good! You'll be needing it. Starting a new household is full of expenses. That includes minor things which add up, everything from a salt shaker to a mop.
A Lesson in Discerning the American Glass Ceiling
Silicon Valley Reels After Trump’s Election
Have you tried hired.com ?
I have found these sources useful for learning and prototyping NLP:

http://garysieling.com/blog/entity-recognition-with-scala-an...

http://tika.apache.org

NLTK is always a good starting point:
http://www.nltk.org

I also wrote a 3-part article leveraging OpenNLP with Clojure:

http://edeferia.blogspot.com/2015/03/from-natural-language-t...

If you're interesting in applying NLP without necessarily having theoretical background, wit.ai offers some really impressive features.

Course also offers a good course:

https://www.coursera.org/learn/natural-language-processing
I've never felt that pressure. Keep an air of confidence. Let them assume you know way more than they do about almost anything else. They'll feel like they're really shining in this moment, and impressing you, and growing in their role. Win win.
Do you not use frameworks or anything?

CoC (Convention Over Configuration) solves most of the problem for you, since it's basically CRUD, and that is boilerplate stuff in pretty much any language.
I actually don't think Donald Trump is particularly more sexist than a randomly sampled American.

What I think is sexist is the outsized hate campaign that has dogged Hillary since she became first lady. She's not notably worse by any metric than John Kerry but she receives way more vitriol.

People were saying she was literally Satan. And Bernie voters were saying she was unacceptable due to being a corrupt sellout establishment candidate, but again... John Kerry didn't receive anywhere near the level of hate.

It's a tough issue to argue though, because I'm not saying it's black and white: I'm not saying haters would've supported her if she was a man. It's more of a matter of degree: the anger and malice toward her would've been less if she was a man. The tenor of people's opposition would've been different.

For that reason I don't think you're awful if you don't believe me. There's enough ambiguity that I think you can say "let's call it an open question and focus on more irrefutable examples of sexism".

But the reason so many women are upset is this is exactly the kind of sexism they face evety day: subtle sexism that is difficult to prove, but when experienced over several decades feels undeniable.
> In four years, we'll either have a 1-party system or an N-party system.

This is the same thing I heard from Democrats in 2000 and 2004, and the same thing I heard from Republicans in 2008. It is unlikely to actually happen. People are too complacent, and a good chunk of America will be perfectly satiated by cheap prices at the pump.
This isn't the same kind of pressure, though. In this case you are familiar with the people, problem, code, etc.
Techno Music , Idm, Ambient, Experimental, Glitch, Darkwave 90 Playlist
Look we can go back and forward and at the end we are both right. . .example, I can say that we doing something about our environment does not make a difference because of countries like China and India's pollution make it over the pacific into our environment. . .
See my longer comment above. Last paragraph:

An interview situation is much more adversarial: They are looking out for reasons not to hire you, you are competing with others for the job and only one can get it! No such consideration on the job, unless the work environment is completely and ridiculously broken. When are you ever in a work situation where several people work on competing solutions and everybody else but the person who made the winning one is fired? At work you are working together, and to solve a problem, not to week you out of the pool.
Well of course there are ways to write reusable code without type classes. But let's say for the sake of argument that that's really what you want. You can in fact implement ad-hoc polymorphism, or something very close to it, without type classes. Type classes can be seen as a way to implicitly add a set of values to scope, but this can be done explicitly by using a record type. Consider (I'm guessing at syntax, I don't know elm):

-- Monoid as a record type
type Monoid a = {
empty: a,
append: a -> a -> a
}

-- Using this to make a generic concatenator
mconcat : Monoid a -> [a] -> a
mconcat m = foldl m.append m.empty

-- Instance of Monoid for strings
MString : Monoid String
MString = {
empty = "",
append = (++)
}

-- Instance for ints
MInt : Monoid Int
MInt = {
empty = 0,
append = (+)
}

-- Use the generic function
unlines : [String] -> String
unlines = mconcat MString . intercalate "\n"

You'll note here that the actual function signature for mconcat looks almost exactly like its Haskell counterpart, just that the Monoid instance is a regular argument like any other.

Of course the downside is that you have to pass in the instance argument to any "type class polymorphic" function, so you lose a bit of conciseness but not much in the way of expressiveness. And you actually gain a bit, because instances are explicit (for example, you could make an instance of Monoid Int which used 1 and (*) instead).

I'm not sure if this pattern is used anywhere in extant Elm code, but this is a common way to implement type classes under the hood in languages that support them, and the approach seems doable in elm.
I blame the board for Dorsey and for most of the other problems. (Yes, I know he's a member of the board...)

It's inevitable that a lot of executive positions get filled by personal connections, and it's inevitable that board members reward their friends, etc. Despite that, many businesses end up being run pretty well. However, the Twitter board has extremely irresponsible and negligent -- far more so than is normally the case.

I don't think any executive reshuffles or new CEOs will help, because the board contributes as much to the problem as anyone else.
To add to this:

"Virtually free" can mean somewhere around 2000 Euros a year. A lot of people get aid (I didn't have to pay for my last year thanks to this). Plus most engineering schools don't really use textbooks, so you don't have much in extra expenses apart from a laptop.

Yes, taxes pay for this, but that was my out-of-pocket for schooling.
If I saw countless examples of cheaters getting caught, losing everything, and going to jail, I would be pretty disinclined to cheat.
> In the US, you take the Engineer In Training (EIT) exam when you graduate university, then require 4 years of industry experience before you can sit the PE (Professional Engineer) exam. If you pass that, you can call yourself an Engineer.

I believe you that this is the requirement for some fields of engineering. However, there are thousands of people reading HN with the job title 'software engineer' who did not take those exams.
100% This. I just wasted a bunch of time extracting an offer from one of AmaGooFaceFlix. Supposedly a top SV company with good compensation.

Got an awful offer to relocate to an area where 1/4 to 1/2 the house costs twice as much and I would no longer be able to work from home. I would also lose a significant portion of my life commuting. The offer was comparable to what I made working remote from Boston.

I don't mean comparable in the sense that they tacked on a CA bump to handle the cost. Comparable as in same money, but I would have to live in CA.

Ended up working remote for more somewhere else. Everyone's time wasted. I don't get it at all. It's not like they didn't know it was low.
• What 2 hour project can you assign that would let the candidate go into enough depth for you to judge their code, design decisions, architecture skills?

What whiteboard interview would?
The best strategy for cyberconflict may not be a cyber strategy
They have 12,000 mi of high speed rail system, (more than the rest of the world combined) we have 0.
Some people do have real issues that rightly or wrongly get blamed on immigration, but there's also no shortage of actual racism among those who really, really seem to care about immigration. It's not like you don't see tons of explicit or implicit racism on Reddit or Twitter or Facebook among Trump supporters. Or at Trump rallys, for that matter, like "Jew S A" chants or people proudly wearing t-shirts that they think are hilarious about lynching journalists (like, actual old-fashioned lynching involving ropes and trees and victims).

Hell, the KKK endorsed Trump and he didn't denounce them. So yes, there are at least some people who like Trump for his anti-immigrant views that base their support on racism. Based on what I've seen online and in person, there are quite a few of them. Maybe that's not all of them, and some or most are really just concerned about it as a law and order issue, but Trump made absolutely no effort to distinguish between the two. At no point did he ever make any statement that attempted to disassociate his views on immigration from racism, and he was called upon to do so throughout the campaign (like after the KKK endorsement).

Maybe he himself has more enlightened views on immigration, but he clearly couldn't care less if people were on his side because of pure racism. He stoked those fires over and over and over again. Maybe he's just incredibly misunderstood, but he sure as hell didn't make an effort to clarify anything if he was. That speaks volumes about his morals. If you're going to take a hardline stance on illegal immigration and make it a centerpiece of your campaign, it makes it that much more important to be very clear and explicit that racism is not a factor, if for no other reasons than to avoid getting lumped in with racists and to avoid indulging racist tendencies within your own base. Leaders are supposed to lead, and someone who wants to be president has a vastly greater responsibility to be a leader.

Also, the fact that the strongest support for Trump's anti-immigrant views came from the parts of the country that have the fewest immigrants doesn't help. I've known plenty of people who've lived their whole lives within 100 miles of where they were born, in parts of the country where they may not ever actually see a black person, much less anyone from the Middle East or Mexico. People in these homogenous rural communities form (in terms of numbers at least) the core of anti-immigrant sentiment, and yet they also seem to think that strange brown people sneaking into the country is the #1 issue facing America today. It's very hard to look at those views coming from those demographics and not think that there's at least some racism and xenophobia driving those views.
This patch also works fine on Spotify for Linux if you patch with ghex.
Specifically, what policies of Clinton's did you hear the media report on? All that comes to mind to me is the drivel on both sides regarding rumors and supposed scandal. Not much policy analysis at all. (Then again I'm pretty exhausted after this campaign season, so my memory may not be what it should.)

I do remember reports from within the Trump campaign that they had a difficult time keeping him on message. One of the benefits of message discipline is that it limits the opportunities for the media to report on things other than what you think is important for your campaign.

I think the media in general has fallen down on the job (which I have my own reasons for that I'm not going to bring up here), but I think a lot of that has been due to what they find gets people to view their ads as subscription numbers have fallen and they've needed to rely on online ad revenue. This is a serious problem. We've gotten to the point where we no longer have a generally accepted shared source of trust. If Trump were hammering home his Contract with the American Voter, I think you would have heard about it, regardless of media bias.

I do think relying on the media in this day and age (and thank you for paying for it, as do I) to present the information you require is a little bit foolish. If you find it's lacking something you need, unfortunately I think we need to dig for ourselves.

If you've got ideas on how to figure out how we can once again get to some shared, trusted sources, I'm all ears :)
ECM – T.38's Dirty Little Secret (And Why It Matters)
Excellent insight. I just finished a weekend project for a company (and really the onus was more on my wife who had to take the kids by herself all weekend), and all I got back was "nope".
Teju Cole Reminds Us of Life Beyond Politics, and the Beauty of Art
The media is just soundbites. That's all.

It's not supposed to be informative, it's clickbait. It's entertainment. It's drivel.
Word to the wise, less people voted for Trump than they did for Mitt Romney in 2012 (although they are still counting), and Romney lost. Next time, put someone up who could be voted for, not just point to someone to vote against.
Donald Trump – The Elites vs. The Basket of Deplorables
> "China ... still doesn't really"

Have you been to China recently?
> The costs outweigh the benefits for employers (encouraging existing employees to ask for more money, losing candidates who will accept significantly less but wouldn't apply at a lower range, etc) -- so don't hold your breath.

> State it upfront when you submit your application, rather than "find that out"

As an employee, I would say the costs of specifying my expected salary range upfront outweigh the benefits.
You're not even being internally consistent. Apparently I get to share in the culture of human rights because I'm a white male and white males were in Europe doing human rights things, but I don't get to share in the culture of the space race, which was done predominantly by white males? Why do I get to culturally associate with one and not the other?

> In Soviet Russia, which by the way I don't really like, women got quite a few rights over a range of time

The primary example of women's rights, the Suffragette movement, well predates the existence of the USSR. Women had gained the ability to vote in several countries before the start of WWI, let alone the USSR.

> The white European male culture is what made fight for human rights possible

No it didn't, because there isn't one culture like that. It's like saying that there's only one black culture, only one yellow culture, only one arab culture.
Uh, he's trolling...
Infineon breaks Rubik’s Cube world record
Of course they do.
https://en.wikipedia.org/wiki/Alaska_Permanent_Fund

They just want to grandstand about it.