Created
January 26, 2026 17:05
-
-
Save lassebenni/82ff299dbeffcb33efdcb7cbf28ccfa6 to your computer and use it in GitHub Desktop.
Terminal Tutorial: Float Precision
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 characters
| {"version":2,"width":80,"height":24,"timestamp":1769447134,"command":"python3 actor_float.py","env":{"SHELL":"/bin/zsh"}} | |
| [0.104455, "o", "$ python3\r\n"] | |
| [0.608686, "o", "Python 3.11.4 (main, Jun 7 2023, 10:13:09) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> "] | |
| [1.109006, "o", "0"] | |
| [1.153275, "o", "."] | |
| [1.23123, "o", "1"] | |
| [1.28804, "o", " "] | |
| [1.319911, "o", "+"] | |
| [1.369582, "o", " "] | |
| [1.447159, "o", "0"] | |
| [1.504509, "o", "."] | |
| [1.528423, "o", "2"] | |
| [1.574359, "o", "\r\n"] | |
| [1.778399, "o", "0.30000000000000004\r\n>>> "] | |
| [2.278623, "o", "0"] | |
| [2.304013, "o", "."] | |
| [2.35949, "o", "1"] | |
| [2.394896, "o", " "] | |
| [2.425763, "o", "+"] | |
| [2.508616, "o", " "] | |
| [2.563445, "o", "0"] | |
| [2.630933, "o", "."] | |
| [2.673811, "o", "2"] | |
| [2.741629, "o", " "] | |
| [2.768457, "o", "="] | |
| [2.831515, "o", "="] | |
| [2.888195, "o", " "] | |
| [2.94094, "o", "0"] | |
| [3.008865, "o", "."] | |
| [3.061999, "o", "3"] | |
| [3.086097, "o", "\r\n"] | |
| [3.286292, "o", "False\r\n>>> "] | |
| [3.787057, "o", "p"] | |
| [3.818093, "o", "r"] | |
| [3.883898, "o", "i"] | |
| [3.928349, "o", "c"] | |
| [3.960554, "o", "e"] | |
| [3.985465, "o", " "] | |
| [4.038333, "o", "="] | |
| [4.064993, "o", " "] | |
| [4.120354, "o", "1"] | |
| [4.145943, "o", "9"] | |
| [4.226692, "o", "."] | |
| [4.278926, "o", "9"] | |
| [4.358636, "o", "9"] | |
| [4.40795, "o", "\r\n>>> q"] | |
| [4.448258, "o", "u"] | |
| [4.504257, "o", "a"] | |
| [4.578882, "o", "n"] | |
| [4.621421, "o", "t"] | |
| [4.693081, "o", "i"] | |
| [4.766443, "o", "t"] | |
| [4.830075, "o", "y"] | |
| [4.857656, "o", " "] | |
| [4.937041, "o", "="] | |
| [4.961302, "o", " "] | |
| [5.000105, "o", "1"] | |
| [5.066445, "o", "0"] | |
| [5.115871, "o", "0"] | |
| [5.183797, "o", "\r\n>>> p"] | |
| [5.230913, "o", "r"] | |
| [5.295262, "o", "i"] | |
| [5.357692, "o", "c"] | |
| [5.419904, "o", "e"] | |
| [5.488173, "o", " "] | |
| [5.531502, "o", "*"] | |
| [5.558627, "o", " "] | |
| [5.586938, "o", "q"] | |
| [5.614635, "o", "u"] | |
| [5.69211, "o", "a"] | |
| [5.734987, "o", "n"] | |
| [5.796528, "o", "t"] | |
| [5.868604, "o", "i"] | |
| [6.006162, "o", "t"] | |
| [6.101159, "o", "y"] | |
| [6.123638, "o", "\r\n"] | |
| [6.325837, "o", "1998.9999999999998\r\n>>> e"] | |
| [6.364023, "o", "x"] | |
| [6.415049, "o", "i"] | |
| [6.471807, "o", "t"] | |
| [6.541561, "o", "("] | |
| [6.620305, "o", ")"] | |
| [6.658951, "o", "\r\n"] | |
| [6.666195, "x", "0"] |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Terminal Tutorial: Float Precision</title> | |
| <link rel="stylesheet" type="text/css" href="https://unpkg.com/asciinema-player@3.6.3/dist/bundle/asciinema-player.css" /> | |
| <style> | |
| body { margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background: #121212; color: #eee; font-family: sans-serif; } | |
| #player { width: 100%; max-width: 900px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); } | |
| .error { color: #ff5555; text-align: center; padding: 20px; border: 1px solid #ff5555; border-radius: 4px; background: rgba(255,0,0,0.1); } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="player"></div> | |
| <script src="https://unpkg.com/asciinema-player@3.6.3/dist/bundle/asciinema-player.min.js"></script> | |
| <script> | |
| window.addEventListener('load', function() { | |
| setTimeout(function() { | |
| if (typeof AsciinemaPlayer === 'undefined') { | |
| document.getElementById('player').innerHTML = '<div class="error"><strong>Error:</strong> AsciinemaPlayer failed to load.</div>'; | |
| return; | |
| } | |
| AsciinemaPlayer.create('float_precision.cast', document.getElementById('player'), { | |
| autoPlay: true, preload: true, rows: 15, cols: 81, theme: 'monokai', idleTimeLimit: 2 | |
| }); | |
| }, 100); | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment