skysight-inc/HackerNews huggingface dataset:
I don’t think that’s what justice means. Justice means that only people who a jury believes are guilty of a crime beyond a reasonable doubt go to jail. Defense attorneys serve that definition of justice. One could argue that prosecutors stand in the way of justice because their job is to put someone in jail regardless of whether they are truly guilty. In reality, the adversarial system is justice.
Sorry that's not accurate. Asyncio and threading offer the same variety of "parallelism" , which is that both can wait on multiple io streams at once (the gil is released waiting on io). Neither offer CPU parallelism, unless lots of your CPU work is in native extensions that release the gil. In that unusual case, threading would offer parallelism where asyncio wouldn't.

Asyncio's single advantage is you can wait on lots of io streams, like many thousands, very cheaply without having to roll non blocking IO queueing code directly.
In what sense can we blame the devil? Isn't that a bit like blaming rain for being wet?

Put another way: the defining aspect of the devil is evil; the devil can't not be evil, because to be the devil is to be evil. This is effectively a stripping of autonomy: if you can't not be something, there's no meaningful sense in which you can blamed for being that thing.
I sure hope `someThing` is never `undefined`, for your sake.
> GUI toolkits (like Textual) however are a really good use case for Asyncio.

Only if the GUI toolkit is explicitly written to be asyncio-aware and use asyncio's event loop. Textual appears to be written specifically to do that.

However, other GUI toolkits that I'm aware of that have Python bindings aren't written that way. Qt, for example, uses its own event loop, and if you want anything other than a GUI event to be fed into Qt's event loop so your event-driven code can process it, you have to do that by hand and make sure it works. There is no point in even trying to use another event loop, such as Python's asyncio event loop, since that loop will never run while Qt's event loop is running.
Veritasium: Sleeping Beauty Problem
The great disconnect between AI safety guys and AI accelerationists is that the former produce blog posts and the latter produce AI.

Once again the doers beat the talkers. Shape rotators vs wordcels, if you'd like to use their lingo.
Yeah, let's levy all sorts of punitive measures on them. After all, they were responsible and they lost! Nothing bad could happen from that approach.
Related Wikipedia page:

https://wikipedia.org/wiki/Sleeping_Beauty_problem
Apparently not, see comment above.
The Kremlin Has Entered the (Telegram) Chat
> When left-wingers say "true communism has never been tried", which sounds and is outrageously stupid, this is what they mean.

i can't say what other people mean, especially when it comes to me secondhand like this, but what left-wingers should mean to say, (and probably do say, but it got garbled in your head), is that a communist society has never existed. a communist society is a speculated state of social development that has never existed. refer to:

https://en.m.wikipedia.org/wiki/Communist_society

you could make the same argument that democracy has never existed, and any government calling itself a democracy really means--if you're using the most generous interpretation--they are self-consciously structured in a way that is more democratic than some earlier government. and you'd be right about that, btw.
> during a time when IIRC some Coinbase employees were later charged with insider trading

That was likely Charlie Lee and LTC, not BCH.
Read an article about how Netflix stages in house CDN "boxes" directly in key ISP locations, directly on the switch. Certain high ranking shows are spread through the CDN for responsiveness. Some of the recommended shows are the ones staged close to the watcher to eliminate lag. https://about.netflix.com/en/news/how-netflix-works-with-isp...
"Sounds good to me! Wow, you are very impressive! That's great! Thank you, I appreciate your kind words. I completely agree! Well said! It was great talking with you too."

Too much harmony, boring.

When can we see some competition in mutual insults and computer gore?
Most unicorns have founders in the single digits of equity. By that time, whatever mission you might have is subsumed to the will of the majority shareholders, i.e. VCs.
To the 8086 hardware, the "IO Space" is a single line[1] on the bus, essentially a 21st address bit. When that is set, the "memory-like" devices know to ignore the transaction and "io" devices know to decode the address.

At the software level, it's accessed by different instructions. Instead of MOV with a memory location, you use IN or OUT. And notably those instructions take only a 16 bit address and no segment selector, so IO space is limited to 64kb.

Also note that to the IBM PC, IO space was routinely truncated to just 10 bits. I honestly don't know if that was ever standardized or not, but that's the way production devices and chipsets have always worked. The extra address lines never worked, and generally aliased with devices in the bottom of the space that were ignoring the top bits.

