skysight-inc/HackerNews huggingface dataset:
> AsyncIterator and async generators

For what it's worth, Dart has had synchronous and asynchronous generators (including `await for` statements) for as long as its had async/await. They are neat features. I've definitely written code using synchronous generators that would be hard to manually transform into a custom Iterable implementation.

But they add a large amount of complexity to the language implementations and it turns out are very rarely used in practice. Here's a quick scrape I did of the most recently published 2,000 packages on our package manager:

-- Style (64317 total) --
59409 ( 92.369%): normal =================================================
4842 ( 7.528%): async ====
42 ( 0.065%): async* =
24 ( 0.037%): sync* =

Async/await is clearly pretty useful with there being one for roughly every ten normal functions. But generators and async generators are barely used at all.

Rust might be a in a different situation because efficient concurrency may be much more important in a systems language, but it's not clear to me that those same features carry their weight in Dart.
What’s the word for the rust on the iron though?
Doesn't appear so.

https://pagure.io/arm-image-installer/blob/main/f/boards.d

rpi2,rpi3,rpi4 is all that I see. I'm sure they'll work on supporting it in the future. I'm not sure rpi5 was even announced when they branched f39 from rawhide.
Stalin wasn't a Libertarian. More on the Effective Altruism spectrum.
I don't think that's what they are saying, I think that's what you're saying. I would be frustrated by that too, but I don't see any of that here.
If you don't want to pull in a helper library to run async code in a sync context, then why pull in an async library at all?

Rust is not a batteries-included language like Python. There are lots of libraries that are very commonly used in most projects (serde, thiserror, and itertools are in almost all of mine), but this is a conscious choice. They say in Python that the stdlib is where projects go to die. I'd rather have the flexiblity of choosing my dependencies, even for stuff I have to use in every project.
> Perhaps regularly flipping between them on a regular basis [...] is worth considering.

True. But getting the PHB's at a bank (and perhaps the banking regulators) to sign off on doing that...could prove to be a non-trivial task.
The public scribes of the times (who were dictated a good part of the letters in the article) are well documented, and what I read of them is coherent with these letters.

The language is very informal. Since the guys were paid by word or page, they just wrote whatever was dictated. Hence the informal language. The first letter reads something like:
"Your father-in-law greets you your sister greets you your brother I haven't seen since Mrs XXXX has asked news from you please pass my compliments to YYYY his wife alone gives me news from you."

This was possibly a letter from someone who could hardly read anything else than a prayer book (or had eye problems) to someone who couldn't read at all.

The language here is very modern, only a few outdated expressions. I've had much more trouble with professional letters from Napoleonic times, full of abbreviations and references to old social, judicial or political structures and procedures.
> Maybe one day, everything will just work...

I've had the same hope since I started using Linux, back in 2004.
Select 54000000 from DUAL
The best thing Yahoo! did at the time was create the show Other Space, which no other person but me has heard of.

https://en.wikipedia.org/wiki/Other_Space
Terms and conditions are weird, because by and large (in the US) judges have determined that they don't really let the companies do anything that they wouldn't be allowed to do otherwise (except I guess forced arbitration), but they keep filling them with borderline illegal requirements and litigate them line-by-line when it comes up.

The main thing is any company can start denying you service whenever they want as long as it's not for a protected reason, and then it's up to you to prove in the court of law (or arbitration) that they didn't specifically screw you over in any particular way, which is usually not worth the hassle.
I'm passionate about my guitar playing again and I've been teaching guitar to a couple of people, which is very rewarding. Also I do Jiu Jitsu and I'm halfway to my purple belt, and I've had some opportunities to help coach kids, which is fantastic.
Q3 2023 Summary from Chrome Security
Not with GPT-4-Turbo 128k, at least if attention works as well at that context size as on smaller ones.
Most people are hypocrites. That's one reason we choose to bind ourselves with laws. The fact that everyone is individually inclined to go against their values is an argument for collective action.
I studied shakespeare in highschool. Like actually studied and performed the source text. Everyone there "understood" it. Not "understanding it" is merely a symptom of not putting in the effort. Since Shakespeare literally created much of what we call modern English it is actually very easy for a modern teenager to understand shakespeare. You might be thinking of Chaucer, which is actually much more difficult to understand. Shakespeare just requires the bare modicum of effort and its really not that hard.
Hey boats, I found this sentence confusing to read (emphasis mine); an editing mishap perhaps?

