HackerTrans
TopNewTrendsCommentsPastAskShowJobs

PudgePacket

no profile record

Submissions

Porting our game graphics to wgpu

veloren.net
2 points·by PudgePacket·hace 5 años·0 comments

comments

PudgePacket
·hace 2 meses·discuss
+1,009,257 -4,024

wild
PudgePacket
·hace 4 años·discuss
Heavily speculating but it's not unreasonable that the recording process impacts the game fps. Eg if you had 2 processes trying to max out your CPU it'd be less efficient than doing them one after the other because they're fighting for resources, doing context switching (losing cache etc).
PudgePacket
·hace 4 años·discuss
Seems very similar to https://www.prisma.io/migrate.
PudgePacket
·hace 4 años·discuss
kind of giddy thinking about multi-region supabase handled by fly, sky is the limit
PudgePacket
·hace 5 años·discuss
https://godotengine.org/article/godot-history-images :)
PudgePacket
·hace 5 años·discuss
There are a number of techniques available to shrink wasm size in rust, this is the best collection of them I'm aware of https://rustwasm.github.io/docs/book/reference/code-size.htm....

Please also consider Unity web used to be significantly worse and it took multiples of bevy's lifetime for it to get to where it is now :)
PudgePacket
·hace 5 años·discuss
Tangential but the slab concept is actually really neat, basically a userland allocator for a specific type, or a vector that gives you the key inserted at depending on how you prefer to think. https://docs.rs/slab/.
PudgePacket
·hace 5 años·discuss
Thanks for point it out, after a quick glance it actually looks like something I want to learn more about. Takes the niceties from prisma.io schema tooling and bring it closer to postgres.
PudgePacket
·hace 5 años·discuss
https://abramov.io/rust-dropping-things-in-another-thread
PudgePacket
·hace 5 años·discuss
https://web.dev/vitals/
PudgePacket
·hace 5 años·discuss
I only learnt about the logging and tracing crates existed from this blog post and I've already started using them, so thank you!
PudgePacket
·hace 5 años·discuss
This is a great article and you can tell the author has deep experience with SQL from the way they speak and the other projects they're involved in.

I think many of the comments here are missing the point by saying "Oh you can get around that issue in that example snippet by doing X Y Z". Sure there are workaround for everything if you know the One Weird Trick with these 10 gotchas that I won't tell you about... but that just makes the authors point.

We can do better. We deserve better.

What could things look like if you could radically alter the SQL language, replace it altogether, or even move layers from databases or applications into each other?

Who knows if it will be better or worse, but I'd like to find out.
PudgePacket
·hace 5 años·discuss
sqlx is able to do this, but using compile time macros. For a typescript project you'd possibly need a running process reading your source files for queries and probing the database for what will come back.

https://github.com/launchbadge/sqlx/#compile-time-verificati...
PudgePacket
·hace 5 años·discuss
Can you blame people for getting fatigued from this kind of news? (Also it's been 16 years ;) )

Every 6 months there is a new use of graphene that promises 10x something, new cancer treatment that is revolutionary, new AI that can solve the worlds hardest problems ...

https://en.wikipedia.org/wiki/The_Boy_Who_Cried_Wolf
PudgePacket
·hace 5 años·discuss
There's a lot of interesting people in this space

Many I've discovered through this podcast, which features a number of people on the above list as guests: https://peterattiamd.com/podcast/
PudgePacket
·hace 5 años·discuss
> uMatrix has been discontinued. The repository has been archived.

It still works.
PudgePacket
·hace 5 años·discuss
Last year I made Kondo, to clean up all the dependencies files from software projects you're not actively working on (eg node_modules). Awesome if you about to Zip up a bunch of old projects for archiving, or just want to reclaim disk space without deleting anything of value.

It was an experiment in Rust, and I even made a little GUI too!

https://github.com/tbillington/kondo
PudgePacket
·hace 5 años·discuss
Eg, Origins of the Human Predatory Pattern: The Transition to Large-Animal Exploitation by Early Hominins

https://www.journals.uchicago.edu/doi/10.1086/701477
PudgePacket
·hace 5 años·discuss
> They are extinct, so supporting his hypothesis

Or they were hunted to death by organised groups of early humans.

Wales are probably only surviving because their environment is so foreign to humans.
PudgePacket
·hace 5 años·discuss
Oh that's awesome, thank you for linking!