# default values (blogs) — RSS Amplifier

Recent posts from the 1 feeds in the RSS Amplifier directory that cover default values.

Page: <https://rssamplifier.com/topics/default-value/blogs>  
Feed: <https://rssamplifier.com/topics/default-value/blogs.md>

---

## [playing with buffering modes in stdio.h](https://www.zakariaamine.com/2025-09-30/playing_with_buffering_modes_stdio)

_2025-09-30 · Zakaria · Zakaria Amine's blog_

I was recently debugging a crashing program written in C using printf statements. I noticed that even if some printf statements executed before the crash, there was no output. I remembered something I read about stdio (the C standard I/O library) using buffering top of the read and write system calls to increase efficiency. I am writing this post as a reminder to my future self 😅 setvbuf and the…

## [Debugging bash scripts](https://www.zakariaamine.com/2024-12-12/debugging-shell-scripts)

_2024-12-12 · Zakaria · Zakaria Amine's blog_

Unlike many programming languages, shell(bash) scripting has no official tool for debugging. Besides the classic “prints”, I was not aware that bash has some built-in mechanisms for tracing, until I decided to “read the manual”. As I was struggling with understanding some large shell scripts (that I did not write myself), I found some valuable information just by running man bash . To my surprise,…

## [Have you heard of Heap's algorithm](https://www.zakariaamine.com/2024-11-16/heaps-algorithm)

_2024-11-16 · Zakaria · Zakaria Amine's blog_

I recently encountered a problem on HackerRank named “Bigger is Greater”: https://www.hackerrank.com/challenges/bigger-is-greater/problem . The problem statement is as follows: given a string, the solution program needs to find the smallest of all the string permutations which is bigger than the string itself. In case no solution that match the criterias is found, no answer is to be returned.…

