skysight-inc/HackerNews huggingface dataset:
I wrote roughjs a couple of years ago and had always thought it would be nice to use it in all the ways people draw hand-drawn shapes. Annotation is one of them. I never got around to implementing it.
Since roughjs does most of the heavy lifting, implementing this was not a lot of time. I did it in a day (~4-6 hours).
Actually it took longer to make the website for the project and writing the readme :/
All that talk of the history of orthodontics and surgery and medical approaches were left out... too cheap, I guess:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5800179/
From my observations left leaning means apply liberal criteria to decisions. Right leaning means adhere to the Constitution and law of the United States of America.
> Twitter is the one preferred platform for Trump to speak to his followers

Funny you mention that, Trump doesn't realize the real power he has to help solve his own problem AND benefit the rest of us, is by lending his voice to a different platform. If, like me, you believe the solution to the stranglehold that the current social cartel has had for the past decade is to build new, competing platforms, and encourage their growth, then it's easy to see how getting Trump to use a different site would be beneficial, regardless of what he's spewing.
Some anecdotal evidence: In my volunteer work with the homeless, and prisoners, dental care is painfully, ridiculously absent. As much as I am opposed to the idea of universal health care, I think we can all 100% get behind universal dental care.
The Hacker News community spends a lot of time discussing the surprising importance of our gut biome -- this article does an amazing job bringing that biome all the way to the start of the line. Unsurprisingly, the biome in our mouths has enormous importance as well.
China should take the radical position that Hawaii is a country separate from the US. Especially now, why is this not getting more attention?

Same logic as yours. But even more relevant as Taiwan (Formosa) was historically part of China, whereas Hawaii was a separate kingdom annexed by force by the US.
So you suggest the government gets to decide, through your proposed regulatory agency.

Looking forward to an army of bureaucrats making sure every tweet is kosher, then? An agency will last longer, with staff that lasts longer, than any single presidency.

Sounds like a nightmare scenario for an "un-PC" asshole like Trump.
Thank you; I find it concerning that so much of the response to this has been focused on Twitter's behavior, and so little on the President's. I would hope that even people who think Twitter's fact-check links amount to censorship would agree that Trump would be wrong to censor Twitter in retaliation.

Although, I will say that if you've ever moderated a forum or subreddit, you probably know that when you ban a user for stepping over the line one too many times, "I'm gonna shut this place down!" is a pretty common first response. Hopefully cooler heads will prevail and we won't have to find out what happens when the President and the first amendment come to blows.
You can use querySelectors in React, it's just normal JavaScript. You can also use refs if you don't want to use querySelector.
Pretty sure comcast is legally allowed to block CNBC or Fox.

Cable channels regularly get dropped from lineups due to disputes over fees. Here’s a recent example of NBC in threat of being dropped. https://www.pressherald.com/2019/10/02/spectrum-may-drop-nbc... Edit: that link has a paywall, but here’s another discussing cable channels being dropped https://www.post-gazette.com/ae/tv-radio/2016/02/14/TV-Q-A-D...

There’s no general right to force cable providers to have your cable channel.
I'm a big fan of functional programming but this documentation is kind of funny, unintentionally. I realize there is no better way to do it in Python.

And that’s how your initial refactored code will look like:

user: Optional[User]

can_buy_stuff: Maybe[bool] = Maybe.from_value(user).map( # type hint is not required
lambda real_user: real_user.get_balance(),
).map(
lambda balance: balance.credit_amount(),
).map(
lambda balance_credit: balance_credit > 0,
)

Much better, isn’t it?
Not to mention sugar. Societies that are not as heavily ....invested as western diets are in sugar seem to have much better teeth.
I can also see it going the other way, over editorializing could easily lead to more competition in the space.
Again up for people to decide. Let people post facts and their sources in replies rather than have Twitter do it.
This is a very biased interpretation. Your salary may not be adjusted if you work in a similar CoL area. Only if you move from HCoL to LCoL (and vice-versa!)

