guest - flak
Flaakle

package of the moment: tview and tcell

I wanted to make an interactive terminal interface for something. Usually I just bang out some vt100 escapes to move the cursor around, color this, erase that. It’s crude but effective as long as the number of screen elements is kept to a minimum. This time, though, I decided on a slightly more disciplined approach, and so I was looking for a library that might assist in drawing views of various sizes, and input fields, and buttons. The works. In go.

Continue reading package of the moment: tview and tcell...

Posted 2019-02-18 17:58:45 by tedu Updated: 2019-02-18 17:58:45
Tagged: go software

github ui

I’ve been paying a bit more attention than usual to web interfaces, and there’s a few examples which really get to me. GitHub is one that’s annoyed me for a while, but I didn’t quite know what was wrong until I looked at some screenshots to see what was frustrating me.

Continue reading github ui...

Posted 2019-02-13 23:08:46 by tedu Updated: 2019-02-14 17:39:24
Tagged: rants web

patience diffing algorithm

I needed a (text) diff algorithm, and if you search for one you mostly come up with the Myers algorithm. But then I stumbled across something called patience diffing, and it turns out to be just what I wanted. It’s already described elsewhere, but it seems more people could stand to know about it, so here we are. It’s easy to understand, and more importantly, usually makes pretty diffs (often prettier than Myers).

Continue reading patience diffing algorithm...

Posted 2019-02-13 21:34:14 by tedu Updated: 2019-02-20 10:06:24
Tagged: programming

griping about go

I mostly like go, but after working with it a bit more I realize there are a few jibs of which the cut I do not like.

Continue reading griping about go...

Posted 2019-02-07 15:11:15 by tedu Updated: 2019-02-07 15:11:15
Tagged: go programming

toying with gomacro

I had some go code I wanted to quickly iterate on. Go compiles pretty quickly, but not instantly. Like 2 seconds. In some places, I can use gopher-lua, which gets me pretty close to 0 second iteration delay, but there’s a big up front development cost. It’s useful for scripting an existing program and adding custom behavior, but less useful for experimenting to see what happens when I do X. What I need is an actual interpreter for go, not an interpreter in go.

Continue reading toying with gomacro...

Posted 2019-01-19 02:38:40 by tedu Updated: 2019-01-19 04:10:29
Tagged: go programming

near match fast lockout

My phone decided it didn’t like my face and wouldn’t let me log in. Unusually, instead of giving me some retries, it immediately locked me out, requiring a passcode. At first I thought this might be a security measure, but I’m pretty sure it was just a glitch. However, it’s an interesting possibility for an authorization system. Fast lockout after a near match.

Continue reading near match fast lockout...

Posted 2019-01-15 03:24:24 by tedu Updated: 2019-01-15 03:30:10
Tagged: security thoughts

toying with wireguard on openbsd

New year, new network. WireGuard promises to be a simpler more secure alternative to IPsec, and there’s a beta iOS client, so I thought I’d try my hand at setting up a server endpoint.

Continue reading toying with wireguard on openbsd...

Posted 2019-01-01 15:45:15 by tedu Updated: 2019-01-01 15:45:15
Tagged: openbsd

razer blade stealth

I tried out a new laptop.

background

I’m actually very happy with my 2015 Thinkpad X1 Carbon. But as I slowly adopt more USB-C devices, I would like to consolidate on that as a charger format. USB-C laptops have been available for a while, but in the wake of meltdown, I saw no reason to purchase anything that wasn’t fixed. Finally, my gaming desktop is also in a satisfactory but aging state, and the possibility to replace it with a laptop and eGPU is enticing.

Continue reading razer blade stealth...

Posted 2018-12-22 22:16:39 by tedu Updated: 2018-12-24 04:04:46
Tagged: computers review

newspaper graphics

Sometimes there’s just too many words and I want to look at visualizations and graphics. A collection of links.

Continue reading newspaper graphics...

Posted 2018-12-19 00:20:28 by tedu Updated: 2018-12-24 04:48:28
Tagged: links web