|
thanks for this great link! I will use this package!
one more question: what is the difference between PDFsharp and MigraDoc?
it seems like both can create PDF files.
diligent hands rule....
|
|
|
|
|
I believe PDFsharp is the engine and MigraDoc is an (optional) layer on top of it to make things easier: What is PDFsharp and MigraDoc?[^]
The NuGet package I use is PDFsharp-MigraDoc and it has everything I need
|
|
|
|
|
this link is great. thanks!
diligent hands rule....
|
|
|
|
|
... I bought a copy of Heroes of Might and Magic 3 a couple of months ago - one of the best games of the world in his genre (even after all these years). It is not even retro-gaming, it is gaming, plus the fan base made a great port to HD quality graphics.
But it shortened my nights quite a bit . Damn, what an addiction, but I am almost through it. And I am still fascinated by the game AI - awesome programming.
|
|
|
|
|
I've revisited the series recently, too! I've been slowly playing through the second.
I didn't appreciate them when they were 'current', or maybe they were just too hard at the time. I'm having more fun this go.
Good games, for sure.
|
|
|
|
|
|
I have this problem with books.
|
|
|
|
|
Last year I read 99 books on Kindle Unlimited plus a bunch outside the Kindle app.
I am forcing myself to not read since January to not drop my productivity in my new company.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
|
Somehow Rockit makes me think of this[^]
|
|
|
|
|
Not sure what that is -- maybe an Aussie product?? -- and I'm afraid to ask.
|
|
|
|
|
Maybe you are too young to know about this, every housewife in the sixties used it (in the Netherlands at least)
(and no, it's not a drug)
|
|
|
|
|
|
See Richard's answer, he's ancient too
|
|
|
|
|
No, it was common in the UK as well. Throw a bag into the laundry and it adds a bleaching agent.
|
|
|
|
|
Since I'm moving to VS2022, I've decided to reorganise my (rather chaotic) library and utility code base: some of it is still building for x86 in a 64 bit world, and there are a lot of possible DLL's / projects to include in new project reference.
So I've set aside a couple of days to reorganise it all into four Solutions:
Templates (for VS templates as I have to regenerate them each time I move to a new version, and I use half a dozen or so)
Utility Code (which is generic and doesn't interact with DB's, Displays, etc).
Utility Controls
Utility Applications
So, I create my first Template project - a Class Library with my default Regions added, an automatic Timestamp, and (later) the standard references to the Utility Code. Based on teh VS Class Library template.
Compile, it's fine. Export as a template, work around MS lies, get it recognised as a template I can use in a C\ app.
Create the new Utility Code project, using the "Class Library with Regions" template.
Add the first CS file from the previous layout.
Add the second ... Wait a minute ... what are those red lines?
Who the decided that reference types would default to non-nullable in C# 8.0?
That's a breaking change you halfwit!
Massive sections of my code no longer compile any more due to this stupidity.
I see what you were trying to do, but making it a breaking change is just moronic - and means I have to disable iot globally and slowly work my way into it - particularly as many default method parameters use null.
"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!
|
|
|
|
|
|
Yep, as he said you can set an option.
Yep, it's a breaking (unbreaking by config) change.
Their heart is certainly in the right place in trying to catch issues as you code.
I can't think of a better way to go about it and they DID us notice a starting a couple of releases back that it was coming.
I know that doesn't help your brief WTF shock.
As someone further on said, a reasonable idea and leads to less breakable code and the fix isn't tough in the singular instance, but it depends on how many instances you have how big of a task to make the changes.
Good luck!
|
|
|
|
|
You created your own template - so can't you just disable nullable in that template? Or is there something I missed?
As it will be very hard to find a reason to not enable nullable for a new code base, I agree with Microsoft it should be the default in new projects.
|
|
|
|
|
I agree that it is intrusive to an older code-base to force this change.
It seems crazy that you'll now have work to do when all you are doing is upgrading to newer version & (re)compiling.
In this case, you knew that reference types were nullable and handled them properly.
Is there just a flag to set in the project somewhere?
|
|
|
|
|
You can tell it not to check, but that's just delaying the problem - and potentially causing more confusion if someone reuses the code for a similar purpose and it then throws up (pretty much incomprehensible) errors on identical code ...
And I suspect it'll be worse for "newer coders" since they all seem to use var exclusively instead of explicit typing, so the actual type of a variable will change and throw up yet more errors later on ...
"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!
|
|
|
|
|
var should be banished to the depths of time! If you can't explicitly type the variable then you obviously don't understand the problem.
|
|
|
|
|
var is like auto in C++, right? I use it wherever possible. I know what the type is. If the reader doesn't, they need to learn so that they'll truly understand the code.
|
|
|
|
|
So,
Greg Utas wrote: auto in C++, right? I use it wherever possible. I know what the type is. If the reader doesn't, they need to learn so that they'll truly understand the code.
You hide your variable types behind the auto keyword and have an elevated THREAD_PRIORITY_HIGHEST thread in all your multi-threaded processes.
Any other tips you want to share? It just keeps getting better.
|
|
|
|
|