680 karma · joined May 19, 2020
DSL, fiber? Those do not exist if you are actually rural.
The pro Palestine side has also given themself a pretty bad image, so it will take some very compelling evidence(which this video is not as it doesn't show anything clearly), to make this issue higher priority.
I personally did not find the slang & creative language used in such books confusing.
Creating strong types for currency seems like common sense, and isn't hard to do. Even the Rust code shouldn't be using basic types.
I really don't understand how this market is dominated by an abusive platform(MS Office) & a broken POS(LibreOffice).
Flaw1:fixed width
I prefer fixed width as it makes the code simpler to write, size is known as compile time so we know the size of our structures. Swizzle algorithms are also customized based on the size.
Flaw2:pipelining
no CPU I care about is in order so mostly irrelevant, and even scalar instructions are pipelined
Flaw3: tail handling
I code with SIMD as the target, and have special containers that pad memory to SIMD width, no need to mask or run a scalar loop. I copy the last valid value into the remaining slots so it doesn't cause any branch divergence.
enable_if is mostly deprecated, and was used for overloading not branching, you can use concepts now instead
It really could use a fully statically typed layer that compiles down to Lua, and also fixes some of the stupid stuff such as 1 based indexing and lack of increment ops etc.
Also a 19,000 line C++ program(this is tiny) does not take 45 minutes unless something is seriously broken, it should be a few seconds at most for full rebuild even with a decent amount of template usage. This makes me suspect this author doesn't have much C++ experience, as this should have been obvious to them.
I do like the build script being in the same language, CMake can just die.
The metaprogramming looks more confusing than C++, why is "sin"/"cos" a string?
Based on this article I'm not sure what Jai's strength is, I would have assumed metaprogramming and SIMD prior, but these are hardly discussed, and the bit on metaprogramming didn't make much sense to me.
Why?
In many cases modern renders use triangles only a few pixels in size, you won't see C1 discontinuity at that size.
All the outer edges of quad still have C1 discontinuity between other quads, all it fixes is the internal diagonal
It has performance & complexity overhead
See: Dithering should happen in sRGB https://www.shadertoy.com/view/NssBRX
And we all know about the looping behavior, it isn't surprising.
The only surprising part would be if the compiler decides to use inc vs add, not that it really matters to the result.
After the loop it will do a horizontal add across the vector register to produce the final scalar result.
250% Tariffs on Canada now, does that sound reasonable? Can you think of a single sane reason to even have tarrifs on our close ally Canada? The reason is obvious, to drive a wedge between Canada and the US, and to make both countries poorer for it.