@dylancode

6 Followers
15 Following
150 Posts

I like to program various stuff, feel free to send me an email: [email protected]

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

GitHub: https://github.com/dylanopen
Website: https://dylancode.dev
I post thousands of learning resources on dylancode.dev: feel free to check it out!

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.

Websitehttps://dylancode.dev
GitHubhttps://github.com/dylanopen
Do you think I must be a #nerd? Carried a book called “Understanding Microprocessors” about in eighth grade wondering why it never impressed the girls. Wound up #programming a pac-man clone (character mode, of course) in BASIC on the Commodore PET computers we had and the whole class wound up playing it instead of doing the coursework. Instructor let it all happen—my introduction to the world of solo design projects. 🧵

🦀 Did You Know?

The language's creator, Graydon Hoare, started Rust in 2006 partly out of frustration with a broken elevator in his apartment building, which sparked his interest in safer concurrent programming.

#rust #rustlang #programming

I insert the USB stick LTE modem into my Linux laptop. I thought it was going to take a lot longer to get the internet on this device. 😭 I might need to tweak settings or download the drivers and compile it.

Linux sends a notification: 'New modem found.' What? No way.

So, I go to the network settings panel, and there's an option to connect to the Internet called “Mobile Internet”. I click on it.
I'm online, and I'm speechless 😶 The year of the Linux desktop is already here, at least for me!

@mfjurbala Definitely! My favourite colourscheme is Gruvbox Hard as it's nice and contrasting but also looks nice (in my opinion!)
@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 :)

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

What was the best album ever written?

#music #song #songs #album #best #top #top10 #opinion

@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.

@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.