|
Quote: Of course, y'all realize replies to this post (including this one) add entries to my inbox.
No! Surely not!
(#00000001)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Quote: Of course, y'all realize replies to this post (including this one) add entries to my inbox.
No! Surely not!
(#00000002)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Quote: Of course, y'all realize replies to this post (including this one) add entries to my inbox.
No! Surely not!
(#00000003)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
yep, those that really wanted an answer will ask again won't they.
To err is human to really elephant it up you need a computer
|
|
|
|
|
Been reported dead lately? Or for tax reasons?
|
|
|
|
|
No, but I am in the process of getting a divorce so...
Software Zen: delete this;
|
|
|
|
|
|
βOnce you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.β - Sherlock Homes (Arthur Conan Doyle)
I donned my detective hat. I found the path that is causing a stack overflow on my widget. It's a series of nested function calls that take a lot of parameters and use a lot of local arguments.
The bad news is, it's not just turning a recursive algorithm into an iterative one like I had hoped.
I have to do classic stack reduction techniques, and just do it in bulk.
I need to know how they can nest though, so I need to brush up on the SVG specification a bit. I'm rusty.
But I found it. I found the offending code path. No small feat when the damn thing clobbers the stack frame (and thus, the stack trace that goes with it)
I also solved the mystery of why it "worked before". The answer is, it basically didn't. I was usually parsing and initializing the SVG information in the global space rather than in main() or something. That usually works, although some more complicated docs cause an initial reboot on an ESP32 before working. That's weird, but I've run into it in the past, and I didn't know why. Now I do.
I'm not happy about what I found, but at least it's not Geraldo finding Capone's empty safe, and I've got somewhere to begin.
SVG on devices with like 192KB of RAM is no easy feat, but I like a challenge.
Fortunately it works great when you build the SVGs using my in memory builder classes and don't parse the SVG from XML. I use SVG as a primary graphics rendering tool in my graphics library, because I have not found algorithms for anti-aliased primary shapes that work with alpha-blending. The Wu algorithm for example, winds up plotting pixels in the same place more than once, so it destroys alpha-blending. SVG works with alpha-blending and is intrinsically anti-aliased. Only issue is it's not as fast as I'd like.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 21-Aug-24 11:10am.
|
|
|
|
|
I have to ask: anything 'special' in the pipe?
Given this problem, a celebration is in order!
Software Zen: delete this;
|
|
|
|
|
Try the dish-of-the-day at Milliways for dinner.
|
|
|
|
|
Wordle 1,159 4/6*
β¬π¨β¬β¬β¬
π¨β¬π¨π¨β¬
π¨π©β¬π¨β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 1,159 3/6
β¬β¬π©β¬β¬
β¬β¬π©β¬β¬
π©π©π©π©π©
You beat me by milliseconds.
|
|
|
|
|
And hence the pattern; good one
|
|
|
|
|
Wordle 1,159 3/6
π©β¬π¨β¬β¬
π©π©β¬β¬π¨
π©π©π©π©π©
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 1,159 5/6*
β¬β¬β¬β¬β¬
β¬π©β¬β¬π¨
π¨π©π¨β¬β¬
β¬π©π©π©π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,159 5/6*
β¬π¨β¬β¬β¬
β¬π©β¬π¨β¬
π¨π©β¬β¬β¬
β¬π©π©β¬β¬
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
π¨β¬β¬β¬β¬
β¬β¬β¬π¨β¬
β¬π©π¨π¨β¬
β¬π©π©π©π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,159 5/6
β¬π©β¬β¬β¬
β¬π©π¨β¬β¬
π¨π¨β¬π¨β¬
π©π©β¬π©π©
π©π©π©π©π©
I don't know the English or Dutch word for this...
|
|
|
|
|
It's fairly common I think.
|
|
|
|
|
I had also not heard of this word. Was expecting 'Word not in list', but it worked.
|
|
|
|
|
|
Good stuff indeed!
Didn't know Soulwax, but they seem good live.
I've been listening to a lot of music lately... Recently (old) Dutch music for some reason, but also other recent stuff like the new VOLA and Oranssi Pazuzu singles and new albums by Sear Bliss, Orange Goblin, Heretic, Caligula's Horse...
You may like Radar Men From The Moon - Altered States (Official Video) - YouTube[^]
A Dutch band being somewhere between metal, industrial and (semi-acoustic?) techno.
Their latest album is awesome! (but so are all the other bands I just mentioned)
All is well, not on CP as much anymore because for some reason my laptop often thinks it doesn't exist.
I can browse here with my phone, no problem, but not with my laptop.
I even posted in bugs and sugs that CP was down A LOT only to find the problem was entirely mine
Other than that I don't code that much anymore and when I code it's the annoying stuff, like old WinForms apps and Crystal Reports and the like.
Keeping the good stuff for my employees because a happy employee is a good employee and the stuff I'm working on doesn't make anyone happy
Although they're reading a lot of (very bad) VB6 lately, so I'm not sure how happy they really are (for some reason they're all on vacation right now...)
At least they get to remake it in modern C# .NET 8 applications
|
|
|
|
|
Sander Rossel wrote: I can browse here with my phone, no problem, but not with my laptop. Maybe a hosts file with an interaction with the Content Distribution Network CodeProject uses?
Sounds like you are having fun! Glad to hear from you again!
|
|
|
|
|
David O'Neil wrote: Maybe a hosts file Added two entries recently, but that's the only edit I ever did to my hosts file...
Just removed the entries, but I doubt those were the problem.
|
|
|
|