|
Time for #pragma once
|
|
|
|
|
I don't use pragma once for these files because this way i get breadcrumbs that let me know which files have been included already. I have yet to need that, but I wanted it in case I ended up needing it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
You have done well HTW
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,164 3/6
π©π¨β¬π¨π¨
π©π¨π©π¨π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,164 4/6*
β¬β¬π©π¨π©
π¨β¬π©β¬π©
π©π©π©β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,164 3/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,164 4/6
β¬β¬β¬β¬π¨
π©β¬π©β¬π©
π©π¨π©π¨π©
π©π©π©π©π©
Within you lies the power for good - Use it!
|
|
|
|
|
Wordle 1,164 X/6*
π¨π©β¬β¬π©
π©π©π©β¬π©
π©π©π©β¬π©
π©π©π©β¬π©
π©π©π©β¬π©
π©π©π©β¬π©
Too many choices.
|
|
|
|
|
Wordle 1,164 4/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
|
|
|
|
|
Wordle 1,164 4/6
π¨β¬β¬β¬π©
π©β¬π©β¬π©
π©π©π©β¬π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
π©π©π©π©π©
π©π¨π©π¨π©
π©π©π©π©π©
π¨π©π©π©π¨
π©π¨π¨π¨π©
π©π©π©π©π©
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
You made a smiley face. Noice.
Jeremy Falcon
|
|
|
|
|
Wordle 1,164 2/6
β¬π¨π©β¬π¨
π©π©π©π©π©
Jeremy Falcon
|
|
|
|
|
I'm simplifying my graphics library.
I'm moving the responsibility for async operations, and other driver related nonsense outside the library.
There are a number of reasons for it, KISS being the overarching philosophy. Previously I had tightly coupled drivers for this library for a bunch of display devices and platforms under Arduino but it's sort of out of scope of just graphics operations themselves.
Now I have a draw on demand library that builds on my graphics library, draws as needed, and renders bitmaps to send to the display. There's very little need for a tightly coupled driver interface anymore.
That means my capabilities queryable parameters get reduced significantly, no more read, async, or suspend. It's not necessary.
But man, removing those breaks everything. I have endless template specializations for the various capabilities, like drawing synchronously vs asynchronously, or drawing on devices where readback isn't available (nixing things like alpha-blending and anti-aliasing). I don't need those anymore, but we're talking hundreds and hundreds of compile errors.
Taking a break in the middle of it is difficult because getting back into it is tough.
Adding features is easy by comparison.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
|
Totally agree.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Absolutely.
That's one of the reasons why code usually become more complicated over time.
|
|
|
|
|
I'd say new capabilities is why a system gets larger and more complicated over time. Without refactoring, new capabilities become harder to add to the original architecture. But inside almost every system is a smaller system, struggling to get out. So if customers stopped their feature requests, refactoring could slowly shrink the code base, eventually reducing it to zero.
|
|
|
|
|
If customers stop their feature requests, which would come first, refactoring shrinking the code base to zero, or the need for developers reduced to zero?
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
I forget who wrote this, but "I'm writing you a long letter because I don't have time to write a short one."
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
I have a book, a collection called "Great Short Stories of the English Speaking World" (or something like that) whose foreword explains that writing a great short story is far harder than writing a great novel.
Perhaps the principle is more widely applicable than I thought!
|
|
|
|
|
After two full days of being paid for using electricity, from 06:00 this morning, we have to pay. That terrible condition will last until 22:00; after that, we will again be paid for our use.
It isn't terribly much, though: At the peak, from 10:00 to 11:00, we pay 0.23 Eurocents per kWh (β¬ 2.29/MWh). The average for the entire day is 0.03 Eurocents per kWh (β¬ 0.30 per MWh).
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|