|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
I'm building the drawing portions of my graphics library finally - the bit that lets you draw things like filled rectangles, ellipses and lines.
The library supports *any* pixel format as long as the pixel is less than or equal to 64 bits. You define what it looks like yourself.
But.
I have yet to build a "driver" portion that allows it to interface with some real display hardware.
So I've been using the library to draw lines and circles and stuff all over bitmaps, and then I'm rendering those bitmaps to "4 bit grayscale" ASCII art and rendering that to the console.
I didn't think making ascii bitmaps would be this much fun though. It's silly how much I'm enjoying "drawing" on the console screen.
This is one of those rare moments when testing made itself fun for me. I need more of these.
Real programmers use butterflies
|
|
|
|
|
victim, brainwashed by starvation and 24/7 exposure to a playlist of Sander Rossel's favorite tunes: She did what she had to do to survive [^]; justice, in this case, is finding Her not guilty by reason of insanity.
We pray your Worships will recommend sending this Cat to a facility that will provide respite and therapy for restoring her divine Cat-nature to its usual radiant and playful state.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Quote: The feline felon was stopped outside the Nueva Esperanza jail
What an incongruous name for a jail.
|
|
|
|
|
Well the inmate can hope they will get out ...
"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!
|
|
|
|
|
You have too much time on your hands -
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Panama?
Leaves and vegetable matter. Guessing.. Psychotria viridis and a monoamine oxidase inhibitor.
Just guessing
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
... up to a lap dancing club in New York's web site - I sure you were only thinking of my mental health in the lockdown - but it is a little disconcerting to get emails with the subject line "Die Happy Tonight!".
I'm sure the free membership they keep offering will come in really handy should I decide to fly 3,500 miles to just look at pretty ladies who clearly need a larger clothing allowance.
"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!
|
|
|
|
|
OriginalGriff wrote: hould I decide to fly 3,500 miles to just look at pretty ladies who clearly need a larger clothing allowance.
They'd probably deny you a visa, claiming that you were entering the United States for immoral purposes...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
There is nothing moral about this country. We accept all kinds, clearly. 
|
|
|
|
|
Why didn't I think of doing that?
OriginalGriff wrote: to just look at pretty ladies who clearly need a larger clothing allowance. I swear, the smaller the thing is and the less fabric it uses, the more expensive it seems to be.
Had a similar argument over my new glasses; tiny piece of plastic to hold lenses, is bloody expensive due to "design". Asked him if they had any without "design". They didn't.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
You're welcome. I did the hard work, you just need to book your plane tickets.
|
|
|
|
|
So I have an a$$ton of work going on. Multiple VMs zooming along, editors all over, yada yada.
Converted a project from ancient VS to VS2019. I was prompted to update VS2019. Now I have this Installer prompt that says:
"Success! One more step to go. Please restart your computer..."
Why? Seriously, why do I need to reboot? It's just a holdover from the "reboot Windows" it might fix it history. Or is VS really doing things to the OS that requires me to reboot? I'm not being sarcastic here. Help me understand.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I don't know for sure but I suspect that it is genuinely very likely indeed that it has updated an OS component that (ideally) needs a restart.
The problem, to my mind, is that so many OS updates still need a restart. I seem to remember that this was supposed to have been solved back in the Vista or was it 7 timeframe. And yet, no, OS restarts after updates seem to me to be as common as ever.
Windows now has epic amounts of virtualisation built in, so can't this technology be used to help avoid the need for restarts due to OS component upgrades? Apparently not, so far.
Instead of new icons (sarcasm aside), architectural updates to avoid the need for restarts at seemingly every Windows Update session would be a major step on the right direction.
|
|
|
|
|
When I start an OS update, I think it's reasonable that I might have to reboot. It's the OS.
Visual Studio is an application. It has no business needing to reboot. Or maybe MS developers suck (sarcasm). Still wondering why.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: Visual Studio is an application. It has no business needing to reboot.
It does if you're using C++ or other shared components or runtimes that are in use by other applications. Those files cannot be replaced until they are released by the other applications using them. At the time of installation, the files are locked, so during the run of the installer, they are queued up to be replaced on the next O/S start since that's the only time the O/S can guarantee they will not be in use by other applications.
|
|
|
|
|
You saved me the time of typing that exact same response, so thank you.
Real programmers use butterflies
|
|
|
|
|
charlieg wrote: Visual Studio is an application. It has no business needing to reboot.
I agree. But it's a matter of "should" versus "does".
Things need to change.
|
|
|
|
|
Yeah, yeah. I get it. Wondering why Windows needs to reboot if I fart in it's general direction is an exercise in futility.
I get the technical comments. I just think back to that time when Bill was demonstrating USB device discovery and his machine blue screened...
It shows that if you put enough lipstick on a pig, you still have bacon eventually.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
FTFY: charlieg wrote: if you put enough lipstick on a pig, you still have [^] bacon eventually.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Windows locks executables (including DLLs) while they are in use. Because of this, in order to update shared components, the locks must be freed. While it's possible, there's no "clean" way to even determine who holds a lock that I know of (unless it was added to a more recent windows in which case I am wrong) so the safest thing to do is reboot.
VS uses a lot of shared components.
A lot of windows applications do, and generally, the larger/more complicated the application, the bigger your odds of having to reboot on update, because they typically use a lot of shared components increasing the odds that one of them is locked and the app needs to update it.
This also applies to the various OS features and shell widgets and doodads, not just applications.
I hope that clears it up.
Real programmers use butterflies
|
|
|
|
|
Didn't you just thank dave for saving you to type the same answer?
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.
|
|
|
|
|
Indeed!
Real programmers use butterflies
|
|
|
|
|
Could have included an update to a .Net framework that requires a restart?
|
|
|
|
|
It could simply be a flag in the installer set by the author for no better reason than 'just to be safe' or 'because I can'.
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|