aboutsummaryrefslogtreecommitdiff
path: root/public/trying-to-build-a-new-kind-of-terminal-emulator.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/trying-to-build-a-new-kind-of-terminal-emulator.html')
-rwxr-xr-xpublic/trying-to-build-a-new-kind-of-terminal-emulator.html205
1 files changed, 205 insertions, 0 deletions
diff --git a/public/trying-to-build-a-new-kind-of-terminal-emulator.html b/public/trying-to-build-a-new-kind-of-terminal-emulator.html
new file mode 100755
index 0000000..d66e2a5
--- /dev/null
+++ b/public/trying-to-build-a-new-kind-of-terminal-emulator.html
@@ -0,0 +1,205 @@
1<!doctype html><html lang=en-us><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL69vf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv76+/8LBwQkAAAAAAAAAAAAAAAC+vb3/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL+9vf/Bv78JAAAAAAAAAAAAAAAAu7q6/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC7ubr/vr29CAAAAAAAAAAAy8nJAZ6foP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnqGj/6GipAoAAAAAHLjU/xcXHf/BwsL/I8XY/yPK3v8XGiD/IbjL/yPF2f8XGiD/Fxkf/yLF2f8gnK3/Fxog/62ztv8fwNf/FRcd/x271v8mz93/GRsi/xkXHf8p097/GiIp/xobIv8p0t3/KdPe/xocIv8fYmr/KNPe/xoZH/8aHCL/J87c/xy81/8VFxz/IsPZ/8zS0/8XGiD/Ir/R/yPH2/8XGiD/Fxkf/yPH2/8dd4T/GBog/yPJ3f8jyNr/uru9/xcUGv8cudb/EhITDKi5vRKlvMP/RUpOERwcHRAdOj4QHTk8EBwdHRAdNTgQHTo/EBwcHRAcHB0QSGduEKW4vf+koqQfHzg+EBqz0ewSFRv7EyMr/xq51vsTERb7ExUb+xq41fsau9j7ExUb+xiPp/sZudb7ExUb+xMVG/sZuNX/GKvI/BIUGfMdvdn/IrfL/xcaIP8n1eb/J9Dh/xkcIf8ZGR7/J8/f/xxCSv8ZGyH/J9Dg/ybQ4P8ZHCL/FSQs/yPK3/8UExj/GE1b/ybS5P8ZGB7/Ghwj/ynW5P8p2Ob/Ghwi/yWrtv8p1eH/Ghwi/xocIv8p1uT/J8XT/xkcIv8m1un/Hb7d/xUYH/8hzOr/HtHu/xcaIf8XGB//I8vi/xgxOv8XGSD/I8rg/yPK4P8XGiD/GUFL/yPP6f8SERj/Fhkh/x3A4f8AAAAAJ2f9/ydr//8mZPH/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlYu38J2v//ydo/f8AAAAAAAAAAAd8/fkFqf//Iob8sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMY39awWr//8FfP3/AAAAAAAAAAAFm/7/SfD//wR+/f8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOB/f9B7v//BaX+/wAAAAAAAAAAQ878SAyZ/v9n1v4KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADu9v8DDJb+/z3N/XgAAAAA3/sAAN/7AADf+wAA3/sAAAAAAAAAAAAAAAAAAN/7AAAAAAAAAAAAAAAAAAAAAAAAj/EAAI/5AACP8QAA3/sAAA==" rel=icon type=image/x-icon><title>Trying to build a New kind of terminal emulator for the modern age</title><meta name=description content="Over the past few weeks, I have been really thinking about terminal emulators,how we interact with computers, the separation of text-based programs and GUIones."><link rel=alternate type=application/rss+xml title="Mitja Felicijan's posts" href=https://mitjafelicijan.com/index.xml><link rel=alternate type=application/rss+xml title="Mitja Felicijan's notes" href=https://mitjafelicijan.com/notes.xml><style>body{padding:1rem;max-width:760px;background:#fff;font-family:sans-serif;line-height:1.35rem;font-size:16px;margin:0 auto}hr{margin-block-start:1.5rem}h1,h2,h3{line-height:initial}h1{font-size:xx-large}footer{margin-block-start:2rem}cap{text-transform:capitalize}table{max-width:100%;width:100%;border-collapse:separate;border-spacing:2px;border:1px solid #000;border-left:1px solid #999;border-top:1px solid #999}blockquote{font-style:italic}table thead{background:#eee}ul.list li{padding:.2em 0}ul{line-height:1.4em}td,th{border:1px solid #000;padding:4px;border-right:1px solid #999;border-bottom:1px solid #999;text-align:left}pre{text-wrap:nowrap;overflow-x:auto;padding:0 1em;border:1px solid #dcdcdc}code{padding:0 3px;font-size:14px;border:0}pre code{line-height:1.3em}pre,code,pre *,code *{font-family:monospace}figure{margin-inline-start:0;margin-inline-end:0}figcaption{text-align:center}figcaption p{margin:.3em 0 0}img,video,audio{max-width:100%}header{display:flex;flex-direction:row;gap:3rem}nav{display:flex;gap:.75rem}nav.main{flex-grow:1}.pstatus-orange{background:gold}.pstatus-green{background:#9acd32}.pstatus-red{background:#cd5c5c}@media only screen and (max-width:600px){body{padding:15px}header{flex-direction:column;gap:1rem}a{word-wrap:break-word}}</style><header><nav class=main itemscope itemtype=http://schema.org/SiteNavigationElement role=toolbar><a href=/>Home</a>
2<a href=https://git.mitjafelicijan.com/ target=_blank>Git</a>
3<a href=https://files.mitjafelicijan.com/ target=_blank>Files</a>
4<a href=/radio.pls target=_blank>Radio</a>
5<a href=/mitjafelicijan.pgp.pub.txt target=_blank>PGP</a>
6<a href=/curriculum-vitae.html>CV</a>
7<a href=/index.xml target=_blank>RSS</a></nav></header><main role=main><article itemtype=http://schema.org/Article><h1 itemtype=headline>Trying to build a New kind of terminal emulator for the modern age</h1><p><cap>post</cap>, Jan 26, 2023 on <a href=https://mitjafelicijan.com>Mitja Felicijan's blog</a><div><p>Over the past few weeks, I have been really thinking about terminal emulators,
8how we interact with computers, the separation of text-based programs and GUI
9ones. To be perfectly honest, I got pissed off one evening when I was cleaning
10up files on my computer. Normally, I go into console and do <code>ncdu</code> and check
11where the junk is. Then I start deleting stuff. Without any discrimination,
12usually. But when it comes to screenshots, I have learned that it's good to keep
13them somewhere near if I need to refer to something that I was doing. I am an
14avid screenshot taker. So at that point I checked Pictures folder and also did a
15basic search <code>find . -type f -name "*.jpg"</code> for all the JPEG files in my home
16directory and immediately got pissed off. Why can’t I see thumbnails in my
17terminal? I know why, but why in the year of 2022 this is still a problem. I am
18used to traversing my disk via terminal. I am faster, and I am more comfortable
19this way. But when it comes to visualization, I then need to revert to GUI
20applications and again find the same file to see it. I know that programs like
21<code>feh</code> and <code>sxiv</code> are available, but I would just like to see the preview. Like
22<a href=https://jupyter.org/>Jupyter notebook</a> or something similar. Just having it
23inline. Part of a result.<p>It also didn’t help that I was spending some time with the <a href=https://plan9.io/plan9/>Plan
249</a> Operating system. More specifically
25<a href=http://9front.org/>9FRONT</a>. The way that <a href=http://acme.cat-v.org/>ACME editor</a>
26handles text editing is just wonderful. Different and fresh somehow, even though
27it’s super old.<p>So, I went on a lookout for an interesting way of visualizing results of some
28query. I found these applications to be outstanding examples of how not to be a
29captive of a predetermined way of doing things.<ul><li><a href=https://www.wolfram.com/mathematica/>Wolfram Mathematica</a><li><a href=https://jupyter.org/>Jupyter notebooks</a><li><a href=http://www.9front.org>Plan 9 / 9FRONT</a><li><a href=https://templeos.org/>Temple OS</a><li><a href=https://www.gnu.org/software/emacs/>Emacs</a></ul><p>My idea is not as out there as ACME is, but it is a spin on the terminal
30emulators. I like the modes that Vi/Vim provides you with. I like the way the
31Emacs does its own <code>M-x</code> <code>M-c</code>. Furthermore, I really like how Mathematica and
32Jupyter present the data in a free flowing form. And I love how Temple OS is
33basically a C interpreter on some level.<blockquote><p><strong>Note:</strong> This is part 1 of the journey. Nowhere finished yet. I am just
34tinkering with this at the moment. This whole thing can easily spectacularly
35fail.</blockquote><p>So I started. I knew that I wanted to have the couple of modes, but I didn’t
36like the repetition of keystrokes, so the only option was to have some sort of
37toggle and indicate to the user that they are in a special mode. Like Vi does
38for Normal and Visual mode.<p>These modes would for the first version be:<ul><li><em>Preview mode</em> (toggle with Ctrl + P)<ul><li>When this mode would be enabled, the <code>ls</code> command would try to find images
39from the results and display thumbnails from them in the terminal itself.
40No ASCII art. Proper images. In a grid!</ul><li><em>Detach mode</em> (toggle with Ctrl + D)<ul><li>When this mode would be enabled, every command would open a new window
41and execute that command in it. This would be useful for starting <code>htop</code>
42in a separate window.</ul></ul><p>The reason for having these modes togglable is to not ask for previews every
43time. You enable a mode and until you disable it, it behaves that way. Purely
44out of ergonomic reasons.<p>I would like to treat every terminal I open as a session mentally. When I start
45using the terminal, I start digging deeper into the issue I am trying to
46resolve. And while I am doing this, I would like to open detached windows
47etc. A lot of these things can be done easily with something like
48<a href=https://i3wm.org/>i3</a>, but also that pull you out of the context of what you
49were doing. I would like to orchestrate everything from one single point.<p>In planning for this project, I knew that I would need to use a language like C
50and a library such as <a href=https://www.libsdl.org/>SDL2</a> in order to achieve the
51desired results. I had considered other options, but ultimately determined that
52<a href=https://www.libsdl.org/>SDL2</a> was the best fit based on its capabilities and
53reputation in the programming community.<p>At first, I thought the idea of a hardware accelerated terminal was a bit of a
54joke. It seemed like such a niche and unnecessary feature, especially given the
55fact that terminal emulators have been around for decades and have always relied
56on software rendering. But to be fair, <a href=https://alacritty.org/>Alacritty</a> is
57doing the same thing. Well, they are doing a remarkable job at it.<p>So, I embarked on a journey. Everything has to start somewhere. For me, it
58started with creating a window! It has to start somewhere. 🙂<pre tabindex=0 style=background-color:#fff><code><span style=display:flex><span><span style=color:green>// Oh, Hi Mark!
59</span></span></span><span style=display:flex><span><span style=color:green>// Create the window, obviously.
60</span></span></span><span style=display:flex><span><span style=color:green></span>SDL_Window *window = SDL_CreateWindow(
61</span></span><span style=display:flex><span> WINDOW_TITLE, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
62</span></span><span style=display:flex><span> WINDOW_WIDTH, WINDOW_HEIGHT,
63</span></span><span style=display:flex><span> SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN);
64</span></span></code></pre><p>I continued like this to get some text displayed on the screen.<p>I noted that
65<a href=https://wiki.libsdl.org/SDL_ttf/TTF_RenderText_Solid><code>TTF_RenderText_Solid</code></a>
66rendered text really poorly. There were no antialiasing at all. In my wisdom, I
67never checked the documentation. Well, that was a fail. To uneducated like me:
68<code>TTF_RenderText_Solid</code> renders Latin1 text at fast quality to a new 8-bit
69surface. So, that's why the texts looked like shit. No wonder.<p>Remarks on <code>TTF_RenderText_Solid</code>: This function will allocate a new 8-bit,
70palettized surface. The surface's 0 pixel will be the colorkey, giving a
71transparent background. The 1 pixel will be set to the text color.<p>After I replaced it with
72<a href=https://wiki.libsdl.org/SDL_ttf/TTF_RenderText_LCD><code>TTF_RenderText_LCD</code></a> which
73renders Latin1 text at LCD subpixel quality to a new ARGB surface, the text
74started looking good. Really make sure you read the documentation. It’s actually
75good. As a side note, you can find all the documentation regarding <a href=https://wiki.libsdl.org/>SDL2 on
76their Wiki</a>.<p>After that was done, I started working on displaying other things like <code>Preview</code>
77and <code>Detach</code> modes. This wasn’t really that hard. In SDL2 you can check all the
78available events with <code>while (SDL_PollEvent(&amp;event) > 0)</code> and have a bunch of
79switch statements to determine which key is currently being pressed. More about
80keys, <a href=https://documentation.help/SDL/sdlkey.html>SDLKey</a> and mroe about
81pooling the events on
82<a href=https://documentation.help/SDL/sdlpollevent.html>SDL_PollEvent</a>.<pre tabindex=0 style=background-color:#fff><code><span style=display:flex><span><span style=color:#00f>while</span> (SDL_PollEvent(&amp;event) &gt; 0)
83</span></span><span style=display:flex><span>{
84</span></span><span style=display:flex><span> <span style=color:#00f>switch</span> (event.type)
85</span></span><span style=display:flex><span> {
86</span></span><span style=display:flex><span> <span style=color:#00f>case</span> SDL_QUIT:
87</span></span><span style=display:flex><span> running = false;
88</span></span><span style=display:flex><span> <span style=color:#00f>break</span>;
89</span></span><span style=display:flex><span>
90</span></span><span style=display:flex><span> <span style=color:#00f>case</span> SDL_TEXTINPUT:
91</span></span><span style=display:flex><span> <span style=color:#00f>if</span> (!meta_key_pressed)
92</span></span><span style=display:flex><span> {
93</span></span><span style=display:flex><span> strncat(input_prompt_text, event.text.text, 1);
94</span></span><span style=display:flex><span> update_input_prompt = true;
95</span></span><span style=display:flex><span> }
96</span></span><span style=display:flex><span> <span style=color:#00f>break</span>;
97</span></span><span style=display:flex><span> }
98</span></span><span style=display:flex><span>}
99</span></span></code></pre><p>After that was somewhat working correctly, I started creating a struct that
100would hold all the commands and results and I call them Cells. Yes, I stole that
101naming idea from Jupyter.<pre tabindex=0 style=background-color:#fff><code><span style=display:flex><span><span style=color:#00f>typedef</span> <span style=color:#00f>struct</span>
102</span></span><span style=display:flex><span>{
103</span></span><span style=display:flex><span> <span style=color:#2b91af>char</span> *command;
104</span></span><span style=display:flex><span> <span style=color:#2b91af>char</span> *result;
105</span></span><span style=display:flex><span> SDL_Surface *surface;
106</span></span><span style=display:flex><span> SDL_Texture *texture;
107</span></span><span style=display:flex><span> SDL_Rect rect;
108</span></span><span style=display:flex><span>} Cell;
109</span></span></code></pre><p>I am at a place now where I am starting to implement scrolling. This will for
110sure be fun to code. Memory management in C is super easy. 😂<p>I have also added a simple <a href=https://en.wikipedia.org/wiki/INI_file>INI file like
111configuration</a> support. It is done in an
112<a href=https://github.com/nothings/stb/blob/master/docs/stb_howto.txt>STB style of
113header</a> and maps
114to specific options supported by the terminal. It is not universal, and the code
115below demonstrates how I will use it in the future.<pre tabindex=0 style=background-color:#fff><code><span style=display:flex><span><span style=color:#00f>#ifndef CONFIG_H
116</span></span></span><span style=display:flex><span><span style=color:#00f>#define CONFIG_H
117</span></span></span><span style=display:flex><span><span style=color:#00f></span>
118</span></span><span style=display:flex><span><span style=color:green>/*
119</span></span></span><span style=display:flex><span><span style=color:green># This is a comment
120</span></span></span><span style=display:flex><span><span style=color:green>
121</span></span></span><span style=display:flex><span><span style=color:green># This is the first configuration option
122</span></span></span><span style=display:flex><span><span style=color:green>dettach=value11111
123</span></span></span><span style=display:flex><span><span style=color:green>
124</span></span></span><span style=display:flex><span><span style=color:green># This is the second configuration option
125</span></span></span><span style=display:flex><span><span style=color:green>preview=value22222
126</span></span></span><span style=display:flex><span><span style=color:green>
127</span></span></span><span style=display:flex><span><span style=color:green># This is the third configuration option
128</span></span></span><span style=display:flex><span><span style=color:green>debug=value33333
129</span></span></span><span style=display:flex><span><span style=color:green>*/</span>
130</span></span><span style=display:flex><span>
131</span></span><span style=display:flex><span><span style=color:green>// Define a struct to hold the configuration options
132</span></span></span><span style=display:flex><span><span style=color:green></span><span style=color:#00f>typedef</span> <span style=color:#00f>struct</span>
133</span></span><span style=display:flex><span>{
134</span></span><span style=display:flex><span> <span style=color:#2b91af>char</span> dettach[256];
135</span></span><span style=display:flex><span> <span style=color:#2b91af>char</span> preview[256];
136</span></span><span style=display:flex><span> <span style=color:#2b91af>char</span> debug[256];
137</span></span><span style=display:flex><span>} Config;
138</span></span><span style=display:flex><span>
139</span></span><span style=display:flex><span><span style=color:green>// Read the configuration file and return the options as a struct
140</span></span></span><span style=display:flex><span><span style=color:green></span><span style=color:#00f>extern</span> Config read_config_file(<span style=color:#00f>const</span> <span style=color:#2b91af>char</span> *filename)
141</span></span><span style=display:flex><span>{
142</span></span><span style=display:flex><span> <span style=color:green>// Create a struct to hold the configuration options
143</span></span></span><span style=display:flex><span><span style=color:green></span> Config config = {0};
144</span></span><span style=display:flex><span>
145</span></span><span style=display:flex><span> <span style=color:green>// Open the configuration file
146</span></span></span><span style=display:flex><span><span style=color:green></span> FILE *file = fopen(filename, <span style=color:#a31515>&#34;r&#34;</span>);
147</span></span><span style=display:flex><span>
148</span></span><span style=display:flex><span> <span style=color:green>// Read each line from the file
149</span></span></span><span style=display:flex><span><span style=color:green></span> <span style=color:#2b91af>char</span> line[256];
150</span></span><span style=display:flex><span> <span style=color:#00f>while</span> (fgets(line, <span style=color:#00f>sizeof</span>(line), file))
151</span></span><span style=display:flex><span> {
152</span></span><span style=display:flex><span> <span style=color:green>// Check if this line is a comment or empty
153</span></span></span><span style=display:flex><span><span style=color:green></span> <span style=color:#00f>if</span> (line[0] == <span style=color:#a31515>&#39;#&#39;</span> || line[0] == <span style=color:#a31515>&#39;\n&#39;</span>)
154</span></span><span style=display:flex><span> <span style=color:#00f>continue</span>;
155</span></span><span style=display:flex><span>
156</span></span><span style=display:flex><span> <span style=color:green>// Parse the line to get the option and value
157</span></span></span><span style=display:flex><span><span style=color:green></span> <span style=color:#2b91af>char</span> option[128], value[128];
158</span></span><span style=display:flex><span> <span style=color:#00f>if</span> (sscanf(line, <span style=color:#a31515>&#34;%[^=]=%s&#34;</span>, option, value) != 2)
159</span></span><span style=display:flex><span> <span style=color:#00f>continue</span>;
160</span></span><span style=display:flex><span>
161</span></span><span style=display:flex><span> <span style=color:green>// Set the value of the appropriate option in the config struct
162</span></span></span><span style=display:flex><span><span style=color:green></span> <span style=color:#00f>if</span> (strcmp(option, <span style=color:#a31515>&#34;dettach&#34;</span>) == 0)
163</span></span><span style=display:flex><span> {
164</span></span><span style=display:flex><span> strncpy(config.option1, value, <span style=color:#00f>sizeof</span>(config.option1));
165</span></span><span style=display:flex><span> }
166</span></span><span style=display:flex><span> <span style=color:#00f>else</span> <span style=color:#00f>if</span> (strcmp(option, <span style=color:#a31515>&#34;preview&#34;</span>) == 0)
167</span></span><span style=display:flex><span> {
168</span></span><span style=display:flex><span> strncpy(config.option2, value, <span style=color:#00f>sizeof</span>(config.option2));
169</span></span><span style=display:flex><span> }
170</span></span><span style=display:flex><span> <span style=color:#00f>else</span> <span style=color:#00f>if</span> (strcmp(option, <span style=color:#a31515>&#34;debug&#34;</span>) == 0)
171</span></span><span style=display:flex><span> {
172</span></span><span style=display:flex><span> strncpy(config.option3, value, <span style=color:#00f>sizeof</span>(config.option3));
173</span></span><span style=display:flex><span> }
174</span></span><span style=display:flex><span> }
175</span></span><span style=display:flex><span>
176</span></span><span style=display:flex><span> <span style=color:green>// Close the configuration file
177</span></span></span><span style=display:flex><span><span style=color:green></span> fclose(file);
178</span></span><span style=display:flex><span>
179</span></span><span style=display:flex><span> <span style=color:green>// Return the configuration options
180</span></span></span><span style=display:flex><span><span style=color:green></span> <span style=color:#00f>return</span> config;
181</span></span><span style=display:flex><span>}
182</span></span><span style=display:flex><span>
183</span></span><span style=display:flex><span><span style=color:#00f>#endif
184</span></span></span></code></pre><p>This is as far as I managed to get for now. I have a daily job and this
185prohibits me to work on these things full time. But I should probably get back
186and finish this. At least have a simple version working out, so I can start
187testing it on my machines. Fingers crossed. 🕵️‍♂️</div></article></main><section><hr><h2>Posts from blogs I follow around the net</h2><ul><li><a href=https://chotrin.org/writing/2023-10-20.html target=_blank rel=noopener>OpenBSD upgrade and fall things.</a><div>Been AFK for a bit. It's autumn and I upgraded this server to OpenBSD 7.4! — <a href=https://chotrin.org>chötrin's wiki.</a><li><a href=https://mirzapandzo.com/next-image-url-parameter-is-valid-but-upstream-response-is-invalid target=_blank rel=noopener>Next/Image "url" parameter is valid but upstream response is invalid</a><div>Getting "url" parameter is valid but upstream response is invalid error with Next/Image on WSL2 — <a href=https://mirzapandzo.com/>Mirza Pandzo's Blog</a><li><a href=https://drewdevault.com/2023/10/13/Going-off-script.html target=_blank rel=noopener>Going off-script</a><div>There is a phenomenon in society which I find quite bizarre. Upon our entry to
188this mortal coil, we are endowed with self-awareness, agency, and free will.
189Each of th… — <a href=https://drewdevault.com>Drew DeVault's blog</a><li><a href=https://solar.lowtechmagazine.com/2023/10/workshop-in-rotterdam-how-to-build-a-bike-generator/ target=_blank rel=noopener>Workshop in Rotterdam: How to Build a Bike Generator</a><div>Afbeelding: Low-tech Magazine workshop in Rotterdam, the Netherlands. Poster: Marie Verdeil. Image: Sara Vercauteren
190The workshop takes place on behalf of the “Hou… — <a href=https://solar.lowtechmagazine.com/posts/>LOW←TECH MAGAZINE English</a><li><a href="http://offbeatpursuit.com:80/blog/?id=24" target=_blank rel=noopener>Printf debugging</a><div>tags:
191plan9
192There’s no shame in that. Yes, there is documentation, code to be
193read, and debuggers to be used. But sometimes you just need to “see”
194what is happening.
195So… — <a href=http://offbeatpursuit.com:80/blog/>WLOG - blog</a><li><a href=https://neil.computer/notes/chart-of-accounts-for-startups-and-saas-companies/ target=_blank rel=noopener>Chart of Accounts for Startups and SaaS Companies</a><div>Accounting is fundamental to starting a business. You need to have a basic understanding of accounting principles and essential bookkeeping. I had to learn it. Ther… — <a href=https://neil.computer/>Neil Panchal</a><li><a href=https://journal.valeriansaliou.name/deploy-a-nomad-cluster-on-alpine-linux-with-vultr/ target=_blank rel=noopener>Deploy a Nomad Cluster on Alpine Linux with Vultr</a><div>After spending countless hours trying to understand how to deploy my apps on Kubernetes for the first time to host Mirage, an AI API service that I run, I ended up … — <a href=https://journal.valeriansaliou.name/>Valerian Saliou</a><li><a href=https://jcs.org/2023/10/17/wikipedia target=_blank rel=noopener>Wikipedia Reader 1.0 Released</a><div>Wikipedia Reader
1961.0 has been released:
197wikipedia-1.0.sit
198(StuffIt 3 archive, includes
199source code
200and THINK C 5 project file)
201SHA256: 360e12d064f6579695f1e627ce34cb2f0… — <a href=https://jcs.org/>joshua stein</a></ul><p><a href=https://git.sr.ht/~sircmpwn/openring>Generated with openring.</a></section><footer><hr><p><big><strong>Want to comment or have something to add?</strong></big><p>You can write me an email
202at <a href=mailto:m@mitjafelicijan.com>m@mitjafelicijan.com</a> or
203catch up with me <a href=https://telegram.me/mitjafelicijan target=_blank>on Telegram</a>.<hr><p>This website does not track you. Content is made available under
204the <a href=https://creativecommons.org/licenses/by/4.0/ target=_blank rel=noreferrer>CC BY 4.0 license</a> unless specified
205otherwise. Blog is also available as <a href=/index.xml target=_blank>RSS feed</a>.</footer> \ No newline at end of file