Friday, December 04, 2009

Sunday, November 08, 2009

My next project(s)

This is my next mini project(s) will be one of the two routes:

Route #1: Starting from Agios Vasileios, take the road up to Pititsa, follow the Panachaiko Wind Farm intersection, up the farm and down to Kastritsi and eventually Rio.


Route #2: Starting from Kamares, head up and pass the Agia Eleousa monastery, follow to the Panachaiko Wind Farm intersection, up the farm and down to Kastritsi and eventually Rio.


Distance for both: ~45-50k

Elevation gain for both: 0m to 1200m to 0m.

Terrain: Asphalt, Trail

Gear:
  • Good pair of running shoes
  • 5lt camel backpack
  • 3lt platypus water reservoir
    goes in camel backpack
  • 2x650ml handheld bottles
  • Cell phone

    extra battery or
    portable charger

  • GPS
  • Timer/GPS Watch
    (with return to start mode)
  • Printed map
  • Recovery bars
  • gels/chews
  • Saltstick + caps
  • Cream crackers
  • Cap
  • Sunscreen
Todo:
  • Will go for trail scouting to measure exact trail distance.
  • Weigh all gear. Should not carry excess weight
More tips/information: http://www.UltRunR.com/

Saturday, November 07, 2009

10 x Rio-Antirrio Bridge completed

My biggest 2009 project, to run the Rion-Antirio Bridge 10 times (~60k) was completed yesterday night after 6h37'40". It was very windy (no ferry was allowed to pass from Rio to Antirio) but it was worth it! I am proud to say that I spent over 6 hours of my life on a modern engineering marvel.

Friday, October 23, 2009

My home temperature with arduino!

Purpose:
My home temperature with arduino!

URL:
http://sgez.homeip.net:888

Tools:
  • Internet connected router
  • Portforwarding to port 888 for ip 192.168.1.99 (arduino ethernet shield ip address)
  • Arduino Duemilanove
  • Arduino Ethernet Shield
  • A buzzer
  • Ethernet cable
  • Cable connectors
Difficulty / Time to complete:
Intermediate / 30 minutes

Schematic / Arduino code:
The following abstract schematic was used:

Saturday, October 17, 2009

Tutorial: First Arduino program - Kit's lights

Purpose:
Flash 4 leds from right to left and left to light.

Difficulty / Time to complete:

Beginner / 5 minutes

Tools:

  • Arduino board (tested on duemilanove)
  • 4 LEDs
  • 1 switch
  • 1 10K/.25W resistor
  • Workstation with Arduino 0.017 or higher
Arduino code:
int leds[]={10,11,12,13};   //pins with leds
const int dl = 75; //delay between moving
const int btn = 9; //button pin
int btnS = 0; //button state
int i=0; //general purpose counter

void setup(){
for(i=0;ipinMode(leds[i],OUTPUT);
}
pinMode(btn,INPUT);
myflash(leds,sizeof(leds),dl,false);
myflash(leds,sizeof(leds),dl,true);
}

