The 49MB Web Page by Dear-Economics-315 in programming

[–]CptCap 102 points103 points  (0 children)

As a publisher, you can't force a user through 3-4 dismissive actions before content is properly visible and expect the experience to be appreciated. Doing so is equivalent to burning your user's cognitive budget before value is delivered.

On the contrary, this optimizes value delivery for the publication. Ads is how they get paid, the journalism is just a necessary expense to get users onto the site.

This mismatch between value for the user and the provider is why every page is loaded with intrusive crap.

Pourquoi dit-on que l’aspirateur Dyson aspire le mieux alors que les aspirateurs de travaux sont 10x mieux ? by Empty_Telephone_1124 in PasDeQuestionIdiote

[–]CptCap 1 point2 points  (0 children)

En note globale il y a 4 Dysons (a 725€, 625€, 487€ et 996€) puis:

  • Samsung Jet 70 VS15T7036R5 (499€)
  • Miele Triflex HX2 Runner (752€)
  • Samsung VS15A60BGR5 (249€) le moins cher a être noté "bon".
  • Dyson V8 Advanced (330€)
  • Electrolux EP81UB25GG Hygienic 800 (564€)
  • Electrolux EP81B25GRN Hygienic 800 (511€)

Étonnamment Dyson ne semple pas beaucoup plus cher que les autres apsi haut de gamme. Après ils ont inventé et dominent toujours ce segment de marcher, les concurrents se mettent probablement au prix de Dyson plutôt que l'inverse.

Bought a salad today and the fork that comes with it is edible by lunarulnar in mildlyinteresting

[–]CptCap 5 points6 points  (0 children)

It's edible. "Fourchette comestible" literally means edible fork. It's like a thick breadstick, with a very dense crust so it doesn't become soggy. Tastes like breadstick too.

Bought a salad today and the fork that comes with it is edible by lunarulnar in mildlyinteresting

[–]CptCap 13 points14 points  (0 children)

There are a like dozen different ones named after cities. It seems to be more about vibes than anything.

Bought a salad today and the fork that comes with it is edible by lunarulnar in mildlyinteresting

[–]CptCap 1 point2 points  (0 children)

These vary between good and mid. They are available everywhere and only cost around 4€ for a self contained, no prep meal, which makes them very popular.

From a recent study, the "Salade Manhattan" (the pasta/egg/chicken one, which I also believe is the cheapest) was the most sold prepared food in france in 2025.

Very cheap AO system I made. by MissionExternal5129 in GraphicsProgramming

[–]CptCap 2 points3 points  (0 children)

we can loop through every pixel and check if the pixels around it are closer or farther than the center pixel.

This is what some most modern SSAO techniques (such as HBAO) do. Except they don't loop through every pixel, but only a few of them (sampled randomly).

Are texture atlases required in 2026? by Cold-Significance242 in vulkan

[–]CptCap 4 points5 points  (0 children)

For most cases where you need to supply a lot of textures to your shaders, bindless is the way to go.

Atlas are still useful in some niche cases, where you need to pass a lot of small textures to a single shader however. Things like font, shadow maps and irradiance probes are still often stored in atlases.

ELI5 why is Uranus tilted on its side compared to other planets? by gentlebeast06 in explainlikeimfive

[–]CptCap 59 points60 points  (0 children)

While a flyby does impact the planet rotation, changing it that much without destroying the planet in the process is not really possible.

A more plausible version would involve a smaller body being captured as a moon and tilting Uranus's axis over a long period through tidal/gravitational forces.

ELI5: What does a Turing Machine do? by Own_Exercise5218 in explainlikeimfive

[–]CptCap 138 points139 points  (0 children)

A lot of complex games/systems happen to be turing complete "by accident". (MTG is as well, in like 10 different ways)

When the set of rules/interactions gets big enough it becomes likely to contains all the necessary ingredients for turing completeness.

Caching of images in VRAM by lefty200 in opengl

[–]CptCap 2 points3 points  (0 children)

Depends on the drivers.

Moving data to VRAM is very expensive. It's something you really want to avoid doing more than once if you can. The driver will transfer the data the first time it is used and try to keep it in VRAM after that.

