Click here to Skip to main content
16,020,315 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 Raw7mins ago
professionalSteve Raw7mins ago 
GeneralWordle 1,212 3/6* ⬛⬛🟩🟩🟩 ⬛⬛🟩🟩🟩 🟩🟩🟩🟩🟩 Pin
StarNamer@work15mins ago
professionalStarNamer@work15mins ago 
GeneralWell this is better than I expected: Pin
honey the codewitch2hrs 55mins ago
mvahoney the codewitch2hrs 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
pkfox3hrs 21mins ago
professionalpkfox3hrs 21mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Jeremy Falcon2hrs 46mins ago
professionalJeremy Falcon2hrs 46mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
Jeremy Falcon2hrs 40mins ago
professionalJeremy Falcon2hrs 40mins ago 
GeneralRe: We deserve better than this WTF is going on Pin
charlieg2hrs 11mins ago
charlieg2hrs 11mins ago 
General@davidcunningham9, the future of codeproject? Pin
0x01AA7hrs 23mins ago
mve0x01AA7hrs 23mins ago 
JokeRe: @davidcunningham9, the future of codeproject? Pin
PIEBALDconsult7hrs 7mins ago
mvePIEBALDconsult7hrs 7mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
0x01AA6hrs 58mins ago
mve0x01AA6hrs 58mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
David Cunningham96hrs 50mins ago
David Cunningham96hrs 50mins ago 
GeneralRe: @davidcunningham9, the future of codeproject? Pin
0x01AA6hrs 47mins ago
mve0x01AA6hrs 47mins ago 
GeneralRipping blu-rays to ISO Pin
dandy727hrs 29mins ago
dandy727hrs 29mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon6hrs 37mins ago
professionalJeremy Falcon6hrs 37mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy725hrs 42mins ago
dandy725hrs 42mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Nelek21mins ago
protectorNelek21mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon6hrs 34mins ago
professionalJeremy Falcon6hrs 34mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy725hrs 46mins ago
dandy725hrs 46mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
Jeremy Falcon6hrs 26mins ago
professionalJeremy Falcon6hrs 26mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy725hrs 36mins ago
dandy725hrs 36mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
PIEBALDconsult5hrs 59mins ago
mvePIEBALDconsult5hrs 59mins ago 
GeneralRe: Ripping blu-rays to ISO Pin
dandy725hrs 33mins ago
dandy725hrs 33mins ago 
GeneralGot a wild hair... Pin
Mike Hankey9hrs 37mins ago
mveMike Hankey9hrs 37mins ago 
GeneralRe: Got a wild hair... Pin
kmoorevs9hrs 14mins ago
kmoorevs9hrs 14mins ago 
GeneralNo ads Pin
Dave Kreskowiak10hrs 29mins ago
mveDave Kreskowiak10hrs 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.