void loop(){
btnS = digitalRead(btn);

if(btnS == HIGH){
myflash(leds,sizeof(leds),dl,false);
myflash(leds,sizeof(leds),dl,true);
delay(250);
}
else{
for(i=0;idigitalWrite(leds[i],LOW);
}
}

//myflash function: flash an array of pins to the R or L
void myflash(int arr[],int size,int delay1,boolean reverse){
int j = 0;
if(reverse==true){
for(j=(size-1);j>=0;j--){
digitalWrite(arr[j],HIGH);
delay(delay1);
digitalWrite(arr[j],LOW);
}
}
else {
for(j=0;jdigitalWrite(arr[j],HIGH);
delay(delay1);
digitalWrite(arr[j],LOW);
}
}
}
Note: After copying-pasting code to the Arduino IDE, press Ctrl+T to fix indents.

The final product (video):

Wednesday, October 14, 2009

Arduino - first impressions

Open source at its best (both in hardware and software)!

Pros (+):

  • Nice, compact design
  • Usb interface
  • Broad source code from arduino.cc and other sites/blogs
  • Ready-made IDE/usb drivers
  • Linux/Mac/Windows portable (both IDE and PC-to-Arduino dev)
  • Easy PC-to-Arduino dev via the Processing Language
  • Very cheap!
  • Lots of shields available!
Cons(-):
  • Linux driver installation requires some more steps
  • Addictive
  • Must buy more shields (who wants to blink leds all day long?)!
I dual boot on my Eee PC 1000h (Windows Xp/Ubuntu 9.10b):there is a remarkable difference from the IDE to the sketch loading on the Atmel.

Tuesday, October 13, 2009

"Πόνος, ο"

Δύο χρήσιμα άρθρα:

ITBS
Έντονος εώς ανυπόφορος πόνος στην εξωτερική μεριά του γονάτου, φλεγμονή.

Piriformis syndrome
Έντονος Πόνος στο ισχίο.

Monday, October 12, 2009

Cosmote APNs for Android 1.5/1.6

The first list is for internet access, the second one defines MMS service for Cosmote (Operator in Greece):

LISTING 1 - INTERNET

Name
Cosmote Wireless Internet
APN
internet
MCC
202
MNC
01
APN type
default

LISTING 2 - MMS

Name
Cosmote MMS
APN
mms
MMSC
http://195.167.65.220:8002
MMS proxy
10.10.10.20
MMS port
8080
MCC
202
MNC
01
APN type
mms

Fields that are left as "Not set", are not mentioned because they have no values.

Works on Android 1.5 and 1.6 (> 4.2.9.1 32a magic bc1 kernel - Previous did not work for some reason - link)


More APN settings here: Cyanogenmod APN List

Monday, September 21, 2009

Send item from Google Reader to Identi.ca

If you you like Google Reader like me and would like to post an item to identi.ca without copying and pasting, go to Google Reader Settings (top right), choose the "Send To" tab and provide the following:

Name:
Identi.ca
URL: http://identi.ca/index.php?action=newnotice&status_textarea=${source} - ${title} - ${short-url}%20from%20google reader
Icon URL: http://identi.ca/favicon.ico

Don't forget to click on Save! Happy identiing!

If you are not able to copy the URL, click here.

Monday, September 07, 2009

Wednesday, August 26, 2009

Next project: 10 x Rio-Antirrio Bridge!

After my first 50k this Sunday, my next goal: 10 times the Bridge sometime in October 09. Achilles willing (ouch)! Distance: ~56k.

Saturday, July 18, 2009

Τα ψηλά κύματα!

Πρόκειται για την απόπειρα της Google να αλλάξει τον τρόπο που επικοινωνούμε και αντιλαμβανόμαστε το internet. To υπέρτατο mashup, εφαρμογή που προσπαθεί να κινηθεί διαφορετικά από τον φυσικό κόσμο: Google Wave!

Ως τώρα οι εφαρμογές της καθημερινότητας είχαν αρχίσει να ψηφιοποιούνται: Το email είναι το συμβατικό γράμμα του ταχυδρομείου, η γραφομηχανή είναι το αρχαίο κείμενο επεξεργασίας κλπ. Το Google Wave προσπαθεί να πάει παραπέρα.

Το πείραμα θα δείξει όμως στην πράξη πόσο λειτουργικό και αποδοτικό είναι. Σε τέτοια πράγματα δεν υπάρχει μυστική συνταγή. Ή αρέσει ή δεν αρέσει. Η ευχρηστία και το live typing ενθουσιάζουν τον κοινό χρήστη, αλλά αυτός δεν παύει να είναι χρήστης (και όχι προγραμματιστής που εκθαμβώνεται από τις τόσες δυνατότητες της πλατφόρμας).

H εφαρμογή έχει ξεκινήσει με λίγους χρήστες σε preview έκδοση, ελάχιστα λειτουργική και γεμάτη bugs (βλέπε issues - ατελείωτη λίστα). Παρόλα αυτά αξίζει τη δοκιμή!

Monday, July 06, 2009

Android RC initiated

Control your phone via:


  • sms
  • email
  • web hosted service
The above methods control, track and send commands to the phone so that you can see the activities that are run, the location of the phone and also use mic or camera and gps to track your stolen hardware.

Friday, June 26, 2009

Android SDK code snippets





Button init/listener

Button btn1 = (Button)findViewById(R.id.btn1); //locates it from xml file


btn1.setOnClickListener(new Button.OnClickListener() { public void onClick (View v){ btn1_method(); }}); //calls btn1_method() method
Simple short duration message a.k.a toast
public static void toaster(Context context, String message, int length){
  //Toast.LENGTH_SHORT or Toast.LENGTH_LONG


  Toast.makeText(context, message, length).show();
}
Send sms/text message
<uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
public static void sms(String to, String text){
  SmsManager.getDefault().sendTextMessage(to, null, text, null, null);
}
Get lat/longitude
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
Location loc = lm.getLastKnownLocation("gps");
tvLat.setText("init lat: "+Double.toString(loc.getLatitude()));
tvLong.setText("init long: "+Double.toString(loc.getLongitude()));


Tuesday, June 23, 2009

HTC Magic - Εντυπώσεις

(+) Θετικά
  • Αρκετά καλή οθόνη αφής σε ανταπόκριση - όμορφα χρώματα
  • Συμπαγές τηλέφωνο - τεράστια διαφορά μετά το Ν95-8Gb
  • Ελαφρύ - 116 γραμμάρια - τεράστια διαφορά μετά το Ν95-8Gb
  • Android Market - Αρκετές εφαρμογές, οι περισσότερες Free
  • Απίστευτα γρήγορο και ακριβές GPS. To Mio 560 και το Ν95-8Gb ωχρειούν μπροστά του. Ακριβές σαν το Garmin Forerunner 405, μόνο που σου δείχνει στίγμα σε λίγα δευτερόλεπτα - A-GPS που λειτουργεί.
  • Ολοκληρωμένο με τις Google υπηρεσίες (gmail, talk, maps, youtube).
  • Ποιότητα τηλεφωνικής κλήσης - κάτι που δεν δίνουμε σημασία και ας υστερεί σε πολλά πρωτοκλασσάτα κινητά τηλέφωνα.
  • Σταθερή linux πλατφόρμα - ουσιαστική σταθερότητα χωρίς καθυστερήσεις - έχει σημασία και το hardware: RISC CPU, μπόλικη RAM.
(0) Ουδέτερα
  • Touch screen keyboard - θέλει λίγο εκπαίδευση
  • Μόνο στα αγγλικά - δεν με ενοχλεί στο λειτουργικό, αλλά στην συγγραφή sms και email.
(-) Αρνητικά
  • Χρήση έξω, στον ήλιο είναι κάπως δύσκολη
  • Μπαταρία - Συχνή χρήση του Wi-fi, bluetooth την αδειάζει γρήγορα. Με 1350mAh και πάλι δεν αντέχει.
  • Κάμερα - μόλις 3.2Μp, χωρίς flash
  • Τιμή - Όχι η τιμή αγοράς που ξεπερνά τα 500Euro, αλλά και η μηνιαία δόση στον πάροχο τηλεπικοινωνιών κινητής που καλό είναι να περιέχει πλούσιο πακέτο σε Mb - π.χ. Cosmote i-*.

Sunday, June 07, 2009

Pen-based touch screen για Asus Eee PC 1000h

Την περασμένη Παρασκευή παρέλαβα Touch Screen Kit από το ultimate-netbook.co.uk με 92€. Η παραγγελία πήρε 5 εργάσιμες ημέρες να έρθει. Το εικονιζόμενο κουτί περιέχει τα πάντα εκτός από manual οπότε θα πρέπει να βολευτείτε με tutorial από το youtube (προσεχώς λίστα).

Παρατηρήσεις για το Kit:
(+) Περιέχει τα βασικά: καλώδιο, usb hub, cd κλπ.
(-) Δεν περιέχει αναλυτικό manual.

Χρόνος εγκατάστασης:
  • Πλήρες λύσιμο: ~1h
  • Εγκατάσταση οθόνης κ' επανασυναρμολόγηση: ~30'
Εργαλεία:
  • Ψιλό κατσαβίδι philips
  • Μικρό δοκιμαστικό κατσαβίδι
  • Ψιλό μυτοτσίμπιδο
  • Πανάκι καθαρισμού οθόνης
Συμβουλές εγκατάστασης:
  • Μπαταρία: να είναι εκτός του συστήματος από την αρχή! Πολύ σημαντικό!
  • Βίδες: καλό είναι να τις τοποθετήσετε σε σημείο με την σειρά που τις απομακρύνετε ώστε στην επανασυναρμολόγηση να τις έχετε εύκαιρες. Το ιδανικό είναι να τοποθετούνται σε ξεχωριστά δοχεία.
  • Προστασία netbook: τοποθετήστε ένα χοντρό ύφασμα κάτω από το Eee pc ώστε να αποφύγετε ανεπιθύμητες γρατσουνιές.
  • Σημειώσεις αποσυναρμολόγησης φις: σημειώνετε τα φις, τον αριθμό και το μέγεθος των βιδών που απομακρύνετε σε κάθε φάση. Σύντομη περιγραφή των φάσεων ακολουθεί.
Γενικές φάσεις:
  1. Κάτω καπάκι
  2. Πληκτρολόγιο
  3. Πάνω καπάκι
  4. Motherboard
  5. Οθόνη
  6. Τοποθέτηση tocuh screen
  7. Βήματα 5 εώς 1.
  8. Εκκίνηση συστήματος
  9. Έλεγχος ορθής λειτουργίας περιφερειακών (πληκτ/γιο, touchpad, camera, sound, mic, touch screen). Πρέπει να είναι ενεργοποιημένη η web camera μέσω BIOS για να λειτουργεί το touch screen.
  10. Εγκατάσταση λογισμικού για Windows Xp μέσω CD. Σε Ubuntu UNR 9.04 απαιτείται μόνο καλλιμπράρισμα από το Configuration. Σε Ubuntu 9.04 (Jaunty Jackalope) θα πρέπει να δώσετε εγκατάσταση του xserver driver:
    sudo apt-get install xserver-xorg-input-evtouch
Tutorial videos:
  • προσεχώς
Παρατηρήσεις/σχόλια:
Μετά την εγκατάσταση που πραγματοποίησα μετά την συναρμολόγηση δεν είχα ήχο και το αριστερό κουμπί του touchpad δεν κλίκαρε. Η 2η όμως αποσυναρμολόγηση μου πήρε ~10' και ο εντοπισμός της βλάβης ήταν απλός. To motherboard αναγράφει όλες τις φίσες και τις λειτουργίες τους.

Προσοχή:
  • Σε πολικότητες φις
  • Τοποθέτηση καλωδιοταινίας
  • Δεν χρειάζεται βιασύνη κατά την πρώτη εγκατάσταση.
  • Για το Ubuntu πρέπει να δώσετε:
    sudo apt-get install xserver-xorg-input-evtouch
Αποποίηση ευθυνών:
Εσείς είστε υπεύθυνοι για την ασφάλεια σας και την ασφάλεια του υλικού, λογισμικού και των δεδομένων σας. Λάβετε τα απαραίτητα μέτρα όταν κάνετε τροποποιήσεις υλικού στο σύστημα σας και δημιουργείστε αρχεία ασφαλείας των δεδομένων σας.

Monday, May 04, 2009

Friday, April 24, 2009

Endoclinic SPMS Blog

Added to the project Git and Wordpress capabillities. The Endoclini blog is available here.

Tuesday, April 07, 2009

Ubuntu 9.04 UNR beta on Asus Eee PC impressions

Hardware specifications
* Asus Eee PC 1000h with a 64Gb MLC SSD from SuperTalent

Advantages (+)
* Straight-forward installation, even easier than 8.10
* ext4
* Faster startup times
* Recognized all hardware i.e. webcam, bluetooth - no need for the linux-eeepc kernel from array.org.
* Slicker GUI - simple yet intuitive

Disadvantages (-)
* Not very nice greek language support for the Ubuntu Netbook Desktop mode
* Firefox does not seem to save settings
* Will be out officially in 16 days from today

Thursday, April 02, 2009

Μέση ωριαία ταχύτητα: 0.148401826 km/h

Έκλεισα στις 7 του Μάρτη 1 χρόνο που καταγράφω το δρομικό ημερολόγιο στο Runner's World Log. Και μαζί με αυτό έτρεξα σε ένα χρόνο ~1300χλμ! Κινούμαι κατά μέσο όρο με 1300/(365*24) = 0.148401826 km/h

Monday, March 23, 2009

Asus Eee PC 1000h Extended Battery 8800mAh side-by-side comparison

I received today the extended battery I had ordered from England last week. The unit extends the default battery module of 6600mAh by 2200mAh up to 8800mAh. I have not tested it on real life, day to day use, but I am curious how it will perform. The Asus module (6600mAh) performs quite adequetly (not the 7hour blahblah - because I use the bluetooth dongle, wi-fi etc.), lasting around 4h (+/- minutes) for the last 2 months.
It is wobbling at the back a little bit and I wouldn't mind if the design was a little bit for "curvy", the monitor does not extend to the back as it did by ~35°, but for 50€ it is worth the money!

p.s.: The battery was used during this evening while I was studying, tweeting, youtubing alot, skyping etc. while having set the CPU at Super Performance (i.e const 1.7Ghz). It lasted for 5 hours and 5 minutes! I will post some average usage and day-to-day stats later this month. I am impressed!

Following is a side by side comparison picture gallery of the default-vs-purchased battery:

Saturday, February 07, 2009

Replace HDD with SSD on Asus Eee PC 1000h (en)

Scenario
Replace the 160Gb HDD with an SSD 64Gb. Install OEM Windows Xp SP3 and Ubuntu 8.10.

Requirements

Hardware
  • Philips screwdriver (small)
  • Usb 2.0 DVD
  • Usb 2.0 flash disk >=2Gb
  • usb 2.0 case for 2.5" sata 2 hdd/ssd
  • Asus Eee PC 1000h with Windows XP SP3 OEM installation
Software
Tutorials
Steps
  1. While on preinstalled Windows Xp SP3, install Ubuntu 8.10 on the flash disk with Unetbootin.
  2. Boot from the flash disk and install Ubuntu (hold Esc during boot).
  3. Put the ssd in the usb 2.0 sata 2.5" case and mount it on Ubuntu.
  4. Create 2 equal ntfs partitions on the ssd (e.g use Gparted).
  5. Replace the hdd with the ssd.
  6. Mount the usb 2.0 dvd drive and put the OEM recovery DVD. The ghost image with be written on the ssd's first partition.
After the steps above you will have a replica of the OEM's installation, i.e. 2 partitions, first one with have Windows Xp SP3.

Optional
  1. Install Ubuntu on the ssd's 2nd partition
  2. Mount the 160Gb hdd on the 2.5" case and format to your backup needs.
Important
You are responsible for your own safety and for the safety of your hardware, software and data. Take precautions while doing hardware mods to your system and backup your data properly.
p.s.: Most users suggest not to defragment your disk if it is ssd.

Friday, February 06, 2009

Asus Eee PC 1000h Ubuntu post installation steps(en)

1. Update through update manager

2.Run the following script to install eee-pc kernel
wget http://www.array.org/ubuntu/array-intrepid.list sudo mv -v array-intrepid.list /etc/apt/sources.list.d/
wget http://www.array.org/ubuntu/array-apt-key.asc
sudo apt-key add array-apt-key.asc
sudo apt-get update
sudo apt-get install linux-eeepc-lean

3. Reboot


4. Install additional / remove unwanted software

sudo apt-get install eee-control sensors-applet vlc build-essential monodevelop cheese nautilus-open-terminal subversion gparted
sudo apt-get remove totem tracker evolution
apt-get autoremove

4. Firefox

Addons:
foxmarks, stumbleupon, twitterbar, shareaholic
Config:
browser.fullscreen.animateUp=0
network.http.pipelining=true
network.http.proxy.pipelining=true
network.http.pipelining.maxrequests=30
new integer nglayout.initialpaint.delay=0

5. Restart firefox


6. Sessions - gnome-session-properties
Add eee-control-tray
Remove Evolution Alarm Notifier (just in case)
Remove Tracker (just in case)
Remove Tracker Applet (just in case)

7. Edit Grub menu.lst
sudo gedit /boot/grub/menu.lst

8. Skype
Install skype
Run the bash below to fix soound problems
killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound
sudo rm /etc/X11/Xsession.d/70pulseaudio


Important
You are responsible for your own safety and for the safety of your hardware, software and data. Take precautions while doing hardware mods to your system and backup your data properly.


Monday, February 02, 2009

Asus Eee PC 1000h Todo list(en)

Hardware:
* RAM 2Gb - 1 - 2 - 533Mhz & 667Mhz
* SSD ≥60Gb - comparison
(ordered this one - out of stock - got this one)

* Battery spare/upgrade (≥6900mAh)
* USB 2.0 DvdRw(+/-) slim - regular
Windows Xp:
Eeectl (be carefull!)
Ccleaner
Defraggler SSD!
Kaspersky
Ubuntu:
Eee specific linux kernel - setup&installation

Thursday, January 15, 2009

ςςς.γοογλε.ψομ

Πόσες φορές έχετε δώσει το "ςςς.γοογλε.ψομ" στον browser σας;
Εγώ πάντως, άπειρες!

Wednesday, January 14, 2009

Windows 7 Virtualboxed

Δούλεψε μια χαρά! Download το iso, mount σε Virtual Machine με "Other" Filesystem (10Gb) και 768Mb RAM (δουλεύει και με 512 και ας λέει η MS ότι θέλει 1024). Το μόνο που λείπει για virtualboxed έκδοση είναι τα Guest additions από την Sun.
Όσον αφορά το ίδιο το λειτουργικό, τολμώ να πώ ότι είναι αρκετά γρήγορο. Δεν έχει εγκατεστημένες εφαρμογές (δεν ξέρω τι compatibility να κοιτάξω - είμαι άσχετος με Vista - δέχεται binaries Χp, Vista ή και των δύο;) αλλά είναι αρκετά γρήγορο στο γραφικό του περιβάλλον, πόσο μάλλον που το συμπέρασμα το βγάζω από VM σύστημα.

Συμπλήρωση μετά το σχόλιο του georgeadams:

Μπορείς να βάλεις τα Guest Additions αλλά θέλει "κόλπο":

Πάτα το "Install Guest Additions" και θα σου κάνει Mount στο CD Drive το εικονικό CD με τα additions.

Άνοιξε το CD για να δεις τα περιεχόμενα του, διάλεξε το VBoxWindowsAdditions-x86 και κάνε δεξί κλικ πάνω του.

Πάτα Properties, πήγαινε στο Compatibility, τσέκαρε το "Run this program in compatibility mode for:" και από τη λίστα από κάτω διάλεξε το "Windows Vista".

Πάτα ΟΚ να κλείσει το παράθυρο αυτό και μετά τρέξε κανονικά το VBoxWindowsAdditions-x86 για να εγκαταστήσεις τα Additions.


Σε ότι αφορά το compatibility, από drivers δέχεται αυτούς που έχουν φτιαχτεί για Vista (άλλωστε τα Windows 7 είναι μια βελτιωμένη έκδοση των Vista).

Από προγράμματα, παίζει ότι παίζουν τα Vista, τα XP, τα 2000 κλπ.

Ευχαριστώ!

Wednesday, January 07, 2009

Nokia Twitter Clients

Μετά από λίγη τριβή με τους τρεις κυρίαρχους clients για το Nokia N95-8GB, κατέληξα στον ακόλουθο πίνακα (προσωπικές εκτιμήσεις 0 εως 10):


Twibble

m.slandr.net

m.twitter.com

Εγκατάσταση

5

10

10

Ευκολία

6

10

10

Αμεσότητα

8

9

9

Geotagging

10

3

0

Twitpic

10

0

0

Replies

8

8

4

@Messages

8

8

5

Interface

4

9

8

Σύνολο(μ.ο)

7,4

7,1

5,8


Από τις 3 επιλογές, παρά τον παραπάνω πίνακα, προτιμώ και δίνω βαρύτητα στην αμεσότητα και ευκολία, οπότε θα είμαι για καιρό (στο timeline θα φανεί), ανάμεσα στο twibble για τα εργαλεία (GPS geotagging, Twitpic) και στο slandr για την αμεσότητα.

QR Links
qrcode