@dusnm@fosstodon.org
@dusnm@fosstodon.org avatar

dusnm

@dusnm@fosstodon.org

Hi there! I'm a software developer from Belgrade, Serbia, mainly dealing with distributed systems. An all-round nerd, minimalist and a tinkerer. I sometimes engage in political commentary. My opinions are my own. Besides computing, I'm interested in philosophy of religion, politics, psychology, biology and literature.

:php: :javascript: :typescript: :python: :golang: :c_language: :bash:

๐Ÿ‡ท๐Ÿ‡ธ โญโญโญโญโญ
๐Ÿ‡ฌ๐Ÿ‡ง โญโญโญโญโญ
๐Ÿ‡ท๐Ÿ‡บ โญ

Proud member of #CasioCult :f91w:
#nobot #nobots ๐Ÿšซ๐Ÿค– He/Him

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dusnm, to random
@dusnm@fosstodon.org avatar

A pet peeve I have is that even among developers, the concept of Unix file permissions is not well understood, purely out of laziness to learn it and not out of some intrinsic complexity.

Too often I see code that just uses 777 for everything! Ugh, it drives me genuinely mad!

dusnm, to random
@dusnm@fosstodon.org avatar

I need recommendations for a self-hosted note taking service with a client-server model, so I don't have to sync my notes manually. Markdown support is preferred.

dusnm, to random
@dusnm@fosstodon.org avatar

I woke up from a short nap that felt like a century. I feel awful. There's this sense of dread that just won't leave me. It's like coming down from a huge high. I've had an amazing couple of days and somehow I knew something would spoil the fun. sigh I sometimes feel like my own brain is my worst enemy.

dusnm, to random
@dusnm@fosstodon.org avatar

It's disheartening to me that configuring an email client with IMAP and SMTP credentials is consider complicated. ๐Ÿ˜ž

dusnm, to random
@dusnm@fosstodon.org avatar

So, I'm getting less than half internet bandwidth than is written in the contract with the telecom company... sigh

dusnm, to GNOME
@dusnm@fosstodon.org avatar

unironically has one of the best paradigms.

What makes it great:

  • Keyboard shortcuts galore
  • Keyboard driven
  • Dynamic workspaces
  • Spotlight-esque shell behavior
  • Well organized and distraction free
  • LibAdwaita (controversial)

Bonus: Successfully killed the traditional, windows paradigm.

What could see some work:

  • Better accessibility
  • Sensible extensions that don't break the entire shell
dusnm, to random
@dusnm@fosstodon.org avatar

Took me an hour to upgrade my home server to Debian 12. But it was worth it.

This OS has been my constant companion for over 5 years at this point and they have never disappointed.

Long live Debian!

dusnm, to random
@dusnm@fosstodon.org avatar

Play to win or play for fun is a false dichotomy. Winning is fun. Everyone wants to win. More specifically everyone likes good competition. So it comes as a surprise to me that youโ€™re not supposed to announce your desire to win. If you do that everyone will team up against you. Why are we like this? Is it perceived arrogance on the part of the competitive player or something else?

dusnm, to piracy
@dusnm@fosstodon.org avatar

What a rabbit hole, integrating Sonarr, Radarr, Prowlarr, Deluge and Jellyfin to completely automate the tracking, sorting, naming and searching of my entire media library.

If buying isn't owning, isn't stealing.

dusnm, to random
@dusnm@fosstodon.org avatar

This is exactly the news I needed to hear today. I feel good. ๐Ÿ˜„

dusnm, to random
@dusnm@fosstodon.org avatar

Do me a favor. Share , but somehow you like in the comments. I'll start.

Make a brand new vow
In the heat of an evening
The darkness swarms
I was nothing, ever
But red like the sun
Dying down over the freeway
Is the brand new sky
Over the mountain ridge

- Day And Then The Shade

dusnm, to random
@dusnm@fosstodon.org avatar

I can't believe this needs to be stated. Learning JavaScript should be a prerequisite for learning React.

dusnm, to random
@dusnm@fosstodon.org avatar

I was stupid today. I was wondering why on Earth my Ethernet connection between my PC and the home server was stuck on 100Mbit/s. I spent hours trying to find a software solution. Then it hit me, maybe the cable is incapable of transferring at faster rates? Yes, yes it was the cable... I feel so dumb for not checking my cables before this...

