HackerTrans
TopNewTrendsCommentsPastAskShowJobs

PudgePacket

no profile record

Submissions

Porting our game graphics to wgpu

veloren.net
2 points·by PudgePacket·5 jaar geleden·0 comments

comments

PudgePacket
·2 maanden geleden·discuss
+1,009,257 -4,024

wild
PudgePacket
·4 jaar geleden·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
·4 jaar geleden·discuss
Seems very similar to https://www.prisma.io/migrate.
PudgePacket
·4 jaar geleden·discuss
kind of giddy thinking about multi-region supabase handled by fly, sky is the limit
PudgePacket
·5 jaar geleden·discuss
https://godotengine.org/article/godot-history-images :)
PudgePacket
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·discuss
https://abramov.io/rust-dropping-things-in-another-thread
PudgePacket
·5 jaar geleden·discuss
https://web.dev/vitals/
PudgePacket
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·discuss
> uMatrix has been discontinued. The repository has been archived.

It still works.
PudgePacket
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·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
·5 jaar geleden·discuss
Oh that's awesome, thank you for linking!