Turultrans

A trecut mult timp de cand n-am mai iesit la o tura serioasa. Prins cu alte proiecte, n-am mai apucat sa fac sau sa povestesc mai nimic. Dan insa nu ne-a lasat sa ne ingrasam prea tare. N-am reusit sa-i refuzam ideea de a face un tur pe asfalt, cu roti subtiri sau cursiere unde era cazul.

Planul era simplu: 4 zile, 4 participanti, 400km, >4000mh, 2 traversari serioase si de “palmares”, bagaj minimal, pedalat maximal.

Prima zi: Curtea de Arges – Novaci, pe drumuri secundare asfaltate, drum foarte prost intre Horezu si Polovragi pe DJ660, 116km/1800mh

 

A doua zi: Novaci – Ranca – Pasul Urdele – Sugag, 110km/2500mh. Am urcat pe soare, de la Ranca a inceput sa se innoreze accelerat si in pasul Urdele ne-a plouat serios, cu grindina, la 5C. Pe coborare ploaia s-a oprit si in Obarsia Lotrului a iesit din nou soarele, pentru sfarsitul zilei reusind sa ne uscam pana la Valea Frumoasei, unde am innoptat.

 

A treia zi: Susag – Cartisoara, drumul cicloturistic al marginimii Sibiului, 123km/1400mh. Zi frumoasa cu soare, cea mai grea zi pentru mine din cauza unei mese de pranz “prea ca la tara”.

 

A patra zi: Cartisoara – Curtea de Arges, 118km/2000mh, zi splendida, urcarea usoara, pacat ca era ultima zi, caci parca ne intrasem in forma pentru inca 4 zile.

A fost o tura splendida, la inceput de toamna, cu prieteni buni. Cel mai mult mi-au placut urcarile pe Trans-uri, mult mai motivante si cu rasplata imediata :)

 

py-gps-tools

After spending loosing time in vain trying to convert kml files containing the gx:Track format to gpx files for my gps and finally writing my own tool for doing that I realized I have done quite a lot of small scripts for gps data manipulation and decided to push them on github. I started with 2 and as I will clean the others I will push them also.

py-gps-tools

A set of python scripts to manipulate GPS data

kmlCleanTimeStamp.py

Removes TimeStamp information from .kml files. More precisely, it removes gx:TimeStamp and //kml:Placemark/kml:TimeStamp elements. Modifies the document in place.

kmlCleanTimeStamp.py file.kml

kmlTrack2LineString.py

Converts kml gx:Track to old style LineString elements. This is required because not even gpsbabel can convert the gx:Track elements to gpx for instance resulting in data loss. Conversion is done in place.

kmlTrack2LineString.py file.kml

 

(X)Ubuntu microphone mute/unmute script

The goal of this script was to have a simple script, binded with a shortcut which allows to mute/unmute all the microphones and to display a nice notification in the process. This is the simplest version working on xubuntu 14.04 with pulseaudio.

mute.sh

#!/bin/bash
 
ACTION=1 #1 mute, 0 unmute
SCNT=$(pacmd list-sources | grep muted | wc -l)
 
MUTED=$(pacmd list-sources | grep muted | grep yes)
if [ $? == 0 ]; then
    ACTION=0
    notify-send -i microphone-sensitivity-medium "Microphone" "Unmutting $SCNT sources..."
else
    notify-send -i microphone-sensitivity-muted "Microphone" "Mutting $SCNT sources..."
fi
 
#SRC=$(seq $SCNT)
SRC=$(pacmd list-sources | grep index | cut -d':' -f2 | tr -d ' ')
 
for i in $SRC; do
    #let s=$i-1
    pacmd set-source-mute $i $ACTION
done

 

xubuntu 14.04 – Trusty Tahr

There is not much to say about the new xubuntu 14.04 trusty tahr and this is a very very good thing. I had quite some work to do when installing 12.04 on my Tuxedo Laptop but with 14.04 I managed to setup almost everything in 2h on a friday night. Here is a list of just a few small hick-ups:

  • non blocking grub error while booting from my LVM root
Error: diskfilter writes are not supported.
Press any key to continue...

This is described and solved in this bug report (requires grub scripts modification)

  • very small trouble with Oracle XE 11
  • some problems with google-earth
len@tux:~$ google-earth 
./googleearth-bin: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

This is related to the missing i386 libraries but is well described in this post.

Update 05.05.2014: Problems with eclipse:

./eclipse.sh
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fa9a426f2a1, pid=15491, tid=140369401485056
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6c2a1] short+0x11
#
# An error report file with more information is saved as:
# /phantom/now/java/eclipse-3.7-classic-64/hs_err_pid15491.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
*** NSPlugin Viewer *** ERROR: rpc_end_sync called when not in sync!

This is described here but the fix did not worked for me (I was in 3.7)

Oracle 11g release 2 XE on Ubuntu 14.04

There are many, many links, threads, bugs and discussions related to this since oracle 11g installation is no longer breeze at it was the case with oracle 10g, at least on Ubuntu. This is my short, minimal list of things to do to have oracle running on Ubuntu 14.04 12.04.

