skysight-inc/HackerNews huggingface dataset:
I have not read the book, but could the author simply mean that the recovery period for sleep deprivation is the same regardless if one try to make it up with more hours of sleeping than is regularly necessary?

Let say an individual is working 20 hours a day for 5 days, and in order for the brain and endocrine system to return to normal it takes 14 days of recovery. A few days of 12+ hours of sleep might not have any beneficial effect because the involved biological systems are too slow to get any benefit from the extra sleep, and the excessive amount of sleep might even cause additional problems which hinder recovery.

Making an educated guess, endocrine system is likely a big culprit here. Some hormones are specifically secreted during sleep, while the recipients of hormones are often triggered based on relative changes in hormone levels. If you have first a period of very low levels, followed by a period of sudden spikes, getting back to normal might take a while.
Exactly, it should be a clear cut age limit, (say 18/21), to participate like gambling.
I'm getting too into the weeds below with these simulations, but I think it maybe speaks to this author's point. I can see you are clearly right analytically. With a positive expectation on each round, the expectation itself clearly trends to infinity.

But I can also clearly see that never actually happens, and I do think I can explain it. The measure of people with any positive expected return at all after a large enough number of trials is so small that they eventually drop out of any actual simulation just because nobody ever gets that lucky, even though theoretically it is possible. You eventually reach a point after a large enough of trials (apparently about 500) where if anybody at all was actually hitting the 400+ heads out of 500 trials requires to still be above water, enough of them would be so fabulously wealthy that they'd draw up the entire average. But the probability of these trials ever happening is so low that we can run simulations for thousands of years and never see it happen, so what we see instead is nothing but common cases. Everyone after 500 trials is overwhelmingly within +/- 50 of 250 heads and 250 tails, and if you're in that range, you're a loser.

It also may be the case that the way these pseudorandom number generators work makes it completely impossible to ever see 400 heads out of 500 trials no matter how many simulations you run since they aren't actually random, but even if they were, practically speaking, I wouldn't be the least bit surprised if an any trial ever run of 500 consecutive fair coin tosses, nobody for as long as humans have existed has ever hit 400+ heads. If you try to analytically compute the probability and store it in a floating point number, it just rounds to 0 because we can't store a probability that low.
in my case, no, because I still need to occasionally keep in touch with those people.

I use Facebook a LOT less nowadays though. Here's what I do:

- removed all of the apps from my mobile devices.
- only check it on VPN, with Firefox, using Facebook Containers.
- log out each time and do not use the "save this browser" feature.
- unlock origin & pihole are active on the VPN too.

I have managed to completely ruin its targeted ads for me. It's been an amusing experiment.

I still use it less because it is a HUGE memory & resource hog and eventually makes my browser window slow to a crawl.
That sounds pretty doomed to me. They're saying that mass destruction is inevitable, and the best path forward is to protect habitat that's got the best chance of future regrowth. Of course, "best chance" is according to imperfect modeling and optimism that people will actually get their shit together on the Paris treaty in the next 30 years.

And if 70-90% loss doesn't sound like "doom" to you, may I have 80% of your assets?
How can it detect termin background color?
I contend that as of the last year or so it looks more possible to have a system that just works with Linux than any time in the last 10-20 years for sure. I am working to mitigate most issues that remain. I think a combination of remapping keys to be more sensible, RDP, and setting up a script to handle my initial setup for a specific distro, Ubuntu Budgie, that I can really resolve 99% of the issues I have with it and not lose any productivity.

I am the author of kinto btw.
https://github.com/rbreaves/kinto
That ability to make an informed decision is itself notably rare though. Most businesses have to rely on trust & abstract consideration, for they don't have people running the show who can visualize & see many of the forces they are working to weigh against each other.

More generally, I feel like tech needs some breakthroughs in the "create more value than you capture" (Tim Orielly 2008) sense, where it is tech itself that is the product, rather than a product built of tech, that is trying to be created. Exposing & opening the tech, making the tech accessible. This is a far off point, not one I'd want to reduce the discussion to, but I think in general we've had a lack of technical leadership that's deflated our general sense of how core, critical, & powerful this general drift is.

