@eldamir@hachyderm.io avatar

eldamir

@eldamir@hachyderm.io

Software Developer, Tech lead.
Python, C#, Dotnet, Unity, Godot, and all things Web.
Occasionally blog about software, gaming, and other interests.
Would like to one day find time to develop some small games 🕹️🎮

🇩🇰 Denmark

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

eldamir, to random
@eldamir@hachyderm.io avatar
eldamir, to random
@eldamir@hachyderm.io avatar
eldamir, to random
@eldamir@hachyderm.io avatar
eldamir, to random
@eldamir@hachyderm.io avatar
eldamir, to random
@eldamir@hachyderm.io avatar
eldamir, to random
@eldamir@hachyderm.io avatar
eldamir, to Excel
@eldamir@hachyderm.io avatar

"The Excel file got too big and unwieldy, and now we need something else".

If only I got paid a fee every time I heard that phrase, I wouldn't need to work ever again

eldamir,
@eldamir@hachyderm.io avatar

@khalidabuhakmeh Slightly better... But is also quickly outgrown 🤣

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I’ve been maintaining HTMX.NET for 3 years now. WTF?! When did that happen?

https://github.com/khalidabuhakmeh/Htmx.Net

eldamir,
@eldamir@hachyderm.io avatar

@khalidabuhakmeh I only just installed it today in a new project and I love it. You took the small amount of bootstrapping and made it a couple of configuration lines. Easy peasy ❤️
And the Request.IsHtmx is a welcome helper too 😊

eldamir, to random
@eldamir@hachyderm.io avatar

