News for hackers. Stuff that matters.

sklarsa

Re:The startup's Postgres survival guide on Wednesday July 22, 2026 @04:27PM (#49012943)
There's nothing wrong with an ORM if you want to move quickly and get something up-and-running, which is the case for pretty much every startup who needs an article like this. As long as you're aware of the typical footguns (N+1 queries) and understand your ORM's lazy-loading scheme, IMO it's worth the tradeoff of developing yet another way to manage and parametrize your queries.

I'd rather spend the time building out my product than prematurely optimizing and overthinking my DB schemas at the earliest phases of a project.

Re:Go-Native Durable Execution on Monday March 02, 2026 @08:19AM (#47217635)
Very timely for me! I've been looking into a go-based workflow engine. How does DagGo compare to go-workflows? https://cschleiden.github.io/go-workflows/
Re:Golfing Is Not Rowing on Monday December 29, 2025 @09:47AM (#46421269)
In my experience as someone who started learning how to golf in their 30s, you need to be playing at least 4x a week to get good enough to start enjoying it in the first place. Unless you like shanking balls 5 yards, looking for lost balls in the woods, or picking your ball up near the green because the rest of your group has already finished the hole. Which to me, is no fun at all.
Re:Incus-OS: Immutable Linux OS to run Incus as a hypervisor on Friday November 14, 2025 @03:50PM (#45932012)
I've been using Incus containers (not VMs) for running tests against a "real" OS and it's been an absolute game changer for me. It's granted me the ability to simultaneously spin up-and-down a plethora of fresh OSes on my local dev machine, which I then use as testing targets for components of my codebase that require Docker or systemd. With traditional containers, it's tricky to mimic those capabilities as they would exist on a normal VM.

Because both my project and Incus are written in Go, orchestrating Incus resources in my test code has been pretty seamless. And with "ephemeral" containers, if things start to get out of hand, I just need to stop the container to clean it up. Much easier than a 2-step process like it usually is.

Looking forward to seeing what's to come in IncusOS!

I'm very surprised to see all of the negativity toward Cloudflare's usability and value here.

It's been relatively painless for me to set up tunnels secured by SSO to expose dashboards and other internal tools across my distributed team using the free plan. Yes, I need to get a little creative with my DNS records (to avoid nested subdomain restrictions), but this is not really much of a nuisance given all of the value they're giving me for free.

And after paying just a little bit ($10-20 per month), I'm getting geo-based routing through their load balancers to ensure that customers are getting the fastest connection to my infra. All with built-in failover in case a region goes down.

Re:AWS in 2025: The Stuff You Think You Know That's Now Wrong on Thursday August 21, 2025 @10:36PM (#44980490)
Usually I write some IaC to automate this tedium so I only have to go through the IAM setup pain once. Now if requirements change, that's an entirely different story...
Personally, I find the OSS Grafana and Loki experience to be a bit maddening; both as an end-user and admin.

From the admin side, I usually end up deploying Loki with Helm charts in k8s clusters. This makes it difficult to tweak specific settings, especially around Loki's varying deployment models and "power-user" options. Helm also makes upgrades a bit scary without rigorous testing in staging environments that have version parity with prod across all infra tools. The same goes for Grafana, which I usually deploy alongside Prometheus, tightly-coupling that entire part of my observability stack.

As for end-user experience, Loki's storage and query model seems to be designed for log aggregation across multiple microservices with structured logging and proper tagging. But sometimes, I just want to read through application logs, and batch-querying through grafana's "explore" interface doesn't make it any easier.

What are people using for log aggregation these days? The author mentions a central syslog server, and that doesn't sound like the worst idea to me...

Re:AI: Accelerated Incompetence on Wednesday May 28, 2025 @10:10AM (#44116221)
> but a single word used in a vague enough way is enough to skew the results in a bad direction

I'm glad I'm not the only one who feels this way. It seems like these models latch on to a particular keyword somewhere in my prompt chain and throw traditional logic out the window as they try to push me down more niche paths that don't even really solve the original problem. Which just leads to higher levels of frustration and unhappiness for the human involved.

> Anecdotally, I've felt my skills quickly regressing because of AI tooling

To combat this, I've been trying to use AI to solve problems that I normally would with StackOverflow results: for small, bite-sized and clearly-defined tasks. Instead of searching "how to do X?", I now ask the model the same question and use its answer as a guide to solving the problem instead of a canonical answer.

Set up your dev environment and get the project running locally. This can take anywhere from 2-3 hours to a week. But if it does take towards the longer end of that period, you will have learned tons about the application's architecture, past design decisions, and will probably have made at least 1 git commit to a README somewhere.
Re: on Wednesday August 21, 2024 @09:55AM (#41310339)
I love the ending of this story, which isn't obvious from just looking at the title. The author identified key pain points around customer support, automated them, and went back to enjoying life. This is the kind of thing that gets me excited about the possibilities of technology and AI as a force multiplier, especially when working on side projects, "lifestyle" businesses, or even startups as a single founder.
Re:Ask HN: What tech stack do you use for your blog? on Thursday January 11, 2024 @03:19PM (#38958387)
Zola, GitHub and Netlify. Easy and free
Re:It's "shakeout" time as losses of Netflix rivals top $5B on Friday December 29, 2023 @09:13AM (#38805059)
I always watch with subtitles in general because the dubs seem to lose the emotion of the scene. The downside being that I can’t multitask and have to pay full attention to what’s happening on the screen. Why do you prefer dubs?
Re:Taking Stock with Teens 2023 Survey on Thursday October 12, 2023 @09:43AM (#37856990)
Re:K3s – Lightweight Kubernetes on Thursday October 12, 2023 @09:32AM (#37856881)
If you go the kind route, be sure to not use Docker for mac and instead opt for podman which is much more resource efficient. Now that I've switched over to podman, my computer doesn't sound like it's about to blast off when I'm running clusters.
Re:AWS IAM Outage on Monday September 11, 2023 @02:38PM (#37471671)
This appears to be impacting SSO and sts services
Re:Ask HN: Could you share your personal blog here? on Thursday July 06, 2023 @09:11PM (#36625703)
https://sklar.rocks for some technical content around what I’ve been working on recently.
Re:Working with CSV files on shell/terminal on Tuesday June 27, 2023 @11:41PM (#36501983)
Personally, I use xsv and it’s been tremendously helpful, especially when working with larger files. https://github.com/BurntSushi/xsv
This is literally the plot of the new Texas Chainsaw Massacre... no thanks.
Re:Incident with Issues and Pull Requests on Thursday May 11, 2023 @12:00PM (#35904105)
Sure!

Here's a gist to the script: https://gist.github.com/sklarsa/845152721ee9292eb01f70756b89...

As for gitea, I'm just hosting it using Docker and orchestrating using a simple docker-compose file that maps the gitea data directory to a Volume on the synology: https://gist.github.com/sklarsa/0dd6d6094dac6bf6e7bf61df9ca5...

It's all hosted on my private network at home.

Re:Incident with Issues and Pull Requests on Thursday May 11, 2023 @10:21AM (#35902507)
I have this setup running on a Synology NAS at home. I'm currently syncing all of my starred github repos to local storage using a short bash script that runs once a week. Once a repo is in gitea, it pulls any new updates from github every 6 hours or so. It's mostly for archival purposes, just in case something majorly bad happens to github.
Re:The Electric Sitar Project on Monday May 08, 2023 @07:25AM (#35860381)
Can you recommend any resources for learning the basics about guitar setups and repairs? I’ve done some basic setup and soldering work in the past, but recently have been getting into modding guitars and don’t want to butcher anything too badly…
Re:Writing a Kubernetes Operator on Thursday March 09, 2023 @03:10PM (#35085987)
I might have to borrow that! Very clever
> Note that since the server program exposes an HTTP server you can actually navigate to the IP address of your PI from any device connected to the same wifi and control your pedal chain from there.

That's a killer feature for me, hiding at the end of the README. I have a Fractal Audio FM3[0] at home, and the only way I edit my patches is using their editing software over a USB connection to the device. Adding the ability to program (and even control) my patches live over any wifi-enabled device is even cooler!

[0] - https://www.fractalaudio.com/fm3/

Older »