|
There's a long time since I did not came back on CP; had a lot to deal with since last year, covid, it nearly got me, and then I changed my job, for something entirely different.
Now that I can spend my free time on personal projects again, I spontaneously came back to C/C++; never did significant projects with it, though, but I like steep learning curves.
So, cheers to all of you! :ale:
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Welcome back! Glad to hear that you're OK.
|
|
|
|
|
Thanks
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Welcome back!
Covid can be a b*st*rd - hope it didn't get you too badly.
"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!
|
|
|
|
|
Thanks
I did get me quite badly, indeed, I had to be on respiratory assistance for a couple of days, and then the recovery was awfully long. It took me nearly 3 months before recovering my sense of smell; nothing had taste, except for very strong coffee.
On the other hand, it allowed me to get the courage to do something I wanted to do for a long time: changing my job; and quit smoking. Everything's fine since then, I did both.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Ouch.
I wasn't on a respirator, but it was pretty close: I lost 6Kg in two weeks while I had it as I couldn't keep food down, and my stamina levels still aren't where they were before the bug. My sense of taste is still "off" - but it's slowly returning, or seems to be.
Herself came out worse though: permanent lung damage it looks like, so I have her oxygen machine as "background music" right now.
Well done on the smoking though - I wish I'd never started, and I gave up in '04!
"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!
|
|
|
|
|
The 'quit smoking' was the hard part; I've been smoking for more than 30 years, that makes a lot of bad habits to lose. I still am in that place where the proudness of having quit is stronger than the envy of nicotine, but I know I will have to be extra carefull when proudness will drop.
I'm sorry to hear for herself; may these damages not be so permanent.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
The good news is that after 15 years, it's like you never smoked. It's never too late to quit; even if you think so.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Gerry Schmitz wrote: The good news is that after 15 years, it's like you never smoked
That's only true if there hasn't already been permanent damage, unfortunately. 30 years is definitely long enough to create permanent damage.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Depending on how familiar you are with C++, there is one book and only one book I recommend for learning it. Burn the rest to keep warm.
The book is Accelerated C++ by Andrew Koenig and Barbara Moo
It is mercifully brief, and teaches C++ properly, using the STL, and introducing you more to C++ from a "generic programming" standpoint.
I tell people this - unlike in other languages, in C++ you have a dialogue going with the compiler *and* the CPU. Most languages just let you talk "through them" vicariously to the CPU.
C++ allows you to run computations and such through the compiler, which can then generate the results of said computations in code, which then talks to the CPU. A bit like the house that jack built.
I have a function in one of my projects that's like 3 or 4 pages long of dense code.
It resolves to a few assembly instructions, which vary depending on how you call it.
You can't really do that with other languages.
Learning that is the trick to mastering it.
Real programmers use butterflies
|
|
|
|
|
Thanks for the tip, I will definitely take that into consideration. I'm in the place where I just start to understand the power of c++ templating, coming from a c# brackground that's tricky at first.
Right now I started a c++ version of xkcp (available on github, a C implementation of sponge constructions, relative to sha-3 hash functions; I definitely got a thing for this algorithm family). I'll try and find that book to see whether I can grasp what I don't get yet.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Looks like you're headed the right direction. Within templates there are worlds. You can make your compiler make the bed with clever use of templates. This is how you initiate dialogue with the compiler in most cases.
Real programmers use butterflies
|
|
|
|
|
I received the book on yesterday. Thanks for the tip
I had a quick look on a couple of your recent articles (lexer + the pre-build thing), as well. You got my 5 for both. Did not have time to dive into the code in detail, yet, but there are definitely informations in there for which i'll be grateful in the near future.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Thank you. In a little while, I'll have Reggie targeting SQL for matching and stuff. It's already mostly working, it's just some error handling I'm tinkering with at the moment, before I can move on to finishing it out.
Real programmers use butterflies
|
|
|
|
|
Welcome back
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
Thanks Mike
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Welcome back.
You are not alone about quitting smoke. Almost 5 years here. You are right about the proudness and the envy, but good news... the envy drops too and at the end with a simple "You don't really want to start all that crap all over again, do you, idiot?" is more than enough.
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.
|
|
|
|
|
Nelek wrote: Welcome back.
Thanks
Nelek wrote: "You don't really want to start all that crap all over again, do you, idiot?"
I like this way of presenting things. Concise, and to the point.
Luckily, when I got my sense of smell back, a strong aversion for cold-smoke smell came with it. And remained, so far...
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Hi, welcome back ! Nothing changed here.
|
|
|
|
|
Hi Rage, thanks a lot.
I like to see that good traditions have remained on the Lounge; and bad ones on QA
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Limited edition = Mag ( magazine )
Food = pie
Flier = Magpie
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
It was twenty years ago today, Microsoft taught XP to play! (With apologies to the Beatles )
Are you, or any of your customers, clients or friends still using XP?
Entropy will win in the end.
|
|
|
|
|
I have an elderly PC, more or less from scrap, that still is running XP. These days I only use it as terminal for the Elves or to toast ROMs, that kind of stuff.
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.
|
|
|
|
|
I still have it in two VMs (one clean--but updated with the latest--the other with VS2008, I believe), but neither have been powered on in years.
I still maintain that XP, with the Classic Windows theme, was one of the most usable UIs MS has come up with.
|
|
|
|
|
We probably/maybe have a couple of them in an industrial settings that still use XP (but I might be wrong).
Long product life cycle in aerospace does not agree with software updates when everything is working fine.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|