I've heard the term "webmentions", but not really cared about it before.
Then I read this post from @matthiasott (https://matthiasott.com/notes/best-comment-section-on-the-internet) followed by reading this post from @rowan (https://rowanmanning.com/posts/webmentions-for-your-static-site/).

Now I'm hooked... I gotta get that set up for my website. I currently use Giscuss, which is fine, but it is also limited to users wanting to sign in with Github to comment. Adding would be something else 😍

eldamir,
@eldamir@hachyderm.io avatar

@matthiasott
Yeah, seems like webmention.io would be the easiest way forward for me 😊 not sure how brid.gy will play in here though? Do I need it, or is it for something more? Can’t I do it all with webmentions.io?

Thanks for looking out for me 😊

khalidabuhakmeh, (edited ) to random
@khalidabuhakmeh@mastodon.social avatar
eldamir,
@eldamir@hachyderm.io avatar

@khalidabuhakmeh lol. Is that a thing?

I guess since we now have revolving and automatic doors, we should call the old ones “manual, lever/knob-driven room portals”.

Multiplayer apps. Pft. Call them “classic”. Call them “conventional”. Call them “sane”

ballpointcarrot, to random

2024 means I have to go back to being an adult and working again, rather than having open days to do ... whatever. While yes, getting paid is a benefit , and I do have a family to take care of, there's a part of me that doesn't want to go back to working full time again.

eldamir,
@eldamir@hachyderm.io avatar

@ballpointcarrot hey guy. We’re all trying to suppress these thoughts, and you’re not helping 😭

eldamir, to gaming
@eldamir@hachyderm.io avatar

To round off the year, I took a stroll down memory lane and remembered some of the games I played when I was a kid. I thought I’d make a little catalog of them to remember and keep remembering 😊

https://botched-deployments.com/posts/nostalgia-games

eldamir, (edited ) to Software
@eldamir@hachyderm.io avatar

Hi all folks 👋

When you do , how do you organise them in your code base?

I often find that I lose track of tests, and when I want to know “is this thing tested?”, then I don’t know where to start looking.

Sometimes I set a breakpoint in the thing and run all tests and see what hits the breakpoint, which is not smart.

When reviewing a PR for new stuff, I can look for added tests. But for changes to existing stuff, I don’t know where to find and check existing tests.

eldamir,
@eldamir@hachyderm.io avatar

@PossiblyMax I do Python and C#, and only use jetbrains tools 😊
I’m inclined to lean on your approach here for unit tests, since they would closely map to actual class structures. What about acceptance tests that are more towards testing use cases, which may exercise a whole vertical slice of the system? How would you structure those?

eldamir,
@eldamir@hachyderm.io avatar

@cvennevik for a moderately disorganised test suite, I think the coverage report would be the best way to get any sense of what is going on.
And maybe that data can help inform a cleanup of the tests.
Cleaning up tests would require a design for what the target state is. And that target is a bit blurry for me.

I’ve never worked with teams who had this figured out, so now I’m taking it to the Fediverse for inspiration ❤️

eldamir,
@eldamir@hachyderm.io avatar

@PossiblyMax I can see how it would very much depend on what is being built.

Organising per-page would make a lot of sense for a classical website (not SPA) and would map perfectly to Razor Pages workflow 😊

eldamir,
@eldamir@hachyderm.io avatar

@PossiblyMax you are name dropping like crazy. My reading list is booming 🔥

Thanks for sharing. Plan is to study up and see if I can reach a clearer insight into what I want to do and then blog about it, so I remember what I learned 😅

loresjoberg, to random
@loresjoberg@mastodon.social avatar

Hey, let’s have “Talk Like a Ninja Day” where everyone just shuts the hell up.

eldamir,
@eldamir@hachyderm.io avatar
khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

BenchmarkDotNet already has support for 9 targets. Everyone slow the F down! 😅

eldamir,
@eldamir@hachyderm.io avatar

@khalidabuhakmeh Dotnet 8 is fresh out of the oven, and the baker is already out back working on 9.

Is there such a long backlog of things to do with 9 that they couldn’t wait for feedback on 8?

Anyway, 8 is awesome, so I’m excited to see what they’ll bring with 9

matthiasott, to Blog
@matthiasott@mastodon.social avatar

What were your favorite posts of the year? 🤔

And, in case you have a personal site, which of your own posts was your fave or the most “successful” of 2023?

(Asking for my subscribers, of course. 😊)

eldamir,
@eldamir@hachyderm.io avatar

@matthiasott this one would be my most successful one. The only one that got any interaction in comments: https://botched-deployments.com/posts/python-docx-charts

But this one was the most fun to do: https://botched-deployments.com/posts/messing-with-images

🥳 Happy New Year 🥳

jasongorman, to random
@jasongorman@mastodon.cloud avatar

Despite all we say when you ask developers about testing and test automation, when their work's actually observed, it's apparent that developers who routinely test their own code - let alone test it continuously - are still very much in the minority.

"Most programming sessions end without any test execution"

https://gousios.org/pub/developer-testing-in-IDE.pdf

Managers who believe their teams are doing it are probably mistaken.

eldamir,
@eldamir@hachyderm.io avatar

@jasongorman I’m not surprised. Based on the teams I engage with, the general consensus is that testing is too hard.
For one of my legacy projects that started without tests, I fell into the trap that it wouldn’t matter if tests were slow and tested too much and hooked into infrastructure. Slow were better than none. And that was true for a while. Now we have 5k tests that need an hour to run, so the devs simply don’t bother.
Tests without a proper testing culture is hard ☹️

steamdeckhq, to Steamdeck
@steamdeckhq@mastodon.world avatar

The 7th free game for Epic is Human Resource Machine! Works well on the and with it being a game from 2015, there should be little to no issues!

https://steamdeckhq.com/news/human-resource-machine-epics-7th-free-game/

eldamir,
@eldamir@hachyderm.io avatar

@steamdeckhq couldn’t claim the free games from my phone, because the cookie prompt was in the way and didn’t respond to touch events, so I couldn’t close it. Kinda incredible for such a high profile website to just flat out not work on mobile 🙄

yiningkarlli, to random
@yiningkarlli@mastodon.gamedev.place avatar

My entire career as a programmer so far has just been learning the ideals of the Grug Brained Developer the hard way:

https://grugbrain.dev

The best programmers I know all subscribe to the tenents of the Grug Brained Developer, whether they know it or not. Be like Grug.

eldamir,
@eldamir@hachyderm.io avatar

@yiningkarlli I’ve tried to read that site multiple times, but I just can’t sit through it. It is written in this lame-but-supposedly-funny way, and me brain rebels. I can’t consume it.

Is there a short version fit for human consumption that sums it up nicely without the painful “comedy”?

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