tags: Ruby

2007

July

2007 Jul 25
migrating from wordpress to typo 4.1.1 (trunk) on dreamhost

This is just a quick outline of the steps I took, which I hope to fill in as time goes on.

· Read more…

August

2007 Aug 2
getting mephisto (trunk) to work on dreamhost

I found all of this rather confusing, since I’m pretty sure I downloaded the same version of Mephisto to my local machine as well as to my Dreamhost account. But I got things running on my local machine with no problem, but had to struggle for a couple of days to get it to work on Dreamhost (with Ruby 1.8.5 and Rails 1.2.3 as of this writing.)

· Read more…

2007 Aug 28
migrating from mephisto to simplelog

So I managed to teach myself how to use Rails a little, mainly, how to utilize the magic that is ActiveRecord (which unfortunately probably took me at least 48 hours of sustained effort spread out over the last six days.) ActiveRecord makes me almost forget that I'm dealing with a SQL database. I don't have know any arcane syntax. I just have to know Ruby, which is an extremely Zen-like thing to know. (I know it's a stereotype, but, damn, you've got to hand it to the Japanese.) OK, I'm oversimplifying. I haven't really gotten the hang of join tables, but its nothing that convoluted kludgery can't get around.

· Read more…

October

2007 Oct 27
rails vs php

I don’t know why, but suddenly I had the urge to try yet another blog engine, even though I haven’t really hacked into SimpleLog’s internals and given customization a chance, which was the whole point of using it.

· Read more…

December

2007 Dec 18
where is everything?

Coding—even in Ruby—is not exactly plug-and-play, but it's a whole hell of a lot easier than it used to be, I guess.

· Read more…

2007 Dec 19
scattered thoughts on code complexity and natural language

Steve Yegge's rants about programming are always really interesting. I'm all about the big picture, and I like how he can properly abstract his arguments so that it makes sense to a non-specialist. Very few technically competent people (whatever the field) are actually able to do this, and if they could, it would certainly make cross-discipline interaction a lot easier.

· Read more…

2007 Dec 22
switching back from simplelog to mephisto

In case you didn't notice, I also switched my blog engine again. Now that Rails 2.0 is out, I thought I'd give Mephisto (from svn) another spin, and it seems to be working relatively well, much better than when I last tried it, although I still get the occasional 500 error.

· Read more…

2007 Dec 27
Dreamhost, htaccess, and routes.rb

I have never been able to get my .htaccess file to properly redirect requests from different blog engines. For example, Simplelog tacks on either /archives/ or /past/ to its URLs, and Typo tacks on /articles/ to its posts. That's one of the things I like about Mephisto: it doesn't add what I feel are superfluous tokens to the URLs. (Although I am still trying to figure out how to get rid of /archives/ from the monthly posts.)

· Read more…

2007 Dec 28
simplelog to mephisto

migrating from Simplelog to Mephisto

· Read more…

2008

April

2008 Apr 25
fixed

While I had stay at work all night until the morning, I really didn't do much besides get Mephisto up and running again. This all started because I got sick of the Scribbish theme (which is, nonetheless, a great theme—I dig the hAtom support). I tried to install the Clarity-Orange theme but because Safari irritatingly always decompresses files, I ended up with a folder instead of zip file.

· Read more…

2015

July

2015 Jul 7
tags in Jekyll

So it took me a while to figure out how to implement tags in Jekyll the way I wanted.

· Read more…

August

2015 Aug 4
Long Term Project

It's been five months give or take since I decided to move my blog to a new domain and to migrate all my entries to Jekyll.

· Read more…

2015 Aug 31
Migrations

So I've been slowly going through all my blog posts lately, converting them to YAML+Markdown to use with Jekyll

· Read more…

October

2015 Oct 20
List Manipulation

I am amused (because I am a weirdo) by how common the paradigm of manipulating lists is in computer programming, specifically, the need to separate the first element in a list from the rest of the list.

· Read more…

2015 Oct 20
Unwrapping Nodes with Nokogiri

I learned a lot about the Nokogiri gem (used to parse and manipulate XML and HTML) when I wrote a script to download all my FriendFeed posts.

· Read more…

2015 Oct 20
Markdown Implementation Lock-In

For a while, I was thinking about fleeing Jekyll for some other static-site generator.

· Read more…

2015 Oct 21
Screwing around with Custom Liquid Tags

I've spent some time screwing around with creating custom Liquid tags.

· Read more…

2015 Oct 24
Old Projects Still on Github

I am kind of amazed that some old blog engines that I used to use still have code up on GitHub.

· Read more…

November

2015 Nov 19
Ruby-like Languages

I don't code professionally, but I've been a programming dilettante since I was like eight years old #nerdalert

· Read more…

2016

July

2016 Jul 8
Not So Synchronous

In some tangential synchronicity to this post about Don Quixote I learned from digging through some Ruby documentation that Cervantes and Shakespeare did not in fact die on the same day, since Spain had already adopted the Gregorian calendar at that point while England was still on the Julian calendar.

· Read more…

2016 Jul 15
At the Mouth of Monkeypatching Hell

For a while now, I've been trying to figure out a way to decrease the amount of time it takes [Jekyll][1] to render my blog. It now takes up to 6-8 minutes, which seems rather excessive.

· Read more…

August

2016 Aug 17
Jekyll is Driving Me Crazy

*Attempts to optimize some code*

· Read more…