skysight-inc/HackerNews huggingface dataset:
The US has been cracking down on opioid prescriptions to the point that a lot of people can't get opioids for when they really need them for chronic pain and even after surgeries!

In the meantime, opioid overdoses have continued to climb. Turns out that forcing people into the black market to deal with terrible pain is not a good policy.
The Silver Age of Essays
And here are the two differences I think your expression is hitting on:

Expression: 750/300
Python 2.7: 2
Python 3.9: 2.5
C: 2.000000
SQLite: 2
Node: 2.5
Java: 2
Go: 2

Expression: -123%10
Python 2.7: 7
Python 3.9: 7
C: -3.000000
SQLite: -3
Node: -3
Java: -3
Go: -3

There might be more. Though, there's a ton of needless obfuscation in your expression.
I would rather like the media companies to report the facts than spend too much time on the emotional part. Same goes for the history books. I've become alergic to different parties trying to hijack my emotional state by telling me who to hate and who to feel sorry for when all I want to read are facts not "opinions", "breaking views" etc
What are some open source libraries that can do this?
Eutrophication has been a known issue for 50 years or more. Why hasn't anything been done to address the problem?
How long will it last before SB starts shutting everything down? Also how much are you paying? Really good deal I guess?
You're using it wrong.

Put it top to bottom instead, and use it for coding :p
There are many types of Magnesium. Such as
Magnesium L Threonate, Magnesium Chloride, etc. Which one specifically do you take?
Oxycodone was pitched as non-addicting. Opioids generally were pitched as non-addicting because they were by prescription, under control of doctors. That protection scheme obviously failed miserably.
First very brave of you to post here and thanks for that. Second thanks for all your hard work in keeping this world sane. However, I would point out that this is a complete invasion of privacy and essentially working around the 4th amendment in both spirit and the law via using Apple as a proxy to spy on us. I realize police just want to do their job and have to push on the limits, but with all due respect I think this is going too far. That's why we push back when something as ridiculous as this happens. I don't want to be policed on my own devices, and the only way police should have a way into that is with a warrant, then you can drop a world of security on me. The pedos will just work around this and this is the first step into allowing police into all our personal devices while the criminals work around it. Anyway, again I mean this in a respectful tone, I just think it goes way too far. Cloud drives are already being scanned and that's with corporate permission on their own devices, so that's tolerable if undesirable but what Apple is doing here is going too far.
In the article: "However, one specific requirement in China’s latest policy shift regarding private education is that teachers based in overseas countries are “strictly banned” from teaching to students in China."

China seems to be cracking down on international Edtech services, and these apps are collateral damage. As the article mentions, Duolingo isn't a human-taught service, so banning it feels a bit weird. But I supposed that the purpose of the ban is to reduce western influence in Chinese Education, so the authorities don't really care.
According to Google Trends there's been a rise in the usage in 2020 (similar to 2005) that's leveled off now. Similar for grifter but a lesser rise especially compared to a bigger one in 2010.

https://trends.google.com/trends/explore?date=all&q=grifter
The wealthy deserve their low interest loans. Then the manna they generate will trickle down... Somehow.
The 2017 edition exists in 2G, 3G and even 4G versions.
It's still non-standard, and is yet another barrier to adoption.
> You actually don’t know that the Linux kernel has less security issues than Apple’s kernel.

You are speaking as if you know the opposite. Any links?
Just amusing that after all these decades this is still not a solved problem. Why can’t the browser just translate the PDF into HTML and display it normally in a “virtual” webpage? Make it pdf:// or whatever.
9,999,999,999,999,978 and 1 – 2 incorrect on iOS Calculator
A few observations (landscape mode only):
* The above results in 9,999,999,999,999,978.
* Add 1 a bunch of times and subtract 2 once to reach the same number.
* Add 1 a bunch of times and subtract 1 a bunch of times and the answer is still displayed in scientific notation, until 2 is subtracted, at which point the above number is displayed.
A massive increase in events? Or a massive increase in the reporting of events?

