• 0 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle


  • Why are you using networkd instead of networkmanager on a desktop?

    What a weird question. Networkd works anywhere systemd works, why whould desktops be any different.

    It’s the same as asking someone “why are you using systemd-boot instead of grub?” Because I like systemd boot better and it’s easier to configure. Same with networkd, configuration is stupid simple, I have installed it on my work machine even.

    As for op: since you can manually ping ip addresses and the issue seems to be time-based, could it be that your machine is somehow not renegotiating a dhcp lease?



  • Don’t know why you are getting downvoted, it’s absolutely true. Raw specs these days mean relatively little. With smart frequency boosts that vary with thermals, CPU and GPU on the same package, different workloads stressing different components differently, RAM bandwidth playing different roles for CPU and GPU applications, and many other factors, just stating that the M4 has so and so many cores is practically useless.

    The only real way to gauge performance differences is via benchmarks and measuring sustained workloads.




  • ugo@feddit.ittomemes@lemmy.worldSchrödinger's Code
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    21 days ago

    Im my defense, I did test it. It was working for me.

    But then someone else touched it without understanding it or flipped the truth value returned by one of the functions used by my code without properly fixing the call sites.

    Edit: or they had a merge conflict and they don’t know how to correctly resolve those.



  • I had an issue where the desktop would take a fair amount of time to load, and I have a very different issue that I don’t even know how to categorise. There’s a wayland app in which keyboard works but some keyboard related things stop working if I lock my screen.

    The app is a game (Victoria 3). Normally, space pauses / unpauses the game, escape opens the pause menu, etc. If I lock my screen, those things (and more) stop working, but the keyboard as a whole works. E.g. if I go to save the game I can input text in the save name text field. Keyboard and keyboard shortcuts as a whole still work everywhere else.

    The problem goes away if I log out and log back in, but otherwise persists across game session (i.e. closing and reopening the game doesn’t fix it).











  • Thank you for the explanation, now I understand the context on the original message. It’s definitely an entirely different environment, especially the kind of software that runs on a bunch of servers.

    I have built business programs before being a game dev, still the kinds that runs on device rather than on a server. Even then, I always strived to write the most correct and performant code. Of course, I still wrote bugs like that time that a release broke the app for a subset of users because one of the database migrations didn’t apply to some real-world use case. Unfortunately, that one was due to us not having access to real world databases pr good enough surrogates due to customer policy (we were writing an unification software of sorts, up until this project every customer could give different meanings to each database column as they were just freeform text fields. Some customers even changed the schema). The migrations ran perfectly on each one of the test databases that we did have access to, but even then I did the obvious: roll the release back, add another test database that replicated the failing real world use case, fixed the failing migrations, and re released.

    So yeah, from your post it sounds that either the company is bad at hiring, bad at teaching new hires, or simply has the culture of “lol who cares someone else will fix it”. You should probably talk to management. It probably won’t do anything in the majority of cases, but it’s the only way change can actually happen.

    Try to schedule one on one session with your manager every 2 to 3 weeks to assess which systematic errors in the company are causing issues. 30 minutes sessions, just to make them aware of which parts of the company need fixing.