Justin Dunham

's journal about making things

A Ulam (Prime Number Spiral) Quilt

Filed under: Everything Else — Tags: , , , , — Lillian Dunham on April 29, 2012

The completed quilt, it's about 60" on each side.

More than other fiber arts, quilting depends on understanding the geometry of how the pieces of a quilt will fit together in complex ways. That is to say, it’s math! Justin, my husband (then boyfriend) told me about the Ulam spiral and I thought it’d be a pretty cool subject for a quilt for this reason. Doubly so since the Ulam spiral is also known as the “Ulam cloth”!

(In case you’re not familiar with it, and don’t feel like clicking through, the Ulam spiral is a grid where each square represents an integer, starting with 1 at the center and moving out in a spiral pattern. When the number is prime, the square is black; when it’s not, the square is white.)

I started by constructing a map of the quilt on graph paper. I chose a 41 x 41 grid for the following reasons:

  • The Ulam Spiral has one central square representing the number one, which I wanted to be in the dead center of my quilt, so I had to choose a grid with odd dimensions.
  • I wanted the resulting quilt to be about 60″ square, which is a good wall-hanging size. Using 2″ strips would result in 1.5″ squares (an 0.25″ seam allowance on all sides is typical), and 41 x 1.5″ is about 60″.

Had Justin known how to code at the time, he probably could have generated this graph for me. Oh well. I ended up coloring in all of the prime numbers from 2 to 1,681 by hand. Yes, really. The paper just needed to be big enough for me to see the squares.

Start with two pieces of black and white…

…and cut into strips 2” wide.

Next, I divided the 41 x 41 grid into 4 roughly equal quadrants. Here’s where I was able to save myself some time. With the exception of 2 and 3 (2 being the only even prime number), every 2 adjacent squares on the Ulam spiral are either white and white (two composite numbers), or black and white (one prime and one composite). This is a weird property of the spiral; you can check for yourself here.

The Ulam spiral actually shares this property with a specific, common type of quilt called an Irish chain quilt. If you look at any Irish chain quilt, you’ll see that no two squares of the same color touch each other. Irish chain quilts are made using strips of fabric that are sewn together, and then cut up, and I could do that here:

  • I cut 2″ strips of black fabric and white fabric, making them as long as possible.
  • I sewed a white strip to a white strip to make the white + white block, and
  • I’d sew a black strip to a white to make the white + black strip block.

In addition to saving time, the Irish chain quilt method has the advantage of being much more precise since you don’t have to measure and cut each individual square.

Pair and sew strips into black/white and white/white.

Cut across strips to make rectangles.

So at this point I had one strip of black + white, and another strip of white +  white. I cut these strips into 4″ x 2″ rectangles (3.5″ by 2″ if you count the seam allowance used up on each side). Using the graph I had made, I started in the upper-left-hand corner and paired up these rectangles to create squares (two strip pieces sewn together vertically).

Then, I sewed the foursquares together and so on until I had done an entire quadrant. I didn’t have any special method to avoid errors, but after a few years nobody’s found any mistakes yet!

Sew rectangles into component squares for the quilt.

And so on. When you finish, apply border and backing.

That’s it. Once I had all the quadrants done and sewn together, I laid down a backing, batting on top of that, and the quilt face-up on top. I used temporary basting stitches to hold the quilt together while I quilted the permanent stitches that  keep the quilt together today; I chose to quilt around only the prime numbers, so the quilt is actually weaker where there are fewer prime numbers. But from the back you can “read” the Ulam Spiral clockwise! Lastly, I bound the quilt in black.

Some thoughts on reading “The Lean Startup”

Filed under: Everything Else — Tags: , , , — Justin Dunham on April 28, 2012

Not Eric Ries.

The most important thing I learned from reading The Lean Startup is the idea that “learning is the essential unit of progress for startups” (from the “Learn” chapter).

I think what I find fundamentally profound about this is the idea that there is a unit of progress for a startup. Ries defines a startup as “a human institution designed to create a new product or service under conditions of extreme uncertainty” (from the “Define” chapter). This makes sense as a definition, but if there’s extreme uncertainty about the universe, how can we know what the right direction is at any given moment, what direction we ourselves are progressing in, or even what constitutes “knowledge”?

Ries deals with this by applying the scientific method. The scientific method is also set up to deal with conditions of extreme uncertainty – i.e. the universe, which is very difficult (fundamentally impossible?) to observe and understand. Because confirmation is difficult (or impossible), the scientific method works by disproving hypotheses, rather than proving them.

