Click here to Skip to main content
15,881,709 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: QuakeIII: Fast Inverse of Sqrt in C (float to long) Pin
Stuart Dootson18-Aug-21 0:48
professionalStuart Dootson18-Aug-21 0:48 
GeneralRe: QuakeIII: Fast Inverse of Sqrt in C (float to long) Pin
raddevus19-Aug-21 9:15
mvaraddevus19-Aug-21 9:15 
GeneralYou expect me to use this with what, now? Pin
honey the codewitch19-Jun-21 7:46
mvahoney the codewitch19-Jun-21 7:46 
GeneralRe: You expect me to use this with what, now? Pin
Kenneth Haugland19-Jun-21 8:18
mvaKenneth Haugland19-Jun-21 8:18 
GeneralRe: You expect me to use this with what, now? Pin
markrlondon19-Jun-21 11:44
markrlondon19-Jun-21 11:44 
GeneralRe: You expect me to use this with what, now? Pin
honey the codewitch19-Jun-21 11:57
mvahoney the codewitch19-Jun-21 11:57 
GeneralRe: You expect me to use this with what, now? Pin
jschell7-Jul-21 8:06
jschell7-Jul-21 8:06 
GeneralRe: You expect me to use this with what, now? Pin
enhzflep15-Jul-21 23:11
enhzflep15-Jul-21 23:11 
Never used an e-reader. Do they switch pages very fast?

This looks like an el-cheapo bunch of memory: (running at 133 mhz)
2pcs ESP-PSRAM64H Chip - 64 Mbit Serial Pseudo SRAM - ElectroDragon

Don't see any reason you couldn't compute (say) 10 scanlines in actual ram, before blasting em to the device, ready to be dumped to screen after you'd rendered the whole page. I did phong-shaded surface renderings of 4d julia fractals at 640x480 back in dos using only 64 k of memory using a similar trick for the zbuffer...

Of course, I've no idea how mem hungry the TTF stuff is, nor how many scanlines each line of text is high.
GeneralRe: You expect me to use this with what, now? Pin
honey the codewitch16-Jul-21 4:03
mvahoney the codewitch16-Jul-21 4:03 
GeneralRe: You expect me to use this with what, now? Pin
enhzflep16-Jul-21 6:06
enhzflep16-Jul-21 6:06 
GeneralRe: You expect me to use this with what, now? Pin
honey the codewitch16-Jul-21 6:25
mvahoney the codewitch16-Jul-21 6:25 
GeneralRe: You expect me to use this with what, now? Pin
enhzflep16-Jul-21 13:56
enhzflep16-Jul-21 13:56 
GeneralRe: You expect me to use this with what, now? Pin
englebart1-Sep-22 16:48
professionalenglebart1-Sep-22 16:48 
GeneralRe: You expect me to use this with what, now? Pin
honey the codewitch1-Sep-22 17:08
mvahoney the codewitch1-Sep-22 17:08 
GeneralThis is a joke, but still... Pin
Brisingr Aerowing19-Jun-21 4:44
professionalBrisingr Aerowing19-Jun-21 4:44 
GeneralRe: This is a joke, but still... Pin
PIEBALDconsult19-Jun-21 4:46
mvePIEBALDconsult19-Jun-21 4:46 
GeneralRe: This is a joke, but still... Pin
Brisingr Aerowing19-Jun-21 7:42
professionalBrisingr Aerowing19-Jun-21 7:42 
GeneralRe: This is a joke, but still... Pin
Marc Clifton20-Jun-21 3:02
mvaMarc Clifton20-Jun-21 3:02 
GeneralRe: This is a joke, but still... Pin
Bohdan Stupak30-Jul-21 4:37
professionalBohdan Stupak30-Jul-21 4:37 
GeneralA really fascinating breakdown of dithering in graphics rendering Pin
honey the codewitch16-Jun-21 3:40
mvahoney the codewitch16-Jun-21 3:40 
GeneralRe: A really fascinating breakdown of dithering in graphics rendering Pin
RedDk16-Jun-21 7:10
RedDk16-Jun-21 7:10 
GeneralRe: A really fascinating breakdown of dithering in graphics rendering Pin
honey the codewitch16-Jun-21 7:11
mvahoney the codewitch16-Jun-21 7:11 
GeneralRe: A really fascinating breakdown of dithering in graphics rendering Pin
RedDk16-Jun-21 7:26
RedDk16-Jun-21 7:26 
GeneralRe: A really fascinating breakdown of dithering in graphics rendering Pin
Daniel Pfeffer20-Jun-21 3:24
professionalDaniel Pfeffer20-Jun-21 3:24 
GeneralRe: A really fascinating breakdown of dithering in graphics rendering Pin
honey the codewitch20-Jun-21 3:26
mvahoney the codewitch20-Jun-21 3:26 

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.