Andrew T Lyman

experimentalist

2011

Archives

Archive for the ‘Code’ Category

The Path

Wednesday, February 16th, 2011

I don’t know if I’ve explained this here yet, but I’ve been taking some computer science classes over at the big ole’ University here. Sort of a test for me, and for computer science to see if we like each other. The added benefit is that if we do get along, this’ll be the start of the road of me getting a higher education in the discipline. Anyhow, some of the assignments are of the fun variety, and from time to time I’ll post them here for kicks.

The following was the first big assignment from my Data Organization in C class. In it we were given strings of 18 characters. We had to split these up into nine two-digit values that compose a theoretical 3×3 grid. Some of the values in the strings we were given were missing, so it was up to us to programatically go through and fill in those missing values.

This was possible because in a solvable grid, all rows, columns, and diagonals would sum up to the same number and no values would repeat. So if we could check the sums against each other we could iterate through combinations of missing values until a solution set was produced. I’ve so far brute-forced my way to the solution with nine(!) nested loops. Perhaps I’ll post my program in a bit.

Posted in Code | Comments Off

Star Simming

Monday, January 17th, 2011

star sim

I’ve been working on a Star Field Simulator for the Meow Wold Due Return Installation at the Santa Fe CCA in May. The installation is going to fill a 6,000 sq/ft room with an alien environment and a crash-landed inter-dimensional space ship. The sky is going to be composed of 384 LED stars running and pulsing on 48 different circuits. I’ve been writing a Sim for all of this in Processing so we can see how things may be handled. The project is easily going to be insane, and I encourage anyone interested to learn more and to support the Due Return on Kickstarter. If you have (or download) Processing, you can download and play around with the sim till your heart’s content.

Meow Wolf Site
Star Sim v4.0 .zip

Posted in Code, Meow Wolf, arduino, art | Comments Off

Ard-wee-no?

Wednesday, December 29th, 2010

Mom and Dad be praised, I got an Arduino for Christmas. It’ll mark must first and most rudimentary probings into physical computing, and I’m excited for the many experiments to come. Below is my first, from Makes: Getting Started With Arduino by Massimo Banzi. Just turning an LED on and off with a button. The code is trivial, as is the effect, but there is quite thrill to plugging this device into you USB port, uploading the code, and the immediate satisfaction of having it work right there on your desk. Many many hours of learning and experiments to come. They’ll live here with the rest of my learning and experiments.

//Blinky LED
#define LED 13
#define BUTTON 7

int val = 0;
int old_val = 0;
int state = 0;

void setup(){
  pinMode(LED,OUTPUT);
  pinMode(BUTTON,INPUT);
}

void loop(){
  val = digitalRead(BUTTON);
  if((val == HIGH) && (old_val == LOW)){
    state = 1 - state;
    delay(10);
  }

  old_val = val;

  if(state == 1){
    digitalWrite(LED, HIGH);
  } else {
    digitalWrite(LED,LOW);
  }
}

(picture of the circuit when I can find my camera cord)

Posted in Code, arduino | Comments Off

Scramblize ‘em

Monday, November 29th, 2010

fuckGit

I’m learning how to damage image files by splicing two or more together. Never produces the results you would expect, but fun none-the-less. Damnit.

Posted in Code | Comments Off

Data Storage

Tuesday, November 16th, 2010

The trouble venturing into deeply technical spheres of knowledge on your own if finding your points of entry. I’ve been plugging back away on the programming front (the ole’ attempt to level-up) but I’ve been having a damn time keeping focused and finding projects at my skill level. I’ve recently plugged into Dive Into Python by Mark Pilgrim. I had been shying away from going through another Python book, because I felt, foolishly, like I knew the language, but it’s actually a thrillingly different treatment of the language than John Zelle’s excellent Python Programming: An Introduction to Computer Science. Anyway, I’m back into it, learning new things, having new fun.

In the meantime I’ve begun working on this:
hauntedHD
Which is to be a Unix (written in Python) text adventure exploration game. I thought it would be swell to populate your actual file system with secrets and spooks, like exploring a creepy old mansion, so I’ve been building an interface where you actually move through the directories on your hard drive and interact with the files you find. It’s very early on, and will take a lot of work (which I may or may not put in), but it’s produced some pleasing learning results thus far. I’ll keep me posted.

Posted in Code, games | Comments Off

erotic encoding

Monday, November 8th, 2010

jpeg encoding in the form of one of the most photographed orifices on the internet
Code | Comments Off

Brain Wipes

Thursday, June 3rd, 2010


Continued exploitation of HTML/CSS/JS as an animated display language. This one hurts you.
Wiper

Posted in Code | Comments Off

Fill Er Up

Tuesday, June 1st, 2010


Sure, a BIT of a comment. A bit of play. A bit of an exploitation (of HTML/CSS). Destruction destruction destruction. They’re cutting down power-lines outside today. There’s a smoke from Canada blowin in. This isn’t how it’s meant…

Fill Er Up Boss

Posted in Code | Comments Off

Friends With Websites Kickstarter

Monday, May 31st, 2010

I am moving in both place and mind. I have been working as a web designer/ developer for a number of years. Largely it has been satisfying and educational work. There is much intrigue to me in understanding these technologies we inhabit. It is wonderful work to enable and empower individual humans and projects, less so to dress up faceless business and spin one’s wheels. In moving place I am raising money. In moving mind I am raising awareness and quality. Templates are well and good where personality lacks. Templates are an insult to personality. Many friends with websites are left with no place to turn but to the vile template overlords. Who can afford a website?

For swaggeringly deflated rates I will design/redesign/and/or/redevelop the websites of humans. The projects will be addressed as they come in, and I will take every measure possible to turn them around in no more than a week’s time. All the sites will be collected and linked on a communal site at the end of the project so that friends may share friends and websites alike.

I am a designer, programmer, and tinkerer. Here is the evidence:

alt/ATL Delete (professionally)
OR/AND

ATL/alt Website (casually)

Send me adjectives, designs you like, and what you’re looking for in a home on the internet. Please no: “I’d like to develop like a Facebook type application for my readers.” or “Can you make like, YouTube?” No more social networks. Let’s talk about you.
All sites built from scratch to spec. Quick, clean, and compliant code that’ll grow old slow and well.

Blogger and WordPress friendly. If there’s a question about features/functionality, e-mail first and we’ll discuss it. These should be quick projects, not big builds.

Kickstarter Project Link: Friends With Websites

Posted in Action, Code, Design, News, commercial, web | Comments Off

Achieving Failure

Thursday, May 27th, 2010

A bit back I composed an interactive meditation on failure for an open call from Several Pursuits. The task was taken up merely as a direction for thought/activity, and the objective was met (for me) as soon as the piece was completed, however, because it was a directed effort, it has hit a mark, and they’ve accepted my submission. Follow this link to Several Pursuits to bring you back here.

5:36:24…5:36:23…5:36:22…

Posted in Code, Writing | Comments Off