skysight-inc/HackerNews huggingface dataset:
Maintaining a Scala code base for some years, I've learned a lot. I would not go back to a language that does not support Option/Maybe and map/flatMap. These really changed my coding style.

My largest problems [1] are all still there after years, developers only payed lip service and that killed Scala I think.

The largest bad design decision was to support inheritance which leads to it's own problems with type inference. Sad that after Java devs already recognized how bad inheritance is that Scala also got inheritance.

The sticking out problems is how very very very slow Scala compiles. This makes web development (even with Play) and unit testing a huge pain (and the complicated syntax + implicits + type inference makes IntellJ as an IDE very very slow on detecting problems in your code)

Concerning the article I do think Futures are a more powerful (and higher) concept compared to coroutines. They are easier to combine IMHO [2]

Now trying Kotlin for the faster IDE and compilation speed, sadly the Kotlin developers think Option is only about nullable Types (it's not and something differen!) and don't embrace it.

[1] http://codemonkeyism.com/scala-unfit-development/

[2] http://codemonkeyism.com/a-little-guide-on-using-futures-for...
Was the CNN Gigapixel "doctored" then?
I'm aware of the difference but assumed it was related to questions about why men may have participated in the march. My mistake apparently!
I think you make the Erlang definition look unnecessarily awful.

fac(0) -> 1;

fac(N) -> N * fac(N-1).

Or is there a particular advantage to write it using guards?
I'd say we're probably closer to 25th amendment territory than impeachment. It isn't clear (to the extent the law requires) that Trump has high crimes or treason, and whether he will or not is immaterial until he does. It does appear very clear that he is not fit to discharge his duties, however. What is going to happen the first time there is a crisis like a shooting or a hurricane. The next time the south gets wiped out by a cat 5 they are going to be BEGGING for Brownie to come do a hell of a job.
>If one piece of the system would take a long time to finish, it doesn't interfere with the other parts of the system completing their work on schedule. That one blocking piece will finish more slowly, but ever other moving part in the system will keep responding as expected.

That's how it works in pretty much any language that supports message passing. I used to do MPI programming in C. Nothing you said is not true for MPI in C. Later I did some MPI in Python. True there as well. If you have MPI in any language, it is true for that language.
Though satire, the fake Moskovitz quote was interesting: "I don’t want to elaborate too much on our end goal / purpose, but I will say we are not without a plan."

I wonder at what point it became clear to Facebook that they were sitting on a targeted advertising goldmine? Surely it was not on the minds of Zuckerberg and Moskovitz (or anyone else!) in the company's early years.
He may eventually be a millstone, but right now he's a vehicle. They're on the mechanical bull.

The focus of many congressional Republicans is narrow. This is owing primarily to the specificity of their remit from heavily gerrymandered districts, and the undisguised requirements of the small but extremely wealthy cohort that directly and indirectly funds their presence in office.

Trump himself is a non-ideological wildcard with no coherent governance or policy desires. Had the cards fallen only slightly differently, he could have won the Presidency as a loose-canon Democrat and spent the last few days initiating policies completely opposite those we've seen so far. He would enjoy the squirming of frustrated Republicans under the heel of his boot just as much as he's now enjoying the garment rending on the Democratic side.

But things worked out as they did, and he found his emotional affinity and path to power with the Republican base. They became the vehicle for the satisfaction of his peculiar needs, and now that he's in power, he can binge on victory scenarios queued up for him by his GOP courtiers. Does anyone really think Donald Trump has some deep ideological need to implement the "Global Gag Order", something he very likely never heard of before running?

As long as the GOP can stay on the bull, they'll keep squeezing off shots at their personal targets and not worrying about the rest unless something goes terribly, horribly wrong. They can check longstanding empty boxes, and Trump won't care, since the dance itself satisfies him.
The Unexpectedly High-Stakes World of Neo Geo Collecting
No, it's really not. Because you can't see the distance. And from this vantage point, tricks of perspective make the immediately close crowd the only thing one focuses on. I can see empty ground coverings way off in the distance of the pic. It's not an outlandish claim to make that based on their distance from the camera, seeing the empty space as visibly as one can must mean it's a very large empty space. That's what the pictures and video timelapse from the Washington monument provide—the total viewpoint. This gigapixel from the sidelines is in now way informative as an indicator of total crowd size.
Does AppDynamics have some appreciable lock in that would make Microsoft want to buy them, rather than compete?
FYWD: https://ello.co/dredmorbius/post/ubkidr7yuc7azg9hdnl7lq
Dell bought a competitor, Thoma Bravo investor bought two competitors. MS has some worse offering. As someone else mentioned MS and IBM were in a bid war with Cisco over AppDynamics. So will MS or IBM try to buy the public company New Relic or one of its competitors?
I made a hack that gives me an SQLite database of command line history for bash https://github.com/trengrj/recent
I actually had this thought w.r.t. makefiles after seing a talk on the Meson build system[1] on youtube.

As a thought experiment:

- Let distros, package maintainers, repository maintainers and the guy building define boolean flags (like "UNIX", "Linux", "ARM", "ARMv7h", "x86", "x86_64", "POSIX_Filesystem", "GCC", "Clang", "C++11", "C++14"... anything you could think of). The latter override earlier definitions (in the order above, i.e. build > repo > distro). Allow the deriving of flags for simplification: "ARMv7h -> ARM", "Windows && ARM -> Use_some_WinRT_Hack" etc.

- Use a Prolog-Like system in which you can state rules for internal flags deciding if/which files should be included. Same goes for compiler flags.

- Add an option to add definitions for external projects that can be included automatically from their sources/binaries (using the same system; like Meson does).

- Just implement the "download/bootstrap" part and the logic solver. Generate ninja or tup files.

That should make an interesting build system. Of course, the maintaining of source file dependencies (which can be dynamic due to header files) and the versioning of libraries would still be problems that are not easy to solve. But at least, one could get rid of the mess that is pretty much every CMake build there is.

[1]: https://github.com/mesonbuild/meson
I think he agrees, and that's his point.
Except Congress already consented decades ago:

> The financial conflict statute prohibits federal employees from participating in matters where they could enrich themselves. It applies to everyone in the executive branch, from the lowliest file clerk up to the White House chief of staff – except for the president and vice president.

Ref: http://www.nytimes.com/roomfordebate/2016/12/07/can-congress...

You could try to convince Congress to re-apply the rules, but that's a different discussion.
I feel that if you honestly believe the world is unambiguously better now than it was 20-30 years ago this reflects either your youth or privilege more so than any objective truth. I'll just leave this here:

http://thebulletin.org/timeline
There are some good introductory videos at https://www.cs.kent.ac.uk/ErlangMasterClasses/.
So, wasn't Hillary Clinton breaking the Constitution when she was accepting donations from Saudi Arabia at the Clinton Foundation while secretary of state?
Orville Wright (of the Wright brothers) went from developing early airplanes to seeing the development of international travel and the jet engine. He lived until 1948 and his last flight was in a Lockheed Constellation[1]

In computer science we are similarly privileged. We've gone from basic ideas of transistors and turing machines to having a global network of interconnected supercomputers in our pockets.

[1] https://en.wikipedia.org/wiki/Lockheed_Constellation
You may want to read through this [0], for a better understanding of why these limits exist, and how the high limit in fish might be enough for you.

[0] https://github.com/fish-shell/fish-shell/issues/2674
Can you explain to me the thinking that leads from the EPA made a major mistake to the EPA should be dismantled because it seems irrational to me.
You're not wrong, but there is more context. There is a near inexhaustible list of feminist art that defines womanhood as an anatomical feature or set of features, and seeing this March that is ostensibly for all women be so tone deaf to this existing fault in the feminist community shows a real lack of understanding of what it takes to truly be intersectional. This is what makes the symbol exclusionary to non-binary or transgendered women, it's continuation of a trend of exclusion. During second wave feminism, this was so common a phrase grew out of it- TERF, Trans Exclusionary Radical Feminist. A prominent example is Gloria Steinem. For decades, the gender-nonconforming have been written out or excluded from the feminist movement at large, and this was a major opportunity to unify everyone for possibly the first time.

A more inclusive symbol could have been chosen.

Q: The hats were meant more as a symbol of feminine solidarity...?

A: The solidarity excluded a major group that has historically been discriminated against even by progressive causes
You can watch the full timelapse PBS compiled that shows from start to end of the inauguration[1]. It's nowhere near the numbers they were trying to suggest.

[1] https://www.youtube.com/watch?v=PdantUf5tXg
I'm kinda with you but it just isn't reddit. HN typically detests humor or satire, with notable exceptions. Then again I think it may be a sign of the end times that HN is entertaining a political thread.
The Definitive Guide to Getting Started with R Programming
Sounds like by that measure we should have impeached every President we've had so far. They all at some point probably told lies.

Also just because Clinton was impeached doesn't mean he was removed from office. Those are different things.
Using BigQuery: Compare today's weather against the same date historically
It would suggest trying to win favor. Still poor taste. They stand to gain nothing and loose a lot by making comparisons.
Fair enough.

What's mental gymnastics do we jump through to wave away their claim that 5 million fraudulent votes were cast?

Or how about now it's coming out there is no IRS audit. It was just an excuse to hide his tax returns?

IMO, there's plenty on display throughout Trump's life to show he has no interest in anything that doesn't improve his own image.

Sure, give them a couple here and there; broken clock is right twice a day as they say.

But:

1) This is a petty as fuck argument to make when the world is fracturing itself in pieces over this shitshow.

