expatiari expatria

Xmonad on Oneiric Ocelot, Gnome Classic

Following up on Karmic, Lucid and Natty, we have Xmonad on Oneiric Ocelot. Let’s get my biases out of the way. I love Xmonad. I hate Ubuntu Unity.


$ sudo apt-get install gnome-panel xmonad

$ sudo vi /usr/share/applications/xmonad.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Xmonad
Exec=xmonad
NoDisplay=true
X-GNOME-WMName=Xmonad
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
X-GNOME-Autostart-Notify=true

$ sudo vi /usr/share/xsessions/xmonad-classic.desktop
[Desktop Entry]
Name=XMonad Classic
Comment=Tiling window manager that works
TryExec=/usr/bin/gnome-session
Exec=gnome-session --session=xmonad
Type=XSession

$ sudo vi /usr/share/gnome-session/sessions/xmonad.session
[GNOME Session]
Name=Xmonad Classic
RequiredComponents=gnome-settings-daemon;
RequiredProviders=windowmanager;panel;
DefaultProvider-windowmanager=xmonad
DefaultProvider-panel=gnome-panel
FallbackSession=gnome-classic

$ mkdir -p ~/.xmonad

$ vi ~/.xmonad/xmonad.hs
import XMonad
import XMonad.Config.Gnome
import XMonad.Layout.NoBorders
import XMonad.Layout.ThreeColumns

main = xmonad
    gnomeConfig {
            modMask = mod4Mask
          , layoutHook = smartBorders (layoutHook gnomeConfig)
         ||| ThreeCol 1 (3/100) (1/2)
         ||| ThreeColMid 1 (3/100) (1/2)
    }

$ xmonad --recompile

After you logout, be sure to select “Xmonad Classic” from the login menu (gear). I’ve added a command cheat sheet to a previous post (trust me, if you’ve never used Xmonad before you need to learn five command before you even begin). Perhaps you’d prefer something more visual:

Thanks to Haskell Wiki and myszek123.

Inferno 4

Inferno is a distributed operating system developed by the same geniuses who invented UNIX, C, UTF-8, Plan-9 from Bell Labs/Lucent. It’s cutting edge research and I’m installing it to do, well, research. If things work out, I’ll be installing it on another machine, and will clean this up then. But for now on Ubuntu 11.04 (386):

I cloned the mercurial repository as well as downloaded the tar with fonts. I haven’t decided which path is smarter. I installed graphics libraries. I also ran most of this as root in /usr/lib (was that smart?):

hg clone https://code.google.com/p/inferno-os/
wget http://www.vitanuova.com/dist/4e/inferno-20100120.tgz
apt-get install libxext-dev libxpm-dev x11proto-xext-dev

Extracted/moved to /usr/lib/inferno (not sure that’s wise)
edited mkconfig, set ROOT to the path above, set OBJTYPE=386, etc
PATH=/usr/lib/inferno/Linux/386/bin:$PATH
And this was not anywhere reasonable (like INSTALL, the repo web site, nor vita nuova) except Ueber.net:
./makemk.sh && mk -s nuke mkdirs install

Very fast boot time!

$ /usr/lib/inferno/Linux/386/bin/emu -r/usr/lib/inferno -c0 -g1024x768
; wm/wm

http://www.vitanuova.com/inferno/downloads.html

http://www.ueber.net/who/mjl/inferno/getting-started.html

Xmonad on Natty Narwhal

Three Xmonad tiles, including some basic commands in a web browser, config and compilation in a terminal window, and a clock

Xmonad on Natty Narwhal is a snap to set up. Just install xmonad 0.9.1:
$ sudo apt-get install xmonad

Create a config directory:
$ mkdir ~/.xmonad

Create a new config:

$ vi ~/.xmonad/xmonad.hs

import XMonad
import XMonad.Config.Gnome
import XMonad.Layout.NoBorders
main = xmonad
    gnomeConfig {
            modMask = mod4Mask
          , layoutHook  = smartBorders (layoutHook gnomeConfig)
    }

Compile (if/when successful, end with “:q”):
$ ghci ~/.xmonad/xmonad.hs
:q

Create the Gnome session files:
$ sudo vi /usr/share/gnome-session/sessions/xmonad.session

[GNOME Session]
Name=Xmonad
Required=windowmanager;panel;filemanager;
Required-windowmanager=xmonad
Required-panel=gnome-panel
Required-filemanager=nautilus
DefaultApps=gnome-settings-daemon;

And desktop:
$ sudo vi /usr/share/xsessions/xmonad.desktop

