|
So many articles that give statistics refer to the median of this and the median of that.
Why does no one give averages anymore?
And no, a median is not the same as an average. I suspect that more and more writers *think* that median = average.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
|
Richard Andrew x64 wrote: Why does no one give averages anymore? Maybe because median is more meaningful than the average (in some cases)? Just a thought.
You probably know the old story about Bill Gates walking into a bar. Also average household net worth in US is something like 750000$ while median is only around 130000$.
Mircea
|
|
|
|
|
Generally speaking, the median is more useful with a data set that has a large range because it minimizes the effects of large outliers. Income is one very good example of a data set where it is helpful because there is essentially no upper limit to it so the extremely large-income outliers will have an undo effect on the "average" income value.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Wordle 836 4/6
⬛⬛⬛⬛🟩
⬛🟩🟩⬛🟩
⬛🟩🟩⬛🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 836 3/6
⬛⬛⬛⬛🟩
⬛⬛⬛🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
I might need to hit my head against the desk, but I learned today the dos command:
winget
it will scan your whole system for software that needs update, and then is you decide to do it, it is waaaaaayyyy faster than many options I have seen.
Example: winget list
You will get all the installed software and the 2.column from the right is the new version available (if filled)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
my head hurts, too, but in a good way. thanx
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
|
You add enough and you can get them to do marching band formations.
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.
|
|
|
|
|
#Worldle #619 2/6 (100%)
🟩🟨⬜⬜⬜⬅️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
On one hand, it's satisfying to have brought something from conceptualization to fruition and be able to use the finished product. On the other, I get tired of it quickly and want to move on to the next thing.
Only finding that next thing isn't easy for me - the illusive inspiration necessary to find something engaging without being overwhelming.
I'm the type that has to spin a lot of plates and keep myself occupied. I'm always creating something or other or I get bored. Between projects is a hard place for me to be.
Right now work is sparse too, and while I welcome the break, the timing of it could be better. I wish I had 3 side projects right now. I don't even have one now that Winduino has a bow on it.
Meh.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
You need a Magnus Opus to keep going back to ... but you'd probably need more memory.
"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
|
|
|
|
|
I sort of have that. I've got my graphics and UI libraries. Issue is I'm stuck.
I'm missing a major feature, and that is anti-aliased draws (excepting TrueType and SVG which are).
The issue is that when combined with alpha blending (semi transparent draws) it becomes really tricky because you can't draw the same pixel in the same place twice - ever or it leads to artifacts as the pixel effectively gets blended with itself thus halving the transparency.
I can't find algorithms to do it properly+efficiently, outside of LVGL and I don't understand the LVGL code to do it, even looking at the documentation and pouring over the source. It uses some kind of masking technique that I don't understand at all.
Without that feature, it makes little sense for me to provide a full suite of controls for my UI library, since I will have to rewrite them all to use anti-aliased draws, and without it they look pretty ugly.
The whole thing is a bit overwhelming so I've been avoiding it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I'm working with pixel buffers and "writeable bitmaps" which totally abstract me from the hardware. My productivity is what keeps me going when things get to be a slog ... while new ideas / enhancements are purcolating. And I remind myself it's (partly) the journey.
"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
|
|
|
|
|
 That was the first thing I did in htcw_gfx (GFX)
