Category Archives: news

News on main page.

Rubber Duck Debugging

Rubber duck debugging is an informal way of debugging code. The method involves a programmer, while trying to find bugs in code (code inspection), keeping a rubber duck or another inanimate object nearby. Line by line, the programmer explains to the duck or other object what each segment of code is supposed to do. During this review, bugs in the application should become apparent. The method is a version of the thinking-aloud method, a procedure recognized as an effective way to speed up problem solving.

https://pl.wikipedia.org/wiki/Metoda_gumowej_kaczuszki

Bring About World Peace… ?

Interesting excerpt from Microchip‘s application note  AN1375 :

48. Bring About World Peace
Admittedly, World Peace is still being worked on. It’s
possible that it is beyond the scope of the CTMU, or it
could be that it hasn’t been given enough time.
Perhaps this issue is one that can be left to the readers.

Hard rebooting Linux

As usual, for future reference…

When shutdown and init fail, and everything else fails too, and we do not have keyboard access to press SysRq:

echo 1 >> /proc/sys/kernel/sysrq
echo b >> /proc/sysrq-trigger