[Desktop Entry]
Encoding=UTF-8
Name=XMonad
Comment=Lightweight tiling window manager + Gnome
Exec=gnome-session --session=xmonad
Icon=xmonad.png
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-2.0

Then when you log out, enter your user name, select “Xmonad” from the bottom menu (as opposed to “Ubuntu”, “Unity”, or “Classic”), then enter your password, and enter. Note that I set the meta key to the “Win” key which seems to be most compatible with Gnome. See the previous post for the basic dozen Xmonad commands (here are two: Win-Shift-q to logout of Xmonad and Win-Shift-Return to open a terminal window).

An earlier image including many tiles, one floating, featuring a water color image of my dog in Greenland

Immortal Beloved

My angel, my everything, my very self.

– only a few words today, and with a pencil (with yours) – … why this deep grief, where necessity speaks – can our love exist but by sacrifices, by not demanding everything. Can you change it, that you are not completely mine, that I am not completely yours … look upon beautiful Nature and calm your mind about what must be – love demands everything and completely with good reason, that is how it is for me with you, and for you with me – only you forget too easily, that I must live for myself and for you as well, if we were wholly united, you would not feel this as painfully, just as little as I would – my journey was terrible … Esterhazi had … the same problems … now quickly to the interior from the exterior. We will probably see each other soon, only, today I cannot convey to you my observations which I made during these few days about my life … my heart is full with so much to tell you – Oh – There are moments when I feel that language is nothing at all – cheer up – remain my faithful only darling, my everything, as I for you, the rest is up to the Gods, what must be for us and what is in store for us. –

your faithful ludwig –

Monday evening on 6 July – You are suffering, you my dearest creature – only now do I realize … the only days when the mail is delivered to K. – you are suffering – Oh, wherever I am, you are with me, I talk to myself and to you, arrange that I can live with you, what a life!!!! as it is!!!! without you … as much as you love me – I love you even more deeply, but – but never hide yourself from me – Good night … Oh God – so near! so far! Is not our love a true edifice in Heaven – but also as firm as the firmament. –

Good morning on 7 July – while still in bed my thoughts turn towards you my Immortal Beloved, now and then happy, then sad again, waiting whether fate might answer us – I can only live either wholly with you or not at all, yes I have resolved to stray about in the distance, until I can fly into your arms, and send my soul embraced by you into the realm of the Spirits – yes unfortunately it must be – you will compose yourself all the more since you know my faithfulness to you, never can another own my heart, never – never – O God why do I have to separate from someone whom I love so much, and yet my life in Vienna as it is now is a miserable life – Your love makes me at once most happy and most unhappy – at my age I would now need some conformity[,] regularity of my life – can this exist in our relationship? – Angel, … be patient – only through quiet contemplation of our existence can we achieve our purpose to live together – be calm – love me – today – yesterday – What yearning with tears for you – you – you my life – my everything – farewell – oh continue to love me – never misjudge the most faithful heart of your Beloved L.

Forever thine

forever mine

forever us.

(Ludwig van Beethoven, Bohemian spa of Teplitz on 6/7 July 1812, likely never sent)

Inflation

It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to heaven, we were all going direct the other way – in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only.

–Charles Dickens, 1859, regarding the 1775 French adventure with hyperinflation that lead to the Revolution

From the Roman empire, pre-French Revolution, pre-World War II Germany, whenever governments get a taste for printing free money, they send their citizens on an exciting ride called hyperinflation. But of course, that won’t happen this time…

http://research.stlouisfed.org/fred2/graph/fredgraph.png?&id=BASE

The above chart was published by the St. Louis Federal Reserve. Wow, that’s a lot of printing in just two years. To put that in historical perspective, here is the money supply for the past hundred years. That fun little jump at the end, oh let us not concern ourselves with that. We’re only getting started.

St. Louis Federal Reserve Monetary Base 1917-2011

http://www.chartingstocks.net/2009/03/chart-of-the-us-money-supply-1917-2009/

Soon after 1971, when all governments of the world used fiat currency, the temptation to print debt-backed paper money would not be resisted. We are told that inflation today is under control. It is only certain goods whose value is increasing, not the devaluation of the currency. Certain goods like food, energy, housing, and metals. What’s left?

http://crs.org/emergency/global-food-crisis-faq.cfm