Too many people assume remote work always means working somewhere far away from a major urban city.
How can these changes improve social media? Is there a silver lining here?
Outliners are definitely missing, such as https://github.com/rochus-keller/crossline/. You can structure your thoughts while you type, even while you're talking to other people. And you can make cross-references and make appear thoughts (or action items and such) in other places using translucent active links. Or copy/paste structured text from the web or aggregate links with notes, etc.
> 21000 deaths is not "near zero"

I'm not sure what your contrived narrative is, but actually it is near zero, far less than several other causes of death. (The annual mortality rate is over 1,000 per 100,000, so 19 per 100,000 is a round-off error.)

"He noted that between January and April in 2018, more than 234,000 people in the United States died of heart disease and nearly 199,000 died of cancer.
So far during the coronavirus pandemic, there have been about 16,700 Covid-19 deaths in the United States, according to the latest data from Johns Hopkins University."

https://www.cnn.com/2020/04/10/health/coronavirus-not-leadin...

Even auto deaths are higher at 37,461 in 2016:

"For 2016 specifically, National Highway Traffic Safety Administration (NHTSA) data shows 37,461 people were killed in 34,436 motor vehicle crashes, an average of 102 per day."

https://en.wikipedia.org/wiki/Motor_vehicle_fatality_rate_in...

There is nothing the US can do to get to zero deaths from corona, so a more pragmatic public health policy is needed than "lock 300 million people down for years."
Yeah, this is a trivial example. I picked it specifically to show that multi-line lambdas don't have to be stateful, not as an example of a lambda that couldn't be written in one line.
Philip of Macedon paved the way for Alexander's greatness
The argument is that without regular in person contact people will forget you exist as a human, this wasn't a more nuanced argument that physical proximity is one factor of many.

> if you're not physically present near them, they will forget that you really exist as a human and a social peer.
Reading this made me stand back up from bed and go floss.
Definitely. Please add an issue with what you'd like to see. Thanks.
Because we value individual freedom in this country including free speech.
Thankfully, both pihole[1] and uBlock Origin on Firefox [2] now block CNAMEs.

[1] https://pi-hole.net/2020/01/19/announcing-a-beta-test-of-pi-...

[2] https://www.bleepingcomputer.com/news/security/ublock-origin...
> let the people decide what is wrong and what is right, what is true and what is false, what is fact is and what is fiction.

No freedom is lost here, people can (and will) decide that the factcheckers are wrong and dumb.
First: editorializing is not prohibited. Second, moderation has always been allowed. In fact, the main thrust of 230 is to allow moderation activities taken in good faith.

Also if a mass of bipartisan support existed, I expect it would have been rolled into the last changes that modified these liability protections on the topic of sex trafficking content.

No, the truth is that this particular controversy began when the double standard arose on various social media platforms when the current administration's use of social media violated ToS yet was allowed to remain. This in turn prompted greater awareness of all such content and the extent to which it had been allowed or overlooked, resulting in efforts by social media platforms to simply enforce their own ToS.

If there is a problem with the current Twitter actions taken, it's that they continue to try & thread the needle between two opposing goals: Adhering to their own ToS and preserving their platform as something other than a cesspool, and not adhering to their ToS in a way that makes powerful interest groups angry.
I think that's very fair, and to be clear: I'm not necessarily even suggesting this is a bad thing, just that I was surprised by it, and that it seems to run counter to what people publicly espouse. For certain, some businesses are more efficient than others as well.
Rust does warn about threading race conditions. Kinda magic but it does. It prevents them.
I have a dream of one day being able to just replace _all_ of my teeth at once with one solid porcelain+titanium prosthetic without any interstitial cracks or crevices.

No more painful cavities. No more cracked teeth. No more need for floss or toothpicks, because there aren't any gaps for food to get stuck in. And it could be trivially sculpted to still have the same outward appearance of bullshit normal teeth.
The president has no authority over this subject matter except that given him by congress.

This executive order is a directive to the FTC and FCC, which are both bodies created by congressional law.