> On the other hand, there was some speculation about making “await patterns” that destructure futures and then somehow making that work here; I think this would imprudent and leaving await as an expression, and for await as a special expression for handling AsyncIterator, is the most sensible choice.
You left out what I said next in the comment you pull-quoted. :)
> This pricing scheme punishes people trying to be honest about their skill set.

I've really liked the rare company that advertises a narrow pay range and then makes a single, non-negotiable offer for the most they can get the candidate.

The company has more data. The company has an existing pay structure. The company knows its own budget. They should offer what they're willing to pay. Anything else is extremely disrespectful, frankly, despite being the norm.
'Biodiversity time machine' provides insights into a century of loss
One thing that's been bugging me recently is completions in eex/heex template files. It seems like a tough problem to solve, since you need reasonable completion for html, heex syntax, and arguably also completion on things like schema fields for forms and then components that the project defines.

But man, if I could have a smart editor for those templates I would be like... three times as productive on my little side projects.
That's a lot of asses.
Yeah, seriously. If you were in early with a hot company and that company hits hyperscale, people for some reason assume you're competent running a much larger legacy organization. I see very little parallels or overlap, but perhaps I'm blind.

Mayer was an engineer, and for some reason people thought she'd be a great CEO. Surprise, she wasn't.

Wasn't she really disliked within Yahoo!?
Thank you (author here).

I don't read TAOCP. I have read first few chapters of volume-1 so I am familiar with the notation and some MIX syntax.

But while writing this article, I just opened up specific topics, such as computing Fibonacci numbers in volume-1, or evaluating powers in volume-2 and I managed to understand it. Sometimes you may find back references, such as when discussing Fibonacci numbers, he references Euclid's algorithm and you may have to go back and check it out, or ignore it (depends on the context). So I believe you don't necessarily need to read from cover to the end; you can browse it based on your interest.
how about one independent company owns the towers and wholesales bandwidth, and the brand names become resellers/customer service?
In this case, the nations of the Wabanaki Confederacy.
Some forms of copying/uses for a work are permitted by law (eu) or permitted by fair use (us) and thus exempt from permission. Eg. it is generally accepted that you are allowed to download works if you're viewing them in a browser, storing them in a search engine database, or are taking statistical data for a research project.

AI companies argue (long story short) that their usage is closest to taking statistical data, and thus doesn't trigger the need for a license.

I do realize that some people find this to be a somewhat unfair outcome as is, but

A) It is the current law as is. (caveat: we still have to see if the courts actually confirm this particular interpretation)

B) I'm not actually sure we should let those people have their way in the first place.

Of course, ignorance of the law is no excuse.

I feel like some creative folks never actually bothered to learn the laws they were working under, or (more charitably) this turned out to be a corner case, and they were caught by surprise.
It's about to, on mine.
Agreed. The classic claim about C++ is that everyone wants to remove half of its features, but no one can agree on which half.
Bullshit. It's totally the opposite.
They don’t. They leave. When enough of them leave a negative spiral sets in, until most of whose left are people who have nowhere else to go.

You would think that kills a company, but a big company can survive decades in that mode, just slowly riding the elevator all the way down.
Yes, the internet is becoming unusable.

Google search results are horrible and lead to low effort blogs by peacocking beginners who are trying to monetise a paragraph and 2 lines of code.

Paywalls and ads(if using without adblock) on anything interesting of value.

Social media is a information harvesting machine pretending to foster human connections.

