0

Installing Trac with Bazaar support on Dreamhost

Posted on October 18, 2010 by seadog

Today I managed to install Trac with Bazaar support on Dreamhost. Although Dreamhost does offer "one-click" install for Trac, the installed version does not support my VCS of choice, bzr. Neither do the numerous scripts for dreamhost for installing Trac, which serve as an alternative installation options  to the "one-click". Since things in servers and software change fast this will not be detailed HowTo but instead just some guidelines, so I can remember what I did in case I have to do it again and hopefully save some of your time, if you are looking to accomplish the same thing. Here it goes...

Installing Trac with Bazaar support on Dreamhost:

  1. I suggest that you create a new user and a subdomain using Dreamhost's panel, just to be sure that nothing interferes with the trac installation.
  2. Create a MySQL database on dreamhost.
  3. Install bzr: Dreamhost does not come with bzr, so first things first, installing bzr using the instructions from dreamhost itself. Don't forget to edit your .bash_profile to include

    export PATH=~/bin:$PATH
    export PYTHONPATH=~/lib/python:$PYTHONPATH
    export MANPATH=~/man:$MANPATH

  4. Install trac: I downloaded and run 'auto-trac-on-dreamhost' script. Note that for the script to execute successfully I had to change PYTHON_VERS to 2.5 in configure.inc. I didn't change TRAC_VERS to 0.12 as this seems to break things. Follow the instructions of the package.
  5. Edit trac.ini of the project: Include the following lines

    [components]
    tracbzr.* = enabled

    and change the line  repository_type = svn to repository_type = bzr

  6. Fix the paths: The web server won't be able to find bzrlib in its path so create symbolic links to fix that

    cd ~/trac/packages/lib/python2.5/site-packages
    cp -s ~/lib/python/* .

    assuming that you used the default values while installing bzr and trac

  7. Visit you website: Dada!

this or somebody creates a service like gitorious, github or bitbucket for bzr please! (no I don't like launchpad, it's too complicated)

4

DuckDuckGo: Μηχανή αναζήτησης με ήθος και ύφος

Posted on September 28, 2010 by seadog

spacer

H Μηχανή αναζήτησης ΠαπίτσαΠαπίτσαΠάμε

To site DuckDuckGo είναι μια μηχανή αναζήτησης για το Web με έμφαση στον σεβασμό της ιδιωτικότητας των χρηστών της. Τι σημαίνει όμως σεβασμός στην ιδιωτικότητα και γιατί θα πρέπει να ενδιαφέρει κάθε χρήστη του web και όχι μόνο τα geeks?

Στο ίδιο στο privacy κομμάτι της μηχανής διαβάζουμε τους βασικούς λόγους:

  • Διαρροή όρων αναζήτησης: Όταν χρησιμοποιείς μία από τις γνωστές μηχανές αναζήτησης και επιλέξεις με click κάποιο από τα αποτελέσματα, τότε οι όροι της αναζήτησής σου μεταφέρονται στο site που επισκέπτεσαι μέσω του HTTP referrer header. Πρακτικά αυτό σημαίνει ότι από τα στατιστικά του site μπορεί κάποιος να διαπιστώσει γιατί έφτασες στο site του. Σε συνδυασμό με άλλες πληροφορίες όπως το UserAgent, η IP διεύθυνσή σου και το browser fingerprint μπορεί κάποιος να σε αναγνωρίσει.
    • Το DuckDuckGο δεν διαφημίζει τους όρους αναζήτησης στα site που επισκέπτεσαι. Επίσης μπορείς να επισκεφτείς μέσω proxy ένα domain γρήγορα και εύκολα χρησιμοποιώντας την σύνταξη "!proxy domain" στην αναζήτησή σου. Για παράδειγμα ορίστε το whatismyip.com με proxy και χωρίς.  Για όσους θέλουν ολοκληρωτική ανωνυμία, η μηχανή πρόσφατα ενεργοποίησε το Tor Hidden Service για κρυπτογραφημένες αναζητήσεις μέσα στο δίκτυο Tor.
  • Ιστορικό αναζητήσεων: Το DuckDuckGo δεν αποθηκεύει τις αναζητήσεις σου, σε αντίθεση με άλλες μηχανές αναζήτησης. Ακόμη λοιπόν και εάν κάποιος κακόβουλα αποκτήσει πρόσβαση στους servers ή κάποια κυβέρνηση απαιτήσει να μάθει ποιοι έψαξαν για torrents ή για τα wikileaks τελευταία δεν θα βρουν τίποτα στο αρχείο της μηχανής.
  • Συλλογή πληροφοριών: Το DuckDuckGo δεν συλλέγει ούτε αποθηκεύει πληροφορίες για τους χρήστες του. Αν και οι περισσότερες μηχανές αναζήτησης ισχυρίζονται ότι προσπαθούν να μετατρέψουν σε ανώνυμα τα δεδομένα που συλλέγουν η πραγματικότητα είναι διαφορετική. Πολλές φορές κρατούν το πεδίο UserAgent που το EFF ισχυρίζεται ότι μπορεί να το συνδέσει με έναν μοναδικό χρήστη υπό συνθήκες.
    • Ωστόσο η μηχανή συλλέγει ανώνυμες πληροφορίες για τις αναζητήσεις για βελτιώσει τα αποτελέσματα και να διορθώσει τα ορθογραφικά. Για την προσωποποίηση των αποτελεσμάτων αποθηκεύει cookie μετά από την έγκριση του χρήστη. Σε ορισμένες περιπτώσεις μπορεί να προστεθεί ένας "affiliate code" σε μερικά eCommerce site όπως το Amazon, από τα οποία το DuckDuckGο καλύπτει κάποια έξοδα συντήρησης. Σε καμία περίπτωση όμως, σύμφωνα με την μηχανή, δεν μοιράζονται πληροφορίες με τα site αυτά.
  • Περισσότερες και αναλυκότερες πληροφορίες σχετικά με την πολιτική απορρήτου θα βρείτε στην σελίδα της μηχανής.

Πέρα από το πολύ σημαντικό privacy το DuckDuckGo είναι καλό γιατί παρέχει και μερικά πολύ χρήσιμα εργαλεία:

  • Τα !bangs είναι λέξεις κλειδιά που κάνουν την ζωή μας πιο εύκολη και γρήγορη. Για παράδειγμα η αναζήτηση  "!python os" θα μας πάει απευθείας στην σελίδα αναζήτησης του python.org και θα αναζητήσει "os". Όμοια για το !youtube ή το !amazon. Το !gi και το !g ανακατευθύνουν στο google images και στο google search αντίστοιχα. Δεκάδες !bangs θα βρείτε στην σχετική σελίδα.
  • Απάντηση χωρίς click: Σε κάθε αναζήτηση προστίθεται την κορυφή ένα πλαίσιο με πληροφορίες που συνήθως περιέχει ακριβώς αυτό που αναζήτησες, χωρίς να χρειαστεί να κάνεις κλικ πουθενά. Για παράδειγμα όταν ψάξω μια ip θα μου πει που βρίσκεται. spacer
  • Μία σελίδα αποτελεσμάτων: Η σελίδα με τα αποτελέσματα φορτώνει συνεχώς νέα αποτελέσματα όσο πλησιάζεται προς το τέλος της.
  • Ναι ή όχι;: Η αναζήτηση "yes or no" θα σας επιστρέψει μία τυχαία απάντηση για τους αναποφάσιστους.
  • Φυσικά πολλά άλλα στην σελίδα Goodies του DuckDuckGo.

Καλά όλα αυτά αλλά τα αποτελέσματα έχουν αξία; Ευτυχώς ναι! Χρησιμοποιώ το DuckDuckGo εδώ και ένα μήνα ως βασική μηχανή αναζήτησης και είμαι πολύ ευχαριστημένος. Σε ελάχιστες περιπτώσεις έχω καταφύγει στο google για καλύτερα ή περισσότερα αποτελέσματα. Το zero-click info και η σύνταξη !bang επιταχύνουν πολύ την αναζήτηση.

Μπορείτε να χρησιμοποιήσετε το DuckDuckGo είτε απευθείας από το www.duckduckgo.com ή ακόμη καλύτερα από το https://www.duckduckgo.com. Υπάρχει και η δυνατότητα να βάλετε την μηχανή στο search πεδίο του firefox.

0

Αποχώρηση / Αναζήτηση Ubuntu LoCo contact member

Posted on September 26, 2010 by seadog

Αντιγράφω από το post μου στο forum.ubuntu.com

Ανοίγω το thread για να δηλώσω την αποχώρησή μου από την θέση του επίσημου LoCo contact. Την θέση αυτή την πήρα πρωτοβουλιακά πριν 6 χρόνια, όταν έκανα τις πρώτες κινήσεις για την δημιουργία της ομάδας, την έγκρισή της από του ubuntu, την δημιουργία του site και της λίστας. Πλέον δεν είμαι καθημερινός χρήστης ubuntu (τα κουβαδάκια μου και σε άλλες παραλίες βλ. linux mint debian edition) οπότε δεν πιστεύω ότι πρέπει να κατέχω την θέση, ούτε τις έσεις admin στις διάφορες ομάδες στο launchpad. Θα αφιερώσω τον χρόνο μου σε άλλα floss projects spacer

Το contact member έχει ως υποχρέωση να φροντίζει για όλες τις επικοινωνίες μεταξύ της ομάδας και του υπόλοιπου ubuntu community, όπως για παράδειγμα η αίτηση για δωρεάν CD, διάφορες αιτήσεις για το hosting, το domain, την λίστα ταχυδρομείο κτλ. Επίσης σύμφωνα με τις τελευταίες αποφάσεις θα πρέπει μια φορά τον χρόνο να βρίσκεται στο τοπικό συμβούλιο που θα επανακρίνεται η λειτουργία της ομάδας. Αναγκαία είναι η καλή γνώση της αγγλικής. Περισσότερα στη σελίδα LoCoTeamContact.

Όποιος ενδιαφέρεται να αναλάβει την θέση ας το δηλώσει στο thread. Εάν υπάρχουν περισσότερες της μίας υποψηφιότητες θα μπορούσαμε ίσως να έχουμε κάποιο είδος εκλογών / poll.

Όποιος εκλεγεί θα έχει φυσικά την υποστήριξή μου για τους πρώτους μήνες.

Ευχαριστώ όλους όσους δουλέψαμε μαζί αυτά τα χρόνια. It was fun spacer

Γιώργος

6

Πτυχιούχος!

Posted on September 26, 2010 by seadog

spacer Η σιωπή που επικράτησε στο blog μου τους τελευταίους μήνες, ήταν η σιωπή πριν την μεγάλη καταιγίδα! Πριν περίπου ένα μήνα λοιπόν, στις 18 Αυγούστου 2010, παρουσίασα την διπλωματική μου για το Master μου στο Computer Engineering του πολυτεχνείου του Delft! Χαλάλι το καλοκαίρι στην ολλανδία, οι βροχές και τα μόλις 5 μπάνια μου, αφού τελείωσα αισίως την ακαδημαϊκή μου καριέρα και πάμε για άλλα ακόμη καλύτερα τώρα.

spacer

Lego NXT

Το καλύτερο μέρος όμως της παρουσίασης είναι το Lego NXT Mindstorms που μου πήραν δώρο τα φιλαράκια μου spacer

Πέρασε ένας μήνας όμως για να βρω χρόνο να γράψω το blog post και αυτό γιατί εν το μεταξύ μετακόμισα στο Rotterdam και άρχισα την δουλειά μου ως researcher στο Tribler.org του πανεπιστημίου του Delft. Στο tribler θα συνεχίσω να δουλεύω σε p2p σχετικά θέματα και ετοιμάζουμε πολλά ενδιαφέρονται πράγματα, όπως την συνεργασία μας με την wikipedia. Το SwarmPlayer, δηλαδή το p2p streaming video player που αναπτύσσουμε στα πλαίσια του p2p-next, θα είναι μία από τις επιλογές της μεγαλύτερης εγκυκλοπαίδειας για τα videos spacer Ήδη κάνουμε τις δοκιμές και το launch date είναι πολύ κοντά!

Level completed!

10

Φτιάχνοντας ένα Mendel Reprap

Posted on June 19, 2010 by seadog

spacer Τις τελευταίες εβδομάδες συμμετέχω στο CabFabLab φτιάχνοντας ένα Mendel RepRap! Προχθές τελειώσαμε με το κατασκευαστικό κομμάτι και μετά από κάμποσες ώρες ψαξίματος για το κατάλληλο extruder firmware, για generation 3 electronics αλλά με υποστήριξη stepper motors για όσους αναρωτιούνται, το reprap μας ζωντάνεψε!

Δεν τυπώσαμε τίποτα ακόμη αφού το extruder design μας μάλλον δεν είναι και ό,τι καλύτερο και υπάρχουν προβλήματα διαφυγής της θερμότητας και ως αποτέλεσμα δεν λιώνει καλά το πλαστικό. Την επόμενη όμως ελπίζω να φύγω με κάτι χειροπιαστό!

Άραγε υπάρχουν άλλοι RepRaper's στην Ελλάδα;

0

Awesome personal cards

Posted on February 27, 2010 by seadog

spacer I treated myself with a pack of awesome personal cards. Designed using Inkscape and open source fonts from the openfontlibrary.org printed at the cool moo.com on green, biodegradable recycled paper.

Note the QR vcard with all my details encoded! Rocking! spacer

I really like the moo.com service. I have ordered stickers, minicards and now business cards. More expensive than the others but the service deserves every cent. Here is a 15% discount code if you want to order your business cards from moo.com. Use G2MSCG at the checkout.

1

My home brewery log

Posted on February 10, 2010 by seadog

spacer It's almost 2 years I'm brewing my own beer. Fed up with the tasteless beer in Greece, I started my own small brewery on April 2008.

After a few (un)successful brews, now it's time to announce my home brewing log. Another blog to collect brewing recipes, hints 'n' tips and of course my brewing log. Besides the cool beer tasting stuff, information about the special arduino based hardware used to create these awesome graphs will be also hosted there.

sealabs brewery blog

Happy brewing everyone!

12

Twitterupdater wordpress plugin for identi.ca

Posted on February 9, 2010 by seadog

Update: Using the WP-Status.net plugin now

I was using twitterfeed.com to post my blog posts on identi.ca and twitter, but since the service behaved sometimes strangely re-posting old posts and spamming my followers (maybe it was my rss fault anyway) I decided to find a proper wordpress plugin to do the job. Twitterupdater is a simple, nice plugin with clean source code but uses twitter service and not the FLOSS and better identi.ca. Fortunatelly identi.ca is API compaliant with twitter so here is a quick tip on how to change the service twitterupdater uses.

  1. Download from twitterupdater.com
  2. Open twitter_updater.php with your favorite text editor, or with wordpress edit plugin feature
  3. Change line 64 from $host = 'twitter.com'; to $host = 'identi.ca';
  4. Change line 96 from $twitterURI = "/statuses/update.xml?source=ingoalstwitterupdate"; to $twitterURI = "/api/statuses/update.xml?source=ingoalstwitterupdate";
  5. Configure the plugin as usual
  6. Enjoy!

Note that this blog post is a test to check if this is going to work spacer

Update: and yes it works! spacer

Extra Tip: You can find all the '@' symbols in twitter_updater.php file and add an extra space after them so identi.ca parses the shorten url as link.

Edit: Testing if the twitterupdater plugin still works with wordpress 2.9.2

2

Ακούστε τα ελληνικά διαδικτυακά ραδιόφωνα από το maemo

Posted on January 27, 2010 by seadog

spacer Συνεχίζοντας την ωραία δουλειά που κάναμε με τον Μάνο για την δημιουργία playlist του eradio.gr, έκανα μεταφορά του προγράμματος με ελαφρές τροποποιήσεις στο maemo 5 για το nokia n900.

Κατεβάζοντας το greekiradio από τα devel repositories και πατώντας το update ενημερώσετε την λίστα του ενσωματωμένου media player με τους σταθμούς που προσφέρει το eradio.gr. Η λίστα δημιουργείται την στιγμή που πατάτε το update ώστε να μπορείτε να την ενημερώνετε κατά βούληση με νέους σταθμούς και ανανεωμένα feed για τους ήδη υπάρχοντες.

Πληροφορίες για το πως μπορείτε να επεξεργαστείτε την λίστα ραδιοφώνων του media player του maemo 5 θα βρείτε στο σχετικό post στο maemo.org

0

Sync your N900 with Google calendars and Evolution

Posted on January 24, 2010 by seadog

spacer Syncing your brand new N900 phone with google calendars and gnome evolution can be a really tedious task. I managed to bond all three of them successfully and get full two-way syncs from all components. We are going to sync the N900 with google calendars and then sync evolution with google calendars.

Syncing N900 with google calendars

Maemo 5 supports ActiveSync protocol which is used to synchronise Microsoft Exchange calendars, emails and contacts. Google calendar also supports activesync and that's the way we are going to sync. I followed these instructions (taken from here):

Device: Nokia N900
Carrier: unlocked
Country / Language: US-English
OS / Browser / build number (if applicable): Maemo v1.2009.42.11

I was unable to find any instructions on how to sync Google Mail, Calendar, and Contacts with my n900. So, I tried using the instructions for the Symbian v3/v5 phones. Two of three were successful. One of the successes does have a catch. So others don't have to spend the time I did experimenting here are the instructions for synchronizing Google Mail, Calendar, and Contacts with the n900 firmware v1.2009.42.11.

Gmail sync settings can be created on the n900 by either:

A. Activating the mail wizard by clicking on the "email" icon for the first time.

or

B. Within the "Settings" menu in the "Email" submenu press on the top status bar with "E-mail" pulldown and another submenu with a "New account" button will appear.

After you input your Gmail e-mail address most of the fields will populate themselves. In fact, almost ALL the fields will automatically populate themselves (finally effortless mail!). Just in case, check these settings:

For incoming server: port 993
For outgoing server: port 465

Calendar AND contacts sync settings can be created by:

1st Open settings menu.
2nd Open "Email for Exchange" submenu.
3rd Filling in the fields as:

a. Server: m.google.com
b. Port: 443
c. Secure connection: check yes
d. Conflict resolution: your choice
e. User name: joe.blow@gmail.com
f. Password: your password
g. Domain: leave blank
h. Synchronize e-mail: leave unchecked.
i. Synchronize calendar and tasks: check yes.
k. Calendar: N900 (to populate existing calendar) or create a new one
j. Synchronize calendar back: your choice
k. Synchronize completed tasks: your choice
l. Synchronize contacts: check yes
m. First synchronization: your choice

A note of caution: For this sync to work your calendar must be empty. If you have already used the synchronization tool to transfer the calendar data from your old phone to your n900 it will not allow you to write the Google calendar data from the server into it. The n900 calendar will remain as a local, unsynchronized calendar and you must create another calendar for synchronization purposes. However, I believe this is not the best way to go. Instead, if you have already transferred your calendar data from your old phone open the n900's calendar, select all, and delete. Then the Google server will synchronize its data with the N900 calendar.

Note 1: It is really important to initially have an empty calendar on the N900. I was trying with a calendar which already had entries and I always got a "Server is not responding error".

Note 2: The first time I succeeded it worked great for a couple of syncs but then I got again the "Server is not responding error". Deleting all entries and fully re-syncing fixed the problem.


Syncing Gnome's Evolution with Google calendars

Evolution supports Google calendars natively and it also supports Caldav another calendar protocol, also supported by google. Unfortunately none of them works on my machine. I found online hundreds of complains about broken functionality. And even if you manage to get them working they are totally unreliable.

Therefore I skipped evolution's build-in sync functionality and moved to gcaldaemon. From the project's website we learn that "GCALDaemon is an OS-independent Java program that offers two-way synchronization between Google Calendar and various iCalendar compatible calendar applications. GCALDaemon is primarily designed as a calendar synchronizer but it can also be used as a Gmail notifier, Address Book importer, Gmail terminal and RSS feed converter."

Gcaldaemon provides working syncing with google calendars. I don't need the fancy http features so I just setup it up for file synchronising, using the "dial-up internet" instructions from the project's website. So using gcalcdaemon I sync my google calendar with a local file in my computer.

spacer Then in evolution you can add a new local calendar and specify the location of that new calendar (new feature in gnome 2.28 spacer ) and order evolution to update the calendar when the file changes on disk (e.g. when gcaldaemon get new updates from your google calendar).

The sync runs fine for the last two days. I tried unicode entries, creating, deleting and editing entries from all three of them and everything works like a charm!

Pages ... 1 2 3 4 5 6 7 8 9 10