Compendium of Wondrous Links vol X

More interesting reads worth checking out Tech Use Python on AWS Lambda instead of JavaScript. Create Escher like images using Julia. BeeWares, a collection of tools to help in all the phases of Python development Crete project templates with Cookie Cutter. An interactive Maze Solver. About development I’ve still confused with this “learning code is cool”, as this article says. I’m not sure if this is a bad time to be a beginner.  Yes, it’s true that too many options is confusing, but the amount and quality of instructional material at the moment is… Read More

Leonardo numbers

Because Fibonacci numbers are quite abused in programming, a similar concept. My first impulse is to describe them in recursive way: But this is not very efficient to calculate them, as for each is calculating all the previous ones, recursively. Here memoization works beautifully Taking into account that it uses more memory, and that calculating the Nth element without calculating the previous ones is also costly. I saw this on Programming Praxis, and I like a lot the solution proposed by Graham on the comments, using an iterator. The code is really clean.

Compendium of Wondrous Links vol IX

Welcome back to this totally non-regular compilation of interesting reads. Enjoy! A Pixel Artist Renounces Pixel Art. A module of Python utilities aiming to complement the standard library. Boltons Named Pipes in Unix. Pipes are a really powerful tool. I’m each day more convinced that the biggest problem that an developer faces today is the internal expectations and unfair comparison. Productivity vs Guilt and Self-Loathing.   On secretly Terrible Engineers Curiously enough, in my current job, one of the first things my manager said to me was: “your interview was brilliant, but here’s a… Read More

ffind v0.8 released

Good news everyone! The new version of find (0.8) is available in GitHub and PyPi. This version includes performance improvements, man page and fuzzy search support. Enjoy!

Optimise Python with closures

This blog post by Dan Crosta is interesting. It talks about how is possible to optimise Python code for operations that get called multiple times avoiding the usage of Object Orientation and using Closures instead. While the “closures” gets the highlight, the main idea is a little more general. Avoid repeating code that is not necessary for the operation. The difference between the first proposed code, in OOP way and the last one The main differences are that both the config dictionary and the methods (which are also implemented as a dictionary) are not… Read More

Compendium of Wondrous Links vol VIII

More great reads! About code creation It seemed like a good idea at the time. How tech decisions done at some point in time can have a big impact much much later. Unfortunately, this is unavoidable, developing software is based in dealing with imperfect information all the time. Fear Driven Development. Dealing with different languages is difficult in programs (and otherwise). Seven Laws of Sane Personal Computing. Great compilation of Python libraries that deserve to be widely used. Debug like Sherlock Holmes. One of my favourite ways of thinking on debug is: “Once you eliminate the… Read More

Compendium of Wondrous Links VI

They finally found all those buried Atari cartridges, and confirmed a beloved urban legend. Just wonderful. This episode of @ExtraCreditz follows up an idea I always had about education. The key is being demanding, but allowing a lot of opportunities. Amazing book introduction, showing how no one is immune to think that they are stupid. Lots of things in live are hard. Readability in code is not about being literary. Is about making the code easy to understand. You don’t read code, you explore it. The Great Works of Software. The premise is extremely… Read More

Visual Programming and Mental Constructs

I saw yesterday live the Apple keynote on the WWDC. I am far from an Apple developer, but I use OS X and iOS everyday, and I’m interested on new stuff. There was a full section devoted to developers, which is great (well, it’s supposed to be a developer’s conference, after all), and, arguably, the most interesting stuff on that part (for a developer’s perspective) was the release of a new programming language, Swift. It was announced with an (irrelevant) comparison with Python in terms of speed (I actually have plans to write… Read More

Compendium of Wondrous Links vol V

Seven habits of effective text editing. A great essay by Bram Moolenaar (of Vim fame). It is applicable to any editor, but, of course, shows why Vim can be such a good choice (once you know how to use it, obviously) A useful collection of recipes in Python. Thirty python language features and tricks you may not know How to be a sane programmer. Basically, do other stuff not related to programming. The related Business Insider article is also worth the read. The Evolution of a Software Engineer D/A and A/D Digital… Read More

Compendium of Wondrous Links vol III

Good tech lead, bad tech lead. Can we please please stop telling people that coding is easy? Confessions of an Intermediate Programmer. The perception and psychology of competence. The Science of Making your Story Memorable Some interesting advice about presentations. The presentation itself used as example is interesting as well. Thirty percent feedback to iterate faster. The classic “your problem with Vim is that you don’t grok vi” response in Stack Overflow. A very nice list of Python articles. Best Python 2013 Companies and startups are different. Not only in size, but qualitatively. An… Read More