Hacker News new | past | comments | ask | show | jobs | submit | orhunp_'s comments login

The primary goal is to serve apps that use https://ratatui.rs to web. You can still bundle Javascript via Trunk though.


I would definitely appreciate some ideas on how to do that. Right now we are rendering in a loop created via RequestAnimationFrame


I swear this isn’t an “rtfm” dig, but in the case that this report of flickering is the first you’ve been made aware of it (and so you haven’t dug into it yet) I recently had to deal with this when experimenting with WebGL for the first time and found this thread to be full of information. https://stackoverflow.com/questions/19764018/controlling-fps... A few of the suggestions “work”, but in the end I went with the accepted answer, only modified to use window.performance.now() rather than Date.now() from the accepted answer.

There are more suggestions that make sense but I haven’t tried that include using multiple threads, calling setInterval/setTimeout in a separate thread for CPU work from the rAF() call (which is GPU and should not update if there is nothing to update) but this wasn’t immediately helpful to me so I went with the elapsed time test and explicit frameRate. There are some potential sync issues over time but they are discussed in the SO thread and additionally on the mozilla developer site, where they also discuss syncing to an audio clock at 60 Hz.


yup, we are aware of that bug: https://github.com/orhun/ratzilla/issues/28


OP here, that's great! Let me know if you ever try out Ratzilla :)


OP here, thanks for posting the project. The FOSDEM talk will be also available soon I hope.

I'm planning to focus more on responsiveness and adding more web-only widgets for the next releases. Of course there are a lot of other things to fix & improve :)

Let me know if you have any specific feedback or ideas!


I didn't get what you mean by that suggestion. Can you maybe elaborate or re-phrase it?


CoolModFiles: https://coolmodfiles.com/ (just awaiting sponsorships)

CoolModFiles is a web player that will introduce you to the most obscure and legendary tracks hosted on the internet's biggest module archive, modarchive.org!

The web player works by simply fetching a random module from modarchive.org and playing it. No black magic involved!

The idea for CoolModFiles originated among two programmer friends who used to send mod files to each other, which lead to the creation of a personal mod archive - one which had hundreds of cool modules at the time! Being in possession of those rare works of art (all the way from 80s!) was a privilege... When the awesome tracks started piling up, however, it naturally brought about a storage problem. The solution was simple: using a web archive!

The programmer friends' idea, unfortunately, was beaten by modarchive.org many years ago. Realizing how unnecessary creating another internet archive was, the project evolved into a cool web player instead. A group of 3 came together to create what is known today as CoolModFiles.com. With it's modern look, it continues to surface thousands of long-forgotten mod files to introduce newer generations to the world of old-school digital music.


> fetching a random module

Ow, yeah, but a lot of 'em are really lame.

I'd love a setting for like "x% of plays should be in the top Y% of popularity" to guarantee some bangers every now and then. Or the bottom, if you're just 2kool4us.

To introduce someone new to the format, say, 100% of plays should be in the top 5%, melt their face off and then let 'em explore the obscure stuff later.


>The programmer friends' idea, unfortunately, was beaten by modarchive.org many years ago.

Sorry about that :-) Glad the API has come I handy though, your thing looks very nice, but “mobile bad desktop good”? Get with the times ;)


Nice work, I hope you find that sponsorship!

Feature request: button/key to randomly swap through those awesome backgrounds :)


I love that interface. <3


Great!


AWESOME


`pass`, no cap.

passwordstore.org


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: