journal
all all entries rss SoML excited dreams runes YRUU ultimate KTRU skate sleepy nihongo
Rob is 20,357 days old today.

Entries this day: Journal-plans Logged-in_to_AWS Running-hakyll-on-AWS Yay-cool-toy-store Yay-local-journal problem-with-images soml

Journal plans

Things to do related to this Hakyll static site:

  1. Make sure I'm not being charged for my micro instance on AWS. If I am, then consider using Jekyll on DH.
  1. Finish the git-based hook system for posting my journal online via git pushes.
  1. Tweak the site generation code so the URLs include the date, and so the files themselves are organized in directories by date. I don't want a bajillion files in one giant /posts directory (or even 100)
  1. Write a macro(?) for SublimeText2 to create journal entry files. Basically it will use the local date as default, then I'll give it a title and it will create the file with date-based path/name + title.markdown and then put the title in the meta data for the file and put the date as the top line (and a 'written date' if I didn't use the default date of NOW)
  1. Add tags
  1. Figure out how to put images in this format. Egad. That's what pushed me off my Perl based version in the first place.
  1. Use an importer for Jekyll to import my Wordpress journal entries into this format (unless there's one written for Hakyll, but they're pretty much the same format.)
  1. Import journal entries from my old school journal indexed with the cgi script Fred and I wrote in Perl back in the day.
  1. Import journal entries (and images) from the hoken blog thing. (That might take way longer but we'll see if I can do it quickly based on how easily I can do the others.)
  1. Leave those journals intact just for posterity.
  1. Register SublimeText2
  1. Tweak the CSS of the site to make it kewl.
  1. Add comments (via Disqus or its rival probably)
  1. Optionally, expand this site to include stuff like my old writings, from Feel Good Net to Wild Skating Adventures to various travel stories from my essentially defunct email list.Oh, and all the TIMES, ITEMS, PEEPS, etc stuff off my wiki, but leaving all the art related stuff.
  1. Start moving other junk off my old provider (Dreamhost, you've been a great workhorse for many years; thank you. I'm sure we'll be in touch.)

I'm not sure yet about one thing, though: what to call the domain during the transition. I'm thinking it will be new.robnugen.com to start, but I don't totally like it. I could buy a new domain and let fly2.nu fly away, or one of the others I've not really used. Hmmm.

##a bit later##

The dark version is DarkFox's original CSS:

DarkFox CSS

thunderrabbit CSS

permalink

Logged in to AWS

Was able to login to AWS this morning. Turns out I don't have a MFA token. Bah.

Note to future self: my login URL is https://thunderrabbit.signin.aws.amazon.com/console

permalink

Running hakyll on AWS

Running Hakyll on ~~Dreamhost~~ AWS

UPDATE: Run Hakyll for free on AWS is a better tutorial than the mess below.

I gave up trying to install Hakyll on Dreamhost when I realized I probably wouldn't be able to install Haskell at all. I have a ticket in to DH now, but I bet they'll say "sorry, not on shared hosting; why don't you try our VPS?"

The following is based on notes I took from https://marcanuy.com/en/notes/18-deploying-a-laravel-website-with-git (currently 404, RIP old link), and https://chrisdone.com/posts/hakyll-and-git-for-you-blog

This is a work in progress; better go elsewhere instead of follow the potholed minefield ahead:

Easy as

  1. get server with root access
  2. set up Hakyll
  3. set up git

##1. sign up for AWS micro (free tier available)##

I will probably go with all their defaults:

####Step 1:####

For this, I'm using Amazon Linux AMI 2014.09.1 (HVM) - ami-b5a7ea85 because it's at the top of the AMI list when creating a new EC2 instance, offers a free tier, and includes Docker, which I've heard about more than twice, but know nothing of it yet.

####Step 2:####

t2.micro (free tier eligible)

####Step 3 (Configture Instance details)####

leave defaults

####Step 4 Add Storage:####

Root /dev/xvda snap-62cf04aa 8GiB ~~Magnetic~~ gp2 Not Encrypted

####Step 5 Tag Instance:####

Name : hakyll.robnugen.com

####Step 6 Configure Security Group:####

Create a new security group

Security group name: hakyll.robnugen.com

SSH from My IP

####Review and Launch####

I got a popup saying I can use SSD for free, so I'm selecing that. (I had selected Magnetic in step 4 above)

##2. Set up Hakyll on server##

##3. Set up git on server##

On Server, set up bare repo:

cd ~/
mkdir bare
mkdir bare/hakyll.git
cd bare/hakyll.git 
git init --bare

Create hook for compiling the site after push:

emacs ~/bare/hakyll.git/hooks/post-update

Make it look like this:

#!/bin/sh
work_tree=~/robnugen.com/hakyll
GIT_WORK_TREE=$work_tree git checkout -f
ghc --make hakyll
./hakyll build

// cd $work_tree

permalink

Yay cool toy store

On the way to lesson with Mutsumi and Mutsumi, there's a Lotus dealership. I used to have a Lotus, cough hotwheels cough, and it didn't last more than a year, so I don't think I'll need another. But today I walked to that side of the street and took a picture of cars in the showroom.

Continued on that side of the street and found a cool toy shop! Sweet stuff including a very difficult marble track "puzzle" (not quite the right word) which I could make, given the right tools. It's on sale for several dollars. Like it's custom made or something.

They also had a product they called "Dancing Sand" which is 98% sand and 2% some non-sticky shit that makes the sand not quite stick together. Makes cleanup a breeeeeze.

I'll go back to that shop when I have more time.

permalink

Yay local journal

Here's a new recommendation for journaling: be able to journal anytime. Until wifi is free everywhere I go, web-based journaling software just won't suffice. Gotta have a book or in this case a laptop that I carry around. Otherwise I lose countless moments to the lack of internet connectivity.

Today I went to JB for training on Wednesday morning lessons starting next week. I'm a bit nervous (?) teaching classes in a style I've never taught before: 15 or 20 kids, 5 year old!

wut.

And actually there's a similarly sized class of 4 year old students.

Into what kind of madness am I getting myself?

I figure I need to treat it like when I broke out of my shell at University of Houston. I was like, "fuckit I'm going to talk to people and do things." In this case it's "fuckit, I'm going to act like I know how to act around kids!"

permalink

problem with images

During my lesson with Mogi-san, I got a call from AB saying their image system wasn't working. Hmmm. I asked them to create a ticket and she was like "okay" while I sent a quick email to Alfonzo because he's the one who deals with the image system.

_______ says she can't upload images.
I haven’t confirmed; I’m in a lesson.
I aksed her to make a redmine ticket, but she can’t select you as the Assignee.

The ticket came through, but it was on the wrong tracker!! wth?

I really had a brainfarzzled moment where I thought I was dreaming or taking crazy pills!

Oh, the other tracker is for another client who is also using the same image system. Shit. I guess it's really broken. I hope it's an easy fix.

permalink

soml

##22:22 Tuesday 28 October 2014##

The very best thing about not using Wordpress or Hoken: I can repeat filenames and not have the URLs get mangled.

#State of My Life Address#

  1. I ain't journaled consistently for a long time.
  1. I hope to become more consistent for years to come.
  1. THis SOML might get cut short, though; Lin is about to arrive in 8 minutes.
  1. Lin and I are married, living in Kawasaki, Japan. We live in a two story house (paying rent, moe joe, but it's more space and less rent than our apartment was) and her mom lives downstairs.
  1. We have two cats, Ted and Jennie. Lin named Ted, and I named Jennie after Jennifer, who found a place for Spot to live after I left the US for Japan.
  1. I have vaguely good ability to understand basic spoken Japanese, but am losing my ability to speak Japanese. I've been here 11+ years and it's starting to get embarrassing, but it just proves how lazy I am and how easy it is to live in a bubble here.
  1. I've been going around barefoot as much as possible for the last two years. I'm barefoot now, sitting in Kawasaki station as I wait for Lin to arrive.
  1. Lin has just told me she'll be working for HJ starting in January.
  1. I've not worked full time in a while. I stopped working at Accent after pissing off the boss at the other Accent by allegedly sexually harassing an employee, but really it was in jest and not meant in any kind of sexy way.
  1. I've been enjoying being a ~~lazy bum~~ er house husband, though I'm working a bit here and there.
  1. TJ Bike and I still ride around a bit, but his chain is rusty. I often ride Lin's bike just because it's lighter.
  1. We've considered taking some long rides; we rode to her friend Mika's house a month ago or so ago, and planned to ride to Paola's after that, and Sourou's after that, and then an overnight adventure after that, but havne't done anything beyond riding to Mika's.
  1. I plan to attend the next Tokyo ET communication night thing on 22 November. Find the meetup group if you're interested, but please understand that on the first time, you won't be meeting ET close encounters style. Might see some twinkling lights or whatnot. (That's what I expect, but I probably need to drop even that expectiaton)
  1. Tariq and I have teamed up with Christina in New York (I was just kidding when I called her *The Christina* a couple days ago) who does social network stuff.
  1. We've got three apps ready to release, but want to build up some excitement first. I'm super excited, but not sure if anything is really going to happen. I'll let you know.
  1. In the cat+computer room, Lin put down some 1/2 inch foam rubber flooring. which the cats love to claw. It's proving to be an excellent investment in keeping their claws off the walls!
  1. I've got four mazes queued up for [A Maze a Week](https://www.amazeaweek.net/), but one is scheduled to go out tonight.
  1. I just fixed the tab key on my keyboard. It had gotten sticky and didn't travel quickly each time I pressed it.
  1. My computer is "Silver Monkey", a Macbook Pro about 2.5 years old. I think it has a 15" monitor. It's running Yosemite (OS X 10.10)
  1. I've been so anti-impressed with Apple for the past 2.25 years that I am sure I'll not buy another Mac with my own monies. When this one starts to get tired of the OS upgrades, I'll switch to Ubuntu.
  1. My phone is "Little Blue Monkey", an iPhone 4S with iOS 7.1.
permalink