skysight-inc/HackerNews huggingface dataset:
> I spent hours everyday getting the asset pipeline to work, or it would break again, meaning I would have to fix it again.

I used to have this problem too -- more so in the early days of asset pipeline. Mostly when trying to use some client side framework. Rails is working on (or maybe already available, I'm not sure) yarn/webpack support.

> Every week the developers want to switch out some module for another module within Rails because it was the hot new thing.

Replacing the batteries which are included can be painful at times. If you want to use the new hotness in Rails, it comes at a price of extra work getting it working... but it only seems painful when comparing to the included batteries -- they just work. Support for different test frameworks, orms, templating languages are pretty good anymore though and are easier to swap out.

You'll definitely have a better experience with Rails if you forego the desire to run the latest and greatest and just use what Rails already has.
Quite. If the shit actually hits the fan and the ultra-rich head off to their boltholes, I give it about 72 hours before the servants realize that there won't be any consequences for simply doing away with their erstwhile employer and opt to turn the compound into a collective farm instead.
What an awful article, elementary school quality stuff drawn from mediocre school texts. It is littered with historical inaccuracies, caricatures of philosophical positions, and maudlin sentiments and hagiographic bromides that contradict the very atomism that it celebrates (such at the addled paeans to Epicurus or delusional hymns to some incoherent New Age-y "unity"). Democritus himself was not blind to at least a couple of the problems with his atomism. Why is there no mention of his own objections or the objections of others? Furthermore, materialism and rationalism are a highly problematic positions with serious objections against them. Quoting philosophical ignoramuses (and that's putting it nicely) is doing this author no favors.

Atomism is NOT the most important idea in history. Try getting a real education, dear author. You make a mockery of yourself.
I rarely use Wine. But people use it for:

- Photoshop

- Accessing their DRM protected ebooks
.. or if you're a super-hater of conflicts of interests

.. or if you're a super-hater of those who downplay global warming
Well, assuming you just step out from a space ship, Trump himself has stated that he doesn't believe in climate change, that it's a Chinese hoax or something of that nature.

We have a very good search engine called The Google. If you bother to use it, you'll find other crazy stuff that Trump, Rick Perry and others in his administration said during the campaign.
Bees, lasers, and machine learning
I am consistently baffled how a political party can make so many decisions that are objectively wrong and still garner support of roughly 50% of the population.

Same way that "the other side" went from a staunch antiwar position to incessant apologetics for Obama's wars, extrajudicial drone murders, deployment of a massive panopticon surveillance state, and sabre-rattling against Russia.

It's always okay when my guy does it.
> I have a hard time understanding... trampling on their own citizens' privacy and basic rights

Confirmation bias goes a long long way.

Take gerrymandering, which is as undemocratic is it gets. If you already believed yourself to be one of the 'good guys', it wouldn't be hard to convince yourself that gerrymandering (as a tool of last resort) is an acceptable way to hold at bay the forces of moral degeneracy... especially when other 'good guys' tell you its okay, and you can find some character flaw or weakness in your opponent that you can use to licence your own.

Confirmation bias is well documented, but check out Daniel Effron's work on 'moral licencing'. He showed that people tend to horse-trade ethics, excusing biased or self-serving behaviour with the points scored from virtuous behaviour... one example being an experiment where the subjects exhibited increased racial bias when they'd previously been given an opportunity to state that they'd voted for Obama.
There is no 'my side' in government. Both the Democrats and Republicans are frauds, hucksters, and criminals.

Government sucks, period.

Maybe most people are not paying enough attention, but election results have no substantial effect on the policies or actions of the USA Federal government.
Those of you who are Platform Product Managers, can you talk about how it is different from traditional product management and the additional complexity involved?
As I said in my comment, bookmarks don't work for sites with dynamic navigation - you won't end up in the same place when you load the page from a bookmark.

In addition, you have to take the time for the page to load, you have to delete the bookmark later if you dont want to clutter up your bookmarks, etc.
Hey Mojah, I'm trying to contact you to find out about your old mailing list viewer project, I was wondering if the source is available as I'm sick to death of reading through ugly mailing list archives i.e. http://lists.ausnog.net/pipermail/ausnog/

Any chance of getting in contact with me re: this project and if it might be able to implement it for a few other lists / self host it?
An Erlang release is not a static binary. It certainly is (or starts off as) a self-contained directory you can just unzip onto a server—but for the kind of software I'm talking about (RabbitMQ, CouchDB, Riak, etc.) you don't tend to install these things this way. You expect to install them using your distro's package manager. And, until very recently, distros did horrible things to those packages to force them into the FreeDesktop FHS mold. (And it still doesn't entirely work; the Erlang concept of priv dirs, for example, just doesn't map well onto even a reasonably-similar directory like /var/lib.)

That's what I mean by "deployability": the hell that is trying to convert your Erlang release into a distro package so that users can simply "apt-get install" it and have the distro maintain it for you; and so other software packages can declare package-level dependencies on it.

The reason that true static binaries ala Go would be better, is simply that it would stop the distro maintainers from messing with everything to quite the same degree. In such a setup, there wouldn't be a "system Erlang runtime", because Erlang would just be a baked-in part of /usr/bin/riak or /usr/bin/ejabberd. (Which wouldn't stop distros from making Erlang SDK packages for things like an Elixir package to depend on, but they wouldn't be involved at all in the dependency tree of the Erlang-release-derived packages on the system.)
Because science does not works by a "scientific method". It work with some really simple things :

- Be sceptical

- Believe the data

- Keep asking questions.

All the rest is just fluff. Most of the time you have experiments before hypothesis. Or an intuition that only match part of it. Or publish some food for though and it will only be proved to be false hundreds of years later. The whole "hypothesis -> experiment -> theory" miss so many things.

From the french wikipedia entry

Très souvent, le terme de « méthode » engage l'idée implicite de son unicité, tant auprès du grand public que de certains chercheurs, qui de surcroît la confondent parfois avec la seule méthode hypothético-déductive. L'étude des pratiques des chercheurs révèle cependant une si grande diversité de démarches et de disciplines scientifiques que l'idée d'une unité de la méthode est rendue très problématique.

Quick and bad translation :

Most of the time, the term "method" push the implicit idea of unicity, to some scientists but also to the public, who also reduce it to the solely "hypothetico-deductive" method. The study of scientists practices reveal a so big diverity of method and scientific fields that the idea of an unicity of the method is highly problematic.
Amazing! It's one of the most heartwarming things to hear someone like yourself talk about how Scaphold truly helps you in your job with real production workloads. And it sounds like many of them as well! Happy to chat more with you on Slack about your future apps (http://slack.scaphold.io)
Pure HTML y'all. No megabytes of css, no bootstrap, no webpack with plethora of dependencies to load, parse and execute.

We went the other route.
Got that this is using nltk. Can you comment on which summarization algorithm you are using (TextRank, SumBasic and etc.) What's the motivation towards choosing one algorithm over another and how's its performance on average HN articles?
The scrolling is still totally broken. Go to homepage on iPad, try scrolling down.

For the love of god startups should at least test Andoid 2 versions back and iOS current version. It's just sloppy not to be test your home page on mobile.
What makes a good product is a great question for Product Managers to be obsessed about.
I used to think that being a software engineer meant you were intelligent, and worked hard to earn the title, but after working in the industry for 6 years, I decided that, large-scale software project management problems aside, industrial computing just isn't that hard relative to math and the sciences.

Once you know a dozen languages and understand the running themes of computing, it's all sort of old-hat. Ironically, as the field has been flooded with young, inexperienced devs to satisfy market demand, the titles of "software developer" or "nerd" have become social badges to indicate one's intelligence and cutting-edge-ness. We use 50-year-old operating systems and call ourselves innovators.

Maybe, like Groucho Marx, I just don't want to belong to any club that would accept me as a member, but I think that if you're looking to level-up intellectually, studying math and science, but especially math, is the way to do it. I was never good at math, but I've spent the past year teaching myself calculus and the struggle has been well worth the expansion in my world-view.
> But I'd also love for Congress to pass laws outright banning coal use, gasoline cars, and dumping pollutants into waterways.

The Constitution hasn't been respected in decades. There is an entrenched deep state in the US, controlled by powerful corporate and industrial interests that are accountable to no one.
Give me an example of a violation of the Liskov Substitution Principle that is not the canonical Rectangle/Square example.
Μονομαχία από τα παλιά Άρης – Ολυμπιακός
Perhaps systemd should be specified as an API, with a test suite, so that there could be multiple independent implementations that compete for mindshare?
Most of the processes and governance on assets held by billionaires is on rails. They may have control at a very high level, but they then have to become public figures to increase that. Most billion dollar things are really 100 10,000,000 things aggregated - the way to a billion ( outside the option lottery ) is to do M&A to grow.
What's with the "actually" in the title?
>only if your program is embarrassingly parallel is irrelevant, because a almost every program is embarrassingly parallel in Erlang. The language is built around concurrency to the point that parts which wouldn't be obviously parallel in another language are in Erlang. Further, slow hashes in crypto have taught us that is actually quite difficult to make something which can't be parallelized.

OK. Not an Erlang user, but I can't let this statement go.

I've studied parallel numerical algorithms. Many/most of them will involve blocking because you're waiting for results from other nodes.

If you're saying Erlang has somehow found a way to do those numerical algorithms without having to wait, then I'd love to see all those textbooks rewritten.

Amdahl's Law reigns supreme.
With Chromecast you have to choose what to watch on a phone/tablet and only the video is displayed on TV; there's no UI on the TV.
What I like more is the concept of a job-agency for AIs. Basically, the job-agency is a broker between people who have data and need an algorithm, and people who have an algorithm but no data. The broker can then work as a matchmaker, but also provide protection against data/algorithm theft by managing hardware themselves.

As an example, see [1].

[1] http://www.aigency.co/
The fact that affirmative action exists for med school admissions does not prove or disprove the assertion that Trump's movement is rooted in bigotry, anti-science or authoritarianism.
I think that's unfair. I think many of us read and submit stories like this because the changes hitting society are fascinating, not because we delight in people losing their livelihood.

For every automation story, there's one on basic income.
Using sunlight to activate the flow of electrical current in a new material
Just a (semi-)minor quibble. The US population is currently around 322 million. The number of eligible voters in 2016 was somewhere around 220 million [1]. Just under 63 million voted for Trump [2]

1. https://www.quora.com/How-many-estimated-eligible-voters-in-...

2. http://www.nytimes.com/elections/results/president

So it would be much more accurate to say he garnered "support of roughly 50% of voters." Or even "active voters."
"Embarrassingly concurrent" is not embarrassingly parallel. Parallelism is not merely making things concurrent nor making synchronous calls into concurrent async calls.
https://news.ycombinator.com/item?id=13471543
Having worked in the industry for 10+ years now, first on deepwater oil rigs (drilling), now working IT for a large oil company, some things i've observed/experienced first hand which
could provide some color to the automation side of things:

1) The smaller the company, the more agile/nimble you are forced to be out of pure need (no money or resources), this means you have to look at
automating things in order to just get you're job done. Because if you dont, you end up working 24/7 because you are the only one there to do it.
Just like a start-up.

2) The bigger the company, the less agile/nimble, more bureaucracy/politics and people, the same driver is just not there anymore, so the focus on automation isn't as intense.

