|
2021 .. I credit pandemic-boredom.
|
|
|
|
|
I get that.
Yet it's the sort of thing that, when you need it - it's incredibly valuable.
|
|
|
|
|
#Worldle #626 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
"A little time, a little trouble, your better day"
Badfinger
modified 9-Oct-23 20:57pm.
|
|
|
|
|
I'm using my SVG engine to accomplish advanced draws in my graphics library, so basically I am creating a way to build basic SVGs rather than simply parse them from XML.
My rendering engine (because it is primarily for SVG) supports skewing, scaling, rotation, multi-step gradients, stroke line dashes and caps, and a mess of other stuff. These styles can be applied to any drawing element. Trouble is making it easy to use. If you just want to draw an ellipse there's an awful lot of information as above that goes with it.
I've looked at how other libraries accomplish things like this, and I don't like it.
And yet I can't think of a better way than what's been done already, by libraries like LVGL.
And this is just the tip of the iceberg. I'm still largely in the design phase after making some foundational code preparation for the feature adds.
Analysis paralysis is pretty frustrating. I feel like I'm getting in my own way, and if I just got my mind right I could unstick myself but here I am.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
My guess is that other libraries have already gone through this, arriving at ways that you don't like, because they couldn't think of anything better either. Then again, there's a lot of crap code out there...
When I'm unsure about a design, I just start to code, let the code speak to me, and refactor accordingly. Since you're doing a library, putting together examples of how to use it could help to keep its interface minimal yet versatile.
|
|
|
|
|
I keep "tossing" techniques that worked in the past thinking I can do it "in my head".
The fact is, most people can't keep track of more than 7 things at one time: that includes the names of their kids; if they have 7 or more.
Going back to "drawing pictures" always puts me back on track.
e.g. my serializer: object-> serializer -> xml -> byte array -> memory stream -> compressed stream -> file stream -> saved file.
Saved file -> file stream -> compressed stream -> etc.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Gerry Schmitz wrote: The fact is, most people can't keep track of more than 7 things at one time: that includes the names of their kids; if they have 7 or more.
My son thought his name was Jesus Christ until he was older.
Jesus Christ in or out.
etc.......
I don't think before I open my mouth, I like to be as surprised a everyone else.
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
You got two kids, Bill and Russell?
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
My dad was one of 14 kids (there’s only three of them left now). I have no idea how my grandparents kept track of them all. My parents only had me and my sister and there’s 13 years between us.
|
|
|
|
|
Why not work on Version 1 coding (the most basic one, with none of the frills and fancies), and then continue the analysis/task of embellishing it?
|
|
|
|
|
because I'm concerned i'll have to make breaking changes to make it actually support the stuff my rasterization engine can do
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Do you really need to have the best solution right now?
That is why one has major version releases - because the public API changes.
Is the one part that significant?
|
|
|
|
|
I've been super good about keeping the breaking changes minimal. I've broken through the paralysis at this point anyway.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I think a lot of us that work having the overall responsibility for a project get into overthink mode. It recently happened to me on a project where I was 'architect-pm' as well as writing parts of the code. I couldn't get clarity on transmitting workflow designs to my small team and I got hung up on a piece of my own code that was doable, but couldn't pull it together as to how I was going to do it so it would be a better mousetrap.
I decided, after spending too many hours working on stuff, to fall back to things that needed to be done, regardless of which direction it was going to go. It didn't immediately answer the open issues, but as the parts came together, it was easier to see how things could fall into place.
It also helped to have an experienced team of three to bounce ideas off of. I got several "why not do" type of responses that helped turn the light bulb in my head on brighter.
|
|
|
|
|
You strike a familiar chord. I've been mentally designing a program for 10 years but still struggling with how to handle the garbage-in problem. I tell myself if I sat alone in a dark room for a few days I could figure it out.
|
|
|
|
|
Have you considered explaining the problem to a rubber duck?
Maybe try to explain the problem to someone without any technical skills. They are likely to think about the problem in a different way unbound from the technical constraints.
Best of luck.
|
|
|
|
|
So a month or so ago, I started archiving projects that have reached EOL. I move all files/data to an external SSD and then stick it in a safety deposit box. Well, I've been missing a 1TB SSD for months.... simply could not find it. Last night, late, I was working on my server (I have the server and two laptops) and I noticed there was an extra drive displayed.
Looked behind the server, and SOB, there was my missing SSD, plugged into the back.
It pays to clean your home office once in a while.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Or get a usb box that you put on your desk so you don't need to go messing around the back.
Although I actually keep mine on the top of the computer.
|
|
|
|
|
Well that's why I lost it. Normally it would be on the front....
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Designer collapsed in the Arctic (9)
"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
|
|
|
|
|
ARCHITECT. simple anagram.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
And you are up tomorrow!
"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!
|
|
|
|
|
I gave up.
I was implementing Wu algorithms for anti-aliased draws in my graphics library, but I kept running into problems with it due to also supporting alpha blending. Basically the problem is that you cannot draw a pixel in the same place twice, ever or if alpha blended it will blend with itself, halving the transparency. Most of the algorithms don't account for that, and the ones that I've found that do work in narrow cases, like circles only, or filled ellipses but not regular ellipses.
I'm over it. I have an SVG rasterizer in C I'm already using to support SVG in my library.
*cracks knuckles*
I'm adding a bunch of builder methods like add_ellipse<>() so you can basically use svg_docs for advanced drawing operations without needing to go through XML to get there.
It's not easy, and I'm not sure how practical it will be in the end, but I hope it works, because that unsticks me. I've been waiting to write a full featured UI control suite for my UI/UX library until I had anti-aliased draws in my graphics library because I didn't want to have to rewrite all the drawing code later.
So if this works it will unblock me in a major way.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
SVG FTW !
"If we don't change direction, we'll end up where we're going"
|
|
|
|