HNHacker News
TopNewBestAskShowJobs

domlebo70

244 karma · joined October 21, 2011

meet.hn/city/au-Gold-Coast-City

Socials: - github.com/dbousamra

---

submissionscomments
domlebo70··on Postgres rewritten in Rust, now passing 100% of the Postgres regression tests
Devils advocate: Are they? Why? If LLM's are capable of taking absolute crap and iterating on it to achieve a purpose, then does readability really matter?
domlebo70··on It is an amazing time for programmers
Awesome. Similar experience to me. Was selling some sim racing gear, and he mentioned he was in fabrication. Now he's my fab guy and we chat heaps.
domlebo70··on Blue Origin's New Glenn blows up during static fire test
Yeah, but at the end of the day you can't be sure right? That doubt would eat away at me
domlebo70··on Blue Origin's New Glenn blows up during static fire test
How does one even go about finding a root cause so exotic?
domlebo70··on Does anybody like React?
I love it. Easy to write and understand
domlebo70··on Grief and the AI split
Very good way to describe it. I am enjoying Opus a lot.
domlebo70··on Grief and the AI split
Maybe I'm solving different problems to you, but I don't think I've seen a single "idiot moment" from Claude Code this entire week. I've had to massage things to get them more aligned with how I want things, but I don't recall any basic syntax or logic errors.
domlebo70··on Show HN: I built a text-based business simulator to replace video courses
Unclear what to do. I obviously could have invested another 30s and figured it out.

I really like the scenarios - i think there's a lot of value there. I wonder if you can double down on that somehow.

domlebo70··on Show HN: I built a text-based business simulator to replace video courses
I've been on the site for 10m, and I'm loving it. I find the interface quite confusing. I'm getting value from the theory tidbits, and the scenarios. The simulation was confusing and i just noped out. I'd say the UI is a bit too overdone
domlebo70··on How to code Claude Code in 200 lines of code
I don't code in Python much. Are those type annotations really how people are using them, or is it just for the example?

    def list_files_tool(path: str) -> Dict[str, Any]:
And it returns

    {
        "path": str(full_path),
        "files": all_files
    }
Is that useful?
domlebo70··on Rust's Block Pattern
We do this via run in TS:

    export const run = <T>(f: () => T): T => {
      return f();
    };
domlebo70··on I used Claude Code to write a piano web app
Do you use plan mode? Do you link specific files as reference using @? Those two alone make a big difference for me.
domlebo70··on Unison 1.0
I've never used it, but watched from afar. So many interesting ideas. The website is also really good. Congrats Paul and team
domlebo70··on Cognitive and mental health correlates of short-form video use
You need to do more drugs then.
domlebo70··on Show HN: Pegma, an open-source version of the classic Peg solitaire
Interesting name
domlebo70··on Counter-Strike's player economy is in a freefall
I was wondering if you had any thoughts on the CS2 rollout (2 years and counting) and the number of bugs, poor performance, and issues?
domlebo70··on Migrating from AWS to Hetzner
How do people deploy docker containers on a machine like this? We currently use Cloud Run, which is very hands off. How is a deploy done?
domlebo70··on Auth.js is now part of Better Auth
With Auth.js, I assume they control the database layer? I.e. can i supply my own functions for reading and writing to the DB, or I have to use their Kysely stuff?
domlebo70··on Immediately-Invoked Function Expression (2010)
Reminds me of this post https://maxgreenwald.me/blog/do-more-with-run

I now reach for this a lot to allow me to write expression oriented programs in JS

domlebo70··on Better Error Handling
Very balanced post thank you. Often these posts tout an approach, and never consider downsides.
domlebo70··on Building Game Prototypes with LÖVE
What do people think of Phaser? Currently playing around with it. API seems pretty large
domlebo70··on Tiny Glade 'built' its way to >600k sold in a month
Does anyone know how it works? Is it some sort of wave function collapse?
domlebo70··on Flawless is now in public beta
Gotta say, that animation is amazing.
domlebo70··on Show HN: I quit my job and made an automatic time tracker
Thanks. I am about to start an app using Tauri, and styling the UI so it doesn't feel like a "web app" is a concern of mine
domlebo70··on Show HN: I quit my job and made an automatic time tracker
Hey. Well done on launch. Looks very sleek. So the frontend is some sort of JS/CSS app. How did you get it so native looking? What UI libs are you using, or just tailwind classes?
domlebo70··on Ask HN: Those making $500/month on side projects in 2024 – Show and tell
This is great. I run a very very similar platform. How are your prices so cheap? 120$ for 500 studies a year?
domlebo70··on Haskell mini-patterns handbook (2020)
I had never heard of inverseMap. I suppose it only works where every variant can only be parsed in the same way it is rendered.
domlebo70··on TypeScript is surprisingly ok for compilers
Yeah this is where I heard about it :P I showed all my dev friends, and our minds were equally blown away by the obviousness of it.
domlebo70··on TypeScript is surprisingly ok for compilers
To OP: You could avoid the visitor by using an IIFE style switch using the run utility fn:

    export const run = <T>(f: () => T): T => f();
Now you can go:

    const inferred_type = run(() => {
      switch(blah) {
        ...
      }
    })
domlebo70··on Show HN: I made an open-source Notion-style WYSYWIG editor
YousefED, love Blocknote, but I ended up not using it for a new project, just because it's too prescriptive. Which I totally get is a positive for many. I.e they want the UI and controls built in and off the shelf. I would love to just use the Core API (block etc) and get some useful hooks, so I can extend it in my own ways
Page 1 of 6Next →