Better HN
topnewbestaskshowjobs
Log inSign up

tbillington

518 karma · joined Jul 9, 2019 (7y ago) · 62 submissions

Submissions

comment 1y ago · link · parent

If you couldn't tell your food had been cut with sawdust would it matter to you if you found out?

comment 1y ago · link · parent

Is threatening the computer program and typing in all caps standard practice..?

    - Honesty is a core value. If you lie, you'll be replaced.
    - BREAKING THE LETTER OR SPIRIT OF THE RULES IS FAILURE.
Wild to me there is no explicit configuration for this kind of thing after years of LLMs being around.

3.

Wild performance tricks(davidlattimore.github.io ↗)

138 points · by tbillington · 1y ago · 82 comments

4.

A new PNG spec(programmax.net ↗)

564 points · by tbillington · 1y ago · 5 comments

5.

Why doesn't Rust care more about compiler performance?(kobzol.github.io ↗)

5 points · by tbillington · 1y ago · 2 comments

comment 1y ago · link · parent

This is the best explain-like-im-5 I've heard for geo mean and helped it click in my head, thank you :)

comment 1y ago · link · parent

There are a lot of voxel games that aren't visually cubey. Marching cubes algorithm is just example. Here's a voxel game (fully deformable/mineable world) that isn't block based https://store.steampowered.com/app/1203620/Enshrouded/.

comment 1y ago · link · parent

> Every timeout in every hop of the chain is within your control to configure.

lol

comment 2y ago · link · parent

The devs mentioned they're not currently looking into it. The game uses Vulkan which isn't supported by MacOS, so they'd have to write a whole second renderer just for Mac.

It is also available on linux.

comment 2y ago · link · parent

I beat elden ring on m1 pro using Whisky :)

comment 2y ago · link · parent

> Language bindings for C and C++ with CMake and Bazel support right out of the box. Python and other languages are coming soon.

comment 2y ago · link · parent

vendor + linecount unfortunately doesn't represent an accurate number of what cargo-watch would actually use. It includes all platform specific code behind compile time toggles even though only one would be used at any particular time, and doesn't account for the code not included because the feature wasn't enabled. https://doc.rust-lang.org/cargo/reference/features.html

whether those factors impact how you view the result of linecount is subjective

also as one of the other commenters mentioned, cargo watch does more than just file watching

comment 2y ago · link · parent

You could open an issue and ask :P

https://github.com/pop-os/cosmic-comp

comment 2y ago · link · parent

> to qualify as a new Show HN there needs to be some major new development, not just a new feature

One could argue a major version qualifies. Apart from the genuine dupe 3 months ago all of these are separate stories.

dang's comment also specifically covers "show hn" posts which this is not. Some clarification from dang would be helpful though.

15.

Bevy 0.14 – Data driven game engine(bevyengine.org ↗)

59 points · by tbillington · 2y ago · 44 comments

comment 2y ago · link · parent

It wasn't really used. It'll likely re-appear in a future release in a better state if people want it. Bevy is still pre-1.0.

comment 2y ago · link · parent

> the community should advocate for features like compile-time reflection, better const support, and improved handling of the borrow checker

It's happening :)

comment 2y ago · link · parent

Super interesting proposal from David who is working on the wild linker. Sort of inverting the compilation process to drive codegen by what is actually needed, as opposed to compiling everything then throwing away what you don't need later.

The duplicate function checker tool is nifty too, 9% of my release build is duplicate functions. As mentioned in the article there are ways to bring this down if you can accept the trade offs.

https://github.com/davidlattimore/wild

https://github.com/davidlattimore/duplicate-function-checker

19.

Speeding up rustc by being lazy(davidlattimore.github.io ↗)

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

20.

"No way to prevent this" say users of only language where this regularly happens(xeiaso.net ↗)

208 points · by tbillington · 2y ago · 329 comments

comment 2y ago · link · parent

aside: find it funny (genuinely), you describe this as "pretty easy" xD. ffmpeg is so impressive but so daunting from a cli perspective to me. how do you even know whats possible! I would never have imagined it could generate palettes

comment 2y ago · link · parent

Do you have specifics? It does have https://accesskit.dev integrated.

comment 2y ago · link · parent

Just checked, $17.00! ($11USD)

comment 2y ago · link · parent

> cleaned up their crates deps a bit

What specifically do you mean by that, as in it includes unnecessary dependencies?

Flecs is also a great library to check out if you want more relations/power.

comment 2y ago · link · parent

Basing the recording off it's 24.6s runtime and 3.58MB download size it comes out about 145KB/s which is honestly really decent.

What format is it stored as (eg protobuf etc?) Is Rerun doing compression on the "raw" game data to achieve that?

Also had a good laugh at the cranky job in bacon.toml, might steal that :D

I also noticed the elements in the recording were all clickable, is that a Rerun feature, and did you have to manually reconstruct all the Bevy elements in a Rerun specific format?

Just curious how long this took you to make?

Super cool demo btw :) do you have more demos/PoC/examples listed somewhere I could peruse? Cheers

EDIT: Can your twitter post this so I can retweet :D

comment 2y ago · link · parent

This is another excellent read https://ajmmertens.medium.com/why-it-is-time-to-start-thinki...

27.

Show HN: Kondo, OSS drive cleaner for devs(github.com ↗)

1 points · by tbillington · 2y ago · 1 comment

123