[1] Actually it's multiplexed in a group of 8 bus states addressed by three lines, because Intel was stingy about pins. But logically it's an extra address line. [This is the spot where I repeat my request to Ken to please do a blog post on the insane bus management on this device, which I'd dearly love to see.]
> From what I could gather

I found a summary thread from @jeanburgess@mastodon.lol which broadly agrees with this: https://mastodon.lol/@jeanburgess/109837309981257160 (https://archive.ph/GZtld)

Copying/pasting below for when the instance is gone and the link is unreadable. Sorry for huge.

============================

“So my [@jeanburgess] rough summary of what has gone on at mastodon.lol:

1. The instance dates back to 'early Mastodon', started by a guy known only as Nathan to create an inclusive space for queer and trans folks away from the Twitter cesspit.

2. it has always been a one-man band, with very hardline mod & #fediblock rules against Nazis, TERFs, sexual exploitation, etc., but permissive in terms of (CWed) NSFW content, is now quite popular with all kinds of geeky queers, trans & stans. And generally lovely!

3. for several months there have been tensions and politics around content moderation, as well as clear signs of admin overload and burnout, not helped by said 'one-man band' approach. But lots of good support, patreon $ etc etc and it stayed up despite huge influx of new users.

4. Fast forward to...like, yesterday? as I understand it some ppl wanted anyone posting +vely re new JKR franchise game to get booted out? There was conflict, admin felt harassed, I think it was the last straw...

5. and @nathan announced the instance will be closing in May - and no way is it being handed over to new "owners" (citing privacy concerns wrt the database of users).

6. more conflict ensued, with some posts getting pretty nasty, including going very close to calling the admin a Nazi sympathiser (!! not cool), In turn he instructed some such people to "kill [themselves]" (!! very not cool). The latest post says we "won't be hearing from him again". I'm obviously very concerned for his wellbeing. n/n, lost count sorry, The End for now. Total and quite sudden meltdown, basically. ((and hey, maybe governance, while not punk, is important actually))”
I feel like it have taken quite a few tools some time to catch up. Or if they've caught up, it wasn't straight out of the box. Like, I had to upgrade my linter to handle match cases, but that bump (as we were running an older version) also introduced new rules breaking other code. Since I didn't want to take that work right then, I rewrote to an older if statement and put a task in the backlog to upgrade the linter.

So I've actually seen little use of match cases so far.
Makes one wonder how much of it has found its way into illicit hands. Yes, it's more dangerous to the owner than to any target at this point, but if you know what you're doing it could be a source of explosives that is otherwise completely untraceable.
As a mere mammal, it's hard to comprehend the scale of things like the earth. The crust on the ocean floor is "only" about six to twelve kilometers thick. This is only one one-thousandths to two one-thousandths of the earth's radius. It might as well be a drop of sweat entering a crack on your chapped lips by comparison. Some would get into the lithosphere, but that's still quite near the surface, again, next to everything else.

Once you get past the crust, and then the various layers of the mantle, to the liquidy bits, well ... the density is so high that water would be completely forced to float to the top even if you could get the water down there. Plus it would be exposed to high temperatures and might well be steam (depending on local pressures).
When I'm in the UK, I drive on the left side of the road.
> We need to teach this thing how to love

Have you considered that maybe we don't
Anders Hejlsberg – creator of TypeScript, C# – on programming languages
There is an argument, of who started it.

But there is (or rather was) an greater argument, of not wasting anymore time, with historic fights over and over again and rather move on and look forward.

All the great conflicts are getting solved that way and not with bean counting.
You can do that in go. You don't even get a reference to the thread/goroutine.
I use Clickhouse to store close to 1TB of API analytics data (which would be 10TB in MongoDB, Clickhouse has insane compression ) and it's a wonderful and stable SQL-first alternative to DuckDB - which is a very exciting piece of software, but is indeed too young to embed into boring production. The last time I checked DuckDB npm package, it used callbacks instead of awaits..
People often said they can do "better" job than the ChatGPT.

In practice, what i care more is "shorter time", no need for "better", because i can make it better myself.

Just like instead of you write the draft version by yourself.
No one is protected from nuclear bombs. That's the point.
There was an NES port but it was watered down a bit IIRC.

Wizardry I was a pretty standard D&D style dungeon crawl game. 6 chars, your basic classes (fighter, thief, cleric, mage) with a few prestige classes. Wander around the dungeon and occasionally, well, frequently, run into groups of monsters. A few dynamics I remember being particularly pains in the ass:

1) You could not save while in the dungeon, and if you wiped your party was stuck there, dead. You could go rescue them by going to that space and picking them up *BUT* that meant you had to go down there with fewer than 6 people in your party & thus underpowered and you couldn't mix good & evil alignments in a party. So in the early game it was often easier to just reroll new chars, and at the end of the game it could be almost impossible to go fetch them

2) Your characters aged over time, and stats started getting worse. So in a sense you're on a timer.

