Better HN
topnewbestaskshowjobs
Log inSign up

PudgePacket

1,331 karma · joined Jul 31, 2014 (12y ago) · 389 submissions

Submissions

comment 2mo ago · link · parent

You have been able to for a while with rust-gpu https://github.com/Rust-GPU/rust-gpu.

comment 6mo ago · link · parent

+1,009,257 -4,024

wild

comment 4y ago · link · parent

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).

comment 4y ago · link · parent

Seems very similar to https://www.prisma.io/migrate.

comment 4y ago · link · parent

kind of giddy thinking about multi-region supabase handled by fly, sky is the limit

comment 4y ago · link · parent

https://godotengine.org/article/godot-history-images :)

comment 4y ago · link · parent

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 :)

comment 4y ago · link · parent

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/.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

https://abramov.io/rust-dropping-things-in-another-thread

comment 4y ago · link · parent

https://web.dev/vitals/

comment 5y ago · link · parent

I only learnt about the logging and tracing crates existed from this blog post and I've already started using them, so thank you!

comment 5y ago · link · parent

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.

14.

Porting our game graphics to wgpu(veloren.net ↗)

2 points · by PudgePacket · 5y ago · discuss

comment 5y ago · link · parent

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...

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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/

comment 5y ago · link · parent

> uMatrix has been discontinued. The repository has been archived.

It still works.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

> 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.

comment 5y ago · link · parent

Oh that's awesome, thank you for linking!

comment 5y ago · link · parent

Would be nice to be able to declare

"Use this size image when the img is being rendered at x size/width/height", size could depend on css, width/height properties, or just imposed by a parent element.

Choosing an image size based on the size of the entire screen is a hack that we've just accepted because we don't have a more precise tool.

Yes, you can technically achieve it with JS, but that's a crutch, and less helpful for page load.

comment 5y ago · link · parent

This is super cool to see! Deno is really refreshing coming from node fulltime.

comment 5y ago · link · parent

> Is the status page relevant though?

What's the point of a status page then if it does not show you the status? I don't want to be chasing down twitter handles and support pages during an outage.

comment 5y ago · link · parent

Mate.. how are you going to get your uber anyway without internet?

comment 5y ago · link · parent

Is it also a repo we can pull for updates?

comment 5y ago · link · parent

I think not enough people appreciate just how amazing TS type system is, I often want to use it in pretty much every other language I use.

comment 5y ago · link · parent

Could you purge conditionally? Eg Purge where message importance < critical.
12345
13