[-] FizzyOrange@programming.dev 1 points 3 months ago

I wouldn't recommend it. Installing Python packages not in a venv is asking for trouble. Why do you care anyway?

[-] FizzyOrange@programming.dev 1 points 3 months ago

And you’re making the assumption that it could be. Why am I the only one who needs to show anything?

"Could be" is the null hypothesis.

any person

Hmm I'm guessing you don't have children.

What do you mean, “certain of the answer?” It’s math

Oh dear. I dunno where to start here... but basically while maths itself is either true or false, our certainty of a mathematical truth is definitely not. Even for the cleverest mathematicians there are now proofs that are too complicated for humans to understand. They have to be checked by machines... then how much do you trust that the machine checker is bug free? Formal verification tools often have bugs.

Just because something "is math" doesn't mean we're certain of it.

Can I ask where’s your proof?

I don't have proof. That's my point. Your position is no stronger than the opposite position. You just asserted it as fact.

[-] FizzyOrange@programming.dev 1 points 3 months ago

Yeah sure, but that's true of every job. Would you rather be a waiter or a cashier or a cleaner or a teacher or a nurse or...?

The level of entitlement here is insane.

[-] FizzyOrange@programming.dev 1 points 4 months ago

In my experience the other alternatives tend to lack solid CI integration. I have yet to find an open source alternative as good as Gitlab's.

[-] FizzyOrange@programming.dev 1 points 4 months ago

git diff -w only ignores whitespace within a line (e.g. changing indentation). It doesn't ignore adding or removing new lines.

But even if it did, wrapping a function call or a long string can introduce extra commas or quotes.

[-] FizzyOrange@programming.dev 1 points 5 months ago

Yeah I have yet to really use Deno in anger because so many people are like "but Python exists!" and unsurprisingly we now find ourselves with a mess of virtual environments and pip nonsense that has literally cost me weeks of my life.

Though if you're using Numpy that source like "proper work" not the infrastructure scripting we use Python for so I probably would go with Rust over Deno. I don't know of mature linear algebra libraries for Typescript (though I also haven't looked).

IMO probably the biggest benefit of Rust over most languages is the lower number of bugs and reduced debugging time due to the "if it compiles it probably works" thing.

[-] FizzyOrange@programming.dev 1 points 5 months ago

that’s a tough sale to the product team

Sounds like you're not the boss enough!

I agree Rust has a pretty steep learning curve so it's definitely reasonable to worry about people learning it, especially existing employees. Though I don't really buy the "easier to hire people" argument. There are plenty of Rust developers actively looking for Rust jobs, so I suspect you get fewer candidates but the ones you do get are higher quality and more interested.

But anyway I don't think that argument holds for Deno. Typescript is in the same difficulty league as Python. Anyone that knows Python should be able to transition easily.

[-] FizzyOrange@programming.dev 1 points 5 months ago

Yeah I was very impressed. The only problem with uv and third party tools in general is that the main reason we're using Python is because my boss didn't want people to have to install extra stuff to use it. I would prefer using Deno, but apparently a one-line rock solid install command is too much to ask compared to the mess of Python infra... smh.

[-] FizzyOrange@programming.dev 1 points 5 months ago

they’re fast enough

Strong disagree. I switched from pip to uv and it sped my install time up from 58 seconds to 7. Yeah really. If pip is i/o bound where is all that speed up coming from?

[-] FizzyOrange@programming.dev 1 points 5 months ago

You'll always get downvotes for this from Linux apologists who didn't have the exact problems you're describing, but you're 100% right. There are loads of things you might reasonably want to do in Linux that require a command line, or just don't work well.

[-] FizzyOrange@programming.dev 1 points 5 months ago

Matrix code is the very best case for offloading work from Python to something else though.

Think about something like a build system (e.g. scons) or a package installer (pip). There is no part of them that you can point to and say "that's the slow bit, write it in C" because the slowness is distributed through the entire thing.

view more: ‹ prev next ›

FizzyOrange

joined 1 year ago