wesley tanaka

Hawaii State Public Library System Map

()

I don't need you

()

I had long since forgotten the idea of setting mission and vision statements for raising kids, but being the person I am, I ended up thinking through "parent goals" anyway. One goal I settled on was to help my kids be as independent as possible as early as possible.

The other morning, my son said "I will wait for [friend] at school. I don't need you." It was momentarily sad, but I remembered my parent goal and remembered to feel proud about it.

"Your profile could not be opened correctly" in Linux Chrome

Sometimes, google chrome can start up with an error like this:

Your profile could not be opened correctly.

Some features may be unavailable. Please check that the profile exists and you have permission to read and write its contents

You can debug the error by starting chrome on the command line with google-chrome

If the error is related to locked sqlite databases, 

Haskell unicode character and byte string conversions

()

Breaked

()

Wesley: Oh, don't step on Bunny!

Ryan: Why?

Wesley: Well, if someone stepped on you, would you like that?

Ryan: No.

Ryan: If someone stepped on me, I might get..  breaked.

Bilingual... in scare quotes

()

My son, just now:

I'm humming "It's a small world" in Chinese!

He really was doing it, too.

Run "System Settings" in Ubuntu Unity from the command line

()

To run "System Settings" control panel from the command line in Ubuntu, run:

unity-control-center

It is possible to launch the window with a specific group selected, like:

unity-control-center display

Setting an external monitor as default on the Ubuntu login screen

()

In /etc/lightdm/lightdm.conf, add these lines to the SeatDefaults section:

[SeatDefaults]
display-setup-script=xrandr --output VGA1 --mode 1280x720 --primary
session-setup-script=xrandr --output VGA1 --mode 1280x720 --primary

If the external monitor is not detected, this may cause an error:

The system is running in low-graphics mode

Back up a git repository in a single file

()

This page contains a comparison between different approaches and file formats for backing up a git repository in a single file.

Summary: The best method is probably git bundle

R quick reference cheat sheet

()

Here are some notes I took while learning about R:

Workspace

  • ?matrix -- gets help on "matrix"
  • ls() -- lists variables that exist
  • rm() -- deallocates a variable

Run script from command line

Rscript hello.r

Common data types

Syndicate content
by Wesley Tanaka