@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

Everything is political. This much should be self-evident.

What much of the public thinks of as apolitical is, in fact, synonymous with uncontroversial. It's therefore both a reflection and a reinforcement of the status quo.

Being apolitical is both a political statement and an expression of a privilege granted to those that fall under the umbrella of a societal default.

andypiper, to random
@andypiper@macaw.social avatar

It is unbelievable to me that home routers do not have mobile-friendly web UIs in 2024.

dusnm,
@dusnm@fosstodon.org avatar

@andypiper I can't imagine ever wanting to use my phone if my computer is right over there in the corner. I imagine it's useful in remote administration scenarios, but damn, if you're gonna do that you already know your way around networking.

sushee, to random
@sushee@fosstodon.org avatar

as a firm believer that every senior engineer can be onboarded within two weeks and can start working right away I'm creating lists upon lists and example commands how things work so that my new collegue can start right away to actually DO stuff. also 4 nice, juicy upgrades on-hold until he arrives :) now preparing the bug buffet to choose from to get into the ugly stuff :blobcatgiggle:

dusnm,
@dusnm@fosstodon.org avatar

@sushee Can you actually understand the business and the system enough in just two weeks?

onepict, to random
@onepict@chaos.social avatar

"I'm more concerned with the prevailing attitude in tech that it can do what it likes with our data and it doesn't feel it has to ask us. If anything the default is that you have to opt out of their processing of your data. Which is predatory behaviour as people need to know that they can opt out and the procedure for it needs to be simple, clear and concise. "

https://onepict.com/20240315-barn.html

dusnm,
@dusnm@fosstodon.org avatar

@onepict It's the classic mentality of "It's better to ask for forgiveness than for permission", which is wild, because no other form of human interaction is based upon it, other than relatively benign things.

For some reason it's more prevalent in tech than in other fields. We work with machines so much that it can sometimes be hard to remember that we're indeed humans and that we should be building software for humans as well.

dusnm,
@dusnm@fosstodon.org avatar

@otfrom @onepict I didn't know it was Grace Hopper who first said it. Figures tech bros would twist her words.

ayo, (edited ) to webdev
@ayo@ayco.io avatar

๐ŸŽ‰ Project /threads now live!

๐Ÿ”— https://ayco.io/threads -- a way to select social posts and (in the future) offer fine-grained topical subscriptions.

Depending on your requirements & resources, you can also have your own threads deployed on your site, either of the two options

  • personal.site/threads
  • threads.personal.site

This is the first of some tiny self-hostable apps I plan to work on, that can be composed together.

dusnm,
@dusnm@fosstodon.org avatar

@ayo Nice job. Damn, such a simple python app. Flask's templating honestly feels like cheating, considering how much more work you need to do in something like Go to support the same thing. ๐Ÿ˜ข

drewdevault, to random
@drewdevault@fosstodon.org avatar

I needed a break from Real Work, so I'm speedrunning writing a Unix-ish operating system

Day 3

dusnm,
@dusnm@fosstodon.org avatar

@drewdevault Of course, just the idea of files having different entries in the FS table, but pointing to the same underlying data on disk is still something I find a little bit like black magic. ๐Ÿ˜‚

tulpa, to random
@tulpa@fosstodon.org avatar

So many password reset processes are trivially easy to abuse or defeat.

dusnm,
@dusnm@fosstodon.org avatar

@tulpa How would you go about verifying the identity of a person who requested a password reset?

dusnm,
@dusnm@fosstodon.org avatar

@tulpa "I wouldn't" doesn't cut it. People often forget passwords. It's paramount there exist some mechanism to reset it.

The main weakness of the established method (just send an email) is that people reuse passwords.

A better approach is requiring 2FA be turned on at all times. So, even after confirming access to the email address, you must now additionally confirm ownership by way of using TOTP codes.

I think this works well enough.

jefflewis, to random
@jefflewis@hachyderm.io avatar

Why is it so complicated to run a local web server for development that uses subdomains and SSL? Iโ€™m drowning in docker, nginx, puma, and rails. It seems like this should be so simple with just a few config files, and yetโ€ฆ ๐Ÿ˜ญ

dusnm,
@dusnm@fosstodon.org avatar

@jefflewis Take a look at this:

https://github.com/FiloSottile/mkcert

Make an entry in your /etc/hosts file of the domain you want to test with and then procure a locally trusted certificate with mkcert. It can procure a wildcard certificate that's valid for all subdomains as well. ๐Ÿ˜„

dusnm, to random
@dusnm@fosstodon.org avatar

A simple math question + stopped 99% of contact form on my .

I just hope these won't turn out to be famous last words.

dusnm, to random
@dusnm@fosstodon.org avatar

People complain too much about error handling in . Like it or not, go treats errors like any other value. Since the compiler forces you to use all return values of functions, unless you specifically discard the error, you're always aware of which functions can error and that goes a long way to improve the reliability of your software.

