News for hackers. Stuff that matters.

pyrossh

Re:htmx 2.0.0-beta1 on Sunday March 17, 2024 @02:24PM (#39736675)
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

Re:Onyx, a new programming language powered by WebAssembly on Saturday December 02, 2023 @11:43AM (#38499840)
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.

Re:Onyx, a new programming language powered by WebAssembly on Saturday December 02, 2023 @02:14AM (#38496639)
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?

Re:Onyx, a new programming language powered by WebAssembly on Saturday December 02, 2023 @02:01AM (#38496577)
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.

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.

Re:Htmx is part of the GitHub Accelerator on Wednesday August 16, 2023 @10:27AM (#37147565)
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
Really love the interface. Very simple and easy to use. The themes are good as well.
Re:Build your own web framework on Friday July 29, 2022 @07:42PM (#32282935)
I prefer the traditional approach. Golang + fly.io is what I use way easier to deploy anywhere you want and closer to your users.
Re:Show HN: I'm building a browser-based DAW on Wednesday July 20, 2022 @10:27AM (#32166231)
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:
Re:Show HN: A Visual IDE for React on Friday May 13, 2022 @08:02PM (#31373809)
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.