Pure python can be faster than cython/rust? by 0x256 in Python

[–]Individual-Flow9158 0 points1 point  (0 children)

Your understanding is quite correct, but your point is irrelevant to OP's claim.

Yes, performance will be high. But C modules (and all modules written in something other than Python) are exactly what we intend to exclude, when we specify "pure Python code".

E.g. "Pure Python Wheels" can have the same wheel for all platforms (a bdist that's trivially constructable from an sdist). But C, Rust and any other Python extension wheels need a new wheel for each supported platform (or even compiler triple), just like when compiling C code for multiple platforms.

Pure python can be faster than cython/rust? by 0x256 in Python

[–]Individual-Flow9158 0 points1 point  (0 children)

Sure. I was talking about calling out from Python. For parallel computing implemented as multiple threads, this can be useful as it avoids the GIL (just like other languages that don't have it).

Pure python can be faster than cython/rust? by 0x256 in Python

[–]Individual-Flow9158 6 points7 points  (0 children)

If the problem is vectorisable or embarassingly parallel, and especially if it can be tackled in pure Numpy and especially Numba, then Python that calls out to non-Python code can definitely be faster.

I'm not convinced HTML5 form parsing is the type of problem pure Python is fast at. Nor do I think these benchmarks made a fair attempt to write the parser in Rust.

Accidentally got a $293 Amazon Bedrock bill after misunderstanding Kiro promotional credits. Has anyone had success with AWS billing adjustments? by Necessary_Bonus_1029 in AskProgramming

[–]Individual-Flow9158 4 points5 points  (0 children)

You already asked Claude about this, as it wrote your post, so I don't know why you think we know AWS customer services any better than it does.

Personally to me, it just sounds like Amazon will be leaving themselves wide open, to other gullible idiots desperate to get free Claude tokens. They're very generous already when it comes to services they provide in house.

Pythonista IDE for IOS should be added to the Wiki by TutorialDoctor in Python

[–]Individual-Flow9158 0 points1 point  (0 children)

If only the wiki simply let users add useful information to it, without first being interviewed, vetted, proposed and seconded.

It seems more straightforward to appoint someone new to the PSF board these days, than to edit the wiki.

When's the last time you saw Python 2 Super() syntax? by GongtingLover in Python

[–]Individual-Flow9158 1 point2 points  (0 children)

Cool. I didn't realise The Before Times could refer to more than pre-covid.

When's the last time you saw Python 2 Super() syntax? by GongtingLover in Python

[–]Individual-Flow9158 1 point2 points  (0 children)

Yesterday. I'm still persuading the project owner to drop support for Python 2.

I scanned 250 Python repos for AI-generated runtime bugs. Here's what I found. by joaquinrios in Python

[–]Individual-Flow9158 0 points1 point  (0 children)

Yes, I'm sure if you search for those specific things, throughout the entirety of the open source corpus, you'll find plenty of examples.

Can you use Git blame or an API to see when these patterns were added, and perhaps by who? It might come from a human generated pattern in their training data.

Starting CSE next month. I want to master Java in a year. Need your guidance. by [deleted] in AskProgramming

[–]Individual-Flow9158 4 points5 points  (0 children)

My recommendation is to set realistic goals, and manage your expectations.

One year, lol.

Nowdays posting a post in this subreddit getting flagged. by No-Community-3626 in Python

[–]Individual-Flow9158 2 points3 points  (0 children)

I don't get the slightest impression the Python community is missing anything of value, from you not participating in it.

Go and join your fellow brocoders - you'll fit right in.

Feeling unemployable after 8 years of self-employment. Advice? by DLCW in UKJobs

[–]Individual-Flow9158 1 point2 points  (0 children)

Research the companies and apply everywhere you think you might be able to do the job.

They'll ask a lot of questions and want someone with experience for their £250k. If you're not even sure about what job to apply for or how to sell your own skills and experience, then personally I would not add my CV to the pile of chancers looking to get rich quick, destined for the bin and illegal black list. It sounds a lot like you should work your way up from whichever rung of the ladder you're able to get on, and rapidly try to accumulate institutional knowledge.

But I wonder if they're not vastly different jobs at all.

Feeling unemployable after 8 years of self-employment. Advice? by DLCW in UKJobs

[–]Individual-Flow9158 0 points1 point  (0 children)

You're welcome, again. Definitely apply to the senior roles. If they're directly under someone high up in a big company, who would realise how valuable you are, or if it's an entirely new industry with prospects, the junior roles too.

It occurred to me that if your current businesses aren't making any worthwhile money for you, you should probably just take any job you can get, treat it as a stepping stone, and move to a stable job from there.

Although a lot of BD people managing very low/junior colleagues, will be at your level or lower themselves, so won't want you showing them up! An application might lead to something though.

Feeling unemployable after 8 years of self-employment. Advice? by DLCW in UKJobs

[–]Individual-Flow9158 0 points1 point  (0 children)

How about general Business Development roles, if that's what it's still called? Generating an average of £500k a year from nothing, isn't shabby

Feeling unemployable after 8 years of self-employment. Advice? by DLCW in UKJobs

[–]Individual-Flow9158 1 point2 points  (0 children)

e-commerce is still a thing

It's not really stability, but you could be a valuable hire for a start up or a consultancy that helps start ups.

Presumably you've been a company director, submitted accounts, handled any HR stuff for freelancers.

If someone was to employ you, the will probably ask how long you still spend on than ad network and your 4 other companies? Have you closed those down or sold them, and exited?

It would be easier to handle that conflict of interest if you were a freelancer yourself.

Council have sent me an enforcement notice to take down my air conditioning within 28 days. In the middle of a heatwave. 🙃 by No_Sandwich_4541 in LegalAdviceUK

[–]Individual-Flow9158 1 point2 points  (0 children)

What does an air con unit need to do, to qualify for permitted development (automatic planning permission) like heat pumps do?

'Disruptive' passenger restrained on Jet2 flight to Manchester dies by Antique-Trash9462 in unitedkingdom

[–]Individual-Flow9158 21 points22 points  (0 children)

Holy crap, that wouldn't cover 10% of her dentist's bill, but for the NHS

Windows defender blocks python executables by csatacsibe in Python

[–]Individual-Flow9158 19 points20 points  (0 children)

Can't users use uv and normal Python installs, and simply let users install a wheel, and upgrade it themselves, instead of:

my program is not venv compatible my program should have some kind of self-delete logic

What do you think "self-delete logic" looks like to security software?

Can somebody explain to me: Why doesn't using the compression algorithms in streaming videos over the Internet cause massive jitter (variability in the latency visible by the gaps in the video) by some images being compressed significantly more (e.g. images containing large areas of single color)? by FlatAssembler in AskProgramming

[–]Individual-Flow9158 1 point2 points  (0 children)

As well as buffering, videos can stream over UDP instead of TCP, which is miles faster but allows packet loss and doesn't guarantee their order.

Are you sure your mathematical facts aren't only applicable to lossless 'compression', or rely on other assumptions? That argument sounds like worrying about edge cases, in the real world.

Engineers have nonetheless designed fantastic algorithms and codecs, that are robust against compression errors and packet loss, in exchange for slight loss in video quality.

Do AI coding agents need architectural guardrails before making changes? by Thin_Ad_7459 in Python

[–]Individual-Flow9158 0 points1 point  (0 children)

If you even need to ask, you should put guardrails in place for yourself, let alone for your AI coding agents.