skysight-inc/HackerNews huggingface dataset:
There are a lot more things to check/do besides "eating healthy, workout and not having apnea".

For example, the times when you eat matter (even if you eat healthy to begin with). The light levels matter - is your bedroom pitch dark? Noise levels matter. Temperatures matter a lot. Things like sleep position could play a role. Pets sleeping with you waking you up at night. And several other things besides.

Or you might have a condition that prevents you from sleeping well, even if it's not apnea. Might be stress. Or something that needs medical treatment, or a vitamin deficiency. You might also need supplements such as melatonin.
> Typical offers a new solution ("asymmetric" fields) to the classic problem of how to safely add or remove fields in record types without breaking compatibility. The concept of asymmetric fields also solves the dual problem of how to preserve compatibility when adding or removing cases in sum types.

This is indeed an elegant solution, although I am not so sure about its novelty. It seems very similar to how Avro achieves forward and backward compatibility. I wonder how the two strategies differ?
Jason Scott has a post about the relationship between his trauma and digital archiving activities:

https://ascii.textfiles.com/archives/5443
I don’t really follow you. This roughly implies everyone is addicted to their jobs…
In my younger years my obsession with programming was complex. It was partly an escape, partly a reveling in the godlike powers bestowed upon me by the machine. I think both aspects were unhealthy, and were effective at keeping me from dealing with the more complex realities of developing and maintaining a balanced lifestyle, especially in my social life. I still enjoy writing code, but I could never imagine a return to this extreme focus unless something was out of place elsewhere.
Yes, I know. The point I'm trying to make is that there is no salient difference between an employer hiring an employee to do the work and a student doing the same. Students typically do not actually steal the work that they pass off as their own, they usually pay for it. But for some reason, when a student does it it's considered underhanded whereas when an employer does it it's considered a normal business transaction.
I just... completely don't understand the appeal of Swift beyond it being Apple's in-house language. I was excited for Foundation to become open-source. Using a language you'll really only find in 1 environment is a negative. I'm going to go feel ashamed for not getting excited about a language now. I should be celebrating "more languages", but Swift is just Apple. No one outside Apple chooses Shift unless they want to build something in Apple's ecosystem.
Most utilities are natural monopolies, running water, sewer, gas, electric, telephone, cable and internet to a premise are expensive, generally thousands to tens of thousands per home passed.

Utilities celebrate when they can service an address for less than a grand in their public filings. For coaxial TV service the cable company is often required to cover the first $4200 in build out costs to a given address here in the USA.

Running parallel infrastructure of the same type is very expensive and damages the cost model of both providers, as they are forever fighting for market share.

Open access to shared infrastructure can work for some types of infrastructure like internet, but water, sewer, gas and electric where real time need needs to always be met with quality supply otherwise the infrastructure is damaged permanently makes it impractical to have multiple operators pushing water, gas, or electrons into a shared grid.

Reseller models like what Texas has developed disintermediate the customer from their actual electric provider. It's just a legal fiction effectively.
Oh, it is astroturfing to be sure. But I was just having fun with the propaganda inherent in the sentence too.
I have an Oura ring and got it because I had a sense my deep sleep was terrible. I would often wake up at night and wake up with a headache in the morning as I often stay up late and often would not get enough sleep. Found that magnesium personally helped me incredibly. I now sleep through the night, feels like my sleep is much deeper, etc., and my Oura stats show likewise.

Still the other most important thing is to just go to bed on time. If I jump on my computer before bed I almost always get stuck and go to bed way too late. Hard habit to change but essential.
> it's an inability to make decisions

I think your polyurethane example mirrors what I see with my mom, and to some degree in myself, and it's something different. It's a fear that you're throwing away something useful. It's not that me or my mom is unable to decide, it's just that we don't want to throw it away because perhaps one day it might be useful (to us or someone else), so we decide to keep it.

I'm trying to improve. I go through my stuff routinely with my SO and I force myself to get rid of things, either give them away or recycle. Do I really need this?

I talked to my mom, she wanted help but she's always talking about "sorting through" stuff. I said I'd only be willing to help if we actually threw away some stuff each time. There's just too much stuff for me to go through again and again. Suddenly it turned into a hard no. She refused my help if we had to throw away something each time. I said fair enough, perhaps not always but most of the times. Still hard no.

