HackerTrans
TopNewTrendsCommentsPastAskShowJobs

monssoen

no profile record

Submissions

Databuddy: Privacy-First Analytics

databuddy.cc
2 points·by monssoen·vor 4 Monaten·0 comments

Show HN: Shared EventSource

github.com
1 points·by monssoen·vor 11 Monaten·0 comments

[untitled]

11 points·by monssoen·letztes Jahr·0 comments

Taking the Drizzle Challenge

ben.mk
18 points·by monssoen·vor 2 Jahren·13 comments

Minisketch: an optimized library for BCH-based set reconciliation

github.com
1 points·by monssoen·vor 3 Jahren·0 comments

Show HN: Alinea – open-source headless CMS

alinea.sh
8 points·by monssoen·vor 4 Jahren·3 comments

Feathers UI 1.0 Release Candidate

feathersui.com
2 points·by monssoen·vor 4 Jahren·0 comments

comments

monssoen
·letztes Jahr·discuss
I just remembered I built a tool to list all hardcoded strings from a React project in a similar way by parsing the AST.

https://github.com/benmerckx/find-jsx-strings
monssoen
·vor 2 Jahren·discuss
I really wonder when javascript frameworks will get over file system routing. It didn't take PHP too long to move to better solutions.
monssoen
·vor 2 Jahren·discuss
I tried Kysely while evaluating libraries before writing my own. Its heavy reliance on strings for everything was a turn-off because it stops you from using any of the refactoring options Typescript offers. You cannot rename a column for example and have it applied automatically.
monssoen
·vor 2 Jahren·discuss
This library tries to get as close to sql as possible. Basically write sql through function calls. Your IDE will autocomplete which method to call. What you gain is type safety. Change the name or type of a column and it propagates through your codebase.
monssoen
·vor 2 Jahren·discuss
Rado can be described as sql behind function calls that achieves type safety in Typescript. It does not include any of the ORM abstractions that Drizzle has.
monssoen
·vor 4 Jahren·discuss
There are some alternatives being built, of which I find ladle.dev the most useful.
monssoen
·vor 4 Jahren·discuss
We're launching an alpha version of Alinea to the public today. What's Alinea? Our take on content management: build a schema, boot up the dashboard, create content and query data with your favorite JavaScript framework. We focus on:

- Fully typed content - type-safe experience for TypeScript users

- Storing content in Git - but making it fully queryable

- Minimal setup - `yarn add alinea && yarn alinea init`

- Self-host - or let our cloud handle it

- Rich set of fields - easily added to with custom fields

- Hierarchical content - make it easy for editors to find content

- Zero latency - embedded SQLite to query data without network overhead

- Collaborative - fields are built on Y.js allowing conflict-free multiplayer editing

- Easy hosting - works fine in a serverless function

It's still quite early in development but we feel our alpha version has enough structure that we can get to a stable version in the short term, without breaking the foundations that we find work well.
monssoen
·vor 4 Jahren·discuss
Another great collection of database schemas can be found here: https://drawsql.app/templates
monssoen
·vor 4 Jahren·discuss
A feature that Haxe offers could help here. Abstracts are compile time only types of which the implementation is fully inlined. Meaning we could define an abstract over ArrayBuffer which has an iterator of abstracts over Float64Array which define the x and y property getters. Once compiled the code will look very similar to the example given. It's one of the things I miss the most in TypeScript, coming from haxe.

https://haxe.org/manual/types-abstract.html https://code.haxe.org/category/abstract-types/color.html