|
I do, I currently use it over 4 personal machines. couple of the children, mine and my mothers.
The terrabyte storage is useful but isn't what convince me to buy the subscription.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I, my wife, and daughters all use my Office 365 subscription. It works out cheaper than buying four Office 2019 subscriptions.
Given Microsoft's recent record, I don't know whether getting the latest updates is a plus or a minus.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Have it through my company. I like Office suite and would prefer to use it.
|
|
|
|
|
If you do, could you help me track down a nasty little bug I can't reproduce?
CPPkg: Create Zips of Your Source Code From Visual Studio[^]
This project is crashing when used inside visual studio on some poor soul's machine, but not on mine, and from all appearances, not on other people's? though I can't be sure on that last score and that's why i need you, gentle reader:
What you need:
A copy of VS2019, and a few minutes to compile and install a small VSIX package, and then use it on one of your projects (it doesn't change anything, it just zips stuff)
What you get:
A cool little utility that will zip your source code (silver prize) - or a crash, and a precious repro (gold prize)
Also my undying gratitude.
Real programmers use butterflies
|
|
|
|
|
You lost me at "VS2019".
I haven't installed any IDEs on this system. I still have VS 2010 Express on an old tablet-thingy which suffices for my needs now. VS 2010 is the pinnacle of VSness and it's been downhill ever since.
|
|
|
|
|
Same here. I still have this shiny plastic retail box with the VS2010 disk and the SN. Friend in Microsoft both it for me with discount.
There is only one Vera Farmiga and Salma Hayek is her prophet!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I compile and installed the extension... then I tried it on a few project....
(cool extension btw)
It failed on my main (own) home project though... displaying that message box
Illegal characters in path.
though there is lot of stuff in my home project.. lots of normal .NET/.NETCore, some Xamarin (Android & iOS) and a broken Installer project type (not the default MS one, mind you, a WiX VSIX extension) so.. I will give it a pass...
|
|
|
|
|
Thanks!
You didn't repro the problem I was talking about anyway as it would have failed right away, and every time.
Normally I'd love to know how it failed, instrument it with logging and all that, but most everyone on here is busier than I am, so I won't pull you away. Thanks again.
Anyway, I bet I have an idea how it failed but I'm not sure exactly where it would have.
I hope you find it useful in any case.
Real programmers use butterflies
|
|
|
|
|
yeah it's cool!
I can see myself using that!
In fact it might the extension I didn't know I needed until I got it!
|
|
|
|
|
Just here to say I love you.
And your bug is probably related to missing curly braces around an if-statement
|
|
|
|
|
I've stopped using if statements in my code. If I can't have them braceless, I don't even want them.
Real programmers use butterflies
|
|
|
|
|
Almost 40 years ago, one of the original designers of the product that I was working on said that code shouldn't use if statements, because it meant you didn't know what you were doing. It sounds tongue-in-cheek, but there's also truth in it.
EDIT: The syntax in that language was
IF...THEN...ELSE...ENDIF; so maybe you'd like it: no braces!
|
|
|
|
|
I mean, minimize branching. I believe code should be as simple as it can be, and no simpler.
The "no simpler" part seems to suggest that branching is necessary sometimes.
I hate end if more than braces.
The only thing I like about python's syntax is you get none of this nonsense:
}
}
}
}
But the cure (significant whitespace) is worse than the disease.
Real programmers use butterflies
|
|
|
|
|
Eventually I thought of it in the same way as what I call "switch Considered Harmful". You sometimes see switch when the code is crying out for a virtual function and polymorphism. Other times, the switch is a just a simple if , but it's still gross. I'll do it when adding the virtual function would be really messy, but even then it makes me hold my nose.
|
|
|
|
|
Greg Utas wrote: You sometimes see switch when the code is crying out for a virtual function and polymorphism.
WindowProc s. Top-level WindowProc s! Old school cool!
|
|
|
|
|
I didn't know what a WindowProc was, so I had to investigate. It looks like common practice might have been to switch on a message type.
For many years I worked in a procedural language where the better frameworks centered around creating a struct of function pointers that was subsequently registered against a type. This supported hand-rolled polymorphism:
TypeStructs[type].function(args); Not bad for things designed circa 1980.
|
|
|
|
|
Greg Utas wrote: I didn't know what a WindowProc was, so I had to investigate. It looks like common practice might have been to switch on a message type. Very much so. Like many other people I created a Windows wrapper, and one of the challenges was handling the callback messages. Here's an old (now almost outdated) article if you are interested. Search for winProc , case sensitive. (This article is much better, but doesn't go into as much technical depth.)
Greg Utas wrote: Not bad for things designed circa 1980. Cool!
|
|
|
|
|
Interesting work, putting C++ wrappers around a dog's breakfast.
And anyone who has a similar opinion of Hungarian notation must be doing something right!
The last time I wrote GUI software was for the Amiga. But if I ever need to do it for Windows, I'll have to look at your articles in more detail.
|
|
|
|
|
|
I'm all for it, but in practice if-less coding is very hard, if at all possible.
It's probably possible, but often not more readable.
The reason should be obvious.
If a function has one if-statement, your amount of tests double.
Two if-statements and they quadruple!
That also means that every time you change the code you need to check two or four (or eight!) code paths.
The problem is, those if-statements will not be in a single function, but across your entire application, and you need to take it into consideration every time.
My favorite, if (entity.type == 'x') { ... } else { ... }, and every time you need to work with entity you need to check for the type (and know you have to)!
I think that's what makes programming as hard as it is and is the source of many bugs as well.
|
|
|
|
|
Yes, I mentioned the
if(entity.type == ...) problem in my second post above. More than once, I had to hunt down all the logic based on a type (usually represented by an enum ) when a new type was added to the system.
But what's this testing thing of which you speak?! I didn't follow that at all.
|
|
|
|
|
Greg Utas wrote: usually represented by an enum That's luxury!
I'm currently hunting down some type which starts out as a single letter in the product entity, but later, in an order and some results, is translated to two or four letters.
It's always a string, so I'm looking for "S" or "SA" or "SAWR", which can all mean "S", the only reason why they're different is because the original programmer is inconsistent as heck.
I have to be careful though, because sometimes "S" means "South"
And "S" is just one of the six types and not all types show up in the same place
Greg Utas wrote: But what's this testing thing of which you speak?! I didn't follow that at all. It's when you release your software and users are going to use it.
If your software has lots of bugs simply call it alpha or beta or rebrand the patched version as v2.
|
|
|
|
|
Quote: Common sense is so rare these days, it should be classified as a super power
I want that shirt!
Thinking about it, I've just found a new sig ... @Chris-Maunder ... any chance of showing sigs in QA? :InnocentWhistleSmiley:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yeah, nah.
Sorry mate.
cheers
Chris Maunder
|
|
|
|
|
Dang!
Pretty please with sugar on?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|