tools: create files and operate

generate_file_list () { for ((i=0; $i<10; i++)); do echo file_out$i.out; done;};
for word in $(generate_file_list); do echo "$word"; done;

Edit:

for ((i=0; $i<10; i++)); do convert $(printf 'foo-%02d\n' $i); done

Comments (0)
Posted

food: breaded chicken

tastes better because it was cooked by szym :)

Comments (0)
Posted

television: Dollhouse cancelled

After watching the two newest released episodes of Dollhouse, I'm even more devastated that the show got cancelled.

Comments (0)
Posted

dissonance: six simple machines

There are a number of things I learned as a child which don't make much sense to me now. Among them, the scientific method, color theory and the six simple machines:

http://atlantis.coe.uh.edu/archive/science/science_lessons/scienceles1/finalhome.htm

The six simple machines are: lever, inclined plane, wheel and axle, screw, wedge and pulley.

In both cases, I wonder what the rational was in creating this particular generalization. Perhaps it is helpful in teaching concepts. However, in hindsight, the generalizations don't really make much sense. That said, is there perhaps a more up-to-date generalization for "six" simple machines that will one day, too, look a bit unintelligible.

For all intensive purposes, it could be: for, if, else, while ... hm that's only four.

Or, it could be: union, intersect, concatenation ... hm that's only three

Or, it could be: insert, delete, sort ... hm that's only three

and none of these feel truly unified.

I mean, seriously, generalizing tools only makes sense if one has an idea for a machine model in the first place.

Comments (0)
Posted

tools: tabs generator

Who would have thought that tabs are one of the best types of tools? :p

http://www.tabsgenerator.com/

Comments (0)
Posted

food: chocolate frosting

cake mix: 99-cent Jiffy generic chocolate cake mix w/ two eggs

random frosting recipe: non-fat yogurt, a bit of half-n-half leftover, one chocolate bar stolen from a hotel, raspberry filling from another box, powdered sugar ... (basically random stuff in the fridge + sugar).

   
Click here to download:
Chocolate_Frosting.zip (118 KB)

Comments (0)
Posted

resonance: designing for the extreme

I had this conversation with Inna a while ago about researching technology for special needs. To be completely honest, I've never been really interested in delving into this area. However, she made a strong point that often times, designing for the extreme cases gives strong insight into designing for the average user.

We thought along these lines and there seems to be several examples of this. For example, reading devices for the blind might lead to low-power haptic displays. However, none of them seemed particularly compelling only because I hadn't did any of this type of work myself. Anyway, yesterday, I was shown Dasher, which is an inference-based text input device.

http://www.inference.phy.cam.ac.uk/dasher/

This is really neat! It not only has a strong underlying modeled principle, but also a strong case for using it with people with disabilities. Further, as I can already see, this has really neat implications for working with non-traditional displays like public-signage or PDA input. Anyway, cool stuff!

Comments (0)
Posted

resonance: from TOC

From Sipser, Theory of Computation, page 218:

1) Living things are machines
2) Living things can self-reproduce
3) Machines cannot self-reproduce

...

"How can we resolve this paradox? The answer is simple: Statement 3 is incorrect. Making machines that reproduce themselves is possible. The Recursion theorem demonstrates how." - Sipser

My python example: child.py,

mom = """print 'mom = ""'+'"'+mom+'""'+'"'
print mom"""
print 'mom = ""'+'"'+mom+'""'+'"'
print mom

... Try ...

python < child.py | python | python | python

... child.py yields ...

Comments (0)
Posted

resonance: computer setup

Note the peripheral-to-brain ratio. Parts scavenged from lab-cruft.

Comments (0)
Posted