Store python PersistentMapping objects into an objects TreeSet
When the OOTreeSet refuses to add new PersistentMapping objects...
I've been working with ZODB for quite some time now. First when I was doing
Zope based web development (oh, the ol' good^hard days), then in some
courses I gave about persistence and data storage in python, nowadays working
with pyramid and still using ZODB for some apps.
Some days ago, working on one of those pyramid based projects, I found
something really weird, something that was not working as expected, and it
took me some time to figure out what was it. I'd like to share it, just in case
it happens to any of you.
Continue reading "Store python PersistentMapping objects into an objects TreeSet"
The Flower Power Sprint
The third one already in naxos!
Exactly one month ago I had a long traveling day with r0sk. We left Lugo in
the middle of the night and we got in a plane in A Coruña while it was still
After a one-hour-and-something flight we arrived in Barcelona, where we got in
another plane, this time the destination was Athens, Greece. We were on our way
to one of our regular International Pizza sprints, when all the people
working on the same project meet to work hand by hand for a few days (and then
have lots of fun, of course).
Continue reading "The Flower Power Sprint"
Finally, I did a +100km ride, and in the best possible company
10 of April, 2016
The alarm should ring at 07:00 (EEST), but I wake up way before
that. I'm too excited to stay in bed, so I get out of the room as stealthy as
I can, trying not to bother Oscar, sleeping in the other bed.
I left the clothes ready the day before, in the living room, so there is where
I go after preparing breakfast (coffee, milk, bread and cheese).
I take it easy, eating slowly. It is always really hard to have breakfast so
early, but today I manage quite well and I eat it all up. The bike is ready
already, I put my cycling clothes on and I double check again that I have
everything with me (Phone, Garmin, HR Sensor, GoPro, spare tube, tools...).
Then I pick up Sascha's Jake to get outside.
Today we have planned to go on a longer ride together, Sascha and me. We will
do the Apollonas round (clockwise), a route that covers something like 100
kms around the island of Naxos. We will pass by beaches, villages, valleys
And I am pretty sure we will have looots of fun
Continue reading "The 100"
Moving through the big city
It had been a while since the last time I did this
(image from the wikipedia)
Eleven days ago I hopped into a plane in A Coruña. That was the first part
of a trip that would take me to Barcelona, then Athens, then the island
of Naxos, in the Aegean Sea. We were going to have another
International Pizza sprint, but that's a totally different story, I just
wanted to add some context for this short story.
Yesterday I arrived in Piraeus around 15:00, as part of my trip back home. I
did step down the boat (Blue Star Naxos) and I went to the Piraeus Metro
I was a bit excited. Moving around big cities is something that always excites
me, specially if I'm not in a hurry to get quickly somewhere. I like to take my
time, see what is happening around me and try to stop and watch even the
Before going to the Metro station, I gave my bigger backpack to my friend
Panos, so he and Oscar could take it on their motorbikes. Then I picked up the
smaller backpack and a bigger piece of luggage, one of those harder suitcases
with wheels (that they couldn't carry on the motorbikes). I also checked I
had a book with me, real paper book this time, it was a novel from
Haruki Murakami, Kafka on the shore.
Continue reading "Moving through the big city"
Why you should use NoScript
Sounds simple, right? Well, NoScript has a lot more features and options, feel free to install it and take a look at its documentation and features, it is really worth it.
Well, the answer is for security reasons. Exactly as when I do a network firewall setup, I prefer to go with a block by default, then allow what is needed policy in my browser. I think this is a very good idea, specially if you take in account things like this bugs here:
2015 - A year in cycling pictures
Taking a look back through the pictures, I had lots of fun during last year
I've prepared a small gallery with some pictures of what 2015 was for me, related to cycling.
According to strava, I've cycled 2040 Kms in 89 hours and 40 minutes, with a total of 24650 meters of elevation gain in 58 rides. I did some more cycling, as I don't track commuting or family rides with strava, but I guess that won't make a big difference in the numbers.
Depending on how much you cycle maybe you could find those numbers too short/less or maybe you could find them awesome. For me it has been a nice improvement over previous years numbers. I'd love to go out more time, further distances, longer rides, but even so, it has been awesome almost every single time.
You can check the gallery here:
I hope you will enjoy it.
Three terrible weeks
and a long road to be walked ahead
I sent this email almost three weeks ago:
|Date:||Thu, 18 Feb 2016 04:26:24 +0100
|Subject:||Bad, bad news
Last evening my mother suffered a massive cerebral hemorrhage.
My father called me when they were getting her to the hospital in Lugo and I
quickly went there too. The doctors were really pesimistic there, it seems
the amount of blood adding pressure to her brain was too much.
They were helpless there, they couldn't do anything for her so they sent her
to Santiago. A couple of hours afterwards she was on her way on an ambulance
to the hospital here in Santiago.
Shortly after, my father and me came to Santiago too.
We've been in the hospital and we've talked with the doctors that will treat
her. They are pessimistic too. So far they have to wait until tomorrow to do
some tests on her, see if they can find what caused it and if there is a way
to at least stop the bleeding. Then they will have to find out a way to remove
all that blood and then... see if she can wake up from the coma, and how she
Right now I'm sitting in the bed of a hotel room by the hospital, with my
father totally crashed laying on the other bed.
Life can be tough sometimes, really.
I'm afraid I won't be online tomorrow. By midday they should have the results
of those tests, then they will give us some more information, and I'll get
back to you.
Thanks for reading, my friends.
Continue reading "Three terrible weeks"