I very much agree, that it's all very complicated.
Everything I read tells me that it’s too late. Even if we stop all CO2 production tomorrow there will be severe climate change due to the CO2 already released.

Seems like the best idea is to just enjoy the time we have left.
Record-Setting $49B Asia IPO Boom Is Likely to Taper Off
Thank you for the support. Yes my comment you are responding to is a flat factual statement. Since becoming vegan I have learned that I had built up a lot of cognitive dissonance around animal agriculture and I believe most (but not all) meat eaters in the USA carry that dissonance. It can be upsetting for cognitive dissonance to be activated and I believe that’s why people downvote things like this. I certainly wasn’t rude, short, inflammatory, accusatory or judging.

I will check out those links thank you!
Watching my previously sharp as a tack and vigorous grandfather’s slow and inexorable decline due to Alzheimer’s convinced me that there are fates worse than death. We lost him 2 or 3 years before the date on his death certificate.
And seeing people cling to false hope in their last days of life is equally as depressing.
Take a look at k0s and k0sctl, buy a cheap server and install a single node k8s on it.

https://docs.k0sproject.io/latest/install/
https://docs.k0sproject.io/latest/k0sctl-install/
> How is case different from the elif pattern?

Pattern matching is often conflated with switch-case by people who are unfamiliar, because pattern matching subsumes switch-case, but they're very much not the same thing. Structural pattern matching is much more powerful than checking a series of boolean conditions. It allows you to not only check the structure of a value, but bind parts of that structure to variables. It allows you to express logic that would would otherwise be fairly complex in a straightforward and transparent way.
Show HN: Manage AWS Lamba Layers Right from the IDE
Fun fact! Risc OS is some quasi open source these days - ie you can see the source.

It's in ARM assembler.
Yup. That's why I pretty much deleted all my social media with my real first name, last name etc.

Imagine getting into a facebook argument with someone and that person becomes so emotionally enraged with what you said that they go to your house.
Add one extra command ;-) These can be innocuous if buried in something like unit tests of configs or network behavior, or in a big pr:

logs: `env | base64`

network: `env | gzip | curl`

It should be easy to set most workflows to run sandboxed with almost no capabilities - no secrets access, safelisted network access, safelisted package manager accesses for top 10 langs, etc - so that testing someone's PR isn't scary, and runtime violations make loud noises. The whole 'just disable actions on fork PRs' thing is a great default, but ultimately a figleaf as it's not hard to get someone to run an action.
Assuming we can make and dump dry ice / ice at scale through renewable energy, would it be a feasible / meaningful solution to even try, in order to extend time (not reduce temperature)?

Came across this interesting idea of storing ship emissions as dry ice at the bottom of the ocean.
[1]https://fathom.world/co2-spears-decarbonise-ccs/
Finding silence in the brain
As an interviewer who likes asking about them... I'd say they're surprisingly useful.

- Barring very degenerate inputs, prefix tries are usually faster than `std::set<std::string>`. And for longer strings, prefix tries are definitely faster than `std::unordered_set<std::string>`.

- The same ideas that apply to strings apply to bitvectors too, so we can handle arbitrary binary data the same way. (This gives us things like Patricia trees.)

- They're great for implementing immutable sets. In fact most functional languages use some variant of prefix tries for their set/map data structures.

And some real-world use cases:

- Symbol lookup in mach-O (macOS) binaries use prefix tries

- One of the fastest string sorting algorithms (burstsort) uses prefix tries

- Program analysis / abstract interpretation really benefits from immutable sets of bitvectors with fast union operations

- Pretty sure every typeahead / autocomplete implementation uses some kind of trie

