Click here to Skip to main content
15,896,727 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.

 
GeneralRe: CCC 2021-07-28 (finally) - WINNER Pin
Greg Utas28-Jul-21 1:03
professionalGreg Utas28-Jul-21 1:03 
GeneralRe: CCC 2021-07-28 (finally) Pin
OriginalGriff28-Jul-21 1:09
mveOriginalGriff28-Jul-21 1:09 
GeneralRe: CCC 2021-07-28 (finally) Pin
pkfox28-Jul-21 1:12
professionalpkfox28-Jul-21 1:12 
GeneralOi! Greg Utas! Pin
OriginalGriff27-Jul-21 23:11
mveOriginalGriff27-Jul-21 23:11 
GeneralRe: Oi! Greg Utas! Pin
pkfox27-Jul-21 23:21
professionalpkfox27-Jul-21 23:21 
GeneralRe: Oi! Greg Utas! Pin
OriginalGriff27-Jul-21 23:35
mveOriginalGriff27-Jul-21 23:35 
GeneralRe: Oi! Greg Utas! Pin
pkfox27-Jul-21 23:42
professionalpkfox27-Jul-21 23:42 
PraiseMy big gamble paid off Pin
honey the codewitch27-Jul-21 18:49
mvahoney the codewitch27-Jul-21 18:49 
When I went to design my epub reader I tried to make it dual mode, such that it could operate in low memory conditions, like with 300kB available albeit more slowly.

I did this by streaming everything from files, including fonts, zip files, markup and images, thus avoiding RAM allocations, while using the 4MB of extended RAM when available by loading the files I was streaming into RAM and then using the same code to stream from them, since seeks are virtually instant and reads are really fast compared to file streams.

So for example, on a WROOM I extract EPUB zip content by reading directly from the file, but if I'm on a WROVER with 4MB of RAM I can load the EPUB/zip into memory and then quickly extract from it.

I made this design decision and took on the inherent risk that it wouldn't get me the necessary performance gain before I wrote the first line of code.

I've been sweating bullets hoping it would meet my requirements and thus not relegate the entire project to the dustbin.

It works. My hypothesis held. I am so relieved right now.
Real programmers use butterflies

GeneralRe: My big gamble paid off Pin
Ravi-from-India27-Jul-21 19:15
Ravi-from-India27-Jul-21 19:15 
GeneralRe: My big gamble paid off Pin
Super Lloyd27-Jul-21 19:28
Super Lloyd27-Jul-21 19:28 
GeneralRe: My big gamble paid off Pin
pkfox27-Jul-21 21:15
professionalpkfox27-Jul-21 21:15 
GeneralRe: My big gamble paid off Pin
Nelek28-Jul-21 0:40
protectorNelek28-Jul-21 0:40 
NewsExplosion at Bayer chemical complex in Germany. Pin
Brisingr Aerowing27-Jul-21 13:24
professionalBrisingr Aerowing27-Jul-21 13:24 
GeneralRe: Explosion at Bayer chemical complex in Germany. Pin
Dave Kreskowiak27-Jul-21 17:04
mveDave Kreskowiak27-Jul-21 17:04 
GeneralRe: Explosion at Bayer chemical complex in Germany. Pin
Nelek28-Jul-21 0:40
protectorNelek28-Jul-21 0:40 
GeneralThanks Griff! Pin
Cp-Coder27-Jul-21 12:38
Cp-Coder27-Jul-21 12:38 
GeneralRe: Thanks Griff! Pin
OriginalGriff27-Jul-21 18:31
mveOriginalGriff27-Jul-21 18:31 
GeneralIt is not a habit, it's cool Pin
Eddy Vluggen27-Jul-21 10:22
professionalEddy Vluggen27-Jul-21 10:22 
GeneralRe: It is not a habit, it's cool Pin
Slacker00727-Jul-21 10:45
professionalSlacker00727-Jul-21 10:45 
GeneralRe: It is not a habit, it's cool Pin
Eddy Vluggen27-Jul-21 11:53
professionalEddy Vluggen27-Jul-21 11:53 
GeneralRe: It is not a habit, it's cool Pin
Slacker00727-Jul-21 12:20
professionalSlacker00727-Jul-21 12:20 
GeneralRe: It is not a habit, it's cool Pin
Eddy Vluggen27-Jul-21 12:42
professionalEddy Vluggen27-Jul-21 12:42 
GeneralRe: It is not a habit, it's cool Pin
Eddy Vluggen28-Jul-21 9:48
professionalEddy Vluggen28-Jul-21 9:48 
GeneralRe: It is not a habit, it's cool Pin
Cp-Coder27-Jul-21 12:45
Cp-Coder27-Jul-21 12:45 
GeneralRe: It is not a habit, it's cool Pin
Slacker00727-Jul-21 13:24
professionalSlacker00727-Jul-21 13:24 

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.