Click here to Skip to main content
16,015,900 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.

 
GeneralDestructor, Deconstructor, Destructuring: We need to talk Pin
raddevus26-Sep-24 8:58
mvaraddevus26-Sep-24 8:58 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
charlieg26-Sep-24 14:41
charlieg26-Sep-24 14:41 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
raddevus27-Sep-24 8:07
mvaraddevus27-Sep-24 8:07 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
charlieg27-Sep-24 10:10
charlieg27-Sep-24 10:10 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
PIEBALDconsult26-Sep-24 15:50
mvePIEBALDconsult26-Sep-24 15:50 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
raddevus27-Sep-24 7:55
mvaraddevus27-Sep-24 7:55 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
PIEBALDconsult27-Sep-24 9:12
mvePIEBALDconsult27-Sep-24 9:12 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
charlieg27-Sep-24 10:13
charlieg27-Sep-24 10:13 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
11917640 Member 28-Sep-24 20:53
11917640 Member 28-Sep-24 20:53 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
Peter_in_278028-Sep-24 21:26
professionalPeter_in_278028-Sep-24 21:26 
GeneralRe: Destructor, Deconstructor, Destructuring: We need to talk Pin
Richard Deeming30-Sep-24 21:45
mveRichard Deeming30-Sep-24 21:45 
GeneralThe best thing since sliced bread Pin
RickZeeland25-Sep-24 8:28
mveRickZeeland25-Sep-24 8:28 
GeneralHollywood Apple Pin
RickZeeland22-Sep-24 0:46
mveRickZeeland22-Sep-24 0:46 
GeneralRe: Hollywood Apple Pin
Ron Anders22-Sep-24 2:20
Ron Anders22-Sep-24 2:20 
GeneralRe: Hollywood Apple Pin
den2k8823-Sep-24 5:07
professionalden2k8823-Sep-24 5:07 
GeneralRe: Hollywood Apple Pin
Maximilien23-Sep-24 5:05
Maximilien23-Sep-24 5:05 
GeneralRe: Hollywood Apple Pin
RickZeeland23-Sep-24 5:41
mveRickZeeland23-Sep-24 5:41 
GeneralRe: Hollywood Apple Pin
Maximilien23-Sep-24 5:48
Maximilien23-Sep-24 5:48 
GeneralRe: Hollywood Apple Pin
den2k8823-Sep-24 22:40
professionalden2k8823-Sep-24 22:40 
Generaldolly chaiwala: funny meme video hindi Pin
Nitin S12-Sep-24 18:51
Nitin S12-Sep-24 18:51 
GeneralRe: dolly chaiwala: funny meme video hindi Pin
Nitin S12-Sep-24 18:52
Nitin S12-Sep-24 18:52 
GeneralRe: dolly chaiwala: funny meme video hindi Pin
Richard MacCutchan22-Sep-24 1:41
mveRichard MacCutchan22-Sep-24 1:41 
GeneralPlutovg is a fascinating bit of software Pin
honey the codewitch4-Sep-24 5:48
mvahoney the codewitch4-Sep-24 5:48 
GitHub - sammycage/plutovg: Tiny 2D vector graphics library in C[^]

It's sparsely documented, and difficult to follow at first until you understand the patterns the author employs.

That being said, it's a neat bit of kit. It allows full SVG capabilities (minus the XML part) and unlike my previous offering it actually appears to render as you add items to the canvas, rather than forcing you to build the entire graphic and then pass that to the rasterizer. That in itself is really interesting.

What's also fun about it, is it uses the vestiges of a TrueType font rendering engine called FreeType to do the rasterization. It has been modified to do color paths.

But it doesn't use FreeType to support text. It uses a different engine by STB - the same one I use in my library, which is a boon to me, because I've already made a compatible port for embedded that drops in.

Anyway, it appears to be fairly unique in terms of how it operates - especially with the immediate rendering.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

NewsThe Commodordion Pin
RickZeeland28-Aug-24 23:28
mveRickZeeland28-Aug-24 23:28 
GeneralRe: The Commodordion Pin
Mike Hankey29-Aug-24 2:46
mveMike Hankey29-Aug-24 2:46 

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.