Posts

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

dusnm, to webdev
@dusnm@fosstodon.org avatar

One of the more interesting perks of running a website is that the access logs sometimes contain interesting things.

Imagine my surprise finding this in the access log:

GET /.vscode/sftp.json

One of the more creative attempts of gaining unauthorized access to SSH I've seen in a while.

#webdev

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.

mackuba,
@mackuba@martianbase.net avatar

@dusnm This is a temporary solution they've implemented very recently as a "quick fix" because some accounts really needed it, and a proper implementation was still a bit away. They're working on a more complete authentication system with OAuth and proper 2FA, which should be available maybe in a couple of months.

dusnm,
@dusnm@fosstodon.org avatar

@mackuba TOTP can be considered a "quick fix" as it's trivial to implement.

dusnm, to golang
@dusnm@fosstodon.org avatar

Writing a spec compliant implementation of a server that receives webmentions in .

Making sure I cover all edge cases is so time consuming...

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.

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 #Go. 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.

#ErrorHandling

dusnm, to GNOME
@dusnm@fosstodon.org avatar

#Wayland on #Gnome seems pretty good. No major setbacks. (yet)

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

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

dusnm, to random
@dusnm@fosstodon.org avatar

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

mechanlou,
@mechanlou@fosstodon.org avatar

@dusnm Why do you want to move it off of node ?

dusnm,
@dusnm@fosstodon.org avatar

@mechanlou

I wrote it when I was just getting into serious development around 5 years ago and it shows.

There are some challenges node is ill suited for. I need to optimize images for blog posts in webp and jpeg as fallback. Node is terrible at CPU bound operations.

Also, managing dependencies is wack, there's too many of them and too many transitive ones. I can't possibly keep track of them all.

The plan is, rewrite it in Go, use as few dependencies as possible.

dusnm, to random
@dusnm@fosstodon.org avatar

Is there a reason people feel the need to share their personal stories when writing recipes? It’s endlessly annoying. I just need the recipe.

“Today, we’re gonna make some food, that my grandma… unnecessary personal story…”

Please, don’t. Just give me the recipe… I passionately dislike food bloggers.

verbumfeit,
@verbumfeit@fosstodon.org avatar

@dusnm on the other hand, you can go look up recipies if you're in the mood for heartwarming stories of persons you have never met.

dusnm, to random
@dusnm@fosstodon.org avatar

Rest in peace, Akira Toriyama.

I fondly remember waking up every morning before school to watch my favorite show, Dragon Ball.

Thank you for all the wonderful experiences. It's a sad day to be a Dragon Ball fan.

dusnm, to random
@dusnm@fosstodon.org avatar

Snagged this banger for 70€ the other day. The HiFi Walker H2, uncompromising in the sound quality department.

Features include:

  • Expandable storage (up to 256GB on stock firmware)
  • 192kHz/24bit DAC
  • FLAC, MP3, AAC
  • Headphone and Line outputs
  • Bluetooth (with apt-X)
  • Can function as a USB DAC
  • Great battery life

If you want an offine, portable player, and don't want to use your phone, this is a great option.

dusnm, to random
@dusnm@fosstodon.org avatar

Blackmail the universe with the greatest of calamities
Awaken those sleeping giants in the dust of the ground
With their skin destroyed, unjust to innocence
Lawful possessor of the world's last 24 hours

The terror and ugliness reveal what death really means
And in hatred you see men as they really are
If chosen over heaven, earth would have been for them
All along only, another region of hell

https://youtu.be/hgbZBYuu9MY?si=0UyWA-lt2Aq3lsxH

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