|
Where there's a will, there's a way.
Wire cutters are easy to get ahold of.
|
|
|
|
|
Certainly. But so is a targeted robbery.
|
|
|
|
|
Beware the Fast Startup as it stores the status of the OS drivers (incl. decryption keys) (but not the userland).
It hit VeraCrypt, too.
It may hit the task scheduler, too.
|
|
|
|
|
|
I love solving problems using template metaprogramming. It's probably a bad thing, because I tend to gravitate toward it unless I stop myself.
In this case, I have a good reason for it. I need to do color model conversions at compile time.
A pixel has channels, like Red Green and Blue, or Hue Saturation Value, or Y U V, etc
It may also have a metachannel of sorts called an alpha channel.
It might even have no-op channels that do nothing but take up space (for in memory padding)
The presence of no-op channels and alpha channel makes things sort of complicated when determining the color model.
I have
rgb_pixel<16>::has_channel_names<channel_name::R, channel_name::G, channel_name::B>::value
For example (which resolves to true in the above case) for determining the color model - RGB as above in this case.
In order to be more robust, I need to have a different version of that template like, has_color_model or something.
But also, it's a tricky problem to solve with templates. That's what I like.
Sane people play sudoku.
Solved it. Not so bad, because I have other helpers.
template <typename PixelType,typename... ChannelNames> class is_color_model_inner_impl;
template<typename PixelType,typename ChannelName,typename... ChannelNames>
class is_color_model_inner_impl<PixelType,ChannelName,ChannelNames...> {
using chidx = typename PixelType::template channel_index_by_name<ChannelName>;
public:
constexpr static const bool value = (-1!= chidx::value) &&
PixelType::template channel_by_index_unchecked<chidx::value>::color_channel &&
is_color_model_inner_impl<PixelType,ChannelNames...>::value;
};
template<typename PixelType>
class is_color_model_inner_impl<PixelType> {
public:
constexpr static const bool value = true;
};
template <typename PixelType,typename... ChannelNames> class is_color_model_impl {
public:
constexpr static const bool value = sizeof...(ChannelNames)==PixelType::color_channels && is_color_model_inner_impl<PixelType,ChannelNames...>::value;
};
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 21-Jun-24 13:26pm.
|
|
|
|
|
honey the codewitch wrote: rgb_pixel<16>::has_channel_names<channel_name::R, channel_name::G, channel_name::B>::value Maybe has_channel_channels ? (But kinda serious.)
|
|
|
|
|
I ended up going with is_color_model<> which makes perfect sense in my library's vernacular where a color model is a composition of color channels with particular names.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
When they rewrote Windows explorer for Win 11, they clearly gave the job to the office junior, who had no idea what the previous version (matured for decades in the warm heat of actual usage) was capable of. And they didn't bother to find out because adding tabs was clearly a much more interesting use of their time.
And today I notice they have put something back: you can now drop files onto parts of the address bar to copy / move files to the parent folder (for example) or onto the folder list on the left!
Taken 'em long enough to put back a useful function, but I'm happy they finally did.
"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!
|
|
|
|
|
Oh I've missed that particular feature greatly!
I've just got to wait for our instance to catch up ... :tapping fingers:, :tapping foot:
|
|
|
|
|
So have I - the tabs are still useless because you can't drop onto tabs, but ... maybe in a decade they'll think of that.
"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!
|
|
|
|
|
Quote: maybe in a decade they'll think of that. they'll probably reincarnate VB6 before they think of that
|
|
|
|
|
Still on Win10 here... are you telling me that in Win11 you couldn't (until now) drag/drop directly onto the folder (treeview) panel? That's absolutely crazy! I even have links to FTP sites so that I can just drag-drop up to FTP (without having to open the FTP folder and get the file list, which takes foreeeeever).
That said, I currently (starting a week or so ago) have an issue where if I right-click anything in explorer (to access anything on the context menu) it takes a good 30 seconds to open... I'm assuming a 3rd party tool (e.g. SodaPDF, Notepad++, PowerISO or something) is broken... nothing updated for a while. Except.. yes a Windows update, 13th June. doh...
|
|
|
|
|
I had that as well - lasted about a week, but suddenly went away. I thought it was doing a "proper reboot" of my system that cured it, but probably not.
"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 had an issue like that for a long while⦠then I found that one of the short cuts I rarely used referenced my previous system which was off network!
Updated the shortcut to fix it.
|
|
|
|
|
|
Kent beat you to it: The Insider News[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Strange. I could've sworn Kaspersky got banned at least half a decade ago.
Or maybe that was "the US government", as opposed to "the US" in general...?
I'm tempted to suggest that while they're at it, they should ban the sale of all antivirus software (since, according to most industry pundits, the one built into Windows is now, and has been, "good enough" for a long time...but then I suppose MS would become complacent.
|
|
|
|
|
Wordle 1,098 4/6
β¬β¬π¨π¨β¬
π¨β¬π¨β¬β¬
β¬π©π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,098 5/6
β¬β¬π¨π¨β¬
π¨π©β¬β¬β¬
β¬π©π¨β¬β¬
β¬π©β¬β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,098 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!
|
|
|
|
|
β¬β¬π¨π©β¬
π©π©π©π©β¬
π©π©π©π©π©
nearly a twoer
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,098 5/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,098 4/6
π¨β¬β¬π©β¬
β¬β¬π¨π©β¬
β¬π¨π©π©π¨
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,098 2/6*
🟨🟨β¬🟩β¬
🟩🟩🟩🟩🟩
|
|
|
|
|
English is not my mother tongue but "favorited" sounds like a complete abomination. However Microsoft seems to think otherwise. This is a screen capture from Windows Explorer. How would you vote: to favorite or not to favorite?
PS A phrase like "After you marked some files as favourites, we'll show them here", wouldn't have been much longer and for sure would have been more grammatically sound.
Mircea
modified 20-Jun-24 21:22pm.
|
|
|
|