Wildfires for instance have dominated headlines for the past few years, but over the last 50-100 years, wildfire numbers are down massively in the US and Australia.
The "War on Drugs" did little to solve the social causes of drug addiction and dealing, and mainly focused on expensive law enforcement operations and penalizing impoverished people further. With the opioid epidemic, white-collar drug dealers were free to make huge profits getting people addicted, with little repercussions for decades. The "War" was targeted to a very specific demographic.
No, but I'd definitely be interested to read them, I do recall some mentions of COVID-19 related reduction in smog and other pollution from the beginning of the pandemic.
It is entitlement to expect other cultures/political situations to treat you like the EU - and then be surprised when they don't.
China recently ordered that only non-profit tutoring services will be allowed. i.e. they are banning for-profit tutoring. This appears related to that ruling. One might argue that if foreign companies suffer more from the fallout that that is by design.
Kratom is fundamentally an opioid. It happens to be cheap and relatively safe (consumed by ingesting large quantities of plant matter, rather than injection or insufflation of some extremely potent compound). I think opioids are over-vilified in general, and I'm on the side of legalization, but kratom isn't magic.
The link showing live animals tossed into garbage was absolutely shocking (https://www.instagram.com/p/CJzMqsXlYPb/)

It's reprehensible actions like these - total disrespect for life - that makes action against much vaster things, such as climate change, seem like Pyrrhic victories. People need to fixed just as much as climate and ecosystems.
Or cover half of Florida in 4 inches of water!
Every time i take out the trash, I can't believe that our three-person household generates a whole trash can full of trash every week.
Organizations like Bellingcat are really just sort of less-than-professional press outlets for the intelligence agencies. The information is controlled, the interpretation is biased because of spook affiliation at the highest levels, and they can be more sloppy than official government agencies with the information that is available to inject some narrative into public opinion without it actually being fact. They can wave off any harm they do. Some of these organizations make absolutely wild conclusions based on very limited info like looking up buildings on google earth and assuming they are some type of building, making some crazy conclusion like such and such number of prisoners somewhere.

If you're worried about brutality, you might want to look up what US sanctions on Syria are actually doing to the people there. They can't eat. They have no heat. No gas. We are stealing their oil. Do you think the Syrian people might see us as an authoritarian government? Because they are suffering, we are causing it, there's nothing they can do, and the situation is enforced by violence.
Is it really too cheap or did you just start hanging out with people rich enough to ignore the cost?
Also let's be honest, aircraft carriers are super awesome and fun and good for scaring brown farmers but in a modern war against an equal power they're not especially practical. Couple o' kinetic strikes and your $13 billion new toy is slag on the ocean floor for like, what... cost to get mass to LEO is $2600 per kg so if we want 100 special order deliveries of 1-ton rods from God that's $2.6mil per rod = $260 million to sink a $13 billion aircraft carrier and destroy how many billions of dollars worth of F22s and ammunition?

Like, I love aircraft carriers, they're so cool. But also physics says not so effective. :S
The article specifically states that she's starting an initiative to advocate for legislative changes. I don't think you're giving her enough credit (or didn't get that far in the article).
Looks to have been a recent uptick if you put any store in Google Trends:

https://trends.google.co.uk/trends/explore?date=all&q=grift,...
The whole saga is fascinating, but I do wonder about the level of consternation over this. To oversimplify, it seems Adam Neumann was probably either deluded, dishonest, or a bit of both, and conned some rich people into giving him a bunch of money. Isn't this a bit of a morality play, though? These other rich people (i.e. investors in Softbank, Saudi Arabia, other venture firms, etc.) would have never had a problem in the first place if they weren't chasing outsized gains. If these people were happy to track the market, they would not have been conned in the first place.

