Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Sunday, August 28, 2011

Twigga



Twigga
is a python CGI hack that I threw together in a couple days. Just click to see what it does.

Tuesday, February 1, 2011

0xFEED 0xDEAD!!

There was quite a zombie craze going on in the unconscious... maybe it's still going on?

~Eitherway~

So, when living in a rental and I was weak enough to have friends (Or was I just stoned enough to stand people? whatever. Beside the point, AGAIN.) There would be people asking me for the WEP key to the network, I would read them off the key, and they would always ask
"Upper or lower case?"

which I would respond:

"It doesn't matter, it's just a number, the letters are just standing in because we don't have enough digits for base 16, A through F plus 0 through 9 is 16"

But today as I was dinking around with C, a language that is much more mindful to what's happening under the hood than Python, which is a language that is much more mindful to what's happening as to the formatting of the syntax. I came across %x and %X in printf(), which the only difference was whether the A through F were UPPER or lower case. Then I thought about the many times where I was asked for the hex key.

Then it dawned on me, it wasn't a JUST A NUMBER, A through f were SYMBOLS representing a number. Maybe there was some universal upper or lowercase symbolism to represent base 16? Or even !@#$%^ ...those symbols used instead as place holders, ca-razy~!


"It doesn't matter, it's just a number"
Another case of how anytime someone says something is JUST something, they're usually wrong, it's so much more!

Friday, January 28, 2011

Install matplotlib 1.01 on ubuntu

Download: Tarball of matplotlib from SF

Extract it, cd to directory

sudo apt-get install build-essential libpng12-dev libfreetype6-dev

sudo python setup.py build
sudo python setup.py install

That's it

Wednesday, August 4, 2010

Programming...

So I sat down and did a little programming in python today, I haven't done it in so long, I'm quite rusty, but here's the result from the work: 666 Snap!

Fairly pleased, the hardest part was grabbing the image from the astrological site since the file name changes... the rest are static and easy to yoink.

Now, I may be interested in making the same program but make database files, like CSV or something in order to graph things and overlay various variables through time... "I bet the monster was happy when they made him a maze"...

Yes. yes indeed, there are some things that are never MEANT to be known, but it's fun wearing down the parts that try and know it.

The code is nasty, I don't even want to show it off...

BELOW<-->PEACE<-->ABOVE
-nak