Wizardry II & III were more of the same IIRC. Wizardry IV was notorious for being the most difficult game ever made at the time. I pointed one of my hardcore gamer coworkers at Wiz IV not too long ago, he's the sort of person that defeats every new game in a microsecond. He gave up after a day and said he couldn't take it.

The ones after that became more like standard CRPGs people might recognize in the 90s + beyond.
Ironically a new unresolved incident now, so I was initially not sure to which they were referring…
I am a huge fan of parallel and async code. I spend a lot of time researching it and trying to design software that is easily parallelisable.

Many GUIs use the event/message pump pattern, such as Windows 32 API. Qt does something with its event loop (QEventLoop)

Threads are a rather low level instrument to get background tasks going because the interface between the main thread and the threads is rather omitted.

In Java you could use a ConcurrentLinkedQueue. And in Python you can use JoinableQueue.

I am heavily interested in this space because I want to write understandable software that anybody can pick up and work with. I worked on a JMS log viewer that used threads but would crash with ConcurrentModificationException due to not being thread safe. I changed it to be thread safe but its performance dropped through the floor. In my learnings since then I should hast sharded each JMS connection topic to its own thread or multiplexed multiple JMS topics per thread and loop over them. The main thread can interrogate the thread with a lock, that should be faster than every thread trying to acquire the lock. It would be driven by the main thread but the work is done in the background. The threads can keep the fetched messages in memory until the main thread is ready for them.

I think with the right abstraction, thread safety can be achieved and concurrency shouldn't be something to be afraid of. It is very difficult and challenging working at the low levels of concurrency such as a concurrent browser engine. (I've not done that though.)

This is why languages such as Pony lang, Inko, Cyber and Erlang, Elixir are so promising. We can build high performance systems that parallelise.

Writing an async/await pipeline that looks synchronous is far easier to understand and maintain than nested callbacks. So I can see where async is useful. I just hope we can design async software to be simpler to maintain and extend.
The last Civil War casualty was just a few years ago when someone was fooling around with an intact shell.
these lyrics really do not seem like Decemberists, sure it has a sea theme like a lot of their songs, but the language is much simpler, and it misses the irony and the misanthropy and perhaps self-loathing of most of their music that I am familiar with.
> the contractor digs, finds a bomb

What does this mean ? Someone is operating a backhoe and there is a loud KLUNK and the operator looks at what it hit and says to him/herself jeez I'm lucky to still be alive ?
I never would have thought that what I'd read in The Cyberiad as a kid would be playing out in the real world.
Stanislaw Lem really was a visionary..

https://gwern.net/doc/ai/poetry/1974-lem-cyberiad-trurlselec...

https://gwern.net/gpt-3#stanislaw-lems-cyberiad
Is there an output from the instruction decoder that indicates an instruction is doing io? or maybe one for read and one for write?
But people are making this an antisemetic attack. Nothing about that is antisemetic.

I would say y'all comparing jews with goblins are the racists.
Just how many crises akin to these pilots near-miss did you experience?
AI Bot for Art Criticism
Tom Power spoke with artist Hannah Epstein about her latest project, Critbot. Launched in collaboration with two more Canadian artists, Cat Bluemke and Jonathan Carroll, the Critbot website allows anyone to have their artwork reviewed with the push of an upload button: paintings, photographs, all manner of still visual media. And depending on your willingness to get vulnerable, users may select one of three levels of criticism: kind, constructive or harsh.
Exactly this. It was a joy reading this article because it shows how deep the rabbit hole goes - but in 99% of cases I would still choose cloneJSON, because a) no external dependency, b) I (think I) know what it does and c) I don't care about anything that is not data and I don't care about BigInt and Symbol.

There is a reason none of the libraries tested got it "right" - nobody needs it. Or if they do, they just write their own implementation.
I'm not good at emotions and can really only recognize about 3 or 4 in myself. I do try to understand what value each emotion can have, on the presumption that if it had no value, it ought not to continue existing. Envy is the hardest one for me to find value in. At best it can be a kind of competitive motivating factor. That's all I've got.

I think I avoid envy by first believing that 'I' could have been anyone on the planet, but just happened to be 'me'. Given that as a starting point, do the most with what you have. Even then I don't do near close to the max, so I'm not in any position to complain or desire beyond my means which I haven't realized.
Honestly I don't blame him. Perhaps he's used to read where the number of bytes to read follows the buffer:

https://man7.org/linux/man-pages/man2/read.2.html

ssize_t read(int fd, void *buf, size_t count);