Dating apps are designed to keep you single forever and owned by a single corpo.

News are owned by few folks as well and the only interesting discourse happens on X.
At this point, they should just focus on the x86_64.
Toyota has a small pickup in the works for the US market to compete with the Ford Maverick, which is a huge success. Probably won't see it till 2027.
Probably the most trouble I got into when I was at Apple was when I emailed a VP directly asking if I could maybe contribute some code (in my own time, on my own hardware, at home) to an open source project.

The VP didn't just say "no", but also ratted me out to like the six managers between me and him, and each manager thought it was a good use of company time to schedule half-hour meetings explaining to me that I needed to go through the proper bureaucratic channels because the VP's time is "extremely valuable". Honestly kind of poisoned the entire job for me.
> Using SQLite is most certainly not "building their own filebased database-system"

[..] Each user has their own SQLite file [..]

[..] We also introduce 3 separate SQLite databases for managing service state [..]

This doesn't use SQLite for the database-managment, but for the individual "document". The database-managment itself is handled in the application-server. You jiggle around files and poke wherever it matches, this is by a classical filebased database-managment-system.

> It would make total sense for a PDS instance to have a single user, and in fact that is likely for many self-hosters.

Sure, if it's just a low-user-instance, the performance is not much of a deal. But from my impression here, this is also the code Bluesky uses for everything else, from low to massively high user-instances. And then I want to see how RAM holds up, when you have 10k+ user-databases open at the same time on one instance.

> There are trade-offs to this kind of a system but it comes out way ahead in this case.

Which is why I want to see some actual numbers and solid explanations going more into details then the gossip in the comments here.

> A major consideration is that we're planning to run at least 100+ instances, which would require operating 100+ high availability (primary+replica) Postgres clusters.

Are those independent instances, or just 100+ instances servers from the same company on different locations? But I don't see how this can replace a whole postgres-cluster without removing significant functionality. I mean sqlite does not have good replication on it's own AFAIK, so as you seem to still use replication, you just replace it with another solution? Which also means you remove the same options for anyone else, and forces them to use your solutions?. I don't see how this will be beneficial for self-hosters.
Nothing is stopping anyone from writing DB drivers that don't require async. If there's as much of a market for it as threads like this suggest, it seems like it would be a fairly popular project.
Maybe a URL? A shortened one?
Ha, yeah. I should have specified I was basing that off of Montana human and grizzly populations.
Well they're responding to someone saying "Async is a wart".
Citation instead of handwaving that they can learn algorithms? Also, I’ve not asked that before so if it’s being asked frequently, I would imagine it might be because it’s a good question.
Current AI models are approximation functions with huge number of parameters. These approximation functions are reasonably good at interpolation, meh at extrapolation, and have nothing to do with generalization.
Or even, interpreter. It compiles and executes on the fly, in ram, function by function. It doesn't even compile the whole input but just a bit and immediately executes that bit before moving to the next bit, and doesn't save the compilation result anywhere. To me, that's an interpreter.

So it's a c subset interpreter.

And a very cool thing. This is not a denegration or critique at all, just terminology.

I think it's perfectly fine for a bootstrapper to be a drastic subset. They all already are drastically limited in countless other ways anyways like not knowing how to use any of the crazy hardware, networking, etc. A forth bootloader is a full turing language that can eventually do anything, but it itself can do almost nothing initially besides use bios-provided features and start interpreting code which then provides more functionality.
You’d put the file contents at a static offset, or a location pointed to by the MBR or something.
Can you provide a real world example? Because this sounds like nonsense. As in, not a weakness of any architecture but just the very concept of pattern matching.

What you might be asking for is a system that simply continually learns.
When I was in school we were taught about Iambic Pentameter and even had a few demonstrations. But I was never able to grasp or appreciate the significance of it. To me it seems no different than the 5-7-5 rule of a Haiku. Neat, but nothing profound.

