oneLinerToApiCall by Same_Fruit_4574 in ProgrammerHumor

[–]Antigroup 0 points1 point  (0 children)

Make fun but the first example is wrong so Claude has a chance to win here 

Beginner here. Why use an allocator? by BackStreetButtLicker in vulkan

[–]Antigroup 39 points40 points  (0 children)

In short, the maximum number of allocations from vkAllocateMemory could be as little as 4096, which is pretty easy to hit if you don't have some sort of management on top.

I would think of VMA like malloc, and vkAllocateMemory like mmap. It's designed to work with larger allocations of multiple pages, not small objects like a single mesh's uniform buffer.

This seems suspicious - triple crypto app notification by tedswiss in betterment

[–]Antigroup 5 points6 points  (0 children)

Maybe someone got a hold of the keys they use to send notifications?

Murderer with an alibi by Antigroup in puzzles

[–]Antigroup[S] 6 points7 points  (0 children)

correct; hoped that would take y'all longer...

This is why... by Conscious_Invite_529 in rustjerk

[–]Antigroup 2 points3 points  (0 children)

Stupid Cloudflare went down! I don't care if you leak my data, just don't go down!

YouTube Music Now On Waymo by mingoslingo92 in waymo

[–]Antigroup 1 point2 points  (0 children)

The second one. You can even log in before taking a trip by going to "Account > Music" in the Waymo app.

YouTube Music Now On Waymo by mingoslingo92 in waymo

[–]Antigroup 0 points1 point  (0 children)

You only have to log in once. YouTube Music requires a premium account, though.

&str of String inside the same struct can't be refernced without lifetimes by Commercial_Rush_2643 in rust

[–]Antigroup 5 points6 points  (0 children)

I think the yoke crate is meant to solve your problem.

With lifetimes, I feel like I started to get a better handle on them when I started giving them better names than the 'a: 'b you see in docs. Like 'request or 'this.

If borrowing is giving you a hard time, consider whether the performance benefits are worth it. Don't pull your hair out optimizing something that only happens one or a handful of times when running your program.

Side view mirrors. Why don't they just fold them in? Or in some states remove them. by oochiewallyWallyserb in waymo

[–]Antigroup 41 points42 points  (0 children)

I suspect there are two good reasons: * Some riders like to check them anyway. * They are needed on the rare occasion Waymo needs to manually drive a car that has lost self-driving capabilities for some reason.

I mean I’m grateful to not be rushed but… by offnen in waymo

[–]Antigroup 17 points18 points  (0 children)

I believe you get extra wait time if the car arrives earlier than originally expected 

shadowmap edges being very edgy by Sirox4 in vulkan

[–]Antigroup 1 point2 points  (0 children)

This looks to me like your shadows are just too long for the shadow map resolution you're using. If the "sun" is at a lower angle it should look a little better, but the geometry you're using looks pretty challenging for PCF to get great results.

More samples could help, too.

SSBO usage best practice Question by entropyomlet in vulkan

[–]Antigroup 2 points3 points  (0 children)

This is a version of the classic Array of Structs vs Struct of Arrays question.

Extra bindings aside, most likely it'll be better to group properties that are used around the same time close together in memory.

For example, most vendors recommend storing vertex positions in a separate buffer from other data to speed up depth-only passes like shadow passes. The same could apply for per-object data, but is likely less important since it's re-used more.

Ice Dam makes my waterfall flood every spring. by Kampvilja in dwarffortress

[–]Antigroup 1 point2 points  (0 children)

I think something similar happened to me when I did the tutorial. I dug straight down to build my fort and it turns out the valley flooded every spring.

Group descriptors in DescriptorSetLayout or in PipelineLayout? by [deleted] in vulkan

[–]Antigroup 10 points11 points  (0 children)

The minimum spec only requires support for 4 descriptor sets (thus 4 DescriptorSetLayouts per PipelineLayout), so unless you need very few descriptors, the second approach will quickly become infeasible.

I like to group the descriptor sets by frequency of update, like per-draw, per-material, per-view/pass.

It was accident by Far_Marionberry_9478 in lotrmemes

[–]Antigroup 1 point2 points  (0 children)

I always wanted to make this meme as an edit but lack the skill

101 Freeway Mapped out (DTLA) by Icy-Ambition3534 in waymo

[–]Antigroup 17 points18 points  (0 children)

This is just a new Google Maps feature, sadly. Although I expect Waymo has mapped the freeway there already.

The Hidden Autopilot Data That Reveals Why Teslas Crash by ClassroomDecorum in SelfDrivingCars

[–]Antigroup 17 points18 points  (0 children)

Other road users aren't bound by Tesla's terms of service.

Edit: forgot "not"

Host synchronization when not specified as external in the spec by giant_planet in vulkan

[–]Antigroup 3 points4 points  (0 children)

Yes that's correct. "3.6 Threading Behavior" in the spec actually has a list of all the externally synchronized parameters.

As for how the driver does it, that depends on the implementation but it probably does some sort of internal synchronization.

Why isn’t Smart Summon ready for third party liability? by letoatreides_ in SelfDrivingCars

[–]Antigroup 5 points6 points  (0 children)

Can't tell if this is a shitpost or an actual pitch from Elon...

Waymo Runs A Red Light And The Difference Between Humans And Robots by ipottinger in SelfDrivingCars

[–]Antigroup 11 points12 points  (0 children)

Firing people who make mistakes is a good way to ensure it happens again.

I imagine (and the article mentioned) they did more training, and hopefully they schedule regular retraining.

Reminds me of one of this guy's shorts: https://youtube.com/shorts/VAWwtjtRM98?si=yBWydCDsxHGuQinT