I wrote a pixel template that allows you to define its binary footprint and color model using a series of "channel_trait" template instantiations that define the channel properties. Many pixels have R G and B channels, but it's not limited to that. Defining each channel individually to make up a pixel allows me to support virtually any binary footprint and color model. I made a brief pixel declaration in my Winduino example for my GFX lib to write out in DirectX native 32bit BGRx format.
From there I wrote a bitmap template class, which is basically a variable that holds pixel data. It can be written to as it itself is a draw target (both draw destination and draw source) or read from and applied to other draw targets. It's templated by the type of pixel (as above, for example RGB565) and the type of palette (if any)
It's so abstract I can support other formats and screen styles by changing barely anything. All my draw routines take pixels in any format and do behind the scenes conversion transparently (w/ alpha blending as available and called for)
I've written whole applications, only to have the screen hardware changed on me last minute. Takes me minutes to update, if I already wrote it to be resolution agnostic (which I typically do)
Here's a series of pixel declaration templates for color models of various types (including grayscale and indexed/palleted pixels) non-exaustive, just so you can see what it looks like:
template<size_t BitDepth>
using rgb_pixel = pixel<
channel_traits<channel_name::R,(BitDepth/3)>,
channel_traits<channel_name::G,((BitDepth/3)+(BitDepth%3))>,
channel_traits<channel_name::B,(BitDepth/3)>
>;
template<size_t BitDepth>
using rgba_pixel = pixel<
channel_traits<channel_name::R,(BitDepth/4)>,
channel_traits<channel_name::G,((BitDepth/4)+(BitDepth%4))>,
channel_traits<channel_name::B,(BitDepth/4)>,
channel_traits<channel_name::A,(BitDepth/4),0,(1<<(BitDepth/4))-1,(1<<(BitDepth/4))-1>
>;
template<size_t BitDepth>
using gsc_pixel = pixel<
channel_traits<channel_name::L,BitDepth>
>;
template<size_t BitDepth>
using yuv_pixel = pixel<
channel_traits<channel_name::Y,((BitDepth/3)+(BitDepth%3))>,
channel_traits<channel_name::U,(BitDepth/3)>,
channel_traits<channel_name::V,(BitDepth/3)>
>;
template<size_t BitDepth>
using yuva_pixel = pixel<
channel_traits<channel_name::Y,((BitDepth/4)+(BitDepth%4))>,
channel_traits<channel_name::U,(BitDepth/4)>,
channel_traits<channel_name::V,(BitDepth/4)>,
channel_traits<channel_name::A,(BitDepth/4),0,(1<<(BitDepth/4))-1,(1<<(BitDepth/4))-1>
>;
template<size_t BitDepth>
using ycbcr_pixel = pixel<
channel_traits<channel_name::Y,((BitDepth/3)+(BitDepth%3))>,
channel_traits<channel_name::Cb,(BitDepth/3)>,
channel_traits<channel_name::Cr,(BitDepth/3)>
>;
template<size_t BitDepth>
using ycbcra_pixel = pixel<
channel_traits<channel_name::Y,((BitDepth/4)+(BitDepth%4))>,
channel_traits<channel_name::Cb,(BitDepth/4)>,
channel_traits<channel_name::Cr,(BitDepth/4)>,
channel_traits<channel_name::A,(BitDepth/4),0,(1<<(BitDepth/4))-1,(1<<(BitDepth/4))-1>
>;
template<size_t BitDepth>
using indexed_pixel=pixel<channel_traits<channel_name::index,BitDepth>>;
You then use them like
gfx::rgb_pixel<16> px = gfx::color<gfx::rgb_pixel<16>>::purple;
px.channel<gfx::channel_name::G>(31);
float r = px.channelr<gfx::channel_name::R>();
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 8hrs 20mins ago.
|
|
|
|
|
Quote: Arguing with an Electrical Engineer is liking wrestling with a pig in mud, after a while you realize the pig is enjoying it!
From Jack Ganssle's newsletter
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.1.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
There's more than a grain of truth to that.
"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
|
|
|
|
|
EE's are resistant.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Sometimes, other times we conduct ourselves in a respectful manner.
"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
|
|
|
|
|
I don't argue with electrical engineers - at least about their field.
I'd as soon argue with a theoretical physicist.
Totally out of my element - foolish of me to think I should.
I just work with 'em. There is one I work with that's kinda difficult, but I think it's mostly because he's looking to retirement and his priorities have shifted away from work.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
In my early career I worked with many EEs and they can be difficult, but I got along with them fairly well.
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.1.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
we are not difficult... we are just passionate about our opinion and what we think is true
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Most of the ones I worked with were of the opinion that they were right until proven wrong.
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.1.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
Given that my father is/was one...
|
|
|
|
|