skysight-inc/HackerNews huggingface dataset:
Often you don't have to rely on ON DELETE CASCADE relationships. Because you are never deleting anything, you will never have any orphaned records. If you don't want to see say Invoices for a deleted Customer then that's just another filter feature.

Mostly I use soft-delete because for auditing requirements we pretty much can't remove anything but also because nothing ever truly goes away. If we have an Invoice or Order then, from our perspective, we must have those forever even if the corresponding client is deleted and can never place another one.
My wife and I are each others' best friends. We both have other friends, but we rarely have time to see them. We're also not too interested in meeting new people, because we feel we could be doing a far better job maintaining friendships we already have.

Compounding this is that many of our friends are at different life stages. We both know many "older" singles - people our age (late 30s/early 40s) and they find it awkward to hang out with us, at least too frequently. Likewise we know many couples with kids, and hanging out with them is mutually awkward (we are childless).

One of my best friends from childhood is single, and one of hers is also single. We'd love for them to get together but so far we're not seeing the signs.
Ego can be such a hindrance for all kinds of interactions, professional or otherwise
> (some) reasons behind the longevity of many of those centenarians have been identified: low mTOR activity and high omega 3 intake.

I wonder how true this is, given that carbs trigger mTOR harder and longer than protein, and the Mediterranean diet seems pretty high-carb.

In any case, if you're worried about mTOR, intermittent fasting is probably the simplest life-style change you can make.
> When I worked at Heroku, we used soft deletion. When I worked at Stripe, we used soft deletion. At my job right now, we use soft deletion.

> As far as I’m aware, never once, in ten plus years, did anyone at any of these places ever actually use soft deletion to undelete something.

That's wild. So it seems the idea of needing undelete is largely an unfounded fear.
The amount would have to be close to the difference between the price he would pay and the current value of the company, at which point Musk might as well go through with it, if he really thinks he can run it better.
> Our average user uses the hardware for 18 months

Why do they stop using it?
I only went to Disneyland once in my life. My uncle took me, and this was probably in the early 70's. You bought a book of tickets for the rides, and of course the best was the "E ticket." I was probably around 7 or 8 and once we got in the park I was amazed. Then I somehow lost my book of tickets. My uncle was not happy...
Are you referring to Microsoft's business model?
Discussion appears to be unfolding here: https://news.ycombinator.com/item?id=32157500
Life in the Silicon Prairie: Tech's Great Migration to the Midwest
Yes, looks very similar: https://cssinspector.com/
I mean, that is a source, but it was pretty well reported before that.

Although I thought they assigned too many water rights because they measured in a period of flooding. John Oliver is the first time I heard that they knew it was a lie at the time.
Malls are just ... dead - there are a few that are kept up and maintained but very, very few new ones being built.
Nice thanks for the follow up!
Because there was a little town in the middle of the desert, and it got popular.
But the gas gun concept was actually realized and used on Gemini flights:
https://en.wikipedia.org/wiki/Hand-held_maneuvering_unit
None that I did not go ahead and read. I read what I had to read, it was a lot, I had a lot of fun, but there's no book I wish I read as a child I didn't actually read. Yeah there's some you don't hear about like...no I did read that one, the Godfather the book, like...plus there's books I read too early, Frankenstein fucked up my mood and like deeply disturbed me for two days. But that was a good memory too, I like the bad moments, good moments meh, good suffering yes, time is made of suffering.

Like watching TV...huge void. Well except hero cartoons, action movies, actually had useful tips now that I'm a Roman Law hero. So May 12, 2012 I was told "you're our hero" by the victims in the spur of the moment after delivering from the criminal, (those are the criteria that must all be met for hero status in the context of Roman Law). He was issuing death threats, later gang mates too, and I realized, "oh I you actually are supposed to wear a mask, the cartoons were right." There's other smart things in there.
Why some of America’s top CEOs take a $1 salary
San Francisco is the filthiest city I have ever been to. I don’t understand the appeal at all. Why not just put in normal trash cans and hire someone to pick up the damn trash.
I was always careful to put my tools in the shade under the car :-)

