2020-02-10
I submitted my first OpenBSD diff and started work on an editor. I haven't gotten much done on kortex, though.
One thing I got around to today is getting my mbsync and mutt setup done. I'll write that up in a separate post.
I signed up for sr.ht so I decided it was time to clean out my bitbucket account; I ended up salvaging 124 repos. That's... a lot. Some of them are things like my old gitit wikis. Some of them are dupes of stuff I put on Github (I'd put them on bitbucket first as mercurial repos). Running cloc over it:
$ cloc .
11083 text files.
3300 unique files.
Unable to read ./clones.sh
9382 files ignored.
github.com/AlDanial/cloc v 1.80 T=69.35 s (38.4 files/s, 3768.8 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 240 8614 6919 44013
JavaScript 36 6234 3991 32369
Ruby 873 4688 14306 16460
Go 181 2580 1646 15595
HTML 79 1990 583 12489
Markdown 250 3018 0 11885
TeX 32 1610 3203 11205
CSS 26 1285 194 7397
Visualforce Page 123 1229 3 6540
Python 104 2131 1739 6199
C/C++ Header 112 1154 2738 4509
ERB 185 387 0 3249
make 139 947 293 2731
Assembly 35 389 671 2139
Bourne Shell 56 400 362 1882
Sass 32 222 89 1242
Visual Basic 1 67 0 941
Perl 5 204 134 918
Lisp 21 145 46 788
YAML 57 128 332 742
Lua 2 106 82 718
XML 8 120 2 647
m4 10 36 2 245
Clojure 15 41 22 244
vim script 1 3 4 182
lex 6 29 15 113
JSON 4 0 0 109
yacc 3 30 9 105
builder 7 21 0 90
C++ 6 39 75 88
Haskell 2 11 2 52
XHTML 1 0 1 49
Haml 2 4 0 24
SQL 2 0 1 16
CMake 1 4 0 10
Protocol Buffers 1 2 0 9
awk 1 1 0 7
sed 1 0 0 7
CoffeeScript 2 1 6 5
Standard ML 1 1 0 4
Smalltalk 1 0 0 1
-------------------------------------------------------------------------------
SUM: 2664 37871 37470 186018
-------------------------------------------------------------------------------
There's stuff in here like sites with vendored bootstrap.js or whatever, so these counts are way off as far as representing code I wrote. Still, interesting to see. There's quite a bit of history here, too, including some of the first real software I ever worked on. A lot of my hopes, dreams, and aspirations of old are represented here.
OpenBSD diff
I added a note to dhclient.conf pointing out the existence of /etc/examples/dhclient.conf. It kicked off some discussion. I'll probably resubmit then find something else to do.
Update: I submitted like 5 minutes later. We'll see.
Update to the update: Ingo already committed his own version of this and other things; it's a little disappointing that I finally found something I could do but then not actually able to do it.
Editor
I've been following along with a kilo tutorial; once I'm done with that, I'm going to look into rewriting my editor from scratch using ncurses, probably. For now, I've just gotten tab rendering done; it doesn't edit yet, though, which is a problem for a so-called text editor.
kortex
I haven't gotten anything done on this in a while; I need to figure out how to create a scrollable, sorted container of tag names.