Better HN
topnewbestaskshowjobs
Log inSign up

cyneox

164 karma · joined Apr 8, 2015 (11y ago) · 49 submissions

https://blog.dornea.nu
Submissions

1.

Security Monitoring in AWS: Cloudtrail, Cloudwatch and Eventbridge(defersec.com ↗)

1 points · by cyneox · 2y ago · discuss

2.

Documentation for Cloud Using C4 and Structurizr DSL(blog.dornea.nu ↗)

2 points · by cyneox · 3y ago · discuss

comment 3y ago · link · parent

This is indeed awesome! Thanks for letting us know.

comment 3y ago · link · parent

I've used ORG along with Babel to write that post: https://github.com/dorneanu/roam/blob/main/org/blog/2023-07-...

5.

Documentation as Code for Cloud Using PlantUML(blog.dornea.nu ↗)

96 points · by cyneox · 3y ago · 34 comments

comment 3y ago · link · parent

I've also used alpineJS, Golang and tailwindCSS to build gocial [1]. The source code is also publicly available [2]. The whole project is hosted at netlify as a big Lambda function.

But I think for future projects I might use HTMX + Tailwind.

[1]: https://gocial.netlify.app/

[2]: https://github.com/dorneanu/gocial

7.

Read HN and Reddit threads in Emacs(blog.dornea.nu ↗)

3 points · by cyneox · 3y ago · discuss

comment 3y ago · link · parent

The use of Infrastructure as Code (IaC) has been gaining popularity as a best-practice for automating infrastructure deployment and configuration. It brings numerous benefits such as increased development velocity, less errors and less deployment pain. One of the widely used IaC tools is AWS Cloud Development Kit (CDK), which allows developers to create resources in AWS using their preferred coding language (e.g. TypeScript, Python, Golang etc.). With CDK, developers can leverage language-specific features (for-loops, if-statements, functions, classes) and create and customize most AWS resources easily.

However, sometimes custom resources are needed, which are not directly supported by CDK. And in some cases, extra logic is required whenever a resource gets created. So was my case with AWS Systems Manager Parameter Store (SSM) SecureString parameters. These parameters ensure that sensitive data like passwords, API keys, and other credentials are encrypted using AWS KMS. While CDK supports SSM parameters, it does not allow for the creation of SSM SecureString parameters.

This is where AWS Lambda-baked custom resources come in. They allow developers to define the lifecycle management of resources and implement required logic when resources are created, changed, or deleted. In my latest blog post I've leveraged CDK, TypeScript, and Golang to create a custom resource for SSM SecureString parameters. This custom resource used an internally created lambda to take care of everything.

9.

AWS Custom Resources with Lambda and Golang(blog.dornea.nu ↗)

2 points · by cyneox · 3y ago · 1 comment

comment 3y ago · link · parent

For me it was definitely Emacs and ORG mode. I use this combo to create presentations (pdf + reveal.js), write notes (org-roam style), do project management (ORG mode at its best), collect small code snippets (literal programming in ORG mode), almost everything...

As for a large code base I found ripgrep + rg.el (the interface in Emacs) to be pure gold!

11.

Show HN: Gocial – Small PoC for social media interactions(gocial.netlify.app ↗)

2 points · by cyneox · 3y ago · discuss

12.

Hexagonal Architecture in Python(slides.dornea.nu ↗)

2 points · by cyneox · 4y ago · 1 comment

comment 4y ago · link · parent

Nice and thanks for sharing! I recently listened to the "SE Radio Podcast - Episode 531" where you talked about tailscale. I've subscribed to your blog and now I see you again on HN :D

comment 4y ago · link · parent

In this case I recommend Tiddlywiki and/or Obsidian. You'll get a nice UI and you don't really have to care about tweaking.

In my case it's just that I heavily rely on Emacs for almost everything. That's why I also moved away from Tiddlywiki.

comment 4y ago · link · parent

In the first part¹ I've outlined the main factors for moving my braindump / digital garden (from Tiddlywiki) to org-roam. In this 2nd part I show how to publish ORG roam notes to HTML using hugo. Some #emacs kung fu also helped with the content editing of old/new notes.

