Παστίτσιο

Δεν είμαι σε θέση να κρίνω την απόφαση, αλλά σε όσους συμφωνούν με αυτή έχω ένα ερώτημα:

– Ποιος προσβάλλει περισσότερο τον Παϊσιο (και το θρήσκευμα): Ο Παστίτσιος ή όσοι αποδίδουν μυθικές ικανότητες στον γέροντα;

Ούτε ο Παϊσιος θα αποδεχόταν τις δυνάμεις που του αποδίδουν.

Racket on the Mac

Since I’ve bought “Realm of Racket” I thought that I should install Racket on the Mac. The last time I seriously looked into it it was still called PLT-Scheme.

My first choice was to use a homebrew formula. Unfortunately this requires XQuartz and I did not feel like installing it too.

My second try was to compile it from the source. ../configure –disable-gracket && make worked, but make install failed. I really did not bother with why. I just wanted to install it and play around. This was not an installation for a lot of users after all.

So I got to download the precompiled Mac binary from the web site. 364M later it was all installed and happy.

Let’s see now if I’ll go through the book top to bottom…

PS: I remembered that I owned the eBook from this Ruby Rogues episode.

TODO list bankruptcy

Today while going over my Filofax TODO lists, I declared “TODO list bankruptcy”. It was filled with a lot of stuff that was not important, or lost its importance as time went by.

I will try to keep this to three tasks per day and am even considering a weekly “bankruptcy” on what is left behind and not dealt with for at least 15 seconds.

Re: on becoming a sysadmin

Μέρες που είναι, ας γράψουμε κι ένα success story.

Εκεί λίγο πριν τελειώσει το 2007 μου έστειλε mail ένας φοιτητής (ας τον πούμε Νίκο) από το ΠΑΠΕΙ που με ήξερε μόνο μέσα από το blog μου. Το mail του συνοψίζεται σε μία ερώτηση:

– Τι χρειάζομαι για να γίνω system administrator;

Μια κάπως πιο μεγάλη απάντηση από αυτή που του έστειλα δημοσίευσα την Πρωτοχρονιά του 2008. Σήμερα ο Νίκος δουλεύει σαν system administrator σε μεγάλο οργανισμό, διαχειρίζεται περισσότερα μηχανήματα, χρήστες και complex environments από εμένα και θα έλεγα πως τουλάχιστον επαγγελματικά πατάει καλά.

Μπράβο φίλε.

day 1

Υπάρχουν πολλές ιστορίες τύπου “you don’t quit” με τον ήρωα να επανέρχεται θριαμβευτικά από τις στάχτες. Μία – δύο τις ξέρω και από πρώτο χέρι.

Τη χρονιά όμως θέλω να την ξεκινήσω με μια ιστορία “you don’t quit” στην οποία ένας απόλυτα πετυχημένος άνθρωπος (by any standard) δεν εγκατέλειψε, ούτε μετά από δεκαετίες, τον αρχικό του στόχο.

• Νέος διδακτορικός.

Καλή χρονιά!

ERROR:gitosis.serve.main:Repository read access denied

[ I write this for I found the solution applied to my case at the 3rd link of the 2nd page of my Google search. I had never gone beyond the first page for years. ]

So there was this gitosis repository that lived on an Ubuntu server that had to move to a CentOS one.

Thankfully EPEL still carries gitosis and I did not built it from the source. I copied over the files and was done with it.

That is until I needed to change access to one of the repositories to add a user. Said user was denied any kind of access with:

ERROR:gitosis.serve.main:Repository read access denied

There are plenty of reasons for this occur (examples), but none seemed to fit in my case, so I brute forced the search results. And at the first comment that was posted on the third link at the second page Google came up with, the solution was found.

# cd ~gitosis/repositories/gitosis-admin.git/hooks/
# ls -l
total 48
-rwxr-xr-x 1 gitosis gitosis  452 Sep 11  2011 applypatch-msg.sample
-rwxr-xr-x 1 gitosis gitosis  896 Sep 11  2011 commit-msg.sample
-rwxr-xr-x 1 gitosis gitosis  160 Sep 11  2011 post-commit.sample
-rwxr-xr-x 1 gitosis gitosis  552 Sep 11  2011 post-receive.sample
lrwxrwxrwx 1 gitosis gitosis   61 Dec 21 09:53 post-update -> /usr/share/pyshared/gitosis/templates/admin/hooks/post-update
-rwxr-xr-x 1 gitosis gitosis  189 Sep 11  2011 post-update.sample
-rwxr-xr-x 1 gitosis gitosis  398 Sep 11  2011 pre-applypatch.sample
-rwxr-xr-x 1 gitosis gitosis 1578 Sep 11  2011 pre-commit.sample
-rwxr-xr-x 1 gitosis gitosis 4971 Sep 11  2011 pre-rebase.sample
-rwxr-xr-x 1 gitosis gitosis 1239 Sep 11  2011 prepare-commit-msg.sample
-rwxr-xr-x 1 gitosis gitosis 3611 Sep 11  2011 update.sample

Yeah, you’ve guessed it by now:

/usr/share/pyshared/gitosis/templates/admin/hooks/post-update

did not exist on CentOS but

/usr/lib/python2.6/site-packages/gitosis/templates/admin/hooks/post-update

did. Fixing the symbolic link fixed the problem.

/* Oh what fun it is to chase bugs into the night */