Archive for the 'Uncategorized' Category

Inception

Tegnap láttuk az Inception című filmet, atomjó volt. Régen élveztem egy mozifilmet ennyire. Christopher Nolan nevét már a tíz évvel ezelőtti Memento kapcsán megjegyeztem magamnak, nagyon tetszett ahogy a nem lineáris vonalvezetésű történetszálat sikerült már anno és most is filmre vinni úgy hogy többé kevésbé érthető legyen. Volt egy-két dolog, ami még mindig nem teljesen tiszta, pl a totem fizikiájának megváltoztatása, de összességében remek szórakozás volt (a kicsit paráztatós, székhez szegezős fajtából). A film közben körülnéztema moziban és hát voltak egy páran akik a karfába kapaszkodva előredölve próbálták követni az eseményeket. Mondjuk nem mindenkinek tetszett, de mindenképpen az elgondolkodós film kategóriába tartozik, egykönnyen nem felejti az ember, még napokkal később is fogok rajta kattogni. 9/10

http://www.imdb.com/title/tt1375666/

Package dependency graph debian/ubuntu

apt-get install apt-rdepends graphviz

apt-rdepends --dotty dpkg | dot -Tpng > dpkg_deps.png

innen: http://blog.hartwork.org/?p=108

How to prevent change of screen resolution aftere every reboot/login

Itt van a problema es a megoldas felvazolva: http://social.technet.microsoft.com/Forums/en-US/itprovistadesktopui/thread/4e074fdc-4a49-450a-ae4f-2d17f186a8d2

A lenyeg:
1) Go to Start –> Run –> regedit and press enter

2) Click ‘Edit’ and click ‘Find’ in the Edit menu

3) Type ‘ DefaultSettings.XResolution ‘ (without quotes) and click ‘Find’

4) Now double click it and change the hexadecimal value to 400 which corresponds to 1024

5) Click ‘Find Next’ and repeat Step 4)

6) Now do the same for ‘ DefaultSettings.YResolution ‘ (without quotes) and change the hexadecimal value to 300 which corresponds to 768 and restart.

Az osszes talalatot modositani kell, a fo kijelzonel a relative position 0, masodlagos kijelzoknel valamilyen integer

A nap idézete

Egyébként muhaha, Magyarország sorsa bele van kódolva abba a ténybe, hogy a szavazók nagyobb része nem dolgozik. Tehát amíg ez nem kerül megváltoztatásra, nincs reális alternatíva.

korankelo eléggé rátapintott a lényegre

Megjelent végre a Python3 … installálom

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

“When the goin gets weird, the weird turn pro”

innen :)

Disaster Recovery Plan

New capitalist pyramid

innen

Reinstalling kernel in Ubuntu linux

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

Netboot Ubuntu from OS X

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.

  1. "mkdir netboot"
  2. internet sharing elindítása, “cp /etc/bootpd.plist ./netboot”, internet sharing leallitasa.
  3. bootpd.plist szerkesztese, majd "sudo cp ./netboot/bootpd.plist /etc/"
  4. 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 (41)

understand

6590_fullinnen

Daily Life

5674_full

innen

Ubuntu deleting old kernels

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

Thanksgiving

Turkey-DayIts funny because its true

Gold

Regardless of the dollar price involved, one ounce of gold would purchase a good-quality man’s suit at the conclusion of the Revolutionary War, the Civil War, the presidency of Franklin Roosevelt, and today.

Peter A. Burshre

20091125innen milyen igaz, mondjuk voltak azért közben időszakok, amikor ez nem volt teljesen igaz, de nagyjából azért stimmel (“Ha! Back in 1998 you couldn’t have bought something off the rack at TJ MAXX with your ounce of gold.”)

fizikushumor

physics0

innen

Kostenwahrheit

Papier aus Australien

… und wir hatten Papier aus Australien im Büro. Zeigt die fehlende Kostenwahrheit beim Transport!

innen

Edward Kennedy

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

Lorenzo von Matterhorn

:)

Balloon Explorers Club | Featured Member (20091118)

Big Business Journal | Lorenzo von Matterhorn (20091118)

Extremities Quarterly | Phallumegaly - Lorenzo von Matterhorn (20091118)

http://www.balloonexplorersclub.com/

http://www.bigbusinessjournal.com/

http://www.extremitiesquarterly.com/

Big D

There are two tragedies in life. One is not to get your heart’s desire. The other is to get it.

George Bernard Shaw

Diamond Shreddies

shreddies

innen: http://www.ted.com/talks/view/id/658

Ubuntu installing new release

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).

LEGO kocka betonból

mekkora ötlet, tuti megcsinálom valamikor :) , még pirosra, vagy valamilyen más élénk színre kellene lefesteni…
F2R6KG1FXK6BZ12.MEDIUM

success – failure ratio

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…

Smithers release the hounds

 :)  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''