skysight-inc/HackerNews huggingface dataset:
I've been diving into f# in 2018. I came from c# world, and it really made me a better developer. Really recommend the language. Think it has a great balance between functional programming and OO if it is really needed.
I really do think it's easier to write better .net programs with f# then c#. Think this article point out some great stuff.

That said, it's quite hard to actually get to use it in production at the places I've worked. My college's are scared of it (that is pretty reasonable, considering c# is a good stable language and my team is confident that what we develop will make the customers happy).

One thing that makes me hesitant to really try to get this adopted in my company is the tooling. My experience hasn't been great. It works, but it has been pretty unreliable. Some documentation was more focused on the "pre dotnet core" era of f#. I know i've been spoiled, but stuff like debugging, tooling and refactor tools can't touch Visual Studio.

There are some decent options, Jetbrains Rider and VS Code are a couple of them.

Small things, like creating a record type while typing is inconvenient.

type Customer = {
Id: int;
Name: string;
Age : int;
}

While typing an instance of the record

let c1 : Customer = {Id = 1;

gives you a bunch of compiler warnings, I know I'm not done, Compiler knows there are more properties. But without looking at the record type it's hard to see what order things are.

I'm not sure if this is just OCaml thing, but C kind of languages are better at predicting what you want to create. It's weird that with the very predictable Hindley–Milner type system it can't provide the developer with good information.

I know it's a small thing, but when working with large projects, I don't want to look everything up, I have the compiler have my back.

I'll really think Microsoft should help the Fsharp Foundation more, seeing what an amazing language f# is. But it really could use some more love from MS. Perhaps they should help the community be more confident that they can solve the business problems they run into.
I hope Microsoft would say: "Hey this is how you create The Boring Line Of Business App, with all the bells and whistles you normally need". From how to deal with Dependencies in large projects (No, a couple of (amazing) conference video's of Mark Seemann do not give me enough confident that after 6 months of development it still is manageable)

Until the Tooling is done, I just keep enjoying the language and learn how to become a better developer with it.
The confusion around this comment may have been avoided by putting double quotes around the whole thing (since it is lifted verbatim from the article) and single quotes around Mossberg's statement. Or even just prepending a right angle bracket (>) at the beginning of the quote. Surrounding the text with asterisks to italicize it is also an option, but may be less recognizable.

I must admit to also having read the comment as being in the spirit of Mister Gotcha, cited by bluboo below: https://news.ycombinator.com/item?id=18708394
I have been impressed with how up-to-date Spaceflight Now is. I work in the satellite industry and once Spaceflight Now had an updated launch schedule before we actually got word from SpaceX that our launch was delayed.
Do HN users have any F# references, books, or guides they recommend? I've always been intrigued by F# but haven't found a good project / use case for it, but I suspect that's because I need to know more about it first.
It's easy to blame Facebook and Google for this "problem", but on the technical side, nothing has changed that prevents independent creators from setting up their own platforms to distribute their own content. It's as easy as it's ever been to rent some shared hosting, FTP over static HTML files, and start posting links to it around the web. There's still no guaranteed audience, though.

Facebook and Google are only "gatekeepers" to the extent their users treat them as such.
Quick UI/UX note: You should remove the border around the titles until you hover over them, way more pleasing on the eye and less "in your face"!
I'm not convinced. It takes effort for me to break apart blackbird into two separate words in my head, as they are so commonly found together. When speaking "black bird" I would insert a long pause between the two and emphasise the "b" on bird to show that I'm not talking about a "blackbird".
Dow crumbled Monday on hedge fund liquidation, the concern of Fed hike
Ahh yes, when safety is your key concern, you absolutely want to make heavy trucks in excess of 15000 kg your test bed. What the actual fuck.

Maybe start with a self-driving trike.
Investopedia and most finance textbooks define any security trading as less than a dollar as a penny stock. Here is why: If a stock listed on the NASDAQ fails to meet a closing bid price of $1 for at least 30 consecutive days, it is delisted. If a stock listed NYSE trades for under $1 for 29 consecutive days, the company must, within 10 days, submit a plan to the NYSE to move the stock into the $1 territory within a short period of time or it is delisted. The Nasdaq has 3430 companies. The NYSE has 3136 companies. The Amex has 322 companies. Together, the 3 make up well over 95% percent of the publicly traded stock market. Thus the problem with penny stocks is that they can be delisted and then you become a bag holder.
Outside, where anyone can take it. That's not responsible delivery.
Turning Your Application into an Installable Package
> She writes, composes, plays and tours widely, and has released a number of very successful albums. Keating enjoys a level of success that is beyond the wildest imagination of even the most talented musicians

I think the premise of his argument is that that’s her income as “wild success in the field of (musicians)”, not “reasonably successful in the field of (cellists)”.
Being born in Florida could lead to a longer life, AP report says
Funny thought ... at the scale that Google operates, you could use still images to crowdsource waymo driving in real time on quite a few cars at once.
The question though is would that 5% react to increased punishment. The studies done on raising felony theft thresholds indicate that they don't.
Show HN: HAR Cleaner – a utility to clean up HAR files
I wouldn't be surprised, I've seen a developer use type as a function name and it was imported everywhere...it caused a lot of problems. Not to mention the function literally did nothing, it essentially returned none under 99 percent of circumstances. If the person that wrote that was still at the company, that should have been a fire able offense.
Over the years, I have found this article to be useful: http://effbot.org/zone/call-by-object.htm
> They didn't predict his win, but they did better than anyone else in the mainstream.

Kind of proving my point, as it shows that Nate Silver was the best at crystal-balling the election result. Afaik 30% is still bellow the 50% (or 0.5/1) threshold generally needed to make a decision, as the article also mentions.
So IOBES style NER...how surprising...
> but small satellites currently pay a lot of the bills at SpaceX

No, they really don't. SpaceX makes most of their money launching 3-ton+ geostationary satellites. The second-most important workload has been launching the Orbcomm and Iridium constellations. Iridium satellites won't fit on Electron. Orbcomm ones would, but the constellation is complete.

Of all their commercial launches, on only one would the Electron rocket have undeniably been better: The SmallSat Express was a kind of a clusterfuck because there were too many customers on one launch, each with their own problems and delays.

In any case, hypotheticals about SpaceX losing customers in the future always need to be answered with this: https://www.youtube.com/watch?v=0IU41zpzWUE&t=75s

As of IAC2018, they had a $12B launch manifest. They can afford to lose a few smallsat payloads.

I am eagerly awaiting a future larger Electron. The principle of 3d-printing a rocket using only parts that are cheap to make is quite interesting, and might have room to move up to payloads larger than smallsats.
I meant to have a portion of that in some sort of subsidized manner...

Not a replacement. I also think snap is bullshit. For example, you cant buy toiletries with it and you cant buy things which are cooked.

The best cooked deal of anything is a $5 rotisserie chicken at costco.

And snap users can never get those.

But it would be interesting if blue apron were to cater to larger groups, such as retirment homes, or elderly communities...
Not sure I agree. Peterson is definitely controversial, and his political side is worth ignoring. But foundationally, the book is about the foundations of living a meaningful life and self improvement. And not that shallow sort of self improvement, it’s the real hero’s journey stuff.
They’re welcome to it elsewhere. I’m not going to give it to them. You also won’t have the situation where you see them in immediate danger because you’re not going to give them access to your area.

Obviously, you have to help if they’re right in front of you, but there’s no obligation for me to help feed a starving family in Appalachia now and I don’t think there will be one in the situation I’m describing. So all you have to do is ensure you’re never in a situation where you can help someone in immediate danger.
Values?

I understand not using Facebook because it’s annoying and filled with ads... but what values is one upholding when they quit Facebook because they show ads? That advertising is evil?

I don’t watch TV because it sucks and is filled with ads, in other words it’s not worth it. But I don’t pretend that is some kind of moral victory.
Neither Smith, Ricardo nor Marx wrote the line that is being discussed in this thread.
The ‘deprecated’ warning on invalid escape strings turned into a hard error, also.
To me it only seems that their is a lack of reflection among socialists to acknowledge the utter failures of communism everywhere and every time it has been preached. I believe most conservatives acknowledge the failures of facsism.

I'm not comparing the specific details which differentiate the two ideologies, I'm comparing the traits which make them strikingly similar - the authoritarianism. Whether a commie or a fascist, it is the support of the use of state force to compel others into ones ideology that is the awful trait shared between the two camps.
Is there a GitHub link?
I get the same hassle in chrome. Haven't noticed it being any worse now that I switched to Firefox.
It does help with the problem I replied to, which was code written in C. Auto indenting that code block would indent the `someotherstatement;` line correctly and I would notice that mistake. Anyway, single line if statement is a flaw in C's design.

What I said was that in Python's case, if I indent some code block wrong, I can't just fix the indentation using auto indenting in python, because the indentation is the semantics. There would be "nothing" to fix and the code would just run wrong. This problem comes up always when I copy paste python code. Of course I should notice that it's indented wrongly but that doesn't always happen. (And please don't advise me to never copy paste code. Life doesn't work that way.)
American Sues US Government Pressuring Him to Unlock His Phone at Airport
This is the nasty side effect of rent stabilization/control. If you're outside the system, you're kinda screwed.
I don't understand your counter-argument; time spent doing useless things on a schedule in which non-useless work is accomplished doesn't mean that the time doing useless things is suddenly valuable. Any capitalist knows that they don't want to be paying someone to do work that doesn't produce value. The person who only welds the pipeline spends less time getting the task done, which is obviously the aim here.

Socially necessary labour is defined as labour performed under normal ("averagae") conditions of production using tools of average production potential. At least in the Marxian schema (which I'm not really here to defend) skilled difficult labour is only a greater magnitude of simple, unskilled labour. For Marx, the quantitative relationship between them (and indeed between value and socially necessary labour time) was not only not necessary to derive, but arguably impossible in a complex economy. The important part was that it worked. Value works "behind the backs" of participants in an economy to shift their labour to more profitable regions of the economy.

I'd recommend Cockshott et al.'s "Classical Econophysics" chapter on Value which clears up a lot in the Ricardian and Marxian schemas: http://ricardo.ecn.wfu.edu/~cottrell/ecn265/value.pdf
Fundnel, a Singaporean crowdfunding platform was assisting spaceX with a recent raise[1]. The minimum investment value is 250k on the website now but if I recall correctly it was as low as 50k a few months back.

[1] https://fundnel.com/investor/deal-feed/funded
"Ooh! I'll take the package and the fancy tracking camera" :-)
If you don't want the solution to exist, why do you care what it ends up being? You won't use it. You have no horse in the race.
(A) blanket hatred of “the media” seems to be somewhat misplaced, considering this post itself starts with a link to The Atlantic’s “pretty good post-mortem”.

(B) why does this go right to the top on HN, while (as but one example) the recently released, data-driven analyses of the role of social media in the 2016 election get flagged to hell for being “too political” and having “nothing to do with tech”? Likewise, any mention of very real anti-semitism, like a guy shooting up a synagogue, or another guy sleeping in a truck plastered with Trump stickers sending pipe bombs to Jewish people, are almost certain to turn grey faster than a competent President’s hair.
He's... He's standing right behind me, isn't he?
$10 per serving is essentially fast food prices in the bay area - you can't really get a healthy meal with meat and vegetables.

My family used Blue Apron for a while when we first had kids, and it was great for our lifestyle. We did move on to a service that optimizes grocery shopping so we can buy ingredients for a week's worth of meals in one shopping trip.

Edit: for those who asked, I am using thefresh20 now. It's pretty low-tech (just a weekly pdf). Besides being straightforward to shop for, it tells you how to prep stuff ahead of time. For example, bake 8 potatoes the first day and use half in a recipe today, half in a few days. Cook some pork chops today and save some for fried rice in a few days. Cook a pot of quinoa today and use it throughout the week.

There are a number of other services out there that allow you to customize things like servings/calories per meal and diet types but I am dubious about how well they could possibly optimize shopping and prep to use up a whole quanta of an ingredient over multiple recipes in the course of a week to be near the manually curated efficiency of fresh 20. If anyone has experience with those please let me know!
Revenge is a dish best served fabulously
If the ratings scale is 1-10 and all of your ratings are 1-5, does that mean you only give reviews to things in your 1-5 range, or does that mean everyone else's 10 is your 5?

From a perspective that is external to your inner monologue, I have no way of knowing. Even if your criticisms are valid, I know too many people who seem to never talk about the positive parts to know whether you're just perpetually unimpressed. Or, more likely, you're the type that never talks about the nice parts. I'm guessing this because of your comment elsewhere in the tree that specifically asks why one should compliment when something is doing what it's supposed to do. (The answer is that people usually look at reviews for confirmation that X is as advertised.)

Or there's actually nothing redeeming about the subject of your review.

So yes, taken in context I would end up throwing your opinion away. In practice, I don't check every reviewer's review history, but maybe that would be a useful signal to see.
Is it a case of chicken vs egg? Is it unaffordable for others because tenants do not move out of their affordable housing? Or is it unaffordable for others because tenants can't afford to move out of their affordable housing?
The price difference between ULA and SpaceX is much larger than that. In 2018 it was $200M (ULA) to $83M (SpaceX).

https://www.engadget.com/2017/06/16/us-air-force-spacex-ula-...
Israel’s Official Map Replaces Military Bases with Fake Farms and Deserts
I feel like grocery stores could easily compete with blue apron for much lower costs. Just ration the food they already have in stock in little packages. Charge a little more than you would otherwise for the employees time picking recipes and combining them into the packages. I would happily use this service at local grocery stores. But compared to grocery stores and cooking from scratch blue apron is too expensive for me.

edit: Blue apron is currently $7.50 - $9.99 per serving. I cook delicious food for myself regularly for less than $4 per serving if I make enough to have leftovers for a day or two. It really seems to me that grocery stores could eat blue apron alive with their lowered costs to provide this same service.
Mitogen comes to Opsmop
How much is the rent/size vs a market rate?
I’m a person
A relevant question is, if you asked that to your spouse, would you be angry if they came home with a jar of peanut butter?
It's dangerous to set up one's own content distribution platform. The moment the media industry will perceive one as a competition or copyright trolls as a profitable target, one'll be torn into pieces.
If I remember correctly his new 'Religion' is merely a tax shelter for the big payout he got from Uber purchasing Otto
I'm skeptical this applies to someone coming onto your property (let alone coming with malicious intent). Do trespassers have a reasonable expectation of privacy?
I'm pretty sure you could do this in a standard LALR(1) grammar and give [peanut butter] precedence over [peanut] [butter].
Function abstraction is not only about reuse, it's about separating the high level details from the low level details. Separating the flow of logic, from the details of each step, is always valuable and should be done right from the start; replacing an inline implementation with a function name with args is abstraction even when it's not ever reused and it greatly improves the code.

Big methods that do many things inline with commented sections explaining what the section does, is bad programming. It allows variable reuse and hidden weird dependencies between what should be independent chunks of code in independent functions. It also forces the programmer reading it to always work at the lowest level of implementation rather than a higher level of abstraction where he can see the flow without needing to see all the details of each step. If you can point to a section of code, and put a comment on it saying it does X, then it belongs in a function named X and the comment needs deleted. Comments that explain what code does are a code smell. Comments are for explaining why, not what.

There shouldn't be any big functions to begin with except in a few rare cases like switching on a character or something.
A large portion of the market is paying way below market rates. In some cases it’s ridiculously affordable. Supply constrictions inflate the affordability of everything else.
Blue Apron, Hello Fresh, Plated, and all the other food prep deliver services are a hack. A disgusting, wasteful hack.

Calling someone using Blue Apron a cook is like calling someone doing a "paint by numbers" a painter. I'm not trying to be a cooking snob but I get really sick of people praising BA/Plated/etc as some amazing concept or a huge time saver. It's neither, it's for people who want food delivery (as in UberEats, Grubhub, etc) with extra steps.
- Doctors with Borders (https://www.charitynavigator.org/index.cfm?bay=search.summar...)

- Wikimedia Foundation (https://www.charitynavigator.org/index.cfm?bay=search.summar...)

- Houston Food Bank (https://www.charitynavigator.org/index.cfm?bay=search.summar...)

- American Civil Liberties Union Foundation (https://www.charitynavigator.org/index.cfm?bay=search.summar...)

- Ovarian Cancer Research Fund Alliance (https://www.charitynavigator.org/index.cfm?bay=search.summar...)

- A small dog rescue in Houston

- A small charity for women who are victims of sex trafficking in Austin

I also supported a number of projects (like Homebrew) via Patreon and Humble Bundle though those were not charitable contributions.
You shop around for health insurance (which is another annoying nightmare altogether, and most people's only option for that is the provider chosen by their employer). If you were in an accident and taken by emergency services to the nearest hospital, you pay whatever they say and you didn't have any control as a "consumer."

It's a mistake, and frankly barbaric, to think of healthcare as a "market." It should be a public service to all in the pursuit of a just society.
Doing a reverse split just to meet the share price requirements is generally viewed as a sign the company is spiraling out of control (i.e. investors will continue selling to cut their losses).

I don't have the numbers offhand, but I would wager a large sum that companies in trouble doing reverse splits just to meet listing requirements almost always continue tumbling downwards. For a recent example, see Helios and Matheson (MoviePass).

Companies that have successfully navigated reverse splits while publicly-listed (it's very common with pre-IPO companies for sure) are generally much larger and more well-known than Blue Apron (e.g. AIG), or in inherently risky businesses (e.g. Biotech companies).
Haha, Revealed Preferences show that people don’t abhor them as much as they say. They choose to live there for all the lovely things they provide and enforce.
Would love to get notified. My email address is public.
I think this is a mischaracterization of Nate's own words. He certainly stakes his own reputation on the accuracy of his forecast. They spend a lot of time looking back and seeing how accurate the model was for the election as a whole.

There are two kinds of things Nate is saying here, and they are related but distinct:

1. Educating readers/listeners about how 20% chances happen all the time
2. Internal analysis and external reporting of how often his 20% predictions were right. If 538 predicts a group of 100 congressmen to all have a 20% chance of being elected and then 21 do get elected, the model did well and Nate's work is worth money to ABC and his reputation is improved (or maintained). If instead 33 of those congressmen get elected, the opposite result happens.
I read a little of what you link. I have a concern: you are ignoring the current state of the market and hoping your new standard will be adopted. I have an eInk reader that is about 10 years old. It is serviceable. I put most of my eBooks on that for reading.

I won't consider a service that doesn't have the epub format. The first thing I do (before buying an eBook anywhere) is check to see if I can get it on my e-reader. I already have to jump through hoops to get my Amazon purchases onto it.

I won't use your service because it doesn't have what I need. And there are many people like me.
Some part of me is prepared to pay that price.
> I would rather see a high-end TV dinner service.

This is interesting. If I understand your point, I think Kettlebell Kitchen[0] qualifies. I have friends that use that and love it.

But I'm sure there must be others out there. Does anyone else use a service like this? I've been thinking about using something like it for myself.

[0] https://www.kettlebellkitchen.com/
This is not a question for system design interview. I am talking about systems. The interview-based on Linux/Unix Systems internals.
In many cases the police and sheriffs themselves are not hiring because they are faced with choice of keeping high pension payouts or hiring more people