colonial
@colonial@lemmy.world
Your friendly local programmer, uni student and Spotify addict.
- Comment on OpenAI introduces Sora, its text-to-video AI model 8 months ago:
That sounds like more effort than just… writing the code.
- Comment on What's the best website to learn and practice SQL? 10 months ago:
I liked GalaxQL.
- Comment on What is your favourite font for code ? 11 months ago:
Can’t beat Iosevka in my opinion. I use the Term variant for my shell as well.
- Comment on "Useless syntax sugar": Numbered block parameters in Ruby 1 year ago:
It wouldn’t be as relevant, since passing a function or method instead of a closure is much easier in Rust - you can just name it, while Ruby requires you to use the
method
method.So instead of
.map(|res| res.unwrap())
you can do.map(Result::unwrap)
and it’ll Just Work™. - Comment on What non-IDE tekst editor do you use? 1 year ago:
The GNOME text editor or Nano.
I appreciate Vim, but when I just need to inspect something or change a single line, the former are easier.
As for Neovim and Emacs… I don’t have eight hours to set aside monthly to keep them configured and working.
- Comment on D or d come on 1 year ago:
I don’t know about dangerous, but case-insensitive Unicode comparison is annoying, expensive and probably prone to footguns compared to a simple byte-for-byte equality check.
(And yes, all modern filesystems support Unicode. Linux stores them as arbitrary bytes, Apple’s HFS uses… some special bullshit, and Windows uses UTF-16.)
- Comment on Which software do you mostly use for programming, and why? 1 year ago:
Unfortunately, it’s not that simple. The Remote* extensions rely on the (proprietary) VSCode server, and nobody has managed to hack it to work with e.g. Codium.
- Comment on Which software do you mostly use for programming, and why? 1 year ago:
Mostly just Visual Studio Code, alongside the usual constellation of Git + assorted language toolchains.
It’s plug and play at every level - no need to waste hours fucking around with an Emacs or (Neo)Vim configuration just to get a decent development environment set up.
(And yes, I would use Codium, but the remote containers extension is simply too good.)
- Comment on So Much for ‘Learn to Code’ - In the age of AI, computer science is no longer the safe major. 1 year ago:
And for what it’s worth, no I did not RTFA
I thought you had up to this point. I guess that just goes to show how shallow and predictable this AI boosterism is.
- Comment on So Much for ‘Learn to Code’ - In the age of AI, computer science is no longer the safe major. 1 year ago:
After all, the discipline has always been about more than just learning the ropes of Python and C++. Identifying patterns and piecing them together is its essence.
Ironic, considering LLMs can’t fucking do that. All they do is hallucinate the statistically likely answer to your prompt, with some noise thrown in. That works… okay at small scales (but even then, I’ve seen it produce some hideously unsound C functions) and completely falls apart once you increase the scope.
Short of true AGI, automatically generating huge chunks of your code will never end well. (See this video for a non-AI example. I give it two years tops before we see it happen with GPT.)
Also… not hating on English majors, but the author has no idea what they’re talking about and is just regurgitating AI boosterism claims.
- Comment on Software Disenchantment 1 year ago:
If I had a penny for every time I saw something along the lines of:
noSqlQuery().filter(...)
I would be disturbingly rich.
- Comment on Just starting off with Rust, this has been the best resource for feeling comfortable with the language. author @fasterthanlime 1 year ago:
Yeah, all of Amos’s content is gold. I highly recommend his executable packer series if you get into systems work - very interesting stuff.
- Comment on [Help] what's one of the easier ways to make a window on linux using x11 and nasm assembly? 1 year ago:
OP is definitely a masochist.
- Comment on Roblox Game Devs Duped by Malicious npm Packages 1 year ago:
True, but it’s uniquely bad in the JS world. Developers tend to rely on libraries in almost cartoonish excess.
- The language is shit in general, leading to an endless parade of frameworks and packages designed to paper over the sore spots.
- The lack of a well-rounded One True Standard Library™ means lots of trivial functionality needs to come from somewhere.
- Micro-dependencies are commonplace, leading to bloated dependency trees. I’d guess this is caused by a combination of both culture and the fact that you often want your JS artifacts to be as lean as possible.
- Comment on Nintendo switch 2 akin to PS4/XBO power 1 year ago:
After seeing the various forms of black magic Nintendo devs have pulled off with what is essentially decade-old tablet hardware… yeah, fine by me.
- Comment on Roblox Game Devs Duped by Malicious npm Packages 1 year ago:
At some point,
npm
supply chain attacks are going to stop being news and start being “Tuesday.”… JS on the backend was a mistake.
- Comment on Unity Claims PlayStation, Xbox & Nintendo Will Pay Its New Runtime Fee On Behalf Of Devs 1 year ago:
In before one of them starts stripping or firewalling the phone-home code. What’s Unity gonna do? Valve hasn’t signed any contracts with them!
- Comment on What would it take for you to move away from Github? 1 year ago:
Well, there’s just not much reason to switch yet. If it ain’t broke, don’t fix it.
(Well, maybe Copilot training, but I’m sure those dipshits at OpenAI scrape Gitlab too.)
- Comment on Unity rushes to clarify price increase plan, as game developers fume 1 year ago:
But an extra fee will be charged if a user installs a game on a second device, say a Steam Deck after installing a game on a PC.
Actually asinine.
- Comment on Unity adding a fee for devs for each time a game is installed, after certain thresholds 1 year ago:
I wonder if distributors could get away with doing that automatically. My gut instinct tells me that Unity isn’t stupid enough for that to be feasible long term, but… like you say, the C-suite bozos clearly aren’t listening to the engineers.
- Comment on Unity adding a fee for devs for each time a game is installed, after certain thresholds 1 year ago:
Every other engine is smelling blood in the water it seems
- Comment on Unity adding a fee for devs for each time a game is installed, after certain thresholds 1 year ago:
I can’t decide if they’ll get away with this or if they’re committing corporate suicide.
- Comment on Unity adding a fee for devs for each time a game is installed, after certain thresholds 1 year ago:
Depending on how they generate a hardware fingerprint, generating random ones every check is a single
LD_PRELOAD
(or equivalent) away. - Comment on Open source community figures out problems with performance in Starfield 1 year ago:
There’s a reason Hello Games wrote their own engine for NMS. We all know that it was pretty bad gameplay-wise at launch, but under the hood NMS was (and still is) something of a technical marvel. No loading screens except for a disguised one when jumping between systems is quite impressive.
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
Just use WASMIf only…
- Comment on Android 14 blocks all modification of system certificates, even as root 1 year ago:
I’m pretty sure I can’t even connect to my university’s network without installing a custom certificate.
What brainlet at Google thought this was a good idea?
- Comment on is Rust really that powerful / intuitive? 1 year ago:
Rust would be an excellent fit for the type of work you describe. Assuming I understand the specifics correctly, the
regex
andserde
crates would make the parsing + converting pretty effortless and fast.With familiarity, can Rust’s intuitiveness match Python’s “from idea to deployment” speed?
Yes and no. For experienced developers, the total time from “start” to “finished product” is probably going to be about the same in both. It’s how that time is allocated that really distinguishes them.
Rust is going to make you put in more work up front compared to Python: negotiating with the compiler, getting your types in order, that sort of thing. The benefit is that what comes out the other end tends to be baked all the way through - “if it compiles, it works.”
Python, being a dynamic scripting language, is going to make it easier to get a vertical slice or minimum viable product up and running. But when/if you scale up, you have to pay that time back fixing problems that Rust’s static analysis could have caught at build time.
- Comment on Why Linux is better for (most) developers! 1 year ago:
I don’t really write Python, but I occasionally find myself having to use tools written in it.
So Docker won’t work (unless I do some scuffed mounting to let it access my working files, which is suboptimal regardless) and I can’t be bothered to juggle venvs just to rip my Spotify playlists.
- Comment on Call of Duty will get a new AI-powered voice chat moderation system 1 year ago:
I’m sure that any flagged snippets will be submitted to a human for final review. They definitely won’t just auto-ban-hammer innocent people because the AI misinterpreted something they said!
Sigh.
- Comment on Why Linux is better for (most) developers! 1 year ago:
Fedora Silverblue is very nice for development work. You can have separate
toolbox
containers for each toolchain and not worry about it messing with the host OS.(Unless I’m working with Python. Then it’ll find some way to install shit deep in
~/.local
or whatever.)