Click here to Skip to main content
16,020,343 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 7mins ago
professionalSteve Raw2hrs 7mins ago 
GeneralRe: Our Community's Existential Crisis Pin
Jeremy Falcon19mins ago
professionalJeremy Falcon19mins ago 
GeneralRe: Our Community's Existential Crisis Pin
Jeremy Falcon13mins ago
professionalJeremy Falcon13mins ago 
GeneralWordle 1,212 Pin
StarNamer@work2hrs 15mins ago
professionalStarNamer@work2hrs 15mins ago 
GeneralWell this is better than I expected: Pin
honey the codewitch4hrs 55mins ago
mvahoney the codewitch4hrs 55mins 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 21mins ago
professionalpkfox5hrs 21mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Jeremy Falcon4hrs 46mins ago
professionalJeremy Falcon4hrs 46mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Jeremy Falcon4hrs 40mins ago
professionalJeremy Falcon4hrs 40mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
charlieg4hrs 11mins ago
charlieg4hrs 11mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Steve Raw1 hr 15mins ago
professionalSteve Raw1 hr 15mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Greg Utas31mins ago
professionalGreg Utas31mins ago 
General@davidcunningham9, the future of codeproject? Pin
0x01AA9hrs 23mins ago
mve0x01AA9hrs 23mins ago 
JokeRe: @davidcunningham9, the future of codeproject? Pin
PIEBALDconsult9hrs 7mins ago
mvePIEBALDconsult9hrs 7mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
0x01AA8hrs 58mins ago
mve0x01AA8hrs 58mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
0x01AA8hrs 47mins ago
mve0x01AA8hrs 47mins ago 
GeneralRipping blu-rays to ISO Pin
dandy729hrs 29mins ago
dandy729hrs 29mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon8hrs 37mins ago
professionalJeremy Falcon8hrs 37mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 42mins ago
dandy727hrs 42mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Nelek2hrs 21mins ago
protectorNelek2hrs 21mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon8hrs 34mins ago
professionalJeremy Falcon8hrs 34mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 46mins ago
dandy727hrs 46mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon8hrs 26mins ago
professionalJeremy Falcon8hrs 26mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 36mins ago
dandy727hrs 36mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
PIEBALDconsult7hrs 59mins ago
mvePIEBALDconsult7hrs 59mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy727hrs 33mins ago
dandy727hrs 33mins 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.