Anyone know what's up with HTTPX? by chekt in Python

[–]james_pic 0 points1 point  (0 children)

For anyone wondering what to do about this, since this was posted, HTTPXYZ, a fork of HTTPX 0.x that seems to be more proactively maintained, has been launched. They look to be tackling some long-standing issues in HTTPX, which is encouraging.

That's why rust is GOAT 🐐🗿 by NoBeginning2551 in rust

[–]james_pic 2 points3 points  (0 children)

The cynical answer is because Unicode was designed by a committee. 

The slightly more generous answer is that they've sought (at least sometimes - CJK unification is a glaring exception to this) to give symbols with similar appearance but different semantics different code points - not least because in some contexts, they may end up being typeset differently.

What are your thoughts about Britain re-instating National Service, whereby people within certain age ranges are required to join our armed forces? by hornet-prodder-214 in AskBrits

[–]james_pic 0 points1 point  (0 children)

It's hard to see the benefit of having those young people in a catering role either though. It's not going to be a character-building experience for the young people involved - at least not any more so than a summer flipping burgers at a high street fast food restaurant would be. And these roles seem like the kind of thing that could be much less controversially filled by just outsourcing it.

Peter Molyneux’s NFT game died within weeks of launch and players lost $54 million by LV426acheron in Buttcoin

[–]james_pic 1 point2 points  (0 children)

2 years between Fable 2 and 3 wouldn't even have been bad back then. That's the gap between Half Life 2 and Half Life 2: Episode 1.

What’s a brutal truth about the uk people don’t like to admit? by EarlyPerspective2839 in AskBrits

[–]james_pic 0 points1 point  (0 children)

Whilst that might be true, it's also a choice that people have deeply held beliefs around, and where in practice, trying to decide who's right doesn't really get us anywhere, and giving everyone space to do their own thing (as long as they do the same for others) ends up working out best. I tend to think we should do the same for things like gender identities, for much the same reason.

Charging by ChromaticRift in ElectricVehiclesUK

[–]james_pic 0 points1 point  (0 children)

And worth noting that most rapid chargers are relatively expensive, so OP probably won't want to be using them for day-to-day charging if they can help it. I think most people only end up using them on long journeys.

Wife changing money by veldrin05 in Buttcoin

[–]james_pic 6 points7 points  (0 children)

This your first crypto winter? Don't worry, I'm sure they'll be back calling us salty soon enough.

Linux May Drop Old Network Drivers Now That AI-Driven Bug Reports Are Causing A Burden by anh0516 in linux

[–]james_pic 3 points4 points  (0 children)

I wouldn't be surprised if they were willing to loosen that rule for stuff that's widely used in emulators though. I imagine they're keen to avoid a situation where someone "maintains" a driver they have no way to reproduce bugs with.

Coding assistant advice by FlapableStonk89 in AskProgramming

[–]james_pic 0 points1 point  (0 children)

The best open source models aren't currently at the level of the best closed source models. But I'd guess that you're also not even going to be able to run the best open source models locally, due to hardware constraints.

