domingo, 21 de diciembre de 2008

Surrealism in Mexico City's subway

viernes, 12 de diciembre de 2008

Forrest Whitaker + syncope

I was looking for some info about a movie I watched some time ago. It's stared by Forrest Whitaker and an actor I always forget his name, the one from The Fly (Jeff Goldblum). The name of this great film is Lush Life (1994) and if you like jazz music you gotta see it!

Now, when I was finding out the name of this film, 'cause I couldn't remember its name either, I read about a film I haven't seen but I already knew about its existence. Forrest Whitaker stars as the magnanimous Charlie Parker!!! Right! I'm talking about Clint Eastwood's Bird and it won the best actor award and also got a Golden Globe nomination. What I didn't know about this film is that it was made in 1988!! I checked the year three times 'cause I thought it is so much recent.
Anyway... I added this to my to-watch-list.

Now, there is something new. Forrest will star Louis Armstrong in a film that couldn't have been entitled any different: What a wonderful world. The real interesting thing is he's also directing. We'll see.

By the way, if you like trip hop there's a great CD by Bowery Electric called Lush Life... John Coltrane also has a record called like that, but I haven't heard it.

martes, 9 de diciembre de 2008

Limit file uploads by extension

Nice & easy! A great JS Script... I'm keeping the credits, this ain't mine!

<!-- Original: ArjoGod, Shauna Merritt -->
<!-- Modified By: Ronnie T. Moore, Editor -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! -->

