palfrey: (Default)
Add MemoryShare This Entry
posted by [personal profile] palfrey at 10:38pm on 01/04/2004
Spent a few hours fucking around with code (lack of hacking this week getting to me), and put together a scrabble generator. Almost a direct copy of [livejournal.com profile] pholph's, but this one works right now... meh, simple app. Hardest bit was finding decent tiles. Still not happy. If anyone's got a better set, you know where to find me.

Wrote a short python hack to decode the latest Thinkgeek binary t-shirt

import sys
x = reduce(lambda x,y:x+y,[x.strip() for x in sys.stdin.readlines()])
for z in range(0,len(x),8):
	sys.stdout.write(chr(reduce(lambda x,y:(x<<1)+y,[int(c) for c in x[z:z+8]])))

It's practically bloody Perl. Sent it off to them as a suggestion for the backprint
Music:: Green Day - Warning - Minority
There are no comments on this entry. (Reply.)

February

SunMonTueWedThuFriSat
1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22 23
 
24
 
25
 
26
 
27
 
28