2) This is a distraction to avoid them having to have serious conversations, since it's pretty obvious they're clueless.
I'd much rather deal with concise, clever code that has a sane interface and works, rather than sprawling long winded code where everything is void and the same low level constructs are used everywhere.

And honestly, sometimes I don't know if code is too "clever" or the reader is just too "dumb".
I'm really surprised at the arguing in this thread.

Embarrassingly parallel algorithms are trivial in pretty much every language. That is why is embarrassing.

>And then you also need to implement mailboxes to receive new data

If you did, it is not embarrassingly parallel.

You know, a huge amount of parallel work is done in C/C++. It was the language used for multiple parallel algorithms courses in my university. Being able to do basic MPI type stuff in C does not make you a top programmer. And not being able to do an embarrassingly parallel algorithm in C would ring alarm bells.
Find the video content distribution provider's hosts, URLs, domains, and/or IPs, and firewall them.

This is about a 90% solution for me.
Oh the things Vim could teach Silicon Valley's code slingers
They have hired engineers to work on it so it is coming. Slowly.
One side effect of schools blocking websites is students downloading and using free VPN software. They have no money, and it works well enough for "unblocking" websites as far as they're concerned. Rip privacy.
That too, but I think a big enough scandal will be used regardless of alignment. Pence isn't unpredictable.
> What better way to compare attendance of an outdoor event other than photos?

