I finally got some time to work in kibi today, I have impremented and debugged kibi/get-win-size, kibi/get-cur-pos (used to get the window size) and updated kibi/draw-rows to draw the correct number of purple tildes on the first column. 😊
I also made the makefile a lot nicer. 🧘♂️
That means I'm almost at the middle of chapter 3 "Raw input and output", at step 35 of the original tutorial (special case the last row)! 🚀
https://git.sr.ht/~ismael-vc/kibi/tree/main/item/src/kibi.tal
https://viewsourcecode.org/snaptoken/kilo/03.rawInputAndOutput.html
[Nouvelle BD rendue accessible] Dites adieu aux kilos en trop
Bon alors, pour en finir avec cette question : dans 1 ko, il y a 1000 octets ou 1024 octets ? Eh bah… c'est un peu compliqué. Je vous explique tout ça.
▶️ Lire cette BD : https://grisebouille.net/dites-adieu-aux-kilos-en-trop/
📗 Grise Bouille, Tome VI : https://editions.ptilouk.net/gb06
❤️ Soutien : https://ptilouk.net/#soutien
#a11y #BD #GriseBouille #kilo #kibi #binaire #vulgarisation #numérique

Aujourd’hui, un article assez long sur un sujet délicat… Il fallait bien ça. Si vous débarquez sur ce site, n’hésitez pas à lire d’abord l’article sur les bits et les bytes (et pourquoi pas celui sur numérique/digital qui peut toujours servir). Dis-donc, c’est qu’il y aurait presque une continuité dans ce site !
Згадав як мене в школі на уроці інформатики намахали і як я потім здивувався коли дізнався правду.
Мені казали що в одному кілобайті 1024 байт, а в одному мегабайті 1024 кілобайт і так далі всього лиш до гігабайта. Чомусь продовження навіть не було згадане. І взагалі це не правда. Є два стандарти SI і IEC. У першому стандарті є одиниці #kilo, #mega, #giga, #tera, #peta, #exa, #zetta і #yotta. Вони дорівнюють 10 ^ 3-24, кожний наступний збільшує степінь на три.
IEC стандарт має одиниці #kibi, #mebi, #gibi, #tebi, #pebi, #exbi, #zebi та #yobi. Вони дорівнюють 2 ^ 10-80, кожна степінь збільшується на десять.
Добре що хоч в одному байті вісім біт.
#SI #IEC #стандарти #одиниці #дані #школа #інформатика #біт #байт #кіло #мега #гіга #тера #пета #екса #зетта #йотта #кібі #мібі #гібі #тебі #пебі #ексбі #зебі #йобі
Using kibi, a <1k loc text editor in Rust from within meli, a >1k loc mail client in Rust.
https://crates.io/crates/kibi #kibi #rust
https://meli.delivery/ #meli