Financial Resolution Making resolutions can be a strategy to achieve the targets we set. For goals that failed to be achieve yesterday, don’t be discourage. We can make it a target again this year by taking a number of evaluation steps. The goal, so that the things that cause it to fail are achieve, not to happen again. Well, of …
Read MoreHere is what you get as briefly as I can say in code. _snprintf(buf, n, “%d %u %ld %lu”, i, ui, l, ul); becomes oformatstream ofs(“%d %u %ld %lu”, &a_string_stream); ofs << i << ui << l << ul;
I’m quite sure there will be some who will ask “Why did you build this ?”. Yes, it is slower
Well, we don’t hate it per se. It’s more of a love/hate relationship, if we’re honest with ourselves. You can do it wrong: excessive top-down structure is the kryptonite of developer brilliance. Or you can do it right: setting up the team so everyone feels empowered and blameless accountability lets you evolve from mistakes and improve over time.
For today’s
This article shows how we can read the thread token and inspect the Privileges and Groups are assigned to it. Aside from the things we can do with a token, it can be convenient to be able to display them for troubleshooting purposes. In this article I will show how to retrieve that information.
I’m working on some code
Developers and software companies are always chasing anything that will make them more productive: to shorten the distance between thinking of a solution and coding it down to near-zero. We’ve talked about the mindset and methods for getting into a flow state on a previous episode of this series, but what if part of unlocking that flow is just better
In a large system, main() can easily become a mess as different developers add their initialization code. This article presents a Module class that allows a system to be initialized in a structured, layered manner. It then evolves the design to show how the system can perform a quick restart, rather than a reboot, to recover from serious errors such …
Read More