IRC channel logs

2026-06-27.log

back to list of logs

<matrix_bridge><Jeremiah Orians> A naive implementation of SET is 1072 bytes (one could easily get it under 512)
<matrix_bridge><Jeremiah Orians> And it is a line based editor (requiring enough RAM to hold the entire file)
<xentrac>I wrote this one night on my cellphone, and for amd64 with -Os it compiles to 1295 bytes of code: https://canonical.org/~kragen/sw/dev3/editline.c
<xentrac>GCC isn't very good at emitting compact code so I'm sure you could get it below that
<xentrac>it's a relatively full-featured terminal line editor
<matrix_bridge><Jeremiah Orians> Nice
<xentrac>it's about 263 instructions. ① 263 instructions is probably reasonable for the editing functionality it implements, but ② 1295 bytes is a completely unreasonable amount of code for 263 instructions
<mihi>xentrac, who is operating that webserver? Are they trying to get SSL Labs scan as red as possible? https://www.ssllabs.com/ssltest/analyze.html?d=canonical.org
<mihi>(Self-signed, expired certificate for a different domain, SHA1 only, TLS1.0-1.2 without PFS, ...)
<roconnor>xentrac: If you want an webserver that ticks the green checkmark you can try out httpv: https://tom7.org/httpv/
<roconnor>Now with even more prime factors!
<stikonas>mine gets A+ :)
<stikonas>just missing post-quantum support
<stikonas>probably just need to add those ciphers to configuration file