Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _posts/2012-11-16-manowrimo.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Here's my blurb:


<blockquote>
The room slowly quieted as the doors swung aside and the president entered, flanked by his bodyguards and chief of staff. The barely perceptible clicks of a dozen or so digital recorders was enough to hush the remaining informal discussions. Chairs shuffled. Papers were involuntarily wiped clean in preparation for notes. The president cleared his throat. "Good morning ladies and gentleman, we'll try to keep this brief". As he spoke, his voice became fainter. In fact, *he* became fainter, seemingly becomming translucent. It wasn't until the president had entirely vanished that the minds of those in the room managed to process what had just happened - the president had just disappeared in front of their eyes.
The room slowly quieted as the doors swung aside and the president entered, flanked by his bodyguards and chief of staff. The barely perceptible clicks of a dozen or so digital recorders was enough to hush the remaining informal discussions. Chairs shuffled. Papers were involuntarily wiped clean in preparation for notes. The president cleared his throat. "Good morning ladies and gentleman, we'll try to keep this brief". As he spoke, his voice became fainter. In fact, *he* became fainter, seemingly becoming translucent. It wasn't until the president had entirely vanished that the minds of those in the room managed to process what had just happened - the president had just disappeared in front of their eyes.
</blockquote>
2 changes: 1 addition & 1 deletion _posts/2013-08-25-emacsgolf.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Who says I don't like sport?

Competitive nerdiness? Oh yeah! On trying to learn as much as I can about using <a title="THE one true text editor" href="http://en.wikipedia.org/wiki/Emacs" target="_blank">Emacs</a> better (THE one true text-editor) I came across a wonderful site; <a title="Emacs Rocks!" href="http://emacsrocks.com" target="_blank">emacsrocks.com</a> which has video tutorials on some really handy features (Emacs is full of features to the point that people say 'Emacs is a great operating system, if only it had a decent text-editor!').

On that site the host mentioned something called <a title="VimGolf" href="http://vimgolf.com/" target="_blank">VimGolf</a> (<a title="That other editor" href="http://en.wikipedia.org/wiki/Vim" target="_blank">Vim</a> being that other -- probably useful -- text editor that defines the Trek/Wars level conflict between nerds) where people try to tranform a text file from one given configuration to another using the smallest number of keystrokes (golf style; lowest count wins). On Emacs vs. Vim, there's an obligatory XKCD:
On that site the host mentioned something called <a title="VimGolf" href="http://vimgolf.com/" target="_blank">VimGolf</a> (<a title="That other editor" href="http://en.wikipedia.org/wiki/Vim" target="_blank">Vim</a> being that other -- probably useful -- text editor that defines the Trek/Wars level conflict between nerds) where people try to transform a text file from one given configuration to another using the smallest number of keystrokes (golf style; lowest count wins). On Emacs vs. Vim, there's an obligatory XKCD:

[caption id="" align="aligncenter" width="740"]<a href="http://xkcd.com/378/"><img src="http://imgs.xkcd.com/comics/real_programmers.png " alt="Of course, this has been implemented, and works." width="740" height="406" /></a> Of course, this has been implemented, and works.[/caption]

Expand Down
2 changes: 1 addition & 1 deletion _posts/2013-12-13-300-bottles-of-beer-on-the-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ As I was beginning to re-learn MySQL at the time of starting the list, I decided
<li>Scanned the Notes SQLlite file for a Note beginning with the tag 'BEERLIST'</li>
<li>If found, extracted the body of the note into a CSV (under the vague assumption that I'd entered data in a usable format)</li>
</ul>
At this point, a little human intervention was required, in which I fixed up the CSV list of beers/breweries by hand. From there, I re-exported to a CSV file. I had MySQL create a database table, read in the CSV, remove duplicate beers, order by brewery, and generate linked tables of breweries and beers. It also counts the number of occurances of each beer, though I'm not currently leveraging that functionality. The less of that code anyone sees, the better. It's a mess, and I won't be posting it here.
At this point, a little human intervention was required, in which I fixed up the CSV list of beers/breweries by hand. From there, I re-exported to a CSV file. I had MySQL create a database table, read in the CSV, remove duplicate beers, order by brewery, and generate linked tables of breweries and beers. It also counts the number of occurrences of each beer, though I'm not currently leveraging that functionality. The less of that code anyone sees, the better. It's a mess, and I won't be posting it here.

That's all well and good if I wanted everyone to come over and <code>SELECT DISTINCT(BREWERY) FROM BEERLIST</code> from within the database. The next step was to get it visible. A little PHP was all I needed to query the database on each page load (with the login details nicely hidden by the HTML-spitting script) and a tiny bit more HTML/css/PHP to get it neatly presented in a clean table containing appropriate links to each alphabetical category of brewery. I've tilted the formatting towards my own iPhone screen, since that's mainly where I want to view the site.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-11-26-simplystats-thanksgiving-puzzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permalink: >
http://jcarroll.com.au/2015/11/26/simplystats-thanksgiving-puzzle/
published: true
---
I owe a lot to Jeff Leek and Roger Peng for their great Coursera courses, in which I learned to program in R. They (along with Rafa Irizarry) run the <a href="http://simplystatistics.org/" target="_blank">Simply Statistics</a> blog, which I highly reccomend. They posted a Thanksgiving puzzle in which a data.frame needs to be converted from one form to another, spelling out 'thanksgiving'.
I owe a lot to Jeff Leek and Roger Peng for their great Coursera courses, in which I learned to program in R. They (along with Rafa Irizarry) run the <a href="http://simplystatistics.org/" target="_blank">Simply Statistics</a> blog, which I highly recommend. They posted a Thanksgiving puzzle in which a data.frame needs to be converted from one form to another, spelling out 'thanksgiving'.

<a href="http://simplystatistics.org/2015/11/25/a-thanksgiving-dplyr-rubiks-cube-puzzle-for-you/">http://simplystatistics.org/2015/11/25/a-thanksgiving-dplyr-rubiks-cube-puzzle-for-you/</a>

Expand Down