Show more

Okay so that was freaky.. I submitted a bug report to an open source project last night, and then this morning I did a search to see if anyone else had seen this bug and had a workaround...

And search results came back with just one real relevant hit..

My bug report from yesterday evening

My favorite add in for Visual Studio 2022 is Farticus :

Plays a random Fart sound on a build failure, so even a failure invariably makes me smile and laugh!

marketplace.visualstudio.com/i

/nosanitize

Really Microsoft, you have three different types of "Color" classes and usages, with 75% overlap between them?

`Windows.UI.Color`

`Microsoft.UI.Xaml.Media.Color`

`System.Windows.Media.Color`

I can only imagine how shitty most Source Control systems had to be for Linux / Apple developers prior to Torvolds releasing Git..

That's the only reason I can come up as to why so many people like / use Git.

I came from 20+ years using Team Foundation Server Source Control and GIT just sucks next to TFS.

So I've tried my best to locate the original Design Language documentation that Microsoft released as a PDF in 2010 when Win Phone 7 was announced. It was an in depth and complete spec for designing for METRO and METRO-Style, even going so far as to layout the pixel widths for the various standard layouts.

But MS has done a good job of avoiding being sued by Metro AG and expunged all copies when the renamed it.

Can anyone find the original PDF for me?

So C#, like Java, doesn't support multiple class inheritance.

But people kept asking for it, so the C# language designers decided to add the ability for an Interface to implement code behind a method, so that C# could support a type of Multiple Inheritance without having to rewrite some really big core code,

BUT...

I can't decide if allowing a Interface to implement a method, just so they could also support multiple Inheritance is

- lawful-evil
or
- unlawful-chaotic

Question on IoC programm pattern.

By convention and tradition in IoC it is normal to define an interface, then implement a class for that interface, then define in the IoC provider that calls for the interface should get an instantiation of the class, this is usually done for ROI and reuse and different injection scenarios, but in my experience 85% of the time there is only ONE class in the project that implements the interface.

That is over-engineering

What am I missing?

"what was the first computer program you ever wrote? in what language?"

I wrote a numerical "magic" trick in 73 and I wrote it in IBM-BASIC and it was stored on punch tape.

"write down a three digit number"
"reverse the order of the numbers"
"subtract the smaller value from the bigger value"
"Tell me the last digit the answer and I'll tell you what the full answer is."

cc @anatman

Phishing attempts are getting so good these days, that I've stopped using any email that has a built-in link, even if I'm 99.99% sure that it's a valid email, I still go in and manually put in the website that the mail was reported from and follow up directly.

Don't use e-mail short cut links people!

My favorite new ChatGPT function in Visual Code.

When using the Git Tools in Visual Code, have ChatGPT look thru my staged changes and compose my commit comment for the Git checkin.

Saves me so much time!

So it turns out that

```if(processingArray.Length == 0)```

will return ```false``` if there are any items in that array.

That's probably why my code wasn't processing the items in my array after that if...

I just spent a week trying to hunt down a bug that I was sure was a horse (I screwed something up in my code).

Turns out it was the bug was a Zebra (Library update from Big Company has a bug)

So when you are wondering

"Do I REALLY need to do this much documentation on configuring <insert tech details>, especially with this much detail?"

I was just able to tell myself of 7 months ago... "Thank you from the bottom of my heart for this extensive and complete documentation, You totally rock Past Me!"

I'm just not hard core enough of a computer professional to become a proficient IT person circa 1985 and administer a server using nothing but command line, so double check you pick the version of server that has the UX in it.

There is a reason why in the 90s IT folks moved to Server systems that have a UI to administer it.

I'll leave that CLI stuff to the IT professional hipsters who sneer at UX stuff [fools]

Putting in a timer delay to C# multi-threaded code to handle a component timing issue, is the modern way of Visual Basic's hack "Throw in a few more DoEvents() methods..." from the 80s and 90s

I hate doing documentation, just like every other programmer, cause I'm lazy.

But I always do documentation, mostly because the process of doing so, helps me to think thru the issues, both historically and for the future.

A lazy programmer that doesn't do documentation is a BAD PROGRAMMER regardless of how good their code is.

I will die on this hill!

So I had mentioned last week I was working on a re-do of one of our Company's Web Status Boards to a LCARS interface (ST:TNG era LCARS)

I present the finished product, other than the swoop bars, what you see is actually meaningful data

When you are a programmer and you don't really want to do any work on a holiday week when most everyone else in the company took the week off, but you _need_ to do something.

You reformat the company's systems web based status board to use the LCARS interface from www.thelcars.com

I use ComicSans font in all my POC apps.

it makes sure that the managers will never ask me to release my POC as an actual app, which used to happen when I didn't use ComicSans and made the form colors all early 80s website Christmas tree shades.

I'm evil sometimes!

So today at work I was just informed that I will be doing some Windows C++ programming on our most important IP related component.

This wouldn't worry me so much if only I hadn't last worked on C++ 4 years before our youngest new hire programmer (who's 21) was even born.

C++ still uses MFC (with OLE) right?

I wonder if I have my old Borland C++ studio license around here somewhere

Show more

Matthew πŸ³οΈβ€πŸŒˆ

CounterSocial is the first Social Network Platform to take a zero-tolerance stance to hostile nations, bot accounts and trolls who are weaponizing OUR social media platforms and freedoms to engage in influence operations against us. And we're here to counter it.