(Used to live in Glendale.)
And I guess kicad (pcb cad) is getting there.
> Their complaints about borrow checking rules at the interop layer ring hollow to me.

It's actually a big problem. There's a whole lot of Rust library API's that are only provided with an idiomatic "safe" interface, but this actually imposes stronger, more demanding preconditions on those API calls than are warranted by the actual code, which could easily work with e.g. raw (possibly aliased) pointers, or owned-but-pinned (non-movable) data. This creates unneeded pitfalls in Rust-C/C++ interop. The counterargument is that future versions of that library code might benefit from those stronger preconditions, but that's more of a theoretical point, it just doesn't apply in most cases.
What an absolute dream they are living. Apart from top tier programming skill it involves being extremely lucky.
#3 is the big one for me. Solar and wind can't be simultaneously "the cheapest form of energy available" and yet also require grid-scale battery technology that doesn't exist--and even if it did exist, would not be economical--and require massive government subsidies (read: taxes stolen from people to fund boondoggles). Why is it the externalities are always ignored by proponents of wind/solar but then discussing other forms of power are nitpicked to death about said externalities? It's almost like wind/solar fanatics hold religious opinions.
Our spot was the Northlake Tavern; grab a pizza to go and head over.
That time is gone though... Lake Mead was last full in 1983, and has been steadily declining since... it's now at about a quarter of peak capacity.
"The fetus is utterly reliant on the mother to provide a hospitable environment, it seems self-evident
that a body that is not autonomous doesn't have the same right to self-autonomy."

So you're saying that if a life is reliant on something external for its life, then it isn't autonomous and doesn't have the right to self autonomy?

Wouldn't that mean that we don't have to respect the living will of someone on life support? They are entirely reliant on other people to provide a hospitable environment.

The same would hold true for new born babies, who can't feed or shelter themselves. And, for that matter, that would hold for small children. At what point does a child become
self reliant enough that they don't have the right to decide if they want to be alive?

"Just think through the consequences of the argument you are making. You've now established the government as
the absolute arbiter of that fetuses best interests and given the government absolute control of the environment
it relies upon, aka the mother."

You're being somewhat hyperbolic here. But this isn't much different that what the government does now. Government
limits our rights in order to provide everyone with a set of equitable rights. "Life, Liberty, and the Pursuit of Happiness"
is what the goal is. And to do that, you have to limit what some people can and can't do in order for everyone else to
have those rights.

We have already granted the government authority to act on behalf of those who are too young to make decisions on their own.
Children who find themselves abandoned, or in homes that are dangerous, can be removed by the state and placed in a safer
(hopefully) environment. This system doesn't always work, but its acknowledged that its better than doing nothing at all.

"Should the mother be required to eat a government mandated meal to make sure that the fetus is getting the
nutrition required? What if the mother wants to vigorously exercise? Are you going to strap that woman down
to a bed and force feed her veggies to make sure the baby comes to term safely?"

You've pushed the idea to the extreme to prove a point. But what you've shown here is only that an extreme
interpretation of this is a bad idea. The other end of this extreme is equally bad. When a mother has total
autonomy to decide the fate of her children until they are old enough to live on their own without the support
of their parent, then a mother could kill their child right up until they were what, 5 or 6? maybe 10? Or force
the child to live under extreme physical or sexual abuse?

A better answer here is somewhere in the middle. At some point after conception a child becomes a person. When that happens,
the child should have all the same rights as any other person. They should have the right to "Life, Liberty, and the Pursuit of Happiness"
the same as any other. And those who chose to bring that life into the world must accept the responsibility
to care for that life until it no longer needs that care. To do otherwise is to invite cruelty and societal
degradation.
The comment section on the chrome store page pretty much reveals that you can purchase licence codes that work only once and the developer isnt responding at all.
I have no context on this kind of thing, but we have oil pipelines, is there a reason we can't use water pipelines from areas with drastically more rainfall and just transport said water to scarcer areas?
The author claims pruning soft-deleted entries requires a complex query, but hard-deleting an entry would have required the same complexity. So it's really not an argument.
Democrats were all for it. California has had a similar rule since 2004. Biden has been pushing hospitals to implement it:

