984 karma · joined October 28, 2008
* TypeScript everywhere with extreme enforcement of the type system.
* No "as" casts, no "any" declarations, all code must understand the shape of its data
* All boundaries validated using a typed validation library. Many use zod, I prefer tjs. I also have strictly typed pg and express wrappers.
* No files longer than 300 lines
* All of these rules are enforced by an eslint configuration that runs in a pre commit hook.
Global state and classes could also be removed via eslint rules, that would be interesting, though I haven't found it to be an issue in practice once the types are strictly enforced.Are you sure? Surely there is a lot of interesting data in those LLM interactions.
The real reason not to become an EM in 2026 is because AI makes our jobs 10x harder.
There are raw stats in the main graph image of the readme (op/s)
I don't compare it to that validator because these are JS only - I'll update to specify the language preference. Thanks for the feedback.
I made the worlds fastest and most accurate JSON Schema parser.
But, nobody seems to care. The repo only has 18 stars and my Show HN post got no upvotes. I'm not sure what to take away from that.
Is it possible that the code you are writing isn't good, but you don't know it because you're not an expert?
I made the worlds fastest and most accurate JSON Schema validator.
I built TJS over my holiday as a way to experiment and get better at agentic coding. I was astounded at how quickly software can be built when you have a full test spec like JSON Schema has.
The thing I'm most proud of is the TypeScript type inference. It automatically deduces the types from the JSON Schema. Try it out in the playground to see what I mean! https://sberan.github.io/tjs/#playground
I think any large piece of software with well established standards and test suites will be able to be quickly rewritten and optimized by coding agents.
[1] https://github.com/sberan/tjs
[2] /spawn-perf-agents claude command: https://github.com/sberan/tjs/blob/main/.claude/commands/spa...
I hate Citizens United as much as the next guy, but this isn't a good argument against it.
The "official" way to pray outlined in the Lord's prayer isn't selfish (other than asking to have enough food to get through the day), and is asking for redemption / forgiveness rather than specific goodies. This is the right way to do it.
Very cool! Most of the examples for reactive queries are very basic (only single tables). Do live queries support joins / aggregations?