Someone posted a good list of possible ways this could be misleading yesterday: http://www.datasciencecentral.com/profiles/blogs/there-are-l...

As far as reading too much into it, I meant that the election of the first black president was a much bigger deal then the 40 somethingth white old dude. I'd expect trumps turnout to be lower and I'm not sure why it would be news in the first place.
It's a tricky question. On the one hand, you can try to calm yourself and avoid living in constant paranoia which could be a net gain. On the other hand, you can risk the water slowly coming to a boil all around you without your noticing. I've tried to remain as calm as possible throughout all of this, but I can't get the image of the frog on the hotplate out of my mind. I seem to recall that people who lived through the rise of Nazi Germany described things in that way. No one really realized how insane things were getting until it was too late.
So does Hillary get to spend the foundation money on herself?
When you say "drop-out from Hogwarts University" you are appropriating the Hogwarts brand to yourself. When you say "ABD PhD" you are misleading people into thinking that you're some kind of a PhD. This is doing unjustice to the people who actually did the work to get a PhD from said university. If you don't have a PhD, don't put the words PhD in your bio.
Going to take off the objective hat and talk as a liberal. The answer I give to this is for the US, the President is both the head of state and the head of government. As is clear from recent articles about Trump's manner in the white house, his team is very much making many of the small policy decisions while Trump gets to strut out as the figurehead.

So yes, Trump stepping down wouldn't mean much difference when it comes to his role as a head of government since his team seems to be handling that, but the head of state is still a very important role. Don't forget, he said,

"I just start kissing them. It's like a magnet. Just kiss. I don't even wait. And when you're a star they let you do it. You can do anything ... Grab them by the pussy. You can do anything[,]"

essentially describing sexual assault, emphasized by me. Not to mention his poor demeanor, his lack of likeability, his unpopularity, the fact he was a reality-TV star. Having such an individual represent the nation is an embarrassment and does not inspire confidence in the nation nor does it abroad. Understand, no international body would respect Trump if he weren't the President. He does not prop us up as a country, he receives respect because we prop him up, and even then, he still depreciates his image by trying to project and strengthen his fragile pride and by involving himself in frivolous engagements on Twitter.

So yes, having a different head of state would be beneficial for us, at least in our view. It would not make much of a difference in terms of actual policy, but it would give us with a better representative, which isn't a difficult bar to exceed.

EDIT: I almost forgot, despite the politics of it, I do personally feel that a conflict of interest as a President is detrimental to the role as the head of government. We have already seen for example his orders on DAPL, which he still owns some shares of, a direct conflict of interest. And worse, of course, there are his foreign investments, which is worse from a national security standpoint. Sorry, but a head of government should represent us, not their own personal financial interests. You don't even need all my feeling about Trump as a figurehead, although that is important, but his conflicts of interests are a significant issue with him as an elected official.
I can't believe there are so many people here suggest DJT should totally give up his business. This is basically the same as saying no business person should run for the president, so just leave it only to career politicians.

Gets lots of downvotes for no reason. The hates toward DJT are crazy.
I've never understood how you guys get to ohare. For me jump on the blue line and you're there.
If you're at FB, reach out to me (nbm is my unixname). 100% privacy guaranteed or your money back.

Otherwise, you should consult with your manager and a trusted (but not necessarily intimate) peer or mentor about what your options are in the space before resigning and trying another company. If you just repeat the same story at your next few places, you'll end up more behind. Perhaps you can come to value the work you find dull, find a way to prove your value to the more senior folks and be let in on the "actual work", or move onto a team with a different focus or problem set or composition.

Don't stick it out if you hate it, but make sure you give yourself the chance to find a better fit - this sort of thing translates whether it's a big tech company, a startup, or just your own confidence.
Why the world isn’t ready for Google’s Instant Apps
sounds like typical college rivalry.
I see. "I refuse your reality and substitute my own". If you can't see that Gigapixel shows radically more people, then I'm afraid I can't help you. :-)
Sure, but the courts enforce the constitution, not congress.
No, it'll still be self-selecting:

Good developers who actively respond to reviews will improve their apps. Somebody who left a low review due to a misunderstanding now has a chance to increase their review because of a diligent developer.

A developer who doesn't care and/or doesn't monitor their reviews will not turn that user around.
I would guess Hillary's situation would depend on the structure of the foundation. Likely she was not the one "accepting" it, and the ownership structure, such as it is, might not even include the Clintons. It might just have their name on it. This is all just speculation though.
SpiderOak Unlimited for me personally. Cross platform, dropbox-like sync, share rooms, encryption, etc
Why should they be specific when the left groups half of America into a basket of deplorables?
Gradle: Use variables for easily updating library dependencies
Awesome posts, best of luck in this! Any suggestions/requests for users to help?

