All posts by Peo Lekare


New adventures with the fabulous Raspberry PI

So in the last 6-7 months I have become really interested in electronics. When I was a kid (14-15) I built an FM transistor radio out of a kit that my dad bought me,  but I really didn’t learn any electronics. Maybe some basic soldering, but that was it.


With the arrival of the Raspberry PI, a small credit card sized computer at only $ 35.00, my interest in electronics and programming were rekindled. So I bought a few of those machines and started playing around with them. Pretty soon, I understood I needed to buy some peripherials, as just tinkering and watching results on a terminal screen wasn’t fun enough.  So I decided to buy to screens from Adafruit. One 2.8″ TFT touchscreen, and one RGB 2×16 character LCD screen with buttons. The products arrived unassembled, which was part of the idea. So out came my soldering iron and I actually had to do a bit of trial and error before I got the hang of it!

IMG_1231The smaller 2×16 LCD screen was actually the hardest one to solder together! It had a total of 96 points to solder!

Once soldering it, I needed to see if it was working. There is a cool software utility for the Raspberry to identify equipment attached to the GPIO ports, called i2c-tools ( “sudo apt-get install i2c-tools“). At first run, i2c-tools didn’t find the screen, so I had to check it over in search of bad solder points (I found 4 in total). After re-soldering them, I ran i2c-tools again and got this: 


The “20″ at line 20, was proof that I succeeded. The screen was being recognized! After that it was just a question of downloading example libraries and go loose on the screen!

The second screen, the TFT touchscreen was way easier to assemble, actually. Only 52 points, not counting the optional 4 buttons (another 8 points to solder). With that one, I can boot the PI into the console on the screen, and even use the GUI with my fingers!

tft screen

My nest project is to try to add some wireless capability to the Raspberry. I already have a wifi dongle connecting this magnificent little computer to my network, but I am thinking more of 433MHz wireless connections, like the ones existing in  countless gadgets (weather stations, alarm systems, electric garage doors, etc).

The Paradox of flying

I recently flew from Los Angeles to Mexico City. I arrived early at LAX to check in and was about the first ones to check in at that specific Alaska Air flight. Getting to Mexico, my bag was the last one on the carousel. Logic? I guess they pack’em as they come so if you are early, your bag gets stuffed further into the aircraft, and if you are late to the airport your stuff gets loaded last, and thus is unloaded first

Not even doped, they are able to play…

Mexico is playing the Copa Oro tournament for CONCACAF right now in the US. They play high powered rivals, like El Salvador, etc. Sorry, that was a joke..



Today, 5 of the first line players – including goalie Guillermo Ochoa (Memo Ochoa) – were kicked out for failing doping tests. Seems they failed due to having somehow ingested Clenbuterol.

According to Wikipedia: Clenbuterol has also been used as a performance-enhancing drug. In 2010, a number of athletes were banned after using the drug, including Polish canoeist Adam Seroczynski, British hurdler Callum Priestley and Chinese Olympic judo champion Tong Wen. Three cyclists were also accused of taking the drug. Three-time Tour de France champion Alberto Contador of Spain tested positive for the drug at the 2010 Tour de France. The news came out during the UCI Road Cycling World Championships held in Geelong, Australia.[3] In May, the UCI suspended Italian cyclist Alessandro Colo, and Chinese rider Li Fuyu, a member of Team RadioShack, was suspended after testing positive for the drug during a Belgian race.

American swimmer Jessica Hardy tested positive at the U.S. trials in July 2008. She served a one-year suspension, having claimed she unknowingly took the drug in a contaminated food supplement. Former New York Mets clubhouse employee Kirk Radomski admitted to distributing clenbuterol to dozens of current and former Major League Baseball players and associates in his plea deal.[4]

Polish sprint canoer Adam Seroczyński was disqualified for taking this drug after he finished fourth in the K-2 1000 m event at the 2008 Summer Olympics in Beijing, and Chinese cyclist Li Fuyu tested positive for it at the Dwars door Vlaanderen race in Belgium on March 24, 2010.[5]

In the 2010 Tour de France, Alberto Contador tested positive for clenbuterol. He claims it was due to food contamination, citing the 50 picogram (5 × 10−11 g) per millilitre concentration of the drug in his sample. He was handed a one-year suspension from competition by the Spanish Cycling Federation (RFEC). On February 14, 2011, Contador was cleared of doping by the Spanish cycling federation, which canceled its January 26 proposal for a one-year ban.[6] Traces of the amine from meat in the diet is regularly turning up in athletes’ blood.[7]

In September 2010, St. Louis Cardinals minor league shortstop Lainer Bueno received a 50-game suspension for the 2011 season as a result of testing positive for clenbutero

I just spent…

…20+ minutes deleting spam from my different blogs. 7 days a week it means 140 minutes, which translates to more than 2 hours. If I were a lawyer in the US I would charge around 400 US/hr for my work. Meaning somebody is stealing 800 USD/week from me. That amounts to “grand theft”, as most states have it stealing more than 250 USD worth of goods (in this case, time) is grand theft. In Florida, for example, people who are convicted of grand theft will likely have to spend over a year in jail, pay monetary fines, and possibly restitution. ~

Per month it amounts to 3 200 USD. Per year it is 38 400 USD. That means the spammers should go to jail for stealing at least 38 400 USD out of each person that receives an email from them. Multiply that with the number of people that actually are deprived of time to do their stuff… it amounts to millions of dollars every month.

The apple doesn’t fall far from the tree

