In this next part of the big STL algorithm tutorial, we will continue with 4 algorithms that either help us to rotate elements around a given element in the input range or they just shift elements around:
If you have spent some time reading modern self-improvement books, it’s almost for sure that you came across the name Zig Ziglar and his book called See You At The Top.
Ziglar after dropping out of college started to work as a salesman of some cookware company in the US. According to his book, later even one of his brothers followed him to his career. And Ziglar had some decent successes as a cookware salesman, but we don’t remember him because he helped thousands of American families to eat dinner cooked in some nice pans.
Last week, I “went” to the C++ On Sea 2020, which was my second C++ conference, after CPPP 2019. I put went between quotes because as you might have guessed due to the Coronavirus, the organizers had to make a choice. They could either cancel the whole event or move it online.
Do you use exceptions in your code? Do you always catch the most generic one or do you write multiple catch blocks? Do you rethrow them or just swallow the exceptions right after they occur? Do you have an error-handling strategy after all?
If you have been reading my book reviews, you know that I like history. Recently I wrote about Sapiens and I quoted Churchill - you know the guy who pretty much led the fight against Nazis - saying that “a nation that forgets its history has no future”. John Kennedy went more broadly when he wrote “without history, we have no future.”
How many times have you thought, oh I will find a way to get out of the way of this problem? Just this time I promise! And then you gently stepped aside. Later you were looking with eyes open wide they asked if you knew about. Or even worse, when someone presented how she solved that issue you thought you could have done it too. You even felt some envy, right?
We all have our vices. One of mine is that I tend to jump in code reviews quickly, without considering how much time will be taken if I find something I don’t like.
Recently I opened PR that seriously increased my WTF/minute level. Something struck me so hard that I felt I had to block the merge right away and take a cup of water before saying something thoughtlessly.
A new macro. In 2020.
“A nation that forgets its history has no future” as Churchill said. Or going more broad, as John Kennedy wrote, “without history, we have no future.”
Sapiens is not just about the recent times, but all our past starting really from the years when homo sapiens were foraging in a distant corner of East Africa.
I’m still not looking for a new job, and - given the circumstances - luckily I don’t even have to. Still, after having met some people and having received a couple of interesting propositions I realized that I didn’t even have a CV. The latest version I had was 7 years old, something that I used for getting my actual job. Since then I’ve been eagerly updating my Linkedin profile to document what I’ve done, but even though I enjoy reading articles about how to craft high-quality resumés I never actually refreshed my CV.