spyder install
elofeltetelek: PyQt, sip, QScintilla (install instructions)
I was able to successfully install Spyder on Snow Leopard, mainly guided by the following link: http://chinbilly.blogspot.com/2010/01/building-pyqt4-on-snow-leopard.html
In short, you have to make sure that you install/compile packages (Qt, Python, sip and PyQt?) in 64 bit architecture (with ‘x86_64′ option). When compiling sip and PyQt?, for example, I configured with ‘python configure.py –arch x86_64′ and ‘python configure.py –use-arch x86_64′, respectively. Once you are able to import PyQt4?.QtCore? without any error message, you should be able to run spyder.
SciPy superpack install
This shell script will install recent 64-bit builds of Numpy (1.4) and Scipy (0.8), as well asMatplotlib (1.0), iPython and PyMC (2.1 alpha) for OS X 10.6 (Snow Leopard) on Intel Macintosh. All builds are based on recent development code from each package, which means though some bugs may be fixed and features added, they also may be more unstable than the official releases. Distributing them together should improve interoperability, since the supporting packages (Scipy, Matplotlib, PyMC) were all built against the accompanying build of Numpy. This package were compiled on OS X 10.6 using Apple’s Python 2.6.1, FFTW 3.2.2 and GCC 4.2 (build 5646). To avoid compatibility issues, the installer also optionally downloads and installs the gFortran compiler (4.2) built against Snow Leopard’s GCC 4.2 for Xcode 3.2.
After you install it, however, be sure to type in
sudo ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/
at the command line, and then you should be good to go.
Building 64bit NumPy/SciPy/PyLab on Snow Leopard
Miután sikerült bebootolni a netboot telepítőbe el kell indítani a telepítést, advanced command line installer, majd megszakitani, hogy visszakerüljünk a “főmenübe”, itt meg kell csinálni a network setupot – lehetőleg még működjön a DHCP server, majd a egy konzolt kérni.
Innen:
mkdir /mnt/os
mount /dev/sda1 /mnt/os
chroot /mnt/os
apt-get update
apt-get install linux-image
itt sanszos, hogy mindenféle hibaüzeneteket fog dobni, de mehet a reboot, utána még mehet apt-get install --reinstall linux-image, de nemtom ennek mennyi értelme van
Leírás innen
Az előző kernel-tisztogatás kicsit félresikerült, mert az összes működő kernel törölve lett, de sebaj, mert erre is van megoldás. Itt most a netboot folyamatát írom le, az OS X standard tftp illetve bootp daemonjainak segítségével.
- Ubuntu netboot + pxelinux
- tftp
- bootp
Először is be kell szerezni a leguljabb Ubuntu kiadás netboot csomagját (aktuális image), ami tartalmazza a pxelinux.0 fajlt is, a tftp és bootp serverek az os x részei, de érdemes letölteni a “TFTP Server” nevű programot, amivel sokkal egyszerűbben megy a beállítás. A netboot csomagot ki kell tomoriteni egy mappába majd a TFTP Server-ben megadni az eleresi utvonalat, illetve elinditani a tftp daemont. A bootp server beállítását a következő leírás alapján lehet megcsinálni.
"mkdir netboot"
- internet sharing elindítása, “cp /etc/bootpd.plist ./netboot”, internet sharing leallitasa.
- bootpd.plist szerkesztese, majd
"sudo cp ./netboot/bootpd.plist /etc/"
- esetleg működő dhcp server leallitasa
infok innen, illetve innen (Itt eltelt kb. 4 óra beállítások próbálgatásával). Pár fontos megjegyzés:
- az alábbi két bejegyzést kell a bootpd.plist filehoz fűzni:

