Markdown flavored shoes

I’ve known and used Markdown here and there for some time, but I’m starting to really see its value. On the surface, Markdown is a way to take text and make decent looking HTML out of it, and the text still looks like some typical formatting in a plain text environment. I’ve sent managers these kinds of files, and they can just open these files in any text editor if they don’t have means of viewing Markdown. ...

2015-08-13 · 3 min · 459 words · Logan Barnett

Demystifying Webpack Table of Contents Demystifying Webpack Some Background Enter Webpack Loaders Plugins Conclusion Some Background I’ve played with a lot of the Javascript build tools in the ecosystem. Today, Webpack is my go to. I like it because it adds static analysis to my file paths for virtually everything. It also has fairly clear ways in which it transforms files. As with any tool, there’s trade-offs to it. I can’t get map files working for my unit tests, and the initial builds can take a really long time (upwards of a minute). Sure I can turn some features off to speed it up, but then I’ll miss certain errors. For example, Angular’s dependency injection system can lean on just the function parameter names, which break when any kind of minification is done. If I’m not minifying, I’m potentially missing those errors. ...

7 min · 1450 words · Logan Barnett

Table of Contents Functional Programming with Angular Angular and Functional programming Checklist to get functional Get on a package manager Export all the things Demolish privacy Pass more parameters Pass functions, not objects Mutate state at the last possible second Added benefit: Unit testing Conclusion Functional Programming with Angular Angular.js has paid my bills for about 4 years now. It’s a behemoth framework commonly adopted by larger organizations wishing to get into the rich web client space. The larger organizations come from “tried and true” Java or C# frameworks like Spring, Struts, Dropwizard, MVC.net, and others I’m sure I’ve missed. If so, a lot of the trimmings that Angular has are very comfortable to you. There’s a routing mechanism, there’s an MVC-like structure, templates, and you have means of making things “private” in this icky JavaScript that looks so goofy and unsafe. ...

7 min · 1457 words · Logan Barnett

Procedural generation has been something of keen interest to me for a while now. This kind of work is tied up in all kinds of algorithmic computer-science-y stuff that’s a source of endless fascinating. One of the big things I like about it is it puts the hard work of content generation towards the computer. Computers aren’t very clever, but they have immense computational brute strength. We can leverage this to create content derived from abstract reasoning rather than heaps of raw data. ...

4 min · 759 words · Logan Barnett

Graphing and Plotting

Table of Contents introduction reading material and citations plot ob-gnuplot reset separator dates working example introduction org-mode supports graphing with gnuplot. This can be done directly with #+plot but it’s very rudimentary. It can also be done with org-babel and I can still feed tables into it. reading material and citations ob-gnuplot docs Has lots of good examples for gnuplot via ob-gnuplot. org-plot docs org-plot documentation. Examples feel sparse for my simian mind. org-plot tutorial And has the org mode version I can use as reference. Plotting (with gnuplot) using dates timestamps Mailing list discussion showing how org-timestamp columns get converted to another format. gnuplot documentation ...

2 min · 366 words · Logan Barnett