Archive for the 'Uncategorized' Category

“Chunking”

http://www.nytimes.com/2012/02/19/magazine/shopping-habits.html?pagewanted=2&_r=1

An M.I.T. neuroscientist named Ann Graybiel told me that she and her colleagues began exploring habits more than a decade ago by putting their wired rats into a T-shaped maze with chocolate at one end. The maze was structured so that each animal was positioned behind a barrier that opened after a loud click. The first time a rat was placed in the maze, it would usually wander slowly up and down the center aisle after the barrier slid away, sniffing in corners and scratching at walls. It appeared to smell the chocolate but couldn’t figure out how to find it. There was no discernible pattern in the rat’s meanderings and no indication it was working hard to find the treat.

The probes in the rats’ heads, however, told a different story. While each animal wandered through the maze, its brain was working furiously. Every time a rat sniffed the air or scratched a wall, the neurosensors inside the animal’s head exploded with activity. As the scientists repeated the experiment, again and again, the rats eventually stopped sniffing corners and making wrong turns and began to zip through the maze with more and more speed. And within their brains, something unexpected occurred: as each rat learned how to complete the maze more quickly, its mental activity decreased. As the path became more and more automatic — as it became a habit — the rats started thinking less and less.

This process, in which the brain converts a sequence of actions into an automatic routine, is called “chunking.” There are dozens, if not hundreds, of behavioral chunks we rely on every day. Some are simple: you automatically put toothpaste on your toothbrush before sticking it in your mouth. Some, like making the kids’ lunch, are a little more complex. Still others are so complicated that it’s remarkable to realize that a habit could have emerged at all.

locale change – Ubuntu system

MellÅz http://security.ubuntu.com natty-security/universe Translation-en
Csomaglisták olvasása… Kész

update-locale LANG=hu_HU.UTF-8 LC_MESSAGES=POSIX

Nyelvi beállítások, dátum, stb. magyarul, rendszerüzenetek angolul (default)

innen: https://help.ubuntu.com/community/Locale

MD-11 @Ferihegy


forrás

NASA kép Veszprém megyéről

On October 9, 2010, the Advanced Land Imager (ALI) on NASA’s Earth Observing-1 (EO-1) satellite captured this natural-color image of the area. The top image shows a close-up of the alumina plant and closest villages. The bottom image shows the wider region.

The alumina plant appears along the right edge of both images, and incorporates both bright blue and brick red reservoirs. The breach of the retaining wall is apparent in the close-up view. Sludge cut a channel through the northwest corner of the waste reservoir and spread onto nearby fields.

In the short term, the sludge swept away cars, filled homes, swamped agricultural fields, damaged bridges, and forced hundreds to evacuate.

Photo credit: NASA Earth Observatory image created by Jesse Allen, using EO-1 ALI data provided courtesy of the NASA EO-1 team. Caption by Michon Scott.


NASA_Ajka-Kolontar-Devecser_2010_10_09 (151)

durva

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 (230)

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