|
|
BernardIE5317 wrote: Its' answer was not correct but it got me started
There's been numerous times where I couldn't figure out how to invoke some obscure API with little or no documentation, and some AI got me started. I never take for granted anything it comes up with will work, so I review and test everything carefully instead of blindly cutting and pasting into my code, so it does have its uses (and clearly, its limitations).
Obscure APIs, or writing boilerplate code that I've written a million times before, but can't be bothered to remember at that particular instant (or to refactor once and for all into something reusable, but that's a separate matter)
|
|
|
|
|
A woman drove me to drink and I didn't even have the decency to thank her.
W. C. Fields
A home without books is a body without soul. Marcus Tullius Cicero
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
Mr Fields your house is on fire - I always like to come to a warm home
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
|
|
|
|
|
"If your parents never had children, chances are... neither will you." Dick Cavett
|
|
|
|
|
Mine had seven - I had none ?
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
|
|
|
|
|
Today I found a vector graphics library in C that can potentially run on little devices (at least after I'm done with it)
GitHub - sammycage/plutovg: Tiny 2D vector graphics library in C[^]
1. It supports text and it uses the same "STB" truetype engine as my library does in order to do so. What a happy coincidence! I've made some mods to my fork, but it's not a problem.
2. Someone else wrote an SVG engine that works on top of it, meaning I think it's feature complete enough for that that I can too.
3. It appears on first blush that it creates contours and edges upon document creation rather than upon render, which is a boon for performance compared to what I had been forced to do before.
4. It uses tables to do a lot of trigonometry required.
So now not only do I have my anti-aliased, alpha blended vector graphics additions to GFX, I can finally hopefully sidestep my crashing issue (The waterbed post from the other day) because my strong suspicion is the crash was coming from the SVG end of things. Since I'm replacing that entire mess with this, that will hopefully tie that in a bow as well.
Once finished GFX will be the premier embedded graphics library for doing vector graphics.
At that point I'll feel it's a worthy alternative to LVGL depending on the project needs.
Man, what a find.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I just use an 8-point font to save code space.
|
|
|
|
|
I take it it's open source ?
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
|
|
|
|
|
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
|
|
|
|