- And for something a bit more esoteric: scrabble/boggle AIs use them too
You’re right, my memory was wrong. It is a clone with the same metrics so layout wouldn’t change if you picked one versus the other. Microsoft paid monotype to port it to TrueType in 1990 which I believe was optimized for the screen. My memory of that is from the Helvetica documentary I watched maybe 10 years ago, so the specifics are hazy.
FYI you can see your likes by going to your own twitter page and changing to the likes tab. No different from viewing other peoples likes.
Hello hackers !

Last year I built this plugin to deploy AWS Lambdas right from your JetBrains IDE.

It is major update to that plugin.

Introducing support for AWS Lambda Layers.

Create new versions of Lambda layers or delete the old ones.

Also(the most tedious task), update multiple Lambda Functions to any layer version.

+ Support for inbuilt AWS profiles. No dependency on AWS CLI installation.

----

I hope this tool finds a place in your IDE for handling the tedious task of AWS Lambda functions + layers deployments.

Let me know what you think!

Got suggestion or feature request?, use this jetbrains@therdnotes.com
Like perhaps the weekly takings of any number of small businesses? It woukd be odd, but i dont see it as strange for people to wind up on planes with that sort of cash. Maybe they are just in a hurry and didnt get to the bank after work and plan to make the weekly deposit after the flight.

And dont forget that, at least for some people, 100k is chunk change. Maybe they are heading to a big poker tournament with other 0.1%ers.
Ask HN: Getting Data from Data Leaks
I have always been wondering about where I can find the data from the data breach (i.e. equifax leak, facebook, etc ...). Some of these dataset look like a great source to train ML models. It seems like people in hn or website like haveibeenpawned have accessed to these data.
Our medical system is fee for service, so the businessmen running hospitals work as hard as they can to push medical staff to go overboard on procedures. Medicare's fee per patient strategy is a major reason why it is the most cost effective in the country.
OT: Failed their hCaptcha probably 10-15 times before I gave up and just closed the tab. Hadn't seen it in the wild yet; I'm glad it's not pervasive (yet).
It's important to understand that there were many extinction events throughout the history of the earth. Just in the world of Foraminifera there were at least seven catastrophic events which wiped out all or most of entire genetic lines. Some do survive, and over millions of years they can repopulate areas, but the resurrection will not happen one one hundredth as quickly as the destruction does, and it very well may not look anything like what exists now.
Is that historical or recent Japanese climate? It's gotten worse lately - Tokyo at 35C 100% humidity is still not Death Valley but it's unpleasant for humans and presumably batteries too.
This is a good demonstration of the Lindy Effect. [0] Essentially, the longer something has been around, the more chance it has of still existing in the future.

This is exactly the same approach I take when I’m trying to learn a new field, especially one in which I have little to no background. I always begin with the texts that have survived the longest and are still recommended to this day.

[0] https://en.wikipedia.org/wiki/Lindy_effect
That's quite simply not true. If we stopped all CO2 production tomorrow, we'd by well under 1.5 degrees of warming by 2100.
My Mom just passed two weeks ago from terminal cancer.

The Monday ~2 weeks before she passed she was at the hospital, I asked her if this was all really what she wanted. She really wanted to change over to hospice and focus on palliative care.

We began advocating for her to switch. She didn't have a ton of energy at the hospital to express/follow up on her wishes without someone there. The hospital seems like they would have erred on continuing treatment until all hope was exhausted. But once we began advocating for this want of her, the gears really shifted. She got all the morphine she wanted, and various other comfort measures. The palliative care team was driving the show. She was eventually able to go home for home hospice, and she had a final weekend of energy before passing Sunday before last.

All to say, having an advocate that help you with your wishes when you're in a weakened state feels like it is pretty huge. I can't imagine what would have happened if me and my siblings weren't able to help her. She _might_ have been able to get what she wanted ultimately, but all the follow up, checking in, caretaking etc you really want to have someone there advocating for you.
So? Python 2.x is just as good for this, and is pretty widely available. Besides, I don't write scripts for every production machine in the world, just a subset that I have access to.
I don't like saying that it's semicolon insertion because it might give people the idea that the semicolons work similarly to Javascript. In Lua, inserting a semicolon is always optional and it's an stylistic matter (like in your example). It even allows putting multiple statements on the same line without a semicolon.

