StealthyCoder

devlife

So this will hopefully convey the message on how to model your code in order to have things done in a nicer way.

Read more...

I started a project recently using Spring WebFlux which is based upon Project Reactor. I chose this one because it was new and I thought for the client it would suit the best as a lot of data was involved.

Read more...

Today there was a big outage on GitHub, that happens sometimes. Nothing you can do about that. However therefore CircleCI was also experiencing outages. I imagine more services rely in this way on GitHub, not to mention it is the one central pool of knowledge for what is effectively the modern civilisation.

Read more...

The other day I realised there is no real good way to share the same DTO models between your backend and your frontend even though that is the common code they need. Let us say an endpoint returns a simple representation of a user like a profile. That profile is needed to be displayed in the frontend again as well. Now if you code in full JavaScript you might get away with just accessing the properties or keys as you might just work with the JSON directly. However as things stand now, there is more and more TypeScript and therefore you need to redefine the same DTO in the frontend now before you can use it.

Read more...

You cannot really tell from this site, as I chose not to use date timestamps on the articles, but I have not written an article in quite some time. I underwent therapy and dealt with a higher than normal workload for quite some time.

Read more...

There was a problem on a server we did not control. It was managed by a third party and we only got a service account. Since things were down and I did not have full root access I got a bit annoyed waiting for them to respond back.

I decided to take matters into my own hands.

Read more...

Sometimes you need to run Docker containers in different circumstances, like on Raspberry Pi's or you have systems that are just wired differently (Alpine) and sometimes even a combination of those (Alpine on a BananaPi) and you do not always have everything laying around to reproduce it. So what do you do?

Read more...

I just wanted to find out if a directory was writable for the user, and it turns out it is quite difficult to get that information in Golang. How difficult could it be?

Read more...

I quite like keeping old things alive, longer than they were meant for maybe, but also repairing things that got broken. For example toys my children play with.

Read more...

You would think this takes place in the early days of computing, but no this takes place in 2023. I needed to share some files to help my brother to launch a new website.

Read more...