Upatras bus service SUCKS!

Το Πανεπιστήμιο Πατρών [1] έχοντας σκοπό να υποστηρίξει τους φοιτητές του που δεν διαθέτουν μέσο μετακίνησης εισήγαγε τον θεσμό των πανεπιστημιακών λεωφορείων[2].

Όπως κάθε χρόνο έτσι και φέτος τα πανεπιστημιακά λεωφορεία δρομολογήθηκαν μετά το πέρας του χειμερινού εξαμήνου (επί 4 και πλέον μήνες οι φοιτητές ήταν υποχρεωμένοι να ανέχονται το ΑΣΤΙΚΟ ΚΤΕΛ ΠΑΤΡΩΝ με το πανάκριβο εισιτήριο και την άθλια αξυπηρέτηση - για να μην πω οτι μέχρι και αυτό το σημαντικό για κάποιους από εμάς ζήτημα αποτέλεσε χώρο μικροπολιτικής αντιπαράθεσης). Και όπως κάθε τι γίνεται σε αυτό τον τόπο από τους πολιτικούς δυνάστες μας έτσι και αυτή η υπηρεσία που υποτίθεται θα αποτελούσε το αντίπαλο δέος στο ΑΣΤΙΚΟ ΚΤΕΛ ΠΑΤΡΩΝ αυτή την στιγμή αποτελεί τον καλύτερο διαφημιστή του.

Με χρόνο αναμονής στην στάση από 40λεπτά μέχρι 2 ώρες , με αραιά και ανοργάνωτα δρομολόγια, και χωρίς να προγραμματίζει αυτά με γνώμονα τους φοιτητές και τα μαθήματα που αυτοί παρακολουθούν επάξια κατακτά την τιμητική διάκριση ΜΟΥΤΖΑ 2009.

Η απορία μου είναι απλή: δεν υπάρχει κανείς που να μπορεί να υπολογίσει πόσοι περίπου άνθρωποι θα είναι στην στάση κάθε δεδομένη ώρα; Τόσοι μπακαλίστικοι πολλαπλασιασμοί υπάρχουν για να κάνετε μια προσέγγιση. Θέλετε πιο ακριβή αποτελέσματα; Κρατάτε στατιστικά στα λεωφορεία.  Ζητήστε ΟΥΣΙΑΣΤΙΚΟ feedback από τους οδηγούς (πχ που γεμίζει το λεωφορείο και τι ώρα). Αν δεν μπορείτε να το κάνετε ευχαρίστως να σας βοηθήσω (κόβω και τιμολόγια παροχής υπηρεσιών)

Μέχρι τότε:

MOYTZA

(gentoo amd) cpuinfo linux

These days I am violating my shiny new pc in many ways (huge matlab datasets processing, with multiple concurrent vms running at 100%) so I would like to check out (without rebooting and entering the bios) some shit about my machine. Since I am totally F/OSS as far as the OS is concerned I don’t have the luxury of windows apps like cpuid, or whatever. So in order to check out about the o/c I had to find another way. And there is another way, two to be exact.

  • The first is the lshw [1] progie (you know the drill gentoo fans ;-) ) emerge -vuDtN sys-apps/lshw

It is a good idea to build the frontend also (via the gtk USE flag). lshw is great. it provides you with tons of information, the cli’s ouput may passed as input (piped?) for anykind of shit you have in mind in anykind of enviroment, and is open source code. lshw (also known as Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 and amd64 (tested on both works flawlessly). For instance,

phenom2 ~ # lshw -class cpu
*-cpu
description: CPU
product: AMD Phenom(tm) II X4 940 Processor
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: AMD Phenom(tm) II X4 940 Processor
serial: To Be Filled By O.E.M.
slot: CPU 1
size: 3400MHz
capacity: 3400MHz
width: 64 bits
clock: 200MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 3dnowext 3dnow constant_tsc rep_good nopl pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt

  • The second one is  a tool [2- 64bits]  [3 - 32bits] [4 - link to the amd’s search page] build by amd and for amd compatible cpus (haven’t tested it in intel archs though it would be funny) but unfortunatelly amd (what a surprise!) doesn’t provide exactly what one may want.

What I mean by that? If you download one of these distributions you  will find out that these are rpms [for those stuck with ebuilds and gentoo you can read more about rpm there 5] for two specific distros; Suse and Redhat! No gentoo, no slack no nothing… Not even a static build… Who the hell is the software release engineerer in amd? Of course there is a bypass to the rpm shit .

  • One may extract the files out of the stupid rpms easily though;
    1. rpm2cpio CPUInfo-2_2_0_42-SUSE10364bit-Public.bin.rpm | cpio -idmv
    2. if you don’t have cpio (for gentoo users that’s impossible since its in the system) install it and proceed as advised
  • and of course the extracted files are dynamically linked (YOU M#*$#@)DUMB*#$#*$)@# PLEASE PROVIDE US STATICALLY LINKED BINARIES OR GIVE OUT THE DAMNED SOURCE,s o it may or may not work in your platform depending on the libraries you have installed… sigh… (For me every single one worked)
    • CPUInfo is the "fantastic” executable the amd provides
      phenom2 dumb-developers # ldd CPUInfo
      linux-vdso.so.1 => (0×00007fffd35fe000)
      …[many libraries including kdemultimedia!!!]…
      libuuid.so.1 => /lib/libuuid.so.1 (0×00007f0dc65a9000)

Instead of a conclusion;  Linux users do yourself a favour and use truly opensource software. Not some binary shitty thing that a 13yr old kiddo written… And if you haven’t got the clue, USE lshw.

PS. If you dl’ed the amd’s rpm’s then you should see something similar to :

phenom2 amd # ls -l
σύνολο 6470
-rw-r--r-- 1 root root 611293 2008-11-18 10:52 CPUInfo-2_2_0_42-RedHatEnterpriseServer4U464bit-Public.bin.rpm
-rw-r--r-- 1 root root 1075290 2008-11-18 10:52 CPUInfo-2_2_0_42-RedHatEnterpriseServer564bit-Public.bin.rpm
-rw-r--r-- 1 root root 656880 2008-11-18 10:52 CPUInfo-2_2_0_42-SUSE102OSS64bit-Public.bin.rpm
-rw-r--r-- 1 root root 671294 2008-11-18 10:52 CPUInfo-2_2_0_42-SUSE10364bit-Public.bin.rpm

“Who made C language?”

The above question is one of many search queries that lead people from far away into my blog! . Well guys do yourself a favour and search the wikipedia [1].

As mentioned in wikipedia  C language (or also mentioned as the cool’s operating system language, due to the fact that every cool operating system is written in C - besides minix and windows -) was initially developed by ritchie (not blackmoore but dennis :P )  in an attempt to build the PDP-11[2] operating system (which isn’t nowdays such a cool operating system). End of story :)