Hacker Newsnew | past | comments | ask | show | jobs | submit | pspeter3's commentslogin

I think Remix brought back interest in Form Actions and other meta frameworks took inspiration from that.

What makes Golang a great fit in your opinion?


Server setup before the rewrite:

docker + php-fpm + php7 + larvel + nginx + redis + cron + worker + certbot

Server after the rewrite to Golang:

server, a 15MB no-dependencies binary that has everything.


Using Go means you are forgoing Docker...? Ok.

Also if you don't need certbot anymore is your service managing its own ssl certs with letsencrypt? Isn't it generally easier to configure with a reverse proxy like nginx or caddy and terminate SSL at the edge? That's literally caddy's whole thing that it does SSL for you so that it doesn't concern your application.


That is a pretty strong argument for Go!


This is the reason I like go and rust so much


That's brilliant. Can't beat the convenience of a single-file executable!


Since I plan to use it for the rest of my life, I need the code and infrastructure to be radically simple and easy to maintain.

Like, I should be able to open it even after a few years, and do some fixes or add some features.

Go's ecosystem seems to share this mindset.


Why epub? Isn’t it just HTML under the hood?


Because I can open it on my ereader.


I think it should also have JS disabled (I hope!)


I agree but I’ve never been sure what that version of the product looks like then.


I'm curious about who else is using MikroORM. I see a lot of hype around Prisma, Drizzle, and Kysely but MikroORM has always looked interesting.


I'm using it for a hobby project, and pretty pleased.

My personal maybe somewhat "stubborn old man" opinion is that no node.js orm is truly production quality, but if I were to consider one I think I would start with it. Be aware it has only one (very talented) maintainer as far as I recall.


Everyone's definition of "production quality" is different :-), but Joist is a "mikro-ish" (more so ActiveRecord-ish) ORM that has a few killer features:

https://joist-orm.io/

Always happy to hear feedback/issues if anyone here would like to try it out. Thanks!


I’m curious what changes the author would like to see to the API


I wonder if the author would use DuckDB WASM now?


I'm using DuckDB WASM on github pages. This will take about 10 seconds to load [1] and shows business trends in my county (Spokane County). This site is built using data-explorer [2] which uses many other open-source projects including malloy and malloy-explorer. One cool thing... if you use the UI to make a query on the data - you can share the URL with someone and they will see the same result / query (it's all embedded in the URL).

[1] - https://mrtimo.github.io/spokane-co-biz/#/model/businesses/e... [2] - https://github.com/aszenz/data-explorer


From "Show HN: TeaTime – distributed book library powered by SQLite, IPFS and GitHub" https://news.ycombinator.com/item?id=42264274 :

>> phiresky/sql.js-httpvfs: https://github.com/phiresky/sql.js-httpvfs

>> mmomtchev/sqlite-wasm-http: https://github.com/mmomtchev/sqlite-wasm-http

>> This project is inspired from @phiresky/sql.js-httpvfs but uses the new official SQLite WASM distribution

duckdb/duckdb-wasm: https://github.com/duckdb/duckdb-wasm


"PSA: SQLite WAL checksums fail silently and may lose data" so that's probably not how to sync sqlite; https://news.ycombinator.com/item?id=44672902

electric-sql/electric: https://github.com/electric-sql/electric :

> Specifically, Electric is a read-path sync engine for Postgres. It syncs data out of Postgres into ... anything you like. The core sync protocol is based on a low-level HTTP API. This integrates with CDNs for highly-scalable data delivery.

electric-sql/pglite: https://github.com/electric-sql/pglite :

> Embeddable Postgres with real-time, reactive bindings.

"Using Postgres for Everything" https://news.ycombinator.com/item?id=40420474


is it doing HTTP range request, to not download an entire db?


Great write up on the pros of triangle grids. Did you consider using irregular triangles to help with the math? Eg a 2:1 triangle


Can you use highlights on text area contents?


You can't mainly because <textarea> separately tracks its own selection, AFAIK.


There is a proposal to add support for this:

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/...


Are there gray colors to go along with it? This seems great for charts though


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: