HNHacker News
TopNewBestAskShowJobs

mkrd

151 karma · joined June 18, 2024

submissionscomments
mkrd··on Htmx 4.0
When sending json data, the browser has to run javascript to parse incoming data, keep track of it, and assemble the UI based on that data. One of the hardest parts of webdev is to synchronize server and frontend state, so there is a lot of things that can go wrong here, you are essentially maintaining the same state in two locations.

With htmx, there is no frontend state. The html always just reflects the state of the server passively, meaning it cannot go out of sync. When you do something on the frontend and submit some request, the server will update its state and replace the frontend html to reflect that exactly.

Here is an example. Traditional react app: Submit new todo item, append to some reactive js list, update frontend list, send new item to server. Here, you have to ensure that both sides did exactly the same thing, and if either side errors, you have to backtrack. Htmx app: Submit new todo item, send request to server, server stores it into its database, renders new list based on new database state, client replaces the list. Here, the server has the complete authority, and the frontend merely reflects that. If something fails, the server returns the old list plus an error.

This is a tradeoff in efficiency, but the hope is that eliminating frontend state management is worth it.

mkrd··on More German than many Germans
I am one of those who left. Very happy where I am now. As some say, if you want to see all German stereotypes fulfilled, go to Switzerland!
mkrd··on S‑CURVES a field guide to technology adoption · 1825–2026
Seems to be fully AI generated, so most data is likely wrong and hallucinated
mkrd··on Claude Fable 5
Open source models seems to be 1-2 years behind the frontier, so I am very excited to see what happens when those open source labs get their hands on capabilities like this to accelerate their own development speed.
mkrd··on DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
God, I whish there was a code harness I don’t have to install a JavaScript runtime for
mkrd··on An AI agent deleted our production database. The agent's confession is below
A low effort AI written blog post, about a slop-company destroying itself, posted by someone who clearly has no idea what LLMs actually do, which he anthropomorphizes, trying to assign accountability and intent to matrix multiplicatuons.

I wonder why this garbage even gets upvotes, maybe because of how much of a trainwreck the entire situation is

mkrd··on Ask HN: What Are You Working On? (April 2026)
Have you already observed some interesting evolved knowledge? What is the goal, should they at some point autonomously generate valuable new insights?
mkrd··on Voyager 1 runs on 69 KB of memory and an 8-track tape recorder
A phone only has roughly 1 million times the memory, as I am roughly 20 meters tall
mkrd··on Astral to Join OpenAI
Ah shit, back to poetry
mkrd··on Ask HN: What Are You Working On? (Nov 2025)
Haha, didn’t know about that, maybe I should use that as the example on the landing page :D
mkrd··on Ask HN: What Are You Working On? (Nov 2025)
Working on a budgeting app which uses interactive sankey diagrams.

https://budgetflow.cc

It has some dynamic features like sending excess cash or taking missing cash from somewhere else, making it quite useful.

Also, you can connect with our partner or flatmates for shared budgets.

I am actively using it myself together with my girlfriend, and adding new stuff as our demands for budgeting become more elaborate!

mkrd··on Claude 4
Yes, this is pretty annoying. You give it a file and want it to make a small focused change, but instead it almost touches every line of code, even the unrelated ones
mkrd··on Claude 4
True, I think the biggest problem of the latest models is that they hopelessly over-engineer things. As a consequence, I often can only copy specific things from the output
mkrd··on You vs. a Billionaire: An Interactive Perspective on Wealth
Really nice, thanks for linking this!
mkrd··on You vs. a Billionaire: An Interactive Perspective on Wealth
Good catch, thanks! I fixed it.
mkrd··on Show HN: I made a free investment and retirement planner
Hey, thanks a lot for the feedback! It's not harsh, direct feedback is by far the most useful. You are right, it is not super clear how the simulation is done, I'll add that to the page. Currently, you enter a volatility rate, and then the simulation randomly draws from a normal distribution according to the volatility. Doing this around 1000 times gives the range of possible scenarios. In the future I'm planning to add simulations based on historical data. The code is not open source, however you also don't have to connect any banking to it, it can be used as-is. I am taking privacy pretty seriously, that is why there is a legally binding privacy policy on the bottom of the page. But yes, I could put more emphasis on it, and explain how the page is keeping data secure.
mkrd··on An Unreasonable Amount of Time
That thought keeps me motivated to continuously work on a project of mine. That one day, maybe years from now, it will reach that point where it is good enough to get the ball rolling. Only a few, which where there from the beginning, will be able to imagine the efforts that had to go into it.
mkrd··on Running an open source app: Usage, costs and community donations
Same thought, I am absolutely blown away by how much vercel overcharges. I host a similar application on netcup (like hetzner) for 3$ per month, and when it was on HN, it easily handled over 10k requests per hour
mkrd··on Show HN: BudgetFlow - Incorporating Your Feedback!
Hey, thanks for the info, I didn't know that there is a wait period. The version I posted back then was still very much in its alpha stage, compared to now. I would say it is a major difference, but I also get that HN doesn't want too many product updates posted
mkrd··on Ask HN: What are you working on (August 2024)?
Thank you!
mkrd··on Ask HN: What are you working on (August 2024)?
I am working on https://budgetflow.cc

It is a budgeting tool that allows you to create budgets and visualize them as interactive Sankey diagrams. You can configure smart "pockets", which can automatically send excess cash or take missing cash from other pockets. It also allows you to invite other users to shared budgets, so you can use it to plan budgets with roommates or your partner. Currently I am thinking about ways to make it into a viable business, but it is still not quite there yet where it needs to be for that.

mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Looks great man! I think we are doing something different conceptually, my app intentionally doesn’t have expense tracking, and is purely about budget planning.

But I like the idea of automatically generating a sankey from your expenses, good job on that!

mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
I can’t reproduce it, is there a specific order of clicks I could use to get it duplicated?

Edit: Found it, happens on the landing page when not logged in. Thanks!

mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Haha yeah, my 3$/month server gets some hiccups with that much traffic
mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Hey thanks for the feedback! The default budget on the home page does not have the add pocket/flow buttons, those are on the pages where you add your budgets are listed. But it totally makes sense to have them there as well, just added them! Thanks for noticing!

The naming is really hard, the where first called "nodes", but that was hard to understand for many. I habe to analyze this again, maybe you are onto something by just naming them income/expense/account/grouping etc.

The idea to take or send a percentage is very interesting, basically a generalization of how it currently works.

Really valuable feedback, thank you!

mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Great to hear this! Gives me a lot of confidence that it is worth continuing to work on this. The AI integration Idea is interesting, could be a good starting help for everyone who is just starting out. Thanks man!
mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
It's weird, sometimes they are slow for me, too. But everything is done with native CSS transitions. Definitely have to look into that again, thanks for the heads up
mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Thanks!
mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Good find :) It is the perfect foundation to make the site look good without a lot of effort
mkrd··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Yes, seeing the estimate vs the real thing will depend on how you set up your accounts. I have separate accounts for separate concerns, and automatically transfer the budgeted amounts, so I can see at the end of the month if my estimates are correct, or if I need to change them. But if you only have one bank account for everything, this will become harder
Page 1 of 2Next →