skysight-inc/HackerNews huggingface dataset:
Eliminating the repetitive plumbing is a feature of haskell, not a feature of the monad. What the continuation monad gets you is a pipeline of asynchronous and synchronous operations. Whether or not something is asynchronous is abstracted away. Your example could be rewritten as:

composeAsync([
fetchUser("url"),
function(user) { return user.address },
fetchAddress,
function(address) { return address.zipcode }
]).then(function(output) {
document.write("Zipcode: " + output);
});

In this example you don't need to care if fetchAddress is synchronous or asynchronous, it'll work either way.

Its at least worth noting that one thing Haskell gives you is the ability to perform assignment within the async functions. This is also possible with Javascript, but a bit more intuitive in Haskell. Again, this is a feature of haskell, not a feature of monads.

var outputs = {};
composeAsync([
fetchUser("url"),
function(output) { outputs['user'] = output },
function() { return outputs.user.address },
fetchAddress,
function(output) { outputs['address'] = output }
]).then(function(output) { ... });

composeAsync could also be rewritten to store this in an accumulator, making it look a little nicer.
I wrote an article a few months ago on the differences between R Notebooks and Jupyter Notebooks (and why, IMO, R Notebooks are better): http://minimaxir.com/2017/06/r-notebooks/
The Zhangs charge interest rates of up to 39.6 per cent, with some private lenders demanding up to 120 per cent. Court records show that one of the Zhangs' associates is among those allegedly charging that extortionate level of interest, which is double the maximum legal rate.

OK, this I don't get. Why would you charge someone to launder your money? Typically you pay them.

EDIT: Never mind. It's in the article. This seems less like a money-laundering scheme and more like loan sharking. Getting clean money in the end is just icing on the cake.
This is why the post-recession employment recovery in the US is complete fabrication. The jobs lost in 2008 were careers, the jobs that replaced them were gig work like Uber. The employment figures today discount the tens of millions of NEETs and the tens of millions of people trying to scrape by on gig jobs that provide no healthcare, retirement, stability, and put them below the poverty line.

Per-capita incomes are messed up because the top 1000 incomes inflate as much as the bottom hundred million deflate.

> will likely impact manufacturing

Robotics have been impacting manufacturing for decades. The death of office jobs you mention was another casualty of automation we already felt. Nothing about the impeding automation apocalypse is coming up ahead because its already happening. Its just the low hanging fruit went first, and the tree will keep being picked clean from bottom to top. The economy warps in response to it, in a fleeting attempt to preserve outdated ideology, by fabricating work and creating bullshit jobs out of bureaucracy and artificial complexity to keep society from falling apart. The problem is every single private enterprise resists giving people bullshit jobs to varying degrees, which creates the discontent between workers who lose income over time and employers who keep reaping larger and larger profits.
As far as i can tell, the reason it's good for Europe is that it defaults to A4 paper.

I would be very surprised to discover that universities as old as many in Europe are would have _less_ byzantine document requirements than the comparatively young American unis have.
Do you have firsthand knowledge of this? Because I met and worked directly with both people involved regularly during this period, and I still dont know the full details of what went down. So the way I see it, either you were directly involved but aren't disclosing your connection and hence makes it impossible to judge your biases, or you were not and you're judging the situation based on a very incomplete picture.
How Banks Could Control Gun Sales If Washington Won’t
The only way that equality of opportunity would lead to equality of outcomes is if skill and preference were equally distributed.

The thing is, we know that they're not. And since skill and preference are not equally distributed, equality of opportunity will inevitably lead to inequality of outcomes. And that's okay: different people are different.
Tinder Unmatching Options Translated
No, but like Nazis they are, shall we say prone to a certain class of delusion borne of over-rationalisation to the point that their expectations of what's best for the world and what is (more empirically, and thus harder) actually best for the world diverge dramatically.

In all cases there's a certain kind of lazy theology at play, in that all you need is a simple kernal of an idea and the details will look after themselves, to whit:

- Libertarianism: Everyone look after themselves and we'll be okay.

