|
Yeah - MIT license, like my lib.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
That open source project appears to be unattributed and based off FreeType[^], make sure to add that to your tertiary licence chain after you refactor it to be unrecognizable. After you get it working on your MCU it should be easy to compare to the improvements over the LVGL offering[^]. Looks like FreeType on LVGL requires 24KB of stack.
|
|
|
|
|
It uses some code from Freetype, and my license documentation will reflect that.
I'm actually pouring over all the code to convert it to C++ and do things like integrate it such that it uses my bitmap class instead of its own - that sort of thing, so I'm pretty familiar with where the codebase comes from.
And I've worked with FreeType before and am familiar with it, which is why I made TinyTTF - and contributed that to LVGL as it runs in more places.
That said, the freetype bits used in pluto isn't very heavy - just typedefs and rasterization algorithms.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
"Looking back, my life so far seems like one long obstacle race, with me as its chief obstacle." - Jack Paar
I miss Jack Paar also.
|
|
|
|
|
Why up a hill of course.
Jeremy Falcon
|
|
|
|
|
"I hated my last boss. He asked, Why are you two hours late? I said, I fell downstairs. He said, That doesn't take two hours." - Johnny Carson
I miss "Heeere's Johnny!"
|
|
|
|
|
Quote: Where's Johnny?
Sounds like a song.Where's Johnny - YouTube[^]
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
|
Yesterday we decided to splurge in the posh restaurant St.Maxime in the picturesque town of Deventer and had "Oeufs bénédictine" for lunch.
Probably better known as Eggs Benedict - Wikipedia[^] in the states.
To my surprise Wikipedia mentions this was invented in the states, but to me it seems more likely that the origin was French.
modified 31-Aug-24 8:30am.
|
|
|
|
|
Na, we have a lot of good recipes in France, but this one is definitely not French - has some origins in Quebec yet, so maybe a touch of French
|
|
|
|
|
I love eggs benedict, and will always order it if it is on the menu. My current favourite is on the breakfast menu of De Juf in Middelburg. EGGS BENEDICT €14,50, served on light multi-grain toast with avocado and poached eggs, and Hollandaise sauce, options: warm smoked salmon, or pulled pork, or bacon, or tomato.
Delicious
The most over the top eggs benedict that I have had was made with lobster and served at the Atlantis Hotel, Paradise island, in The Bahamas. There was a huge aquarium built into the wall of the restaurant with, amongst other fish, sharks and rays.
|
|
|
|
|
Sounds good, have to remember that address when I visit Middelburg again
|
|
|
|
|
Yesterday I enjoyed fresh kale w/ raisins to my surprise. I insist on an egg w/ each meal however I can not recall last occasion I enjoyed same as much as I expected to.
|
|
|
|
|
Wordle 1,169 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!
|
|
|
|
|
⬜⬜⬜⬜⬜
🟨⬜🟩🟩🟨
🟩🟩🟩🟩🟩
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,169 4/6
⬛⬛⬛⬛🟩
🟩⬛⬛⬛🟩
🟩⬛🟩⬛🟩
🟩🟩🟩🟩🟩
No yellows.
Jeremy Falcon
|
|
|
|
|
Wordle 1,169 2/6
⬛⬛🟩⬛⬛
🟩🟩🟩🟩🟩
A second 2 row in a week!
I must have done something good to deserve this!
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,169 3/6
🟨⬜⬜⬜⬜
⬜⬜🟨🟩🟩
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 1,169 4/6
⬜⬜⬜🟨⬜
🟨⬜🟨⬜🟨
⬜⬜🟨🟩🟩
🟩🟩🟩🟩🟩
Within you lies the power for good - Use it!
|
|
|
|
|
Some of my code is causing heap corruption.
I don't know what code, but I suspect it's my SVG code. The issue is that it works sometimes. But if I look at it funny it starts crashing, and my stack trace keeps pointing me to different places depending on the seemingly unrelated changes I make in main(). Sometimes it points me to some font rendering code. Sometimes it points me to a seemingly innocuous assign to a local variable in my SVG parser code. It's maddening.
It doesn't reproduce on the PC, at least 64-bit. I haven't tried 32 because trying to get 32-bit executables built on a windows machine these days I think requires a VM?
I tried running Deleaker against it, not sure if it would pick up heap corruption - it either doesn't, or it isn't coming up on the PC.
Unfortunately, much of this code is derived in many places from work that wasn't mine to begin with, and so instrumenting it to detect heap corruption if I have to wrap all malloc/reallocs etc will cause me real pain.
I don't know what to do. Maybe this would rear its head if I had kilobytes instead of gigabytes of RAM? but i wouldn't even know how to set that up on a PC without altering my code to use a custom constrained heap.
I'm so frustrated I've put it down, but it's gnawing at me, because it's definitely blocking any attempt I make at releasing.
I wish these little IoT devices had good memory protection. It just now occurred to me to try this on an ARM and hope i can reproduce it. Maybe I'll get a better stack trace. Who knows?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Can you compile on Linux? There at least you have ulimit so you could restrict your stack size. A quick google leads to Windows Resource Manager, which may or may not be available.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
Yeah it compiles everywhere I've tried.
Hmmm, I have WSL. I hadn't heard of ulimit. Thanks
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Also check out valgrind. It might give you some clues as to where to look.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
Doesn't valgrind require instrumentation? I'm trying to avoid that, in favor of something that hooks the system calls.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Yeah, it probably does. But as a starting point, you could run under valgrind, with lots of stack, to see if it detects anything it thinks is not kosher (which might be everything you're doing from it's point of view )
GNU libc allows you to hook various system calls : Hooks for Malloc (The GNU C Library) Maybe that can help? or the Previous link on that page re heap consistency checking?
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|