Permalink
Browse files

Various tweaks.

  • Loading branch information...
samschmitz committed Jun 3, 2015
1 parent f1904f4 commit ecb0bb8e7e8a0ac43f9fe423eeab47d49c192fe1
@@ -15,7 +15,7 @@
## To those who have much, yet more.
{% mark excerpt %}
-Over the past few days, I've been playing around with [Amazon Web Services (AWS)](http://aws.amazon.com). Now, I've been a spectacularly satisfied customer of [A Small Orange](http://asmallorange.com) for years, but I've been lately frustrated by the limitations of shared hosting. As I play around with different application platforms (Rails, Django, NodeJS), as part of my continuing professional-development-program, its clear that I need a bit more than 250MB of space and a restricted shell.{{ macros.render_footnote("service", "1") }}
+Over the past few days, I've been playing around with [Amazon Web Services (AWS)](http://aws.amazon.com). Now, I've been a spectacularly satisfied customer of [A Small Orange](http://asmallorange.com) for years, but I've been lately frustrated by the limitations of shared hosting. As I play around with different application platforms (Rails, Django, NodeJS), as part of my continuing professional-development-program, its clear that I need a bit more than 250MB of space and a restricted shell.[^service]
{% endmark %}
So, over this weekend, I migrated my sites over to play around with the twelve-months free access provided for AWS micro-instances, that is, tiny cheap servers. It's been reasonably enlightening. I've built up a couple of `Arch Linux` images, my preferred distribution, and played with getting environments spinning up for some [applications]( {{ content_url("/projects/monotype-app.html")}} ) that haven't seen the light of day in some time.
@@ -31,11 +31,11 @@
At the moment I've got two micro-instances running--one is serving the static pages, the other, a little [typography training app]({{ content_url("/projects/monotype-app.html/") }}) I wrote a few years ago. That won't last long, because you only get one instance free--but I'll switch the nameservers back to `A Small Orange` soon, while continuing to serve the dynamic content from AWS.
## Reverse Proxies
-Now, I've long heard preached that fine practice--the prudent splitting of dynamic and static content. That makes plenty of sense, really. Or plenty of sense if I ever had much content to serve. In practice, though, It's not something I've ever needed. As someone who has only ever placed things online from some reptilian instinct to share, I have never had any problems with server performance--to say the least. For some time, I ran my personal website from an [X40]({{ content_url("/posts/arscons.html") }}). Didn't break a sweat. {{ macros.render_footnote("X40", "2") }}
+Now, I've long heard preached that fine practice--the prudent splitting of dynamic and static content. That makes plenty of sense, really. Or plenty of sense if I ever had much content to serve. In practice, though, It's not something I've ever needed. As someone who has only ever placed things online from some reptilian instinct to share, I have never had any problems with server performance--to say the least. For some time, I ran my personal website from an X40.[^X40]
There are a million-and-one ingenious ways to do this and I don't understand half of them. All I wanted was a nice, static server that put pages that I made on the internet, and two, have another server throw up some of the dynamic content. That way, I could have one clean server--where I actually knew what was going on--and pass off all of the messy stuff to other computers that had whatever intricate combination of python and everything else that was necessary.
-Enter reverse proxies--which are exactly what they sound like. When you ask for something from a server, it scurries of to yet _another_ server, and fetched it from there, passing it through itself and onward to you. So you never know that what you asked for came from some other place. And the proxying server doesn't have to worry itself about whatever complex things you asked for, fobbing you off on some other machine (in my case, the correct AWS instance). Reverse proxies are what really pushed me to AWS, ultimately, as they're not allowed in the shared hosting environment of AWS.{{ macros.render_footnote("option", "3") }}.
+Enter reverse proxies--which are exactly what they sound like. When you ask for something from a server, it scurries of to yet _another_ server, and fetched it from there, passing it through itself and onward to you. So you never know that what you asked for came from some other place. And the proxying server doesn't have to worry itself about whatever complex things you asked for, fobbing you off on some other machine (in my case, the correct AWS instance). Reverse proxies are what really pushed me to AWS, ultimately, as they're not allowed in the shared hosting environment of AWS.[^option]
At any rate, they're dead simple. These are what mine look like.
@@ -47,9 +47,9 @@
{% spaceless %}
-{{ macros.render_footnote("service", "1", "Granted, this isn't ASO's problem. They've been absolutely wonderful. I have never interacted with a company--not in tech, not anywhere, with more respnsive customer service. I don't think I've had a ticket go unresponded to for more than fifteen minutes. And I pay $25-a-year for the privilege.") }}
-{{ macros.render_footnote("X40", "2", "At any rate, after realizing that it would be a royal pain-in-the-ass to have mod_wsgi compiled against python3, while having some virtualenvs that were still using Django 1.3 & Python 2.6 and so on...absolute misery.")}}
-{{ macros.render_footnote("option", "3", "There are surely some clever ways around this, perhaps using RewriteRule and permanent redirects. A quick scan shows that this is indeed the case, the [[P] flag](http://httpd.apache.org/docs/current/rewrite/flags.html#flag_p) passes requests through to mod_proxy.") }}
+[^service]: Granted, this isn't ASO's problem. They've been absolutely wonderful. I have never interacted with a company--not in tech, not anywhere, with more respnsive customer service. I don't think I've had a ticket go unresponded to for more than fifteen minutes. And I pay $25-a-year for the privilege.
+[^X40]: At any rate, after realizing that it would be a royal pain-in-the-ass to have mod_wsgi compiled against python3, while having some virtualenvs that were still using Django 1.3 & Python 2.6 and so on...absolute misery.
+[^option]: There are surely some clever ways around this, perhaps using RewriteRule and permanent redirects. A quick scan shows that this is indeed the case, the [[P] flag](http://httpd.apache.org/docs/current/rewrite/flags.html#flag_p) passes requests through to mod_proxy.
{% endspaceless %}
{% endblock %}
@@ -5,15 +5,13 @@
thumbnail: motorcycle.jpg
track: True
---
-
{{ macros.render_figure('<iframe src="https://www.flickr.com/photos/samjacoby/10402047085/in/set-72157636792385405/player/" width="800" height="600" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>', "Matching colors (October 2013)") }}
{% mark excerpt %}
-Obeying a widely-known primordial need within the soul, I was compelled to acquire a 1972 Honda motorcycle in the summer of 2013. It's a 41 year-old machine and requires continuous attention. That is part of the fun. This is mostly a place for me to keep track of notes.
+Obeying a widely-known primordial need within the soul, I was compelled to acquire a 1972 Honda motorcycle in the summer of 2013.[^soul] It's a 41 year-old machine and requires continuous attention. That is part of the fun. This is mostly a place for me to keep track of notes.
{% endmark %}
-I've found great satisfaction in working on it: tracing down corroded electrical connections, adjusting the timing, changing the tires. I lean back, hands dabbed with oil and inhale the petroleum's intoxicating bouquet... Why, I just might write [a book](http://en.wikipedia.org/wiki/Zen_and_the_Art_of_Motorcycle_Maintenance) about it.{{ macros.render_footnote("zen-1", "†") }}
-
+I've found great satisfaction in working on it: tracing down corroded electrical connections, adjusting the timing, changing the tires. I lean back, hands dabbed with oil and inhale the petroleum's intoxicating bouquet... Why, I just might write [a book](http://en.wikipedia.org/wiki/Zen_and_the_Art_of_Motorcycle_Maintenance) about it.[^zen-1]
## Maintenance Table
I've been working my way down this, little by little. It's pretty handy.
@@ -105,7 +103,7 @@
{#
## Replacing Fork Seals
-I wanted to get this done before I took the ride out to Iowa City. I've had a very slight leak on my front fork seals--not much, but enough to show an issue. Of greater concern are persistent handling issues I've had since I picked up the bike in the summer of 2013. I noticed it early on -- on one of the very first rides I took, in fact -- a pronounced wobble when deaccellerating from the 40s or so. It turns out that this is a fairly common issue, and not one nece
+I wanted to get this done before I took the ride out to Iowa City. I've had a very slight leak on my front fork seals--not much, but enough to show an issue. Of greater concern are persistent handling issues I've had since I picked up the bike in the summer of 2013. I noticed it early on -- on one of the very first rides I took, in fact -- a pronounced wobble when deaccellerating from the 40s or so. It turns out that this is a fairly common issue, usually resolved by replacing the original head bearings with a tapered set. New fork oil could only help, though I think I've got deeper-seated issues there than just that.
## Oil Pump Seals
@@ -146,7 +144,10 @@
September 2014 | Oil Switch | Replaced leaking oil pressure switch
September 2014 | Front Caliper | Replace piston seal
January 2014 | Motor | Removed. Whew!
-February 2014 | Motor | Replaced head gasket
+February 2014 | Motor | Disassembled Head
+April 2014 | Motor | Removed cylinder studs (ouch)
+April 2014 | Tank | Sealed w/ Eastman 2K Clearcoat
+May 2014 | Motor | Valves reground, new seats cut (MAS Machine, Iowa City
## Resources
@@ -155,4 +156,5 @@
- [Honda CB500 Manuals](http://www.sohc4.net/cb500-manuals/ ) (Courtesy of SOHC4)
- [New England Honda Guys](http://nehondaguys.info/)
-{{ macros.render_footnote("zen-1", "†", "Never read it. Hear it's not really about motorcycles.") }}
+[zen-1]: Never read it. Hear it's not really about motorcycles. Update 05/27/2015. Read it. Is kind've about motorcycles.
+[^soul]: See *Easy Rider*.
@@ -1,6 +1,6 @@
---
title: Squares
-summary: Drawing some squares.
+summary: Drawing some squares in JavaScript & firebase.io.
date: 2015-01-09 17:00:54
thumbnail: squares.png
tags:

0 comments on commit ecb0bb8

Please sign in to comment.