That's how it works in every sane I/O API I've seen. What's even the point of the size_of_item argument?
Any cloning happens on data retrieved from an API, which is always JSON, and cannot contain undefined by definition.
I'm sure it's not a perfect delineation, the world is complicated. Nevertheless, it's still quite useful.
What is the relevance to the OP’s question?
On flying on a plane vs alcohol:

It is need vs want debate.
I wonder if we'll ever chance across some silphium with enough genetic data to revive it in one of these archeological finds. I've always found that story fascinating and I'd love to see the mystery solved one day.
As a quirky marketing exercise, we used ChatGPT to write parody lyrics for a song about ONC g.10 compliance to the tune of "Like a G6" by Far East Movement.

We then paid $50 on Fiverr to record it: https://soundcloud.com/medplum/medplum-g-10

The whole thing took about an hour of effort. It was easy to be fun and lighthearted about it because "AI wrote it" and we didn't experience the normal fear of publishing.

This is extremely niche marketing, but our core audience loved it. Great bang for buck.
> Is it really though?

It really is. People flee high-crime/high-corruption countries for good reason. They also have demonstrably worse economies over the long term. KYC/AML efforts are only part of the difference, of course. But we've ended up with KYC/AML because it's one of the least intrusive ways of keeping crime in check.

If you think otherwise, I encourage you to go live in a high-crime/high-corruption country and let me know how much you're enjoying the "freedom".
> Considering you wouldn't feel satisfied most with only one option

Not true, the opposite often happens when you don't really have a choice and are mentally exhausted. If you're expecting choice and don't get it, then of course you're not going to be satisfied. But the lack of any choice (other than just leaving) can make certain people in certain states more satisfied than anything else. Legacy broadcast radio worked on this principle for a long time, and still does for people who just keep their car radio on a single station and let the DJ or talk radio producer make all the decisions.

> what will be the optimal number of options?

That varies significantly, both between individuals in terms of the average tolerance, as well as within individuals in terms of their present psychological state.
Well, other than the fact that it's too late now, that does actually sound like what happens after you lose a war, regardless of who's responsible.
The article is indeed rather fuzzy about what "libc" is. It seems to exclude "things provided by the compiler" while talking about varargs, but later calls out atomics with no such note.
The article you linked to doesn't say this at all.

It says almost the exact opposite; they cache shows based on the algorithm, not that they recommend shows based on what's cached.
I believe that the technocratic culture of US medicine is standing in the way of research on intranasal vaccines.

What you consistently hear from medical professionals is, "we have this proven technology, it works, the objections to it are irrational, can we please just be sensible?" So far, so good… (I'm a bit of a technocrat myself)

But why are people so afraid of vaccines in particular? There are all sorts of arguments about autism and turning frogs gay or whatever, but people are still happy to take whatever pills the doctor prescribes and hormone-enriched fast food… what makes vaccines different? It seems pretty clear that people are just afraid of needles, and from an evolutionary biology perspective, that's not irrational at all!

But "maybe we should make vaccines that won't scare people" just won't get you anywhere in the US medical establishment. Frightened patients aren't Serious Medicine.
Python has a few weird issues like this. The last one I encountered was with a class inheriting Thread, join and the SQL Server ODBC driver on Linux. Fairly sure I hit page faults thanks to a shallow copy on driver allocated string data but didn't have the time to investigate like the hero of this blog post.
How to build your Docker images faster?
Mushrooms Aren’t Here to Destroy Us – Or to Save Us
> It empowers all the non-experts in these many domains to touch things they never could have before.

Nothing stops anyone from writing a mediocre song. Hell, it's one of the easiest things in creation to do. Hum a melody, make some words fit. Write it down, make up your own notation for the melody if you want; you don't even have to perform it. Congratulations! You're in the same field as Colin Meloy.

ChatGPT isn't even doing this much. It's read all the tabs and lyrics of every song within its reach until 2021, and then spits out an average response based on average similar requests. It's a songwriter in the same way a 7-year-old telling you a story about an alligator who ate a city is an author.
Well, I don't know, I kinda miss the human angle. I'd have loved to first read six paragraphs about how the author's grandmother raised them on home grown threads and greenlets :^)
I suspect in this case the level of attractiveness play a role. You might get a 10 (for your taste) with horrible personality and a 6 with incredible personality, you might decide to compromise.

Or even more, you might change your taste for attractiveness over time.

Then, I know nothing about dates, been for 14 years with my wife and I met her when I was 20, so take everything with a lot of salt.

Some features that are attractive also can't be represented in photos (movement behavior).
This is an under-discussed problem with C++, the lack of a granular package manager leads to huge numbers of what are essentially incomplete Boost variants, and not due to the developers being bad; Boost is so huge that sometimes it makes sense to re-implement 5% of it.