skysight-inc/HackerNews huggingface dataset:
The GIL has been a blocker for many years. It's nice that the team is making progress of course. IMHO it's one of those bandaids they need to rip off.

I was listening to the interview with Chris Lattner with Lex Friedman a week ago or so. Very interesting discussion on his project mojo which intends to build a new language that is backwards compatible and a drop in replacement for python with opt in strict typing, better support for native/primitive types where this makes sense, easier integrations with hardware optimizations, and of course no GIL. The idea would be that the migration path for existing code is that it should just work and then you optimize it and provide the compiler with type hints and other information so it can do a better job. Very ambitious roadmap and I'm curious to see if they'll be able to deliver.

The main goal seems to be to enable programmers to do the things you currently can't do in python because it's too slow in python without running into a brick wall in terms of performance.

I mostly work with JVM languages and a few other things but I occasionally do a bit with python as well. I've always liked it as a language but I'm by no means an expert in it. I recently spent a day building a simple geocoder and since I know about the GIL, I went straight for the multi processing library and did not bother with threads. IMHO there's absolutely no point in attempting to use threads with python with the GIL in place. I needed to geocode a few hundred thousand things in a reasonable time frame, so all I wanted to do was use a few different processes concurrently so I could cut down the runtime to something reasonable.

Python is ok for single threaded stuff but you run into a brickwall doing anything with multiple processes or threads and juggling state. In the end I just gave up and wrote a bunch of logic that splits the input into files, processes the files with separate processes, waits for that to finish, and then combines the output files. Just a lot of silly boiler plate and abusing the file system for sharing state. It does what it needs to but it feels a bit primitive and backwards and I'm not proud of the solution.

Removing the GIL, adding some structured concurrency, and maybe some other features, would make python a lot more capable for data processing. And since there are a lot of people already use python for that sort of thing, I don't think that would be such a bad thing. Data science and data processing are the core use case for python. I don't think people actually care a lot about the raw python performance. It's never been that great to begin with. If it's performance critical, it's mostly being done via native libraries already.
I'm okay with it until the database.

For http verb, I'm onboard with just using POST for everything.

The database is one area that you need more care. Even if just SQLite, storage persists and especially if this is for a company, needs to persist past you.
This whole thing rubs me the wrong way. The age policy is not in place for an exceptional kid, it's probably in place as a result of some legal/common sense measures.

This kid appears sort of clueless and the whole thing smells like SpaceX propaganda.
The RP2040 shows that Arm is far from dead in the space of tiny microcontrollers. And more are coming.
And Adderall aka amphetamine is prescribed for ADHD.
I wouldn't be surprised at all if Elon was personally responsible for that emoji.
Goddamnit, I found an answer and then edited it with a link to the upstream docs yesterday, and wanted to find that link again.

https://stackoverflow.com/questions/72440961/how-to-connect-...
> - they can move objects much faster between subinterpreters because they don’t need to serialize through a format like JSON

Why do you think that you would need to serialize to JSON? Pipes and sockets can deal with binary data just fine. With shared memory, there wouldn't be any difference at all.

> - since they are all in the same process you can implement things like atomics or channels easily.

This is also possible with shared memory.

AFAICT the advantage of subinterpreters over subprocesses are:

- lower memory overhead

- faster creation/destruction time

- ability to share global data (with subprocesses the data would either need to be duplicated or live in shared memory)
Your phone: "Ping! Your food is almost here. But the driver is only allowed to ring your door after you've seen this ad!".
No, this is only true if that hyperplane contains the origin; imagine an infinite number of hyperplanes that contain A and B; there are an infinite number of such planes for dimensions higher than 2. Now imagine the same, but connecting O and C; most of those AB hyperplanes are not orthogonal to those OC hyperplanes, it’s only coincidence if they are, though for dimensions higher than 2 you can always find a point C that happens to lie along the orthogonal line from the AB plane to the origin.
The main argument was that megaupload wasn't providing personal storage because seldomly downloaded files would be automatically deleted, and all the incentives were geared towards maximizing downloads where they would get ad revenue. Therefore their system was not a storage system, but a download system, and a download system that incentivized illegal downloads by making zero efforts into trying to curb piracy.
They had advanced and aggressive systems in place to remove CP that they could have used to curb piracy and they obviously didn't decide to use that technology.

