Click here to Skip to main content
16,020,345 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralOur Community's Existential Crisis Pin
Steve Raw2hrs 3mins ago
professionalSteve Raw2hrs 3mins ago 
GeneralRe: Our Community's Existential Crisis Pin
Jeremy Falcon15mins ago
professionalJeremy Falcon15mins ago 
GeneralRe: Our Community's Existential Crisis Pin
Jeremy Falcon9mins ago
professionalJeremy Falcon9mins ago 
GeneralWordle 1,212 Pin
StarNamer@work2hrs 11mins ago
professionalStarNamer@work2hrs 11mins ago 
GeneralWell this is better than I expected: Pin
honey the codewitch4hrs 51mins ago
mvahoney the codewitch4hrs 51mins ago 
This is awesome. I'm rendering an SVG image using my library, on a little ESP32, and also rendering TrueType text from a 120KB font file. I posted the result earlier, but I was curious how much memory it was using.

To that end I created a little heap watch dog to run on the 2nd core while my parsing and rendering was taking place.

It's taking less memory to render the tiger and the text than it would to load the equivalent JPG or PNG (which take at least 32KB needed for Huffman decompression)

C++
static size_t max_mem = 0;
static size_t min_mem = (unsigned)-1;
static void mem_task(void*) {
    while(true) {
        size_t mem = ESP.getFreeHeap();
        if(mem>max_mem) {
            max_mem = mem;
        }
        if(mem<min_mem) {
            min_mem=mem;
        }
        taskYIELD();
    }
}

Max memory available: 302.25KB
Max memory used: 22.93KB

Unless I'm doing something wrong in terms of monitoring, this is very encouraging.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralWe deserve better than this WTF is going on Pin
pkfox5hrs 17mins ago
professionalpkfox5hrs 17mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Jeremy Falcon4hrs 42mins ago
professionalJeremy Falcon4hrs 42mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Jeremy Falcon4hrs 36mins ago
professionalJeremy Falcon4hrs 36mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
charlieg4hrs 7mins ago
charlieg4hrs 7mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Steve Raw1 hr 11mins ago
professionalSteve Raw1 hr 11mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Greg Utas27mins ago
professionalGreg Utas27mins ago 
General@davidcunningham9, the future of codeproject? Pin
0x01AA9hrs 19mins ago
mve0x01AA9hrs 19mins ago 
JokeRe: @davidcunningham9, the future of codeproject? Pin
PIEBALDconsult9hrs 3mins ago
mvePIEBALDconsult9hrs 3mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
0x01AA8hrs 54mins ago
mve0x01AA8hrs 54mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
0x01AA8hrs 43mins ago
mve0x01AA8hrs 43mins ago 
GeneralRipping blu-rays to ISO Pin
dandy729hrs 25mins ago
dandy729hrs 25mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon8hrs 33mins ago
professionalJeremy Falcon8hrs 33mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 38mins ago
dandy727hrs 38mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Nelek2hrs 17mins ago
protectorNelek2hrs 17mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon8hrs 30mins ago
professionalJeremy Falcon8hrs 30mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 42mins ago
dandy727hrs 42mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon8hrs 22mins ago
professionalJeremy Falcon8hrs 22mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 32mins ago
dandy727hrs 32mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
PIEBALDconsult7hrs 55mins ago
mvePIEBALDconsult7hrs 55mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 29mins ago
dandy727hrs 29mins ago 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.