In the context of a startup, disproving a hypothesis means learning, and it means validated learning, which is what Ries uses to gauge progress; failure is OK, as long as something has been definitely learned about the customer, or business model, or process technology, etc. Of course, there is in this context no “definitely”, but as humans we use “definitely” to mean “very, very probably.”

Disproving hypotheses seems like a difficult way to build a company – after all, there are an infinite number of possible hypotheses that should need to be disproved. But all this method does is take into account the reality of today’s production circumstances. Just as, in the universe, there is an infinite number of potential fact patterns, “in the modern economy, almost any product can be imagined and built” (“Lessons Beyond IMVU”). For a startup, the way to constrain the number of possible hypotheses to test is to stick to a particular vision of what the company needs to become, and then test hypotheses about ways to achieve that vision.

As a nice side effect, this method helps prevent a startup from focusing on good news that is satisfying, but actually irrelevant (or bad news that discouraging, but irrelevant). Take, for example, Ries’ discussion of metrics in the “Measure” chapter. He gives three guidelines for metrics that are worth measuring (and implicitly, metrics that are worth testing against): whether they are can be acted upon, can be understood, and can be trusted.

For example, a lot of metrics that are popular with startups, such as website visits, are actually not always valuable since they can’t be acted upon – an increase in hits on the website doesn’t by itself tell us about conversion rates or actual interest in using the product.

Without an “essential unit of progress” to track, the temptation is to use these metrics instead, since they help in raising money and provide a strong feeling of progress if nothing else is available. By providing the validated learning alternative it’s much easier to know what to measure, why, and how to act on it.

Thing stories

Filed under: Everything Else — Tags: , , , , , , , — Justin Dunham on April 21, 2012

Mega Man picture by Flickr user Brian Talbot (clicking photo goes to Flickr page)

A little while ago, at the New York MakerBot User Group, they were talking about a project to buy things from thrift stores, scan them into Thingiverse, and then donate them back. Though you can only do it once (or at most a few times) per object, it struck me as a great idea – money for charities, and digitization of the world for Thingiverse’s audience of makers.

The group leaders mentioned this blog by Emily Spivack, in which she lists eBay items which, importantly, have stories associated with them. I can’t find it right now, but the User Group leaders also mentioned a (study? experiment?) in which items were sold on eBay by themselves, and then relisted with an accompanying story in the item description. For example, listing a dress and letting the auction finish, then re-listing the same dress with a story about the wedding it was worn to. The value of things with stories was significantly higher than the value of things without stories.


Read the rest of this article »

Making springs

Filed under: Everything Else — Tags: , , , — Justin Dunham on April 9, 2012

A completed spring!

The workspace. We put that metal bar into the chuck of a power drill, so that we could wind the wire around it as it rotated

Last fall, a fellow Hive76 member (Dave Sharp) brought in the necessary equipment to make springs! I remember being a kid and playing with all the springs I’d find from ballpoint pens, or from fold-out mattresses, and in many, many other places. They all had different qualities, and it’s interesting to know that they can all be made using a very similar process. (Also, I always thought they were kind of magical – how do you get a tough metal wire to hold a shape like that, forever?)

There are three types of springs: extension, compression, and torsion. Extension springs are naturally short, and stretch and then snap back when you let the weight off them. Compression springs are naturally long, and get compressed under pressure. Finally, torsion springs are springs that rotate instead of compressing or expanding. A good example of where a torsion spring might be used is an oven door that clicks closed and has a little bit of natural push when you open it.

It turns out that springs are relatively simple to make. We used some thick wire, and held it tight against a rotating power drill to get a properly compacted coil. That was pretty much it. Most springs are heat-treated after they’re made this way, which we couldn’t do at Hive, but these seemed like they’d work in a pinch.

Ricotta, crackers and zucchini ribbons

Filed under: Cooking Journal — Tags: , , , , , , , — Justin Dunham on April 3, 2012

Served with homemade crackers and wilted zucchini ribbons.

I like to make things from scratch, especially when they involve learning about a new process or technique that I didn’t know about before. I have a great, reliable cracker recipe from Alton Brown, and I was looking for another course for an Italian-ish meal I was making for friends in New York. So, I figured this would be a good opportunity to try making ricotta cheese.

Read the rest of this article »

Creative Commons License
.