|
When an NSA operative is exhumed, is he decrypted?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
That joke is OLD, and intern, is going to urn you some grave consequences. Marker my words, it'll be difficult to worm you way out of them.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
That's why there is always a fence around cemetaries.
But do you know why we bury people in graveyards?
(Because they died...)
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Really? I always thought the fence was to keep the residents in.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Where can you find a town's graveyard?
The dead centre.
|
|
|
|
|
[[nodiscard]] void doSomethingWonderful()
{
std::cout << "something something\n";
}
It's going to be a long day.
(it there a proper tea emoji ? )
I'd rather be phishing!
|
|
|
|
|
Or a cup of Java maybe
|
|
|
|
|
Maximilien wrote: [Coffee] [Coffee] (it there a proper tea emoji ? )
🍵 or ☕
|
|
|
|
|
Maximilien wrote: there a proper tea emoji ?
Yes:
"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!
|
|
|
|
|
Tea is a fine drink - when your hands are shaking from a coffee overdose.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Quote: coffee overdose There is no such thing!
I am not wrong. I am just different!
|
|
|
|
|
Well said!
I am not wrong. I am just different!
|
|
|
|
|
Maximilien wrote: (it there a proper tea emoji ? ) Tea?
You serious??
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.
|
|
|
|
|
|
The Nano is a Nono !
|
|
|
|
|
Code/addon signing would have really helped with that... not.
|
|
|
|
|
I have been reading Application publishing - .NET Core | Microsoft Docs[^]
I find the option of the App being self-contained pretty interesting, since once of the biggest problems with big companies is the allowance to install something, the delay with the updates and / or the mandatory updates (for yesterady of course) when they decide something has to be done (even when it might bring breaking changes with it).
I will play with both to experience myself and maybe do some detailed comparisons, but I am interested in your experiences too.
Are you using the self-contained option? If, not...why? It looks very promising.
Is the difference in size really that big?
Have you noticed performance differences when using one or the other? And I don't mean the startup-time described in the "ReadyToStart" option, I mean while in the middle of the execution.
Topic open to discussion
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Hopefully, the .NET team can take a leaf from the Visual C++ team to get the executable size down. C++ does not link the unused classes and remove the methods not called at all (directly or indirectly) from the executable.
I was thinking I was only calling a few jQuery methods on my webpage but my users have to download all jQuery even 99% of functionality is not used. What a waste of bandwidth!
|
|
|
|
|
A long time ago I did this weird "site on a business card CD**" where the javascript was gzipped and decompressed itself (and all the HTML content as well) - I suppose you could do something like that, but these days it's probably not worth the effort.
** not sure if you've ever seen these - it's a partial CD roughly the size of a business card and will spin in most CD trays. The inner tracks have space for enough data to fit a small bit of media or even an app on.
Real programmers use butterflies
|
|
|
|
|
50 Mb?[^] - Holy Batman! The possibilities are endless!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I thought it was less. Oh well, it has been a long time.
Real programmers use butterflies
|
|
|
|
|
For us perhaps. For real Javascriptors that may or may not be enough for Hello World.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Shao Voon Wong wrote: Hopefully, the .NET team can take a leaf from the Visual C++ team to get the executable size down. C++ does not link the unused classes and remove the methods not called at all (directly or indirectly) from the executable. I think they have already done that
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true That should deprecate what is not used.
In a simple hello world console reduces the memory needs from 69 to 29 Mb
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
29MB is still too much for a Hello World program. That PublishTrimmed=true should be made mandatory, not as opt-in.
|
|
|
|
|
Reflection makes it somewhat difficult to make this mandatory. Stuff like "Register all classes in this assembly/namespace with the DI container, "deserialize this JSON looking up the types based on the $type property" is all over the place.
So at least they need to add the option to specify what always needs to be included, and this would need to work across dependencies. Not impossible, but I can see how it would end up in the "something for the next version" pile. At least they can keep the signature of the classes they stripped out, so any reflection code hitting them could give a meaningful error. A proper error message is worth more than 1MB or two in my book.
And I guess when the choice was between the comments saying "this does not work" and "this is too big", they chose the latter in the default settings. Can't say I blame them...
|
|
|
|