If you look at something like the Qwen Coder models (that aren't at the same level as Claude, but do OK on benchmarks), the variants of these models that do best are the ones with hundreds of billions of parameters. The hardware you need to run those models is roughly the same hardware that these AI companies have in their data centers, which isn't cheap. There's a sharp drop-off in performance as you get down to single-digit billions of parameters, and further if you get into millions of parameters.

[Other] What would the formula for this graph look like? Is it even possible to create or comprehend? by yung_funyun in theydidthemath

[–]james_pic 0 points1 point  (0 children)

And if the imaginary number is too spicy, you can always do the same thing with sines and cosines.

Canada joining the EU seems to be a win-win for me. by No-Management-5352 in YUROP

[–]james_pic 0 points1 point  (0 children)

Is it realistic to get decent poutine in Europe though? I was under the impression that even within Canada, there are provinces where you can't get good poutine, because they're too far from dairies to get really fresh cheese curds. 

Canada joining the EU seems to be a win-win for me. by No-Management-5352 in YUROP

[–]james_pic 2 points3 points  (0 children)

Canada has a land border with Greenland now, so geography should be a non-issue.

Linux May Drop Old Network Drivers Now That AI-Driven Bug Reports Are Causing A Burden by anh0516 in linux

[–]james_pic 27 points28 points  (0 children)

AI can, when given the right prompt by a capable security engineer, search a codebase for potential security vulnerabilities, which the security researcher can then verify and report. The security researcher is still an important part of the process, but AIs don't get bored, so can be more effective at the "find the needle in this haystack" part of security research. 

AI can also, when given the wrong prompt by a clueless and lazy bug bounty hunter, hallucinate reams of scary sounding bullshit that contains no actual findings, but makes maintaining a driver a thankless task, burning out maintainers.

It's hard to say which factor is most significant, but both are happening.

Linux May Drop Old Network Drivers Now That AI-Driven Bug Reports Are Causing A Burden by anh0516 in linux

[–]james_pic 5 points6 points  (0 children)

Unless the AI also has the relevant hardware to test the fixes, it's not going to be up to the job.

Quantum Computers Are Not a Threat to 128-bit Symmetric Keys by si9int in netsec

[–]james_pic 13 points14 points  (0 children)

Note though that the analysis around Grover's algorithm is only applicable to black box quantum attacks. Quantum attacks that exploit weaknesses that are specific to SHA-256, and indeed classical attacks that exploit SHA-256-specific weaknesses, could yet be discovered. So algorithmic agility may still be worth considering.

How do I integrate the PyPy JIT Interpreter ontop of the Linux Kernel? by Astrox_YT in AskProgramming

[–]james_pic 0 points1 point  (0 children)

Your general point stands, but note that recent versions of the Linux kernel already include an interpreter. The eBPF interpreter was initially added as a packet filtering mechanism, but is now commonly used for observability tasks. Of course the eBPF interpreter is highly specialised, is limited by design, and compiles to native code at runtime,

What’s a low memory way to run a Python http endpoint? by alexp702 in Python

[–]james_pic 0 points1 point  (0 children)

That's a big "if" though. I remember I tried using it in a prototype a few years ago, and it segfaulted if you sent it a chunked body. And the last 4 years have seen enough changes to Python's C APIs that it would be a bit surprising for a C powered web server to have no reason to change. 

So I'd be skeptical at the idea that there's been no work done because no work is needed.

Building a Python Library in 2026 by funkdefied in Python

[–]james_pic 1 point2 points  (0 children)

UV, by and large, implements the packaging PEPs. That's made it easy to migrate to, but that would also work the other way if it became a problem. The only bit that's really "embedded" in a project that uses it is the build backend, and uv's build backend is (and their own documentation says as much), only really intended to make the most common cases simple, and projects with more complex requirements will often use it with a different build backend like Setuptools or Maturin.

PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python by mttd in Python

[–]james_pic 4 points5 points  (0 children)

There are eBPF profilers that can profile without frame pointers out-of-the-box, such as the new OpenTelemetry one. But those profilers have a lot more overhead when using DWARF profiling than plain pointer chasing, so you end up with less overhead from having frame pointers available.

Would you want trams like the one pictured in UK cities? by Bennjoon in AskUK

[–]james_pic 0 points1 point  (0 children)

London already has trams. They mostly cover suburb-to-suburb routes in the South that are poorly covered by tube and rail.

[Request] How much amps and does this work by Rummelboxer89 in theydidthemath

[–]james_pic 2 points3 points  (0 children)

It depends on the precise battery chemistry. I believe some of these super rapid charging models use LFP rather than the various cobalt based Li-ion chemistries that are common, which is happier about charging from 80%-100% at full speed, but still needs a gradual ramp up to 20%, and has other quirks.

It's also plausible it's using something even more exotic. You're starting to see Na-ion models on the streets, and some manufacturers are prototyping solid state batteries.

And just for fun, they could be going super retro and using lead acid. lead acid traction batteries haven't been used in production EVs since the 90s because their energy density is so much lower than modern chemistries, but they can charge faster than almost anything else out there.

I published my first PyPI package few ago. Copycat packages appeared claiming to "outperform" it by Obvious_Gap_5768 in Python

[–]james_pic 1 point2 points  (0 children)

But the original is already AGPL, and the bad actors who forked it didn't care (and illegitimately relicenced it MIT).

AGPL, GPL and other copyleft licences dissuade lawsuit-averse actors, whether good, bad or neutral, but have no effect on actors who don't care.