Caching Tutorial

This is an informational document. Although technical in nature, it attempts to make the concepts involved understandable and applicable in real-world situations. Because of this, some aspects of the material are simplified or omitted, for the sake of clarity. If you are interested in the minutia of the subject, please explore the References and Further Information at the end. » mnot.net

23 de mayo de 2012 · 1 min · 61 palabras · Nacho Cano

Can’t Get Into Preprocessors? Try Zen Coding

A ton of discussion lately has been given to preprocessors. These incredibly useful tools make coding easier, faster and more maintainable, but they’re certainly not for everyone. Whether or not you’ve jumped on the preprocessor bandwagon, you should give a fresh look to an old favorite that helps you dramatically cut your coding time without reinventing your workflow with compilers and other complications: Zen Coding. » designhack.net

23 de mayo de 2012 · 1 min · 67 palabras · Nacho Cano

Writing Plugins for gedit 3 with Python

This is a guide to programming plugins for gedit 3, the default text editor for GNOME 3. gedit 3 uses the Libpeas GObject plugin system and the plugins can be written using C or Python. This guide will only cover writing plugins with Python. » micahcarrick.com

23 de mayo de 2012 · 1 min · 46 palabras · Nacho Cano

Cables HDMI, la verdadera diferencia entre un cable caro y barato

El uso de un cable HDMI permite transmitir una señal digital, señal de vídeo con mayor resolución, sonido multicanal en un sólo cable y la inclusión de datos auxiliares. Desde la versión HDMI 1.0 hasta la 1.4 se han ido añadiendo mejoras al cable. Por ejemplo, en la versión 1.4 se puede enviar una señal de vídeo a una resolución de 4096—2160 pixeles a 24fps o 3840—2160 a 30fps. Además permite enviar contenido 3D y junto a las mejoras de audio es capaz de enviar y recibir datos a través de una conexión Ethernet incorporada en el propio cable. ...

23 de mayo de 2012 · 1 min · 101 palabras · Nacho Cano

Application Cache is a Douchebag

Good morning! Over in ”castle Lanyrd” we recently launched our mobile site, which caches data on events you’re attending for viewing offline. I’ve boiled the offline bits down to a simple demo and posted all the code on Github. But before we delve into the code, let me tell you a true story. Totally true. » alistapart.com

22 de mayo de 2012 · 1 min · 57 palabras · Nacho Cano

The UNIX System: Making Computers More Productive

In the late 1960s, Bell Laboratories computer scientists Dennis Ritchie and Ken Thompson started work on a project that was inspired by an operating system called Multics, a joint project of MIT, GE, and Bell Labs. The host and narrator of this film, Victor Vyssotsky, also had worked on the Multics project. Ritchie and Thompson, recognizing some of the problems with the Multics OS, set out to create a more useful, flexible, and portable system for programmers to work with. ...

21 de mayo de 2012 · 1 min · 82 palabras · Nacho Cano

12 resolutions for programmers

It’s important for programmers to challenge themselves. Creative and technical stagnation is the only alternative. In the spirit of the new year, I’ve compiled twelve month-sized resolutions. Each month is an annually renewable technical or personal challenge: Go analog. Stay healthy. Embrace the uncomfortable. Learn a new programming language. Automate. Learn more mathematics. Focus on security. Back up your data. Learn more theory. Engage the arts and humanities. Learn new software. Complete a personal project. » Matt Might | matt.might.net

20 de mayo de 2012 · 1 min · 80 palabras · Nacho Cano

Never use hard tabs

As there seems to be some confusion when hard tab characters (ASCII code 9) are appropriate in source code files here is a rule: ​1) Never use hard tabs ​1. 1) Unless your source code is hard tab sensitive (only such format I know is Makefile) » opensourcehacker.com

20 de mayo de 2012 · 1 min · 48 palabras · Nacho Cano

Vim: revisited

I’ve had an off/on relationship with Vim for the past many years. Before, I never felt like we understood each other properly. I felt that the kind of programming I’m doing is not easily done without plugins and some essential settings in .vimrc, but fiddling with all the knobs and installing all the plugins that I thought I needed was a process that in the end stretched out from few hours to weeks, months even; and it the end it just caused frustration instead of making me a happier coder. Recently, I decided to give Vim another shot. This time around it was different – something in my brain switched and now for the first time in my life I’m proud of my knowledge of Vim. My philosophy of it has changed to ”less is more”, my approach was more disciplined and my motivation stronger. And so you don’t spend as much time learning as I did, I am going to lay down some fundamentals. ...

20 de mayo de 2012 · 1 min · 167 palabras · Nacho Cano

Seven habits of effective text editing

If you spend a lot of time typing plain text, writing programs or HTML, you can save much of that time by using a good editor and using it effectively. This paper will present guidelines and hints for doing your work more quickly and with fewer mistakes. The open source text editor Vim (Vi IMproved) will be used here to present the ideas about effective editing, but they apply to other editors just as well. Choosing the right editor is actually the first step towards effective editing. The discussion about which editor is the best for you would take too much room and is avoided. If you don’t know which editor to use or are dissatisfied with what you are currently using, give Vim a try; you won’t be disappointed. ...

20 de mayo de 2012 · 1 min · 132 palabras · Nacho Cano