skysight-inc/HackerNews huggingface dataset:
The BEAM is so much more than just a green thread runtime - and it is not straightforward at all to just "bring it over" to another virtual machine, the entire BEAM VM is designed around the scheduler, and core features such as signals (used most notably for links/monitors, but also for a number of other system features) and messaging, are deeply integrated with the scheduler; as are system tasks, execution of NIFs (natively-implemented functions), and more. Furthermore, the schedulers are adaptive to the amount of work in the system, and the behavior of the other schedulers, i.e. they aren't just simple work-stealing queues for green threads. Over 20 years of engineering effort have been invested in this system, and it is highly optimized for the types of workloads that Erlang is used for.

In my opinion, trying to replicate ERTS on top of another virtual machine either requires making that virtual machine more like the BEAM, or will end up always playing catch up with the BEAM itself in some aspect. That's just my two cents though.
Interesting format. Never heard of it before.
Though we ourselves are by definition part of the universe and thus nature.
if that works, why doesn't it work to put them next to each other and pump the warm air from the server into the greenhouse? would that already have to much loss?
The Gaming Industry Has Changed and It Doesn’t Need E3 Anymore
Building ShopGPT: Merchant Discovery Powered by the OpenAI Embeddings API
Racism is at least as prevalent - and far more out-in-the-open - in Europe than in the US. There should be BLM or equivalent protests all over Europe, frankly. It's shocking how openly racist Europeans are (whether eg Italians about Africans, Germans about anyone, or Europeans routinely about gypsies).

Ever gone on Reddit and looked at what Swedes say about refugees and immigrants (post ~2014 or so; in 2015 they were burning refugee camps)? The racist, anti-non-Swede, nationalism type is only going to get a lot worse there. The integration of refugees into Swedish society has been a complete failure, which you can see in the crime and employment outcomes. If it were the US, the blame would be squarely placed on racist behavior / dominant culture preventing the refugees from thriving.
Why not just write:

