|
.NET does not support IEnumerables of Types Trivia, and Nonsense, but you can use IEnumerables of Types like Friendship, Oi, Camaraderie, Jokes, Weirdness, Bacon, and Horsing-Around.
So, that probably means about 25% of the content cannot be enumerated; estimates of the extent of the content which is meaningful are the subject of academic debate.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
... The artist formerly known as Prince[^]
"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!
modified 11-Sep-22 11:12am.
|
|
|
|
|
Lèse-majesté!
Off with his head!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
I can't handle all this monarchy stuff. For me this is all so of the past and useless
Very sorry
|
|
|
|
|
Liz was good - pretty much the only head of state that you knew wasn't going to declare war on anybody despite having her own army.
Charlie on the other hand ... he's one of the "past and useless" brigade I think.
"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!
|
|
|
|
|
Why ?
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
What kind of person invites his mistress to his wedding? That's a slap in the face for both ladies, isn't it?
But Charlie boy thought nothing of it: he thinks that what he wants is what the world should give him because of his birth; that respect is owed rather than earned. He believes in his rights and privileges rather than his duties - unlike his mother. I just don't like him.
"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!
|
|
|
|
|
At this point I feel it apposite to point out that last week we Brits saw in a new head of state and a new chief executive, in an entirely peaceful manner, and with great dignity. I repeat - in the same week. Compare this with the last such change in the US, culminating in January 6th 2021 and its subsequent multiple debacles.
But then, we have spent the last thousand years getting the system right.
|
|
|
|
|
His thumb isn't wrapped around the neck ... I think he knows what he's doing.
"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
|
|
|
|
|
He's playing the same model as mine!
At least he's using a guitar made in the U.S.
Ridcully
|
|
|
|
|
A woman, cranky because her husband was coming home late again, decided to leave a note, saying, "I've had enough and have left you... don't bother coming after me".
Then she hid under the bed to see his reaction.
After a short while the husband comes home and she can hear him in the kitchen before he comes into the bedroom. She could see him walk towards the dresser and pick up the note...
After a few minutes he wrote something on it before picking up the phone and calling someone...
"She's finally gone... yeah I know, about bloody time, I'm coming to see you, put on that sexy French nightie.
I love you... can't wait to see you... we'll do all the naughty things you like."
He hung up, grabbed his keys and left.
She heard the car drive off as she came out from under the bed.
Seething with rage and with tears in her eyes she grabbed the note to see what he wrote...
"I can see your feet. We're out of bread: be back in five minutes."
PartsBin an Electronics Part Organizer is finally available for download.
JaxCoder.com
|
|
|
|
|
LOL
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Risky, very risky!
|
|
|
|
|
Did she see him walk towards the dresser and pick up the note ... w/ her feet?
|
|
|
|
|
LVGL is fast, and amazing, so I'm not criticizing it, but they make choices I wouldn't have.
One thing is, they do a lot of little heap allocations without a custom allocator scheme.
for example (C code)
lv_label_t *my_label = lv_label_create(yada,yada);
...
lv_label_destroy(my_label);
Whereas in htcw_gfx, or most of my IoT code for that matter it's
lv_label_t my_label;
lv_label_create(&my_label,yada,yada);
...
lv_label_destroy(my_label);
The difference is subtle but not insignificant. The key here is the caller is responsible for allocations.
This allows you to declare a globals for example:
lv_label_t global_label1;
lv_label_t global_label2;
And then use those without whipping the heap at all.
That and in other cases they just use the heap like it's free, and I'm over here, like "how do you even run on systems with 48KB of RAM?"
It floors me. This whole time I've treated heap allocations on IoT like blood diamonds: Expensive, horrible, to be avoided at almost any cost, and really we don't want to talk about what goes into them.
I don't use malloc in my IoT code unless there's no other choice.
Anyway, it was just an interesting contrast, and I learned that maybe I'm being too paranoid about managing my SRAM.
To err is human. Fortune favors the monsters.
|
|
|
|
|
If I have my assumptions are correct. Their assumption is memory is cheap. When memory is cheap go heap. However, properly managing memory is almost always a good thing. I have worked on systems that where in 8kb range back in the old days. Too long ago to recall the details, but required.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I still deal with systems with 8KB of RAM, and LVGL works in like 48KB of RAM - the entire library mind you, not just my font engine, which must share the RAM with that library. with 48KB of RAM at say 80% usage the heap frag struggle is real. I think.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Yikes. You think are right! Heap or not. I am still learning LVGL, but I have no memory issues for my interests.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
48 kB of RAM is 8 of our most powerful SoCs in parallel, or 3 of the ones which supposedly will become our standard (if the supplier finishes developing it before the end of the century).
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
|
I'm working on systems with 3kB now. Memory isn't cheap in deep embedded.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
honey the codewitch wrote: they do a lot of little heap allocations without a custom allocator scheme. That's not entirely true, looks like there is a memory pool and allocations implementation. There is room for improvement here, but it's there.
lvgl/lv_malloc_builtin.c
lvgl/lv_tlsf.c
LVGL is using the Two-Level Segregated Fit memory allocator (as a conditional compilation)
honey the codewitch wrote: "how do you even run on systems with 48KB of RAM?" The scheme LVGL is using gives them complete control over memory usage. I like what I see.
|
|
|
|
|
Randor wrote: That's not entirely true, looks like there is a memory pool and allocations implementation. There is room for improvement here, but it's there.
Weird, I was just going by what the author of LVGL told me. Maybe I misunderstood him, or he me.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: Weird, I was just going by what the author of LVGL told me. Wierd, I know. Some might say it's a complete mystery.
|
|
|
|