-- Two assignment statements
x = 10 y = 20
Assets are taxed. If your money is 100% illiquid, you’ve done something dumb. You prepare to liquify to settle your taxes yearly — if the taxes are higher, you liquify further; the equation isn’t changing.

That is, the format of your money is irrelevant to whether you can be taxed more for it.
Yeah. OP might be conflating arithmetic mean with geometric mean. This is a common problem that many investors make. I see it all the time.

People mistakenly think that if their investment made 50% and then lost 50% that they broken even, but they're actually down 25% (1.5*0.5=0.75). However, if you invest $100 and make 50%, then invest a second $100 and lose 50%, you do indeed break even.

When OP stated that the bet has a positive EV, it's for a flat $1 bet. Indeed, if you always bet $1 (or any fixed amount), it does have a positive return of $+0.05, and you should take the bet.

It's only when you change it from a $1 bet amount to an "entire bankroll" amount that you're looking at a geometric mean of 0.949 return per bet. That number is simply the geometric mean of the two possible returns, 1.5 and 0.6.

So the actual EV is sqrt(1.5*0.6)-1.00 = $-0.051 per bet (normalized to $1.00).

I don't understand the point this article is trying to make about anything else. The entire effect here is explained either by misstating the problem or by using the wrong type of mean for the EV calculation.

The idea that some lucky people will make money while the rest lose is explained by simple luck. Run the simulation longer and they will all lose out to the law of large numbers.
Scaling may take us to some strange places, but it's worth noting that an Apple M1 chip has >100x the transistors of a 2004-era Pentium 4, and achieves ~500x the FLOPs at a fraction of the power draw.

Yes this isn't single-threaded performance, but I think we should keep in mind that exponential improvement in price/performance over many decades is possible, if never certain.

Sources - https://www.alternatewars.com/BBOW/Computing/Computing_Power... - https://en.wikipedia.org/wiki/Apple_M1
You might consider Platero and I and the rights allow it.
The Rise of Therapy-Speak
Russell Brand Vid – Never Trust the Government – Whistleblower Reveals Why
Too late to add to my previous comment but if you live in the USA I don’t see what pastures in Albania have to do with anything. I work in a farming town and I see the grass fed cows in the pasture. I’m quite aware of the pastoral views and open air. And then the animals disappear. It’s the disappearing part that I am concerned with. The animal is raised as property and killed to serve us. If you consider that they are sentient beings with as much right to live as you and I, it all seems rather horrible. Even if one believes pasture raised meat is ethical, the majority of meat consumption in the USA comes from factory farms, a truly grotesque operation.
Yeah, I’m a maintainer, MacPorts will download a binary if it can. ffmpeg is a weird case thanks to the non-free variants, but even it has some binary installs.

Also, for instance, OpenJDK is a port that is offered and we do not compile that in any way on any system because that way lies madness.

The other reason that macports will build from source is when there isn’t a binary like early on in Big Sur.
This is a valid concern, it's kind of icky to open Firefox and see them pushing some company Pocket's services.

Inspired to research further, I looked and found that Mozilla acquired Pocket in 2017, and it supposedly works on your local-only data for recommendations. Pocket has a subscription plan, and Mozilla as a free software co doesn't have many revenue streams. Them needing to present their product to users doesn't seem that bad viewed in the context of needing a way to support the product. I do think it could be better presented ie explained clearly what pocket is and why they show it to us.
JCPenney Offloads $2.8B in Pension Liabilities
Many languages have similar words for the bird, including Turkish itself, where it is known as 'hindi'.

1. https://www.aa.com.tr/en/culture/thanksgiving-turkey-bird-wi...
I'm sorry about your father.

But... it's easier in hindsight, isn't it? Obviously futile care on someone old is one thing, but if I had a stroke now, ... I have reasonable odds to come out if it almost OK with some minor deficit, so electing not to be treated would be dubious.

