Show newer

javascript: I'm pushing around some code to get it to work.

c++: the code is pushing me around to get me to work.

namark boosted

yeah it took me a month to commit a function, so what? how long can you last?

namark boosted

Pinetime-JF is now officially an open source project released under the GPLv3 license!

It is time to give this project a better name.
Let me introduce you to InfiniTime, an open source firmware for the @PINE64 #pinetime smartwatch!

github.com/JF002/Pinetime

namark boosted

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;

Show thread

can:
while( auto x = get() ) stuff(x);
can't:
while( !(auto x = get()) ) stuff(x);

someone write a proposal ToT

namark boosted

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.

namark boosted

#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 🔗️: github.com/risujin/cellwriter

apt 📦️: cellwriter

#free #opensource #foss #fossmendations

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.

Show thread

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.

Show thread
namark boosted

The other day I foudn this video about c++ and also this comic twitter.com/shafikyaghmour/sta (sorry for linking twitter but is the best way to embed it)

@moth ok I got some oil on canvas, now I demand good morning and good night!

Show thread
Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.