Many of us wondered why our English curriculum was so keen on Iambic Pentameter despite the fact that it doesn't really seem to have affected modern English. I say that because it's so hard to recognize, even when using fully modern vocabulary. Apparently the Gravemind in Halo 2 speaks in IP and I'm sure that fact is lost on over 99% of players.

Whereas teaching students about all the words Shakespeare introduced and just how many tropes originate from his plays seems far more valuable to know.
Thanks for the insight. This is absolutely practical. Covers all bases.
And the uk has that interesting policy where I believe the govt owns any treasure you find. Is it that way in the EU? In the us I believe you own it if you find something, but we don't seem to have as much treasure sitting around everywhere.
Sometimes I have to write code that I don't fully understand before I sit down to type it in. This happens less often as I've become more experienced, but at such times I find it useful to code on paper in order to scratch out relationships between things, or determine what functions or methods I'll need to accomplish a specific task. Most of the time these days I already know how to code the thing and I just sit down and bang it out.
> The finds were discovered by a private citizen who, during a dive, noticed some metallic remains at a shallow depth, not far from the coast. The following day the underwater archaeological unit of the Superintendency of archaeology, fine arts and landscape of Sassari and Nuoro together with the Carabinieri of the Unit for the protection of cultural heritage of Sardinia and the Underwater Carabinieri Unit of Sardinia carried out an initial reconnaissance in the stretch of sea concerned, with the collaboration of the diving unit of the Carabinieri of Cagliari and that of the Fire Brigade of Sassari, together with the State Police, the Financial Police and the Port Authorities.

How on Earth did it take one day for some random citizen to report something and then for like 50 institutions to all collaborate with each other to launch a gigantic coordinated effort? This is just insane. I'm absolutely calling BS.
Tangential to some comments here: Why does the standard library not have block_on?
Interesting, but this seems like a low-quality source. The article implies that 47.5 + 5 = 100 and that one's wife's sister's wife could be one's brother-in-law. Odd.
How Custom GPTs Can Enhance Customer Service
Not a warcraft fan but my coworker is. There's pirate servers, a few extensions behind the official game and in his experience a bit laggier but they work.
Show HN: Improve Sleep with CBT-I
Cognitive behavioral therapy is recommended by doctors as a first-line treatment for insomnia and low quality sleep. It’s more effective than drugs independently, yet it’s not very popular. When people find it, they seem surprised how effective it is [0].

My wife initially went through the process, and I joined in the middle. We both found it effective.

I decided to make an educational experience and plan generator (in progress). If there's interest in fleshing out the sessions, I'll make the rest!

https://sweetdreamlabs.com/

[0]: https://ilya.sukhar.com/blog/an-algorithmic-solution-to-inso...
Same thing in France, Germany, UK and elsewhere, except the coins are unexploded ordnances.
The model is trained with a fixed number of tokens, I don't remember if the models I trained have sinusoidal embeddings or learnable positional embeddings, in the latter there would be no embedding to encode the position, in the former I think it would cause problems with the sinusoidal embedding layer as the sine and cosine would wrap around.
Then use the code I posted if you don't want a helper library. Or just wrap it in your own function if it's too complex for your tastes.
Considering how many times phones get hacked just by viewing a text message it's probably best to delete any texts from an unknown number unread. If you've got an iphone you're probably screwed the moment it hits your device, but at least you can try to avoid interacting with what might be a "specially crafted text message" as much as possible.

2016 https://www.theguardian.com/technology/2016/jul/22/stagefrig...

2018 https://www.vice.com/en/article/qvakb3/inside-nso-group-spyw...

2019 https://www.wired.com/story/imessage-interactionless-hacks-g...

2020 https://macsecurity.net/view/458-imessage-zero-click-exploit...

2021 https://www.wired.com/story/apple-imessage-zero-click-hacks/