- Naziism: Lets just look after ourselves and we'll be okay.

- Fascism: Lets put the weak in their place and we'll be okay.

- Bolshevism: Let's just make sure everyone has the same stuff and we'll be okay.

Each and every one notwithstanding the fact that reality is always for more nuanced.
Show HN: Codecom, generate YARD compatible pre-documentation comments
RStudio has had a server-based semi-collab SKU since before JupyterHub was even in development: https://www.rstudio.com/products/rstudio/
Your comment is really pedantic. Obviously the concern is whether using monads is a waste. If I say "television is a waste of time" are you also going to correct me that tvs just are?
Also, as the known GMO opponent Nassim Taleb points out, it's better to avoid unknown downsides completely that happen while chasing small gains from an unproven technology. GMO has a big downside with a small upside to it.
I bike everyday to work in the South Bay, Silicon Valley area. Everyone I talk to here can't imagine life without a car, but I haven't had any issues; lots of bike paths here, and all groceries and the gym are just minutes away.

Sometimes when it rains I carpool, and I see how annoyed and irate most drivers get when commuting. So I don't regret not owning a car.

The downside is not being easily able to take day trips, so I still might buy one some day.
>At one point in my life, a very well respected nutritionist recommended to me that I eat at least 3 candy bars per day.

I received equally bizarre advice from my doctor based upon some blood test results. I was explicitly directed to eat more red meat. At the time I wasn't eating much in the way of meat at all (though I wasn't a vegetarian). He recommended that as opposed to only supplementation, and preferably alongside supplementation.
In an ideal world, on the free decentralized web of interconnected webpages indexed by search engines and archived in several places for posterity. In the current state, I suppose something like Wikia but for anything? It definitely deserves some place.
Privacy is not a feature of Etherium or "smart contracts". It's the opposite, in fact. All transactions are public. The only "private" aspect is your address used to make a transaction but it has the same problem as Bitcoin in that regard: When you turn it back into real money your identity can now be attached to that address.
The US healthcare system definitely leads to more death than other developed nations, and the arguments against fixing it are generally Randian in nature.
A Skeptic's Guide to Discourse
I'm excited about the snippet feature. I've duplicated a lot of the same lines across different hostname blocks that this would make much simpler.
Yeah, you can connect your GPU for machine learning, but that seems to be it.
Not under current paradigm "go to car, start it up, [wait 15 minutes for sensors to unfreeze], go." Might be viable if the cars are 1.shared and 2.at high % of utilization (in other words, the car is never frozen).

Of course, in mountainous winter, I've had wiper fluid freeze when it got to the windshield of a warmed up, running, moving car - had to stop and scrape off what was essentially a rubbing alcohol solution: even heating wouldn't help when local temperature goes to -40 (either scale ;)).
This seems to be more of a thought exercise than an actual suggestion, and wouldn't actually slow down/stop the sale of guns. If anything, it'd give the NRA/gun lobby more power, in that they'd just open a payment processor/bank/digital coin to conduct the sale of firearms themselves.
"The Language Instinct" is almost 25 years old, and it has not fared well IMO, although linguistics is a multidisciplinary/multiparadigmatic field with lots of disagreement. That book was the result of cognitive psychology trying to grapple with Chomsky and generative grammar when they were at the height, and a dominant paradigm within linguistics. But the tide has been shifting away from Chomsky ever since. So the discussion of universal grammar, or the innateness of creole grammars, looks much weaker today.

An "interactional instinct" seems like a much better account of the forces at play in human language acquisition. https://www.scribd.com/document/60713747/Interactional-Insti...

"The Blank Slate" repulsed me by criticizing Boasian anthropology for its rejection of biological explanations for behavior while ignoring the deeply racist context of early 20th century science. The biological explanations that people like Boasian anthropologists were arguing against were pure scientific racism, the premise that the social behavior of "primitive" peoples was a consequence of their biological inferiority, during a time when biology had (for example) not definitely repudiated Lamarckism.