As far as I can tell, your average Joe or Josephine not only does not invest in these vehicles, they cannot! Because they are not accredited investors and/or Softbank's Vision Fund is not accepting new capital. So if you're a normal person worrying about getting conned after reading about WeWork, don't! If you're a rich person, consider settling for the market average rather than trusting an individual like Masayoshi Son with your money.

As far Masayoshi Son going to jail, the payoff for Neumann was likely contractually obligated or negotiated to get better leadership into place. Unless some law was broken -- which I doubt, and almost certainly not provably -- criminal charges do not seem to be appropriate. Bankruptcy does not seem to be in the cards either considering he did not have that much exposure to WeWork.
PHP _call (Lesson 3: PHP Magic Methods)
One of the trickier things to manage on a NES (without additional hardware on the cartridge) was maintaining a static information panel on the bottom of the display - for the score and so forth - while the portion of the display devoted to gameplay scrolled freely around both vertically and horizontally.

The trick we used at Zippo (Wizard and Warriors II and 3, Solar Jetman etc.) a trick given to us by Rare, was to change the scroll registers and I think the character look up location at the moment the screen refresh cycle reached the appropriate point on the display. These registers would then need to be reset during the vertical blanking interval. So all in all either 100 or 120 times a second depending on the TV system.

Since we couldn't afford to keep the CPU hanging around doing nothing while we waited for the cathode ray tube gun to hit the right point on the screen the trick was a two parter.

First you would get the sound chip - such as it was - to play an inaudible sample of a determined length which would then trigger a CPU interrupt at more or less the right time, within say two or three scanlines of the position of our static panel. You would then position a spare sprite on top of a visible pixel at precisely the right point on the screen so that when it flipped its hardware collision detection bit this was precisely the right time to switch the scroll registers etc.

These were the kinds of shenanigans that made programming the NES intricate and time consuming, and also in later years I suspect made the job of emulator writers something of a misery.
Baltimore Math Professor Who Sold Grades for Cash Gets One Year in Jail
That assumes there is no work out of season. So, no making of bed sheets, no matter king of cloth, candles, fixing tools, no animal care out of season and no work related to small children. No storage maintenance, no baking/cooking.
Reminded me of Menuet OS.
I keep saying I'll give it a go and always postpone ...
You're probably right, but I don't want to deal with a lawyer on this. It's not worth it.
On France the law requires the fiber provider to share it with other operators.

Over they lay the fiber and provide the end user connector box, there is a 3 months period during which it is not possible to give offers to allow other operators to prepare their offer.

So often you get a bundle of the main three operators, but not always.

In my case (a dense city next to Paris) Orange provided the fiber and the only offer. I had to wait one, and then two years for the other ones show up.
A lot of people think that the power of the state, even in Western democracies, favors the rich and powerful against the little guy, through corruption and regulatory capture. What they don't realise is that, even in the much less than perfect state of our democracies and rule of law, the little guy is much more protected than any anarcho capitalistic system you could possibly create, where the rich and powerful won't even need to corrupt any officials: they will just use their personal police (or army) to enforce their power direcly, a bit like in the far west, or possibly like some kind of cyberpunk neo-medieval future.
As someone who's very comfortable writing Elisp and reading the Emacs documentation, I must disagree. Emacs documentation is comprehensive and it is very clearly written, some of the best I've seen -- but as reference documentation.

It is still somewhat short on examples/practical how-tos. You need to be comfortable with the system and have some idea what you're looking for. A great example is [`display-buffer-alist` actions][0]. Thoroughly described, with appropriate cross-linking, but still kinda [hard to really grok without resort to existing code][1].

[0]:https://www.gnu.org/software/emacs/manual/html_node/elisp/Bu...
[1]:https://www.reddit.com/r/emacs/comments/cpdr6m/any_additiona...
They blame climate change, but it is caused (per article) by nutrient runoff from cities and (much more so) farms.
See this article https://www.vice.com/en/article/7kv739/police-destroy-1069-b...

