HNHacker News
TopNewBestAskShowJobs

retropragma

20 karma · joined April 11, 2024

submissionscomments
retropragma··on ArkType: Ergonomic TS validator 100x faster than Zod
TypeBox is similar by virtue of its goal of its runtime types matching JSON Schema's data model without need for conversion.
retropragma··on ArkType: Ergonomic TS validator 100x faster than Zod
That's because "minimum length" cannot be enforced in TypeScript. Maybe you already know this.

I'm not a Typia user myself, but my RPC framework has the same feature, and the MinLength issue you mentioned doesn't crop up if you only use the type tags at the client-server boundary, which is enough in my experience.

retropragma··on ArkType: Ergonomic TS validator 100x faster than Zod
An interesting development with Typia is that it will need to be rewritten in Go to work with TypeScript 7. https://github.com/samchon/typia/issues/1534#issuecomment-27...

This is because it relies on patching the TypeScript implementation. I'm curious if its approach is even feasible with Go?

retropragma··on Cognitive security is now as important as basic literacy
Highly doubt this story is true or Bob didn't incite the anomalous behavior
retropragma··on DiceDB
Why would I use this over keyspace notifications in redis?
retropragma··on I ate and reviewed every snack in our office kitchen
Every office needs nuts and raisins
retropragma··on Meta claims torrenting pirated books isn't illegal without proof of seeding
Likely never, as those platforms are continuously updating at no cost to the siphons training their LLMs on them
retropragma··on Uchū – Color palette for internet lovers
Lmao, HN will complain about anything. Leave the guy alone
retropragma··on Show HN: Transform your codebase into a single Markdown doc for feeding into AI
I really want a tool like this that can extract a function and its dependency graph (to a certain depth maybe, and/or exclude node_modules).

I wrote this library [1] and hope to add the fine-grained "reference resolution" utility to it at some point, which could make implementing such a tool a lot simpler.

[1]: https://github.com/aleclarson/ts-module-graph

retropragma··on I do not want AI to "polish" me
It's just shitty prompt design
retropragma··on Litdb – type safe SQL for JavaScript/TS
You sound like someone who might be intrigued about what I'm building.

Raw SQL (or PL/pgSQL which can be quite powerful) with generated, type-safe client "bindings" (TypeScript functions). It also includes "declarative SQL schema" (instantly update the schema of your dev DB on file save). Generated migrations and "seed scripts" are also on the roadmap.

If any of that interests you, check it out (https://github.com/pg-nano/pg-nano). I would also love to discuss it with whoever's reading this on Discord (@aleclarson).

retropragma··on Litdb – type safe SQL for JavaScript/TS
Hey, I'm developing a different approach that may appeal to a Kysely user such as yourself. I'd be glad to get your thoughts on it :)

Raw SQL (or PL/pgSQL which can be quite powerful) with generated, type-safe client "bindings" (TypeScript functions). It also includes "declarative SQL schema" (instantly update the schema of your dev DB on file save). Generated migrations and "seed scripts" are also on the roadmap.

If any of that interests you, check it out (https://github.com/pg-nano/pg-nano). I would also be happy to discuss it with you on Discord (@aleclarson).

retropragma··on Litdb – type safe SQL for JavaScript/TS
Manual type declarations are error prone, tedious, and subject to drift. Meanwhile, query builders are clumsy and sometimes limiting or buggy, so I don't blame you for betting on raw SQL.

I'm building a middle ground of sorts. Raw SQL (or PL/pgSQL which can be quite powerful) with generated, type-safe client "bindings" (TypeScript functions). It also includes "declarative SQL schema" (instantly update the schema of your dev DB on file save). Generated migrations and "seed scripts" are also on the roadmap.

If any of that interests you, check it out (https://github.com/pg-nano/pg-nano). I would also love to discuss it with whoever's reading this on Discord (@aleclarson).

retropragma··on If not React, then what?
This? https://pomb.us/build-your-own-react/
retropragma··on Show HN: Tududi – A Minimalist, Open-Source Task and Project Management Tool
What is Sinatra and why should I care if it's built with it?
retropragma··on Gosub – An open-source browser engine
The smallest app built with Tauri is 500 KB.

[1]: https://tauri.app [2]: https://syntax.fm/show/821/is-tauri-the-electron-killer/tran...

retropragma··on Show HN: RelayBeam – A new way of messaging using Ports
Send it to both?
retropragma··on I've Soured on Open Source
There is no responsibility in open source. It's the wild West. Anyone with expectations of you is simply new to the scene and doesn't get it yet.

Forking is a thing. People don't do it enough. GitHub doesn't make it easy to find active forks.

retropragma··on Apple No Longer in Talks to Join OpenAI Investment Round
Please keep the cheeky reductionist takes to yourself
retropragma··on Ask HN: Is there any place on the internet capable of freedom of speech?
Well, it goes both ways. Yes, the algorithm is simply rewarding content styles that apparently people "want to see more of". Of course, this metric is fuzzy. Twitter et al don't have perfect information here. All they know is certain content gets engaged with more. So it's both the people to blame and the algorithm. You can't really blame either side; capitalism values attention at all costs, while people naturally engage with certain content styles that don't necessarily breed the most nuance or positivity.
retropragma··on Ask HN: Is there any place on the internet capable of freedom of speech?
I actually have a system designed that would fit your desired attributes exactly. I don't know when I'll get to building it, but I do believe what you want is achievable. But that's all I can say, because when it comes to something like this, inventing the system is half the battle.
← PreviousPage 2 of 2