As a result, neither has power to violate the first amendment since by virtue of being created by congress, they are subject to the literal reading of “Congress shall make no law”.

For what it’s worth - the 14th amendment passed after the civil war has been read to extend the protections of the bill of rights beyond their literal sense anyway.
This action concerns, among other things, U.S. Code § 230.

> Section 230 of the Communications Decency Act (CDA) of 1996 (a common name for Title V of the Telecommunications Act of 1996) is a landmark piece of Internet legislation in the United States, codified at 47 U.S.C. § 230. Section 230(c)(1) provides immunity from liability for providers and users of an "interactive computer service" who publish information provided by third-party users ...

https://en.wikipedia.org/wiki/Section_230_of_the_Communicati...

Through his action, the president appears to be directing the executive branch to use a more narrow interpretation of Section 230 than has been used previously:

> ... Section 230 was not intended to allow a handful of companies to grow into titans controlling vital avenues for our national discourse under the guise of promoting open forums for debate, and then to provide those behemoths blanket immunity when they use their power to censor content and silence viewpoints that they dislike. When an interactive computer service provider removes or restricts access to content and its actions do not meet the criteria of subparagraph (c)(2)(A), it is engaged in editorial conduct. It is the policy of the United States that such a provider should properly lose the limited liability shield of subparagraph (c)(2)(A) and be exposed to liability like any traditional editor and publisher that is not an online provider.

https://www.whitehouse.gov/presidential-actions/executive-or...

(c)(2)(A) reads:

> (c) Protection for “Good Samaritan” blocking and screening of offensive material

> (2) Civil liabilityNo provider or user of an interactive computer service shall be held liable on account of—

> (A) any action voluntarily taken in good faith to restrict access to or availability of material that the provider or user considers to be obscene, lewd, lascivious, filthy, excessively violent, harassing, or otherwise objectionable, whether or not such material is constitutionally protected; or

https://www.law.cornell.edu/uscode/text/47/230

To summarize, the president is directing his administration to disregard "Good Samaritan" protections for services that don't strictly meet the exception given in (c)(2)(A).

The phrases "good faith" and "otherwise objectionable" seem broad enough to allow just about any form of censorship a company might want to engage in, while continuing to enjoy Good Samaritan protection.

If so, what exactly does the administration gain here?
Mostly [source needed] people use(d) https://github.com/JakeWharton/ThreeTenABP used for this.
This attack on Sec 230 is radical and may well have far reaching consequences, but it is in no way totalitarian. It is trying to classify Twitter (& others) as a publisher. The US does not treat publishers in an unreasonable manner.
Can you please explain how you're opposed to universal health care but 100% behind universal dental care? These seem at odds.
Leaving it up to the users makes it so a single group can dominate discourse, either through preying on ignorance or bots or paid users. Fact checking isn't perfect, but neither is anarchy.
Since going keto, my dental health has improved a lot. I've never received such praise from my dentists! Giving the bad bacteria no carbs to feed on has done wonders.
I think Bob is a very insightful person and has great intuition and probably more experience than any of us.

Why on earth would you think that?

Saying that his posts are harmful is a bit of a stretch.

Mentor your first few people who keep defending rookie mistakes with "But Uncle Bob said..." and you might change your mind about that.

Bob Martin says some sensible things, but he also says some things that are at best debatable and at worst outright contradicted by the evidence base, and he says all of them with great conviction and presumed authority so that his target audience can't tell the difference. That alone makes him dangerous as a source of advice.
Would it bloat Chrome significantly if Google included their web fonts in the browser? And, you know... the other browsers can actually download them? I know it doesn't seem like fair play, but... I'm surprised they haven't done it yet.
Trump Signs Executive Order to Weaken Social Media Companies
Another example of blatant political use of the justice system. If a company becomes a problem to the Trump regime, they will use the full array of existing laws to prosecute them, at the same time when they are dismantling legislation that targets their allies.
As a counter question, what companies track productivity well enough to really know the answer to this and how do they do it? I feel like most responses will be anecdotes.
Interesting that every so often there will be a news report about the ineffectiveness of flossing.
i.e. from 2016: https://www.nytimes.com/2016/08/03/health/flossing-teeth-cav...
And the next paragraph from that EFF article;

