HNHacker News
TopNewBestAskShowJobs

monssoen

142 karma · joined November 16, 2016

submissionscomments
monssoen··on Show HN: Localize React apps without rewriting code
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··on Show HN: One – A new React framework unifying web, native and local-first
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··on Taking the Drizzle Challenge
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··on Taking the Drizzle Challenge
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··on Taking the Drizzle Challenge
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··on Ask HN: Is it time for a new Storybook?
There are some alternatives being built, of which I find ladle.dev the most useful.
monssoen··on Show HN: Alinea – open-source headless CMS
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··on Library of Database Schemas
Another great collection of database schemas can be found here: https://drawsql.app/templates
monssoen··on TypeScript as fast as Rust: TypeScript++
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

monssoen··on FrontPage: The Good, The Bad, and The Ugly
I remember asking my dad "can you get me Frontpage, I'd like to create a webpage". He gave me a book on html/css instead and it defined my career.
monssoen··on Where to start coding up a drawing app?
If you're going the Javascript way, you could have a look at how Wick editor was built. It's a Flash like animation editor whith simple drawing tools and is open source.

https://github.com/Wicklets/wick-editor

monssoen··on Show HN: I built an online image editor using WebGL and CSS transforms
Have a look at Haxe. It transpiles to C++, Java, Javascript and Python.

https://haxe.org

monssoen··on Compulab Airtop – Natural Airflow Desktop
Streacom has fanless cases that look way better. They're not as small though.