<!-- Begin
extArray = new Array(".jpg");
function LimitAttach(form, file) {
allowSubmit = false;
if (!file) return;
while (file.indexOf("\\") != -1)
file = file.slice(file.indexOf("\\") + 1);
ext = file.slice(file.indexOf(".")).toLowerCase();
for (var i = 0; i < extArray.length; i++) {
if (extArray[i] == ext) { allowSubmit = true; break; }
if (allowSubmit) form.submit();
alert("Please only upload files that end in types: "
+ (extArray.join(" ")) + "\nPlease select a new "
+ "file to upload and submit again.");
// End -->

And to make it work, just apply it on the submit input

<input type="submit" onclick="LimitAttach(this.form, this.form.input_file_name.value)" />

domingo, 7 de diciembre de 2008

Please post your comments!

So, you might have noticed I've just redesigned this blog... or probably not as it seems not many people come here at all...

So, if you like it (or not) just post a comment. I'd also be happy to redesign your blog, website, personal cards or anything as I need money urgently cause I'll go to Europe in December and I might need to get some food or sleep!!!

I also added several news feeds. I specially like roten tomatoes reviews, I think they're pretty accurate most of the times.

Stay tunned! In my next post I'll explain how to use torrents so you can download movies, full discographies, tv series, and many other stuff... I've downloaded from torrents the full discography of The Beatles, Rolling Stones, Radiohead, Aerosmith, Pink Floyd and many others... TV series: several seasons of The Sopranos, The IT Crowd... and lots and lots of movies!! stay tunned!...

Just a few shots at CU

I need to get myself a nice scanner...

lunes, 1 de diciembre de 2008

Spirits within things only lives in b&w

So there is light as there is shadow, but sometimes our mind just can't get what the eye can feel... but the heart knows what the heart knows, and that's what really matters...

miércoles, 26 de noviembre de 2008

Paginate, paginate, paginate

Paginate your queries, be happy, be hippie...



if (empty($_GET[pg])) { $_GET[pg]=1; }
if ($_GET[pg] < 1) { $pg=0; } else { $pg=$_GET[pg]-1; }


$sel_docs="SELECT id_doc,titulo FROM docs ORDER BY id_doc DESC ";
if (isset($_GET[query]) && $_GET[query]!='') {
$sel_docs.="WHERE titulo LIKE '%".$_GET[query]."%'";
$sel_docs.=" LIMIT $ini,$fin";


while ($rdocs=mysql_fetch_array($qdocs)) {
/// do your stuff

echo "<p align='center'>";
$sql_count="SELECT id_doc FROM docs ";
if (isset($_GET[query]) && $_GET[query]!='') { $sel_docs.="WHERE titulo LIKE '%".$_GET[query]."%'"; }
$num=mysql_num_rows($q_count); // cuántos artículos hay

$pg_max=ceil($num/$docs); // número máximo de páginas

$num_list=24; // número de páginas listadas -- de 0 a $num_list

if ($pg!=0) {
echo "<a href='index.php?p=".$_GET[p]."&pg=".$anterior."&query=".$_GET[query]."'>Anterior</a> ";

/// define desde que página inicia la numeración
if (empty($_GET[query])) {
if ($_GET[pg]<=10) {
} else if ($_GET[pg]>($pg_max-$num_list)) {
} else {

if ($num_list>$pg_max) { $num_list=$pg_max; }

//////////// paginado
for ($i = 0; $i < $num_list; $i++) {
if ($pg_tmp==$_GET[pg]) { echo "<b>$pg_tmp</b> | ";
} else {
echo "<a href='index.php?p=".$_GET[p]."&pg=".$pg_tmp."&query=".$_GET[query]."'>".$pg_tmp."</a> | "; }

if ($_GET[pg]!=$pg_max) {
echo "<a href='index.php?p=".$_GET[p]."&pg=".$siguiente."&query=".$_GET[query]."'>Siguiente</a> ";

echo "</p>";


sorry for the spanglish...

sábado, 22 de noviembre de 2008

Great PHP image resize code 4 thumbnails

This works just great!! check it out. Thumbs are created from those very images displayed with lightbox!

This will resize your image but it won't stretch it and it'll keep right proportions. Basically this crops your image to fit the best.

function createThumb($source,$dest) {
$thumb_size = 230; // square thumbs
$size = getimagesize($source);
$width = $size[0];
$height = $size[1];

// you might comment this to make regular thumbs and add a thumb width var. keep this for square thumbs
if($width> $height) {
$x = ceil(($width - $height) / 2 );
$width = $height;
} else if ($height> $width) {
$y = ceil(($height - $width) / 2);
$height = $width;

$new_im = ImageCreatetruecolor($thumb_size,$thumb_size);
$im = imagecreatefromjpeg($source);

miércoles, 12 de noviembre de 2008

Lost in translation

Once I heard on the radio that a movie wich starts with a close up of Scarlett Johanson's butt can't be bad at all... and as far as I know it's true. Here's an example.

Well... I have a clue of where translation may had got lost.

Happiness is real only when shared

As friendship is a human need just like happiness, these may not coexist sepparately... we are social animals...

domingo, 2 de noviembre de 2008

I luv zombies

The Walking Dead is centered around a small-town police officer from Cynthiana, Kentucky, his family, and a number of other survivors who have banded together in order to survive after the world is overrun with zombies. As the series progresses, the characters become more developed, and their personalities shift under the stress of a zombie apocalypse. Fighting growing despair — and occasionally each other — the group searches for a secure location which they can finally call home...

  • Find out more at Wikipedia
  • Zomics. Check out this site where you'll find more info about many comic titles about zombies... I think this is mostly in spanish...
  • Check out mininova results.
  • Links in this site seem to be working... bdcomics.bdgamers

viernes, 31 de octubre de 2008

This is the very last site I've made... check it out, I think it's pretty cool...

Finally I can say I'm improving as a web page designer, as I'm no longer just a plain programmer. Photography lessons have just paid off!

jueves, 4 de septiembre de 2008

I'm too fuckin' lazy

I'm too lazy to update this blog... so now I'll just post some pics

domingo, 23 de marzo de 2008

Ghost Dog: The Way of the Samurai

This is another great movie starring Mr. Whitaker... this is really good story and a great performance. All assassins live beyond the law... only one follows the code: "Hagakure: The Way of the Samurai". This one is an independent film or something like that, and must-see.

Here's da' torrent! Download!

The Last King of Scotland

I recently saw "The Last King of Scotland". This is the best movie I've seen starring Forrest Whitaker.

In the early 1970s, Nicholas Garrigan, a young semi-idealistic Scottish doctor, comes to Uganda to assist in a rural hospital. Once there, he soon meets up with the new President, Idi Amin, who promises a golden age for the African nation. Garrigan hits it off immediately with the rabid Scotland fan, who soon offers him a senior position in the national health department and becomes one of Amin's closest advisers. However as the years pass, Garrigan cannot help but notice Amin's increasingly erratic behavior that grows beyond a legitimate fear of assassination into a murderous insanity that is driving Uganda into bloody ruin. (taken from

Here I post a link to a torrent in case you want to download it!

miércoles, 12 de marzo de 2008

Fresh as a daisy!

I discovered James in the very last years of my adolescence... I gotta say it, after Radiohead they are my second favorite band (alive). I thought they were separated. This is the best surprise of this year so far. I hadn't heard it yet, and you can bet I'll buy it tomorrow. However, I guess I can hear it in the morning when I reach the office.

James - Fresh as a Daisy (1)

James - Fresh as a Daisy (2)

martes, 11 de marzo de 2008

Best video search engine ever!

I'm posting this because I don't feel like posting babes pictures or promoting music piracy...

I'm currently working on this new website (it's not my personal project but what I'm developing at work). It will have a powerful search engine that will look for videos on the web from YouTube, MSN, Yahoo, MetaCafe and many other popular public videos websites...

When I finish it (if I ever do 'cause it's kind'a lot of work to do) be sure to visit it from time to time instead of your regular navigating at YouTube, 'cause it'll be much better than that, I swear.

If you have any ideas of what would be cool for it to do, just let me know! I'll post the address of another engine, a look alike engine, because I'm not allowed to realease the real address until it's done!...

Enjoy the fatty guy!

Babes at your very desktop!!

I know many people read my last post last time, but nobody made any f*** comment... however, I realized you really enjoyed that picture, so now I'll tell you where to download the best wallpapers in the web (as far as I can tell)...

This is a great no-nudity wallpaper site...

Enjoy... I know you will!

domingo, 9 de marzo de 2008

Meet Luba

I just can't stop loving this woman... actually I gotta say I really like his husband much more than her!

Meet Luba here... you'll love this blog. Then, you can pay a visit to

If I ever pay for a porn account, this would be it... at least a soft-porn account.

Portishead - Third

I'm a happy guy... finally and after ten years Portishead recorded a new album. I'm posting here a link so anyone can download it if you want. I took this from at the beginning, but later they deleted the file so I took it from

sábado, 8 de marzo de 2008

I've bought a cammera!

Finally I bought a cammera. It's nothing really spectacular, but I'll have to do... I paid 2,500 pesos for it, about 230 USD. Let's see what comes after... Here's an old picture of my bedroom (wich I actually didn't take with this new cammera) but as I said before, it will have to do :p