Oh, definitely. Its syntax is so simple, you can basically learn the basics over an afternoon. Outside of applications where consistent low latency is critical, if I can spare some extra RAM and CPU, I prefer Go to Rust.
SinTan1729
- 8 Posts
- 94 Comments
SinTan1729to
Linux•Amber the programming language compiled to Bash, 0.5.1 releaseEnglish
1·10 days agoAlso useful for scripts to be executed inside containers. Alpine doesn’t have Python installed by default.
SinTan1729to
Linux•Amber the programming language compiled to Bash, 0.5.1 releaseEnglish
2·10 days agoBeen there, done that lol. Nowadays, if I think that some script is getting too long, I just rewrite it in Go. It’s faster to write than Rust (in fact, I find it almost as easy as Python), and performant enough for replacing scripts.
SinTan1729to
Linux•Self-Hosters Confirm It Again: Linux Dominates the Homelab OS SpaceEnglish
7·20 days agoI have no experience in sysadmin work, but have some understanding of the Linux tools used. Can you eli5 what exactly is it that AD does? (Feel free not to, I just couldn’t find a good article, so decided to ask.)
SinTan1729to
Linux•What are the silliest reasons people have given you for not wanting to try Linux?English
7·23 days agoOmg please kill me 😭
Ah that makes sense. To be fair tho, there’s a lot of unwarranted hate towards Rust so it can be hard to tell.
I hope you’re joking. If anything, Rust makes error handling easier by returning them as values using the
Resultmonad. As someone else pointed out, they literally usedunwrapin their code, which basically means “panic if this ever returns error”. You don’t do this unless it’s impossible to handle the error inside the program, or if panicking is the behavior you want due to e.g. security reasons.Even as an absolute amateur, whenever I post any Rust to the public, the first thing I do is get rid of
unwrapas much as possible, unless I intentionally want the application to crash. Even then, I useexpectinstead ofunwrapto have some logging. This is definitely the work of some underpaid intern.Also, Python is sloooowwww.
SinTan1729to
Linux•After 9 Months on Mint I switched to Kubuntu and I'm loving it!!English
184·29 days agoKDE is great but do give some “better” distros like Fedora, or EndeavourOS (basically Arch) a try. Canonical, the company in control of Ubuntu, is a little bit shady.
I have a Framework 13 with the
superbutton instead of Windows button, but I’ve set it up similarly to how the Windows buttons works in Windows. Pressing it by itself opens the KDE app menu,super+Dgoes to desktop,super+Llocks screen,super+[ or ]moves around virtual desktops,super+Wshows overview,supe+Tshows tiles config,super+arrowsdo snapping,super+PgUp/PgDn/Xfor maximize/minimize/close etc.
Welcome to the club. Don’t worry too much about setting it up perfectly in your first attempt. You’re gonna rewrite your whole config every year-ish anyway. (Or is that just me? 😥) Also, try Neovim. It’ll be a drop-in replacement for your current config. But
Luais just a superior language compared toVimscript, so you’ll have a much better performance in the future. You also get all the sweet LSP and treesitter features.
SinTan1729to
Programming•How much are SOLID principles in OOP programming (and JVM languages specifically) just a mindless following of a set of ideas that aren't always the best solution?English
3·1 month agoYeah, same. I like to code in Neovim, and OOP just doesn’t make any sense in there. Fortunately, I don’t have to code in Java often. I had to install Android Studio just because I needed to make a small bugfix in an app, it was so annoying. The fix itself was easy, but I had to spend around an hour trying to figure out where the relevant code exactly is.
SinTan1729to
Programming•How much are SOLID principles in OOP programming (and JVM languages specifically) just a mindless following of a set of ideas that aren't always the best solution?English
42·1 month agoAs an amateur with some experience in the functional style of programming, anything that does SOLID seems so unreadable to me. Everything is scattered, and it just doesn’t feel natural. I feel like you need to know how things are named, and what the whole thing looks like before anything makes any sense. I thought SOLID is supposed to make code more local. But at least to my eyes, it makes everything a tangled mess.
Firefox 91.0 (August 2021) set HTTPS as default for private tabs. Firefox 129.0 (August 2024) did it for general tabs.
I agree with the other comments saying that you don’t really need secure boot. But if you’re like me, you might be tempted to get it to work anyway. In that case, here’s a (hopefully) useful link.
I like’em projective, but that’s just me.
I try to donate to a couple of projects every month. I just use too many FOSS projects to commit to only a few and donate regularly. So, it keeps changing. Some recurring ones are FFmpeg, KDE, Signal, Jellyfin, CoMaps, and Wireguard.
SinTan1729to
Linux•Is there a way to get Vim-style modal editing in a Linux pager?English
3·2 months agoThis, but I use
batsince it seems to be faster for this.Edit: I should clarify that I only use
batas theMANPAGER, sincebatuseslessunder the hood for paging anyway. But with support for a built-in pager in the new release, perhaps it makes sense to set it as thePAGERtoo.
It literally is. Please get out from under your rock.











Chhoto URL - It’s a simple URL shortener written in Rust.
I’ve written more programs, some of which are more useful in my daily life than this (e.g. movie-rename) but this is one that many seem to find interesting, and that’s kinda cool I guess. Also, I’m proud of some of my Lean code, but that stuff’s not published.