Akismet: think out of the can

August 27th, 2010

Oh em gee, I just installed Akismet‘s anti-spam plugin on my blog, and I think it is the single most useful piece of software I’ve ever used.  The plugin does only one thing, and it does it extremely well–it filters and sorts the spam comments on my blog, so I can see the real comments.  This is a huge problem for me.  I have 41 real comments on my blog and 1,500 spam comments.  If I allow unmoderated comments, my blog fills with spam.  If I try to moderate the comments, I have to read through hundreds of spam comments to find a genuine comment.  It’s a huge pain in the ass, and Akismet handily takes care of it all.

I’m just blown away–I had this huge problem, and seconds after installing the plugin, 800 spam comments were moved into the spam folder, all the genuine comments floated to the top of the list, and I found a comment my grandma had posted a while back that I’d missed.  I’ve just never had a piece of software that solved 100% of the problems I was having.  That’s huge!

Caught black-handed

August 27th, 2010

My hand after an all-nighter converting a bicycle into an electric bicycle.  Dirty hands are how you know you’re alive!

Exeunt Omnes

August 24th, 2010

I found this in my old blog drafts.  I have no idea where I was going with this, but I really enjoy the beginning, so I’m posting it, rather than just letting it languish in my in-progress binMaybe I’ll finish it one day.  Until then, I give you:  the beginning of an unfinished story!

The stage lights turn on to reveal a used bookstore/music shop.  A labyrinth of wooden shelves fills the room, labels written in sharpie on masking tape strips.  A book collection adorns the shelves, appearing eclectic to the untrained eye, but actually a rather patchy collection of tattered paperbacks bought off of graduating college students. The owner Vincent and Darrel, one of the employees, are behind a fake-wood-veneer counter.  The shop windows are partially obscured by posters of upcoming local rock shows, and the sunlight filtering in between the posters makes curious geometric projections on the shelves.  Right up against the windows are stacks of rubbermaid containers filled with vinyl records, meticulously alphabetized.  Darrel is perched on a wicker stool, brow furrowed in concentration while juggling The Fountainhead, Atlas Shrugged and Anthem as high as possible.  Meanwhile Vincent is slouched in a red pleather chair, feet on the counter and a stack of Sartre paperbacks by his side, secretly planning to knock The Fountainhead, and only The Fountainhead, out of the air with a precisely thrown copy of Nausea. A few customers are walking the aisles, casually leafing through books and putting them back, while Steve, a pierced man wearing all black and a camouflage messenger bag flips through the vinyl, checking as he does every day for rare metal EPs.

One of the customers, a twenty-something girl in black pants and a tightly knit sweater strides around an aisle and up to the counter.

Customer:  Do you have anything by Charlotte Bronte?

Vincent (without taking his eyes off the flying Ayn Rand novels):  Did you check under H for Humorless and gawdawful victorian novelists?

Customer:  …

Darrel:  Or maybe F for Fucking go read something better?

Customer:  You guys are assholes!  How do you expect to..

Vincent seizes this opportunity to fling Nausea through the air, missing the Fountainhead but knocking Anthem flapping towards the back of the store. The other Rand books clatter to the floor next to Darrel.

Vincent:  We only sell to readers with taste!  If you’re going to buy that blather, at least have the decency to hide it in a stack of half-decent books so you could pretend it got in there by accident.

Darrel:  If you’re going to read a proto-feminist, at least read one with some sac!I think I saw some Virginia Woolf books on the shelf back there, next to the stacks of hentai.

The customer is visibly upset, looking back and forth between Darrel and Vincent before turning and stomping out.  The other customers look toward the counter and then go back to the shelves.

Steve(walking over, record in hand):  You really are assholes.

Vincent:  We try, we try.

Steve lays the record on the counter

Vincent:  What’s this?  Fleetwood Mac?

Steve (rolling his eyes):  Come on–this is the 1970 German release of English Rose.  Most of the tracks were completely remastered.  It’s not Mac, it’s like McMac, it’s so trippy.

Either Sadness or Euphoria

August 24th, 2010

As usual, Billy Joel gets it exactly right.

Here, it’s in the song Summer, Highland Falls from the album Turnstiles.  Dig it:

They say that these are not the best of times
But they’re the only times I’ve ever known
And I believe there is a time for meditation
In cathedrals of our own
Now I have seen that sad surrender in my lovers’ eyes
I can only stand apart and sympathize
For we are always what our situations hand us
It’s either sadness or euphoria

