skysight-inc/HackerNews huggingface dataset:
I wear a helmet too!

But it doesn't change the truth of the sentence: "The exercise benefits of biking do way more to increase your life expectancy than skipping a helmet does to reduce it."
To put it in a nutshell, with the way I understand it. Hiring, keeping an employee employed, dealing with labor-law issues, paying for harassment/dispute lawsuits, difficulty in firing misbehaving or under-performing employees are all costs. Costs that a company would not necessarily be able to burden.

So what happens is that all that risk, red-tape, etc gets consolidated in the form of an employment intermediary (for lack of a better term). So they consolidate, optimize and package all that risk and cost into a single figure which is both cheaper (due to economies of scale and concentrated knowledge) and easier to deal with and monetarily quantify. Companies then save money by rather hiring the employment intermediary instead of the actual employee.

I clearly see it immensely in South Africa. Even in the software-development industry, where software-development firms are called "body-shops" because all they do is re-sell developer-hours rather than working on projects. The client explicitly interviews, selects and has the developer sit in their offices under their management team with their hardware, etc. It's made worse in South Africa because there is no at-will employment, and the government has made it ridiculously difficult to dismiss/fire employees even for perfectly reasonable and straightforward reasons.
Breathing hard on a bike when pushing it is really nasty when the air is bad. Sucking in a chest full of exhaust fumes is horrible.
It would definitely be harder to play combinatris with longer identifiers...

http://dirk.rave.org/combinatris/
Pebble was the best watch I've owned. I moved away to a mechanical watch since, but that experience is still what I want when I occasionally think of buying a new smart watch.
Tesla are marketing and branding geniuses - they make Jobs look like an amateur
Right. Will occasionally see increases in space, memory, bandwidth, etc., within existing plans. They have also expanded offerings available.
So let's say I am progressing inside a jupyter notebook top to bottom. I run code blocks, then some markdown, then code blocks, and so on.

At some point I need to drop down to the terminal to run something. I run commands in the terminal I collect some results or collect some info and go back to my notebook to resume my work inside it.

Later I need to look up something in a text file. I open a certain text file. Browse to a certain line number, read that line, maybe edit the text file, and close the text file to go back to my notebook.

Does JupyterLab keep a record of the point in my progress in the notebook when I switched to the terminal or the text file, what I ran in the terminal, and what info was used? If I edited the text file, what was before and after of the text file? In other words, does JupyterLab help with the chronology of workflow events?

If not, I don't see how this is anything other than hundreds of "IDE"s out there.

Notebook format has its own issues, but going back to IDE is not a solution. Offering both notebook and an IDE at the same time and leaving it up to the user to make the best of the combo is not a solution either, unless the offering helps some kind of a way of eliminating the cons of either format.
I haven't looked a Jupyter at all; in plain Python, I'd start with something like this[1]:

schedule = set() # (time, function) pairs
while True:
next=min(schedule)
schedule.remove(next)
sleep(next[0] - now())
next[1]()
schedule.add((now() + interval, next[1]))

[1] Pseudocode only; I don't have the API reference in front of me to verify method names and such. Several edge cases are unhandled.
This seems like a good argument in favor of understanding the difference between ads and search results. (Unfortunately it's more subtle than it should be.) Or maybe installing an ad blocker.
That happened because Amazon violated Youtube's TOS by stripping key services like subscriptions, channels, etc. Amazon can implement Youtube as long as they follow the TOS, which they're choosing not to.

It's a rule set that everyone has to follow when using Youtube, and isn't singling out Amazon the same way that Amazon is singling out Apple and Google.
well, the difference being in your example, is that the extra money goes into the black box of the government. whereas a CEO increasing wages for his employees will be directly evident in their improved lives. there's no bureaucracy tying up funds there.
That is exactly why I got into embedded programming, and then back out again: it seemed like one of the few areas of software development which still offered a real challenge, but it quickly became obvious that Moore's Law was catching up, and that I had arrived near the end of the party.
Static typing lets you catch errors before running the code.

Pattern matching helps you write code faster (that is, spending less human time).

Algebraic data types, particularly sum types, let you represent complicated kinds of data concisely.

Coconut is an extension of Python that offers all of those.

Test driven development also helps you write more correct code.
Come to think of it, I wonder if the "wife" was there solely to put her name on the transaction so if the feds come knocking it would be her name that they put on the warrant?
> YouTube's algorithm recommended extremist/conspiracy content

Would you agree that the algorithm recommended this content because people believe in, or at least are interested in, conspiracies? Even if we feel that's a mistake, who are we (or Google) to be the arbiters of truth?
If anyone was curious about Inovalon's $70M customer, it appears to be Anthem. It isn't explicitly called out that way, but from page 23 of that report:

Our largest client, Anthem (formerly known as WellPoint), represented approximately
17% of our revenues for the year ended December 31, 2016, while no other clients
represented greater than 10% of our revenue.
Google is tempting Italian university students with cryptocurrency lectures
I think a better analogy would be how large swathes of the population use Windows for everyday computation and treat Linux as a toy, whereas individuals with more domain knowledge take Linux seriously and use it in production in a variety of environments (e.g., high frequency trading, web hosts, commerce sites, etc). Engineers may prefer MATLAB as a "serious" development environment, but most software developers find it to be seriously lacking. Most general purpose programming languages are far more powerful than MATLAB, but simply lack the toolboxes/convenience. Both of these points are nothing new and have been observed since the creation of MATLAB (indeed, the latter is the reason why MATLAB was created, since MATLAB is basically supposed to be a pretty face for FORTRAN).
The problem here is not the Monad, but the “do” notation. Rewrite your code without it, and will be more clear and less “waste of time”
Absolutely love JupyterLab. Having used ipython for years, I switched to Jupyter Lab about 6 months ago and never looked back.

The things I'm most impressed with (relative to Jupyter Notebooks, which were already amazing):

- The ability to render .geojson, .json, markdown, Vega and Vega lite files, and integrate external tools like Voyager.

- The new terminal is a joy to use compared to what came before it

- The ability to set out multiple windows easily, much like an IDE

- The plugin ecosystem means that we can start writing custom components for the analytical platform we're building.

Thanks so much to the team!
I agree with much of what you posted, but there is a lot of individual incentive to “defect” and rent your speculative/parked real estate. There is no need to rent “below market” for such supply to move the market clearing rent. Merely bringing more supply online tends to change the clearing price.
True, it sounds like profiting from rising house prices is icing on the cake.
I'm not sure it is appropriate to think about helmet use as having a bearing on life expectancy. The data on helmet accident avoidance is terrible. i.e. we have no idea what the severity of an accident "would have been" because that kind of data is never reported. Anecdotally, I've needed my helmet many times, but never reported its use to anyone.

you could theoretically look at the injury rate for non-helmeted people, but, again, you don't know how representative that rate is of the population. You are assuming that the non-helmeted accident statistics sample is representative of the cycling population. I am not sure that is true.
Colombia declares war on Pablo Escobar's hippos
My question is after the singularity and ensuing nuclear holocaust, how will we know what time it is
I have needed this term for years. Thanks!
> Like translating a phrase into a foreign language and back repeatedly, I inagine you’d end up with something fun and impressionistic.

This exact game features in the plot of Philip K. Dick’s 1969 novel, Galactic Pot-Healer.
Can someone please explain in a simple way what Monads are and why I want to use them in normal daily programming (assume, incorrectly, that I only know Python)?

I know I can google this, and have, and unfortunately I came away even more confused as a non-Haskell practitioner.
Ask HN: Which IDE Is Best, IntelliJ or Eclipse?
> but prison was definitely justified

IMHO prison is never justified for people that pose no physical danger to others. A reasonably big (as big as he can actually afford) fine and ban on working on government and financial positions could be enough.
Almost everything on this guy's blog is amazing if you are interested in hardware, optimization and that kind of thing.
> No, that is not strange at all.

It is less quality that makes it strange than dimensions of the vehicles. Tesla is not the length of an S Class or 7 series. It is the length of an E Class or 5 series.

5 series, E Class, Model S are ~ 195 inches long

7 series and S Class are ~206 inches long.
why can't you use multiprocessing?
Such a bummer -- the rest of the post was so good. It's really easy to say "I've never had an accident" and "don't worry about not wearing a helmet".
SEC subpoenas Ubiquiti Networks (Form 8-K disclosure)
First result in DDG is from stack overflow: https://stackoverflow.com/questions/13574552/d-programming-w...

Google: https://stackoverflow.com/questions/13574552/d-programming-w...

Same exact thing, so what is your point exactly?
And when somebody complained that anti-virus detected their malware they said it's false positive and they recommend to disable the AV: https://i.imgur.com/GTSPLDE.png
"There’s just no clear evidence to prove that they have any benefit."

Then...

"One large, randomized, double-blind, placebo-controlled US trial in men found that some who took multivitamins had a slight reduction in total cancer risk (particularly those with previous nutritional deficiencies and cancer diagnoses). But the trial needs to be repeated with women and more baseline data of nutrition status."

This is some really confusing writing but it sure sounds like there's some evidence that the multivitamin is helpful.
Coal is not _the_ alternative.

I strongly encourage you to watch [1]. Nuclear is such a disaster it's mind-boggling that anyone would still argue in favor of it today over the alternatives.

[1] https://www.youtube.com/watch?v=HWZIGHv3khE
Are you referring to Patrick McHardy a former contributor to Netfilter?

https://www.theregister.co.uk/2017/10/18/linux_kernel_commun...
> That said, it’s common to find many Julia packages that are only half-maintained and don’t really work anymore.

On this specific point, it's worth noting that up until now there's been a single massive repository of every Julia package ever published, regardless of its current state or utility. Starting with the upcoming 0.7 release, Julia will introduce the concept of "curated" repositories so that, going forward, if you stick just with the default curated repository of packages you should have much less chance of running into a broken or unmaintained package.
OK, but how does lack of social cohesion cause a drop in real wages? There are a few mechanisms I can think of, and probably multiple are operating, but one way is that an atomized electorate does not have the ability to resist changes in the law that are detrimental to their broad interests. Thus, you get massive pro-corporate/shareholder legal changes that create increased competition for labor.

What's changed is that when a businessman needs some work done, the first thing he is going to look at is if the job can be automated. The second is that he'll look for lower cost offshore labor, made possible by cheap shipping and telecommunications, but also free trade agreements. The third is that he'll look to hire a legal or illegal immigrant who will take a lower wage. The fourth is that he'll look to move from a northern state to a southern right to work state, made possible by Taft-Hartley and its successors, and pliable Southern legislatures, where he can hire non-union labor who will take a lower wage. With so much new competition for labor, much of it government created, it's not surprising that economic growth is not flowing to labor.
Why artificially restrict a feature and then make users beg to get it back? That's quite user-hostile.
Yeah, except no one bats an eye when anti-GMO editorials get linked, or when said editorials quote legal firms involved in class actions against the GM giants. Or when anti-GMO lobbying groups are cited for 'balance' as in the previous comment.
Is it possible to have a notebook and a console using a single, shared kernel?
Yep. After eating Jif peanut butter for my life, I switched to "natural" about 10 or so years ago. Eating a spoonful of Jif after that, and the absurd amount of sugar is immediately apparent.
Odds are that you can't change the situation. Therefore you have to deal with the situation. Your top priority should be taking care of yourself. Are these guys making you frustrated? That is bad, find a way to not get frustrated about it. Because it is not like you are alone -- lots of people are working with "not very bright" colleagues.

In the grand scheme of things, the choice between Postgres vs Mongo for a silly website is insignificant. Don't lose to much sleep over it.
I am a Canadian Citizen who owns my own business (registered as a Sole Proprietorship) and I do contract work and consulting for US clients sometimes.

I am living outside the US as well so thankfully I don't have US tax, the biggest difference for me is that I don't need to charge US clients sales tax where I live, but for local clients I do need to collect an additional tax and pass that on to the government.
I use examine.com when choosing which supplements to take (which are very few). I had hoped that the underlying article would discuss fish oil but it appears to be out of scope.
My impression is that if you are an employee, you are typically hired by local company in country you live. This local company will be structured as a subsidiary of the US corporation. So US taxes are irrelevant.
Bari Weiss and the Excesses of Call-Out Culture
For some websites, the cost of making a new HTTP request to get the image is higher than inlining it in the page in terms of performance
> First off, do you need a study for that? I'd hate to sound insensitive, but perhaps common sense is a new Darwinism?

But there are many things involved here, for instance, if you don't eat any fat or protein, you will die, however, if you don't eat any carbohydrates, then you won't die, is this common sense to not stop eating carbohydrates or are we onto something?

Also protein poisoning happens if you don't eat fat, not if you eat too much protein.
Firstly, it is quite difficult to manage so many usernames and passwords, for non-tech-savvy people such as my parents.

Secondly, don't you think that actually maintaining it is very difficult? One inadvertant click could expose one of those accounts to another with a different service provider, etc. Arguably, it can work should you define a different browser profile for each of those accounts!? Nonetheless, it is neither easy nor smooth, in my opinion.
Try to take "The Build a SaaS app with Flask" course on Udemy:

https://www.udemy.com/the-build-a-saas-app-with-flask-course...

I found it very well made and you might ship a simple SaaS within a week, including Stripe subscription. You'd also learn about Docker deployment there. Themeable using Twitter's Bootstrap as well.

Now just get an idea for a profitable offering and you are golden! ;-)
Subjective but makes for unreadable code.
I also like Mathematica, and I think the curated data is amazing for impromptu explorations. I guess there are more and more sources of data available online for Jupyter to query, however, the Mathematica API and access to this curated data is effortless.
Fast food is still food, tasty, safe and nutritious - albeit with a macronutrient profile that is unsuitable for modern life styles when eaten in quantity. Fast food is not the problem, lack of awareness of how to use food is the problem.

