Do you think these are personal PIN numbers?
- 0 Posts
- 7 Comments
zerofk@lemmy.zipto Ask Lemmy@lemmy.world•What is your opinion on ray/path tracing and real time upscaling (DLSS/FSR/XeSS) in video games?1·13 days agoI think they usually bring negligible improvements in visual fidelity, provided the traditional methods are well implemented.
I also think it’s silly to focus on these while the physics coding hasn’t kept up. Even showcase trailers often have weapons clipping through armour. A slightly more realistic shadow isn’t going to immerse me into your world if the slightest touch sends a huge bear carcass flying through the air or my sword clips through walls.
zerofk@lemmy.zipto Ask Lemmy@lemmy.world•What's a random line from a movie that fans of it will instantly know?6·13 days agoZed’s dead, baby. Zed’s dead.
zerofk@lemmy.zipto Programming@programming.dev•Revisiting Knuth's 'Premature Optimization' Paper23·14 days agoA nice post, and certainly worth a read. One thing I want to add is that some programmers - good and experienced programmers - often put too much stock in the output of profiling tools. These tools can give a lot of details, but lack a bird’s eye view.
As an example, I’ve seen programmers attempt to optimise memory allocations again and again (custom allocators etc.), or optimise a hashing function, when a broader view of the program showed that many of those allocations or hashes could be avoided entirely.
In the context of the blog: do you really need a multi set, or would a simpler collection do? Why are you even keeping the data in that set - would a different algorithm work without it?
When you see that some internal loop is taking a lot of your program’s time, first ask yourself: why is this loop running so many times? Only after that should you start to think about how to make a single loop faster.
zerofk@lemmy.zipto Fediverse@lemmy.world•Do instances exist where you can be 13+?English22·19 days agoIn my experience, immature posts are made by people well over 13.
zerofk@lemmy.zipto Technology@lemmy.world•YouTube rolls out more unskippable ads that make viewers wait even longer to watch videos - DexertoEnglish3·22 days agoVery likely - but that’s not going to happen. Some people will watch less, some will complain but keep watching the same amount, and the majority will just take it as a fact of life and not change their behaviour.
I actually think the argument for mixing tabs and spaces makes a lot of sense. Use tabs for indentation, coupled with spaces for alignment (e.g. of function arguments). It eliminates the downsides of using tabs resp. spaces exclusively. But since nobody uses it, I never have either. Following the style of the project at hand is the way.