Rico Moorman πŸ€ (@RicoMoorman) header
Rico Moorman πŸ€ (@RicoMoorman) profile picture

Father, husband and being intrigued by too many things. Jack of many trades, master of some. πŸ™ƒ

Joined August 2014
Rico Moorman πŸ€ retweeted
Ownership is dead
14
44
3
567
6,323
Rico Moorman πŸ€ retweeted
unpopular dockerfile takes (that actually work) 1 - stop using alpine β€” yes, it's tiny. but musl libc β‰  glibc. your python/node app will rebuild native deps from scratch or just... silently be slower. use -slim (debian-slim) instead. same size win, zero grief. 2 - layer order is your cache strategy. COPY your lockfile first, run install, then copy source. invalidating the install layer on every code change is a skill issue ngl 3 - multi-stage builds aren't just "best practice" β€” they're the actual reason your prod image doesn't ship gcc and 400mb of build tools. builder stage = bloat zone. final stage = lean mean container. 4 - COPY . . is fine actually β€” if your .dockerignore is correct. most pain here is from forgetting to ignore node_modules/, .git, *.log. fix the ignore file, not the COPY. 5 - one process per container is a vibe, not a law. if your app needs nginx + app server and you're not at k8s scale β€” just use supervisord. the "one process" dogma costs more complexity than it saves sometimes. 6 - pin your base image by digest, not tag. node:20 today β‰  node:20 in 6 months. prod broke because of a tag? that's a you problem tbh. 7 - BuildKit cache mounts (--mount=type=cache) will change your life. pip/apt/cargo cache between builds without it ending up in the final layer. nobody talks about this enough fr there's no "best practice" in a vacuum. alpine is great for Go binaries. slim is great for Python. scratch is great for static bins. know your workload, then choose. btw if you want something to catch all this stuff automatically - check out dockerfile-roast β€” a linter written in Rust that literally roasts your Dockerfile. 63 rules, brutally honest output (but it can also provide just dry facts, no roast), runs on any OS or as a docker container github.com/immanuwell/docker… #docker #devops #kubernetes #backend #linux #rust #sre #containers
31
163
24
1,936
144,003
Rico Moorman πŸ€ retweeted
741
10,317
639
69,972
1,458,010
Rico Moorman πŸ€ retweeted
these ai videos are getting crazy
91
133
13
2,112
296,672
Vim Has A 0-Day???? youtu.be/zMpn9ICagdE ... oh those days before widespread formatter use ... feeling oldπŸ™ƒ Nice catch that git fsmon trick! Thank you @ThePrimeagen for sharing
21
Rico Moorman πŸ€ retweeted
I need that laminated. Hell I need this as an email auto responder
104
1,654
113
11,205
1,093,586
Rico Moorman πŸ€ retweeted
It is.
33
172
5
4,382
141,743
Rico Moorman πŸ€ retweeted
You're using stainless steel pan wrong Watch this to learn 🍳
263
1,407
105
16,787
1,588,482
Rico Moorman πŸ€ retweeted
man, I love terminal spinners github.com/vyfor/rattles #rustlang #ratatui
38
261
11
3,909
139,148
20 YEARS IN GRAPHIC DESIGN… And I’m Just Getting Started! youtu.be/r_SlTmLXnrs
11
Rico Moorman πŸ€ retweeted
Khan Academy is always a great website. I wanted to brush up on my statistics and probability skills, and I found this course perfect. There are no prerequisites, and you won't need more than a few weeks to finish it.
4
7
93
4,399
Your Website Is Running Code You’ve Never Seen - Scott Helme - NDC Security youtu.be/csTfx6H1tH4
12
Rico Moorman πŸ€ retweeted
we spoke to a company today who's security team is so concerned by ai code they're considering banning ai tools your first reaction might be "they're gonna get left behind" but if you are practical their concerns aren't invalid if you are a huge multi national org with tens of thousands of employees and they just got a button that appears to do their work, it's gonna get pushed a lot and the process around knowing what is making it to production is totally melting being honest we're all getting a bit lazier see that kiro related aws outage as a real life example so they're genuinely arguing over how much this is going to be allowed esp since the net productivity gains for the average dev seem to be pretty low
175
103
28
2,475
279,965
Rico Moorman πŸ€ retweeted
if you are high up at a company you probably miss the days when you coded and shipped features you feel a crazy amount of exuberance now that coding agents return some of that back to you it's a huge mistake to think this is somehow relevant to people working day to day
70
37
3
1,213
78,378
Rico Moorman πŸ€ retweeted
πŸŽ‰πŸ₯³Just published my 20th package to @hexpmπŸ₯³πŸŽ‰ Jsonnex github.com/akoutmos/jsonnex allows you to compile Jsonnet files directly in Elixir using the Golang reference implementation and WASM! Great for dynamic configuration files like PromEx Grafana dashboards πŸ˜‰. #ElixirLang
6
29
1,201