> The courts have not clarified the line between acceptable editing and the point at which you become the "information content provider." To the extent that your edits or comment change the meaning of the information, and the new meaning is defamatory, you may lose the protection of Section 230.

I'm not qualified to say what the limit is, I'm merely hoping to provide some background on how 230 came about and that it does have some form of limits.

What's particularly unclear to me is that if you have a site under active moderation which could even include editorializing some small percentage of the posts that are made, how does that impact the potential liability from posts which you don't editorialize.
You read it correctly. It's natural to not want some device between you and the human being you're working with for a good chunk of your week.
The sad truth is: anything that goes against the MSM's agenda is generally better covered on 4chan/alternate cesspool.
just say good morning?
A private company being able to ban/shadowban people is part of their own free speech. Not to mention free speech doesn't extend into the private sector.
Not to put words in the parent comment's mouth, but I would guess he mans "these people" = leaders of the Republic party, primarily Trump and McConnell. Many other Republican leaders and I assume most conservative voters still have morals, right and wrong, etc, but it's those two at the top and a handful of others in power that have made the Republic party's actions amoral and power-centric.
So...Jaws.[1]

[1.]https://en.wikipedia.org/wiki/Jaws_(James_Bond)
Not agreeing or disagreeing with you here, but Jack Dorsey claims that they are not being an "arbiter of truth" here: https://twitter.com/jack/status/1265837139360485376
Can you cite exactly how Twitter isn't ensuring that bias + topical expertise are being disregarded in their fact checking routines...? They generally have in-house people + partner companies doing it.

Your entire post just reads like an advertisement for your project, which a number have tried and hit the limits of effectiveness on.
Thanks, but your second line kind of has the answer in it already. It’s more like...

site = ip_network(‘2a00:aaaa:bbbb::/48’)
subnet = f(site, 64, 0xcccc)

...and I don’t think f() is in the standard library. But maybe I just index the calculated subnets, from your example? I’ll give it a go!

Edit: yes! But it’s a bit slow...

https://repl.it/repls/PoshPapayawhipNaturaldocs#main.py
Right to access the internet is much more important for allowing someone to interact with the government through their various websites and to access sources of information that allow people learn and to fully exercise their rights.

As much as Twitter is important, it's not nearly as important.
I wish. The Android emulator is so slow as to be almost unusable. The iOS simulator is fine.
Nobody is acting as a “sole arbiter of truth.”

If you and I meet in a bar, and over some drinks I tell you that I’m the CEO of Uber, and the tavern owner leans in and say, “No he’s not,” how is that being the “sole arbiter of truth?” If I don’t like it, I should meet you somewhere else.

This is also no different than if Daniel Dale interviews me, and I say I founded YCombinator. When he prints the article, he says, “Reg lied.” How is that making Dale the ‘sole arbiter of truth?”

Nobody told Trump to use Twitter. He’s actually better off on Twitter than I would be in either of the scenarios I mentioned, because moments after he tweets, millions of his followers can reply and agree with his statements.

There is no way Twitter’s “fact check” is the sole arbiter of truth, when everyone can read thousands of replies that disagree with what Twitter claims are facts, and when Mr. Trump can say whatever he likes on the news, or when calling into some Fox show, without Twitter ‘fact-bombing’ him.
Sam Altman is clearly great at the one skill that matters (becoming a "made man"). I haven't been impressed by anything else from him.

If you want a YC person worth listening to, I recommend starting with Michael Seibel instead.
I’m no fan of Bob Martin, but the Ron Jeffries fiasco was a failure of TDD, not of OOP. The meandering inability to focus on writing a solution, instead becoming lost in modelling the problem, is a hallmark of the tunnel vision that TDD engenders. He’d have screwed it up in Prolog.
>I'd also bet your MD does most of her doctoring that depends on deep trust and emotional connection in-person; remote just fails at this in comparison