bool aplusb_sqr(int* c, int a, int b) {
return c && ckd_add(c, a, b) && ckd_mul(c, *c, *c);
}
I worked on the Metal Gear Solid from PS1 to PC. This was back in 2000, and my first real gamedev job. Fresh from Bulgaria, haven't played any consoles, and just using a WordStar program I've exracted all japanese comments from the source code, "translated" them - well word by word I think with the WordStar (I don't recall the exact name) then put them back. Some things were just too funny...

At the point where the game was supposed to handle CONTINUE, the comment was CONTINEKU. Another one was METARU GERU SORIDU (or GIRU, don't remember). and more than that... all in all though even with word-by-word translation I was able to get through (we were only 3 "interns" working on the project + our boss (lead)).

Also learned how well "C" can be written :)
If persisting sessions is the only thing you use tmux or screen for (as it was for me), try `dtach`. Session management is all it does; terminal I/O is passed through just like a plain ssh session.
According to this comment, we should (just) accept that English, in a generation or two, will become some sort of world language with no interest in the preservation of other languages and cultures associated with those cultures.

This is a bit provocative, but while we are there, we could also tear down the Colosseum, the Forum too since it is all rubbish, and build instead offices, or residential communities because who cares about those old buildings and "nationalists" and "traditionalists" or "whatever you want to call it".

There is often this idea that if you do one thing, you cannot do another, like there is some trade-offs between the use of the local language on official documents and the management of museums. But most of the time, there are no trade-offs, and the two actions are independent.

>> "What would people think if there was an american movement to stop using foreign loan words in English because they're diluting our culture?"

I am generally in favor. I mean, better to hear "ham" than "proskiuto" anyway.
No, both Garrett Reisman and Andrej Karpathy worked for Elon for more than 5 years.
How about we just cordon off an area and you can go do your thing there and let us know how it ends up?
Becky Is Depressed
"Fatto in Italia" would be just as good, but might not be as widely understood by non-Italian speakers.
Video Games and Their Music Changed My Life
Even though Arstechnica is owned by Conde Nast, it's still my go-to for most tech news, albeit normally more specialized in certain fields. But at least once per week they have a really excellent and in-depth article about a variety of topics.
Are the education and healthcare systems you mentioned an indication of the American society where the average person cannot afford healthcare, and where children are unsure of their gender identity and personal identity? If this is the case, my friend, you have failed miserably.

However, despite challenges such as limited food and inadequate school infrastructure, the people in question have access to affordable healthcare and education, without the added burden of student loans. Moreover, they complete their schooling with minimal anxiety and confusion over trivial matters.
But it is: https://demo.react.email/preview/nike-receipt?view=source&la...

Inline styling and tables, instead of semantic HTML5 and a style block.
And how is the economics changing if you internalize social and environmental cost?
An apartment is not a normal house, density is not what I'm advocating here.

The vast majority of people don't want that. It's a sticking plaster.

People want normal lives. Not pokey flats with no car and eating vegetables. That's a 1, maybe 5% bizarro world coastal thing.
There’s a $1/month subscription. You get 10 pages a month.

The author would pay $12/year for 10 pages per year, without the cost of the cartridge. You need 20 years before you reach the cost of a $240 cartridge. The cartridge would’ve dried out before then.

This entire article is an exercise in “I can’t do math”
It's 1.9 billion USD divided by 1.4 billion people or 1.35 dollars per person.

The international poverty line is $2.15 per day. The GDP per capita in India is $2.2k which means the program costs the average Indian 0.06% of their wages or less than a day at the poverty line and this doesn't even account for progressive taxation where mostly middle class and above Indians pay the taxes that fund the space program.
As an Italian now living abroad, every time I go back I am horrified by the way Italians mis-use all sorts of English words in many contexts of life...

One example: "smart-working". At the beginning of the pandemic, when we all started to "work remotely" or "work from home", Italians decided to call it "Smart Working". The first time I heard this term from a relative I was very confused, I thought it was just young people trying to "be fancy" as usual, with their fancy english words, but no, it actually had become the official way to refer to "working from home"... people had it in their contracts.

IMO this usage of the English language doesn't benefit anybody. Italians are not getting any better at English in general, language purists keep getting angrier and it's just adding a lot of confusion.
If you're not aware, there was an important vote in March 1991. [1] It was about joining a reforming of the USSR, the "New Union Treaty", which Crimea had already internally overwhelmingly voted to join on January 1991. Ukraine changed their whole-state version of the poll to read, "Do you agree that Ukraine should be part of a Union of Soviet sovereign states on the basis on the Declaration of State Sovereignty of Ukraine?"

It was obviously a cynical political ploy, because independence of Ukraine would be incompatible with the reforming of the USSR. But that's the context of going into the independence poll which happened in December 1991. Ukraine put Crimea into a lose/lose scenario. The only way to possibly rejoin the USSR would be to vote yes for independence. But obviously Ukraine had no intentions of rejoining the USSR, in spite of what their poll said.

This is probably why so few Crimeans chose to vote. It was 41% abstain, 37% yes, 22% no. It certainly wasn't about joining Ukraine over Russia.

[1] - https://en.wikipedia.org/wiki/1991_Soviet_Union_referendum
Replying to %root% b/c all the Koyaanisqatsi references: I learned about the movie(s) and Glass' works when accidentally tuning in to a Koyaanisqatsi airing briefly before the Challenger scene some 20 years back.

My definition of the perfect storm. Still remember set and setting and everything else.
Or it'll get even better at ingesting all their content and providing the answers and points itself, never leading the user to their site.
It's probably (IMO is) better to spend additional money on Infrastructure. Lots of the obvious stuff, but even things that seem like a stretch. Is healthcare infrastructure? Is childcare? How about work benefits management (days off, stock options, etc), pretty much HR, as a centralized national entity? (Not the funding of those benefits, companies would pay their costs into the program and then not need to worry about it anymore.)

The economically desirable things that UBI or any other handout are spent on, should fall into two categories. Things the government pays for itself because it's going to be the only buyer or a major buyer. Things the government has limited debit card systems for (E.G. food stamps) because there's already a market and they won't be a major buyer.
I have that problem, too. Can you recommend any counter-measures?
UB is a better option though. When your signed integer overflows it's a bug nevertheless. Why force the compiler to generate code for a pointless case instead of letting it optimize the intended one?

If you value never having bugs over performance then just insert a check or run your program with a sanitizer that does that for you. It's a solved problem for a case where performance doesn't matter. The thing is that it does.
I hope we're still talking about exercise...
If a book exists in overdrive, they allow you to request that your library add it to their collection. My first two requests were added to my library within days, several others came a few months later, and now about 4(?) years later I'm still getting an occasional notification about it, though at this point I've read them already...
Partitioning in JAX
Very interesting observation!

I think it's great if local languages and identifies can continue to thrive, but I don't think it can be said that Italian nationalism isn't a thing though - it has explicitly been a thing as the suppression of regional dialects and the 'making of Italians' was a stated objective of Italian nationalists immediately after the unification of Italy.

btw this does not make Italy exceptional in any way, the way modern 'nation states' were built followed exactly this pattern - suppression of regional languages - 'cultural genocide' - and the creation a new national identity to replace them
The outcome of each individual spin is random. The reason a slot machine is always profitable is due to the payouts. To put it simply, a result that will occur once every 100 spins only pays out 90 credits. The various PAR sheets allow casinos to adjust how much to tilt the odds in their favor. For the 1 in 100 example, the various pay tables might have that particular outcome pay 87, 89, 91 or 94 credits, allowing a casino to decide between 6% all the way up to 13% hold. But that particular combination of reels will still occur only 1 in 100 spins (theoretically, because it is in fact random, not cycling through a script).
In wındows but because of economıcs problem ın my country Vs ıs not effectıve
You did the right thing, would never prioritize work let alone useless meetings over my family
NASA cannot take risks of this magnitude, as US Congress will not fund such projects.

SpaceX can take as much (bussiness) risk as Musk deems acceptable
I don't know what it's like now, but in the 1980s, we received aid, and you certainly couldn't live on it. It was a horrible existence. Yeah, we'd sometimes game the system. For instance, we knew if we bought something for $4.01, we'd get the $0.99 change back as cash. We'd trade vouchers for cash sometimes (to, say, put kerosene in the heater) But, we're only talking about gaining a few hundred dollars a year. If people in your social circle are living large, I'd love to know their trick.
Well, it seems the conclusion is like in the old joke. "Doctor it hurts when i do this." "Stop doing that."

Just my outside perspective. I've had headaches as well from intense coding but those came from overexposure to blue light. I dialed down brightness, set up a red shift mode after evenings and used shield protector for a while. Went away after few months.
Thanks for ınformatıons
> many hobbyist pundits continued to insist this was actually a valuable product. No idea if they were paid or not, but I'm sort-of afraid they really weren't.

This pattern persists in hobby circles today. Once an idea takes hold as being true and enough people buy into it, it becomes extremely difficult to convince them it was wrong all along. Nobody likes admitting they were fooled, so they become invested in propagation the myth.

I’ve even encountered this in the business world. I joined a company, discovered they had been doing something with no value (actually negative net value when considering the cost) and explained that it was a myth. The first reaction was that they couldn’t just stop doing it, because that would be tantamount to admitting they were wrong all along. They wanted me to work backward to find a new justification to continue doing it. I left.
Everytime I hear someone from my dear Bulgaria claiming pure aryan race, and I roll my eyes. Of all the countries in Europe we must be one of the most mixed (lol, for good reasons) - as we are one of the connection points between Europe & Asia... but no ... pure Bulgarian race.... WAT?! (Actually our (10%) predecessors came somewhere from Bactria in Afghanistan... so really...)
I recently switched to this guy: https://www.amazon.com/dp/B000K9FKC4 and, after seasoning, I can still cook my eggs in a normal-amount of butter. It's not quite as easy as non-stick but getting better with use.

Last year I tried switching to stainless but it was just too much trouble for my daily egg cooking. I just never figured it out.

I use cast iron for many/most dinners but I wanted the sloped sides and reduced weight for flipping eggs.

I still use the non-stick occasionally for things like crepes but moving from daily use to weekly or less seems like a win.
Once you're down to user interface, you're no longer in "insurmountable technical advantage" territory.

But more critically, chat.openai.com is more of a tech demo than a serious product. So one can optimize the UX for "chatty and engaging" without being too concerned for accuracy. Bing, on the other hand, is intended to be a search product. It's noteworthy that adjusting the same model to provide a more accurate search experience seems to have snuffed out a lot of the magic.
Action Button Replacing Mute Switch in iPhone 15 Pro
this is a privilege.

the closest to this most of us ever get, is the 'sense' of ownership evoked by competent managers.

notice that it is a 'sense of' ownership. not real ownership;

anything that I create by myself, on my own, is not work; it's a hobby, it's fun, like really good games.

by this point I even think of work as all the other things I must do to afford rent, food, electric bills, chores, etc.
But just to be clear @chongli is logical

Think of UB as a probabilistic error. I.e. it is always stupid to rely on it

1. Write code without errors -- sensible
2. Allow compilers to assume the absence of errors -- occasionally sensible, since it speeds up your program

In defence of UB, for the most part they are things that should break your program anyway: stack overflow is never correct. So your choice is mostly to fail badly quickly, or to fail slowly well

Thanks to google making the UB sanitizers you are free to make that choice even in C
Yeah, because those things are toxic and poisoning you, your children, and our environment.

Now that those have been banned, companies will work to meet the market demand that you are noting, they will develop alternatives that are good, but also not poisoning us, and sell that. It will only be a minor inconvenience for you.

This is the exact same thing that happened with whale oil, leaded gas, leaded glass, sulfur diesel, ddt, on and on.

In each of those cases people were complaining like you, in each of those cases life went on and we figured out how to cope with the new, safer, less toxic, reality.

Edited to correct 2 spelling errors
It will cause things to move much slower. But I'm thinking we are at the point where we need to move to burden of proof to being safe instead of it being unsafe.
Obviously you could do that in this case, I just wanted to come up with a complicated formula.
RUSI⸻Conflict Operation Lessons at 1 Year Mark [pdf]
The Brown administration (ie Labour) did change the rules so that it was no longer possible to somehow be "Not domiciled" in the UK and yet be in Parliament setting rules - including the tax rules - for the country you're supposedly not living in.

Several Tories decided that not paying taxes was better than sitting in Parliament and so they quit as a result of this.
yes indeed. Probably everyone in Stockholm knows 'George Floyd' but would be entirely unaware of the names of locals who have suffered police brutality right there at home
> Maybe not the devs, but the management that knowingly shipped a defective fake product.

This was the era of software where a product could have a single developer. That developer might have also been one of the key business leaders.

It is funny to see how much modern software development has expanded to the point that nobody can imagine single developers making a product (especially a nonfunctional fraudulent product) alone.
But why put in unreachable?
Doesn't make any sense to me.

If a branch is truly not supposed to ever happen, why have a branch at all? Just remove that code from the source entirely- that helps the optimizer even more, because the most optimal code is of course no code at all.
This article is a mess. Energy is NOT power. Reporting on energy (which is what the original publication does; and even they confuse it) is almost pointless.

We need power. Not energy.

Let me explain. There is no such thing as a useful measure of energy reliability. Energy is the accumulation of power over time. Here's a super simplistic example to illustrate the point:

You spend all day walking through the desert. Your water bottle is empty. You drank it all. You really need water, yet there's none to be found. You nearly die a few times, yet manage to make it out to a settlement by nightfall.

Someone there fills your bottle with water.

A reporter says your bottle, over that 24 hour period, was full.

That's the way you compute energy. You can have zero power for 12 hours and then have some for another 12. Energy just adds-up all the bits of power you had over 24 hours and reports it as one number.

Energy comparisons are useless.

Here's reality:

Solar is, nominally, about 50% reliable (if this term isn't comfortable, think "available").

No?

It turns off at night.

Roughly 50% of the time...it does not work.

Wind, on the other hand, does not suffer from this issue. It is much more reliable.

With the addition of a nominal amount of storage wind can easily get up to 95% reliability. Solar, with the same amount of storage, runs about 70% reliability.

This is about power delivery. Consistent. Water bottle in the desert, to use when you need water.

Ignoring all other factors (environmental, wildlife, NIMBY, noise, etc.), wind is a far better technology than solar.

Yet, again, to pull this back into the realm of what we should discussing: We need to talk about power, not energy. When you go to charge your electric car at the same time a million other people want to do the same thing, you need power.
Wiktionary dump file parser and multilingual data extractor
>that money could absolutely be spent better in other ways.

It can't. The amount of money allocated to the space program is insignificant and doesn't move the needle. There are diminishing returns to putting more and more money into the same things. By investing a little into every sector you diversity and pick up the low hanging fruit.
Big business and government are adopting AI, what can it do for the rest of us?
Really interesting discussion with Python hacker Simon Willison on how people are using AI in personal settings. Also how it's going to allow people without programming knowledge to code.
Yup I've been using mine for years and years.

But honestly, I don't understand it in the context of capitalism.

Why does just this one good printer exist? Why doesn't it have competitors? Or if competitors aren't economical to exist, why does this one still exist?

I'm thankful it's here. But I can't think of any other product category at all where there's only one really good one and then everything else is overpriced crap.
Carbon steel is much better than cast iron! It takes some time to build up a nonstick coating (seasoning), but once you do fried eggs will glide around like they’re on ice.

I have a Mauviel that I love, but the Matfer Bourgeat is better for eggs because it doesn’t have the steel rivets on the inside of the pan. Both are made in France and cost like $70.

This is a solid explainer on carbon steel pans:
https://youtu.be/-suTmUX4Vbk
The entire purpose of the screen time is to improve real world interactions, as in your recipe example.

If it turns out that you just spend 80% of your free time online, you've lost. Your life is not better, it is in fact worse.
Because it's trivial to accomplish these things in other languages without containers?
Not OP, but I'll take a swing at this.

I do 15-20 minute "naps" on a regular basis. I find them to be equally refreshing regardless of whether I actually fall asleep. If I do fall asleep, it's normally only for a minute or two. As far as I can tell, the refreshing effect of a catnap doesn't come from sleeping, but from spending at least a couple of minutes in that weird twilight state that precedes sleep.

That doesn't quite solve your problem, so here are a few things that help me fall asleep quickly:

1) Try to plan your naps so that you avoid stimulating activities immediately beforehand. If you try to nap right after gaming/doomscrolling/social media, your mind will be abuzz and it'll take much longer.

2) Nap in darkness. If you can't turn off the lights, put on an eye mask or pull your hat over your eyes.

3) Stimulating sounds can pull you back into wakefulness. Mask them by listening to white noise.

4) If you have trouble quieting your mind when it's time to sleep, try doing a handful of Vipassana meditation sessions. I found the practice of observing and dismissing thoughts as they arise to be really helpful when trying to clear my mind and fall asleep.

5) Don't sleep where you play. If you watch TV, use social media, or do other stimulating stuff in bed, your mind may be expecting some sort of stimulation (like Pavlov's dog) when you get into bed, which can make it harder to sleep. Either quit doing that stuff in bed, or sleep somewhere that lacks the pavlovian baggage.
What's interesting is that I absolutely love and adore Philip Glass's music, but I normally hate minimalism. I also dislike musicians who try to copycat Glass. It's like there is something deeper within Glass's music that they are unable to latch onto or something. And it goes without saying that I don't think the art of his music translates into the dialogue in the short film very well.