|
Wordle 985 3/6
π¨π©β¬β¬π¨
β¬π©β¬π©β¬
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
How many people actually continue working when Visual Studio says, "You can continue working while the designer is loading in the background?"
I know I don't. I'm in the zone, coding marvelous features, and then suddenly it comes to a screeching halt. I can't continue working because the designer is not loaded yet. Geez.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I doubt I've ever seen that, but I would wait.
|
|
|
|
|
Have you ever designed a Winforms form? Do you use a recent version of Visual Studio?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Have you ever designed a Winforms form?
Yes, several times, not often, and not particularly complex -- though at least one with custom controls.
Richard Andrew x64 wrote: Do you use a recent version of Visual Studio?
Define "recent". VS 2015 for sure.
|
|
|
|
|
OK
Yes I think VS 2015 was before they instituted the out of process designer.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I think it was 2017 which introduced async extensions which presumably meant a lot of other internal stuff was also made async so every so often it "hangs" while doing it's own thing then suddenly comes back to life as if to say "Oh! You actually wanted to do some editing?"
FYI, if it says, or if I notice, I usually wait for it to wake up before continuing.
|
|
|
|
|
Yeah, I'd wait for it.
Ideally, you should be able to turn that feature off and have it just take its time as usual.
I'm trying to think if the SSIS/BIDS designer was similar to that. I often had to wait for it, but I get paid the same.
|
|
|
|
|
|
Thanks for the article. I did happen to read that article when trying to research a problem that I'm having with the out-of-process designer!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Well, so far i just accepted that in 90% of cases the designer will die.
So i code a bit more, wait for the confirmation it died and the restart visual studio or rebuild in hope to fix the designer.
Rules for the FOSW ![ ^]
MessageBox.Show(!string.IsNullOrWhiteSpace(_signature)
? $"This is my signature:{Environment.NewLine}{_signature}": "404-Signature not found");
|
|
|
|
|
The message actually means that you have time to go outside and sweep the back yard.
|
|
|
|
|
Richard Andrew x64 wrote: "You can continue working while the designer is loading in the background?"
Knowing MS, I always read that as "you can, but probably shouldn't".
Pet peeve: When VS crashes, and the next time you restart, it prompts you whether you want to reload a given set of files from Folder A, or its backup from Folder B. And you have no idea how they differ.
If there's a screen that needs a Diffs view, it's that one.
|
|
|
|
|
I've never used the WPF Designer, and I've been developing for WPF since Visual Studio 2008. They're slow, buggy, and add arbitrary Margin and Padding values to everything.
In my experience, the only way to get a nicely flowing UI is to use hand-crafted XAML.
Software Zen: delete this;
|
|
|
|
|
I second this. Compare a before and after of the XAML if you use the designer to change anything. The change usually generates a crap-ton of XAML - or did several years ago, the last time I tried to use it. I do everything in XAML manually within the actual XAML.
Mike
|
|
|
|
|
I always wait.
I think it started to show up when they introduced out-of-process designer in VS for WinForms.
|
|
|
|
|
Which designer? Windows Forms or XAML?
I have not had a problem continuing my work on the rare occasions I get a message like that in WinForms. I don't use the XAML designer, since it does support Xamarin, MAUI, WinUI, etc.
|
|
|
|
|
vs2022 is irritating the heck out of me. Why is VSCode so liked - simplicity. VS2022 has so many dang options, features, etc it's ridiculous. The default installation should have 10% of what they are showing.
Under file: 19 options
Edit: 23
View: 33
etc.
Even help is out of control. I watched a few tutorials on Resharper and said no way...
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
A neopixel is an RGB LED with a 1 wire daisy chainable interface. You can string many together into panels or single strands, or whatever.
Some of them however, have a strange color model. They have R, G, B, and W(hite) channels.
That caused me some grief because representing colors on these is a bit tricky.
Well, I finally, after looking at some python code someone dreamed up by hand fiddling came up with an RGBW "color model" in my graphics library.
The upshot is I can now for example, pretty faithfully represent a JPG or a GIF (the latter would be fun!) given a large enough panel.
Kinda proud of this. It's an elegant solution.
#include <gfx.hpp>
using namespace gfx;
...
auto bmp = create_bitmap<rgbw_pixel<32>>({64,64});
if(bmp.begin()) {
file_stream fs("./test.jpg");
draw::image(bmp,bmp.bounds(),&fs);
fs.close();
free(bmp.begin());
}
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Nice! We use a good number of the RGB type, and they are straight forward to use.
"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
|
|
|
|
|
Trying to get them to color match is tricky, even with straight RGB because the behavior is far different than an LCD screen.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
On that I agree, I normally do several passes before I get the color how I want.
"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
|
|
|
|
|
Fun indeed - we recently used some high density pixel addressable tape in our amateur theatre production of treasure island, where the parrot was named, not Captain Flint, but Alexa, and had a pulsating necklace which mimicked the effects of the earlier Alexa units when you spoke to the "parrot".
Alexa (there were two of them, depending on which side of the stage it was to come from) was a children's stuffed parrot toy, wearing a loop of pixel tape, connected to an Arduino nano IOT which was receiving artnet over WIFI from the lighting desk, all powered by a small USB power bank and the electronics stuffed inside the toy. This meant the toy could be carried around with no trailing cables, and the lighting desk could sent it commands to run patterns and effects on its "necklace".
The patterns were programmed into the Arduino rather than sending them directly from the desk so saving on channels in the desk. The necklace had enough pixels tightly packed that the two parrots together would have used up almost half a universe of addresses, whereas the technique used only required two addresses per parrot - intensity and pattern number.
|
|
|
|
|
|
This is my latest
Neopixel panel + htcw_gfx - YouTube[^]
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|