And so we’ll argue and we’ll compromise
And realize that nothing’s ever changed
For all our mutual experience
Our separate conclusions are the same
Now we are forced to recognize our inhumanity
Our reason coexists with our insanity
And so we choose between reality and madness
It’s either sadness or euphoria

How thoughtlessly we dissipate our energies
Perhaps we don’t fulfill each other’s fantasies
And as we stand upon the ledges of our lives
With our respective similarities
It’s either sadness or euphoria

 

 

Holy Crap! Mcmaster sells 80/20!

August 12th, 2010

I love 80/20 aluminum extrusion.  It’s a framing system that lets you build sturdy things really quickly, without needing to do any involved machining.  If you’ve ever seen the displays at Ikea where they build motorized hammers pounding the ever-loving crap out of chairs for “endurance testing,” those are made of 80/20.  It’s fast, sturdy and easy to work with.  People build all kinds of crazy things out of 80/20, like this bicycle

or musical instruments, conference tables, and volleyball nets

The one bummer is how you order it–the ordering system is a medieval nightmare that involves pdfs and forms and cryptic numbering schemes and emails, and it still takes a week and a half to get an order in.

Now Mcmaster carries the same stuff, albiet with a smaller selection, but with a modern ordering system and logistics impressive enough (in Tom Waits’ words) to make a dead man come.  Hell yeah!

 

Quick fast, day 1

August 10th, 2010

When I was first diagnosed with diabetes, I really only had one pressing question:  what would I do if I was marooned on a desert island?  I’m insulin dependent, and if I don’t get insulin, my cells won’t be able to eat, my blood sugars will rise, and I’ll either starve or go into a coma.  Granted, I don’t intend to ever be without insulin, but if it happened, what would I do?  Could I change my diet and keep my blood sugar in a healthy range for longer?  Exercise more to keep my blood sugar down?  Manufacture my own insulin with out of blended rat pancreases spun down in an improvised centrifuge made of sisal twine and coconut husks?  What would MacGyver do?

So then I got an idea–I could get some answers about how my body responds to insulin, and food in general, by fasting and measuring my blood glucose frequently.  I could design little mini-experiments to isolate certain aspects of my endocrine system and get pretty good results.  When I learned that my endocrinologist has a program where he lends out continuous glucose monitors that stick into me for three days and measure my blood sugar every five minutes, I decided to use those for my experiments.

I just started my fast and continuous glucose meter today.  There’s three main phases of my experiment:  measuring my basal insulin response, measuring what my body does without any insulin, and comparing the effectiveness my insulin pump to traditional needle-delivered insulin.

For the first day, I’m going to inject myself with my normal dose of basal insulin.  Basal insulin is a slow-release insulin that works at a constant rate over 24 hours.  It’s used to signal my cells to eat the small amounts of glucose my body produces even when I don’t eat anything.  Watching my blood sugar change with a fixed amount of basal insulin in my system will tell me how well matched my basal insulin is to my body’s glucose production, and how that varies during the day as my body produces more or less glucose.

For the second day, I’m not going to inject myself with any insulin.  My basal insulin should wear off within ~30 hours of my first injection, and my blood sugar should start to rise, as my body produces small amounts of glucose.  I’m interested to see the rate at which my body produces glucose.  This is a more direct measurement of the rate than on the first day, as there’s no mechanism(insulin) reducing the glucose concentration.  I’ll let my blood glucose rise up to 250mg/dL (the threshhold for diabetic ketoacidosis, but one I’ve crossed a number of times accidentally), at which point I’ll put on a pump and give myself rapid-acting insulin to bring my blood glucose back down to my normal 100mg/dL.

On the third day, I’ll run the basal drip from the pump, which has an elevated basal drip between midnight and 6am.  The elevated drip is intended to account for the dawn phenomenon, where growth hormones released in my sleep inhibit insulin, causing a rise in blood glucose.  By increasing my basal drip, I try to keep my blood sugar constant while the growth hormones are being released.  Watching my blood glucose change will help me understand how well matched my basal pattern is to my body’s glucose production and other hormonal activity.

