Author

rectorsquid

Computers & Programming

Parsing Strings with Multiple Delimiters in Swift

I have a specification at work that says my software needs to see a URL like this: https://blog.rectorsquid.com/derf?test={id}&test2={data} and then open the URL as if it were something like this: https://blog.rectorsquid.com/derf?test=12345&test2=hellothere I first wrote some code that would split the input using the open curly brace as a…

Continue reading
Computers & Programming

Unmoving Windows 11 Taskbar

Windows 11 doesn’t let us place the taskbar on the side of the screen. Let’s count how much vertical space is taken up by things that are not the document that we are editing: title bar, tool bar, status bar, scroll bar, task bar, the measurement bar in…

Continue reading
Games

Anno 1800

Anno 1800 is a board game designed by Martin Wallace (Brass, Rocketmen). It is a medium to heavy game that takes at least two hours to play. I played it for the first time a few days ago and thoroughly enjoyed it. Anno 1800 is a crafting game…

Continue reading
Linkage Program

Closer to Cams Than Ever

After many more hours of work, I have a complete polyline editor. Each segment can be a Bezier curve or a straight line. Each node can be a cusp or have the control points smooth and optionally symmetrical. Nodes can be added and deleted and the curve can…

Continue reading