https://www.washingtonpost.com/politics/2021/07/12/health-20...
It was made public at CppNorth, a C++ conference, earlier today. The page you mention is a bit out of date though, you can find the update to our plans here:
https://github.com/carbon-language/carbon-lang/commit/4aa462...
We Could Use a Reinvigorated Skeptic Movement
> then my program is now running with 10 GC's each trying to optimize itself

Is this true with Java? I thought it's a single runtime that manages memory in all the code/libraries in your process.
> Lots of folks in the comments acting like lawful actions, by their very nature of being lawful, are correct action

Ofc just wait for the case which involves some law they hate and watch the song change.

I will agree with the thought, though, that picking a fight you can't win is probably dumb. I doubt the IA would become a martyr.
There is a lot of Rust in the Carbon syntax.

`fn`, `name: Type`, `i32`, `->` for return type. `impl` as a keyword. `Self` as a keyword.

Nothing unique to Rust, but it's interesting to see.
They do:

https://www.irs.gov/compliance/whistleblower-office
> Torture and kill? Huh? I'm not even sure what you're talking about. Do you mean in a war zone?

Extraordinary rendition, "targeted killings", enhanced interrogation. The US often kills non US citizens on foreign soil without any due diligence.

> What I will say is that given the choice between living in China and being subject to Chinese spying and living in the US subject to US spying I'll pick the US hands down every time.

That's a nonsensical fallacy of choice. No one here is talking about emigration to China. We are talking about banning TikTok. The choice is between being spied on by foreign companies or by domestic companies. The correct answer is of course neither, and trying to say that being spied on by the US government is better than the Chinese government is nonsensical - if you aren't American or Chinese they are basically the same, and if you are American your own government is the only one that can opress you.

> And the US has no equivalent to Hong Kong's "security" laws.

Of course it does, it has the same standards whenever the US wants to occupy some country.
You can email hn@ycombinator.com to ask that it be unflagged.
> it's possible to do Qt without moc even in C++ with https://github.com/woboq/verdigris/, why wouldn't it be possible from D ?

You're talking about an entirely different thing. While OP was referring to the current state of D's ecosystem and the impact that missing key frameworks have on hindering adoption, you're arguing about the theoretical possibility of writing a framework with a language, which really does not address OP's point.
The Indian government has been obviously undercounting the death toll by nearly an order of magnitude since the Delta wave https://www.science.org/doi/10.1126/science.abm5154
Tell that to the Twitter employees who have to put up with this bullshit.
I've never seen any real-world example where the large code model is being used on x64. Perhaps it's because I've seen programs where that's necessary. Perhaps the mythical 1.5GB Facebook binary (in 2012) that requires BitTorrent would use a non-small code model?
dbt is great, but I'm not sure it's appropriate to manage objects in a production transactional database. It's designed for analytical, columnar databases.
That's what I meant by "blaming management", e.g. claiming you were just following orders from above.
do you think everyone commenting on this post read all 10,000 words
Minor nitpick: the author uses "Linux" as a keyword and uses gcc for examples but refers to the architecture as x64, which is a very Microsoft thing and a bit of a misnomer.
Interesting philosophy, I like it. It seems to reconcile self-determinism with fate. Do you believe that life ends when you successfully untangle this web?
As a French, I remember that absolutely every adult around me used to ridicule the minitel for its ugliness, slowness and overall lack of diverse use cases. At best, it was a slow Yellow Pages. At worst, sex services ("minitel rose", it was called).

Back in 202x, I see many times a year articles shared about the minitel, including here in HN, praising its ahead-of-time platform, glorified as a pre-internet era.

