edinbruh
@edinbruh@feddit.it
- Comment on The C programming language is like debating a philosopher and Python is like debating someone who ate an edible 23 hours ago:
I like many of your points, but your comment is facetious.
You said it yourself, “it’s good for someone trying to bang out scripts”… and that’s it, that’s the main point, that’s the purpose of python. I will argue over my dead body that python is a trillion times better than sh/bash/zsh/fish/bat/powershell/whatever for writing scripts in all aspects except availability and if that’s a concern, the only options are the old Unix shell and bat (even with powershell you never know if you are stuck ps 5 or can use ps 7).
I have a python script running 24/7 on a raspberry that listens on some mqtt topics and reacts accordingly asynchronously. It uses like 15kiB (literally less than 4 pages) of ram mostly for the interpreter, and it’s plenty responsive. It uses about two minutes of CPU time a day. I could have written it in rust or go, I know enough of both to do it, it would have been faster and more efficient, but it would have taken three times the time to write, and it would have been a bitch to modify, I could have done it in C and it would have been even worse. For that little extra efficiency it makes no sense.
You argue it has no place in mainstream software, but that’s not really a matter of python, more a matter of bad software engineers. Ok, cool that you recognise the issue, but I’d rather you went after the million people shipping a full browser in every GUI application, than to the guys wasting 10 kiB of your ram to run python. And even in that case, it’s not an issue of JavaScript, but an issue of bad practices.
P.S. “does one thing well” is a smokescreen to hide doing less stuff, you shouldn’t base your whole design philosophy on a quote from the 70s. That is the kind of shit SystemD hater shout, while running a display server that also manages input, opengl, a widget toolkit, remote desktop, and the entire printer stack. The more a high profile tool does, the less your janky glue code scripts need to do.
- Comment on The C programming language is like debating a philosopher and Python is like debating someone who ate an edible 1 day ago:
I’ll be honest, I think modern python is cool. You just need to accept that it has some limitations by design, but they mostly makes sense for its purpose.
It’s true that the type system is optional, but it gets more and more expressive with every version, it’s honestly quite cool. I wish Pylance were a bit smarter though, it sometimes fails to infer sum types in if-else statements.
After a couple large-ish personal projects I have concluded that the problem of python isn’t the language, but the users.
On the other hand, C’s design is barren. Sure, it works, it does the thing, it gives you very low level control. But there is nothing of note in the design, if not some quirks of the specifications. Being devoid of innovation is its strength and weakness.
- Comment on MY EYESS 5 days ago:
My sister is an urologist. So for me this is basically what happens opening pictures on the siblings group chat
- Comment on don't look up :) 1 week ago:
Maybe we can get Disney to copyright this company into oblivion 🤔
- Comment on don't look up :) 1 week ago:
What the fuck is this bullshit? This is literally out of a Scrooge McDuck story. Not even a joke, I literally have it on paper
- Comment on *squints* 1 week ago:
I don’t get it, why is it funny?
- Comment on Altered World Event 2 weeks ago:
Nope, Alan Wake is voiced by Matthew Porretta (Darling) but acted by Ilkka Villi. Just like Alex Casey and Max Payne are acted by Sam Lake (the creative director of Remedy) but voiced by James McCaffrey (Director Trench)
- Comment on Altered World Event 2 weeks ago:
There are two DLCs, Foundation and AWE, did you get both? I think AWE is good, but Foundation is really great
- Comment on ugh I hate these notifications 2 weeks ago:
What’s the beacon?
- Comment on These mugs are getting out of hand 2 weeks ago:
Wake up babe! new measurement unit just dropped! The metric gallon
- Comment on Frogsong 3 weeks ago:
SHAW!!
EDIR… homnomnomnomnom
- Comment on This is art 3 weeks ago:
It’s fucking Frida Kahlo
- Comment on I Love being born in this generation 4 weeks ago:
You are correct, I implied that I want at least some of those to not be a female version, but a regular male version, engaging in sexy boy love antics
- Comment on I Love being born in this generation 4 weeks ago:
It better be yaoi
- Comment on BREAKING NEWS!! jschlatt is 26 today 5 weeks ago:
Bruh, am I really older than jshlatt?..
- Comment on Choose wisely lemmings 1 month ago:
TradeyMcShadey
- Comment on Upset about progress 2 months ago:
Even if AIs weren’t inherently harmful, the companies that make them are. And by utilising, publicising, and integrating in your workflow their product you are pumping their value and giving them both more means and more reasons to fuck people over. And because making and selling an AI requires a giant mega corporation, there cannot be a free (as in freedom) alternative.
On top of this, the AI is actually harmful. First of all, they are building their value by stealing other people’s work. They also use psychological tricks to try to give you dependency, that’s why AIs are always overly cheerful, always complimenting questions, and why companies try to humanise the product, they do this to convince you to integrate their AI in your workflow, and once it’s done, your business becomes dependent on them, and that makes them money. And if that wasn’t enough, everything you tell the AI is both used to improve the AI, and to profile for advertising.
- Comment on Honestly 2 months ago:
Worst case: I bring a heap of dangerous SCP-like shenanigans into this world
Best case: I become someone’s (mine) power fantasy and get a federal job
- Comment on Saw this on r*ddit, had to share with my people 2 months ago:
Mayim Bialik
- Comment on order error 2 months ago:
Sounds like the SoundCloud rapper from smiling friends
- Comment on UwU brat mathematician behavior 3 months ago:
Relationship goals
- Comment on [deleted] 3 months ago:
But you can ward off the bad luck by picking up the salt and throwing it over your shoulder
- Comment on I imagine 3 months ago:
Is there a scientific way to prove this? Or am I to just trust your words?
- Comment on You got it, buddy 3 months ago:
Anyone who’s a bit inquisitive about what words means will notice that “transform” means “changing shape”, and that the teeth that look like dog fangs are called “canines”. At that point, “caniformia” obviously means “dog-shaped”.
Specialized terms don’t need to be easy for the layman, but to be explicative for the specialist.
Also those Latin terms are literally international terms, a Russian biologist will say “Canis lupus” to an Icelandic biologist and they will understand. So you really have nothing to complain about. Just be glad that Linnaeus used an agnostic language for international terminology instead of using his native language (Swedish) like the anglophones do.
- Comment on Corruption fetishists 3 months ago:
Well, corruption is better than crimson
- Comment on mac computer 3 months ago:
So dogs work just like omegaverse fiction 🤔
- Comment on world changes so fast 4 months ago:
This is what Araki takes inspiration from
- Comment on Nintendo whenever anyone posts anything about anything related to Nintendo products online 4 months ago:
Woe, brick be upon ye!
- Comment on Brichard! 4 months ago:
Woe, brick be upon ye
- Comment on Xbox 360/PS3/(to a lesser extent) Wii owners represent 4 months ago:
The PS3 doesn’t have an ATI gpu. TL;DR: it’s Nvidia.
The PS3 has a weird, one-of-a-kind IBM processor, called Cell. You can think of it kind of as a hybrid design that is both a CPU and a GPU (not like “a chip with both inside” but “a chip that is both”) meant for multimedia and entertainment applications (like a game console). It was so peculiar that developers took a long time before learning how to use it effectively. Microsoft didn’t want to risk it, so they went with a different CPU always from IBM that shared some of the Cell’s design, but without the special GPU-ish parts, and paired it up with an ATI GPU.
Now, Sony wanted to get away with only the Cell, and use it both as CPU and GPU, but various tests showed that despite everything, it wasn’t powerful enough to keep up with the graphics they expected. So they reached out to NVIDIA (not ATI) to make an additional GPU, so they designed a modified version of the 7800 GTX to work together with the Cell. To fully utilise the PS3 graphics hardware, one would have to mainly use the GPU for graphics, and assist it with the special Cell hardware. Which is harder.