dusnm, to random
@dusnm@fosstodon.org avatar

It's frustrating when you're knowledgable on a topic and then some other person comes up with an argument that is, to you at least, obviously wrong, but they think they can have a conversation about it with you.

It then makes me sound pretentious when I point out that they simply don't know enough about the subject (in my case computer networking) to hold a level conversation with me.

Did you experience this? What are your thoughts?

dusnm, to random
@dusnm@fosstodon.org avatar

Don't leave valuble performance on the table, replace string manipulation with math when dealing with numbers

https://dusanmitrovic.xyz/blog/post/2023-06-28/Performance-matters-don't-use-string-manipulation-use-math-wherever-possible

dusnm, to bluesky
@dusnm@fosstodon.org avatar

So, after a few days of using in earnest, I can say that it does a lot of things right.

  • A simple and clean UI
  • An actually functional search feature
  • You can use your own domain as a handle
  • A feed that feels alive, even when you don't follow many people

And it does a few things wrong:

  • Hashtags don't exist
  • Engagement is centered around likes and re-blogs, not comments
  • 300 characters just isn't enough

All in all, I'm excited to see where it goes from here.

dusnm, to keyboard
@dusnm@fosstodon.org avatar

Logitech MX Keys is rad. So much better than any mechanical keyboard I've ever used.

Best $110 I ever spent.

Next up, MX Anywhere 3S

dusnm, to bluesky
@dusnm@fosstodon.org avatar

This is what #BlueSky considers a perfectly acceptable implementation of a two-factor authentication system.

Just send an email with the 2FA code. This is insanely irresponsible and I'm sure they know it.

Since most people unfortunately reuse passwords, any sane person must reasonably assume the email is likely to be compromised as well...

I have no clue why they don't use #TOTP. Unless the attacker has access to the device with the shared secret, it's borderline impossible to defeat.

dusnm, to random
@dusnm@fosstodon.org avatar

I don't agree with the notion that declarative programming is more readable than its imperative equivalent. It's only more readable if you already know what the declarative methods do, while imperative code is readable to anyone who knows how to program.

Essentially, you need more information than you can obtain just by reading to understand declarative code.

I only understand maps, filters and reductions, and other higher order functions because I've written their imperative equivalents.

dusnm, to random
@dusnm@fosstodon.org avatar

I should move my website off of node.js, but I'm too lazy to rewrite it...

dusnm, to random
@dusnm@fosstodon.org avatar

Back on Gnome... I keep coming back. Some thoughts:

  • Qtile is cool, but requires too much work for my liking
  • KDE is cluttered, with too many options
  • Gnome works as expected every time.
  • Gnome is simple in comparison to KDE
  • Gnome does a lot of things right, including everything I need to not worry about the environment, but just focus on my work.
dusnm, to random
@dusnm@fosstodon.org avatar

Had a free SATA slot on a computer I'm using as a home server, but I didn't have any hard disks lying around, until I noticed I have an external 2.5" 2TB HDD that's just collecting dust. I immediately cracked it open, to remove the hard drive and put it to good use.

A listing of all storage devices connected to my system, showing the now internal hard drive as device /dev/sda.

dusnm, to random
@dusnm@fosstodon.org avatar

Everyone says you should be writing unit tests, but nobody likes writing unit tests!

dusnm, to react
@dusnm@fosstodon.org avatar

is a , deal with it. It may call itself a library, but it isn't one. It's unopinionated, but that doesn't make it a library. I have a simple guideline that helps me determine the difference.

  • It runs my code and I have to structure my code to conform to its expectations -> framework
  • It becomes just a part of my code and helps me do some task -> library

React is a framework, albeit a minimal one, a micro-framework if you will.

dusnm, to random
@dusnm@fosstodon.org avatar

Came back this morning from my trip to ๐Ÿ‡น๐Ÿ‡ฟ.

Beautiful people, culture and food. I feel like I've spent two weeks in heaven.

While there, we visited mainland for a day at the Mikumi national park. It's all just so breathtaking.

I wholeheartedly recommend the trip to everyone.

A heard of wild zebra at the Mikumi national park.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines