Better HN
topnewbestaskshowjobs
Log inSign up

GenericCanadian

334 karma · joined Jul 7, 2022 (4y ago) · 44 submissions

Submissions

31.

The Doctrine of Useful Objects(docs.eventide-project.org ↗)

3 points · by GenericCanadian · 2y ago · discuss

comment 2y ago · link · parent

In a naive ECS system this might be true, but mature ECS systems use archetypes which partition based on usage to maintain the contiguous memory.

I've written about the details here: https://taintedcoders.com/bevy/archetypes/

The gist is that instead of partitioning by type you sub partition by usage. Bevy does this by optimizing your storage based on the bundles (groups of components) you create. Flecs does the same but I'm not sure of the exact mechanism.

33.

TypeScript Interface for Ethereum(viem.sh ↗)

1 points · by GenericCanadian · 2y ago · discuss

34.

So you want to build an ECS-backed GUI framework(leafwing-studios.com ↗)

3 points · by GenericCanadian · 2y ago · 1 comment

comment 3y ago · link · parent

I've been writing https://taintedcoders.com/ for a while and will be keeping it on the bleeding edge. Hope you find it useful.

36.

Rust Game Development with Bevy(taintedcoders.com ↗)

4 points · by GenericCanadian · 3y ago · discuss

comment 3y ago · link · parent

Awesome stuff, I've been publishing some personal notes that are up to date with the main branch if anyone wants to learn:

- https://taintedcoders.com

There are lots of stuff missing on the bevy cheatbook (https://bevy-cheatbook.github.io) and lots more hidden in the Discord that are unsearchable on Google so I hoped this would help fill the gap for teaching some friends.

comment 3y ago · link · parent

Its true, Bevy is quite limited with only simple parent/child relationships[0] and much of the community is looking for more structured relations.

As it stands its pretty common to hold a `HashMap<Index, Entity>` and manually manage the data structure through derefs or some system that keeps it consistent. Ideally only using it for lists of entities that remain static like a tilemap.

[0] https://taintedcoders.com/bevy/hierarchy/

comment 3y ago · link · parent

I started writing when I was teaching newer programmers and I found the amount I didn't know how to explain clearly was staggering. Things I thought I knew so were actually kind of blurry blobs in my mind.

Recently I've been exploring Bevy and rust game development and my learning has been so much better when I create docs for myself: https://taintedcoders.com/

comment 3y ago · link · parent

Great recommendation, I read this today and compiled some WIP notes if someone wants a sparknotes version: https://taintedcoders.com/rust/rust-for-rubyists/

I've been learning about Rust game development with some friends after being a long time Ruby developer and am looking for better ways of explaining the low level stuff to high level rubyists.

comment 3y ago · link · parent

Amazing guide I used to setup my own homelab. Great way of learning K3s. Would love to hear about other setups you're using.

Other resources that go great with this guide:

- https://debian-handbook.info/browse/stable

- https://pve.proxmox.com/pve-docs/pve-admin-guide.html

42.

Small Homelab K8s Cluster on Proxmox VE Guide(github.com ↗)

1 points · by GenericCanadian · 3y ago · 1 comment

comment 4y ago · link · parent

Found this today when looking for something to turn short podcast clips into something more visual. Anyone have any other open source tools they like? I've heard of using ffmpeg (https://lukaprincic.si/development-log/ffmpeg-audio-visualiz...).

Youtube video of Astrofox: https://www.youtube.com/watch?v=IbvuniqNPPw

44.

Astrofox – Turn Audio into Videos(astrofox.io ↗)

213 points · by GenericCanadian · 4y ago · 38 comments

12