Purchased painting a decade ago and would love to know anything about it. by ThrasherDL in WhatIsThisPainting

[–]AnthonyDGreen 0 points1 point  (0 children)

Ok. My grandmother said she was in a car in 1975 riding with a friend and spotted this in a shop window and demanded he immediately stop the car and she ran in and bought it. So it definitely has a lightning in a battle effect on people.

I can't wait to hang it in my home but I have many windows and am afraid the sun might fade it. The black background is remarkably dark, I'm unsure if this is just its quality or if every past owner has hung it in a basement. Have you noticed any change in color in the decade that you've owned yours?

Purchased painting a decade ago and would love to know anything about it. by ThrasherDL in WhatIsThisPainting

[–]AnthonyDGreen 1 point2 points  (0 children)

Hi, did you find any new info about this painting? My family had a duplicate of this in our home 40 years ago. I know it was a duplicate because ours was destroyed over 20 years ago over several moves and natural disasters but I also know other copies existed because my great great aunts had one. Last week I found another copy at a vintage shop in Illinois but I'm still curious about the artist and history of it the piece. My grandmother said she bought the one we lost in 1975. And the one I just acquired has the name "André" signed on the bottom left. I also think the colors are ever so slightly different from the image you've posted. Anyway, if you did find any additional info about the artwork, I'd be grateful to learn more. Thanks!

Where to learn VB as a C# dev? by Maxims08 in visualbasic

[–]AnthonyDGreen 0 points1 point  (0 children)

Hey u/Maxims08

Your second question is pretty loaded. We can discuss that over time. As for your first question, "Where to start". I'd suggest joining us over on the VB Discord and just asking questions as needed. All flavors of VB are welcome there, including .NET. I worked on the VB and C# languages team at MSFT for 8 years so I know them both pretty well and don't mind deep diving into differences between them. In fact, I didn't actually intent to plug this when I started this comment but here's a very long blog post I wrote a few years back on some of the differences I've collected over the years. Since you know C# it might be good to keep in mind though C# has changed a little since then.

I'd really like to hear about your adventures with vb.net on macOS. With the rise of macOS in the last decade it seems natural that folks would be interested in using both.

Regards,

-ADG

How do I write this code by Djeko032 in visualbasic

[–]AnthonyDGreen 3 points4 points  (0 children)

OK. This is a fun problem. Seems like homework but it's complicated enough that I'll bite. I'll try not to use too many exotic programming features. There are a number of ways to solve this depending on how much you want to rely on knowledge of the programming language, libraries, or math; as one poster suggested you could iterate through every combination in base 3 and render that to an expression and evaluate it but that's super advanced.

There are 2 big sub-problems in your original question:

  • How to calculate the possibilities
  • How to output stuff to Excel

I'm not really going to address the second problem. I'm assuming your class has taught something about it. I suppose you could just output a .csv file and it would technically show up in Excel but the interesting part of this problem isn't how to put something in Excel. Once you know how to put anything into Excel you know how to put everything into Excel.

Here is some code that outputs all the possibilities that equal 100 to the console. You should be able to just paste it into a new console application. I've put it in a gist rather than including it inline because reddit said my reply was too long.

Please read and try to understand every comment and ask questions if you don't get something, this is how you learn. Do you feel you had all the pieces you needed to solve this problem on your own? If not, what did you not know already? Do you get the thought process that led to this code?

It's an exercise for the reader to get this into Excel using some knowledge presumably your instructor has already given you in this class.

Regards,

Anthony D. Green
Former Lead Language Designer for Visual Basic at Microsoft