This year, I really wanted to work on my output, and I think I’m doing pretty well. Here are some things that I’ve been publishing:
Regular monthly blog posts on yakushima.blog A few posts this year on the Geolonia blog for work However, updates on this personal blog has been not so great – the previous post is the “2023 review” post, after all.
I’ve been updating this blog from 2012, when we officially incorporated Flagship.
Rubinius is an implementation of the Ruby language spec. I’ve been using it recently for a project, and I’ve been liking it so far. Here’s a few thoughts I’ve been having while using it.
Philosophy The Core Rubinius, in its core, is written in C++ and uses LLVM (Low Level Virtual Machine). Without getting too technical, it translates the Ruby code that you write into efficient machine code, then executes the machine code directly on the CPU.
A week ago, I posted Automate your Workflow: Local WordPress Install with a script that helps you install new WordPress installations. I’ve been using it regularly, and have made some improvements:
Multi-language support (install a different language with the -l switch) Nightly build support ( -v nightly) Multi-version ( -v {code in the 'Version' column}) Arbitrary URL support ( -u {URL}) As always, the script is available as a gist.
Lately, I’ve been pretty obsessed with streamlining my workflow, which means writing scripts (read: building tools to do stuff for me). They say that the best programmers are the laziest; I can’t vouch for being a great programmer, but I can proudly say that I am pretty lazy.
So, I’ve decided to start cleaning up my tools and posting them here as I make them. Use at your own risk!
In the past few weeks, I’ve found myself demonstrating how to do things on my computer for other people. You know, screenshots, screencasts, the like. I ran into a small problem: Most of the people I need to teach don’t understand English. And my default user interface is in English. So, I ran into this little trick: $ [path to app]/Contents/MacOS/[app name] -AppleLanguages '([language code])' That little bit of Terminal
If you haven’t noticed, you can’t use anchor links:
<a href="#hello">Go to id="hello"</a> Inside Facebook Apps (Page tab, Canvas app, etc). So I wrote a little snippet that emulates this behaviour by using FB.Canvas.scrollTo(x, y);
/* anchorlinks-fbcanvas.js Enables anchor links (<a href="#hello">Go to id="hello"</a>) in Facebook Canvas (page tabs, canvas app, etc) Requires: jQuery, Facebook JS SDK */ jQuery(function($) { $('a').filter(function() { return $(this).attr('href').match(/^#/); }).each(function(i, el) { $(el).click(function(e) { e.preventDefault(); var elementId = $(el).
There’s a Japanese word I like, “謎” - the dictionary defines it as “a mystery”, “riddle”, or “enigma” - I like to define it as “something that makes no logical sense whatever”. Here is a part of WordPress that I think makes no logical sense whatever. Inconsistent Naming Convention In The Loop, as WordPress likes to
I’ve been making a Facebook iframe app recently, and I found that this little code »
jQuery('a').children('img') just doesn’t work on Everyone’s Favorite Browser™ (Internet Explorer 8).
jQuery('a').children('img').length always returned “0” for me. So I had to end up using .find('img') instead.
The origins of Twitter.
Here you go, free service! Wow, thanks for all those users! Look, you were great, but we don’t (really…) need you anymore. Fuck you. In related news, if you haven’t heard about it yet: Twitter API v1.1