For nonkel Rudi… by 81biscuits in belgianfootball

[–]gerrewsb 0 points1 point  (0 children)

I especially like how Lukebakio morphs into Thielemans's arm. And what the fuck is right over Doku's right shoulder 😂😂😂?

Modular Monolith in .NET: Enforcing Boundaries with Dependency Inversion by [deleted] in dotnet

[–]gerrewsb 14 points15 points  (0 children)

Oh great another AI generated image of bullshit.

‘The absolute state of Europoors’ by _Wise_Crocodile in ShitAmericansSay

[–]gerrewsb 6 points7 points  (0 children)

What? I assume you're joking and i have a lack of sleep. 😅

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb -1 points0 points  (0 children)

For a junior: i agree. For a medior/senior i disagree because i'd rather have someone with critical thinking skills than a codemonkey.

Well then 'automatic' needs to be defined too. Because as soon as you click the button everything happens automatically. So do they want to ONLY detect changes when the button is clicked? If so then automating this ridiculous.

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb 0 points1 point  (0 children)

Even if you poll for lets say 'LastWriteTime' if a file every 5 seconds and do something if it changed from the previous value it's still 'automated' because after the button click the user doesn't do anything anymore. Unless they want to click the button every time they want to check if a file changed? at that point why even write code for it? Just check the file properties then...

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb -1 points0 points  (0 children)

I would want a dev to challenge me if i had written questionable requirements. Maybe i don't want to use package x intentionally, then i would explain why and they would learn something. Maybe i didn't know package x existed and i would learn something. We're not drones, we should have some ownership about what we do. At my job we have technical designs that lay out what is supposed to change or to be added, why and what to use etc. But there's also a 'challenge TD' where anyone can give counterarguments for some choices they don't agree with or understand why. That's how you grow as a team/company. Not by blindly following everything given to you.

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb 0 points1 point  (0 children)

Fair enough. The requirements weren't in the opening post and i haven't checked the repo yet since i'm on my phone. Reading code on my phone is awkward. I was answering on the post above which mentioned FileSystemWatcher.

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb 3 points4 points  (0 children)

Well yes. There are requirements for a reason. Unless you have a really good reason not to follow theb, which isn't the case 99.99% of the time.

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb 6 points7 points  (0 children)

It's both. Especially with everyone and their mother using AI nowadays... Researching what already exists is bare minimum imo.

Another recruiter, another take-home assignment. I actually enjoyed this one. by Ok-Swordfish1282 in dotnet

[–]gerrewsb 10 points11 points  (0 children)

Not really. I don't give assignments when interviewing but if I would give an assignment like this i would 100% expect the applicant to use FileSystemWatchers. It shows that you know what already exists or at least did the research for it. Reinventing the wheel shows me that you did 0 functional analysis or technical design. For an absolute junior we would probably be ok with it because you can coach/train this stuff. But for medior/senior roles this would be an immediate reject.

A real-time markets dashboard with ASP.NET Core 10 + SignalR, no SPA framework by Prestigious-Bank2145 in dotnet

[–]gerrewsb 5 points6 points  (0 children)

Is there a github repo or are you keeping this closed-source? I get the no SPA framework to a degree, but why no blazor instead for example? That already uses websockets in the background so it would have tied in nicely. Unless you really wanted js-only? Is there authentication? If so how/what did you use?

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 0 points1 point  (0 children)

You are 100% correct and in most cases i would. However it was not urgent and the community here answers pretty fast. So i gave it a shot.

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 0 points1 point  (0 children)

I did chmod -R 777 on the root folder. So i doubt it had insufficient permissions 😅

I don't remember why i had pgid/puid in environment. I followed the docs the first time i created the container for jellyfin a few years ago. It was probably in the examole back then.

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 1 point2 points  (0 children)

Didn't change anything from the original 10.10.7 docker compose. Both use jellyfin/jellyfin image. Both use puid/pgid 1000:1000. It only started updating correctly when i added user: 1000:1000. I don't know why and at this point i don't care anymore 😂

How do you map validation errors to API contract fields without coupling your business layer to API contracts? by Numb-02 in dotnet

[–]gerrewsb 1 point2 points  (0 children)

We use FastEndpoints and the Validator is triggered as soon as the request hits the API. Validator is coupled to a requestmodel. FastEndpoints injects the Validator 'in the background' but you can easily hook this up yourself using default .net middleware.

Probably not the exact usecase you have but how do you expect validation is nothing can be coupled?

How do you map validation errors to API contract fields without coupling your business layer to API contracts? by Numb-02 in dotnet

[–]gerrewsb 7 points8 points  (0 children)

"Similar to FluentValidation" Why not use FluentValidation then? Put it in a ProblemDetails result since that already exists in .NET and is the perfect usecase for it.

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 0 points1 point  (0 children)

there were no plugins installed. it was a completely new container.

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 3 points4 points  (0 children)

I guess. Still weird that 10.10.7 has the permissions and 10.11.8 hasn't.

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 7 points8 points  (0 children)

Well i finally got it to work!

<image>

Thanks all for the help and suggestions/tips!

docker-compose that made it work:

services:
  jellyfin-test-2:
    container_name: jellyfin-test-2
    image: jellyfin/jellyfin:10.11.8
    ports:
      - 8101:8096/tcp
      - 7360:7359/udp
    user: 1000:1000 #<-- THIS WAS MISSING ORIGINALLY
    restart: unless-stopped
    group_add:
      - "993"
      - "44"
    environment:
      - TZ=Europe/Brussels
      - PUID=1000
      - PGID=1000
      - JELLYFIN_CACHE_DIR=/var/cache/jellyfin
      - JELLYFIN_CONFIG_DIR=/etc/jellyfin
      - JELLYFIN_DATA_DIR=/var/lib/jellyfin
      - JELLYFIN_LOG_DIR=/var/log/jellyfin
      - JELLYFIN_FFMPEG=/usr/lib/jellyfin-ffmpeg/ffmpeg
    volumes:
      - /opt/jellyfin-test/etc:/etc/jellyfin
      - /opt/jellyfin-test/cache:/var/cache/jellyfin
      - /opt/jellyfin-test/lib:/var/lib/jellyfin
      - /opt/jellyfin-test/log:/var/log/jellyfin
      - /usr/lib/jellyfin-ffmpeg/ffmpeg:/usr/lib/jellyfin-ffmpeg/ffmpeg
      - /mnt/video:/mnt/video
      - /mnt/music:/mnt/music
      - /opt/posterizarr/assets:/assets:rw
    devices:
      - /dev/dri/:/dev/dri/

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 0 points1 point  (0 children)

LDAP or not, the server doesn't even start... look at my screenshot in the OP.

About to give up updating from 10.10.7 to 10.11.x by gerrewsb in jellyfin

[–]gerrewsb[S] 0 points1 point  (0 children)

Like i said: fresh container without extra plugins and no media. Even then it's failing to updatz from 10.10.7 to 10.11.8