Jim's Depository https://jim.studt.net/depository/ 2020-11-23T21:36:19Z this code is not yet written Jim jim@studt.net Femtoblogger gains dark mode support 2020-11-23T21:36:19Z tag:jim.studt.net,2015-08-25:/depository/articles/femtoblogger-gains-dark-mode-support <p>If you are thinking things changed, you are probably getting the dark mode support. It's your browser's choice. I send the same stuff to you, but the CSS is now littered with <code>@media (prefers-color-scheme: dark) {</code> sections to change things up for dark mode. …</p> jim Femtoblogger News 2020-11-23T19:52:30Z tag:jim.studt.net,2015-08-25:/depository/articles/femtoblogger-news <p>I've switched from the <a href="https://github.com/JohnSundell/Ink">Ink</a> markdown processor to <a href="https://github.com/iwasrobbed/Down">Down</a>. I liked that Ink was pure swift, but I kept spending time enhancing it to meet my needs. Down uses libcmark, which I'm not wild about having inside my server, but hopefully I won't spend any more time thinking about it. …</p> jim Thoughts on Swift Argument Parser 2020-11-22T23:35:06Z tag:jim.studt.net,2015-08-25:/depository/articles/thoughts-on-swift-argument-parser <p>I'm a big fan of <a href="https://github.com/apple/swift-argument-parser">Swift Argument Parser</a>. It generally makes command line argument processing painless. …</p> jim Add an SSH Console to you Swift Server 2020-11-22T23:18:40Z tag:jim.studt.net,2015-08-25:/depository/articles/add-an-ssh-console-to-you-swift-server <p>I have a number of servers written in Swift. Mostly these are HTTP backends. As anyone who has written backends knows, you always want to query some information out of them or maybe change a setting. Then ensues a carving off if the URL space, writing a bunch of command handlers, fretting over how to keep users out of them, and a creeping need to fuss with the HTML. …</p> jim Adding an SSH management console to a Swift server 2020-11-20T18:26:39Z tag:jim.studt.net,2015-08-25:/depository/articles/adding-an-ssh-management-console-to-a-swift-server <p>I notices NIOSSH today for SSH support in Swift. I'm going to try it as a management console for one of my HTTP backends. For an idea of how much effort is involved I'll give a running tally here. …</p> jim I've Overranted 2020-11-19T17:26:24Z tag:jim.studt.net,2015-08-25:/depository/articles/i've-overranted <p>I was typing up my thoughts on using SwiftUI and broke femtoblogger! My screed gets truncated about half way through. …</p> jim First thoughts on SwiftUI 2020-11-19T16:27:10Z tag:jim.studt.net,2015-08-25:/depository/articles/first-thoughts-on-swiftui <h2>History</h2><p>About 20 years ago Apple rolled out AppKit, the NS* world of user interface programming, though it was already about 10 years old. …</p> jim New content for the first time in 5 years has attracted comment spam. 2020-11-11T21:37:01Z tag:jim.studt.net,2015-08-25:/depository/articles/new-content-for-the-first-time-in-5-years-has-attracted-comment-spam. <p>The robots are reading at least. The rate is low enough I'll just manually delete them for now. …</p> jim Back to the Language 2020-11-07T04:48:37Z tag:jim.studt.net,2015-08-25:/depository/articles/back-to-the-language <p>This blog started 13 years ago musing about a language. I'm back to the language. …</p> jim On Writing an Operating System 2020-11-07T03:51:27Z tag:jim.studt.net,2015-08-25:/depository/articles/on-writing-an-operating-system <p>While pondering what progress could be made in programming languages, I delved into how one might write single process, concurrent code to build systems with many simultaneous clients. It seemed that a stumbling block to feeding such a system was the weird mismatch with Unix and its mostly blocking API. …</p> jim