Elektrine lite

← Feed

Sophie

sophia81@icosahedron.website

<p>🏳️‍⚧️</p>

Posts

  • View post

    I&#39;d love to know what the fuck is up with it. This has bit me a few times in the past, and is biting me now. Terminal emulator. Should be simple. AFAICT stdout is buffered, and those buffers not filling blocks output from the shell. But they&#39;re never going to fill, because interactive shells don&#39;t send newlines after all data.... ```C int fd; if( 0 != forkpty(&amp;fd,0,0,0) ) return; execvp(getenv(&quot;SHELL&quot;), NULL); ``` No amount of `fflush(NULL);` or `setvbuf(stdout,NULL,_I...

  • View post

    The &#39;A&#39; glyph from the font &quot;MrBedford-Regular.ttf&quot; rendered in a font creation tool, and the points from it rendered in ASCII from my program. The &quot;gotcha&quot; for me was the `IS_SAME_OR_POSITIVE` flags in the `glyf` table. TT fonts store their points as relative to the previous point. So each &quot;point&quot; is a delta value. &quot;IS_SAME&quot; does not mean the current delta is the same as the previous delta, it means this delta is 0. Tell me I&#39;m not the onl...

  • View post

    It is impossible to speak/write without context. That I have chosen to write this in English puts a colossal amount of context into play. The place I have written this brings with it context as well. *When* I have written this is a very large body of context. When it is being read brings further context. Then there is me. Anything I write brings the context of my life. No one knows all of that context, not even me. There are things that have shaped my life that I have no knowledge of. And l...