Click here to Skip to main content
15,889,335 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: Uh oh! The cloud on fire? Pin
Nelek10-Mar-21 23:13
protectorNelek10-Mar-21 23:13 
GeneralRe: Uh oh! The cloud on fire? Pin
Dan Neely11-Mar-21 2:46
Dan Neely11-Mar-21 2:46 
GeneralRe: Uh oh! The cloud on fire? Pin
RickZeeland10-Mar-21 19:31
mveRickZeeland10-Mar-21 19:31 
GeneralRe: Uh oh! The cloud on fire? Pin
Nelek10-Mar-21 20:07
protectorNelek10-Mar-21 20:07 
GeneralRe: Uh oh! The cloud on fire? Pin
Rage10-Mar-21 21:31
professionalRage10-Mar-21 21:31 
GeneralRe: Uh oh! The cloud on fire? Pin
Nelek10-Mar-21 23:10
protectorNelek10-Mar-21 23:10 
GeneralRe: Uh oh! The cloud on fire? Pin
Dan Neely11-Mar-21 2:42
Dan Neely11-Mar-21 2:42 
Generalaaaaaah! I shot myself in the foot Pin
honey the codewitch10-Mar-21 5:55
mvahoney the codewitch10-Mar-21 5:55 
I've been building a tiny graphics library for IoT devices to supplant Adafruit's offering which is huge, especially if you want jpeg loading support, and I think might be tied to the Arduino framework.

I've been working on JPEG decompression all morning with the idea that I would take a std::istream and a std::ostream in jpeg::convert(). (There is no load() function because there's no memory for that on these devices)

Come to find out, JPEG decompression returns a series of rectangles - i'm not sure of the dispersal/locality of them yet - but I can't produce for example, a 16-bit color depth bitmap stream (which expects pixels left to right, top to bottom) with something that takes rectangles without allocating enough memory (depending on the locality) to hold much, if not all of the buffer.

*headdesk*
*headdesk*
*headdesk*

I've already got 80% of it implemented and I'm asking myself how I got that far without realizing this fairly obvious problem.

Dead | X| D'Oh! | :doh:
Real programmers use butterflies

GeneralRe: aaaaaah! I shot myself in the foot Pin
Slacker00710-Mar-21 6:05
professionalSlacker00710-Mar-21 6:05 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Rick York10-Mar-21 6:14
mveRick York10-Mar-21 6:14 
GeneralRe: aaaaaah! I shot myself in the foot Pin
honey the codewitch10-Mar-21 6:16
mvahoney the codewitch10-Mar-21 6:16 
GeneralRe: aaaaaah! I shot myself in the foot Pin
User 1505687910-Mar-21 6:25
professionalUser 1505687910-Mar-21 6:25 
GeneralRe: aaaaaah! I shot myself in the foot Pin
User 1505687910-Mar-21 7:46
professionalUser 1505687910-Mar-21 7:46 
GeneralRe: aaaaaah! I shot myself in the foot Pin
OriginalGriff10-Mar-21 7:57
mveOriginalGriff10-Mar-21 7:57 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Cp-Coder10-Mar-21 8:31
Cp-Coder10-Mar-21 8:31 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Greg Utas10-Mar-21 9:04
professionalGreg Utas10-Mar-21 9:04 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Slacker00710-Mar-21 9:54
professionalSlacker00710-Mar-21 9:54 
GeneralRe: aaaaaah! I shot myself in the foot Pin
OriginalGriff10-Mar-21 9:57
mveOriginalGriff10-Mar-21 9:57 
GeneralRe: aaaaaah! I shot myself in the foot Pin
jsc4210-Mar-21 22:20
professionaljsc4210-Mar-21 22:20 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Daniel Pfeffer11-Mar-21 0:04
professionalDaniel Pfeffer11-Mar-21 0:04 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Rage10-Mar-21 21:39
professionalRage10-Mar-21 21:39 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Jörgen Andersson11-Mar-21 2:31
professionalJörgen Andersson11-Mar-21 2:31 
GeneralRe: aaaaaah! I shot myself in the foot Pin
Dan Neely11-Mar-21 2:45
Dan Neely11-Mar-21 2:45 
GeneralRe: aaaaaah! I shot myself in the foot Pin
honey the codewitch11-Mar-21 3:26
mvahoney the codewitch11-Mar-21 3:26 
GeneralThought of the Day Pin
OriginalGriff10-Mar-21 4:38
mveOriginalGriff10-Mar-21 4:38 

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.