Last active
December 29, 2021 14:42
-
-
Save alexandercerutti/d25ee6626fe64fa2cc5a613052ca308d to your computer and use it in GitHub Desktop.
Revisions
-
alexandercerutti revised this gist
Dec 29, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ * In grid reading, it is important to have all the bits aligned. * Unaligned bits can lead to misreading and therefore to bugs. * * Trust me, I've shipped in production a product that had a * broken feature due to a wrong bit. */ -
alexandercerutti revised this gist
Dec 28, 2021 . No changes.There are no files selected for viewing
-
alexandercerutti revised this gist
Dec 28, 2021 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ /** * In grid reading, it is important to have all the bits aligned. * Unaligned bits can lead to misreading and therefore to bugs. * * Thrust me, I've shipped in production a product that had a * broken feature due to a wrong bit. */ enum States { LOADING /***/ = 0b000000, /* Set to 0 because it is the initial state */ -
alexandercerutti revised this gist
Dec 28, 2021 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,11 @@ /** * In grid reading, it is important to have all the bits aligned. * Unaligned bits can lead to misreading bugs. * * Thrust me, I've shipped in production a product that had a * broken feature due to a wrong bit. */ enum States { LOADING /***/ = 0b000000, /* Set to 0 because it is the initial state */ FAILED /****/ = 0b000001, -
alexandercerutti revised this gist
Dec 28, 2021 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ enum States { LOADING /***/ = 0b000000, /* Set to 0 because it is the initial state */ FAILED /****/ = 0b000001, LOADED /****/ = 0b000010, PLAYING /***/ = 0b000100, STOPPED /***/ = 0b001000 } -
alexandercerutti created this gist
Dec 28, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ enum States { LOADING /***/ = 0b000000, /* Set to 0 because it is the initial state */ FAILED /****/ = 0b000001, LOADED /****/ = 0b000010, PLAYING /***/ = 0b000100, STOPPED /***/ = 0b001000 }