Click here to Skip to main content
15,887,027 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: Utilization Pin
jochance8-Sep-23 4:56
jochance8-Sep-23 4:56 
GeneralRe: Utilization Pin
David On Life8-Sep-23 8:32
David On Life8-Sep-23 8:32 
GeneralRe: Utilization Pin
trønderen7-Sep-23 6:59
trønderen7-Sep-23 6:59 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 7:10
mvahoney the codewitch7-Sep-23 7:10 
GeneralRe: Utilization Pin
dandy727-Sep-23 7:02
dandy727-Sep-23 7:02 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 7:06
mvahoney the codewitch7-Sep-23 7:06 
GeneralRe: Utilization Pin
dandy727-Sep-23 7:20
dandy727-Sep-23 7:20 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 7:25
mvahoney the codewitch7-Sep-23 7:25 
There isn't really. It's all highly situational.

For example, I do dithering and automatic color matching in my graphics library so that I can load a full color JPG on to for example, a 7-color e-paper display. It will match any red it gets, with the nearest red that the e-paper can support and then if possible, dither it with another color to get it closer.

It takes time. I cache the color matching and dithering results in a hash table as I load the page. The hit rate is extremely high. It's very rare that a pixel of a particular color only appears once. That's close to ideal. The cache is discarded all at once once the frame is rendered. In that case, also easy to determine.

Naturally, for a web site, things look much different, and considerations change. Your cache hit algo probably won't be as ideal as my previous example just because there are so few examples in life that closely match a general algorithm's design.

At the end of the day though, you don't need a silver bullet to make it worthwhile, luckily for us - you just need to win more than you lose, once all the chips are counted.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: Utilization Pin
dandy727-Sep-23 7:29
dandy727-Sep-23 7:29 
GeneralRe: Utilization Pin
Marc Clifton7-Sep-23 7:54
mvaMarc Clifton7-Sep-23 7:54 
GeneralRe: Utilization Pin
obermd7-Sep-23 8:40
obermd7-Sep-23 8:40 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 9:18
mvahoney the codewitch7-Sep-23 9:18 
GeneralRe: Utilization Pin
wapiti648-Sep-23 5:56
wapiti648-Sep-23 5:56 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 5:57
mvahoney the codewitch8-Sep-23 5:57 
GeneralRe: Utilization Pin
wapiti648-Sep-23 6:28
wapiti648-Sep-23 6:28 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 7:01
mvahoney the codewitch8-Sep-23 7:01 
GeneralRe: Utilization Pin
trønderen8-Sep-23 8:22
trønderen8-Sep-23 8:22 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 11:05
mvahoney the codewitch8-Sep-23 11:05 
GeneralRe: Utilization Pin
trønderen7-Sep-23 11:49
trønderen7-Sep-23 11:49 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 3:19
mvahoney the codewitch8-Sep-23 3:19 
GeneralRe: Utilization Pin
Peter Adam7-Sep-23 23:25
professionalPeter Adam7-Sep-23 23:25 
GeneralRe: Utilization Pin
Choroid8-Sep-23 5:30
Choroid8-Sep-23 5:30 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 5:32
mvahoney the codewitch8-Sep-23 5:32 
GeneralRe: Utilization Pin
trønderen8-Sep-23 8:15
trønderen8-Sep-23 8:15 
GeneralRe: Utilization Pin
Choroid9-Sep-23 6:39
Choroid9-Sep-23 6:39 

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.