Unlike food (or fast food) most supplements are not fulfilling any biologically useful function when consumed by otherwise healthy people - unless we consider placebo effects as biologically useful. They are unnecessary for the functioning of the human body, unregulated, untested and driven by often unscientific claims that don't have to be proven clinically.

When the majority or large portion of the sales are related to deceptive marketing of useless products, it's fair to say a market is a "racket" as a way to alarm the public, notwithstanding the many honest producers and effective products.
The President can't change corporate tax rates or loopholes. It's far less likely that we'll elect a majority of Congress who aren't beholden to corporate interests.
I'm not sure there is anything lazier than "Let it crash." Erlang is lazy at the question in addition to being lazy at the answer. However, all that laziness is transparent because Erlang is an engineering artifact not an academic artifact.
Meet Me in Mordor: Nvidia Conference Rooms Named for Sci-Fi’s Geekiest Places
Related to that idea, there is a game called screeps [0] that has a lot of that general idea and executes it fairly well. The payment model discouraged me from sticking with it, sadly.

[0] https://screeps.com
Copy on write for large datasets = bad.
To be totally honest, even though I love Jupyter notebooks, I wouldn't teach someone to code using it. See, as someone who's not, originally a programmer, I believe that teaching someone to code is intertwined with teaching (gradually) workflows and environments.