And it's submission on HN three weeks ago for further discussion on it: https://news.ycombinator.com/item?id=27874794
Again, as in your GGP post, you mention set up time. Have you seen the myriad comments on this page to the effect of "Just use it as-is!", and what do you think of that?
This is a sexy idea. I don’t know if it would work, but it would be fun to work on
Statistically nobody, literally nobody, potato, potato.
It seems that what you're saying it's not really intended for hackers...

...so why did you post your ad on a website called "Hacker News"?
Yeah they are in the middle of a SPAC deal!

People just need to catch up to modern methods of making money.

If: interest rate environment = low

Then: act this way

If: interest rate environment = high

Then: act this other way

There is zero utility in worrying about Neumann’s actual financial success, the cult-like employees who got burned after segregated themselves from how the entire finance sector was making fun of wework pitches. Softbank want to pump and risk limited partners infinite money, so be it.
On a side note, I wonder how interested we'll be in Mars once the novelty wears off.

Will it still be a place where we send our best and brightest? Or a place where we send those who have few other options?

My bet is on the latter.
Thank you so much for your work on rustls by the way, such a great library, and the results of the last audit were very impressive :)
I'm not familiar with that "awesome herb", so I wondered what other sources might have to say.

While the numbers are small (unsurprisingly, if it's not nearly as widely known and used as some other substances), it may not be quite as innocuous as you seem to imply:

> "A 2019 paper analyzing data from the National Poison Data System found that between 2011-2017 there were 11 deaths associated with kratom exposure. Nine of the 11 deaths reported in this study involved kratom plus other drugs and medicines, such as diphenhydramine (an antihistamine), alcohol, caffeine, benzodiazepines, fentanyl, and cocaine. Two deaths were reported following exposure from kratom alone with no other reported substances."

> "In 2017, the FDA identified at least 44 deaths related to kratom, with at least one case investigated as possible use of pure kratom."

(https://www.drugabuse.gov/publications/drugfacts/kratom)

Actually, even the study you linked has some disturbing statements:

> Deaths attributed to the use of Kratom have been reported in Europe and the United States but not in Southeast Asia.

> The increasing trend in Kratom consumption in the West has corresponded with an increase in reports of Kratom-related exposures to Poison Control Centers in the United States, care received at a health care facility due to Kratom consumption, and association with overdose fatalities.

> Kratom was identified as the cause of death by a medical examiner in 91 of the 152 Kratom-positive deaths, but was the only identified substance in just seven of these cases.
Another decade of bombs and depleted uranium is bad for the environment too.

Besides, DoD is already the biggest polluter on the planet. Anything that slows the war machine will be a net positive.
To the extent a different social system provides less material abundance, to the extent it becomes worth lots of people's time to sift through the trash or re-sell a 20-year-old toaster, I'd expect those other systems would have a ton less trash per capita.
the imessage scanning is just to provide on-device warnings and blurring of photos that are suspected of being inappropriate. nothing is transmitted off the phone — parents are only given a notification (and only if their child is under 13, and only then if the child sends or replies to nude photos after being warned by the system)
> Photos that match will be reviewed manually

This isn't a protection of your privacy. It's because US v. Ackerman (2016) the appeals court ruled that when AOL forwarded an email with an attachment whos hash matched the NCMEC database to law enforcement without anyone looking at it, and law enforcement looked at the email without obtaining a warrant was an unlawful search and had AOL looked at it first (which they can do by virtue of your agreement with them) and gone "yep, thats child porn" and reported it, it wouldn't have been an unlawful search.

Instead, if Apple were to report the existence of a match to law enforcement without divulging the image, which (if the matching is precise enough) should be enough to create probable cause to allow law enforcement to obtain a warrant. The only once a warrant was issued would anyone look at the image. That would be more protective.

What they're actually doing just inserts an unaccoutable additional step that reduced your privacy for the specific purpose of undermining your due process by avoiding the need of law enforcement to evade your privacy.
Nope not crazy at all, I do the exact same. I’m not sure what exactly needs to change about the mobile reddit design (I’m not a UI designer), but it’s just obviously worse when compared to using the desktop version, even on mobile.
It’s both hilarious and sad that we don’t talk about nuclear because other countries will think we’re building bombs. I definitely think the space treaty has to go and be replaced by a reasonable treaty that allows militarization of space.

Right now it’s akin to nobody building planes that can Cary more than a single person (and no cargo) because they know it gives the other party an advantage
Articles, thumbnails, comments, votes, awards, users, I'm sure it all adds up considering the dynamic nature of what each user sees. And they do do a lot of caching to make it work:

https://redditblog.com/2017/1/17/caching-at-reddit/
In general that's true. Although remote people in groups that generally didn't have people who were routinely remote pre-pandemic will expect those groups to accommodate them going forward. For example, by having people in meetings calling in from their desks.
This is how the OP put it, and I'm pushing back against this definition.
I don't want to sound accusatory with this at all, so I apologize in advance if that's what it sounds like. I'm merely speaking from experience.

"Remote work lifestyle" is what you make of it. During lockdown, many of us were forced into -a- lifestyle. People adapted how they could to the new circumstances, some developed healthy habits, others less so. Now circumstances changed again, but it does not constitute a break, like lockdown did. Point being, you need to look at what you're allowed to do (and okay with doing!) in the current context, and incorporate that in your life.

If you work with other people, there will likely be others that enjoy physically socializing. Try pushing for a slack/discord/whatever platform you use channel for people to schedule out-of-work meetings. Sell it (if you have to) as teambuilding. This kind of thing has existed in many workplaces I've had knowledge of with (and even without!) remote workers.

As an example, a friend's team had a couple of people who lived alone in town craving social contact; so they started scheduling Friday night dinners/late night talks at each of their houses in turn. The other members of the team have patios, so they can just sit outside, drink some beers, and do the socializing there. Sometimes they go out to restaurants, other times they order in some pizza. It works, and it created a much more positive team environment between everyone.

Now, that might not necessarily be you - and it may actually be that you're one of those people that fully remote work doesn't work for - in which case not a ton can be done, and I'm sure there will be workplaces that will accommodate you. I'd even daresay those will be the majority. But you can give it a try, if you see any benefits at all from remote work.
So if I send you Bitcoin without KYC, I'm breaking the law? And it would be trivial to detect if I ever crossed a major exchange
I always wish for big pedestrian zones like those public squares in Europe. I have noticed closing off streets has become more common but we need to commit and make those full time pedestrian areas. We don't need to park 3 feet away from everything.
This sort of intro-level Python problem is not really appropriate for HN.

And, oddly, the title is "less than ten solutions" but the problem statement asks for "less than 5"

_=[__import__("sys").stdout.write(f"{str(i)+chr(10) if i<5 else ''}") for i in a]

EDIT: and the links to this domain are almost entirely by one-off/green accounts - https://news.ycombinator.com/from?site=practicepython.org .
some concern about carbon and dams. but the argument is pretty complicated.

also, doesn't help when there is a drought, like in the West, and the dams have no water to produce electricity from anymore.
Seems like WeWork will continue to be in trouble for a while. The pandemic has allowed them to renegotiate a lot of their lease agreements, which how's allowed them to eek out profitability in many locations, and they're trying to extricate themselves from their worst deals, but demand for their product is going to continue to look different when the pandemic ends (assuming it ends!). Less desire for shared/common working space. Less worker density. More WFH. They're going to need to invest even more to alter their workspaces to what their customers actually want.
Yes, fiscal policy is important as well. It's also probably true that the federal government has overdone it a bit as we're now seeing supply side driven inflation. These sorts of things are rarely handled perfectly.
Over 6' long if inflated to 100psi

Warning: risk of injury or death!