- “It’s very important to figure out where you have to put the option in the
config file. As the man page say, there are three main sections…”
Nekem ezzel ment el vagy 3 órám, mire erre rájöttem (innen)
- A bootpd.plist file többi részét értelem szerint ki kell tölteni
ln -s pxelinux.0 $(printf "pxelinux.0\377") abban a könyvtárban ahol a “pxelinux.0″ található. Az OS X-es bootpd hozzáfűzi a stringhez \377 karaktereket. (innen)
további hasznos linkek: BOOTPD manual, illetve BOOTP/DHCP options, Working bootpd.plist (10)
Felgyülemlett elég sok régi kernel, amit már ugyse használok, de foglalja a helyet. A rendszer nem törli őket automatikusan, mert nem tudhatja, melyik működik, és melyik van használatban -> kézi törlés.
uname -r
ez a mostani kernel, mindent szabad törölni kivéve ezt: 2.6.31-14-generic
ezután
apt-get autoremove linux-image-2.6.27*
vagy
apt-get remove --purge 2.6.27*
és had szóljon (óvatosan a csillaggal)
innen
Papier aus Australien
… und wir hatten Papier aus Australien im Büro. Zeigt die fehlende Kostenwahrheit beim Transport!
innen
RIP
You see things; and you say, ‘Why?’ But I dream things that never were; and I say, “Why not?”
George Bernard Shaw, “Back to Methuselah” (1921), part 1, act 1
2 Minutes of RFK_s Eulogy by Edward Kennedy



http://www.balloonexplorersclub.com/
http://www.bigbusinessjournal.com/
http://www.extremitiesquarterly.com/
sudo su
do-release-upgrade --devel-release
a “–devel-release” -el lehet nem hivatalos, beta releasre frissíteni (ami per pill. Karmic Koala). Elég sokáig tartott a –devel-release kapcsolót megtalálni, anélkül meg nem értettem, hogy miért nem frissül már (innen).
mekkora ötlet, tuti megcsinálom valamikor
, még pirosra, vagy valamilyen más élénk színre kellene lefesteni…

Nassim Nicholas Taleb (in Fooled by Randomness):
it does not matter how frequently something succeeds if failure is too costly to bear.
milyen igaza van, igazából ugye a befektetési alapoknak, bankoknak is elsődlegesen arra kellene ügyelniük, hogy a “rájuk bízott” érték megmaradjon és csak másodlagos a hozam elérése…
passzol az előző posthoz.
Burns offers a $500,000 settlement and leaves Homer and Marge alone
to talk it over. Burns and Smithers spy on them as Homer wants to
hold out for the $1 million, but Marge fears what Homer has turned into,
what with shifty lawyers and phony doctors... Burns returns.
Sorry, offer's expired, I guess we'll just have to let the jury decide,
twelve good men and true, Smithers release the hounds.
-- Mr. Burns realizes that Bart made up his story,
Homer and Marge run across the lawn, chased by dogs. In court, Marge
is called to the stand by Burns' lawyer.
Bailiff: Do you promise to tell the truth the whole truth and nothing
but the truth, so help you God?
Marge: Mmm... Yes, I do.
Hutz: She sounded like she was taking that awful seriously.
Marge's honest testimony destroys Hutz's case.
Burns: I'm going to write a figure on this piece of paper. It's not quite
as large as the last one, but I think you'll find it fair.
[draws a giant zero]
Hutz: I think we should take it.
-- ``Bart Gets Hit by a Car''
Olvasgattam egy kicsit a perl-el és pythonal kapcsolatos írásokat a neten és szinte mindenhol a python-t hozzák ki győztesen, ajánlják tanulásra, stb. Tehát elhatároztam, hogy a következő project a python lesz, mert tényleg eléggé el tud durvulni a kód perlben, bár a rengeteg elkészített modul (pl. Klingon elválasztás
) azért nagy segítség.
Igazából több helyen jön elő Eric Raymond véleménye, hogy kisebb (pár 100 sor) projektekhez azért még mindig használják a perlt, de ahol több ember dolgozik együtt meg fontos a (saját) kód megértése ott jobb a perl.
“Mi a baj a perl-el?”
Ez még egy jópofa írás: Teach Yourself Programming in Ten Years (Peter Norvig jelenleg a Director of Research @ Google)
There appear to be no real shortcuts: even Mozart, who was a musical prodigy at age 4, took 13 more years before he began to produce world-class music. In another genre, the Beatles seemed to burst onto the scene with a string of #1 hits and an appearance on the Ed Sullivan show in 1964. But they had been playing small clubs in Liverpool and Hamburg since 1957, and while they had mass appeal early on, their first great critical success, Sgt. Peppers, was released in 1967.
cpan
install IO::Socket
Perl, Sockets and TCP/IP Networking
Network Programming with Perl
illetve kis kitérő:
Perl Crash Course: Pragmas, Perl Modules, and CPAN elég jó összefoglaló, ha korábban megtaláltam volna kicsit könnyebben ment volna a tanulás…
CPAN – The Perl Module Manager mint a címből is látszik a CPAN “kezelése”, viszonylag tömören, hasznos.