ENOTSUP and the value of conveying intent in your code
ENOTSUP stands for “Error – not supported” and it is one of the many error codes defined in the error header file. I recently learned about th...
ENOTSUP stands for “Error – not supported” and it is one of the many error codes defined in the error header file. I recently learned about th...
I fixed a silly bug just now and wrote working code that can pin multiple virtual CPUs to the physical CPUs. Identifying the bug in my code was another classic ...
As programmers, we know that we can swap two variables by using a temporary variable. That’s fairly simple and intuitive: given two variables (x and y) that you...
A wide grin formed on my face, after successfully completing an exercise (from Computer Systems a Programmer’s perspective) that required me to write C co...
Like a huge swath of other millennial, I dibbled and dabbled in building websites —writing in html, css, and javascript—during my youth, but these days, I prima...
I’m writing a python library (speedcurve.py). At work, we’re using SpeedCurve to track our web performance. SpeedCurve’schangelog reveals can ...
I came across this license issue while searching on GitHub. So, I thought I’d give it a shot. I pinged sigmavirus24 in #github3.py seeing if this was a fe...
I’ve always been scared of open sourcing, despite wanting to get involved for a long time? Why? For a long time, I’ve programmed in isolation. But, ...
I was getting so frustrated. I knew how to raise the exception with side_effect=. But, how do you mock the exception? try: connection = connect_to_sqs except Bo...