Tuesday, May 4, 2010
Javascript CSV Viewer
I had a csv file, you know, the typical... but I didn't have a viewer installed. I wanted something straight forward. I ended up using google docs but really, I was looking for copy and paste, something that would easily facilitate CSV files
Thursday, April 22, 2010
Image Fading in linux
Please look here: fade.html. I'm going to move away from this horrible platform soon.
Wednesday, April 21, 2010
CPAN
I like CPAN. Do you like it?
Would you like to answer now? [yes]
Is your answer in English? [yes]
Is your answer in ASCII? [yes]
Does UTF-8 look right to you? [yes]
Would you like to answer via keyboard input? [yes]
Would you like to continue? [yes]
Checking if you have a computer ...... ok
Checking if it is running ............ ok
Checking if it is done booting ....... ok
Checking if operating system loaded .. ok
Checking if perl is installed ........ ok
...
Error: terminal type "Linux" unknown. Aborting.
cpan>
Saturday, March 27, 2010
Apophnia, an image server
So I was presented with a problem like this:
If only this existed! [ Download it here ]
Hiya, I have a bazillion images and I want to um you know like:
- Be able to use new resolutions on the fly
- Have these dynamically created images cached
- Incur almost zero overhead in the process
- Have a dedicated image web server or a web server module to do it ... images are important
Basically, given file /myimage.jpg I want to do say, /myimage_500x500.jpg and then say,
- Look for myimage_500x500.jpg.
- If not found, back up, try myimage.jpg
- See that (_500x500) is a resize directive
- Dynamically resize myimage.jpg to 500x500, serve that image
- Save a new file to disk myimage_500x500.jpg so that when it is requested again ... it's easy
Oh, and I want some other things
- When the image is resized the first time, I want it to be the fastest algorithm possible so that the user sees the resized image with minimal delay.
- But I also want a different, slow, high quality algorithm to run to save it to disk
One more thing, if it's not too hardI want to specify things like this:"medium": {so I can do something stupid like request /myimage_medium.jpg
"resize": [1024,1024],
"quality": 50,
"cropwhitespace": true
}
If only this existed! [ Download it here ]
Current implementation details
- Written in C.
- Uses Mongoose as a webserver
- Uses Imagemagick for sizing
- Doesn't actually do *everything* above yet, but that is the goal.
Wednesday, February 24, 2010
Youtube music searcher
http://qaa.ath.cx/music.html
Try to copy and paste a list like...
Try to copy and paste a list like...
+Run DMC - Peter Piper
Salt N' Pepa - Push It
Slick Rick - A Children’s Story
Sugarhill Gang - Rapper’s Delight
Sugarhill Gang - Apache
Tone Loc - Funky Cold Medina
Treacherous Three - Feel The Heart Beat
Trouble Funk - Pump Me Up
Ultramagnetic MC's - Ego Trippin'
West Street Mob - Breakdance Electric Boogie
Whodini - Freaks Come Out At Night
Whodini - Friends
Friday, January 8, 2010
Online Porter Stemmer
I was looking for an online version of the Porter Stemming algorithm. I couldn't find one, and then realized that I am the person most recently credited with the official JS version here: http://tartarus.org/~martin/PorterStemmer/
So I guess then, it's my responsibility to make a demo: http://qaa.ath.cx/porter_js_demo.html
There it is.
So I guess then, it's my responsibility to make a demo: http://qaa.ath.cx/porter_js_demo.html
There it is.
Friday, December 25, 2009
Subscribe to:
Posts (Atom)