Category

Computers & Programming

Computers & Programming, Linkage Program

Simulation Woes

I had a running error, or something like that, in the Linkage program. I had targeted 30 frames per second for animations and I used a 33 millisecond target time for each frame. If a frame took less than 33 milliseconds to compute and draw, I would add…

Continue reading
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
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