3) The contractor/service companies (Halliburton, Schlumberger, BakerHughes/GE, Transocean, Nabors etc..) are probably the only ones in the industry that could successfully develop and use these types of automation technologies, because it would make their services cheaper for them, NOT make it cheaper for the oil companies.

4) The big oil companies have the money, but they simply don't have the ability to effectively produce/innovate internally as a smaller company would.Hence the only way they would adopt anysort of automation tech, would be as a service, even then it wouldn't quiet match up with their own internal business needs as the company just isn't wired to think that way.

5) Currently, the buzzword/hype vortex within big oil is all BigData/Cloud/Automation/AI etc.., but is sadly used internally to blind higher ups to approve internal projects that really aren't much more than a hobbled together mess of ancient tech.

So from my perspective, automation will eventually get there in oil/gas, but it will take a glacial pace for it to happen for the oil companies themselves, but once it eventually get's there, that's when you will see the major watershed "automation" changes in the industry.
We have a firsthand account of what happens when govt scientists are not free to openly discuss the results of their work without approval from political appointees.

That happened during 9/11 when the EPA said the air around the World Trade Center was just fine. Remember that! Many have died, and are still dying because of that lie.
Only since Java 8.
The coalesce operator is in c# since the version 3.5 or 4 I think and c# 6 introduced the null conditional operator that, as I said before, is objectively nicer than the verbose Java optional.
Before c# 6 I used this simple extension method:

public static TDest IfNotNull<TSource, TDest>(this TSource obj, Func<TSource, TDest> func)
{
return obj != null ? func(obj) : default(TDest);
}

Or something similar (writing c# code on the iPad before sleeping is not exactly simple), inspired by some blog post ages ago.
Just adding these three line of codes in a static class in the solution will enable you to write something like this:

var id = order.IfNotNull(o => o.Customer).IfNotNull(c => c.Id) ?? "INVALID"

Still not as good as the null check operator but comparable with the Java optional (arguably better from my point of view)
FreeBSD, OpenBSD, NetBSD, Illumos, etc. Chances are, you don't even need to tie yourself to the Linux kernel. Lots of OSes out there that don't inflict their users with systemd.
For thoroughness, the EPA was proposed by an executive order from Nixon that was sent to and ratified by both houses of congress. It was mostly a consolidation and strengthening of roles previous distributed throughout the executive branch, and was a response to widespread concern about the environment as well as the executive branch's legal responsibility to implement laws such as NEPA.
> I won't comment on this article...

That's sort of what we do here.

> Now you can vote me down.

But the guidelines ask us not to do this. This, along with the suggestion that Americans don't care about non-American lives, may be why users flagged this comment. The bar for civility and substantiveness goes up on controversial topics alongside their propensity for flamewars.

http://news.ycombinator.com/newsguidelines.html
How to SETUP PERFECT FACEBOOK PAGE IN 10 STEPS
From the wikipedia article:

"As with similar "laws" (e.g., Murphy's law), it is intended as a humorous adage rather than always being literally true."
Rails is omakase. Node is a grocery and a kitchen supply store. Approaching either as if it's the other is a sure recipe for regret.
> almost every program is embarrassingly parallel in Erlang

I can't agree with that, and it's key to my point. There are some problems which we just don't know how to make embarrassingly parallel. Take something classic like mesh triangulation or mesh refinement. Nobody knows how to make those embarrassingly parallel. If you write it in Erlang, it's still not going to be embarrassingly parallel. And it won't scale linearly to N times faster on N cores no matter which language you write it in.

So it's just not true to say that any Erlang program should scale linearly. If nobody on earth knows how to make mesh refinement scale linearly, how will Erlang do it?

Maybe you mean you wouldn't choose to write those programs in Erlang? Well then I think it's a meaningless claim to say Erlang will linearly scale your program, but only if it is a program which is naturally linearly scalable anyway. Erlang hasn't helped you do anything there so why make a claim about it?
This MVP thing is bs. Why do you want to find out what users want? Is it to make money? So you'll have to have a good idea and a good execution. 10 MVP's of stupid ideas with clunky implementation will get you nowhere.

A good approach for good ideas is to find a niche with a problem that can be solved with current state of technology but they are not aware of. Good old automation.
The EPA order is real, and separate from the USDA one: http://www.huffingtonpost.com/entry/environmental-protection...

Edit: You can see the full list of gag order reports here: https://sunlightfoundation.com/list-of-federal-government-ag...
Think you are missing a link, but I will assume you're referring to the NPS tweet about crowd size.

Was it the most appropriate thing to do on an agency twitter account? Maybe not.

But that tweet has nothing to do with the EPA or Department of Ag, and intentionally hampering their business and operations. There are other motivations at play here.

That's not even getting into the ridiculous crowd size discussion and "alternative facts" that were being pushed.

I'm genuinely afraid of how Trump and his team are so thin-skinned to a tweet or criticism, considering the real challenges and attacks the office has and will need to face.
once you are concurrent, what stop you from being distributed to multiple cores ?
No, similar things happened at multiple agencies. The EPA was one of them.

http://www.nytimes.com/aponline/2017/01/24/us/politics/ap-us...

> WASHINGTON — The Trump administration has instituted a media blackout at the Environmental Protection Agency and barred staff from awarding any new contracts or grants, part of a broader communications clampdown within the executive branch.
At one point, something like 70% of GDP was consumption. It's less now.

This is fine so long as investments move. We have such a high degree of aggregation of capital now that it sort of doesn't. It's sort of ... pinned down in the light cast by the public markets.

Even mutual finds are just now coming of age, much less the things that were innovations on them.
That looks extremely awesome, thank you.
I swear this is what Infochimps used to be, but now I don't really see a reference to it on their website. Except for a 404 when I click on "Resources" -> "Data Marketplace"[1]. I'm guessing that means they moved away from that business. Looks like they now focus on tools, not data itself.

[1] http://www.infochimps.com/marketplace
Data Matching 101: An Intro and Primer
To be fair to systemd, systemd-resolved is not an init process. It is its own service that just happens to integrate with systemd and is part of the wider systemd project (with journald, timesyncd, etc.)
Well there is something to do that. Exrm has some plugin to output a .deb. And it could be done for other package format. Once again, it is a tooling problem.
It's hard to tell what's going on honestly. The media is full out at war with Trump. They hate him (more than 90% donated to Clinton's campaign, and wiki leaks was full of collusion between the media and Clinton campaign). Some things he's doing is totally necessary.

The way the whole climate data and models have been vastly misrepresented (look for "estimated data") has been far over the top. The EPA has been far over the top as has been the BLM.

Will have to keep an eye on the Trump campaign. There are things that he is doing well (like massively cutting federal employees, gutting a TON of executive actions, hopefully returning power to the states, etc). The conservative media is probably going to be more reliable since they're trying to see how much he's going to keep to policies he advertised.
The Key to Shaders... Varies
To disable service workers, set dom.serviceWorkers.enabled=false in about:config.
Perhaps I'm confused but your third link makes no mention of race.
I can't answer for that person, but I certainly would.
Buried the lead "A copy of the interim procedures memo, dated Jan. 23 and seen by Reuters, shows many of the steps reflect either the same or similar measures taken by the previous administration."
> It makes you think about the perfectly sensible reasoning we are using today and what our current ideas will seem completely silly in a few hundreds years!

No, not in a way it was in the old times, at least not for the natural sciences, and the book you mention very specifically argues why: the "completely wrong" beliefs were possible before the "real" science, the later always just limited by our measurements. Therefore, Newton formulas aren't "completely wrong" even after Einstein, only not precise enough for the measurements that were achieved shortly before Einstein.

The book in fact spends more chapters explaining exactly the difference between the really modern science and the status before.
Point-Polygon Topological Relationship Query Using Hierarchical Indices [pdf]
> There are a lot of vocal people who make it seem like you should be doing everything in Go or Angular or what have you

It might be hard to believe now, but Rails also went through this stage of vocal supporters advocating for it over alternatives. If you go back and watch the introduction video [1], you have DHH creating a blog in 15 minutes using RoR. I remember being impressed by it and vocally pushing for it where I worked then. :)

[1]: https://www.youtube.com/watch?v=Gzj723LkRJY