skysight-inc/HackerNews huggingface dataset:
> heterogenous arenas are more or less a solved problem in Rust

To expand a bit on what pcwalton said: Rust never had a concept of a type you can't move (we likely can't ever introduce it) and placement was never about "in-place construction" (Rust doesn't even have a concept of "construction", but rather focuses on initialization).

There is `Pin<&mut T>` which prevents e.g. replacing the value behind it with another `T` one, but there the restriction is in the pointer itself (you can think of it as `&pin mut T`), not in the pointee, and it's not that relevant here, it mainly exists to allow library code to correctly interface with the internally self-referential generators (that `async fn`s are built on).

In the scenario you describe you would use shared references (with appropriate lifetime parameterization on relevant data types), not mutable ones (which imply exclusivity), nor raw pointers (which is the only way to get the C++-like problems).
That will limit you to immutable data by default, so if you want to mutate some leaf fields, you wrap them in `Cell` (which prevents invalidation because `&Cell<T>` doesn't allow creating references inside the `T` value) or some kind of atomic/lock if you want concurrent access.

This already solves all the problems you were thinking of, and it doesn't even fundamentally require an arena (what you need an arena for is the dynamic graph structure, assuming you want to use references/pointers and not integer indices).

In essence, the more you rely on safe Rust features, the harder this is to get wrong or end up with a misusable API.

Oh and the Rust compiler itself has used arenas since before 1.0 (IIRC), and with every year we move more data into them, though most are 100% immutable (which helps with compiler correctness, especially incremental recompilation), or even interned (deep deduplication by caching allocation attempts).
We can even get away without dynamically tracking destructors by making most arena-allocated data destructor-less (we mostly just had to replace `Vec<T>` with arena-allocated `&[T]` to make that work).
China doesn't military conscription. You should fact check your statement.
It's just a document, html is the reasonable choice for things like that.
I'd argue that today's challenge is making powerful, complex software that is easy to use or accessible. The software industry, in general, makes customers pay for the developers' laziness in design and implementation. Every modal/alert you have to read, every choice you have to make, was something that could probably have been designed out of the user flow. Technology is complicated because companies/vendors choose for it to be -- generally they will invest just as much energy/money as they have to do ship something that checks off the bullet points and brings enough ROI to please the shareholders.
The difference is that on Android you can get a different store, and the only thing you have to do is turn on dev mode and then download/run the apk.

There seems to be a lot more friction to sideloading a Chrome extension: download, unzip, turn on dev mode, click a button & navigate to the unzipped files...
Why do you have the builder pattern (other than the verbosity of declaring them)?

I normally just leverage a couple of features: Derive(default) to have an "empty" initialized value and the struct field filling syntax

let x = Foo { field_i_care_about, ..Default::default() };
I thought it was obvious... I wrote "more or less locked up" precisely because I knew if I just summarized it as "locked up" without qualifiers somebody would eagerly jump in to trash my comment here. Somehow I forget people are keen to do that regardless. My bad, I thought I was trying to help people interpret that statistic but now I regret it.
I'm interested in my tax money being used to help stabilize the local population to minimize harm to them during this time and thereby minimize unrest and keep the whole of it safer.

If my money is going to be going to making missiles and weapons for overseas, some of it can come back and pay for rough times instead.
I just read that book recently, before covid. I originally read it when I was young, and found a copy to reread through inter-branch library loan. It's a really fun read.
So, ~40 byte key to ~40 byte value... is kivaloo optimized for records evenly distributed throughout the key space (e.g. hash values)? If so, how?

Some other K/V stores often see ~Zipfian key distribution, e.g., a search index.
Since many federated systems use DNS, technically ICANN is the central authority.

But looking at how the terminology is used in practice, "federated" refers to systems with N users per host while "P2P" describes systems with one user per host.
Teams I've worked on have not had dedicated support staff, but rather engineers rotate 24 hour support duties on a weekly basis.

I have always had mixed feelings about "on call". I dread my turn on the rotation because the imminent threat of a prod issue has a psychological impact on my entire week, even off hours, and usually for a day or two after.

If everybody on the team feels that way, maybe it can act as a forcing function for product quality. I've seen this work on teams that already cultivate a strong sense of ownership.

On the flip side, it really stresses me out, and I sometimes resent that I'm not getting paid overtime for 24hr on call days. Maybe that's just baked into an engineer's salary these days, though...
If you're judging the quality of the companies and their iterations solely by the airplanes they produced for some reason, leaving out McDonnell Douglas's F-15 is a strange omission.
Somehow I have feeling google is loosing ground. Are there any figures which can support my assumption?
The most fundamental fact of Lisp is wistfulness. "If only..."
I'm afraid that doesn't fit with the "be as explicit as you can regardless of logic" espoused in the article.
I don't know that much about coconuts, but I grew up in an agricultural region of the US. Practically everything than can be easily mechanized has been, or people are working on it. Coconuts are large and hard, so they're much easier to mechanically harvest than something like berries. The big difference is coconuts aren't produced in rich countries where labor is expensive.
No. That's insane. That's like saying I took out a million dollar loan and my bank account went up by a million so I saved a million.

There is no rule that that money has to be deposited or will be deposited. Huge amounts of it end up in financial instruments including things like leveraged derivatives that no one would say are anything like a deposit.

The OP seems to have a perfectly reasonable understanding of how government debt works and it is absolutely reasonable to hold the assets of a thing up against it's liabilities to ascertain standing.
As an Australian, I'm sickened that our pathetic excuse for a government has shown no interest in protecting one of their own citizens being dragged into this kangaroo court.

Spineless and corrupt.
I work in finance, where we have clearly defined processes for production support, simply because developers don’t have access to production environments.

However, production support teams don’t have a real understanding of our application and how it’s build. So most of the times you have engineers on call with production support, telling them how to debug the problem and come up with relevant logs.

It’s incredibly infuriating and time consuming, and I absolutely hate doing it this way.

90% of the time you also get incredibly vague bug reports with irrelevant logs, and a description of what they think the problem is. Most of the time you need to spend another day finding correct logs and somehow debugging it. Most teams log every single request with all parameters and payloads because they can just replicate the problem locally instead of relying on production support.

We’ve long advocated for either having dedicated support or have engineers on some sort of schedule that can do support.
If you aren't doing production support, you don't actually know your product. You aren't connected to the pain points your users experience and you miss what is, to your support team and your customers, the glaringly obvious.

I would argue all developers should be required to do some support work.
Audio only, description of the evidence, binding agreements, etc. I really thought that there could be an unsolvable reason behind it.
why would that not be included in your net worth?
>A better for what purpose?

For the purpose of accuracy in communication. Speaking in terms of "household net worth" implies that you are referring to the net worth of individual U.S. households, not the net worth of the entire country taken as an aggregate. This is especially true when the net worth of most U.S. households has been stagnant or lower for almost 40 years while the net worth of the wealthy has exploded.

https://mises.org/wire/median-household-wealth-america-going...
Federal Agencies Tapped Protesters’ Phones in Portland
Let's walk this forward some.

Restaurants provide jobs, probably 20ish jobs per restaurant. If every restaurant closed down, that's something like 12 million unemployed people who can no longer find employment at those restaurants.

Some of those employees might even make enough money to pay taxes and not get their tax money back.

What do you think the solution is, rather than just slamming someone's theory on what to do?
I wasn't dismissing the idea that it was common practice, I was dismissing the idea that the common practice applied in my case. I did not have an IT department setting anything on my system when I experienced this.

Thank you for the info, though.
Debt clock lists us at 136% debt to GDP. We are long passed 100%
Mature coconuts fall off naturally, but they taste yucky. All the water dries up & becomes milky. If you don't harvest young coconuts during the prescribed interval, the water becomes undrinkable. But we use mature coconuts for oil. You crush it & set it out to dry in the hot sun, make coconut flakes etc. Also, its dangerous to let coconuts stay up like that. In every village there's always 1-2 stories of kid who died when playing in the orchard because dried coconut dropped on him.
You could probably use a scissor lift; but it's pretty expensive; someone said the trees are 15m, a new scissor lift that goes that high is in the neighborhood of $40k USD, in the US. Most likely more expensive in India.
And therefore directly reflective of net worth.

A billionaire does not have a room of dollar bills either.
On the iPhone, it's pretty straight forward:

willResignActiveNotification:

"An app is active when it is receiving events. An active app can be said to have focus. It gains focus after being launched, loses focus when an overlay window pops up or when the device is locked, and gains focus when the device is unlocked."

https://developer.apple.com/documentation/uikit/uiapplicatio...

Less clear is if you have 2 or 3 apps open on an iPad.

Not sure on Android, but I suspect it's similar. Because of battery life, OS makers don't let apps keep running after the display is off.
Take the question of how technical he actually
was. The famous books and movies about Jobs
hardly cover this at all. There's not even
any agreement today about it, look at the
contradictory answers to this question:

I'm amazed that there's even a debate about this.

He couldn't sit down and write code, or debug a PCB. That's fine. I don't need or even want my executives to be the best engineers in the house. I want them to respect and understand engineering and work in tandem with us.

Jobs was exactly the right sort of "technical" for management and the C-level: he was able to understand the pros and cons of technical details and, rather often, make good predictions about where things were going.

(He was also frequently a jerk, if not outright abusive, and I don't condone that -- but that's a separate matter entirely from his technical chops or lack thereof)

I can think of plenty of calls he made that I disagreed with. Some were bad calls, period. Other calls were "correct" for what he was trying to achieve, but I didn't agree with what he was trying to achieve. Other times, he was simply too ambitious, pushing some software vision before hardware had quite caught up.

But I've never seen an example of him simply failing to sufficiently understand the hardware or software.
Cdproject costs some 4 billion more than Microsoft paid for Zenimax.
Real estate has also been strong
I'm not sure I understood your point though.

Retirement accounts hold YOUR money, that is money that YOU saved for YOUr own use later.

Whether I put it in a savings account or taxable investing account it is still part of my net worth as it's money I will be using some time in the future.

Perhaps I'm too dense but I'm not understanding why you are not including retirement accounts as part of net worth calculations.
It is an offence to be in possession of more than 50kg of potatoes in WA, unless you have purchased the potatoes from a grower or retailer authorised by the Potato Corporation. Police also have the power to stop and search a vehicle suspected of carrying more than 50kg of potatoes. The maximum penalty is a $2,000 fine for a first offence or a $5,000 fine for subsequent offences, as well as a further penalty up to twice the value of the potatoes [Section 22, Marketing of Potatoes Act 1946 (WA)].
wuhoo Trump for president!
Yeah, I'd say the next great thing is coming: Apple "simulated reality" AR glasses... I'm totally speculating, but I think a lot of their recent innovations have been pushing in this direction, and I think they have filed patents exactly along those lines as well IIRC.
Its a bias against celebrating the minorities wins by averaging and talking about everyone's wins.
Many people have more empathy for animals than for humans. The idea of a monkey forced/encouraged to climb a tree for a coconut tugs at their heartstrings the way a person does not.
Ask HN: What are awesome guides and resources on PC building?
How much is much? Median retirement account value at age 50 is about $100,000.

https://www.synchronybank.com/blog/median-retirement-savings...
Google apps (for Chrome?) were somewhat separate but under one store, they just got Android apps working on chromebooks, deprecated it and now this. It's just a push towards Android ecosystem where they make more money.
I think it’s shorthand for ‘Americans are doing just fine’ and there is some truth to it.

In other words: This is why no one wants to emigrate to Venezuela nor are there coyotes for Americans to sneak into Cuba.
A less drastic solution, which doesn't require much money, is to just force lenders to allow landlords who lost tenants or whose tenants can't pay to allow the landlord to defer loan payments (extending the final date of the loan).

It's not exactly fair to landlords who own the properties outright, but, I can live with that.
Mandatory rent holidays.
try https://www.tngsitebuilding.com/
self hosted
App based dating in a nut shell - seriously recommend users ask your friends of both genders what tinder looks like for them and your jaw will drop. I (25M) was shocked at all the shirtless guys taking pictures in front of muscle cars. She was shocked at how rare matches were and how many first messages were ignored.
How will preventing lenders from foreclosing prevent harm? If anything, it will allow people to purchase property since prices will reduce as there is more supply in the market.
It sounds very much like the poster is describing an on-call rotation rather than "production support", which is a very different thing altogether.

Production support is customer support: responding to chat messages or communications from users.

An on-call rotation, on the other hand, involves responding to production incidents and mounting a proper incident response.

The Google SRE workbook has a great chapter on the subject: https://landing.google.com/sre/workbook/chapters/on-call/
How's your delivery? Anything that runs the risk of my mail getting blackholed by a clients provider is a nonstarter (even if it's only a few days every few years).
Step is still unstable but the point still stands.
I like this article better, which argues that we are potentially entering a new eon, rather than just a new epoch

https://www.npr.org/sections/13.7/2016/12/18/506036420/a-pla...

This quote was pretty good:
“Never before has a geological force become aware of its own influence.”
Do I get a bailout for my losses on the share market? What if I had bought shares on margin?

Why does one class of investor get a bailout but not others?

(Why bailout any investor? Risk is part of investment.)
I bought a NET10 international SIM card 7 years ago. Only used it for a couple weeks. Last month I asked them to delete my account. Spoke to 3 people and they weren't able to do it. One agent outright lied and said he did, but I was still able to log in after the fact. The best they managed was to change some of the profile details on the account (name, etc).

I submitted a formal request under California's "Right to Delete" legislation (CCPA section 1798.105).

The response was a formal letter from the parent company denying my request. It's a template letter with legalese bullshit that's totally inapplicable (e.g. they argue there's still a "business relationship", even though we haven't done any business in 7 years).

NET10 is owned by TracFone Wireless, which in turn is 100% owned by América Móvil (NYSE:AMX, $41B market cap). I believe they had my address, email address, phone number, date of birth, etc.

It's disgusting what these giant telco bastards get away with. Why don't US laws have the same "teeth" as GDPR, and any advice to force them to delete my data? (e.g. If anyone here advocates for this sort of thing on social media and wants a slightly-redacted copy of the letter to publicly shame them I'd be happy to deliver that).
I believe that GNU find used to (in some cases?) show a warning if the directory was omitted. Could be wrong.
> If the landlords didn't want to deal with loans then they should have paid cash for the properties.

If the tenants didn't want to pay rent, they should not have signed leases.

Why is it that tenants can get a break on their obligations but landlords can't? Why are tenants more deserving of help? Most landlords are not rich. They are providing a service to their tenants, who cannot afford to purchase buildings and would have no hope of opening a business if there were not landlords around willing to rent things out.
The sentence was "55% of Americans are estimated to own stocks", and I pointed out this includes retirement accounts, feeling (evidently quite wrongly) that that would be important to many readers to be pointed out.

If you don't see any value in that, then I'm sorry, the next time I won't mention it. My apologies. I repent.
Oh for sure I don't think it's out of the realm of possibility that there is someone somewhere who goes through a sixth of a pound per year. In fact I'm sure there are people.

What I absolutely do think it's out of the realm of possibility that the average American does. Something like 2% of Americans use cocaine.[1] That figure is probably extremely imprecise, but it barely matters because even if it was 20% it would require that the average user was going through a gram a day.

[1] https://en.wikipedia.org/wiki/Cocaine_in_the_United_States
Strategic Deriving
The use of SMS is a US oddity. The rest of the world is using almost only messenger apps: Line or WeChat if you’re in Asia, WhatsApp or telegram in Europe or South America.
Just out of idle curiousity, are you the sort of person who would describe a pack mule as a slave? Sheep dog? Service animal?

This isn't intended as a 'gotcha', everyone has a line. Given that you're willing to quote PETA without spitting on the ground, I'd infer that you are far into the animal rights, militant vegan camp? Is that fair?
I wish the students and the teacher the very best.

Here is another one that Youtube suggested:

https://www.youtube.com/watch?v=c7ip4G-QwDw
These are the people that prop up this new-age techo-fascism. You aren't going to convince many with platitudes, let alone empathy.
Is it turtles all the way up? Do the landlords who are paying down their mortgage also get a deferment?

What do we do about the people that presently have no money? Do we also give them a stipend to pay for food, etc? Or force them onto credit cards?
No it fucking is not.

Flagged the article. GTFO with this clickbait nonsense.
YC application: We trained a model based on YC alumni profiles
We trained a model classifier based on YC alumni profiles.
check it out.
http://plinar.ai/yc
I can't read the paywalled story but did pensions count towards net worth? If not then the inclusion of retirement assets into net worth is clearly misleading when looking at historical numbers.
> There is so much of a disconnect between this crowd and the farmers and the people this robot will actually replace.

I look at it this way: these machines allow farms to replace workers from one, evidently shrinking pool of semi-skilled labor (farmhands who can and are willing to climb a coconut tree) with workers from a different pool (people who can be trained to operate a remote-controlled robot) that's growing.

This article and the comments here make it seem like coconut harvesters are mostly freelance farmhands, so I could imagine a scenario where you end up with, you know, Uber for coconut harvesting. There's no reason the farms need to really care about the costs associated with owning the machine, when other people can take on that responsibility and compete with one another to offer farmers the lowest cost per coconut.
Owning real estate is an investment, not a right. It's no different than any other investment. If I have a loss on leveraged stock investments should the government bail me out?
fun...

#!/bin/bash
while :
do
curl -s 'https://www.domainsfortherestofus.com/' | pup '.domain-name text{}' >> domains.txt
done
You still falling for that taxes trope? It will never come out of taxes. Politically impossible. No presidential regime will take the fall for that. No generation will take the fall for that.

That kinda money is just printed Zimbabwe style. The governments left pocket owes its right pocket.
KYC compliance is already getting painful for ordinary bank customers. Please don't bring in more surveillance.
255 bytes is obviously overkill for a key

If they're hashes, sure. If you want to answer range requests -- e.g. "give me everything starting with ABCDEF" -- you may have a less densely utilized address space (rather like IP networking has had).

My accounting database has keys of the form "usage/"<256-bit user ID><20-byte timestamp><64-bit machine ID><usage type string>. Not 255 bytes, to be sure, but not trivially short either.
I'd be going drones if doing anything techy as a solution to pick coconuts.

I feel like specialist equipment is going to cost to much IRL.

Drones will continue to advance and have more people who can work with them.

Not saying drones would be cost effective either, but I think at least you can pivot.

Also see Sreamers - https://m.imdb.com/title/tt0114367/
I visited South Indian villages during summer vacations and my grandfather had 5 coconut trees in his urban garden. Someone will come by to climb and harvest the coconut when it’s time to get them down. One of my fav memories is him tossing green coconuts into the water well during summer. It will keep cool even when it’s crazy hot temperatures and we will just fish one out when the kids get thirsty.

Tender green coconuts will float because of the fibrous outer covering. Climbing the trees was dangerous and seemed scary. Coconut trees have no branches and it’s literally climbing all very rough tall pole barefoot. Amazing. I can understand why there’d be a shortage. The coconut climber was always in demand!
Bailouts combined with mandated (maybe partial) rent forgiveness would ensure that money did not go straight to landlords.