Category Archives: web

Cosas relacionadas a Internet

UnicodeEncodeError on Django uploaded files

This has been an error that’s been bugging me for months. For some reason in production settings only in the production server only, whenever a user uploaded a files with a non ascii filename, I’d get this error UnicodeEncodeError: ‘ascii’ … Continue reading

Posted in django, en, programacion, Python, tech, web | Leave a comment

Disqus coments UI

I really like Disqus comments service. But I wish they had a simple UI alternative, as I don’t want to show that much text/options in my screen. This is what it looks like by default: I would hide the “suscribe”, … Continue reading

Posted in es, geek, web | Tagged | 3 Comments

CSS3 gradients in Webkit

I’m just writing this to record a shorthand answer to a doubt I had. Old format Webkit gradients only support percentage color stops Recently, Webkit added support for standards CSS3 gradients, so your syntax will be the same for different … Continue reading

Posted in css, en, html, programacion, web | Tagged | Leave a comment

Add ‘error’ class to widgets with errors in Django Forms

Many times UI requires us to style differently widgets that have errors in a field instead or next to an error message. Django provides a nifty .errors attribute to tell if a field of form has errors but you can’t … Continue reading

Posted in css, django, web | Tagged , , , | 2 Comments

Ubiquity script for Goo.gl

Since google just made their URL shortener service public, I decided I would start using it . Going to the page and pasting a URL is too much work, Installing a firefox extension is too much bloat. So since I … Continue reading

Posted in en, geek, Google, javascript, tech, web | Tagged , , | Leave a comment

Learning jQuery 1.3

Right after finishing my review on the Django template development book I got contacted again by the Packt folks to do the same for the Learning jQuery 1.3 book. I was most pleased with the request. Now, this book has … Continue reading

Posted in en, geek, javascript, programacion, tech, web | Tagged , , | Leave a comment

Django 1.0 Template Development

Last month I got an email from Packt telling me about their latest book on Django Template development. I was invited to give it a read and see how I liked it. Now, I’m a lazy and slow reader. But … Continue reading

Posted in django, en, geek, programacion, tech, web | Tagged , , | 3 Comments

New Open-selector version

This shall be called Version 0.2 . The cool feature of this is the inline mode, it will be useful to have an OpenID login box in topbars, inline menus or heading sections (they are all the same I think), … Continue reading

Posted in en, geek, javascript, open-selector, openid, programacion, tech, web | Tagged , , | 3 Comments

Browser Layout engine internals video

Esta charla de David Baron explica cómo funciona el motor de CSS en los Rendering Engines, particularmente Gecko. Me parecio genial como explica cómo funcionan los selectores CSS y que tipo de sintaxis está optimizada y recomendaciones de como utilizarlos … Continue reading

Posted in css, en, firefox, geek, html, tech, web | Tagged , , , | Leave a comment

La Sociedad Peruana de Computación

La verdad no conozco mucho de esta sociedad, sólo me he enterado de ella por algunos links que contactos mios han puesto en Twitter notificando de algunos eventos. Me causó curiosidad conocer un poco más de qué trata esta “sociedad” … Continue reading

Posted in css, es, geek, html, web | Tagged , | 7 Comments