local image_raw = assert(lzw.decompress(raw))
local bitmap = {}
repeat
bitmap[
#bitmap + 1] = ("<I3"):unpack(image_raw.sub(#bitmap + 1, #bitmap + 3))
until ??????????????????

This document open in two windows of TEdit, the WYSIWYG editor of Medley Interlisp, shows a gallery of bitmaps available for Lisp applications and tools.

#bitmap #interlisp #lisp #retrocomputing

GitHub - mxgmn/WaveFunctionCollapse: Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics

Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics - mxgmn/WaveFunctionCollapse

GitHub

I created a tool in #godot to create #bitmap #fonts. It was a helper tool for #waddlewords. And I liked it that much that I also decided to publish it on #itch.

https://dunkelgrau.itch.io/bitmap-font-creator

GrobPaint

GrobPaint is a lightweight cross-platform bitmap editor that sits somewhere between MS Paint and Paint.NET, offering layers, blend modes, selection tools, sprite-sheet helpers, and(...)

#apps #bitmap #crossplatform #graphics #imageeditor #javascript #paint #python

https://taoofmac.com/space/apps/grobpaint?utm_content=atom&utm_source=mastodon&utm_medium=social

Print Pixel Art To A Floppy Disk

Here at Hackaday we love floppy disks. While they are by no means a practical or useful means of storing data in the age of solid state storage, there is something special about the little floppy d…

Hackaday

Глубокий разбор материализованных представлений в StarRocks: полный механизм query rewrite

Материализованные представления (MV) в StarRocks — это не просто кэш агрегатов, а полноценный механизм ускорения запросов с автоматическим переписыванием (query rewrite). На практических примерах разбираем, как движок сопоставляет поддеревья плана запроса со SPJG‑MV, как работают join/aggregate/nested/union rewrite, как обеспечивается строгая согласованность и настраиваемая устарелость данных (staleness), и за счёт чего достигается ускорение на SSB и TPC‑H.

https://habr.com/ru/articles/980320/

#StarRocks #материализованные_представления #query_rewrite #SPJG #OLAP #BI #rollup #bitmap #predicate_pushdown #partition_pruning

Глубокий разбор материализованных представлений в StarRocks: полный механизм query rewrite

В этом материале мы подробно разбираем, как использовать материализованные представления (материализованное представление — далее «MV») для переписывания запросов (query rewrite). Рассмотрим базовые...

Хабр

Re-reading old code and I’m reminded of this old trick for doing bit-manipulation:

I was trying to shift right an u8 by a value between 1 and 8 bits:

myu8 >> (8 - shift)

If shift equals 0, this would be an 8 bits shift, I wanted the result to be zero (all bits shifted), but that's not how (some) CPUs work; so it's undefined behaviour, and in Rust, the compiler will throw a compile error (if it's a const shift), or panic at runtime in debug mode.

One could test if shift is 8, and adjust code accordingly, but this adds branches and even more code.

So the trick to work around that is simply... to shift twice ! One time for the first bit, and another for the last (potential 7):

(myu8 >> 1) >> (8 - shift - 1)

And that's how one can do this operation fully branchless.

(another version of this post appeared on a now-defunct instance)

#RustLang #bitmap #BitManip

With #VariableFont , #Bitmap is fun again

#Gravit Designer vs. #Corel Vector (2#4)

Da ich bis heute keine Lösung gefunden habe, was das gvdesign Fileformat native und verlustfrei unterstützt, überlege ich mit Hilfe der alten OpenSource-Codes einen gvdesign Parser zu schreiben, und ggf. ein bessere Zielformat als SVG/PDF/PNG zu finden.

Hat wer Lust hier mit zu machen?

-> (3#4)

\__
#OpenSource #Bitmap #Vector #pwa #gvdesign #json #docker