yeah it took me a month to commit a function, so what? how long can you last?
Since it was a tie between map, progress and linin, I obviously had to go with way.
https://git.sr.ht/~namark/libsimple_support/tree/95f5932b9d61c0badd2d87d9ae8def074b47a22b/source/simple/support/algorithm.hpp#L285
https://git.sr.ht/~namark/sketchbook/commit/85f2009edc65171dbc6a06f8bfb4dc7405ed69eb
it's not for me it's for your eyes, cause the alternative is:
while(true) if(auto x = get(); !x) stuff(x);
else break;
can:
while( auto x = get() ) stuff(x);
can't:
while( !(auto x = get()) ) stuff(x);
someone write a proposal ToT
Why is it so hard to set up basic auto-indent in vim? Am I stupid or something? I just want basic indentation for custom blocks and no lining-things-up-in-columns cruft.
#CellWriter is a #handwriting based #input system.
CellWriter is an input method where the user draws characters into boxes which are interpreted as text. CellWriter learns the user's handwriting as they write, becoming more accurate over time. Once some text is written it can be sent to the currently open program as if the keyboard typed it. CellWriter also provides an on screen keyboard.
Website 🔗️: https://github.com/risujin/cellwriter
apt 📦️: cellwriter
I'm going to go with 4 as a shorthand of the successor function in cases where it makes sense (naturals, integers) and as a generalization in cases where it doesn't (rationals).
The only problem is that it doesn't optimize well for IEEE floats. It emits an add instruction because of a special case -
0.0 + (-0.0) = 0.0,
which makes negative zero the actual addition identity, as opposed to positive zero that floats are initialized with by default. However this seems to be a well known problem (I guess comes up often with accumulate/reduce type algorithms), so I would expect the user to be aware of this if it's a bottleneck for them, and either use -ffast-math or a custom type that initializes to negative zero.
husk is back but all the blackmail on @boob is gone... knew I should have saved it...
A very difficult question indeed, I must confess, without a doubt in my mind, all things considered.
The other day I foudn this video about c++ and also this comic https://twitter.com/shafikyaghmour/status/1246586278243532806 (sorry for linking twitter but is the best way to embed it)
@death I demand oil on canvas!