Now, Jupyter is great (I'm a statistician btw) precisely because you have a presentable literate programming tool. That is extremely valuable for data analysis and model building.

Now, If you are teaching programming in it self, I think the terminal + text editor is important since that is a step towards how things are done irl. But if you think that the terminal is too much for your audience, just go for IDLE, which has many advantages for python development + teaching, and is already a step towards text editor + terminal or IDE level development.
Congrats, Eric! Big win for every hardware company going through YC that will undoubtedly learn an immense amount from your experience.
I had a similar experience, and it took me a while to realize how much of my "this feels off" feeling was correlated to the appearance of the search results. I changed the DDG theme to match Google's appearance, and that feeling of "this feels off" evaporated.
"Do notation" is a syntax thing.

What's more fundamental is modeling every computation in your language with these chainable algebraic constructs in such a way that they're always composable (when of the same computation type) and combinable (albeit with complexity, as in mtl).

Monads are just a modeling technique for this, and when laid bare without do notation, they're neither impressive nor surprising. However, it's worth noting that there are some very neat properties with generic monads (something that Haskell does very well because of how typeclasses can model constraints).

It allows for reuse across surprising axes. Let's extend the prior example:

loadUser :: (MonadIO m) => UserRef -> m User
loadUser url = do
userRecord <- liftIO $ fetchAndParseUser url -- One function for compactness
emailAddress <- validateEmailAddress userRecord
pure $ User (publicName userRecord) emailAddress

This simplified, but what's really nice about this specific construction is that we've placed a constraint on how we load UserRefs (we need to pull data from a url). In most cases I'd expect that this would be some variant of ExceptT IO * or MaybeT *. But it also could be something more sophisticated.

I've had a case where I realized that I was using a dowdy 2008 approach to software assuming users would have only one identity record, but I wrote a load function a lot like this. I needed to change how I loaded users since users would often have multiple user records (i.e., they created and linked accounts to one another). I had to change my fetch and parsers (naturally, I chose a new endpoint). However, I started calling my load user function with
ListT IO [1]. I barely had to change logic (mostly pattern matching on the edges) to cope with this change.

But you might also imagine that the computation includes async properties, or validating properties, or whatever. Because we can generically address ALL kinds of computations and even combinations of computations, we can freely swap them around as we see fit without substantial modification.

That kind of flexibility is fundamental to how these languages work in tandem with monadic computation, and it's very powerful.

P.S., I recognize that you might argue a value encoding could capture this in Smalltalk, and I agree. That's often how people implement this under the covers before they optimize it. What's worth noting is that without good type checking, interlocking more than a few of these constraints correctly is very difficult, which is why this is much more feasible to do in Haskell.

[1]: As an aside, I don't use ExceptT for runtime exceptions. IO already covers that and I think it's a bit of a fantasy to pretend I can do better. Also, I'm aware that ListT is a slightly troubled cousin in the world of monad transformers, but I was happy to use it here, none of its downsides really came into play.
Having seen a cyclist without a helmet killed in a similar accident, I can guarantee you would have been dead.
Twitter has people to sell adds to companies that use people to decide to buy ads. If automation makes it easier to use fewer people to buy ads, then twitter and other ad companies would likely sell ads with fewer people in the mix.

As an aside it's odd to think of twitter and google etc as a kind of modern successor to the MadMen ad house. I guess if you were being pedantic, they're more like the modern version of what the network TV commercial industry was in the 60's.
Policy gradient is a bad algorithm
The HMM and AHA collection
The chest blew my mind with how it seemed to accurately capture the shading and reflectivity of everything
One data problem boiled down to being an instance of the set cover problem (https://en.m.wikipedia.org/wiki/Set_cover_problem). Pretty easy to pose as an integer constraint problem, and Z3 solved it in about 20 minutes for me.
I think you forgot, on your list, a massively de-regulated banking system which since the 80s has been destabilizing the economy and at times even going as far as to profit from it's downfall. This has had the effect of removing real wealth from average people and consolidating it into the hands of a few.
I guess thats why bitcoin was such a massive failure...