|
LOL
The 1st restaurant on the moon had to close. Good food, but no atmosphere.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Followed by a vowel movement
|
|
|
|
|
I just bought O'Reilly book "C#10 in a Nutshell"
It is 1024 pages long!!!!
If that is a "nutshell", then I am an elephant.
BTW: I only weigh 215llbs. About 97.75 kilos for you east ponders.
|
|
|
|
|
Some things have larger nutshells, I guess.
Just make sure you memorize that book, because it's just the basics you need to know to get started.
|
|
|
|
|
|
Slow Eddie wrote: I only weigh 215llbs.
everything is relative. To a Hobbit, you are the size of an elephant. To humans, if you are 6'5" you are at ideal weight.
|
|
|
|
|
It's a coconut.
Paul Sanders.
Some of my best work is in the undo buffer.
|
|
|
|
|
|
(Stifled laughter). Still can't quite bring myself to believe that's real. Perhaps it's not, this is the Google-sphere, after all.
Paul Sanders.
Some of my best work is in the undo buffer.
|
|
|
|
|
Oh it's real! YouTube[^]
"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!
|
|
|
|
|
Just another of God's little jokes then. What a card he is.
Paul Sanders.
Some of my best work is in the undo buffer.
modified 17-May-22 18:59pm.
|
|
|
|
|
Maybe "C# on a grain of rice" would be more to your liking?
|
|
|
|
|
Page 1 has 1 grain
Page 2 has 2 grains
Page 3 has 4 grains
Page 4 has 8 grains
Page 5 has 16 grains
...
Page 64 has <see <a="" href="https://en.wikipedia.org/wiki/Wheat_and_chessboard_problem">Wheat and chessboard problem - Wikipedia[^]> grains
|
|
|
|
|
|
Quote: Hmm, 1024 pages...do you think that number was a coincidence? Yes, 256 of them where blank
|
|
|
|
|
It's one more proof, if one was needed, how simple is C#, in a Nutshell!
Seriously, I love C#, I do think it's simple and elegant. But as I reflect on my.... 20 years opf working with.. I realized, over time, well.. there is so much to learn to really master it! :/
However, while the syntax had lots of additional complexity added since the day of C# 1.0 (generics, auto enumerable with yield, async/await, LINQ, lambda, pattern matching) the pure syntax is still relatively simple.
What really gets you is the numerous essential API to do various task, such as Web App, Desktop APP (like 4 type of Windows desktop app?), console app, phone app, game, etc...
|
|
|
|
|
edit - You lost an opportunity to say "It is a bit over a byte long!"
|
|
|
|
|
And it's probably (almost) outdated with C# 11 coming out now.
- Not so much outdated as not including the latest features / syntax.
|
|
|
|
|
I used to have a copy of (I think) "C# 3 In a Nutshell" and believe that was about half the size of your book...
Remember when C# was simple and easy to use before the CS nerds got their claws into it? sigh...
|
|
|
|
|
Slow Eddie wrote: It is 1024 pages long!!!! Wow!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Yes. And I am trying to get through it in a couple of weeks.
Like trying to take a drink out of a firehose.
|
|
|
|
|
It is wonderful having exactly 2^10 pages, isn't it?
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Actually, it's about 20 pages or so of C#; the rest is the "framework" / class libraries.
"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
|
|
|
|
|
I've reported a _problem_ with my HP win10 laptop. I would shut the system down (Start...Shut down) with the system 100% charged. a few days later I would return to the laptop & find that the battery was drained to 80% or so. What?
I wrote a program that shows wear-leveling (Open Source code at my github GitHub - raddevus/wearlevel: wearlevel project that checks 1) how long OS has been running, 2) how many bytes read and written during uptime.[^] ). It'll show you number of bytes read/written since PC turned on & will display how long OS been running (GetTickCount64() ).
Anyways, I had shut down my computer 1 week before. Then I returned to it, started it up & ran the wear-leveling app. It told me that the computer had been running for over 1 week.
I was shocked.
I talked to my son about it and he said, "there's a weird setting under power options" and we started picking around. He found it. Check out this snapshot[^].
It's shown turned off in the image, because I turned it off when my son showed me.
Notice that the option is grayed out until you choose the Admin option [Change settings that are currently available].
After turning the option off, I shutdown my computer.
I went back and ran my wearleveling app & it said my computer had only been running a bit over 1 minute now.
I searched around a bit for an explanation and found this:
How Fast Startup Works
Fast Startup combines elements of a cold shutdown and the hibernate feature. When you shut down your computer with Fast Startup enabled, Windows closes all applications and logs off all users, just as in a normal cold shutdown. At this point, Windows is in a state very similar to when it’s freshly booted up: No users have logged in and started programs, but the Windows kernel is loaded and the system session is running. Windows then alerts device drivers that support it to prepare for hibernation, saves the current system state to the hibernation file, and turns off the computer.
Still Curious
I'm curious if my laptop has a bug or if keeping the system running in this very low state is actually the way it works. I may never know, but hopefully I've resolved it since I turned this off.
|
|
|
|
|
I would suspect a bug. Windows has had issues for decades with power management and/or stupid decisions, most of which are not advertised. For example, with the release of Windows 10 (may have been earlier) Microsoft decided to start turning power off to usb devices - by default. I currently have about a dozen devices - mostly ethernet and serial ports - connected to usb for development. It was maddening why I was losing connections or connections were non-responsive until a friend of mine mentioned to check the power settings.
Many times, Windows 10 will roll out a major update and reset the defaults.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|