dcode

I like to program various stuff, feel free to send me an email: opendylan@proton.me

Follow for programming tips and tricks, help studying for exams and anything else that interests me!

GitHub: github.com/dylanopen
Website: 123web.uk
YouTube: youtube.com/@AtomicNotes

Politically centre-left progressive, but I don't post much politically. I just repost stuff that interests me - I'm not interested in a political debate.

2025-05-04

@mfjurbala Definitely! My favourite colourscheme is Gruvbox Hard as it's nice and contrasting but also looks nice (in my opinion!)

2025-05-04

@mfjurbala One small tip: don't spend forever configuring neovim, spend 30 mins or so one day just getting an LSP, fuzzy finder, treesitter, etc. set up and the get coding! Remember: you're learning to code, not building the perfect editor :)

dcode boosted:
2025-05-04

Been quite awhile since I've tried to learn any #programming and I've been starting to feel like getting back into it. So, now I have to spend the next week configuring #nvim, picking a colorscheme, and picking a font.

After I have that then I'll definitely have the time, motivation, and tools to be a genius coder.

#softwareDevelopment #foss #opensource #coding #procrastination

2025-05-04

What was the best album ever written?

2025-04-16

@sekhat That's my biggest issue with having hundreds of deps. Say your program segfaults: you now have to look through the 100+ libraries that it could have crashed in. Admittedly, Rust's brilliant unsafe system greatly reduces the number of places you need to look (in this specific example), but even so, you then have to submit a PR to the faulty library's repository and wait for it to be approved (or rejected!) before you can continue working.

If one library breaks, so does everyone else's.

dcode boosted:
Sekhat Temporussekhat@techhub.social
2025-04-16

@dylancode have to admit, having lots of dependencies from a public repository means having to spread your trust thin. It becomes a very large attack surface.

But people seem to like to work this way, and the only real solution is to modify people's behaviour, which is, for all intents and purposes, impossible.

So all you can do is limit your own dependency use, and/or be in control of as many dependencies as possible.

2025-04-16

@joshleecreates Just what I was thinking 😂

There's no way that over 1/2 of the people on mastodon use NixOS, I think there's a little bit of audience bias here!!!

dcode boosted:
2025-04-15

@dylancode I'll preface this by saying that I haven't used it, and I'm probably not the target audience, but it seems way too fiddly to me for any sort of normal user.

I appreciate that it exists, and I'm glad that it scratches an itch for some folks, but even just reading about it on their "how-nix-works" page makes me want to cry.

On something like Bluefin, I have atomic capabilities, I can roll back if things get crashy after an update, I can rebase to another version if desired, etc. It even has all the little niceties that make computers play well with others in 2025, right out of the box.

I install it like a regular old distribution, like we've done for decades, then I add a few flatpaks to get the very latest versions of the software that I want to use. Then I use my computer for my daily needs and literally never need to think about any of that again. My computer is several years old, but still blazing fast on this OS.

I can step a little further up the OS family tree, and even Silverblue itself is *very* usable without anything like layering, if you have the right hardware.

I guess I just prefer easy mode :D

2025-04-14

@somebody Great explanation!

dcode boosted:
2025-04-14

@dylancode Drew this a long while back (by long while back I literally mean my early twenties) to explain to someone how object oriented and procedural programming differ in terms of how the elements of the program are semantically cut up. Basically, depending on the situation, one becomes highly favorable over the other, but class hierarchies are very unhappy about change, and the complexity of process representation grows a lot faster in that case. When I do use objects, I nearly always have a flat composition model, favoring systems-as-objects over entities-as-objects.

If someone wants to contribute some real alt text here, PM me. It's a pretty intricate drawing.
2025-04-13

@hn50 Way better than the original... Although that's not saying much... At all...

Seriously, why does Amazon make such terrible UI?

dcode boosted:
2025-04-13

@joat @dylancode I've been using NixOS for years, and I'm afraid I agree.

NixOS still is the best general usecase distro I've used, but I got vendorlocked into a technology that has largely been developed by awful people. And I hate being vendorlocked into such a thing, because now I can't quit, and I have no hope of it ever getting better.

I tried to fix it, but I just can't. I don't have the mental to force people to do the right thing when their salary depends on doing the wrong thing.

#NixOS #Nix

2025-04-12

@somebody brilliant 😂

dcode boosted:
2025-04-12
2025-04-12

@somebody No problem, just interested!

Good luck on your project :)

dcode boosted:
2025-04-12

@dylancode Sorry, I can't share source right yet. There are a couple of reasons.

The first is that we are trying to avoid any outside influence on the direction of the project by public agendas before it is mature enough to have "made its point" (think about, for example, how messy the Zig project became due to being unveiled too soon).

The second is that my friend and I have been working on related components for a few years, and both of us over the years have been entangled with entities in our careers that make it very painful and complicated to share anything. So it is not really as straightforward as just throwing a repo up, sadly! There are plans to do that relatively soon. It would be fun to write an article about ad-hoc action tables and LR(k).

2025-04-12

@Sandra This is ridiculous. Google should not be able to just veto anything that may compete with their products!!

dcode boosted:
CX-7cx7
2025-04-12

3 AM thoughts: "Did I close that bracket?"

Comic comparing normal people's sleep to programmers'. Normal people sleep quickly, while programmers stay awake for hours thinking about coding errors.
dcode boosted:
2025-04-12

@dylancode I hear the guys on #linuxunplugged talking about Nix literally all the time, and that makes me want to like it, because I like those guys and I like the show. Then I get to reading about it and I'm like "err, screw that."

I used Arch for a long time. Back in the day before flatpaks, the AUR opened up paths to software for me that I otherwise didn't have, or it made that access a lot easier. Just maintaining it got to be a chore, so I eventually drifted away. I still have fond memories of it though.

My absolute favorite distro is Debian. I mean, at least in theory. I don't use it anymore because I like having more recent software, and I freaking loath going through all the motions to make it livable for me these days. I still get the warm fuzzies when I see a Debian swirl though :D

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst