News for hackers. Stuff that matters.

lucasepe

Show HN: An opinionated way to build and maintain complex YAML documents

A tool to build a YAML document from a directory tree containing YAML fragments.It is useful everywhere complex YAML configuration is employed:- CI pipelines - Crossplane Compositions - Kubernetes manifests, etc.For instance, Kubernetes resources can be complex, and in turn make the YAML very verbose.The aim is to make the document easier to reason about and maintain.### How to use`dirty`...

( Read More... | 1 comment | on HN )

Show HN: A Notebook about using `client-go` to write Go clients for Kubernetes

https://leanpub.com/using-client-go-season-1

Hi everyone!I just published the notebook "Using `client-go` - (season 1)".This is the first “Season” about Kubernetes `client-go` library; it will: - cover the foundations and the core ideas - introduce you to the whole concepts preparatory to master custom controllers implementationYou can download the TOC (and then if you like buy the notebook) here: ...

( Read More... | no comments | 3 points | on HN )
Re:Show HN: Turn asterisk-indented text lines into mind maps on Thursday September 10, 2020 @02:55AM (#24429636)
I needed a quick and easy way (text lines) to condense information during the many and super boring meetings. Whene I need to edit the map, I change the text and regenerate the image. Not all "mindmap" recipients have the software to view maps, but everyone can see a PNG image. And above all...I had a lot of fun writing the software :-)
Re:Show HN: Turn asterisk-indented text lines into mind maps on Wednesday September 09, 2020 @02:48AM (#24418009)
Thank you!
Hi! :) thanks!

I don't work for Hascicorp and no I'm not looking for jobs right now.

I'm really really curious... a lot!

I was fashinated about how terraform does it's magic, so I studied terraform source code (just the part related to Hcl).

I like the idea to write a custom declarative language, with expressions and custom function.

As side project (just for fun) I'm writing a 2D Cad all with custom Hcl directives and geometric functions (intersections etc.).

Since for my job I need to draw and change..a lot.. solution architectures diagrams... so the Jumble idea was born.

All the best, Luca

Thank you! I had the same problem with Graphviz (if you are curious and have time, check my other experiment 'draft' it uses graphviz. Right now with 'jumble' I'm able to draw all kinds of architectures. I'm using Jumble also to merge different architecture patterns.
Hi! Thank you very much! And thanks for the hints about the GIF! I'm writing docs and more samples and with the next release I'll replace the GIF with docs and static images.

Show HN: Learning Go Pills

I am committed to preparing at least two "Learning Go Pills" per week to allow anyone who is passionate and intrigued to approach this powerful, fun, versatile and simple programming language.What the heck is a "Learning Go Pill" ? ...well a "pill" is a presentation with few straight and juicy slides!Here the new content, enjoy! Day #7 - Maps ...

( Read More... | 1 comment | on HN )
the password is read from console without echoing and is not saved in history. Here the specific code: https://github.com/lucasepe/pwsafe/blob/cf86ca21f88ff86dc181... and here a great description about the ReadPassword function https://www.mycodesmells.com/post/reading-password-input-in-....

Give it a shot...download the binary for your OS and play with it. thanks, luca