|
I added a "Find" method to a C# class to locate the right instance when the GUID was retrieved from the DB (to be used in the constructor of a different class with a foreign key relationship). I got this far:
internal static CharacterClass Find(Guid guid)
{
return All.Fi
}
And it filled in the rest:
internal static CharacterClass Find(Guid guid)
{
return All.FirstOrDefault(cc => cc.ID == guid);
}
That's what I was going to type. Exactly what I was going to type ...
"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!
|
|
|
|
|
Agreed! I love the new completion capabilities.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
How can that be? You should be getting the same intelli sense experience every VS sesion unless youβre putting side by side different VS versions.
|
|
|
|
|
Because I write different code each time?
And when I do, it works out what I am trying to do, and suggests it. Sometimes, it's damn clever!
"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 get it. A few days of coding is not enough to get a sense of what intelli sense can and canβt do.
|
|
|
|
|
Perhaps it is tracking user code writing patterns?
|
|
|
|
|
In the same project? Maybe. Once the base of the pyramid is set, the higher you get the easier it gets to guess what the top should look like.
|
|
|
|
|
Possibly VS is maintaining a history of your code completion, so on starting down a code line you have previously completed with the aid of cc, it infers from that history that you probably want to write something similar?
Sort of like a word-wheel, where as you type possible matches to your part-typed word are displayed.
|
|
|
|
|
Is this VS 2023 Griff ?
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
|
|
|
|
|
Nope, VS 2022 (V17.64)
"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!
|
|
|
|
|
Has anyone else noticed how "toxic" has become the new drop-in word for when you can't be bothered to think of the right word to use? I'm sure many people have lost sight of what "toxic" actually means. Everything of even a slightly unpleasant nature is seemingly "toxic". We have "toxic relationships", "toxic friendships" (?), "toxic discussions", "toxic behaviour" and so on.
I recently heard a substance described as a "toxic poison". Words fail me (as they presumably failed the speaker!)
|
|
|
|
|
"Waterboarding at Guantanamo Bay sounds like an awesome time if you don't know what either of those things are."
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
|
|
|
|
|
Poached eggs sound good unless you're an ornithologist.
|
|
|
|
|
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #539 4/6 (100%)
π©π©π¨β¬β¬β‘οΈ
π©π©π©π©β¬β¬οΈ
π©π©π©π¨β¬β¬οΈ
π©π©π©π©π©π
https://worldle.teuteuf.fr
hard one had to use map
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I don't know where to put this so forgive me.
I've produced something that's not really ever going to be an article, but is just a quick starting point for 13 or so different IoT devkits - mostly, but not all ESP32 based.
So like, this is more just a tip for you tinkerers out there.
Anyway, it includes inputs, display, and power management. The display uses my htcw_uix user interface library and my htcw_gfx graphics library. The inputs use various libraries of mine, like touch screens and buttons.
It's basically meant to quickly spin off a new project that you can then easily develop into a rich application, supporting one or more devices of your choosing.
GitHub - codewitch-honey-crisis/empty_project[^]
My EspMon Reboot code actually uses an earlier orchestration of this, minus the input support, which took me all day.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
|
|
|
|
|
Wordle 756 3/6
β¬β¬π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 756 3/6
β¬β¬β¬π¨β¬
β¬β¬π©π¨π©
π©π©π©π©π©
|
|
|
|
|
Wordle 756 4/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 756 4/6
π¨β¬β¬π©β¬
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
SO CLOSE!
|
|
|
|
|
Wordle 756 3/6
β¬β¬π©π¨π©
β¬π©π©π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 756 5/6
β¬π¨β¬β¬π©
β¬π©π©β¬π©
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I thought I would share an actual Windows Update success story for a change of pace.
In Sept 2018, I built a new machine with a second generation Threadripper CPU. And all of the best parts I could afford.
I was very proud of my creation, but extremely disappointed when I discovered that hibernation didn't work because the machine would always hang when trying to resume. I then updated the BIOS to the latest, but still it would hang. I made sure all the drivers were up to date, but still it would hang.
Finally, a few months ago I hibernated the machine by accident (out of habit,) and when it tried to resume, it was successful!
I credit Windows update with fixing whatever was wrong. If you think there might be a different explanation, please post. The only driver that I manually update on a regular basis is the video driver. It might have been the culprit all along, but I have no way to tell.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Ye gods man, don't question the magic...
Software Zen: delete this;
|
|
|
|