It is funny, in a fascinating way, how it is retrospectively revered.
We already do this. Consider Las Vegas... its water comes from the Colorado River. (Edit: to be clear, the Colorado River itself is transporting water from areas with high rainfall to areas with low rainfall. The Las Vegas area is a desert, but most of the Colorado River basin is not.)

It's just not generally done over long distances. Oil is pumped over long distances, but it's also much more valuable. For water, we rely more on cheaper ways of transporting it, and transporting it over shorter distances, using things like aqueducts and, yes, pipelines.

Here's an example of a big water pipeline project:

https://en.wikipedia.org/wiki/Northern_Cyprus_Water_Supply_P...
I attended a top notch school for EE, where I specialized in optics and photonics. After witnessing one of our top lab graduates bag a 100k photonics job, I realized I had to switch, so I transferred into ML where the math was significantly easier but the pay was far better.

Now all I do is tune hyper parameters, but man I miss all the wild mind-blowing physics that photonics had to offer.
Yeah his participation in local politics was very polarizing, to be polite.
Pros: Decent weather, melting pot, nature, food/entertainment, sub cultures, job opportunities

Cons: Unhappy populous, rampant rule-breaking and crime, crumbling infrastructure
Take a look at heating if you want to see staggering energy consumption numbers. In a majority of places, people don't use heat pumps with a COP of say 4-5, but convert chemical energy with a cop of 0.5-0.9.
> treating countries as though they are enemies can become a self-fulfilling prophecy. It can increase the threat rather than decrease it.

That's what I was referring to. Not appeasement exactly but seems like similar logic.
> Next I'm going to look into getting a 3D printer, and learn how to design stuff for that.

I'm in the high power rocketry hobby and a 3d printer was a game changer for me. I have a prusa i3 mk3s+ and can't recommend it enough. For software i originally started with onshape but then went to Fusion360 because that's what everyone else in the hobby uses. Learning curve is steep but there's tons and tons of good material to help you learn. My workflow is Fusion360 then PrusaSlicer then save to sdcard then print. You can really optimize further but i don't sell 3d printed parts so it's good for me.

On the other hand, i do have a big arse laser and i stood up a little website and sell a simple cutting service to my buddies in the rocketry hobby. I like my website, i have no database! I actually use some metadata features of the stripe api for my order database hah.

https://oakclifflaser.com
Seems like there's probably some number in the middle that should satisfy both sides, since Musk really seems like he doesn't want to own Twitter now, apparently. I guess we'll see. Anyway though, I personally don't see it as being that hard to defend pretty much any probable outcome, as the Twitter board.
> For examle, take a react web developer - that only knows React, who think that the React way is the only way, read some blogs written by a junior programmer - and take it as a truth.

At least they read blog posts and spend some time learning. They might be better material that senior that did 10 years of same Java Spring.

> Fire them all, and hire 2 real senior devs at 250k$/y each. And Rewrite the whole stack. It will be faster on the long term.

It is not easy to find two good senior developers.

> For examle, take a react web developer - that only knows React, who think that the React way is the only way, read some blogs written by a junior programmer - and take it as a truth.

If they know react that, great. Well done, ts react codebase can absorb take a lot of shitty code.

> You can't fix people who cannot learn because of their belief that they already know everything. They will take anything personally that goes in the way of their ego.

You can do a lot. You can mentor junior people, you can setup CI/CD with a lot of automatic checks, you can hire QA person, you can lead by example.

In my current role, I introduced typescript, jest unit testing, helped with cypress e2e, refactored a lot of code and did a lot of work on CI/CD. With a few Senior devs, we can still onboard new devs and push new features.
It would be more ironic if they made a mistake like this in a way that wasn’t quite so ego-reinforcing.
Shouldn't be any more sad then reading old books and letters of great minds past. Death is necessary part of life. Also keeps the living from idling or (arguably) should at least ;-}
The example the author gives is… frankly awful.