Youssef Boutros Ghali was sentenced to 30 years in prision in absentia (he is being searched for by Interpol). Youssef was Egypt’s finance minister between 2004 and 2011. He was charged with using his position to enrich himself, amongst other things. People recognizing the name might remember that his uncle, Boutros Boutros Ghali was Secretary General of the UN before Kofi Annan. He was not the whitest sheep of the family either. As Vice Prime Minister of Egypt, he sold boatloads of weapons to Rwanda (that were stockpiled before the famous genocide), and was UN Chief during that same genocide. He was subsequently criticized for not doing much during the genocide that left over 1 million people dead. Of course he didn’t, he was making money off the dead!!!

Child abuser – what will happen?

A few days ago, in the state of Veracruz, left wing politician Celestino Rivera Hernandez was caught in the act of sodomizing and raping a 12 year old boy that he had picked up on the street. Celestino is a “respected” pillar of his community, but he had done this before. No less than 5 times – that police know of. Every time getting off the hook by threats or offering money to his victims. To one indigenous girl he gave a cell phone and 3000 pesos (around 270 USD) for her silence.

This time around, when caught in the hotel room with a crying 12-year old boy, Rivera offered the arresting officers a whole lot more. With him, in a rucksack, he had 250 thousand pesos (23 thousand dollars) in cash. He even offered his pickup truck to the officers. The officers decided to go ahead and arrest him any way. Then he started flashing his different ID cards. You see, in Mexico when you are a political figure and in some kind of congress (local, state or federal) you have immunity against prosecution. In this case, his immunity had expired back in 2010, but he still tried to sell it to the arresting officers.

He also said he was a national counsel to the PRD (3rd biggest party in Mexico, left wing) and he should go free, because he had powerful friends. Still, the officers did not budge, and not even letting him put on his clothes, they took him to the police station to book him. At the same time they took a statement from the frightened and recently raped 12-year old boy.

It appears Rivera approached the boy while in his car. The boy was cleaning windshields in a street corner, trying to make some money. Rivera lured him into his pickup truck promising him money and then took him to a hotel.

What will happen to this beast? I sincerely hope he will be raped violently for the rest of his days by his inmates. And I hope he will die a painful death.

Election time in Sweden means… desperate measures

… especially from the left-wing parties. Their popularity has been dwindling in the last years, and the ruling right-wingers, have in many occasions eclipsed the left with reforms that some years ago would have been left-only.

So to win these elections, the Social democrats are trying to win the popular vote by offering personal “butlers” for people living in Stockholm. Their idea is that the time they take to commute on subways and trains to their work, shouldn’t be wasted time. So they want to set up laundromats, grocery stores, kindergardens, etc very close to the subway/trainstations, and that way people can do several things at once… shop in the morning, and get the groceries when you get home, etc. Mobile broadband would be extended into subway tunnels so that people can work during their commute.

Like socialism in itself, it is a romantic idea. Did they ever think of what it would look like at rush hour coming home from work when hundreds of people are queuing to get their kids from the kindergarden, clean laundry or grocery bags?

Did they ever think that subway during rush hour barely gives you standing space in a subway train? Work?

Another “no can do” from Obama

I liked Obama from the start. He seemed to be a person with a will to really do something.

It was all wrong. The oil spill in the Mexican Gulf – over 1 month later hasn’t been stopped. Not implying he is able to physically stop it, but he could at least put some pressure on BP to do it – which he isn’t because he owes his presidency to oil companies. As would McCain. BP seem to think “this is something that happens… so what. We will try to stop it.” It is the biggest environmental disaster in US history. And still nothing.

Then the whole Israel/Gaza thing blows up. Israel violently board a ship carrying medicines to Gaza. Many dead people later, Israelis say they were attacked with weapons. They boarded the ship with drawn weapons – and fired. The “weapons” they found were slingshots, marbles, some knives (that would exist in boats since they need to eat food). No guns or anything else. According to people on the boat – among them a famous Swedish author whom I believe tells the truth – there were no weapons on the ships. Obviously, if you want to see a marble as a weapon, you will find lots of them. The author said the Israeli soldiers came out with his razor and said it was a weapon!!!

Besides, Israelis took prisoners and took them from International waters into Israeli territory saying they entered “illegally”. WTF? Forcing somebody into your territory does not constitute illegal entry. More likely, it constitutes kidnapping.

If this doesn’t fuel antisemitism in the world, I don’t know what will. But it seems Israel want that to happen. And Obama? Who knows. He is just hiding somewhere playing with wife, daughters and dog. What a huuuuuge disappointment he has been so far. “Hope” is what I have that they vote him out of his office soon. He has actually done everyone wrong. African Americans that voted for him, just see another white guy. Hispanics that voted for him just see another white hillbilly. Whites that voted for him just see a disguised George Bush…. when is it time to see what promises he has delivered?

Obama – a fallen leader?

Barack Obama should know how it is to be a minority looked down upon. Yet he does nothing to counterattack the recently passed law in Arizona, that basically says that people on the street can get stopped just for looking the way they do. He is safe – rich and powerful. But still black.

What about the millions that work in the US and have to carry their papers around? “Papieren bitte”, comes to mind – phrase often heard in Germany during the war. I can swim across the Rio Grande hundreds of times, and I will not be stopped. Why? I have blue eyes and a fair skin complexion. I don’t look Mexican and even though I am, nobody would stop me. And that is what is wrong with this stupid law. Some idiot senator said you can pick out the illegals from others by the way they dress… Say what?

“Detain anybody that looks like an illegal immigrant” is like returning to Nazi Germany, when people where detained because they looked jewish. WTF? And the leader of America, an African American guy does nothing to stop this? WOW… The US is really fucked up.

Public hangings…

Yesterday, 2 bodies were found hanging from a bridge in central Cuernavaca… Presumably, the victims are drugdealers and the killers are a competing gang… things are getting ugly here… Calderon needs to get his shit together right now, or things will turn ever uglier soon.