💾 Archived View for thurk.org › blog › 226.gmi captured on 2022-07-16 at 15:22:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

➡️ Next capture (2023-07-22)

-=-=-=-=-=-=-

I bow to pesky pattern recognition

Topics: blog, programming, javascript

2013-12-23

I have just rewritten the script which slurps up new blog entries. This time, instead of whatever the first pattern was I used (lack of pattern at all - ie, haphazard?) or the prototype pattern, I have opted for the elegance of the module pattern.

Have I tested it?

Is this entry part of the test?

So, thirty or so minutes later, I have completed this so-called module pattern. The code can be seen here[1].

It is high time to begin translating the radiotracking software from Ruby on Rails to Sails (node.js). The funnel of the evening is sucking me towards sleep, though it is still early. Perhaps instead of spending my remaining waking hours peering around sagging eyelids and attempting to code, I'll scoop out the innards of my sinuses, cartilage and all, puree it with olive oil, avocado and cashews, and attempt to feed it intravenously to the neighbourhood calico.

1: https://github.com/inhortte/blog_to_mongo/blob/module_pattern/lib/entry.js

tzifur (Martenblog home)

jenju (Thurk.Org home)

@flavigula@sonomu.club

CC BY-NC-SA 4.0