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.
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 and tilemap generation from a single example
https://github.com/mxgmn/WaveFunctionCollapse
#HackerNews #Bitmap #Tilemap #Generation #WaveFunctionCollapse #GameDevelopment
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.
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
Глубокий разбор материализованных представлений в 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
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)
#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)