home.social

#bitmap — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bitmap, aggregated by home.social.

fetched live
  1. Roaring Bitmap: как уместить базу данных в памяти приложения

    Битовые массивы кажутся экзотической структурой данных, которую применяют только опытные учёные мужи в специфичных сферах? Не всегда! В этой статье я расскажу, как мы выкинули базу данных и загрузили всё в память приложения, упаковав данные в сжатый битовый массив Roaring Bitmap . Это позволило ускорить систему с сотен миллисекунд до считаных единиц. Под катом — эволюция от классических битовых массивов до современных сжатых форматов и реальный бизнес‑кейс их прикладного применения.

    habr.com/ru/companies/sportmas

    #roaring_bitmap #bitset #bitmap #data_compression #структуры_данных #inmemory #производительность #битовые_карты #сжатие_данных #performance

  2. Подбор рекламных объектов в DSP: сколько стоит найти нужный баннер за сто миллисекунд

    Мне давно было любопытно разобраться, как в RTB (Real Time Bidding — аукционная закупка рекламы в реальном времени) устроена хайлоад часть. Задача выглядит сложной: от площадок идет поток запросов на покупку рекламы (бид-реквестов), на стороне рекламного движка есть каталог рекламных объектов (кампаний и баннеров в них) со своими таргетингами, и на каждый входящий запрос надо успеть найти подходящие объекты, посчитать ставку и ответить. На весь обмен с биржей дается порядка ста миллисекунд, и в них должно поместиться все сразу — сеть в обе стороны, разбор запроса, подбор объекта, расчет ставки, сборка ответа. То есть на сам подбор остается еще меньше времени. А еще такая система должна быть подвижной в обе стороны по нагрузке. Трафик у поставщиков не постоянен, он гуляет и в течение суток, и от поставщика к поставщику, так что держать максимальный конфиг под пиковую нагрузку круглосуточно нет смысла. Значит нужна возможность добавлять и убирать мощности, понимая при этом, сколько пропускной способности дает каждая добавленная единица. Спроектировать такое — интересная инженерная работа. Ну это я, как продакт работающий в этой сфере, так считаю :-) В каждой компании где я работал с рекламными движками (DSP – Demand Side Platform) были свои кастомные решения, свое легаси – не везде можно найти обоснование каждому решению, поэтому мне всегда было интересно, как это устроено у других. Так что я решил разобраться, какие вообще бывают решения — чтобы лучше понимать возможности и ограничения, с которыми имеют дело мои разработчики. Это важно, потому что от выбора хранилища напрямую зависит сколько трафика мы физически способны обработать не отъехав, и что случится (а точнее что мы можем быстро сделать), если завтра нужно будет попросить у поставщика (в рекламе он называется SSP - Supply Side Platform) вдвое больше.

    habr.com/ru/articles/1084422/

    #adtech #rtb #dsp #биддеры #bitmap #targeting

  3. I just released v1.0 of "MicroCee" a collection of my pixel fonts, taking only the ASCII characters, and converted to C++ byte format to be used with microcontrollers (initially just Arduino).
    codeberg.org/Dmian/font-microc
    Check it out, and let me know if you have suggestions. Cheers!

    #pixelfont #bitmap #cpp #microcontroller #arduino

  4. 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.

  5. 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.

    dunkelgrau.itch.io/bitmap-font

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

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

    habr.com/ru/articles/980320/

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

  7. 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

  8. #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

  9. #Gravit Designer vs. #Corel Vector (1#4)

    Heute ist der Todestag von "Corel Vector", früher bekannt als "Gravit Designer". Imho eins der besten webbasierten Grafik-Design Apps, die wunderbar Vektor, Typo & Bitmap miteinander verbunden hat. Würde sagen, es war seiner Zeit um 10-12 Jahre voraus.

    Gravit Designer war sogar mal OpenSource. Deswegen habe ich darauf gesetz. Und nun hat Corel es wohl nur gekauft um es als Konkurent zu beseitigen.

    -> (2#4)

    \__
    #OpenSource #Bitmap #Vector #pwa

  10. A quadtree divides image according to a poisson disk (radius influence). Slight color variations, blur and texture applies randomly on the fly.

    #genart #creativecoding #p5js #photography #bitmap

  11. Perlin noise posterized. Each division is filled with a randomly mapped 1bit texture (single source file)

    #genart #bitmap #texture

  12. 1bit texture study. Random generative shapes and texture placement.

    #artgénératif #texture #bitmap #vector

  13. Has anyone an easy solution to have the "#spleen" #bitmap #font family visible in an exported #PDF-file? It is visible/usable in #libreoffice in #ubuntu 22.04

    #typografie

  14. I really like this shooter. It's available for almost every video game console, old and new. Now also for the Gameboy Advanced. "Xenocrisis" by Bitmap Bureau LTD. #retrogames #retrogaming #shorts #bitmap #gba #gameboyadvance

  15. I've gone live!

    The 1694th Four Digit Bitmaps Are About To Pump Stream Of The Elevated Dabbers Society

    #bitmap #bitcoin #scifi #comedy #startrek

    https://go.warpspeedtv.com

  16. I've gone live!

    The 1694th Four Digit Bitmaps Are About To Pump Stream Of The Elevated Dabbers Society

    #bitmap #bitcoin #scifi #comedy #startrek

    https://go.warpspeedtv.com

  17. I've gone live!

    The 1694th Four Digit Bitmaps Are About To Pump Stream Of The Elevated Dabbers Society

    #bitmap #bitcoin #scifi #comedy #startrek

    https://go.warpspeedtv.com

  18. I've gone live!

    The 1691st Pioneers Will Be Born Tonight Stream Of The Elevated Dabbers Society

    #bitmap #bitcoin #scifi #comedy #startrek

    https://go.warpspeedtv.com

  19. I've gone live!

    The 1690th BITCOIN AT 90K!!! Stream Of The Elevated Dabbers Society

    #bitmap #bitcoin #scifi #comedy #startrek

    https://go.warpspeedtv.com

  20. For A Project™, I need to learn about the historical origins of #bitmap #fonts. Highly doubt these were first created on computers; where in the world have rectangular #tiles or #bricks carried a textual message? (The tiled signs in the #NYC subway are #mosaics, not based on a grid.) Where did bitmap fonts really start?

    #typography #font #letters #lettering #history #histodons

    Image credit: myfontlib.com/font/gorgeous-pi

    ℘

  21. @[email protected] @[email protected] @[email protected]

    Apparently, someone crammed 69666 characters of Unifont 13.0.06 into BDF for u8g2
    #font generation, so BDF evidently doesn't have that limit either, and upstream Unifont doesn't do this. Also, because of FontForge limits crashing when importing a lot of glyphs, evidently the BDF is custom on the u8g2 Github, but the problem is that it hasn't been updated to Unifont 15, so while Plane 1 is reduced two versions, Plane 0 is upgraded two versions, without going over 65535, ensuring better BDF compatibility, especially when doing low-level stuff (evidently not needed here). Then again, Minecraft uses .hex files in 1.20 to get around non-HarfBuzz TrueType limits. Also I can't run Unifont compilation utilities on any machine I've tried, so I'm stuck with what I've got.

    Sometimes it's okay to be proud of what you've got.
    I mean, it will work better on the older Linux builds its intended for, and it is actually generatable without crashes in FontForge, or forcing inflexible code to compile, or using the abridged Bits'N'Picas, which hates the BDF enough to not want to make a .hex.

    Compatibility is key, folx.


    #lcdmatrix #arduinos #arduinolibs #arduino #unifont #unifontex #linux #unicodesets #unicode #unicodefont #dotmatrix #dotmatrixlcd #vfd #oled #characterlcd #codingfont #electronics #electronic #tech #technology #C #ucglib #u8g2 #soldering #circuit #circuitry #electricalengineering #bitmap #bitmapfont #bitmapfonts #pixel #pixelfont #pixelfonts #statusdisplay #emoji #CJKtext #CJKVtext #lowlevel #hardwaredesign #hardwareengineering #Ccode #bdf #RLE #ttf #truetype #woff #woff2 #b3k #eot #otb #woff3 #bwtc32key #typography #fontdev #digitaldrain #finals #finalsweek #collegefinals #collegefinalsweek #electronicsprojects #tvhead #tvheadcostume #tvcostume #ledmatrix #ledarray #creditingamendment #costume #wiring #diyelectronics #fonts #lcdmatrix #arduinos #compatibility #compat #minecraft #hex #arduinolibs #arduino #unifont #unifontex #linux #unicodesets #unicode #unicodefont #dotmatrix #dotmatrixlcd #vfd #oled #characterlcd #codingfont #electronics #electronic #tech #technology #C #ucglib #u8g2 #soldering #circuit #circuitry #electricalengineering #bitmap #bitmapfont #bitmapfonts #pixel #pixelfont #pixelfonts #statusdisplay #emoji #CJKtext #CJKVtext #lowlevel #hardwaredesign #hardwareengineering #Ccode #bdf #RLE #ttf #truetype #woff #woff2 #b3k #eot #otb #woff3 #bwtc32key #typography #fontdev #digitaldrain #finals #finalsweek #collegefinals #collegefinalsweek #electronicsprojects #tvhead #tvheadcostume #tvcostume #ledmatrix #ledarray #creditingamendment #costume #wiring #diyelectronics

Share on Mastodon

Enter the server where you have an account.