
Way it goes sometimes. Then you go "Oh boll...ther!" (or I do, anyway).
"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 Tshirt
AntiTwitter: @DalekDave is now a follower!





It was so simple it was difficult
"I didn't mention the bats  he'd see them soon enough"  Hunter S Thompson  RIP





Absolutely spot on!
You are up tomorrow  sorry for the delay in replying, but the lift table on my homemade router station just failed and I was busy swearing ... grawlix, grawlix, grawlix, grawlix!
"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 Tshirt
AntiTwitter: @DalekDave is now a follower!





... Beach closed[^]
"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 Tshirt
AntiTwitter: @DalekDave is now a follower!





A lawyer must have created that comic.





Or a politician.
"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 Tshirt
AntiTwitter: @DalekDave is now a follower!





It happened again today.
I installed a Windows 10 Feature Update (21H1), and lost two (2) of my extra custom context menu items. The two in question pass the selected file name(s) to attrib.exe , a system utility that dates all the way to PCDOS 1.0.
Strangely, other custom menu items that call command line utilities, a mix of commercially available programs (streams.exe from the SysInternals bundle) and privately developed programs (Date2FN.exe , a command line utility of my own devising that appends the last modified date to the base name of a file) are preserved.
Go figure.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
modified 17Jun21 2:37am.





I'm just hypothesizing about this but it just may be that these update have deliberate things like that built in to annoy and distract users whilst some other insidious things are then able to go unnoticed.
Not having Win10 on any system I can't verify that.
Ravings en masse^ 

"The difference between genius and stupidity is that genius has its limits."  Albert Einstein  "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure."  Balboos HaGadol Mar 2010 





It could be that they let the shiny Icon designer do some logical programming for a change.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.





I suppose that could be the case. However, I suspect it's more likely a benign oversight.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting





I just took the upgrade to Windows 10 21H1 today, and I've been running it all day.
So far, there has been but one surprise, which is that it seems that the settings on the Colors tab no longer do anything. Instead, you must use the settings on the Terminal tab. Once I figured that out, I restored my Green Screen, and my world is happy again. 👍
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting





Oh, they work. They just aren't restored from wherever they are saved ... under "Properties" or "Defaults".
"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 Tshirt
AntiTwitter: @DalekDave is now a follower!





They were easy to restore, since I had the foresight to export the relevant Registry keys. Nevertheless, it annoys me that I must do so following every Feature Update.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting





That's odd I'm on 20h2 and Windows tells me I'm up to date.
"I didn't mention the bats  he'd see them soon enough"  Hunter S Thompson  RIP





Windows 21H1 is being rolled out in stages. Your machine may not yet be on "the list."
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting





You can download the install tool for 21H1, I'm sure.
Get me coffee and no one gets hurt!





I need to permutate for every combination of 2 colors in a palette.
More specifically I need to compute the size of this.
It would normally be N*N I think where N is the number of colors in the palette
Except I need to subtract instances. For example, when I have pair (A,B) and pair (B,A), I should only accept one.
This is simple enough to find every pair, but I need the count of how many pairs I need based on N.
This should be easy. I can *almost* wrap my head around it and that's  it's something like N*N/2 or maybe N*(N1) I think. But it's weird to check it.
I hate problems like this.
Real programmers use butterflies





honey the codewitch wrote: Except I need to subtract instances. For example, when I have pair (A,B) and pair (B,A), I should only accept one.
You're looking for combinations not permutations. I really like this site for basic math stuff. They do a good job of making things approachable without getting too into the weeds.
TL;DR: You're looking for something like n!/(r!(n  r)!) where n is the number of things to choose from and r is how many you choose, where there are no repetitions and order doesn't matter.





Thanks actually. I just had someone on reddit clear it up for me. I'm crap at math/maths
Real programmers use butterflies





honey the codewitch wrote: I'm crap at math/maths
Given your knowledge of other areas I have no doubt you could be good if you wanted to Basic combinatorics is pretty straightforward compared to other stuff; the equations just look menacing.





Unfortunately, due to the size of the numbers w/ factorials it's not feasible for me to use that solution. I'll have to just allocate memory as I go.
Edit: NVM it can be reduced to eliminate the factorials.
Real programmers use butterflies
modified 17Jun21 2:05am.





It's kind of funny how my mind works. I'm great at some things, like I can think in several levels of abstraction at once, which helps immensely with coding. And simple arithmetic like pointer math I'm good at, as well as sets (usually though I still get tripped up sometimes) and (related) lambda calculus.
However, go to geometry or anything nontrivial in algebra and you lose me. Plus there are gaping holes in my knowledge due to my lack of schooling. I didn't even know trig was based around triangles until my 20s.
Real programmers use butterflies





For me, the trick to making math click was realizing the tools themselves are actually pretty simple. It's just specific examples/problems that make them look complex.
Like an integral in its basic form is just the summation of a bunch of rectangular area calculations. So integral_{a}^{b} (2x * 1dx) just means "from a to b, add up all the rectangles with a height of 2x units and a width of 1 unit." The "dx" is just there to let you know what the independent variable is. What you're integrating "with respect to." Line and surface integrals are just taking this same idea, and using geometry to figure out what the "1" should be since we're not doing the integral with respect to the xaxis anymore.
Not trying to pressure you into learning more math, I just think schools do a generally poor job at really teaching the basics. I mostly just memorized how to solve problems for a long time because that's what schools teach, but it wasn't until the why of the "how" clicked that I actually started enjoying math.





I have to learn the "why"s first or I don't retain anything. My associative memory is great, so if I understand how something works I can remember it, but the rest of my memory is pretty terrible. I wish I could learn the other ways too.
Real programmers use butterflies





I can help you with math/maths.
math/maths = 1/s



