skysight-inc/HackerNews huggingface dataset:
> FOURTH, a five-year ban on White House and Congressional officials becoming lobbyists after they leave government service.

> FIFTH, a lifetime ban on White House officials lobbying on behalf of a foreign government.

> SIXTH, a complete ban on foreign lobbyists raising money for American elections.

Can't see a reason to complain about any of these (though I've posted objections in other threads about other measures, mainly here [1]). Can anyone spot issues on these measures?

[1]: https://news.ycombinator.com/item?id=12916509
You also create an unaccountable permanent lame-duck class of politicians that can't be re-elected.
Markets are created by states. Why the indirect route?
doesn't work for me, still paywaled
Question to all - would you consider paying for access to a platform that organizes the interview process Amir described? It sounds useful to me but would like to hear other opinions.
I agree, I always ask what the salary range is and if they are not willing to give it I tell them I am not willing to go any father in the interview process. They say then if they really want to interview you.
Any employer should be required, by law, to pay candidates interviewed, an hourly wage equal to that of an employee in same position.

It will be good for candidates, good for employers and good for the economy.
DevOps here: This is the solution. Its also stupid fast if everything is done in RAM (just ensure you're not swapping out to disk).
Do you have any particular policy points or data-based disagreements with the argument?
> Unfortunately this is an opinionated piece with foul language and it is a bit offensive.

Whenever you read "X is offensive", mentally replace it with "I find X offensive". The substitution emphasizes how little being offended ought to matter.

Your finding this piece offensive does not create an obligation on the part of anyone else. I am growing very tired of social critics attempting to turn the world into inoffensive mush. We need more articles of this kind.

> It is a remarkable for one person to create a language, runtime, repl, debugger, compiler to another quirky language

I agree that the effort is remarkable. The idea that the strength of the author's effort should somehow shield his work from criticism is antithetical to excellence. It's participation trophy culture. If we're to create great work, we have to understand the difference between good and bad work, and we can't do that if misplaced concern for someone's feelings stops our describing reality as it is.
Because one may occasionally needs to also bring it out?

You have the option of "docking" a portable but you will never be able to conveniently lug along something like a desktop unless you carry some display device along with it.
For how long can coal be the future and at what cost? The price drop of coal may result in other job losses as investment in sustainable systems drops. Additionally, the waste generated in the form of fly ash contains radioactive and carcinogenic materials. Disposal is worse than for nuclear system due to the large volume of material generated and inadequate regulations.
We detached this flagged comment from https://news.ycombinator.com/item?id=12915400.
> Which is supposed to be what is simplified as LOC goes down.

I don't think so. If you can express the same concepts with the same interfaces and functionality in 1kloc vs 10kloc, most of your time has probably still gone into figuring out the interfaces and connections.

> So if a supposed 5x-10x code reduction (which I've never seen real evidence of) doesn't lead to 5x-10x productivity increase, how much increase is there supposed to be? Surely more than zero?

Oh, certainly more than zero! Sometimes much more. But there's simply not a one-size-fits-all formula for the relationship between lines of code written and productivity.

Anyways, not really sure what you're getting at. Your original comment was that 10kloc isn't "big"; the rebuttal is that lines of code is a naive way of looking at system complexity, which is presumably what you mean by "big".
Behind every regulation is a body. Or 3 of them.
One crashes on load and the other slowly corrupts data...
I work at a big telecom and had to pee in a cup to get hired. I have a feeling people who work in a company that has employees driving or operating heavy machinery are going to get tested. It's probably a clause in their insurance contract.
I don't care about yet another stupid merger, its the net neutrality weakening that should concern everyone. In the end whether AT&Time is your ISP matters little if you only have one choice for ISP and they charge you to access Google special.
What application can I use to generate those JSONs for the models?
> Wait, why would they?

Because they are obligated to. Forced product bundling is illegal - it violates anti-trust law.
> So...like the parent said, most Americans don't hate colored people. I do think most Americans are frustrated by Obamacare, haphazard foreign involvement, and bailouts.

Yes, I've read similar sentiments. The problem is, regardless of your desire for "change", the man that was elected waged a campaign full of racism and xenophobia and was endorsed by the KKK. Voting for him is implicitly supporting those views.
Eliminating free trade is precisely the wrong direction to go, in my opinion.

> "If the money is being taken from Americans at the point-of-sale and then shipped out to China, Americans lose."

You can't only look at one side of the equation. American grown soybeans and American manufactured aircraft are being bought in China, and billions of dollars worth of their hard earned yen are being "shipped out" to America. The point of free trade is for everyone to specialize in what they have a comparative advantage in, because this will expand the production frontier overall.

Putting cost prohibitive tariffs on goods the Chinese are better at producing (let's just say commodity electronics) may prop up US commodity electronics makers. But we would be subsidizing inefficiency. And if the Chinese put similar tariffs on American exports like commercial aircraft in return, everybody loses. Yes, you can just eliminate free trade, but the point of free trade is to grow the pie. You just have to cut it fairly after it's grown.
I am, which is why I vote for them.

To expand, the Republican party now endorses conversion therapy for homosexuals, voter ids (in other words, voter suppression), denies climate science and evolution, a flat tax rate, and tax cuts for the wealthy (because trickle down economics works so well!). I can continue on, but those policies don't help the poor, who are overwhelming minority.
> - Yes. Tax cuts for all working people. Let people decide what to do with their own money (spend, save, donate, etc.). The bigger the government, the smaller the individual.

A family of 4 with a median household income of $50k/yr pays close to nothing in federal taxes. Tax cuts don't help the people that need it.
So, he is already a real politician.

Any different to Obama promising to close Guantanamo bay?

And I say this as an Obama supporter.
I've implemented a trie exactly once in my 15 years of professional programming, and I'm so happy I knew about tries when the time finally came :)

Edit: swapped used with implemented
For those who want to learn about Dijkstra's Algorithm:

I would prefer reading the original paper[0] written by Dijsktra himself. The explanation is so clear that I wish all algorithms were written and taught like this. The data structure and the steps are explained simply in plain english rather than a pseudo-code. Really. He's a very good writer. I'm not his student but by reading about him, the most important part in software/hardware development that I learned from him (especially on a large team) is to write a documentation/specification first before writing the code[1].

Their mode of interaction remains a model of disciplined engineering: They would first decide upon the interface between the hardware and the software, by writing a programming manual. Then the hardware designers would have to be faithful to their part of the contract, while Dijkstra, the programmer, would write software for the nonexistent machine. Two of the lessons he learned from this experience were the importance of clear documentation, and that program debugging can be largely avoided through careful design.

[0] - http://www-m3.ma.tum.de/foswiki/pub/MN0506/WebHome/dijkstra....

[1] - https://web.archive.org/web/20031210213835/http://www.utexas...
Had he taken the money he was lent or given at the start of his business career, and invested it into an index fund instead of doing his attempts at business, he would now have a net worth of $12 billion instead of $4 billion.

He did far, far worse as a businessman than he would have had he done nothing.

Based on that alone, I can call him not a good businessman.
> videographers, musicians, illustrators, photographers, graphic designers

I've worked in or with at least three of those. 8GB and integrated GPU is not going to cut it for a decent load on any of the basic apps.. Pro Tools will eat 8GB easily on a basic mix, Ableton will have you track freezing on and off all day. A lot of people in the audio industry went nuts when Apple stopped letting you add RAM because you could hardly have a serious production machine without maxing it out. After Effects, C4D, Blender, etc. will be rendering for a week straight (if at all). Photoshop will grind to a halt trying to work on anything of reasonably high res, especially with more than a few layers. Ever sat there watching a progress bar for a minute or two just to crop an image? That's what you're proposing as "well spec'd".

Your point about non creative professionals does hold water, though - that's the main audience IMO, the tech clueless types who are nevertheless obsessed with being involved with a "premium" brand. And yep, if you just want a couple spreadsheets, some social media, and maybe some reports, they're spec'd phenomenally for that kind of thing.
Because at the current interest rate, the government actually makes money from taking out loans after inflation is accounted for.
Wouldn't that be true of ~50% of companies by definition?

After all an index fund is basically just the average of all of the investments inside it.
I heard that Trump did not have a bad record, for a republican, on gay rights. Can you cite anything?
I'm kind of realizing that my wife and I are in a decent financial position and have good jobs and that things like

* Killing Obamacare and leaving millions without health insurance (but lowering premiums!)

* Lowering taxes on high earners

* Child care credits for high earners and not for the poor

Would all benefit us. The angry cynical part of my brain kind of urges me towards a "you know what, all those white-no-education-economic-malaise people who voted for him are going to get just what they deserve.".

But there's also all the fascist stuff about deportations and walls and I don't want to live in a me me me society anyway, so I'll do what I can to fight this garbage.

Among other things, I just signed up for the ACLU: https://action.aclu.org/secure/renew-your-aclu-membership
I think this is a good think piece about humbly accepting criticism about widely-held beliefs and not blindly believing in academic authority. Although Taleb's characterization of the IYI seems to be as broad as a horoscope, this is his tongue-in-cheek writing style.

I think the point you're making is that credentialed individuals shouldn't be blindly trusted; on the other hand, those that say that all experts are clueless are falling for the very same fallacy decried by Taleb.

That said, I appreciate your posting of this link; it was a good read (I'm not being snarky).
So you're suggesting the USA should block (or duty) oil imports, so that Americans have to pay a lot more for their oil just so they can prop up the US oil industry?
This attitude is why democrats have so much trouble understanding why republicans have so much support from working class voters. People don't want to go on welfare, they want a job.

It's about identity. Free money can keep you fed but it can't give you a sense of pride and self worth.
It also sounds trivial to game.

So we want to add new regulation A. We have removed regulation B and C. Purely by coincidence the new regulation A is roughly the same length as A, B and C combined. But its one regulation.
There was so much wrong with Trump that voters couldn't remember it all.
That's pretty much the same thing as knowing that solar panels can charge a battery, that battery can run LEDs and heating elements, then stopping there and concluding that Solar Freakin Roadways can be a thing. In other words, that's just enough knowledge to spout science, but not enough to actually apply it to actual life.
Winning an election with 22% of the popular vote
I take it Trump hasn't heard of Bitcoin.
I find this pretty reasonable if you're interviewing with a handful of companies but I remember doing 20+ interviews in 2-3 weeks in university and would simply not have time for that.
> I have been to the south (maybe not the "deep south") but your general assumption that I don't have a great understanding of the people that reside there is accurate. I do understand that there actually are people who truly hate people of color. What I was really taking issue with is the label of bigotry being so readily applied to anyone who supports Trump. I just find it unfair.

Talk is cheap, actions are what define you. If you vote for someone who wages a racist, xenophobic campaign, someone who was endorsed by KKK and has riled up white supremacist views, you implicitly support them.
I did expect it to be theoretically possible, but how realistic/sensible is it really to do an Erlang project with Elixir libraries or frameworks? Elixir brings a lot of its own tools, conventions and so on. Will it soon take over my project, making it a better option to just use Elixir for everything, or would it be very manageable and not interfere much with the rest?
Is the vitrol really necessary? How does what a complete stranger decides to do in their spare time affect you in any way shape or form?
ah I confused it with the Transatlantic Trade and Investment Partnership
You think these databases are 100% accurate? Credit reports and the no-fly list certainly aren't. What's different about this one?
I had my spotify cache on a btrfs SSD with CoW enabled until a few minutes ago.

Fuck me.
> Direct democracy can go badly wrong. Very badly wrong, and I don't neccessarily mean Hitler-level wrong.

The very idea of giving anti-vaxxers a more direct influence over healthcare policy is almost Hitler-level scary.
From what I understand, even a "white person" whose family has been here for generations can get denied clearance due to their ties or relationships to foreign nationals. This is at least true for the CIA and NSA.
Backbonefire does not work with Firebase 3

https://github.com/firebase/backbonefire/issues/152
I suspect it's about demographic turnout weighting. Lots of polls were using 2012 as the template.
non-competes are common - but often can't be enforced by employers (and in some states are just ignored/illegal). blanket ip ownership not so common - but big shops sometimes require them, when they can get away with them.

Some people negotiate over such things or have them struck out from whatever HR paperwork. Consultants definitely have such crap taken out from contracts and replace with more straight forward and standard non-disclosure agreements (or charge a lot more - clients will pay if that stuff is important).

In other words, employer/client can put whatever crap they want and you need to always read and understand contracts you sign, as an employee or contractor.
I just came out of an energy company job, and you're outta luck. There's nothing in the energy sector to make me think they'll innovate unless they stumble into it.

Now, certain people might be able to sidle into energy but it'll be pretty rough going.

I was simply trying to buck up '80s-'90s era control systems to stop breaking things and this was perceived as "they're takin' 'er jerbs." Nothing was understood. My interpretation is that there is considerable willful ignorance of how technology might be used in that sector that will never be broken. You're threatening people's identity if you do.

Just thorough testing ( at least to my lights what is thorough - I have 30+ years safety-and-life-crticial realtime embedded experience) was seen with a jaundiced eye. A "real oil guy" does it on a laptop on the jobsite.

The rest of your post is spot on. However, at least natural gas will be deadly cheap for the forseeable future. We had one project to try to capture flare gas, but it cost (much) more than the captured gas will ever be worth.
There's another thread on HN right now where it is being taken as a given that OUR OWN PARENTS cannot be expected to use a computer without breaking it (filling it with malware, etc.)

I find that premise debatable, but if it is true, then how can they be retrained for technical jobs?
That's a pretty bold statement for them to make, but Vox has been so rabidly anti-Trump that I'm not surprised to see even more. Lots of links! to other Vox articles. They're saying that he's just going to cut off health care for millions of people, but even Bloomberg says "Republican presidential nominee Donald Trump said that as president he would use Medicaid to cover poor people who can’t afford private health insurance, and make birth control available without a prescription."

This is pretty much a big rehash of Vox's previous anti-Trump talking points. Now that Clinton lost, that's about all they have to cling to.
One of the reasons those jeans are $60 is because the labor is cheap. Import tariffs might bring back jobs, but no way you'll be able to pay the workers the wage they're looking for and keep the cost of goods the same.

My question is if the cost of goods will rise enough to make wage gains irrelevant, or if the effect won't be strong enough and we'll see real wage gains.
If the hallmark of an intellectual is respect for reason, honesty, integrity and the facts then clearly BOTH sides of the political aisle are lacking in these character traits. The "Right" and Reps make no pretense to be advocates of reason since they are the religious party based on faith. The "Left" postures as the reasonable, respectable and intellectual alternative to the Right and yet they feel compelled to shut down any opposition with ad hom, smears, political correctness and, since the govt controls virtually all the scientific research, cutting off your funding if you don't toe the line. The trick is then to say "see, even science supports our positions" and to use that to advance political goals with a rigged system. This is what Ayn Rand called "The Establishing of an Establishment" in her book "Philosophy: Who Needs It" which you should read if your question is honest.

That said, I think there is certainly some anti-intellectualism on the Right and behind Trump's success (no surprise). However, I don't think the nation is awash in irrationality, racism, misogyny, etc (though that is the Left's scary, dishonest spin) and the election was, at least partly, a repudiation of the Left's posturing as the intellectual, reasonable alternative.
That will only make a difference if people are voting for Democrats for their state legislators and governors. The gerrymandering feeds itself. Also the wide land mass vs population centers split between Republican and Democratic bases doesn't help either.
Payment option is really good points. With take home problems, there is risk their brilliant buddy helps them out, and teaches them about the solution to help them talk about it. For this I feel its best to do any tests onsite.
> This is such a weird thing to try to respond to. It's like a group of people started insisting that JavaScript's big problem is all the parentheses, and accusing JavaScript developers of sticking their fingers in their ears about the most obviously glaring weakness in the language.

That's a straw man which isn't directly analogous to the question of typeclasses. The reason is because parens are a syntax concern, which is understood at this point to be largely a matter of personal preference. Typeclasses are a language semantics matter. They could add new levels of reuse for identical operations over different types, and they've done exactly that for other languages.

> What reasonable response can anyone make to that claim, except "I really don't think that's what the language should focus on improving?"

Well, the burden of proof should be on the proposer: that the feature is useful. A good next step would be for someone who's interested in persuading you of the importance of typeclasses to pick concrete examples from NoRedInk's open source Elm and show you how they could be improved, disproving your hypothesis that typeclasses wouldn't really help.

(edit: removed redundancy around "burden of proof")
You may be interested to learn more about coal-direct chemical looping: https://www.osu.edu/features/2013/ohio-state-develops-clean-...
Tell HN: I feel ike I'm waiting for the show to start
With Trump becoming President I find I'm in a strange state which feels like "waiting for a show to start".

I suspect it's going to be spectacular, regardless of what you think of the content.
>First off, when did "blockchain" become an uncountable noun?

When the businessmen/marketers/cryptocurrency-illiterate got their hands on it and tried to distance themselves from the only useful blockchain in existence: the Bitcoin blockchain.
This is great, except the over the weekend part. I have a wife and kids, I rather be with them than solve (even paid) challenges.
I rather take half a day off, solve it right there in the environment and team that will potential work with you.
I would encourage candidates to also reach out with questions during the challenge and see how they communicate ideas and react to suggestions.
Other than that, completely agree.
I looked around at Elm a little bit recently. I use React/Redux daily at work and have been learning Haskell on the side. When I took another pass at Elm it was extremely easy to pick up. I was able to skim through the docs super fast and start writing real code in about 15 minutes.

I noticed myself typing Haskell code a bunch of the time and wondering why it didn't work though. For me, the hardest part in Elm, and Haskell as well, is figuring out how to structure data that is composition in nature or that involve Union types that are records. I can never quite seem to get the dereferencing right.
DO 0

or

SET @noop=0

or

NULL; -- works in pg at least

seem like good possibilities.
Yes, it seems like a good solution. I've also rolled out my own: a simple nodejs app that listens to child added/changed events and updates a simple index which in turn can be queried through an API. For now that fits my needs.
Anti-moonlighting agreements, where they are legal, are common and definetly apply in this situation without requiring extra literal interpretation.
We do a variant of this, although we don't currently pay. Perhaps we should. IMO, it skews towards people who are diamonds in the rough (junior, or non-traditional background) or experienced people who are burnt out on traditional whiteboard interviews.

It hurts the size of our funnel, but I think the results we get are pretty good.
This New Yorker cartoon seems to sum up your position. [1] I think it is pretty clear that the policies in the document are a more important to most of us than the clarity of their presentation.

[1] - http://www.newyorker.com/cartoons/a20072