Admittedly she has some historically interesting things, and some useful stuff. But also a lot of junk that nobody wants anymore, like that can of polyurethane. And she just can't let go in case it might be useful...
Amusingly, I had already been assuming that the tags were doing this, so I turn off my cell phone before going into the store.
Each BEAM process comes with its own stack / heap space. This uses a minimum of 326 words of memory (https://www.erlang.org/doc/efficiency_guide/processes.html#c...)
There are certainly periods of work and early parenthood that make sleep difficult, but that shouldn't be true for more than a few years.

Unless you're grinding away at a once in a lifetime opportunity, you shouldn't be sacrificing years of your life to poor sleep to work 16 hour days or something. Make sleep a priority and learn how to set boundaries.
Apple only started Clang, llvm already existed - although for a very long time apple was the main contributor (I assume until clang became competitive with gcc no other companies were interested in clang or llvm, and once clang was competitive it meant llvm was able to be a competitive backend as well).
I’ve been programming professionally for over 25 years. I have not written a line of code for “fun” since I graduated from college.
This is great, can't wait unti this is taken to the next level...

(they touch on this at the end of the article)

- An RTS without units or buildings by default.

- The players enter prompts and creates any unit they can imagine.
High quality CBD works well
> Line intersections are forbidden

Not all graphs are planar. Not even all DAGs. Which I assume can throw a wrench into things
When the wealthy classes "move" they often don't give up any of the existing locations, they ADD to the places that they have a base. They don't really move, yet they think everyone else should and have no problem saying it loudly.

When a working class family moves, they have to give up one home for the next. They leave behind friends, family and their support network. If it's for work, they're risking the new role vanishing out from under them at any moment, even before they've started, but certainly before the move has paid for itself.

The wealthy can survive many mistakes and much bad luck. The working class can't survive a single negative event in their financial lives. They're not refusing to move because they want to inconvenience businesses. They're trapped. The wealthy wanted them trapped so they had a workforce that would work for poverty wages, and this is the result. You want workers where you need them, you're going to need to pay them more. Much more.
I don't think everyone has hoarding wired into their psyche. I am the complete opposite, I hate accumulating things and having any clutter. My spouse does like to hold onto things well past their usefulness for emotional reasons, and it's a constant source of conflict because I want to get rid of them.
I guess despite how cool it is to hate Facebook in 2023 there’s a really solid case to be made that it’s a smarter “OAuth” choice than Google, since with Google, if you fell back to resetting your password for another site to get in after a Google account shutdown, the email on the account would be the same Gmail account that you’re locked out of!
> Just pay $5/mo for an email service that won’t ruin your life for no good reason.

Just because you're paying doesn't mean you won't get into these situations.
Also I would quickly return something to say the website is busy, and apply some kind of back pressure - since a process can handle only that much. But I have less experience there to say, though my surprise while working with Java used for web serving was that if the gc took more 1% (or was it 3%) of some time sliced window, then the whole process was killed (that's how the team/company has it set up) - e.g. "better fail fast, than serve slow" - the last one can quickly affect your business if it's relying on sub 100ms (~) response time.
Yes. It can even tell you when you're snoring (instead of your partner).
Because it's not the market rate for water, it's the cumulative market rate for the goods and services purchased by the company needed to get that water to you.

Actually, it's not. That would be the average costs. The marginal cost of a good is essentially the cost to add one more final user, which can be higher or lower that the average costs provider pays to supply all their customers.

The author mentions the marginal cost in particular because by some theories, that's the price that would develop in a competitive market. But it's just a fiction. There's no reason for municipalities to charge either of these prices. There might be a beautiful lake that could be cheaply drained to everyone's water but that may well be undesirable in many other ways.
That's the other half of the equation: the government is not actually doing what is required to replace the teachers, which would be to raise the wages.

So you get paid the minimum required to replace you OR the maximum the employer is willing to pay before saying "we'll just go without this role being filled", whichever is lower.
>Crashing population

Why do so many, such as yourself - apparently - believe that population growth is superior to population shrinkage? Are you pushing an immigration agenda or is there some other reason? And when should a population stop growing? Are overpopulation, the crowding of cities, and environmental destruction that result from population growth less worse problems than problems stemming from population shrinkage? And what are the problems resulting from population shrinkage, according to you?

>Massive child suicide rate

All of East Asia is ignorant of mental health issues, in general. It's not a SK-specific problem.

>Terrible dictator families

The people of SK know this is a problem. Of all modern nations, the SK youth has the strongest negative perception of its country's politicians. Perhaps give it some time and the youth of the nation will do away with this problem.

Even with its problems, SK is one of the best countries in the world. The people are a genetic mix of Ghengis Khan's warriors and the above-triple-digit Yayoi people. They are aggressive, intelligent, and surprisingly welcoming to outsiders.
Do you think it's virtuous for an able adult to demand that other people supply his survival and hapiness?
Or more like the paycheck is an enabler for an unhealthy escape
The point is that the consequences for failure are lower for the attacker than for the defender.

In the case of the attempted assassination of Margaret Thatcher, the bomb failed to kill Thatcher, but the IRA could always try again. Only one bomb needed to succeed, and even if they lost some operatives they could keep going until Thatcher was dead.

The case in information security is even worse, because most attackers are completely out of reach for retaliation. They're extremely difficult to track down, and even when you do it's usually to a country that won't even consider extradition. So they can try again and again, and you have to catch them every time or they'll achieve their goal.
I think you are mistaken.

Mature forests are not carbon-neutral. In the US the forests absorb about 12% of the greenhouse gas emissions [1]. Can this number go to 20%, for example? I think so. A trivial legislative change would be to stop the subsidies for ethanol, and to offer them instead to plant forests on the acreage currently used for its feedstock corn. That would be about 30 million acres. At a reasonable 15 tons of CO2 absorbed per year, that would be 450 megatons CO2 per year, or about 7% of the US emissions, so that would bring us to 19%. But more is possible.

Can we reach a point where the trees absorb 100% of the emissions (without reducing the emissions)? I don't think so. And I think it's wrong to attempt that. But trees can have a very meaningful impact, we should not dismiss them so cavalierly.

[1] https://www.epa.gov/ghgemissions/sources-greenhouse-gas-emis...
I've been looking for something like this for 4 directional sprites with interchangeable equipment.
> I have used wearables to measure, it’s always less than an hour for me

Wearables aren't known for their accuracy (unless it's an EEG headband)

That said, 60 minutes of true deep sleep would actually be normal. Deep sleep isn't something you can, or should, be getting all night. It's a sleep phase that normally occupies about 1/8 to 1/4 of your sleep time.

Given the poor accuracy of wearables, I wouldn't worry about anything. It's more important that you get the appropriate duration of sleep (7-9 hours depending on what you need), avoid alcohol (this one is big), avoid caffeine too late in the afternoon or altogether, and get some physical activity mid-day. Everything else will fall into place.
> Would you sign up for such a system if you can volunteer to participate in it, with now those random killings being restricted to those who've signed up for it, including you?

I mean, we already have. You volunteer to participate in a system where ~40k people die in the US every year by engaging in travel on public roadways. If self-driving reduces that to 10k, that's a win. You're not really making any sense.
> It should never have blocked an account with a valid password when the recovery email was never validated.

Should it not? Accounts get "blocked" because of reasonable suspicion that they're compromised. It's not just something they do to annoy you. The overwhelming majority of these situations are surely just password attempt exhaustion. You or someone else tried a little too hard to log in with a bad password.

So... your solution is to disallow that security layer for people who have typos in their emails and never went through the recovery process? That sounds like it's going to hurt and not help.

I mean, yes. It sucks to lose access to an email account. It sucks immensely more to be hacked. And to some extent those requirements are in conflict. There are tradeoffs to be made.
You realise that institutions like the IMF and World Bank do exactly that? What exactly do you think happens to third world countries that can’t pay back IMF and World Bank loans? They get to walk off scott free? Here’s a hint: neoliberalisation gets introduced into the country and its assets get taken and privatized by western corporations.
Deep sleep generally occurs at the same time each night (that is, it is to some extent anchored by the circadian clock). To get more and better deep sleep, go to bed at the same time every night.

Since deep sleep tends to dominantly occur early in the night (within the first two hours of falling asleep), you’ll basically lose out on it anytime you go to bed abnormally late.

(In the Hindu medicine system there is an adage… “an hour of sleep before midnight is worth two hours, after midnight it is worth one hour, after sunrise it is worth zero hours.” I suspect the circadian anchoring of deep sleep is the prime determinant in this heuristic’s truthfulness.)
> If you are not too tired, drunk or using any substances, and not speeding, your chances of causing a serious traffic accident are miniscule.

You realize that like.. other people exist, right?
So you are saying Quickbooks is trying to be the next SAP?

(for those who don't know/understand, the "joke" in the industry about SAP is that it's a perfect fit for you, so long as you are willing to change all your processes and workflows to fit SAP. And no, it's not really a joke)
Oh, that's weird. I've never heard of anything like that in the US.

In theory, a pretty simple scheme of publicly posted cryptographic hashes would prove to anyone you send the data to (presumably tax authorities? Auditors?) that you haven't altered data. Maybe periodically post a running hash of the list of transactions. Even if that works in theory, I'm guessing it's hell to get it actually certified.
You can do that with async functions too by having the caller use, for example in rust, 'runtime.block_on(async_handle)'

You're talking about doing this:

f1 := func() error { return nil }
ctx_f1 := func(context.Context) error { return nil }
fns := []func() error{f1, func() error { ctx_f1(ctx) }}

Basically, writing an anonymous conversion function.

In, say, rust, the equivalent in this analogy would be:

let f1 = || -> Result<(), ()> { Ok(()) };
let async_f1 = async { || -> Result<(), ()> { Ok(()) } };
let fns = vec![f1, runtime.block_on(async_f1)];

That conversion function, 'runtime.block_on', doesn't really seem that different. The analogy still seems to hold.
You can have a good type system and have fast compile times. In every single language with 'complicated type systems' it always comes down to type inference on polymorphic types which causes these issues, this has been known for over 40 years yet the same issue seems to be rediscovered again and again like it was something new.

I sure hope the author learned the right lesson from the failure that is Swift and Mojo turns out to be better. I do not want a language with a complicated type system and long compile times. I want a 'good enough' type system and fast compile times.
> The respite from programming though lasted maybe about four months after retiring. I started a small project , in part to learn Python, in part to play with e-ink displays. I was back programming (back abusing git) but of course the pressure was off. It both was and wasn’t like the day job I had left behind.

This is one reasons I got disillusioned with FIRE and the concept of early retirement. Programming was my first love. There might be phases where I just get sick of technology, but most of them have proven to be temporary. It's the best, the most versatile medium of my creative energy. I don't plan to stop doing it ever. What I actually dislike is the corporatisation of programming—JIRA Tasks, PRD, Stand-up meetings, Stakeholder meetings.

I don't want early retirement. I want to work in a small team with a good product vision and a strong shipping culture. But it has proven to rare in my professional experience. For me, alternative is to keep taking breaks. Few months, once in a while, to work and experiment on my own ideas. This allows me to keep my creative spirit alive and (possibly) to make money that gives me the freedom to explore them more.
It’s Ross Douthat, so who gives a fuck.
> As it turns out putting out fires at 3 AM can burn out entire team pretty fast.

AWS has a terrible reputation for exactly this.
Most utilities are natural monopolies

Yes, and they should be treated as such - regulated according good policies.

Reseller models like what Texas has developed disintermediate the customer from their actual electric provider. It's just a legal fiction effectively.

Indeed, moreover, the Texas system got "interesting" in a not-good way during the huge blackout a couple years ago when charges jumped to a $1000+/hour for retail customers gambling on the raw market rate systems, (in my memory of the events).

I don't think the legal fiction helps anyone here but well connected scammers (remember Enron?).
OOC, what do you program so much? I usually don't program after work, not because I don't want to, but because I don't have anything to build.
Here you find yourselves at the crossroads.

Everyone needs water to live. The actual price of water, fairly pricing in long term externalities, may be too much for a family of four to afford their 8 or 10 kgals a month. At least for many such families.

But when you price it at the marginal cost to pump out the extra gallon, it becomes economical to do silly stuff like grow water intensive crops in the desert and draw the city's aquifer down.

Hence the conundrum. Price it fair, some people can't afford flush the toilet. Subsidize it at a flat(ish) rate, or even just ignore externalities, some people can afford to destroy the commons. So, conservation pricing.
Fasten Health [1] is an open-source, self-hosted, personal/family electronic medical record aggregator, designed to integrate with 100,000's of insurances/hospitals/clinics.

It's designed to automatically pull your medical records from your EMR -- but users can also enter their conditions, medications and procedures manually. We have plans to allow users to manually enter their lab results [2], however that feature has not been implemented yet.

Fasten is still a work-in-progress, but if you're willing to contribute we have a pretty active discord (linked in the README).

[1]: https://github.com/fastenhealth/fasten-onprem/
[2]: https://github.com/fastenhealth/fasten-onprem/issues/137
Yes, but the are making loans on regular commercial terms. So failure will be bad.
> I’m not sure if that is a good thing. I am back to coding late into the night, and back at it after coffee and an English muffin the following morning (thankfully though I quit the cigarettes decades ago).

*sigh* It's 5AM and I'm out of coffee and cigarettes. At least I found a stupid bug tonight.
Co2 is used as a marker of when the air is too stale inside. Why not just
mass produce real sensors(most <$50 sensors are currently are fake and just guess based on VOC) so we can make those cheap, since it's already something we should probably keep track of?

Maybe they could be integrated into phones.
As someone who mostly writes Go, I enjoy Swift the language. I am guessing that your concerns are centered on Swift the ecosystem? (E.g., it's only used for Apple things, so there are probably not libraries for Thing X.) If so that makes total sense to me. If not, I'd be interested to hear more.
Clinical studies with high doses of CBD don't show any measurable changes in sleep architecture: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5895650/
UK police have had roadside tongue-wipe tests for marijuana use for years.
I also feel like my Spotify playlists have gone cold. Once I had 6 covers in a row.

I’ve recently switched to Qobuz which is more editorial and less algorithmic. Overall very happy with their recs.