Fasting is a little tricky for diabetics.  Our sensitivity to insulin increases when we don’t eat, and without eating, we can’t bring our blood sugar back up if it goes low.  I decided to set some baselines:  For this test, I’ll keep my blood sugar between the range of 50mg/dL and 250 mg/dL.  50mg/dL is the point at which my thought processes and coordination get affected by my lack of blood sugar, and I’d eat a piece of hard candy if I got to that point, enough to bring my sugar up to my normal 100mg/dL target.  250 mg/dL is the point where I start to be at risk for diabetic ketoacidosis, a potentially dangerous side effect of high blood sugar and low insulin.  I’ve had my blood sugar accidentally go to that level before, even overnight (and one for well over a month, before I was diagnosed), so I don’t believe I’m taking an undue risk.  If my blood sugar gets that high, I’ll give myself rapid-acting insulin to bring it down.  Because I’m not eating anything for the next three days, I don’t expect any rapid changes in blood glucose, and as long as I monitor it regularly, I don’t think this is a risky experiment.

I’m also very curious about fasting in general.  I’ve never fasted more than one day for Yom Kippur, and I’ve heard lots of good things about fasting improving health, alertness and self-awareness, and I want to experience it for myself.  It also sounds kind of hard, to not eat for three days, so I figure it’ll be an exercise in self-control and insulin calculation.  Let’s see how it goes!

DIY blow molding

July 28th, 2010

George Fereday just made a homemade, handheld blow molding rig that can melt, blow and mold thermoset plastics.  This is fantastically cool.  This is a process that I normally associate with industrial machinery carrying out operations on a scale much to large and complex for me to think about tinkering with it casually, or trying out experimental ideas, or playing with the manufacturing process itself.  It’s really awesome to see that industrial process stripped down to a basic principle that’s small and simple enough to fully grasp.

I found this on IDSA, a frickin awesome blog about going from designs to physical things.

Check out the video, too:

Blow Moulding Gun from George Fereday on Vimeo.



DIY diabetes

May 8th, 2010

Seven months ago, I was diagnosed with type 1 diabetes and my life became a great deal more complicated. For those of you who aren’t intimately familiar with diabetes, here’s the wikipedia DL: type 1 diabetes is a disease where my wacky immune system decided to destroy the cells in my pancreas that produce insulin. Insulin is a hormone, a chemical signal that tells my cells to absorb glucose from my bloodstream. Without insulin, my body doesn’t absorb glucose, but I continue to break down the food I eat into glucose, and so glucose builds up in my blood. Having high concentrations of glucose in my blood can cause all sorts of health problems, including starvation, wasting away and dying.
To prevent those problems, I have to do three things: monitor my blood glucose, understand how the food I eat will affect my blood sugar, and give myself injections of manufactured insulin in lieu of the insulin my pancreas should be secreting. Treating diabetes is all about the blood sugar: if I’m careful about keeping my blood sugar within the same range of a non-diabetic, the long-term impact on my health is pretty low.

The first thing I noticed when I started monitoring by blood sugar and giving myself insulin injections was how much trash I produced. Everything in diabetes care is disposable. I test my blood six times a day with disposable plastic test strips, and I prick my fingers for the blood tests with disposable lancets. I sterilize (in theory) my fingers and my injection sites with disposable alcohol wipes. I inject insulin with disposable needles from disposable plastic pens. I had become a veritable whirlwind of trash.

The diabetic’s toolkit:

glucose meter.jpg

Blood Glucose Meter

test strips.jpg

Disposable Glucose Test Strips for the Meter

insulin pen.jpg

Insulin Pen With Disposable Needle

The second thing I noticed when I went to the pharmacy for my first refill was the price tag. Standard supplies for treating diabetes easily cost about $3000/year, and getting more precise devices that give you better control of your blood sugar can make that cost skyrocket. Even with insurance, it’s expensive, and as a self-employed guy, finding health insurance as a diabetic can be insanely expensive.

Now, I like to be very deliberate about how I live my life. I like to have the freedom to choose how to work, where to live, what to buy and how to work. A diabetes diagnosis was a great big obstacle to all those preferences. I’m tied to insurance companies and pharmacies and doctors, and I want to minimize those dependencies. Over the past seven months, I’ve become intimately familiar with my body’s food-insulin-blood sugar feedback loop and the tools we have available to manage diabetes. One of the things I like best is hacking and building devices, and after using the tools currently out there, I think I can do it better. The next set of blog posts will be the story of me trying to build DIY versions of the supplies and tools I need to manage my diabetes.

Bad Romance

April 25th, 2010

I don’t know that much about Lady Gaga, but I really appreciate her artistic use of burning polar bear pelts in her latest video.

Screen shot 2010-04-25 at 4.51.18 PM.png

The new blog

March 26th, 2010

I recently started a new blog, thesqueakycog.com, that’s a location for me an others to write about manufacturing in America and abroad, and to discuss what’s working well and what isn’t. Check it out!