Luca's meaningless thoughts  

Simplicity

by Leandro Lucarella on 2016- 04- 01 22:58 (updated on 2016- 04- 01 22:58)
tagged en, simplicity - with 0 comment(s)

This is mostly an article I want to save for myself about simplicity. It was originally written by Mark Ramm in the context of a Python web framework I used (TurboGears). The original article seems to be gone, but you can still find it in the Archive.org's Wayback Machine.

Here is a transcription:

What is Simplicity?
(May 31st, 2006 by Mark Ramm)

Simplicity is knowing when one more rock would be too many, and one less rock would be too few. But it’s not just knowing the right number of rocks, it’s also knowing which rocks are right, and how to arrange them.

As Brad reminds us, simplicity is not achieved merely by making something easier, or less complex.

Take away all the complexity, all the difficulty, and all of the details from anything and what you are left with is not simple: it’s just boring.

On the other hand, Simplicity embraces exactly the right details, the right difficulties, the right complexity, but because everything is tied together in the right way, you are left with a sense of clarity, and a sense that everything belongs exactly where it is. Simplicity is achieved when everything means something.

In other words, simplicity is defined by what you add — clarity, purpose, and intentionality — not by what you remove.

For those of us who write software, simplicity is not a simple thing to learn. Writing the TurboGears book and working with the amazing group of people who contribute to the project has been a learning experience for me. Everybody is focused on making the web development simpler — and it’s amazing how much experience and depth of understanding is necessary to create a simple interface. It’s easy to build an interface that solves 80% of the problem, or an interface that solves 200% of the problem, but it is hard to solve just the right problem, and to do it in a clean, clear, way.

Of course, every project has warts, and TurboGears re-uses other projects which also have warts. So there’s no way I can say that TurboGears has arrived. But the will is there, and the journey sure has been productive for me.

Día de la condena errada

by Leandro Lucarella on 2015- 09- 26 20:32 (updated on 2015- 09- 26 20:32)
tagged día de la condena errada, es, innocent project argentina, política - with 0 comment(s)

El Día de la Condena Errada es creado como un Día Internacional destinado a reconocer los daños tanto personales como sociales e institucionales asociados a las condenas erradas, y a informar y concientizar a toda la comunidad internacional sobre sus causas, consecuencias y otras problemáticas asociadas a ellas.

¡Sumate a difundir el Día de la Condena Errada!

Apoyemos a las personas inocentes privadas de su libertad. Cambiemos el sistema penal juntos! #IWCD2015 #DICE2015

Incredible Machine - Hurricane Heart Attacks

by Leandro Lucarella on 2015- 08- 25 08:12 (updated on 2015- 08- 25 08:12)
tagged bandcamp, en, es, hurricane heart attacks, incredible machine, music, streaming - with 0 comment(s)

The Black Keys - Turn incompressible

by Leandro Lucarella on 2014- 05- 06 22:33 (updated on 2014- 05- 06 22:33)
tagged 2014, album, black keys, compression, en, jpg, music, png, the black keys, turn blue - with 0 comment(s)

Maybe you heard about the new album from The Black Keys. Maybe you didn't. In any case, I don't want to talk about the album (which is good BTW), I want to talk about the album cover:

The Black Keys - Turn Blue album cover

See how bad it looks? Now click on the image and see how good it looks (in terms of quality, the album cover is pretty ugly anyway :P). The thing is, this stupid pattern is very hard to compress, so even using a JPG quality of 90%, you get a quite big file size and a pretty crappy image quality (126KB for a 500x500 image is quite a lot, 294KB for PNG using compression 9). If you look at the big image, even the colors are different, so the image makes resizing algorithms also go nuts, the image looks darker (or is this just an ilusion because of the changed relationship between both colors?).

Try it yourself, download the image, resize it, save it with different formats and qualities.

Coincidence? I guess not.

The Day We Fight Back

by Leandro Lucarella on 2014- 02- 10 18:59 (updated on 2014- 02- 10 18:59)
tagged activism, en, nsa, politics, surveillance, the day we fight back - with 0 comment(s)

On Anniversary of Aaron Swartz's Tragic Passing, Leading Internet Groups and Online Platforms Announce Day of Activism Against NSA Surveillance.