And some stroke treatments, like rTPA, do a lot more for odds of disability than they do for mortality. So by declining too much treatment I could be increasing my odds of a bad outcome but surviving.
I think it is aimed at larger sites where a CMS integrating with those other components helps the business run more efficiently.
It's unlikely that you will have an "OPEN NAT" status on more than one console without UPnP at the same time.

Depending on the game you're playing, that may or may not be an issue.

It can stop you connecting to certain players in a peer to peer scenario.
> still haven’t been returned

I’m willing to bet that, at this point, they never will be.
Which means very little in light of my criticism: "think of the children" is a pretense and there is no shortage of people who still fall for it. Complaining about the subterfuge not aligning with your ideals is just goofy.
To add: hospice is one of the few nearly fully subsidized gov't healthcare benefits we have in the US (yay Medicare).

https://www.medicare.gov/coverage/hospice-care
It's talked about in this decent TED talk by BJ Miller - https://www.youtube.com/watch?v=apbSsILLh28 - a guy who lost 3x of his limbs in a youthful misadventure, and went on to be an end-of-life palliative care doctor; he's talking about quality of life rather than lengthening life at all costs.
Pinterest Is Said to Be in Talks to Acquire the Photo App VSCO
> What I primarily look for is domain expertise, a great network they can sell to, and a proven and verifiable track record.

What do you mean by track record?

> they approach me with the general problems

That's a good approach too. Few of the startups I've seen succeed solve the exact problem that caused the founder to start the company.
hi! you don’t work for a ghetto auto lender. they require very little money down and they charge insane interest rates. and don’t care about your credit. that’s why the cars are such a flight risk.
"n" is not a variable in your example. It's still just syntactic sugar for templates, where the n needs to be known statically. Even without the "resizable" bit, you still limit this function to operating on arrays of sizes known statically, which is a severe limitation, making the whole thing impractical.
One thing that stood out in that story is how some people just thought he was depressed. I know someone who had sciatica and I think one of the hard parts is that it's not easy to see. On the outside you may look fine but you may be feeling the most excruciating pain of your life. This makes it hard for people to empathize with which further fuels the mental health decline. If you have back problems, I recommend the book "Back Mechanic". This book really helped the person I know.
Nevertheless, Lauren Focused on Community
Remember, you're not comparing the distribution of present physicians. You're comparing to the cohort of physicians old enough to die a few years ago. You won't know what the cohort of current physicians will do in old age until they get old.
From [2]:

Gunner's Mate Paul H. Carr was in charge of the aft 5 in (127 mm) gun mount, which had fired nearly all of its 325 stored rounds in 35 minutes before a breech explosion caused by the gun's barrel overheating. Carr was found dying at his station, begging for help loading the last round he was holding into the breech.[34] He was awarded a Silver Star, and a guided missile frigate was later named for him. The guided missile frigates Samuel B. Roberts (FFG-58) and Copeland (FFG-25) were named for the ship and its captain.
To add to that: I'm not convinced that exporting even renewably-sourced methane is particularly renewable - methane has fugitive emissions when piped etc that are far worse pound-for-pound than CO2.
Coinbase gets green light from SEC for direct listing on Nasdaq
Interesting that the adopted words from Yidish to Polish are mostly Hebrew based rather than German based. Maybe German words in the Polish language are just considered coming from German rather than from Yidish.
Guide to Advanced Programming in C (2014)
Remarkable. I’m in Sydney, my house sounds similar by description but I have gas hot water and stovetop. My house uses over 5 kWh/day for ambient/idle power alone.
If you want to sidestep the expensive, sketchy funeral home industry

1. Donate your body to science, they'll cremate you for free (https://www.anatomygifts.org/)

and/or

2. Look into natural burial of your remains (http://www.orderofthegooddeath.com/resources/natural-burial)

Preparing for your death now, doesn't somehow influence when you're going to die. But it makes a world of difference to the people that survive after you
Except in Common Lisp, where every base is base 10, but only one base is base 10. .