hey, the 24 hours i invested were totally worth it to save 30 minutes of work over a year!
- 0 Posts
- 29 Comments
Dunstabzugshaubitze@feddit.orgto
Programmer Humor@lemmy.ml•I wish debugging looked like this
51·5 months agoknowing where something happens is not knowing what happens and especially not knowing why it happens.
A big import of data caused a specific datapoint to be inserted twice into the database, but that only happened in our shared testing environment not in our development environment, logs made it clear that we tried to insert something twice into a join table but not why.
the fix was easy, we can remove the duplicated datapoint from our data before writing it to the database, and we found an edgecase we can handle further upstream so we don’t end up duplicating it in the first place, but why didn’t we run into this issue in dev?
the data is consumed from a kafka topic with a single partition and read order is allways the same as write order, so our service behaves the same way if the same data is written to the topic everytime, but it turns out the producer does not necessarily write in the same order to the topic given the same input and gaining that understanding was a goose chase with debuggers, logs and combing through code of multiple services written by multiple devs working at multiple companies and thats the true horror of enterprise development jobs, teying to get someone from a different team or even company on the phone who can actually explain something to you with whom you can analyse a bigger part of a system.
Dunstabzugshaubitze@feddit.orgto
Linux@programming.dev•GNU Coreutils 9.8 Released With New Features
7·7 months agobusybox and uutils from the top of my hat.
About GNUnet
What is GNUnet?
GNUnet is an alternative network stack for building secure, decentralized and privacy-preserving distributed applications. Our goal is to replace the old insecure Internet protocol stack. Starting from an application for secure publication of files, it has grown to include all kinds of basic protocol components and applications towards the creation of a GNU internet.
Dunstabzugshaubitze@feddit.orgto
Selfhosted@lemmy.world•Is there any open source tv focused os/ui?English
5·10 months agolibreELEC, but that’s just a distribution shipping kodi.
you might be able to utilize steam big picture/steamOS with different browser shortcuts and applications added as non-steam games to open streaming services in kiosk mode or other mediaplayers , that way you’d have good controller support, if you create control schemes for various things.
Dunstabzugshaubitze@feddit.orgto
Linux@programming.dev•Can this become the European Union's own Linux Distribution?
11·1 year agohttps://kalpadesktop.org/ is basend on opensuse MicroOS, a distro with atomic updates. this comes with KDE, there is also a version with gnome of which i forgot the name.
Dunstabzugshaubitze@feddit.orgto
Linux@programming.dev•How to minimize pain of Windows in work environment?
8·1 year agoA virtual machine with Linux might be an option or Remote Desktop to a linux machine.
If its just about virtual desktops:
Windows 11 has that, i think win+ctrl+d creates a new one and win+ctrl+left arrow/right arrow scrolls through the desktops.
with that Docker and WSL(because powershell confuses me, and iam to lazy to learn it) i work pretty much the same as i would on a linux machine with a non-tiling window manager.
Dunstabzugshaubitze@feddit.orgto
Selfhosted@lemmy.world•Custom Attributes in Authentik OIDCEnglish
1·1 year agodoes authentik offer an option to preview a jwt for a given user? might be as simple as that the claim is not named “ocisAdmin” or is not a toplevel entry in the jwt.
Dunstabzugshaubitze@feddit.orgto
Selfhosted@lemmy.world•Custom Attributes in Authentik OIDCEnglish
3·1 year agonot an authentik user, but after skimming their docs i think you have to:
- create a role “ocisAdmin” via authentiks admin interface
- give this role to a group in the admin interface or create one.
- assign a user thats supposed to be an owncloud admin to the group
it might be that you also have to define somekind of mapper to include this in the informations owncloud receives from authentik, but as i said i only skimmed the docs and would personally just try it without the mapper.
Dunstabzugshaubitze@feddit.orgto
Selfhosted@lemmy.world•Docker Hub limiting unauthenticated users to 10 pulls per hourEnglish
2·1 year agooh, thats good to know, forgejo seems way nicer for self hosting than the limited gitlab open source core.
Dunstabzugshaubitze@feddit.orgto
Selfhosted@lemmy.world•Docker Hub limiting unauthenticated users to 10 pulls per hourEnglish
21·1 year agohttps://distribution.github.io/distribution/
is an opensource implementation of a registry.
you could also self host something like gitlab, which bundles this or sonatype nexus which can serve as a repository for several kinds of artifacts including container images.
Dunstabzugshaubitze@feddit.orgto
Programming@beehaw.org•Best Python library for displaying dynamically-generated data?
3·1 year agonever heard of it and assuming you mean streamlit.io
the framework itself seems quite nice, even if pretty much only tailored to presenting data in a good looking way, but i’d never run anything on their cloud service.
By making Provider Content available and/or accessible through the Service, Provider hereby grants to Company a non-exclusive, irrevocable, transferable, sub-licensable, worldwide, royalty-free license to use, display, publish, perform, reproduce, distribute, copy, modify, and create derivative works of Provider Content in connection with operating and providing the Service.
yeah, no screw that i am more than willing to share code, but nothing more.
and it’s probably easier to find help for flask or django on the internet, both are well known frameworks that see industry use for years, where streamlit seems to be very young and less known(plus the aggressive pointing to there ‘free’ cloud stuff)
Dunstabzugshaubitze@feddit.orgto
Programming@beehaw.org•Best Python library for displaying dynamically-generated data?
5·1 year agoyep, turning this into a webapp using flask or django seems like a good way to learn more.
or obey the testing goat provide good guidance for someone getting into web apps with python.
obey the testing goat is more focused on teaching test driven development though, but writing good tests is a great skill regardless when you write them.
don’t worry, it takes atmost three months for that fresh code to become legacy code bogged down by decisions done in anticipation of things that never happened :)
i know story points as an estimate of complexity or time it takes to get something done. i was also asked many times to estimate stories with a fixed hard deadline thats laughably close to LocalDateTime.now(), aka Stories where someone allready decided that this must be an easy thing to do without knowing jackshit.
what are the story points you are talking about?
well, the ticket has a due date in 2 weeks so got to be a 7.
“logs show a reoccuring error in layer 8 everytime a subset of users engages with the system, reassigning this to the service desk to gather more information.”
i’ve read that on real ticket, i’ve laughed about it. it also makes me glad that i don’t do customer support, i don’t have the patience to keep explaining the same people that they keep doing something wrong and i lack the diplomacy skills to engage with devs that believe to be infallible and pretend that bug reports are personal insults against them.
because no one follows the damn guide and “scrum” is done so managers can claim the company can work “agile”, because customers dont want “not agile”, customers also dont want to participate in the way it would be necessary for a project thats supposed to follow the scrum guide. that also sounded good for people looking for a new job so hr wants to put that into job descriptions and now everything is scrum and agile and i still have to sneak in refactorings or have to fight to get time to work on our fricking ci pipeline or need to conspire with QA to get them time to work on test automation, because screw the notion that decisions should be done by the people doing the work.
screw “scrum”, and the word “agile” should never have been taught to anyone claiming to be a “manager”, we don’t need managers we need people helping us getting the tools we need and trust that what we do, we do to deliver better solutions and helping us to fascilate constructive exchanges with customers.

most flexible api-testing-tool
i’ve tested postman, bruno, insomnia and countless things i forgot, but in the end i’ll end up with some bash scripts and curl.