Participants including Access, Demand Progress, the Electronic Frontier Foundation, Fight for the Future, Free Press, BoingBoing, Reddit, Mozilla, ThoughtWorks, and more to come, will join potentially millions of Internet users to pressure lawmakers to end mass surveillance -- of both Americans and the citizens of the whole world.

https://thedaywefightback.org/

Oscar

by Leandro Lucarella on 2013- 12- 17 20:26 (updated on 2013- 12- 17 20:26)
tagged en, marlon brando, oscar, politics, protest, sacheen littlefeather, video, youtube - with 0 comment(s)

First Flattr

by Leandro Lucarella on 2013- 11- 16 00:24 (updated on 2013- 11- 16 00:24)
tagged cc, en, flattr, free culture - with 0 comment(s)

9 months ago I decided to try Flattr. I created an account, put some money on it, started flattring and made myself flattrable. But nothing happened. Also sometimes you don't know if the people you are flattring will even reclaim your flattrs (in services that automatically provides flattr links).

Conclusion, I got quite disappointed. But today I see the light again, as I received my first and only flattr (for eventxx). Thanks whoever you are, anonymous hero, you brought hope again to humanity :P

Anyway, I'll try to give it a shot again, and try to keep the wheel moving.

You should do that too.

Obvio

by Leandro Lucarella on 2013- 07- 23 16:54 (updated on 2013- 07- 23 16:54)
tagged 1/60s, 2013-05-26, 5.0 mm, aperture-priority ae, cactus, canon powershot sx210 is, cartel, daylight, f/3.1, iso200, no tocar, obvio, photo, pic - with 0 comment(s)

No tocar

En una exposición de cactus.

2013-05-26 17:05:11 CEST
[ Canon PowerShot SX210 IS 1/60s f/3.1 iso200 5.0 mm Daylight Aperture-priority AE ]

Better Call Dominguez!

by Leandro Lucarella on 2013- 07- 22 17:19 (updated on 2013- 07- 22 17:19)
tagged 1/125s, 1/60s, 2013-04-29, 5.0 mm, 6.6 mm, aperture-priority ae, attourney, auto, breaking bad, california, canon powershot sx210 is, f/3.1, f/3.5, humour, iso320, iso80, la, los angeles, photo, pic, series, tv, usa - with 0 comment(s)

Seems like this is the real Saul Goodman!

On a bus

On a bus

2013-04-29 11:18:01 CEST
[ Canon PowerShot SX210 IS 1/125s f/3.5 iso80 6.6 mm Auto Aperture-priority AE ]
On the metro

On the metro

2013-04-29 11:50:21 CEST
[ Canon PowerShot SX210 IS 1/60s f/3.1 iso320 5.0 mm Auto Aperture-priority AE ]

Signs like these were all over the streets in LA.

Radiohead Nude via zx80+printer+scanner+hdd

by Leandro Lucarella on 2013- 04- 13 20:53 (updated on 2013- 04- 13 20:53)
tagged en, es, espon lx-86, hdd, hp scanjet 4c, matrix, music, nude, printer, radiohead, scanner, spectrum, video, youtube, zx80 - with 0 comment(s)

Fucking awesome, be patient for the first minute...

The Money Myth

by Leandro Lucarella on 2013- 02- 21 21:13 (updated on 2013- 02- 21 21:13)
tagged currency, en, jem bendell, money, ted, tedx, the money mith, video, youtube - with 0 comment(s)

Flattr

by Leandro Lucarella on 2013- 02- 17 21:02 (updated on 2013- 02- 17 21:02)
tagged cc, en, flattr, free culture, the pirate bay, tpb, tpb afk - with 0 comment(s)

I learned that Flattr, a social micropayment service that I've been overlooking for a long time, was created by some of the founders of The Pirate Bay after watching TPB AFK.

I'm trying to donate (or pay) more and more to people using alternative means to produce stuff, like artists using CC licenses or software developers working with free licenses (I already bought a copy of the movie :). I feel like I have to get more involved to keep the wheel spinning and help people keep doing stuff, cutting the intermediaries as much as possible.

I don't know why I had some resistance to get into Flattr, maybe is because Facebook made me hate anything that have a thumbs up, or a +1 or counter, but knowing the history behind it a little better encouraged me to finally get an account and start using Flattr. And is really nice. Is much easier than going through Paypal each time a want to give some bucks to someone, and allows you to even make very small donations.

I recommend to see this introductory video:

I also decided to flattr-ize all my website, each project individually and even this blog. Not exactly for economical reasons (I think very few people know about anything I do so I don't really expect to earn any money from this), but as another way to spread the word. Also, I'm really curious about what I just said, I really wonder if there is someone out there grateful enough to make even a micro-donation to anything I do or did :)

Anyway, I would like to recommend to do the same, if you do something great, add a Flattr button to what you do, and if you like something out there and it has a Flattr, click it. Let's see if it helps to keep the wheel spinning :)

TPB AFK

by Leandro Lucarella on 2013- 01- 13 20:01 (updated on 2013- 01- 13 20:01)
tagged away from keyword, cc, documentary, en, es, movie, p2p, the pirate bay, tpb, tpb afk, trailer - with 0 comment(s)

Napoleón Puppy

by Leandro Lucarella on 2012- 12- 17 20:26 (updated on 2013- 04- 13 18:29)
tagged ellos me quieren llevar, es, music, napoleón puppy, pelusa suero, retro, trisagio del soltero, voz - with 0 comment(s)

Recuerdos de la infancia...

Update

Por ahora saqué las cosas embebidas de goear porque estaba listado como infectado.

Dejo los links, y que cada uno tenga cuidado de entrar bajo su propia responsabilidad...

Cosa bizarra si las hubo. Un poco más de información sobre este personaje bizarro que seguramente les suene por ser la voz principal de los doblajes de Hijitus y García Ferré en general:

Todavía me acuerdo patente de dar vuelta el vinilo (que tenía una canción de cada lado) y esucharlo una y otra vez...

Toshiba Satellite/Portege Z830/R830 frequency lock (and BIOS upgrade)

by Leandro Lucarella on 2012- 11- 28 23:21 (updated on 2012- 11- 28 23:21)
tagged bios, conservative, cpufreq, en, frequency, hardware, linux, ondemand, performance, portege, r830, satellite, toshiba, upgrade, z830 - with 0 comment(s)

Fuck! I bought this extremely nice ultrabook, the Toshiba Satellite Z830-10J, about an year ago, and I've been experiencing some problems with CPU frequency scaling.

At one point I looked and looked for kernel bugs without much success. I went through several kernel updates in the hope of this being fixed, but never happened.

It seemed that the problem wasn't so bad after all, because I only got the CPU frequency locked down to the minimum when using the ondemand scaling governor, but the conservative was working apparently OK.

Just a little more latency I thought, is not that bad.

Recently I received an update on a related bug and I thought about giving it another shot. This mentioned something about booting with processor.ignore_ppc=1 to ignore some BIOS warning about temperature to overcome some faulty BIOS, so I thought on trying that.

But before doing, if this were a real BIOS problem, I thought about looking for some BIOS update. And there was one. The European Toshiba website offered only a Windows program to do the update though, but fortunately I found in a forum a suggestion about using the non-European BIOS upgrade instead, which was provided also as an ISO image. The problem is I don't have a CD-ROM, but that shouldn't stop me, I still have USB sticks and hard-drives, how hard could it be? I failed with UNetbootin but quickly found a nice article explaining how to boot an ISO image directly with grub.

BIOS upgraded, problem not fixed. So I was a about to try the kernel parameter when I remembered I saw some other article when googling desperately for answers suggesting changing some BIOS options to fix a similar problem.

So I though about messing with the BIOS first instead. The first option I saw that looked a little suspicious was in:

PowerManagement
   -> BIOS Power Management
      -> Battery Save Mode (using custom settings)
         -> Processor Speed
            <Low>

That is supposed to be only for non-ACPI capable OS, so I thought it shouldn't be a problem, but I tried with <High> instead.

WOW!!!

I start noticing the notebook booting much faster, but I thought maybe it was all in my mind...

But no, then my session opened way faster too, and everything was extremely faster. I think maybe about twice as fast. Everything feels a lot more responsive too. I can't believe I spend almost an year with this performance penalty. FUCKING FAULTY BIOS. I didn't make any battery life comparisons yet, but my guess is everything will go well, because it should still consume very little power when idle.

Anyway, lesson learned:

Less blaming to the kernel, more blaming to the hardware manufacturers.

But I still want to clarify that I love this notebook. I found it a perfect combination between features, weight and battery life, and now that it runs twice as fast (at least in my brain), is even better.

Hope this is useful for someone.