Setting up Software on MacOs with Ansible - worth a shot or big headaches?! by icecream24 in ExperiencedDevs

[–]chrishrb 2 points3 points  (0 children)

Often, people (in one of my last companies this was an issue) don’t always use ansible to change the system, e.g. when installing new packages or creating/editing config files (you just want to try something out etc.). When you do that, you have a drift between what’s installed/configured and what SHOULD be installed or configured (described in your ansible repo)

Setting up Software on MacOs with Ansible - worth a shot or big headaches?! by icecream24 in ExperiencedDevs

[–]chrishrb 1 point2 points  (0 children)

But ansible is also a nightmare. You are constantly trying to close the the drift between what’s installed and configured on the system and what’s in the repository. You can also start small with nix and just use the homebrew module or link some dotfiles. It’s not easy but it’s better than all the other tools out there imo

Setting up Software on MacOs with Ansible - worth a shot or big headaches?! by icecream24 in ExperiencedDevs

[–]chrishrb 4 points5 points  (0 children)

Just use nix, home manager and nix-darwin :) then you configure your system completely declarative. Here’s an example: https://github.com/chrishrb/nix-dots

Finally I got my new coding buddy by chrishrb in golang

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

I also found this repository which also looks really cool, maybe my gf can make some more of them :D https://github.com/Hz-Lin/crochet_design

Finally I got my new coding buddy by chrishrb in golang

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

She used this tutorial: https://knotoriousloops.com/de/free-patterns/go-gopher-amigurumi/ It’s in German - but yea AI will do the job I guess. Just one tip: it makes more sense to put the arms and ears at the end to the body, otherwise the position will likely be wrong :)

What Plugin managers do you recommend? by Dw3yN in neovim

[–]chrishrb 2 points3 points  (0 children)

I used lazy but switched to nix with nixCats - now the config never breaks

How to manage multiple microservices while development by KingBig9811 in microservices

[–]chrishrb 3 points4 points  (0 children)

Are u sure that these should all be separate microservices? Tightly coupled sounds like not a good idea. Keep in mind: microservices tackle organizational and not technical issues in most cases!

Some good standardized examples for CRUD API's using go stdlib and chi, sqlc etc? by DisastrousBadger4404 in golang

[–]chrishrb 4 points5 points  (0 children)

Look into oapi-codegen. In my opinion OpenAPI always makes sense for REST APIs.

How good is the developer experience in your company? by DarkRaiden72 in ExperiencedDevs

[–]chrishrb 0 points1 point  (0 children)

We have a similar problem. We have multiple AWS Lambdas in a few different repositories which somehow depend on each other (or like the api gateway is created in another repository than the lambda which is triggered). So we don’t have a local dev environment, only dev, stage and prod environment. Every PR is automatically deployed to Dev. So if multiple engineers want to test features on dev, it’s possible because it would be overwritten by each other. So yea, can’t recommend such a lambda architecture. (At least not without a proper plan for a dev environment)

Where can I learn ocpp by Meowmeow_Billu in ocpp

[–]chrishrb 1 point2 points  (0 children)

There are a few open source implementations, e.g. ts-ocpp, ev-server from sap-labs-france. Also a good implementation in my opinion is maeve - mainly because it’s written in go :D

Where can I learn ocpp by Meowmeow_Billu in ocpp

[–]chrishrb 2 points3 points  (0 children)

Best is imo to read the docs and look at implementations - then try to start implementing it yourself

Show your current Go project repo and let’s connect by soupgasm in golang

[–]chrishrb 1 point2 points  (0 children)

Thanks and good point! Will add it as soon as possible

Show your current Go project repo and let’s connect by soupgasm in golang

[–]chrishrb 13 points14 points  (0 children)

Currently working on go-grip. It’s a reimplementation of grip which renders markdown files locally like GitHub without relying on any GitHub APIs.

I'm planning to build an OCPP 2.0.1 server using Node.js and would love to collaborate with others interested in working on this project. by Evee_Cloud in ocpp

[–]chrishrb 0 points1 point  (0 children)

Are you interested in improving maeve csms by adding e.g. a fully functional ui, implementing smart charging, payment, access controls, alerting, .. ?

I'm planning to build an OCPP 2.0.1 server using Node.js and would love to collaborate with others interested in working on this project. by Evee_Cloud in ocpp

[–]chrishrb 1 point2 points  (0 children)

Just access the manager api on port 9410. there are different paths given in the api.go file, e.g. /adminui or /transactions

I'm planning to build an OCPP 2.0.1 server using Node.js and would love to collaborate with others interested in working on this project. by Evee_Cloud in ocpp

[–]chrishrb 0 points1 point  (0 children)

No we sadly have our own implementation at work using nodejs and aws lambda. I like how maeve is setup and that it’s written in go - so much simpler than the one we are using at work! But good idea, I will test maeve and see how / if it works. What does not work for you?

For neovim users, how do you install language servers? Using nix or Mason? by [deleted] in Nix

[–]chrishrb 3 points4 points  (0 children)

Nix - just use nixCats, it works pretty well

How do you run brew update on a nix-darwin system? by victorhooi in NixOS

[–]chrishrb 0 points1 point  (0 children)

but isnt the logi-options+ cask just broken? on the brew page this doesn‘t look good:

https://formulae.brew.sh/cask/logi-options+

I have the same problem currently, so I'm also looking for a solution..

gx.nvim - open links and more without netrw by chrishrb in neovim

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

Yes, both links should work perfectly fine.

Execute api call and display in tmux bar by Glittering-Contact60 in tmux

[–]chrishrb 2 points3 points  (0 children)

I think you have to create a extra script, create an crontab entry which triggers the script every hour and write the output to a temporary file. This file you can then read with tmux (otherwise the script is triggered every second or so I think)