And I realize I made an omission in my post. I meant to say not just learnings, but use. I would think the biggest hurdle for you will be building a user base.
That's a pretty silly question. But I dealt with that in another response to you below. I've not suggested anything of the sort. The Gigapixel is taken from a terrible vantage point for providing an accurate ... hell, not even a rough estimate of the total crowd size. That wasn't the purpose of the picture and it's chosen perspective. That makes it pointless and obvious defensive grandstanding to use it as indicative of anything other than the panoramic view near the main stage. It's the equivalent of choosing the profile photo that makes you look thin when it isn't indicative of all the weight you've gained since that photo was taken. Misleading for the purposes it's being offered.
Why is anyone still talking about Hillary Clinton?

Donald Trump is the man in office. Hillary Clinton has nothing to do with anything.

However Clinton may or may not violated the Constitution is absolutely irrelevant to the question of whether Trump is violating it now.
There are ways to carry your bags on the train. Many tourist travelers have no clue and should be punished for it. (I.e. using them to block the aisles during rush hour, blocking areas of the train etc)
How Bloomberg Integrated Learning-To-Rank into Apache Solr
>What's your preferred user response to the practice of seemingly every single app begging for reviews? An actual, actionable response.

Complain to Apple for having a broken system, but don't hurt the developers of the very apps you're F-ing using.

As OP said above, Apple could fix this issue. Maybe weight recent reviews more, but don't just wipe the history for every upgrade.

The profound sense of entitlement that users express is really frustrating to app developers.

We can either never ask for reviews and watch as 1 in 100 people EVER review our app (and THOSE reviews are skewed to the people who have a complaint, so the review average is typically crap), meaning that we barely get any downloads and can't actually make a living selling apps, or we can ask for reviews and have people complain with 1-star reviews because the app they continue using for free annoyed them once.

And entirely because of Apple it needs to annoy them more than once in order to stay relevant.

Here's what I'd love to do: Make it so that, if you rate an app 1-star, or even 2-stars, you can't use it any more. If you rate it that low and you still use it, you're lying to other users and harming the creator of the app that you're using for free. Give me a developer API to know what users rated the app how, and I'd implement that in a minute.

People could still rate it 1-star if it sucked. Because if it sucked they wouldn't want to use it.

Drop the review to 4 stars if you're annoyed by it, but know that the developers really, really have no choice. You're basically telling them to commit economic suicide for your minor convenience.
I've firewalled it for just that reason.
That's why I'm a proponent of code ownership. We should be coding to each others interfaces instead of constantly poking around in the same shared codebase. It just leads to pointless re-writes and low quality - a tragedy of the commons.

https://www.visualstudio.com/en-us/articles/devopsmsft/code-...
I disagree. Government can fund media, without you immediately thinking of Russia.
Being Dutch originally, I would refer you to https://en.wikipedia.org/wiki/Dutch_public_broadcasting_syst...

Note that this is not a closed system where there is no private news/tv.

Also, look at DW (Deutsche Welle) and BBC. Whatever your opinion, these still provide much better information than whatever you can get in the US (well, you can actually get BBC/DW).

I would love to hear a better approach.
It's my first time playing around with Google's BigQuery, and I'm pretty happy with the result so I figured I'd share....

The data is sourced from the NOAA GSOD dataset, which goes back to about 1929 at best. I tried to use the NOAA GHCN dataset, which from memory goes back as far as the 1700s, but even using BigQuery, it takes about 40 seconds to run the analysis, so isn't very user friendly :(

All in all, it's a pretty amazing service.
My point was more that if you're being 'punished' for a comment, it's not the person you're replying to that is doing it - that is, it's not the person asking for the explanation that's punishing it.

I think that the GP is being unfair, though. Complaining about arguments specifically on the topic of politics? That's the essence of politics - conflict and how to deal with it. If people didn't disagree on a topic, it wouldn't be political. Outside of political topics, I'd say the bulk of explanations offered on HN are upvoted or at lest left neutral.
If you're getting 10 calls because all the apps updated at once, it's hardly one app's fault.

Also see https://news.ycombinator.com/item?id=13479086