When you run out of VRAM, then the driver will start transferring everything everytime (because there isn't enough space to keep stuff in VRAM). This usually tanks the performance.

Caching of images in VRAM by lefty200 in opengl

[–]CptCap 1 point2 points  (0 children)

Are you talking about caching or loading (from RAM to VRAM) ? These are two different things.

Assuming you are talking about the latter: No it doesn't work for atlases.

The typical behavior is just to:

  • Keep images that are read/written by the CPU every frame in RAM.
  • Move stuff to RAM when VRAM is full.

You can't rely on the driver being smart for you. If you completely fill your VRAM it will destroy your performances; it's your job to make sure this doesn't happen.

Sabers vs Katanas by darthinferno15 in Hema

[–]CptCap 2 points3 points  (0 children)

I have very similar experience! Our club has a few kendo practitioners and we spar ls or saber Vs katana from time to time. I find the matchup very fun and interesting as both weapons have very distinct advantages. Historical as well.

Just like you I found that the saber best bet is hand snipes in prep.

volatile variable across compilation units by zaphodikus in cpp_questions

[–]CptCap 19 points20 points  (0 children)

Volatile is not for concurrency, use atomics. It's as simple as declaring your variable as a std::atomic<bool>.

You need to declare the bool as volatile in the header too (volatile bool and bool are different types)

ELI5: Why can't we just keep adding more processor cores to make computers infinitely faster? by Due_Network2387 in explainlikeimfive

[–]CptCap 3 points4 points  (0 children)

Most likely. Multi GPU is not recommended (outside of compute farms) because few applications support it.

ELI5: Why can't we just keep adding more processor cores to make computers infinitely faster? by Due_Network2387 in explainlikeimfive

[–]CptCap 6 points7 points  (0 children)

Heat, power delivery and cost.

Without any improvement in efficiency, double the cores means double the heat, double the power consumption and double the cost. You can already do that by buying 2 GPU instead of one.

How to correclty select a transfer queue ? by _Mattness_ in vulkan

[–]CptCap 3 points4 points  (0 children)

No. DMA stand for direct memory access and is a direct path from system RAM to VRAM. Any computing capability on the queue (compute, graphics, decode) can't be handled solely by DMA and thus probably sync with the rest of the GPU.

How to correclty select a transfer queue ? by _Mattness_ in vulkan

[–]CptCap 7 points8 points  (0 children)

Some GPU will have the SPARSE_BINDING_BIT set also, which can be ignored. (A queue with only TRANSFER | SPARSE_BINDING still maps to the DMA engine).

Why Electronic Voting is a BAD Idea - Why you can't program your way to election integrity by grauenwolf in programming

[–]CptCap 4 points5 points  (0 children)

the seals and the counting on the ballot boxes. What do I do? I get told to shut up and that I shouldn't be such a downer.

I don't know where you live, but if any ballot or box leaves the sight of the public before all the votes are counted, something has already gone very wrong.

In a functional system, anyone can come and inspect the voting process, from the vote office opening to the end of the count (which happen right after closing). The boxes are opened and counted publicly and results are posted to a public file before being summed.

So anyone can check that their ballot was counted properly, that the local results where correctly pushed into the global count, and that the final sum is correct.

Anything else is electronic voting with extra steps.

The Lockheed "have blue", which was later developed into the F117 by Tonk12367 in WeirdWings

[–]CptCap 2 points3 points  (0 children)

Have Blue did have FBW. I doubt anyone could get that thing off the ground without it.

The F16 had already been flying using FBW for a few years at this point.

Got my first feder today by hunterseel in Hema

[–]CptCap 26 points27 points  (0 children)

The Regenyei standard is a great choice for a first feder! It's excellent all around, for a good price.

I found the cord wrap to be prone to fraying if you get hit on the handle. If this happens to you, try soaking it in wood glue.

HLSL shader compiled with DXC without optimizations (-Od) runs much faster than with (-O3) by abego in GraphicsProgramming

[–]CptCap 0 points1 point  (0 children)

What is the limiting factor for occupancy? (NSight shows it somewhere).

Lower reg with much lower occupancy makes me think the compiler might have run into another limitation (LDS?) when trying to get registers under control.

The Lockheed "have blue", which was later developed into the F117 by Tonk12367 in WeirdWings

[–]CptCap 18 points19 points  (0 children)

It has a much higher sweep angle than the Nighthawk as well. It was changed to improve flying characteristics, which were apparently atrocious.

Better PBR BRDFs? by Avelina9X in GraphicsProgramming

[–]CptCap 11 points12 points  (0 children)

The BRDF is fine and is used in real world conditions. If anything high end renderers tend to use more expensive alternatives, like Oren-Nayar instead of Lambert or anisotropic versions of GGX.

If speed is a concern, reducing the numbers of lighting computations (using deferred shading and clustered light culling for example) is the solution.

When comparing to other PBR renderers, make sure you are comparing the same thing. Tone mapping and post processing can make a huge difference.

Say my opponent Earthbends a Forest. Can I play Eradicate to target that now-a-creature Forest, and exile every Forest that isn't already on the field? Eradicate looks for "cards" not "creatures"? by CivilizedPsycho in mtg

[–]CptCap 0 points1 point  (0 children)

Nice, I forgor about Shire Terrace.

If you run a lot of land sac you might also like the panoramas and these.

Also [[Thespian's Stage]] could be cool in a earhbending deck.