I can’t think of a single case where you’d want to remove the invoices of a customer you delete. Ever. In fact, the opposite is more likely to be a big problem, accidentally cascading your delete to your financial records!

Using a soft delete, your invoices won’t “disappear” because your app WILL have a view for looking at just the invoices.

Source: I built a bookkeeping system and soft deletes is a necessary feature.
I wish Datomic was made open-source (with maybe some features available as an 'enterprise' offering) so that we could actually have a decent alternative for this 'soft-delete' problem.
Wind on the north sea? Or northern Baltic? Or Swedish or Norwegian hydro? Or alps based hydro?

We are talking about a continent scale grid.
Using a dedicated VM on Qubes OS.
A lot of adults are stuck in arrested development.
I just realized now if I put meta-programming on my resume the HR drones are going to think I worked for Zuckerberg.
Absolutely, it's why for the most part I try not to read the news.
> The fed is slowly working their way there, but they are doing it super slowly because they worry about shocking the market too hard and stopping all investment.

If they raise the interest rates anywhere close to the rate of inflation a lot of the 3rd world will have a Sri Lanka style crisis.
I've learned never to claim online that a restaurant here in Baltimore "is good."

Has to be "we like [restaurant]" followed by disclaimers about having a toddler and not getting out much. Otherwise someone is guaranteed to scoff.
See my comment above on the subject.
maybe a business opportunity for someone reading this thread
Little macOS Apps That Make a Big Difference in 2022 [Part 4]
Yes, but they’re still averaging the results in the “it worked” category. Hypothetically, if it worked very well for 5 users and only a little for 95 users, an average score over all 100 will make it appear to not work for anyone. I’m not going to argue this is definitely the case - just that this analysis doesn’t account for the possibility, and it wouldn’t be unexpected in the area of reading ability, where one would expect individual differences to be important.
> developers underutilize the capabilities of the massively advanced database engines

So true. There are so many amazing, powerful features in all of the major players.

Also: updatable views are amazing. With query rewriting (whatever you vendor calls it) you can affect some truly material changes to the system without any changes to the client applications. An example would be implementing temporal relations.
At the end of the day, it's a resistive heater connected to a relay. Seems like something a little switch and a wire could fix.
It is not impossible. It just would cost way more than fission, which already costs way more than renewables, and the gap widens daily.

I also do not back orbital, beamed solar power. That, too, could work. But it, also, would cost more.

Things that cost more displace less CO2 emission, per dollar spent. We have a need to maximize displacing CO2 emission.
I don't get what the problem is with cascading deletes. I mean you typically only use them for foreign keys where deletion of the parent object makes the referencing object simply invalid, so there would be no reason to leave the referencing object in the database.

The point that is true is that queries get more complicated as you'll have to add a "WHERE deleted_at IS NULL" to every SELECT (once for each table you refer to), but that can be automated if you use an ORM. A paradigm that I often use is that all objects in the database belong to a role object that determines who can read/write/delete the given object. So before doing anything with an object I always check the role object (e.g. the "user" referencing an "invoice", to stay with the example OP gives), and as part of this I check whether the user object still exists. Alternatively, you could automate most of the required update logic using triggers as well.

But otherwise I agree, soft deletes often don't seem to be a worthwhile tradeoff, not sure if I would use them again when designing a relational schema. They are very useful for auditing and undo though: In a current project, whenever a set of objects gets updated I soft-delete the old versions and create new objects, keeping the UUIDs intact. That allows me to display the entire version history of each object to the user, which can be necessary e.g. for compliance reasons. You can achieve this with an audit log as well but that would require more logic and different queries, whereas querying soft-deleted objects just requires a slight modification of existing queries.
Yep, thorium brings several engineering problems. Uranium breeding brings a lot of them too.

Overall, breeding reactors are currently way too expensive. They are interesting on the long term, once those solvable problems get solved. I do agree they have no place at all in a discussion about current energy crisis or global warming.