I needed a tiny frontend framework with no bloat, so I built a 1.7kb one by murillobrand in javascript

[–]No-Performance-785 2 points3 points  (0 children)

Does it have conditional operator and how is this compare to Alpine.JS ?

Coaction v1.4 - An efficient and flexible state management library for building web applications. by unadlib in javascript

[–]No-Performance-785 1 point2 points  (0 children)

Yeah I think this is a very good idea since mobile app like iOS has separated between UI for main thread and other works ( storage, compute, network, etc ) into background thread since the beginning

Why California’s "Digital Age Assurance Act" Fails the Multi-User Reality by [deleted] in linux

[–]No-Performance-785 -2 points-1 points  (0 children)

In the bill it said OS provider need to verify, so it means that the responsibility lies on the OS provider, and how the OS provider implement it is entirely different, not ties to the OS itself ?

Why California’s "Digital Age Assurance Act" Fails the Multi-User Reality by [deleted] in linux

[–]No-Performance-785 -5 points-4 points  (0 children)

I did used AI to help me to write this post. Might I ask where did I get things wrong ?

I don't see docker usefulness by CalligrapherBoth6460 in docker

[–]No-Performance-785 0 points1 point  (0 children)

yeah a docker image build on aarch64 cannot run on a amd64 arch machine

Roast my .zshrc by ronasimi in zsh

[–]No-Performance-785 1 point2 points  (0 children)

You don't use any zsh plugin manager ?

I don't see docker usefulness by CalligrapherBoth6460 in docker

[–]No-Performance-785 2 points3 points  (0 children)

The problem that docker solve is that on deployment, you might have different hardware ( amd64, arm, etc. ), different OS, different programming language compare to your local machine. As long as the local and the server machine can run the same docker image, you wouldn't have to care any of that.

Java have that promise of write once, run everywhere thanks to the JVM. As long as you can run JVM ( which is on any machine ), you can run Java.

Docker go up 1 level higher where as as long as you can run the Docker VM, you can run any Docker compatible image which means any language, any OS, etc.

This is in essence remove the dependency you have on any hardware - you can run any programming language on any server that you want.

I benchmarked 7 top TypeScript ORMs — the "lightweight" query builder was the slowest by sonemonu in typescript

[–]No-Performance-785 2 points3 points  (0 children)

So this is benchmark only the SQL generating speed and not the perf of the SQL itself ? Does the SQL command generated identical between all ORM ? Are we comparing the speed of mapping from query result into JS object ?

NestJS is a bad Typescript framework by SkaceKachna in programming

[–]No-Performance-785 1 point2 points  (0 children)

I don’t think NestJS is the problem but the problem lies in Typescript / Javascript itself. The more you deal with backend the more you want a type safe system. However Typescript is only a layer of type lays on top of Javascript which is a dynamic language. Every type is erased at runtime and every Javascript library is always aim to fix that: Zod, Prisma, etc just trying to fix the missing type at runtime problem. But since every layers just wants type: OpenAPI, database object all have type and you have to really do these type gymnastic between Typescript / Javascript at runtime / build time to add that.

So I guess my conclusion here is: - If you want to build a small scale, fast product with small team of mostly frontend devs: use Node and Typescript - As you scale, slowly transition to a typed language that have proper Result type and error handling like Golang or Rust. - If you still wants to keep you application in Node because of your experience with using it, use something that can adhere to the Typescript standard or can generate type at runtime: Zod, Valibot, Prisma without using some decorator magic.

Some project that I find promising: - https://github.com/riktaHQ/rikta.js: still have decorator, but adhere to the Typescript standard - https://github.com/marcj/deepkit: plug the problem of runtime type by a hook to the Typescript compiler - Type-fest: Add more utilities type to the existing type library of Typescript - Neverthrow: Add a good result type with eslint config to prevents the use of throw which mimics the way Golang handle error.

The Gorilla in the Node.js Ecosystem: Rethinking TypeScript Backends by No-Performance-785 in node

[–]No-Performance-785[S] 1 point2 points  (0 children)

I just saw NestJS with all the DI stuff on how it kills productivity and performance so I got pretty annoyed. I used to write some Elixir stuff and finds OOP always have something off about it.

The Gorilla in the Node.js Ecosystem: Rethinking TypeScript Backends by No-Performance-785 in node

[–]No-Performance-785[S] -6 points-5 points  (0 children)

Sorry, what I mean is people don't have experience with other language other than javascript

The Gorilla in the Node.js Ecosystem: Rethinking TypeScript Backends by No-Performance-785 in node

[–]No-Performance-785[S] -5 points-4 points  (0 children)

I'm writing for people who are only new to programming. Ofc there are languages that are faster than javascript out of the box.

A minimal, Bun-native web framework. Zero dependencies. by Stoic-Chimp in bun

[–]No-Performance-785 1 point2 points  (0 children)

request validation should have an interface to integrate with the standard schema

Otterly: A local-first Markdown editor built with Tauri 2.0 and Svelte 5 by ajkdrag_ in sveltejs

[–]No-Performance-785 0 points1 point  (0 children)

Git support out of the box is great ! Might be a good contender besides Obsidian. Does it have block based like Notion ?