¹: https://blog.dornea.nu/2022/09/03/migrate-tiddlywiki-to-org-...

16.

Migrate Tiddlywiki to org-roam – Part 2: org-roam and hugo(blog.dornea.nu ↗)

2 points · by cyneox · 4y ago · 3 comments

17.

Migrate from Tiddlywiki to org-roam – Part 1(blog.dornea.nu ↗)

1 points · by cyneox · 4y ago · discuss

18.

Book summary: Building Microservices (2nd edition)(blog.dornea.nu ↗)

2 points · by cyneox · 4y ago · discuss

19.

How to Use Tiddlywiki via REST API in Emacs(blog.dornea.nu ↗)

3 points · by cyneox · 4y ago · discuss

comment 4y ago · link · parent

Speaking for myself: For someone who didn't have a software engineering background (for the last decade I was mainly doing offensive Security stuff) probably the main choice would be Python. However, at some point I've felt in love with statically typed languages: The compiler became my biggest friend and I learned about the benefits of having "contracts" (in form of interfaces, strict parameter types for methods etc.) between (software) components.

That's why I've spent the last years learning Go. It taught me how to design bigger projects and how to tackle architectural problems in an easy/comprehensive way. I didn't try Rust yet because I didn't have to. I mainly code software/tools to work in cloud environments and HTTP/gRPC technologies. Under these circumstances Golang performs quite well.

For me it's true that Go "is better for getting things done": You'll get one statically linked binary that can be executed almost everywhere (without further dependencies). I'm a big fan of serverless and I wrote simple applications that currently run in AWS Lambda and Netlify (they also used Lambda under the hood). And more recently I got into web development where Golang is again my main choice (at least for the backend part). For frontend I would rather go for VueJS/React. And that's one reason why I've started to learn TypeScript.

I don't have that much experience in TS but I guess I could easily replace Golang by TS to do simple things (HTTP requests, JSON parsing etc.), especially in a Serverless environment.

While my Golang journey was accompanied by this "Golang vs Rust" debate, I do plan to learn Rust as well. But as I've mentioned before, currently I don't have any needs to do so. My advice would be: Learn both (for backend) and some TypeScript (for frontend).

Just my 2 cents...

21.

For digital minimalists – RSS/Atom, Emacs and elfeed(blog.dornea.nu ↗)

2 points · by cyneox · 4y ago · discuss

comment 4y ago · link · parent

Not at all: https://blog.dornea.nu/2022/06/13/rss-and-atom-for-digital-m...

Based on the amount of RSS related posts here on HN, I think RSS/Atom is becoming again more popular.

23.

RSS/Atom for Digital Minimalists(blog.dornea.nu ↗)

2 points · by cyneox · 4y ago · discuss

comment 4y ago · link · parent

I mostyl use PlantUML and C4 Model (by Simon Brown). I have my own collection of PlantUML related resources [1]. I've also recently found these examples [2] which are really nice.

I also do some sketchnoting (using pen & pencil) when I design a system for the first time. I wish I could easily convert those sketches to PlantUML.

[1]: https://brainfck.org/#PlantUML [2]: https://skyksit.com/programming/uml/plantuml-samples/

comment 4y ago · link · parent

You can also read the distilled version here: https://blog.dornea.nu/2022/05/30/book-summary-breath-the-ne...

26.

Breath – The New Science of a Lost Art (Summary and Notes)(brainfck.org ↗)

2 points · by cyneox · 4y ago · 1 comment

comment 4y ago · link · parent

- Way of the peaceful warrior

- Range

- Conversations with God

- Factfulness

- Accelerate: Building and Scaling High-Performing Technology Organizations

28.

Show HN: Presentation as Code – Using Org and Reveal.js(slides.dornea.nu ↗)

2 points · by cyneox · 4y ago · discuss

comment 4y ago · link · parent

Still in love with Tiddlywiki!

comment 4y ago · link · parent

Thanks for your comment. I'll definitely watch the video.
12