The pattern seems to be the same, whether just before the fall of the Roman Empire, pre-French Revolution and seventy years earlier, the Weimar Republic in the 20s before Hitler, Hungary in the 40′s, Chile in the 70s before and during Pinochet’s coup, neighboring Argentina and Peru a decade later, Angola, Yugoslavia, Belarus, and Zimbabwe today, or Greece, Portugal, Ireland, and the United States tomorrow. In the past, governments set price controls. Today we set ‘inflation targets’, print more money to grant loans and bail out banks. We inflate at consistent rates until the debt becomes greater than domestic production and deflation sets in, then devalue fiat currency. Maybe we’ll learn from Iceland and let the banks and their backers fail, but recent history on both sides of the Atlantic tell a tired old story.

Notice, if you will, the 80% drops around 2008, the year the housing bubbles collapsed, M3 money (no longer published in the United States) contracted, and M0 money printing reached over 350% in the United States. In other words, bad money (debt backed fiat) deflated, prices dropped, and the central banks began printing money to bring prices back up. While looking at the identical patterns of these commodity prices, ask yourself, did they all become less valuable, or is the value of fiat (dollars and euros) money itself manipulated?

http://www.mongabay.com/images/commodities/charts/crude_oil.html

Platinum ten year price (notice the exact same 2008 drop)

Palladium 10 years

Rhodium (rare precious noble metal)

Whether because of dwindling supply, higher demand, instability in the middle east, you can’t deny that the price of oil suspiciously matches ‘real money’ namely gold. We are told that the dollar, yen, and euro are not loosing value, only that food, oil, and gold are improving. I suspect Gold did not take as large a hit as other commodities because bankers have be buying up gold as a hedge against fiat collapse.

http://www.goldprice.org/spot-gold.html

Silver 10 year prices drop in 2008

“If the American people ever allow private banks to control the issue of their currency, first by inflation, then by deflation, the banks and corporations that will grow up around them will deprive the people of all property until their children wake up homeless on the continent their Fathers conquered.”

–Thomas Jefferson

http://www.calculatedriskblog.com/2011/06/update-real-house-prices-and-price-to.html

The US housing prices increased 900% since the seventies and increased 100% before crashing almost as low in the past ten years.

Quantitative easing (money printing) is used to avoid deflation or when inflation is below target. Japan has been in a deflationary gridlock for decades. With a 0% interest rate, the central bank can not give money away! The United States has reached the peak of credit. Considering there is more debt (M1, Principal + Interest) than money (Principal), then without producing more debt, the money supply will necessarily collapse. Since the central fractional reserve banking system (Federal Reserve) can not loan more money to people (or countries like China) who don’t want it, the US Fed has recently tripled the amount of dollars in circulation to devalue the currency. Since the Fed can not force producers to create goods that consumers know they can obtain at lower prices later (price deflation), the Fed attempts instead to create a situation whereby consumers accept more debt and recklessly spend in fear that their savings will evaporate (70% devaluation – or 30% of the value tomorrow for money earned today).

Wages are not going up, indeed some people are losing their jobs, record high numbers can not find new jobs and are foreclosing on their homes (deflation) while the prices of basic requirements (food and energy) are going up (inflation).

Since the terms inflation and deflation no longer refer to monetary inflation (printing money) and since necessities such as energy, food, and metal are excluded from official price inflation calculation, one must assume that inflation and deflation today refers to wages. For why else would the Fed announce concerns over deflation, when clearly prices are going up! …at least in markets not propped up by toxic debt (housing).

The sources of deflation are not a mystery. Deflation is in almost all cases a side effect of a collapse of aggregate demand — a drop in spending so severe that producers must cut prices on an ongoing basis in order to find buyers. Likewise, the economic effects of a deflationary episode, for the most part, are similar to those of any other sharp decline in aggregate spending–namely, recession, rising unemployment, and financial stress…

The U.S. government has a technology, called a printing press, that allows it to produce as many dollars as it wishes at essentially no cost… Under a paper-money system, a determined government can always generate higher spending and, hence, positive inflation… a central bank should always be able to generate inflation, even when the short-term nominal interest rate is zero…

The Fed has the authority to buy foreign government debt … this class of assets offers huge scope for Fed operations because the quantity of foreign assets eligible for purchase by the Fed is several times the stock of U.S. government debt…

–Ben Shalom Bernanke, 2002 (Chairman of the Board of Governors of the United States Federal Reserve as of 2006)

http://www.federalreserve.gov/boardDocs/speeches/2002/20021121/default.htm

Germany 1923 Deutsche Mark 1 Billion

Hungary 10 million Pengo

Nicaragua 10 Million

Turkey 5 Million

Yugoslavia 10 Billion