2023 https://www.forbes.com/sites/daveywinder/2023/06/02/warning-...
In context, yes. For a senior engineering role at one of humanity's biggest richest companies in a very HCOL location, $100k is ludicrously low.

Now, I agree that pay ranges across our economy are completely out of touch with reason, but in this context it would be downright stupid to take $100k for that role when non-FAANG could pay you more.
As has been commented, consumers [EDIT: non-rural] do not actually need or want 5G. 4G is adequate for most of their needs.

5G densities are for factory automation, self-driving cars, drones, sensors, superdense urban centers etc.
"If you've seen one custom UI framework....."
spooky code running code!
We humans don't even know when we are doing real extrapolation, and the vast majority of humans are interpolating. I bet many do nothing but interpolate their whole lives.

So - and I say this as someone who writes NLP papers too - who cares?
U.S. military members' personal data being sold by online brokers
yields of course layoffs. Tmobile has been laying off people with the reason being overlap between the companies.
PDF of the study: https://techpolicy.sanford.duke.edu/wp-content/uploads/sites...
visual studio new snippet experience was auto-rolled out. first a performance issue, now merely "mostly useless"
That doesn't sound right. In which way was your application slow?
Conceptually, async is not necessarily giving you parallelism but concurrency.
Tokio (multithreaded) or async-std spawn N threads though and schedule your work for you.

It would be interesting to see the code or know which libraries you used (or even just what type of application you were building).

I built a heavy app using async-std and then rewrote it to threads just to better control what was each thread doing. Without my additional scheduling rules (which brought a lot of other benefits and helped performance in other ways), the performance between async and not async was close, with threads being marginally faster.
> but since I'm on a Framework 13 with a weird screen resolution

Hold up, is this a reason to not buy a Framework?
Indeed. It's especially irritating that such bribes are necessary to get approval to build anything in the first place.
A lot of the statements that we've all seen have mourned only the Israeli dead, and have said zero about the death of Palestinian innocents or the "context" of the conflict, so I just don't see this as being a particularly legitimate or persuasive criticism.
Market is horrible and I'm at my wits end as well. Wait it out while employment gap gets larger is not a good idea as well.
My ThinkPad similarly needs to run at 150% scale to be usable and I’ve also found that KDE still has issues even if it handles scaling better. The biggest one is that only C++ window decorations draw correctly under Wayland with fractional scaling enabled — the much more common Aurorae themes are blurry looking which is unfortunate, because only a handful of themes are C++ and mostly minor variants of Breeze.
But in this case they ended up with no product, the same starting money and a bunch of time/energy lost.
But just like Chrome extensions, there are the 20 or so that everyone knows about, and then all the rest. There will be a few good ones trained on some very unique and useful data and everyone will want to use them.
Article does explain some:

"We're locking up the hydrogen molecules in a solid to basically fix them."

And indeed there exist materials that can absorb hydrogen in a sponge-like fashion, so you don't (as much, anyway) need the pressure or low-temperature extremes normally required to squeeze H2 into an empty vessel.

Iirc, you're probably talking some metal(s?), or material containing those like a salt or hydroxide.

So it may be a case of sort-of-existing tech, put together in not previously used manner.

Regardless: hope this pans out (esp. cost-wise). Our world badly needs solutions like this. Cheap, at scale, yesterday.
Neither have I :-)
Learning in High Dimension Always Amounts to Extrapolation

https://arxiv.org/abs/2110.09485

"Supercharged Interpolation" is not a real thing.

They generalize fine when the data incentivizes that.
Could you be more specific about your bottlenecks? Were you not able use the multithreaded scheduler for some reason, or did it not work properly?
It’s usually state labor laws. Some states don’t have it, most do. Wages are treated as a special case, often with these type of forced payout clauses and even criminal penalties.
Biodiversity is important because a diverse population is less likely to get wiped out by an event that kills all individuals matching some criteria. For cultural diversity to have value analogously there would need to be some threat to cultures that is separate from biology (because we're still all human). I can't imagine what that could be.