It's a pretty weak case with _horrible_ execution, but given the magnitude and size of mega/rapidshare at the time, something had to be done because it was getting out of hand.
C is not what I would call a very readable language. I don’t think you could drop someone who newly learned C and have them be effective looking at glibc for example.
"We made an addictive product. Fuck you for being addicted to it."
Apache SeaTunnel Integrates Masses of Divergent Data Faster
You're taking about securing the data itself, which has nothing to do with its parent structure.
> We rely heavily on dealerships for anything from borrowing specialty tooling, local parts departments, knowledge and advise etc.

What makes it impossible for the manufacturer to provide such things?

If Ford chose to do away with dealerships, they couldn't provide regional parts and training facilities? (Hell, they'd probably already need to buy out a dealership or two for every major city or region already, anyways.)
Curb Cut Effect
/r/startrek/ migrates to lemmy
What elite American universities can learn from Oxbridge
For those clicking in expecting "Neo's protein porridge," "Morpheus Meatballs," and "Trinity's Tripe," you are going to be disappointed in that this is neither a delicious pop-culture recipe book, nor does it relate to hit Wachowski trilogy "The Matrix."
They should set up an old-style MSDN service where CD-ROMs arrive in your mailbox every month.
If you didn't learn anymore, could you still be conscious?

IMO the answer is yes.
I would think you are referring to implementations of the one prevailing idiom as opposed to seeing multiple idioms for the concept. The idiomatic way to represent a growable list in C is to make a list (using some implementation) and put it in a structure with bookkeeping data, then using that list by passing it (or a pointer to it) to plain old functions to use it.
GPT probably generates a lot of its programming related answers based on StackOverflow. I wonder what the quality of GPT would be for future developers if SO did retire!
> single website

Many many projects host on readthedocs.com. So that's another major failure point.
I don't get the impression the UC Berkeley class is all that squeamish about a few harmless security state shenanigans. The fucking Bushes and Cheneys are being bandied around as the "good guys" now.

But the mentally ill homeless veterans wandering around their kids' campus a couple decades down the road - that's scary, in an immediate, visceral way, for anyone.
:(

That's unfortunate. At least you can still get May's dump which has plenty of material.
Meta and DeepMind alumni raise €105M seed round to build OpenAI rival Mistral
No, "all the problems from sitting" for 2 years should not include new brake lines, forks, etc. It does need just a carb clean and battery. Over-estimates are just as bad, if not worse, for a mechanic's reputation. He either did work that did not need doing, or simply said $1000 because he didn't want that shitty job.
CPython is so hopelessly slow, I wouldn't care about 10%. For most of the stuff written in Python, users don't really care about speed.

The impact won't be on users / Python programmers who don't develop native extensions. It will suck for people who had a painful workaround for Pythons crappy parallelism already, but now will have to have two workarounds for different kinds of brokenness. It still pays off to make these native extensions, however their authors will create a lot of problems for the clueless majority of Python users, which will like end up in some magical "workarounds" for problems introduced by this change very few people understand. This will result in more cargo cult in the community that's already on the witch hunt.
Common sense says that these pandemics happen cyclically, and are of natural origin. Just like all the other ones that happen every 20-100 years.
Evaluating OpenAI’s Whisper on Community Conversations
I agree wholeheartedly. I don't understand why everyone insists on repackaging the same data over and over.

Store it in one format in the database.
Read from the database and transform it.
Package that into a TO object and send it over the wire.
Receive the TO object and repackage it into your local context
Take the local context and repackage a bunch of parts of it into each view model as necessary.

Everyone just wants to bundle up data and throw it over a wall instead of working together to engineer end to end.
I couldn't find anywhere in the article, how long does it take to add all 10,000 embeddings to the index? That seems quite important for many applications
From reading the nogil repo and related PEP, C ABI breaking does not seem to be the worst problem. An updated Cython, Swig, etc seems like it would be enough in most cases to get something running. More extreme cases might only have ~dozen LoC changes to replace the GIL Ensure/Release patterns.

The hidden really hard problem is that extension modules may have been written relying on GIL behavior for thread safety... these may be undocumented and unmaintained.

Even so I hope the community decides it is worth it. A glue language with actual MT support would be much more useful.
...and shaft drives are the way to ride.
> "The sentencing of Mathias Ortmann and Bram van der Kolk ended an 11-year legal battle by the men to avoid extradition to the United States on more serious charges that included racketeering."

11 years, how exhausting. I can't imagine. Both were sentenced to a little over 2 years, I wonder how their sentencing would have changed if they would have been extradited?
> I think board games can get away with a lot more randomness and chaos than computer games as they have a big social aspect to them. If you go from a successful, winning strategy to losing in a computer game because of someone having a specific card, then you'd probably stop enjoying the game, but with a board game it tends to spur a round of laughter instead.

I'm not sure why you think there's any difference. RNG is RNG. At least that's how we treat it in our group.
Any time I see "Sent from my iPhone" I assume the sender is a fool
Flow Proof Helps Mathematicians Find Stability in Chaos
I don't know that that's proven. I think it has been shown that index mutual funds generally do as well as actively managed funds. One explanation is that the fund managers don't know better than anyone else. Another explanation is that the fund managers do know better, but their fees are so high that it cancels out the benefit of their expertise. That is, their expertise is real but overpriced.

On a practical level, there's also the matter that, even if some fund managers do beat the market, some other fund managers don't, and it's hard to tell which is which. By going with an actively managed mutual fund, you take on "how do I know my fund manager is one of the good ones?" risk, which you don't have with index funds.
Huh?! I despise their recommendation algo. So much so I've stopped clicking on even mildly-interesting-looking vids on my YT (Premium) home page.

I watched one, ONE, video about James Randi; the next day half the recommendations were clips about him, most from...I need a name for those channel operators who re-post other peoples vids just for impressions. "Scumbags"? "A-holes"?

But I digress.

I click on one British historian and see 10 videos from other British historians the next day. I click on a gay comedian's video, and see 10 other gay comedian videos. Wait a day and I'll see gay British historians' videos! WTF?

I used to spend several minutes during each session selecting "Not interested" and "Do not recommend" to tweak the algo and I don't see any proof that it works.

I just ignore the home page these days. Much like I do Twitter and Reddit...
https://this-week-in-rust.org/blog/2023/05/17/this-week-in-r...
Noob Observation: There is an element of knowing what saves you time and then on top of that why and how it does. The saving I will divide into two categories:

1. Easy wins category: Don't repeat code, cause you will take twice to change it. This is clearly visible to even the author.

2. What I call the "tougher" win category: When you require more executive function like breaking a bad habit, managing cognitive load; in short understanding why it saves you time in the long run. A reasonable example of this is using typing in python. I and many of you know that you can catch errors way faster using types+pyre(for example) than writing tons of unit tests, but it takes an old python programmer longer to get used to putting in the types and some times remembering to set up and use Pyre to get used to the idea of how it saves time. Pre-pyre used to python dev might just think "I will write tons of unit tests".

There is obviously a psychological/mental health component to this.
Unless there's a compelling reason...like a use case for caching (your server or an intermediate) or high volume (POSTs are larger requests), POST for everything is a good default.
I mean running bind[1] locally configured to act as a DNS cache.

The operating system does some DNS caching as well, but it's not really tuned for crawling, and as a result it's very easy to end up spamming innocent DNS servers with an insane amount of lookup requests.

[1] https://www.isc.org/bind/
Is SpaceX a successful business or just subsidized? Arianespace, from what I can see, makes a very modest profit.
Unihiker, an $80 single-board PC with 2.8“ touchscreen, quad-core ARM Cortex-A35
The is significant. Gambling and football betting ads make up a significant percentage of TV, radio, and newspaper ads in Western Europe.
I think, "It wasn't very effective" is just the author filling space on a page with copy, not the assessment of an engineer.

The conventional wisdom among experts is relayed here by The Chronicle:

> Van Ness was once the city’s grandest boulevard, lined with Victorian mansions and impressive churches. That all came to an end when the great San Francisco earthquake of 1906 set off a firestorm that raged for days. The fire came under control only after the U.S. Army dynamited nearly every building on the east side of Van Ness. So the avenue provided the firebreak that saved the city.

https://www.sfchronicle.com/bayarea/nativeson/article/The-ba...

I think of Victorian mansions as being wooden construction, and from a fast look at the results of image searching "Van Ness Avenue before 1906" that seems to be the case.
I remember how insanely quick the GUI on the first MacOS X Server (1.0) version was. It was mostly (simple explanation) a classic MacOS theme slapped on NeXTStep with some additional things added (and stripped). Then when the consumer version was released, it looked like a ”Hollywood OS” or a fancy Kaleidoscope scheme (3r party themes for classic MacOS). But it was slow as…

So the transition for me took a while at the start. Think it was Jaguar, or maybe Panther when i moved 100% to MacOS X.
And many of these types really enjoy forced RTO as it turns out.
Notably yesterday Guido posted an update on the Faster Python plans w.r.t. the no-GIL plans (https://discuss.python.org/t/pep-703-making-the-global-inter...) specifically:

Our ultimate goal is to integrate a JIT into CPython
That’s the stupidity of people holding onto their party so loyally. Politicians are only loyal to those paying the bills, and most citizens are not contributing enough to their “campaigns” to matter.

Someone posted the other day about the (likely apocryphal) story of a California statesman who struggled to find a place to live in SF because of high rents and his limited resources. 10-15 years later that same politician is a multi-millionaire while making less than most starting engineers in SF and with none of the equity. It’s astounding how wealthy people get after becoming “public servants.” Ugh.
Historically, car manufacturers screwed dealerships. One of the ways was selling franchises then deciding that they could make more money selling directly to customers. Or that they needed some extra cash, so selling so many franchises that none of the dealerships could sell enough to break even.

Many of the laws about warranties were due to poor behavior of manufacturers. In the US, repair parts need to be available for at least 10 years for cars. In the past, the manufacturer could just decide that they didn't want to sell repair parts - just buy a new car.

The Great Depression reduced the number of car manufacturers by about 95%. Which brings me to a more important point. A number of laws were passed to prevent the Great Depression from happening again. Repealing several of them gave us the 2008 financial crisis. Making exceptions to the Securities Acts of the 1930s lets us all relearn the history of why those laws were passed in the first place with all the crypto scams. These laws exist for a very good reason and repealing them is only good for con artists and crooks. The rest of us get screwed.

Modern car dealerships in America are the embodiment of modern rent-seeking. Every department treats every other department as the enemy. Each department that touches an item (spare part, used car, tires, floormats, whatever) has to raise the price 30% to cover overhead and the need to be a profit center. Sears went through this exact same behavior as it crashed and burned. Jack Walsh used the same behaviors to make General Electric the darling of Wall Street.

> tried to push every useless feature or additional warranty that they could.

Every sales rep that works on commission works this way. Salaried sales reps don't. Any commissioned sales rep that refuses to work this way ends up quitting very very quickly.

Disclaimer: I used to work for General Motors which used to be the largest car manufacturer and the very reason that many of the dealership & warranty laws were passed in the first place.
Elon is a businessman and nothing more. Everything he says is bullshit just to further his business interests. Not just Elon, all billionaires do these things regularly. I don't fully understand the game they're playing, but no doubt so much of what the rich do or say is to manipulate public opinion, distract, or gain favor.
Migrating a Live Mastodon Instance with No Downtime
It would require no changes from pure Python apps (as the nogil implementation preserves the current behavior & thread safety of python objects).

But any C extensions that rely on the GIL for thread safety would be an issue..
> Is ZLUDA a drop-in replacement for CUDA?
Yes, but certain applications use CUDA in ways which make it incompatible with ZLUDA

So no then.
https://Flightcontrol.dev is a relatively new one that provides a PaaS-like experience on your own AWS account

*I'm cofounder & CEO
Linux Kernel Memory Barriers
But, _what_ is the point of using a different layout/structure for storage vs the UI layer?

Remember I'm a 0.5x developer. If I have to write code to transform data for every kind of entity/object I need to store and have a UI to view and edit, that's way too much. I'm already very slow. No need to slow me down further by telling me I have to write so much extra code that does no useful work.
As a long time gear-head with lots of various engines around (cars, motorcycles, snowmobiles, etc. etc.) I would second this. Never buying a carburated thingy again. Its electric motor or fuel injection.
Half-Life Physics Reference
The last time I cutout a blue power LED, it was so bright that it not only would light up the room the device (speakers) was in, but it would also light the hallway outside the room if the door was left open.

It was so bright that even two layers of gaff tape didn't resolve the situation.

It's crazy. I often wonder about the reasoning behind choosing to use these LEDs is. Does nobody actually use these device in the real world during development?
Eh? What's in this alleged horse?
C has plenty of macro use doesn’t it? Even something as simple as a doubly linked list is implemented with lots of macros in the Linux kernel AFAIK.
I get a site that announces maintenance.

You can post this in your browser console to overflow the stack in the meantime:

i = () => i(); i()

In a few moments there will probably someone that can do it with using just 1.5 bytes of code.
I didn't know either until I saw the ads everywhere. I don't live in the city and don't really pay a huge amount of attention to the local news.
If you run a successful blog or similar, you will start getting offers from gambling companies wanting to purchase advertising and articles. These are legitimate offers and they pay well - even if your content is very local or narrow, such as citizen journalism. Gambling is an extremely profitable business, and they want as many customers as possible. Expect their advertising to only grow.
yeah would probably be good to include where it doesn't work. 1% of the time? 10%?
>> It was extremely difficult to play for newcomers. You almost didn't even get a chance to frag old school players once because of the skill discrepancy.

I think games say a lot about generations.

In the old days you had to persist a lot and be a bit of a "hacker" to play Quake, or at least have basic computer skills. I remember how difficult it was to configure Qizmo for Quake World.

Nowadays everything is ready for you to play and even if you are a beginner you can play with the most experienced. In Quake you can spend 1 year playing and not win a single match.
This is the fallacy that the majority of people suffer from: if I don't see it, it doesn't happen.

There are tons of functional, contributing people using drugs, but you don't know about it. All you saw are the people who have hit rock bottom and developed serious issues with them, and you've assumed they must be the only ones using dreugs and that drugs inevitably lead to that. It's a common error, but a big one nonetheless that leads to wildly unscientific conclusions. To then make or support policy based on those conclusions is extremely irresponsible.
I wonder if the evolution of adblockers will be 'computer vision model figures out where the ads are, then propagates the timestamps to all subscribers to auto-skip them SponsorBlock style'? Not a great deal Google can do about that.
Yeah I really hope this is exclusive to personal throwaway projects. Otherwise such thinking can land you and your potential users/clients in very hot water. A belief like avoiding SQL because is too complicated indicates to me you're incapable of handling data appropriately. Again, totally OK if you're smart enough to understand that you're not going to be using user data anyways maybe saving a theme variable here and there. But none of that is indicated in the article, and is why I'm so confused why the comments ITT are supportive.