knit hat

The gloves were turned into a hat for S.

IMG_2505 IMG_2504

Have you heard of Ravelry? It's got a really useful, really targeted advanced search, and each pattern logged on there has about a bazillion people uploading actual completed project photos they worked on. That's where I found this pattern, though I guess it turns out that I don't know how to count yarn ply (hat is a bit big).

Ravelry link, actual pattern link, for the Jacques Costeau hat. I think there's a slight mistake in the pattern though. First round of decrease should start with 28 in the rib pattern, then KKS, without the 2 purls at the very end.

One thing I was wondering ... why don't more software engineers knit? Knitting is EXACTLY analogous to programming.

- instructions = program
- repeats = program iterations
- cabling / special working = program functions
- brain = compiler
- fingers/needles = processor?
- knit product = pixels on screen. (look at what you can do with intarsia!)

Here's the Jacques Cousteau hat as a pseudo-scripty-whatever-program.

CAST 120; JOIN;
while (hat < 8_inches): FN_RIB;
for (onerow): FN_DECREASE1;
while (stitches_in_row > 12): FN_DECREASE;
TIE_OFF;


define FN_RIB:
   K 3; P 2;


define FN_DECREASE1:
   while (stitches_from_mark <= 28): FN_RIB; //a bit squirrelly
   K 2; S;
   MARK;


define FN_DECREASE:
   while (stitches_to_mark > 2): FN_RIB;
   K 2; S;
   MARK;

S says programmers would rather have machines do the work.

 
[ ‹ previous | next › ]
 

comments

 

add a comment?

hit post when you're done. it will look like there's some weird page-not-found error, but don't worry, your comment made it in. after 30 seconds - 1 minute, hit back, refresh, and it should be there. if you have a clue what the script issue is, let me know!