Title photo
frugal technology, simple living and guerrilla large-appliance repair
Sat, 30 Dec 2017

re-frame: A Reagent Framework For Writing SPAs, in Clojurescript.

re-frame: A Reagent Framework For Writing SPAs, in Clojurescript. https://github.com/Day8/re-frame

Simple and Happy: Is Clojure dying, and what has Ruby got to do with it? | Lambda Island

Simple and Happy: Is Clojure dying, and what has Ruby got to do with it? | Lambda Island https://lambdaisland.com/blog/25-05-2017-simple-and-happy-is-clojure-dying-and-what-has-ruby-got-to-do-with-it

Why Clojure?

Why Clojure? http://blog.venanti.us/why-clojure/

Thu, 28 Dec 2017

Regexes in Clojure for fun and profit | LispCast

Regexes in Clojure for fun and profit | LispCast http://www.lispcast.com/clojure-regex

Wed, 27 Dec 2017

Talk: A new online-comments system from the Coral Project

Talk: A new online-comments system from the Coral Project https://coralproject.net/products/talk.html

Chemistry is quantum computing’s killer app | Chemical & Engineering News

Chemistry is quantum computing’s killer app | Chemical & Engineering News https://cen.acs.org/articles/95/i43/Chemistry-quantum-computings-killer-app.html

Learning to code in 6 months — a product manager’s journey | Hackernoon

Learning to code in 6 months — a product manager’s journey | Hackernoon https://hackernoon.com/learning-to-code-in-6-months-a-product-managers-journey-b5d09b856f72

The future of buying stuff won't involve humans at all, except you | Bloomberg.com

The future of buying stuff won't involve humans at all, except you | Bloomberg.com https://www.bloomberg.com/features/2017-future-of-automation/

Steady work on rewrite of the BlogPoster app

I have been working steadily on the BlogPoster app, both tightening up the current "production" version and slowly coding the new "modular" version based on Ruby blocks.

Over the weekend I coded up a few blocks in what I hope will be a very atomized app in which all of the blocks do just about one thing and can be called upon in various combinations for different tasks.

Today I worked on the regexes for creating filenames based on post title. The hardest part is dealing with strange characters and website <title> text that contains lots of linefeeds. (Confession: This site did the same until I fixed it. Please don't put linefeeds in your <title>.)

I got rid of the extra linefeeds, but I was ending up with occasional doubled underscores (my go-to replacement character for the space between words). I came up (i.e. Googled and stole) the regex for "match two or more of this character," which in this case is __+, and I was off to the races. I also figured out that in HTML titles with extra lines, I was inadvertently adding an underscore to the beginning of a string, and I used ^_ to find that and kill it out. Regex is fun and profitable.

Hopefully I'll get back to working on the "new" version. I'm coding it slowly and deliberately because I don't want it to be a mess. Next version will be more object-oriented (i.e. will use classes) if I can figure that out. First we'll see how this version turns out,

Tue, 26 Dec 2017

Clojure Newbie Guide

Clojure Newbie Guide http://www.clojurenewbieguide.com/