Java has checked exceptions, JavaScript trusts you to know that a function 20 slots down the call stack has an unhandled error.

ber, to philosophy

Any chance anyone here knows of a solid/reputable graduate program for that's offered completely online?

dusnm,
@dusnm@fosstodon.org avatar

@ber Such a broad topic. What kind of philosophy do you fancy?

drewdevault, to random
@drewdevault@fosstodon.org avatar

Hyprland claims to have made some progress on reducing overt hate speech in their community, and maybe they have (not much, so far as I can tell). But there really hasn't been any progress at all on the underlying issue, which is this: the Hyprland community is "just for fun", and they can't seem to have "fun" unless it's at someone else's expense.

dusnm,
@dusnm@fosstodon.org avatar

@drewdevault That's all people in my experience. Everyone likes a good zero-sum game.

dusnm,
@dusnm@fosstodon.org avatar

@smolwaffle @drewdevault It's a generalization. I'm not being entirely serious, but more often than not, people prefer games where there are winners and losers. I suppose it's not too much of a stretch to extrapolate that to how we conduct inter-personal relationships.

Let me say that this saddens me, and I don't think that's how we should conduct them, but I've been on the receiving end of such behavior one too many times to ignore it.

dusnm,
@dusnm@fosstodon.org avatar

@smolwaffle @drewdevault Also, I fully agree with Drew regarding Hyprland's moderation. They need to do better.

I guess I'm just not surprised about it, that's all.

dusnm, to GNOME
@dusnm@fosstodon.org avatar

on seems pretty good. No major setbacks. (yet)

aral, to mastodon
@aral@mastodon.ar.al avatar

Iโ€™m seeing a lot of people badmouthing Facebook/Meta and saying we shouldnโ€™t federate with Threads.

Mastodon.social is owned by Mastodon gGmbH and run by the author of Mastodon. Mastodon.social federates with Threads. If Facebook/Meta were toxic, do you think they would? Of course, not.

Facebook/Meta has Mastodonโ€™s authorโ€™s (& the original Mastodon serverโ€™s) seal of approval. So you should all shush because clearly youโ€™re mistaken.

https://www.platformer.news/mastodon-interview-eugen-rochko-meta-bluesky-threads-federation/

dusnm,
@dusnm@fosstodon.org avatar

@aral I've seen a lot of people try to bully Eugen into not federating with Threads. That's not a good look. Don't help them.

dusnm,
@dusnm@fosstodon.org avatar

@aral I'm sure you know I meant, don't help people bully Eugen, the person, not mastodon.social.

dusnm, to random
@dusnm@fosstodon.org avatar

It runs
From the top of my fingers
Into my hands
What
Is it I have been drinking?
I do not understand
I
Thought I'd lost you my brother
I'm so glad you came
My regards
To the ones that I love, I miss them
Tell them I love them, I miss them

https://www.youtube.com/watch?v=LctAxuNkgtc

chjara, to random
@chjara@akko.wtf avatar

IEEE is the noise you make when you see how much they want you to pay for a PDF

dusnm,
@dusnm@fosstodon.org avatar

@chjara I've had a lot of luck finding copies of scientific and engineering papers on SciHub. Try it out if you haven't.

https://sci-hub.se/

dusnm, to random
@dusnm@fosstodon.org avatar

No matter how many times I write a shell script it always feels like partaking in an act of arcane sorcery.

The syntax is so unintuitive, but the finished product is enchanting in its beauty. Weird.

dusnm, to random
@dusnm@fosstodon.org avatar

(And use XDG Base Directory for your next unicorn startup)

https://dusanmitrovic.xyz/blog/post/2024-04-01/Please-don't-clutter-my-dollarHOME-directory

cory, to webdev
@cory@social.lol avatar

Surprised that worked: Plex webhook to a Netlify edge function, cache track JSON to blob storage, hydrate artist and album meta from Last.fm/MusicBrainz, pull said data, derive a chart and throw that on my now page.

Going to write up a post on all the (probably ill-advised) mechanics.

dusnm,
@dusnm@fosstodon.org avatar

@cory Sounds like an unnecessarily long pipeline. ๐Ÿ˜ƒ

quixoticgeek, to random
@quixoticgeek@v.st avatar

Oh. And before any of you lay any blame on the maintainers of these open source project.

How many of you have blindly installed stuff by running curl | sudo bash ?

Did you verify the binaries and the code the bash script ran/installed? How did you confirm trust on those binaries?

Xz is the oss supply chain attack we know about. You can guarantee there are many many more. How we manage installation, and dependency's should perhaps have a little more thought...

dusnm,
@dusnm@fosstodon.org avatar

@allpoints @quixoticgeek I don't want to manage multiple accounts on a computer only I use.

The default configuration is good enough. Nobody is able to do anything without knowing my password.

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