Another Look at CONST in C

Recently, I’ve been learning embedded programming from udemy and there was a section dedicated const. The section was interesting because despite programming in C a lot during my duration of my undergrad, I have never taken a look at const in much detail. I am sure there is more to const than what the course provides but I still learned a lot from this section itself.

Read More

A look at Input Buffer and scanf

Today I learned something new that should have been obvious but it was something I never took time to think about. In Linux, we have three standard streams: stdin, stdout, and stderr. If you are familiar with programming in C, you should know that stdin is the input channel that handles data from an input device such as your keyboard. scanf is a function that scans input according to format (definition from SCANF(3) - Linux Programmer's Manual). But how does scanf actually scan the input?

Read More

Github App Limitation - not all refs are readable

Introduction

Recently I have been reading up and working on creating a Github App for work to automate some process to create a pull request that contains code changes from various branches. For those of you who are not familiar with Github Apps, a Github App is an app you can install or create to automate your workflow such as giving feedback on issues or pull requests if they don’t meet the guidelines or are missing information. The entire Github marketplace is dedicated to selling apps and actions to automate workflows.

Read More