She does, but it probably has less to do with needing an emotional connection than b/c she needs to physically do procedures.

>Are you saying that you still do fine remotely or that remote works better than colocated?

I'm have closer friends at my current workplace than I did at my last physical workplace. However, there are too many variables for me to say whether remote is actually better in that regard.

I doubt it is, but my anecdote was a counterpoint to the argument that humans require physical contact to maintain relationships. Not an argument that physical contact can in some cases be beneficial.
FCC regulations are pretty antiquated. Imagine not being able to curse on social media, for example.
I mostly feel uncomfortable that we've fallen to the point where the president is pretty brazenly trying to undermine a democratic election.
How do you draw that distinction between the quality of heath care and the quality of dental care among those groups?

I can't imagine that the homeless are adequately covered. I think it's painfully, ridiculously absent as well.
Flossing doesn't need to be "effective" to be worthwhile. All you have to do is not floss for a long time and then floss and sniff the floss.
Show HN: An opinionated markdown-to-HTML tutorial publisher
I think they should have just banned him without any reason but that they felt like it and they could.

Instead, this was an attempt to high-road one of the most powerful trolls in history, and high-roading a troll is the absolute most losing strategy around. Basically, however imperfect you are, that's how much ammo you've just given the troll. Twitter is very imperfect, so 1/10, tactless strats imo.

And the whole "fact-check" thing is just such a bad idea in general. Twitter really needs to hire some trolls to pass these ideas passed first.
How many of those people who died from cancer and heart diseased are aged 18-45? These numbers are largely irrelevant if we dont compare them apples-to-apples with the numbers in their proper cohort.

In any case, these tactics, namely cherry-picking, callousness towards human life, and flippant dismissal of the points of others, make it very hard to have a discussion here. It does not seem like the posts are being made to debate but instead pummel into submission.

Finally, there have been over 100,000 Covid-19 deaths in the US. Each one of them a human who could have not died from Covid-19.
Then the solution is to nationalize Twitter and enforce the first amendment there, not this.
That's election fraud, not voter fraud.
Part of it is genetics too - I've been cursed with deeply-pitted chewing surfaces that are prone to cavities. A sibling with the same diet was not, and has never needed a filling.

One of my biggest regrets in life is getting amalgam fillings as a kid. Not that I would have known any better, or been able to protest it (they were the cheap and affordable option, after all). But knowing that a mercury compound is in my mouth 24/7 is not comforting.

I am reassured by studies indicating there are no toxic effects[0], but it's still one of those backburner things that one thinks about every once in a while. This fear alone has done more to motivate me to floss and brush properly than anything else. Luckily, I haven't needed a filling in almost a decade - but if I do, it will not be an amalgam one.

[0]: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3388771/
My point was more about having to use technology at all. A lot of people enjoy interacting in person with those they work with.
I've recently realized how Indians in general have such perfect teeth. Some of my Indian colleagues even say they've never been to a dentist in their life.
It seems like anecdotal evidence supporting how diets are that important to teeth health.
FoxNews.com has comments on their website.

By the logic of the order, Fox News should also lose their immunity and be liable for suit for anything posted by commenters to their online articles.
That claim doesn't even pass a simple common sense test: why would Node.js developers be so much more influenced by Bob Martin (of object oriented and Java fame) than developers in other languages?

And it's not even entirely true. You can see that the top ten depended upon packages [1] in npm are the opposite of "literally do one thing". They are either full blown libraries like React or collections of related functions. I'm not claiming npm does not have a problem with too many one liner functions. But the most popular packages do avoid this practice, which is encouraging, and sets the bar for what you should do if you want to be at the top.

What other motivations could there be for being the author of many very small and popular npm packages when it comes to interviews and internet fame? There are probably a lot more reasonable answers than "influenced by Bob Martin".

[1] https://www.npmjs.com/browse/depended