2015-03-01

Last night, I went out to a nice sushi dinner with some wonderful people and we shared a bottle of sake. This morning, I put the empty sake bottle on the glass cutting rig.

Make the cut

This is one of my favorite parts of a project. Not cutting something, but being able to yell TAKE IT APART! ...and 'take it apart' is exactly what I did. :)

After cutting the glass, a diamond bit on the rotary tool smoothed the edges.

Don't cut yourself

Using a dull utility knife, I swore a lot while trying to remove the casing on some solid core copper wire. I think it is about 12Gauge wire.

Putting a fresh blade in the knife made the job easy and I was done in a jiff.

Twist and wrap

My wire twisting skills are lackluster. Fortunately, I have access to more wire, and I'm looking forward to getting some tools to help with the wire twisting.

Um... does anyone want to have some wine? ha!

Get ready to grow

The bottle with the wire was filled with potting soil and then I added some catnip seeds. meow meow meow

Aside from making the kitties go crazy, catnip apparently makes a nice tea. Hopefully I will be learning the truth of that soon.

Don't waste the rest of the glass

The bottom of the bottle was left to soak in some soapy water, and after:

  • a motorcycle ride to get some girl scout cookies
  • a nice picnic
  • building an algae/pond-muck collector
  • catching a frog
  • catching a tadpole with the muck collector
  • catching a fish with the muck collector
  • supervising some hole digging
  • planting a yuzu
  • planting a persimmon
  • mulching the yuzu and persimmon with some collected pond muck
  • munching on chips and guacamole
  • catching more fish and tadpoles with the muck collector

it was time to scrape off the bottle's label and test its usefulness as a drinking container.

Survey says..... booyah!

Now quit reading, and go make some stuff.... or invite me over for some sake. ;)

Comments
Name:
not required
Email:
not required (will not be displayed)
Website:
not required (will link your name to your site)
Comment:
required
Please do not post HTML code or bbcode unless you want it to show up as code in your post. (or if you are a blog spammer, in which case, you probably aren't reading this anyway).
Prove you are human by solving a math problem! I'm sorry, but due to an increase of blog spam, I've had to implement a CAPTCHA.
Problem:
8 minus 0
Answer:
required
2015-02-18

For a recent project, I decided to use HAML for generating HTML. Having used HAML at work for quite some time, I find it to be a great way to maintain and work with HTML in a very readable fashion.

One concern I had with HAML was the lack of functionality for including a partial file. Fortunately, there is a very easy solution; using backticks in a Ruby interpreter.

In a HAML file "=" can be used to run Ruby code and the output of the code will be included in the compiled HTML output. For example, to include the current time in the HTML, one needs to add "= Time.now" to the HAML file.

Using this method, he following HAML code

!!! 5
%html
    %head
        %title Time
    %body
        = Time.now

Will generate

<!DOCTYPE html>
<html>
  <head>
    <title>Time</title>
  </head>
  <body>
    2015-02-18 10:41:28 -0800
  </body>
</html>

In Ruby, backticks "`" can be used to execute a shell command, and since the command for converting a haml file to html is "haml path_to_haml_file", one needs to add "= `haml path_to_partial_file`" in a template in order to render a partial file.

Thus, if we start with

!!! 5
%html
    %head
        %title Time and Footer
    %body
        = Time.now
        = `haml footer.haml`

and we have a file named footer.haml

#footer
    this is the footer

The HTML output will be

<!DOCTYPE html>
<html>
  <head>
    <title>Time</title>
  </head>
  <body>
    2015-02-18 11:07:44 -0800
    <div id='footer'>
      this is the footer
    </div>
  </body>
</html>

Well there you have it, a nice and simple way to render a partial file in a HAML template. Code on!

Comments
Name:
not required
Email:
not required (will not be displayed)
Website:
not required (will link your name to your site)
Comment:
required
Please do not post HTML code or bbcode unless you want it to show up as code in your post. (or if you are a blog spammer, in which case, you probably aren't reading this anyway).
Prove you are human by solving a math problem! I'm sorry, but due to an increase of blog spam, I've had to implement a CAPTCHA.
Problem:
2 minus 1
Answer:
required
  • Tags:
2015-02-07

A few weeks a go, I was in need of a low latency, high speed internet connection so that I could have a video conference with my work associates. As luck would have it, back in November I was given a day pass to Sierra Commons, a coworking facility in Nevada City. Actually, they are more than just a coworking facility, but I went there for coworking reasons.

 

The facility itself is well lit, with plenty of desk space for visiting workers. There is a large separate meeting room with it's own internet connection (this is where I had my video conference).

Everyone I met at Sierra Commons was quite amicable, and they made me feel at home. I certainly look forward to working from there again.

P.S. You are jealous that your local coworking facility doesn't have tire swings, or a brewery that is a few blocks away. That reminds me, next time I go, I really need to bring along my growler and have it filled by Ol Republic.

Comments
2015-02-09 Alison Chaiken:
Looks comfortable and modern. How far away for you?
2015-02-09 jezra:
it is about a 25 minute drive
Name:
not required
Email:
not required (will not be displayed)
Website:
not required (will link your name to your site)
Comment:
required
Please do not post HTML code or bbcode unless you want it to show up as code in your post. (or if you are a blog spammer, in which case, you probably aren't reading this anyway).
Prove you are human by solving a math problem! I'm sorry, but due to an increase of blog spam, I've had to implement a CAPTCHA.
Problem:
0 plus 6
Answer:
required
  • Tags:
subscribe
 
2015
2014
2013
2012
2011
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008