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

Newretrowave fan here. Who would have thought that the creator of htmx listens to synthwave.


How is this different from pg-boss[1]? Other than the distributed part it also seems to use skip locked.

[1] https://github.com/timgit/pg-boss


I haven't used pg-boss, and feature-wise it looks very similar and is an impressive project.

The core difference is that pg-boss is a library while Hatchet is a separate service which runs independently of your workers. This service also provides a UI and API for interacting with Hatchet - I don't think pg-boss has those things, so you'd probably have to build out observability yourself.

This doesn't make a huge difference when you're at 1 worker, but having each worker poll your database can lead to DB issues if you're not careful - I've seen some pretty low-throughput setups for very long-running jobs using a database with 60 CPUs because of polling workers. Hatchet distributes in two layers - the "engine" and the "worker" layer. Each engine polls the database and fans out to the workers over a long-lived gRPC connection. This reduces pressure on the DB and lets us manage which workers to assign tasks to based on things like max concurrent runs on each worker or worker health.


I've been trying to build a programming language targeting only wasm but never seem to get the time to work on it.

Like the syntax, mainly the pipe operator |>

A few questions,

1. Any plans to use binaryen to optimize the wasm output?

2. How is memory management handled? Are you going to use wasm-gc?

3. How does the C FFI work? Do you convert the WASM types to C types?


Nice name analogous to ruby.

From wikipedia,

Onyx - A banded variety of chalcedony, a cryptocrystalline form of quartz.

Ruby - A clear, deep, red variety of corundum, valued as a precious stone.


Is Crystal also analogous to ruby?


Ahh yes. Totally forgot about crystal.

Crystal - A solid whose atoms (or molecules) are arranged in a repeating pattern. Crystals are found naturally or can be made artificially.

Someone should use Diamond for the next programming language, really like the wiki definition.

Diamond - is a carbon crystal formed under heat and pressure.


I've recently caught onto the flutter bug and started creating an app my self. Really liking it. The DX is amazing.

You might need to add a splash screen by using flutter_native_splash though, 2s of blank screen is a bit misleading as if its not working.


I've enjoyed using htmx and created a simple library in golang to help out. Here is an example app https://github.com/pyrossh/gromer/tree/master/_example


Legend. Well done for supporting, and for putting your money where your mouth is and laying down some code.


Gonna try this out!


Really love the interface. Very simple and easy to use. The themes are good as well.


Thank you! Really pleasant to hear that.


I prefer the traditional approach. Golang + fly.io is what I use way easier to deploy anywhere you want and closer to your users.


It's pretty slow to open a page. Saw this in the console, (index):62 cdn.tailwindcss.com should not be used in production. To use Tailwind CSS in production, install it as a PostCSS plugin or use the Tailwind CLI:


Honestly still trying to figure out what I'm even building, but I agree, the load time is pretty bad. Also I'm using the smallest instance of Postgress Google Cloud Run offers and I've never stress-tested it before :)


Hi many years ago I built something similar for a game framework called libgdx. https://github.com/pyrossh/gdx-studio Looks cool. But to get it completely working it takes a lot of time and effort. See overlap2d as well.

These days I just prefer writing plain code as I feel the generated code is not what I want.


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

Search: