|
Haven't really settled on a version; still trying to settle on a "Point".
There's the Foundation Point: double. Drawing Point: int. Drawing PointF (float). The GeometryPoint. The GeographyPoint. Vector2. Vector3...
I'm leaning towards Vector2.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
And then, just in case things weren't confusing enough:
Using C# 9 outside .NET 5 · Discussion #47701 · dotnet/roslyn · GitHub[^]
Some C# 9/10 features work fine in .NET Framework (4.7.2 / 4.8) projects. Some features can be enabled by adding specific class definitions to your project. And some just won't work at all.
But Visual Studio won't let you select C# 9 / 10 as the language version in a .NET Framework project. You have to manually edit the project file to specify the <LangVersion> .
Which is relatively easy to do in a new "SDK-style" project - just double click the project file, and it opens within Visual Studio so you can edit it. But not so easy in the old project format, where you have to "unload project" before Visual Studio lets you edit the project file.
And although there's a command-line tool to update your projects to the new format[^], not all projects are supported. For example, ASP.NET MVC 5 / WebAPI 2 / WebForms projects can't be updated.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
with C# language improvements in last few years, it also tripped me up that new feature added, but was not clear which .net I needed
|
|
|
|
|
Yeah, it gets really confusing when you just want to get some new feature like string interpolation or null conditionals.
That's one very nice feature of the book, C# 10 In A Nutsshell. It lists the exact features which were added to each version of C# by version right at the beginning of the book:
What’s New in C# 10.0?
What’s New in C# 9.0?
What’s New in C# 8.0?
What’s New in C# 6.0?
What’s New in C# 5.0?
...
Going all the way back to 2.0.
it's a very nice listing that summarizes all the additions in each release.
|
|
|
|
|
It is not that hard to understand.
.NET started out as .NET Framework. It has had versions 1.0 -> 4.8
During the time when .NET 4.x was the current version, MS wanted to start building a .NET that was portable across different OSs, not just Windows. Given the vast number of APIs in the .NET Framework, it was not practical to convert all of it over to .NET to run on multiple OSs in one release. So MS created .NET Core to have the core APIs necessary for most programs. Thus, .NET Core 1.0 -> 3.1 over time, to get more and more APIs there.
But what about making library DLLs work on both Framework and Core? That is where .NET Standard comes in. Not a framework, but the common specification of what exists in .NET Framework and .NET Core. If you built your DLL to .NET Standard, then it could be used by a matching Framework or Core.
Finally, MS got close enough that the next .NET Core would have almost everything .NET Framework 4.x had. They put it into .NET 5. .NET Framework is end-of-lifed at 4.8.x. .NET Core is end-of-lifed at 3.1. .NET, which diverged with .NET Framework and .NET Core, has merged back to one .NET (5, and now 6) to support multiple OSs and CPUs. No need for .NET Standard with .NET 5 and beyond.
.NET Framework>>>>>+>>>>>>>>>>>>>>>>>>>>>>>.NET
| | | |
| +>>.NET Standard>>+ |
| | | |
.NET Core>>>>>>>>>>>>>+
|
|
|
|
|
Wow! Best explanation ever. Thanks for sharing
|
|
|
|
|
Amazon has notified me now, twice, that I have two missing packages that I will most likely not see again. That is literally what the message says. Then it goes on to say that I can ask for a refund even if the package shows up later.
I have called my local USPS (United States Postal Service) and they have no clue where they are at. The manager said there are only 2 full time employees now at the post office (there used to be 20 he said). They have had to call in postal workers from out of state to help out on certain days.
Man next to me at the post office had not received his mail in 7 days; he was there to file a complaint.
The manager at the USPS office advised me not to order anything of importance for a couple months, if I can - maybe even longer.
one of my packages was a rare(ish) book worth $104 US. The other was a book for $49 US. Both shipped from Amazon warehouses in the eastern US.
Thank you COVID and all your wonderful blessings.
I know, 1st world problems, but still, very frustrating.
|
|
|
|
|
Slacker007 wrote: The manager at the USPS office advised me not to order anything of importance for a couple months, if I can - maybe even longer. That's absurd. Even if there are shipping delays or screwups, that's not a reasonable thing for him to say. What he's really saying is that don't rely on his postal branch to deliver reliably during that time period.
My suggestion would be to rent a post box from a private company. I know UPS has them, and a number of other private shippers make them available. You don't even have to use their shipping to receive mail at those locations.
Software Zen: delete this;
|
|
|
|
|
You're not alone:
Quote: Saturday, January 29
10:12 AM Package is out for delivery. Bullhead City, AZ
10:01 AM Package arrived at a carrier facility. Bullhead City, AZ US
Thursday, January 27
3:07 PM Package arrived at a carrier facility. Las Vegas Nv Distribution Cente,
Wednesday, January 26
11:58 PM Package left the carrier facility. Los Angeles Ca Network Distribu,
2:16 PM Package arrived at a carrier facility. Los Angeles Ca Network Distribu,
Tuesday, January 25
7:51 PM Package left the carrier facility. Denver Co Network Distribution,
Monday, January 24
6:51 AM Package left the carrier facility. Denver Co Network Distribution,
Sunday, January 23
11:20 PM Package arrived at a carrier facility. Denver Co Network Distribution Center, US
10:05 PM Package arrived at a carrier facility. Bullhead City, AZ US
Thursday, January 20
9:46 AM Possible delay in delivery. Santa Clara, UT
6:33 AM Package arrived at a carrier facility. Santa Clara, UT
3:42 AM Package transferred to another carrier for delivery. Bullhead City, AZ US
3:36 AM Package arrived at a carrier facility. Bullhead City, AZ
12:27 AM Package left the carrier facility. Las Vegas, NV US
12:07 AM Package left an Amazon facility. Las Vegas, NEVADA US
Wednesday, January 19
3:43 PM Package arrived at an Amazon facility. Las Vegas, NEVADA US
Carrier picked up the package.
This book originated in Las Vegas, a mere 90 minute drive from here. It's taken 10 days to be delivered, even though it's been here 2 times before!
I talked to my route carrier, and he said it's appalling, but there are several new hires in the local sorting department. I'm guessing that's true in many places now.
Will Rogers never met me.
|
|
|
|
|
Yeah, my Christmas card took 1 month to get to my mom's house in Vermont. She is almost exactly 1 hour away from my house by car.
|
|
|
|
|
Slacker007 wrote: I have called my local USPS (United States Postal Service) and they have no clue where they are at. The manager said there are only 2 full time employees now at the post office (there used to be 20 he said). They have had to call in postal workers from out of state to help out on certain days.
Man next to me at the post office had not received his mail in 7 days; he was there to file a complaint. Not sent by registered post?
$104, that's not worth the effort.
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.
|
|
|
|
|
it was ordered on amazon.com. no, it is not registered post. you can buy $2,000 computers on amazon. they don't ship registered.
the problem is not with amazon. it is with the USPS service degradation. registered or not, it still runs the risk of not being delivered on time or at all.
|
|
|
|
|
That problem exists for all mail/delivery services. My dad got a package for their address recently; but not in his name, and not ordered by us.
Mistakes happen. As long as they get resolved, no problem.
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.
|
|
|
|
|
They are a bit more organised this side of the pond: place the order around 22:00 online, it'll be delivered by 13:00 the next day.
Admittedly, it costs £75 (about $100) per year, but that includes Prime Video as well so it's pretty good value.
"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!
|
|
|
|
|
Slacker007 wrote: Thank you COVID and all your wonderful blessings.
And probably somewhat related to Trump's choice of Louis DeJoy, who seems to want to eliminate the post office, and make everything into privatized businesses based on his conflicts of interest.
|
|
|
|
|
David O'Neil wrote: and make everything into privatized businesses
And what's wrong with that? FedEx and UPS run tight ships. The private sector can usually do a better job than the govt.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: The private sector can usually do a better job than the govt. Our current health care system pretty much invalidates that assumption, when compared to almost any other 1st world country.
|
|
|
|
|
Are you serious? Our healthcare system is over-regulated (by govt, of course), and That's what causes the problems.
Make health insurance available across state lines and competition will bring the price down.
If govt run health care is so great, then why is the VA such a disaster?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Our healthcare system is over-regulated Because that is the way our 'capitalist oligarchs' want it to be, so they can make buku money. Fundamentally, our entire system needs to change. Capitalism is good, but there is a reason Lincoln believed government should do things individual communities were incapable of doing themselves.
|
|
|
|
|
Slacker007 wrote: The manager said there are only 2 full time employees now at the post office (there used to be 20 he said). Out sick or fired?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
He did not say.
So on the way home I was thinking of possible scenarios
Postal workers are Federal employees. Federal employees are mandated to get the vaccine.
So,
1) if you are an anit-vaxxer and don't want the vaccine then you no longer work for the postal service.
2) quit
3) out sick with covid, etc.
Its not just my local post office that is like this, I have read that many post offices around the country are suffering greatly from reduced employee head count.
|
|
|
|
|
|
Slowing mail delivery does not equate to no mail delivery, I would think.
I was not aware of some of the bullet points in this article. Interesting, thanks for the link.
It would seem to me that Amazon needs to stop using the USPS for deliver then, if packages are not going to make it their intended recipients. Use UPS or higher more Amazon delivery persons.
|
|
|
|
|
|
Fortunately, no. I live on the east coast. LA is on the west coast. My packages this time originated from the east coast warehouses.
I do feel very bad for the owners of those stolen packages in LA, though. That is big news here as well.
|
|
|
|