Last updated 2014-05-01, install on 14.04
Last updated 2013-12-25, install on 12.04.3.

(more…)

Ciucas, inca iarna

O tura pe traseul cunoscut. Am plecat cu mult optimism de vreme buna si soare si uscat si chiar daca am dat peste zapada multa si am impins un pic de la Cabana Ciucas pana la saua Chirusca a fost cald si frumos. Pacat ca pentru prima data mi-am lasat aparatorile de neopren pentru pantofi la masina :) Oricum, fie zapada cat de mare, a venit primavaraaaaa!









Vand bicicleta

Mi-am dat seama dupa ce am scris anuntul de vanzare ca imi pare rau de bicicleta asta, si, in semn de respect, m-am decis sa-i spun povestea.

Totul a inceput in toamna anului 2012 cand mi-am dat seama ca bicicleta mea din acel moment, un Ghost SE 9000, cumparat second cu cativa ani inainte, nu mai are prea multa viata. Si, fiind patit, am decis sa fac o cautare indelungata si intemeiata inainte sa se intample ceva si sa fiu presat de nevoia de a merge cu bicicleta, fara a avea una.

Asa ca mi-am facut o lista cu criterii: sa fie usoara (< 10kg), sa fie eleganta, sa fie bine echipata, sa fie neagra, sa fie ieftina :) Da, puteti rade deja de mine, dar dupa ce trec de 30 de ani unii barbati incep sa creada ca merita jucarii noi. Asa ca am eliminat piata locala: prea multe compromisuri si prea scumpa.

Dupa cateva popasuri scurte am ajuns in .de si mai precis la o lista de marci locale, din bike-magazin.de . Am facut lista, am trimis mailuri, am scos pe cine nu trimite in ro si am trimis din nou mailuri. Pana la urma am gasit un furnizor mic, cu cadre elegante, cu componente alese si cu greutati exacte (si nu cu o eroare de 10%). Toata cautarea si decizia n-au durat putin si m-am trezit cu bicicleta la usa cand inca era zapada afara asa ca prima tura am facut-o in aprilie 2013. Au mai fost cateva ture frumoase anul trecut si m-am impacat foarte bine cu bicicleta mea eleganta. Mai putin insa s-a impacat spinarea mea, mai precis in zona L4-L5 asa ca, un an mai tarziu, din nou cu gandurile unui barbat trecut de 35 ani care crede ca merita, m-am hotarat sa imi iau un full-suspension.

Asta a fost povestea acestei biciclete eleganta si usoara, sper sa gasesc pe cineva sa se bucure de ea folosind-o cat mai mult.

Componente:

Cadru din aluminiu de 20”, negru, fara marcaje, poate fi personalizat.

IMG_6391

Bicicleta este echipata cu:

  • Grup full XT:
    • Butuc Shimano XT Hollowtech II Kurbel FC-M780 – 3×10
    • Schimbatoare Shimano XT Rapidfire SL-M780
    • Caseta Shimano XT Kassette CS-M771 10 viteze 11-36
    • Schimbator Shimano XT FD-M780 3×10
    • Lant Shimano XT HG-94
    • Schimbator spate Shimano XT RD-M780 SGS Shadow
  • Furca Magura TS8 R 100mm Disc only
  • Jante Mavic Crosstrail Disc Only
  • Frane Magura MT6 cu discuri de 180mm
  • Ghidon, pipa, tija sa Gravity-9
  • Cauciucuri Continental X-King Racesport 2,2″ (sau alternativ Racing Ralph 2.25)
  • Gripuri Acros A-Grip (nu cele din imagine)
  • fara pedale

Greutatea fara pedale este de 9.96kg.

Are doar 1 an si turele pe care le-am facut cu ea le gasiti aici.

Pret: 6900 6500 RON.

Is Polar H7 android compatible?

I’ve been searching for an Android compatible heart rate monitor belt for a while. While the Zephyr HxM seems the recommended choice it is not available where I live and most of the others list only iPhone in their compatible products. I also had my doubts regarding Polar since I’ve tested the WearLink+ and I found it to disconnect quite often. Finally I gave up, waited for Sony to roll the 4.3 for my Xperia Z1 and I bought a Polar H7 after a succinct test at the dealer. These are my conclusions after a week of daily usage:

  • Yes, it can work with the Sony Xperia Z1 with Android 4.3 but…
  • The problem is not with the device but with the apps. I know all the Android app life cycle is complicated but I’ve seen too many apps connecting, the screen going off, turning the screen on and the app starting from scratch thus loosing all training data. Only one app worked perfectly and never lost connectivity: BLE Heart Rate monitor. Other app which worked somehow is the Polar Trainer which however is not supported officially for my phone (too bad). None the generalist apps such as Endomondo, Strava,  Sports Tracker worked.

CD backup

Since my last laptop with a working CD drive is dying this a simple script which does the following ops once the CD is inserted and auto-mounter:

  • finds the mount point
  • copies the files
  • ejects the CD
cd "$(cat /proc/mounts | grep iso9660 | cut -d' ' -f2 | sed -e 's#\\040# #g')" 
&& cp * /media/backup/data/ && cd && eject /dev/sr0

Spring

Related Posts with Thumbnails