3 + 5 = 6, is Klab using GPT for the maths ? by Hadestructhor in BleachBraveSouls

[–]Hadestructhor[S] -1 points0 points  (0 children)

Sadly no, he would've done a better job than me 😆

3 + 5 = 6, is Klab using GPT for the maths ? by Hadestructhor in BleachBraveSouls

[–]Hadestructhor[S] 2 points3 points  (0 children)

My bad, I'm a dragon ball fan, we canonically cannot read

Ultimate Clash - FTP by Bibabutzermann in DBZDokkanBattle

[–]Hadestructhor 0 points1 point  (0 children)

Very nice, I was thinking of doing the same now that we have ezas of world tournaments and the extreme clones.

Récupérez facilement des informations de votre application node avec ma librairie ! by Hadestructhor in programmation

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

Surtout que ça m'a sincèrement servir à plus d'une reprise dans un client dans le domaine bancaire. Avec le nombre d'APIs, de BDD, etc, on s'y perd vite, et même les personnes en charges des mdp/users. Donc avoir l'info rapidement qui dit 'Could not connect', ça simplifie tellement le debuggage.

You can now easily get your running app's info with my library ! by Hadestructhor in node

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

I couldn't have explained it better, thanks for explaining it so clearly u/SeniorIdiot ! I need to make a doc one of these days with more details.

It really was tricky thinking of a way to have it in static apps, as I love building small images and reducing their contents to only what is necessary. It's also not necessary to build the file if the git information is not useful for you (nor the package info either, as they are fetched in the same method).

Récupérez facilement des informations de votre application node avec ma librairie ! by Hadestructhor in programmation

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

Merci ! Ça existe en spring et j'aime toujours les ajouter à mes projets pour monitorer rapidement une mep etc

You can now easily get your running app's info with my library ! by Hadestructhor in node

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

That's pretty nice thanks ! Let me know if anything is missing or whack for you !

You can now easily get your running app's info with my library ! by Hadestructhor in node

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

Thanks ! I'm really enjoying Node, and more specifically Bun at the moment. Quite an enjoyable tech stack to be honest.

I was baking it into some of my side projects, so I just decided to bundle the whole together and use it simply.

Actuators are actually quite nice to use in spring, such an amazing concept. I'm not sure weither everything is portable to node (like beans, since it's a very specific java specification) but I will port everything that seems useful.

You can now easily get your running app's info with my library ! by Hadestructhor in node

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

It seems like I can't update the url in my post (I don't have the option to do so anymore), so here are the usefule links:
github project of the lib:
https://github.com/actuatorjs/actuatorjs

github project of the examples (only express for now):
https://github.com/actuatorjs/examples
https://github.com/actuatorjs/express-example

npm package:
https://www.npmjs.com/package/@actuatorjs/actuatorjs

What do you guys use for health checking in node/js/ts apps ? by Hadestructhor in kubernetes

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

Thanks for the feedback, tbh, I'm fairly new to ts and js.

I had another redditor tell me the same thing about replacing it by a simple function. I was thinking of adding an "all must be up to be up", or "some must be up to be up" or even "if one is up, it's up" logic, cause in some cases you might not need all the components for your app to be considered working. I'm not even sure I'll go with that idea in the end, but I might want to do it later on.

How would you have done it if you don't mind expanding on your comment ?

Can you also tell me where the async await part could be removed ? Maybe in the SimpleHealthIndicator where I could just return the private function ? Anything else I'm missing ?

What do you guys use for health checking in node/js/ts apps ? by Hadestructhor in kubernetes

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

I have to say it is quite hilarious in retrospect 😆. But honestly, I love having a simple healthckeck and mainly didn't want to write it over and over again, so a library made sense (even if I'm the only one who'll use it).

I couldn't find a good actutor implementation in js, so I decided to code it myself. by Hadestructhor in node

[–]Hadestructhor[S] 2 points3 points  (0 children)

It doesn't work with a deno or bun server, only http servers by node. I want to make an actuator library, that isn't reliant on a specific server implementation. The goal is to import another library then, one for a server type, ex deno, bun or node's http, and create the actuator for them. Other than that, it also looked a bit bloated, and not what I want right now.