"The Sense of Style", however, looks like quite a good book.
Qualcomm raises bid to acquire NXP Semiconductors to $44B
The big brands are in a bit of a dip, converting from a huge fraction being big diesels, back into petrol and more hybrid/electrics. It will be a few years before the likes of VW/Audo/Merc/BMW/Volvo etc have all hybrid and/or electric. The dieselgate combined with the rise of Tesla caught everyone off guard. Also, there are some big subsidies that obviously go mostly to Tesla, and not to the luxry car makers (much). When subsidies disappear (or apply to germans too because they make EV's) then the sales figures can be better compared.
I have requested a CVE for this, due to unsafe password storage (CWE-256).
It's a quite interesting turnaround, because I remember at the time Techcrunch started getting traction, it was Mike that caught all the shit - he was vilified to a completely unjustified degree.
Not the base one, that's true. The "Lang" versions are made for sitting on the back seat.
Powerful new class of antibiotics found in dirt
The objective of that study is only checking "if dietary protein supplementation augments resistance exercise training (RET)-induced gains in muscle mass and strength." nothing else.

Taking protein shakes could affect negatively other parts of your body. And nobody talks about the quality of that protein. Why do we want real food? Let's all eat Soylent.

I believe high protein intake is as bad as high fat intake, high calories intake, and high everything else. Just stop wanting unreal bodies that are only achieved by supplementation.
> Its like Pinker is looking at a stock chart in a bubble and believing it will always go up.

Pinker has often explained that he's not doing this. He has never denied that there can or will be a next "disaster" and that he would have no ability to predict it. But there is a big difference between a bubble bursting and a centuries-long trend reversing.

It's the difference between saying, "I am going to fail this class tomorrow," and "I will fail to become a wiser and more educated human being throughout the course of my lifetime."

It's the difference between saying, "The tech bubble is going to burst," and "Technological progress will stall and we'll spend hundreds of years at the level we're at today if not worse."

Even if the former happens, you haven't made any headway whatsoever in demonstrating that the latter is likely to happen.

---

> So long as we can believe other humans are worthless, disgusting and categorise them as a disease worthy of eradication, every evil is on the table. I'm not sure we have progressed to make us less likely to do that. For example, are we even more vulnerable to combination of high and low tech to stir up hate? e.g. a social media led ideology that could lead crowds going house-to-house with machetes.

Your counterargument simply boils down to: it's possible for things to get worse.

Well yes, that's true. It's possible. In fact, it's trivially easy to develop a hypothetical example of how things might get worse. But that's not convincing, because you haven't provided any evidence at all of underlying reasons why your hypothetical is likely to come true.

Pinker on the other hand has built quite a strong case demonstrating that the underlying reasons that lead to human violence, suffering, and misery are largely changing for the better.
Yea I never understood how cyclists are expected to make left turns. If there is a bike lane is in the right corner, how and when are they supposed to get into left turn on only lane. I can't even imagine cyclist making yeild left on red, thats absurd amount of risk to take. Left on arrow are not very common, imagine trying to make a fast turn on your bike while a speeding car is coming right at you.

Only safe way to make a left turn is to get off the bike and do it like pedestrians.
The NPF firewall in NetBSD also uses BPF as its rule engine along with a JIT for several CPU architectures.
The hardware looks quite good, but do I want to give Xiaomi (an entity controlled by the PRC) access to my web browsing history, identity, contacts, calendar, files, location, calling history, SMS, etc? (these permissions are requested on Android by the associated app).
Counting and dividing.
40 Proven Business Ideas That Are Easy to Start
The second two sentences in that quote do nothing to support the first. It's a total non sequitur.
Note that this is already kinda the case for fretless instruments, such as the violin. What you are suggesting to be done by a computer would be done by the player themselves. Obviously deciding exactly what tuning of each note to land on for any part of a song relies on musical intuition which computers are notoriously bad at. But when decided to be appropriate, on the violin perfect 5ths and 4th intervals would be actually (to the limits of the players ability and ear) perfect ratios. The major 3rd itself, which is decidedly enharmonic in equal temperament would sound cleaner and less "beaty".

I've always thought Bach would love the keyboard tools we have today. Simply the ability to switch tunings on the fly, rather than stopping to laboriously change gears on your harpsi/clavichord. I imagine the ability to switch to whatever temperament/tuning you want at the press of a button would have masterfully been taken advantage of by him (to say nothing of arbitrary sound/timbre for each voice/key-range etc. I think he would have loved Switched-On Bach).
eBPF is far evolved from "classic" BPF, though. There is a historical relationship (hence the name) but they're very different animals at this point.

Also, the traditional use of BPF wasn't to filter network traffic, but only to sieve data flowing to userland tools like tcpdump.
Add-on clip turns smartphone into fully operational microscope
I got groped by some passing female tailgaters when I was just walking down the street minding my own business listening to a podcast. It was very startling.
Women go into science careers more often in countries without gender equality
This is a fallacy. No one person can solve income inequality, nor should they be required to play by different rules just because they support changes which would enable it. It’s just like when people say “if you think taxes should be higher to pay for government programs, then send extra money to the IRS yourself”
> Intersectionality is pretty much incompatible with that sort of simplistic reasoning (e.g. "racism against whites isn't racism") you can see online lately.

If that's the case, the intersectionality preached in the online public square is a fallen version.

The internet can make any system of thought bend to simplistic reasoning. Here, they've done it by "intersectinally" dividing identity into several axes, with one pole "privileged/oppressor" (e.g. white, male) and the other pole "unprivileged/oppressed" (e.g. brown, female). Stuff like "racism against whites isn't racism" lives on the white/brown identity axis. I think the reason you see so much opprobrium directed specifically at "white males" nowadays is because of this kind of thinking.
E.U., but Not U.S., Falling Short on Paris Climate Targets
The "I don't drive myself"-version of e.g. the Audi A8 is the A8L. Same for the BMW 7. (At least they used to have e.g. the 740L).

But both the S-class and the 7-series are very VERY rare luxury cars. I see thousands of 5-series and E-classes for every 7-series or S-class. The difference in price must be huge in europe compared to the US, because there I saw tons of 7-series and S-class was almost as common as E-class.
I have a little checklist I use to cover the basics:

https://drewdevault.com/new-server.html
Uber Eats Driver Allegedly Shoots and Kills Customer in Atlanta
I know that matplotlib.pyplot has a sleep function used to animate graphs. May be worth investigating.
News flash: state actors can already track and kill anyone they want
Learn to securely share files on the blockchain with IPFS
Is it included into DosBox already?

hq4x is included I guess, but unfortunately when you get your games from e.g. GOG, you have to tune DosBox manually every time.
Neural Doodle: Turn your 2-bit doodles into fine artwork with deep neural networks
https://www.cyclestreets.net/ is one such planner that may have bike only shorcuts that aren't marked on other map sources (it's based on OpenStreetMap and feeds cycle specific data back I believe).
Keto is definitely a fad diet, same as Atkins, paleo and a ton of others.

I'm deep in the crossfit world, and I definitely did look at keto and paleo, before an actual dietician talked some sense into me.

Ketosis is a medical condition that is potentially harmful and even deadly in some cases. You absolutely should not go into ketosis without qualified medical assistance.
As someone new to not just Jupyter (and for someone coming from the Microsoft c# world, mind = blown, many kudos)....do you (or anyone else reading) happen to know off the top of your head a particularly well done, information dense (not dumbed down, showing what you can do, but skipping a hand holding explanation, one can go get that elsewhere) notebook that demonstrates a broad range of Pandas & Jupyter capabilities?
At the top of the article it's mentioned that the blog post is an excerpt from a book.
6km one-way isn't very remarkable here indeed, in terms of distance I would consider it a short bike ride. I'm cycling ~8km each day myself now, but I have colleagues who do ~15km one-way each day, which I would consider on the high end for a bike commute.

I agree with the sentiment of the article though, which is that cycling to work basically has only advantages if the weather is good. When it's raining or particularly windy I still take the car, but on all other days I greatly prefer cycling. No traffic, no problems finding a parking spot, it wakes you up in the morning, makes you hungry (in a good way), saves money, and for me it basically eliminates the need to allocate any extra time for additional exercise.
Subsidized luxury cars....
That's not true - there have been a bunch of cases recently where the ground rent is much more than that a doubles every x years

https://www.theguardian.com/money/2017/jul/25/leasehold-hous...
If you care about quantifying uncertainty, knowing about Bayesian methods is a good idea I don't see represented here yet. I care so much about uncertainty quantification and propagation that I work on the Stan project[0] which has an extremely complete manual (600+ pages) and many case studies illustrating different problems. Full Bayesian inference such as that provided by Stan's Hamiltonian Monte Carlo inference algorithm is fairly computationally expensive so if you have more data than fits into RAM on a large server, you might be better served by some approximate methods (but note the required assumptions) like INLA[1].

[0] http://mc-stan.org/
[1] http://www.r-inla.org/
Can you look at the potential customers your looking at solving a problem for and solve an easier problem for them.
FWIW there's a Snoopy/Woodstock game on code.org that's a much simplified version of this where players control avatars who throw snowballs. It's turn based, each player programs their avatar with 6 different commands (IIRC, u d l r jump fire). Fun and very accessible for my 8yo and I.

Can't find it on CODE.org any more, it's mentioned here http://www.gameinformer.com/b/news/archive/2017/11/10/little....
Actual anonymous functions. Not just lambda expressions.
If I had a bike route to work, I'd take it over driving my car, even if the bike route takes longer and/or is further away. Mr. Money Mustache (https://www.mrmoneymustache.com/2013/06/13/bicycling-the-saf...) wrote that riding bike is equivalent to printing money, and he has calculated that riding one mile is equivalent to gaining 1350 seconds of life.

Unfortunately, I currently live in part of Florida where the roads are not designed for bikes. I once lived in the east of Bay Area, where it was so much more bike-able.
Sometimes I think I'm the only one who isn't really a fan of the tidyverse. I've found it slower, more prone to dependency issues, more prone to silent errors, and less well documented than most R packages (ie most of what you find on CRAN).
I first used Mathematica in 1992 in a NeXT lab at Ohio State. It seemed like magic. If I recall correctly it had a notebook interface way back then, it was so cool doing 3D plots and tinkering with values to get a better intuition of the math.
Meta: It's unfortunate this, like most tech behemoth critiques, got flagged off the front page so quickly. There are, of course exceptions to this rule, so perhaps those are simply enough to saturate people's desire for such articles.

More on point: what choices does a startup have when wanting to operate in a vertical that Google/Facebook et.al. also want to infiltrate? Find a smaller niche that doesn't hold enough interest (or money) to interest them? It's funny, I wouldn't have thought the RSS reader niche would have appealed to them originally, and yet here we are today where RSS reader startups still find themselves competing on price against a product that no longer exists.

It really does seem like its not enough to just be better; the "worse is better" paradox in action.
If OP owned 80% of the shares, there would be no discussion, because OP would control the company.
This would be a wonderful thesis if it didn't ignore the fact that in the world (and the US in particular) there's a lot of land. So much land that you could fit the entire world's population twice into Texas alone assuming major city densities (assuming 67k /mi^2 and 268000 mi^2 per cursory googling gives some 18B).
So, what are those better webmailers?
if you have exclusive access to the data then maybe you can partner with an existing firm.
How volcanic ash can bring down an airplane
I just installed this new ui. How cool is it
Sure, but the GitHub API doesn't accept patches either, near as I can tell. You MUST create a pull request, which requires a fork: https://developer.github.com/v3/pulls/#create-a-pull-request

Unless you know something I don't?
Reach out to former coworkers/managers/employers, see if they need any consulting work.

If that fails talk to one of the agencies that will get you consulting work (e.g. https://www.gun.io/).

Reduce your living expenses as much as possible.