<?xml version='1.0' encoding='utf-8'?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://uellue.de/blog/">
  <title>Uellue's Blog</title>
  <link>http://uellue.de/blog/</link>
  <description>A dummy weblog to show how Beta-Blogger works</description>
  <items>
    <rdf:Seq>
    <rdf:li resource="http://uellue.de/blog/single.php?date=1336634040" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1334578560" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1320156360" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1315165500" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1311844200" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1311705240" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1308641820" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1308038100" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1307914260" />
<rdf:li resource="http://uellue.de/blog/single.php?date=1307914260" />
    </rdf:Seq>
  </items>
</channel>

  <item rdf:about="http://uellue.de/blog/single.php?date=1336634040">
    <title>Libreoffice WTF</title>
    <link>http://uellue.de/blog/single.php?date=1336634040</link>
    <dc:date>2012-05-10T09:14:00+02:00</dc:date>
    <description><![CDATA[<p><a href="http://www.libreoffice.org/">Libreoffice</a> bugged out on me big time (3.5.3.2 350m1(Build:2)). A presentation that I created at my work computer has mangled figures if I open it on my home computer. On exactly the same version of libreoffice! Things breaking when I open a file with a different version or when I have to export as .ppt I can tolerate. But incompatibility between different installations of the same version is beyond my comprehension and strains my patience. Maybe I should give <a href="http://en.wikipedia.org/wiki/Beamer_%28LaTeX%29">LaTeX Beamer</a> another look.</p>

<p>Does MS Powerpoint still do this kind of stuff?</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1334578560">
    <title>Currency backed by gold?</title>
    <link>http://uellue.de/blog/single.php?date=1334578560</link>
    <dc:date>2012-04-16T14:16:00+02:00</dc:date>
    <description><![CDATA[<p>In these economically volatile times with the 2009 financial crisis and the European debt crisis, some people argue that a gold-based currency would be desirable because gold is a "real value", as opposed to pieces of paper with elaborate imprints on them or numbers in a database. But how is gold a value more real than paper money or bank accounts? As such, a piece of gold seems rather useless to me. It can serve as paperweight, blunt weapon or door stopper. I admit that you can make pretty, shiny things out of it, but, lets say, martensitic stainless steel in the shape of a knife is more useful in the daily life. Should we have a currency backed by martensitic stainless steel?</p>

<p>The value of gold, just like paper money, is based on the fact that other people want to have it and that they are willing to trade their work force or posessions for it. The demand for it has always been higher than the production capacity, and mining gold is an expensive and slow process in itself. It is therefore quite suitable as a currency in a primitive society: It's supply is self-limiting and keeps the value of gold at a more or less constant level that is related to it's mining cost. A rising gold price makes gold mining more profitable and increases supply, while a falling gold price discourages mining.</p>

<p>But on the long run and in a growing global economy, a gold-based currency could be fatal for the following reasons:</p>
<ul>
<li>Gold mining and refining is bad for the environment.</li>
<li>Mining gold that is then stored in some safe and "sitting around" wastes all the expenses that went into mining and refining it, because the gold is not doing anything useful. The gold should be used as jewellery or for high-tech products.</li>
<li>The mining cost of gold is not constant. It could decrease because new technology is developed that decreases the minig cost, or new deposits or production methods are discovered. It could increase if existing deposits are exhausted. Both could disrupt the value of gold.</li>
<li>The production of gold cannot be increased quickly, which could lead to a deflation if the world economy outgrows the gold production.</li>
<li>The value of the gold currency would not be under control of central banks, but under the control of mining companies. They would in fact be the new central banks.</li>
<li>Gold is not distributed evenly around the world. It could create a similar dependency like for fossile fuels.</li>
<li>Gold is at the moment and will be in the future subject to speculation. It's value is more volatile than good currencies like US-Dollar or Euro. The value of such currencies is under tight control of powerful and highly developed central banks that stabilize them proactively.</li>
</ul>

<p>There is a good reason for which gold was abandoned as a currency or base of a currency. Gold is not a real value. Real values are the house that you live in, the food that you eat, the tools that you use, the things that you know, and most importantly, the people who you love and who love you. All these don't make a good currency, but definitely a good investment.</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1320156360">
    <title>What is Greece doing?</title>
    <link>http://uellue.de/blog/single.php?date=1320156360</link>
    <dc:date>2011-11-01T15:06:00+01:00</dc:date>
    <description><![CDATA[<p>Just now the Greek prime minister Georgios Papandreou <a href="http://www.huffingtonpost.co.uk/2011/11/01/ftse-100-plunges-on-news-of-greek-bail-out_n_1068948.html">announced</a> that he wants to conduct a referendum if Greece is going to accept the EU financial aid. This came as a surprise to everybody, as just last week the European countries came to a first agreement on the financial aids after a long struggle. The markets are not so fond of Papandreou's move and indices are plummeting as I am writing this. Respecting the will of your population is not a bad thing in itself, but a referendum in such a heated environment with street protests all over in Greece resembles tossing a coin instead of making a rational decision. Papandreou's government will have to inform it's citizens about the implications of their decision, and I hope people will think and decide carefully. My feeling is that the Greek government wants to dodge the responsibility for their bad decisions in the past and later blame the population for whatever decision they take in the referendum.</p>

<p>The options, as I see it, are harsh austerity measures on all fronts in case Greece accepts the aid and stays in the euro zone, or the revival of the drachm and bankruptcy. Both options are at first viable ways out of the situation, and I'll try to analyse what could happen in either case, maybe identifying a preferable solution.</p>

<h3>Staying in the zone</h3>
<p>Four things will be necessary to get out of debt: A debt cut as an incentive to pay back the debt at least partially instead of going bankrupt right away, reducing government spending, increasing government income and improving the efficiency of the Greek economy in order to keep an acceptable standard of living for the population. The debt cut is already agreed on, but the remaining three steps are politically problematic. The main hindrance is a deep-rooted culture of corruption, tax evasion and clientele politics in Greece: Decisions are not made based on what would be better for the country, but what would be better for the decision maker and his friends. Once such a system is fully established, it is hard to remove because the network of corruption includes judges, prosecutors and high government officials who would be the first in line to fight corruption and tax evasion. They will be preoccupied with saving themselves instead of fighting the rot in their own ranks.</p>

<p>The only way here is to fight the corruption from top to bottom. This means that Papandreou will first have to fight corruption in his own government, which may sever him from a lot of important figures that support him. Does he have enough people around him who are loyal to Greece? If not, there's no hope and Papandreou will fall soon.</p>

<p>Fighting corruption, reducing government spending and increasing government income have to be backed up with stimulating the Greek economy in order to fight unemployment and keep an acceptable standard of living for the population. Only the private sector can create income from which to draw taxes and pay salaries to workers. Greece has to attract foreign capital, support export-oriented industries to fight the foreign trade deficit, educate people and train them for jobs that are needed, and also invest into infrastructure &mdash; which is difficult if you up to your neck in debt. Again, improving government efficiency is a key factor because slow and unreliable bureaucracy hand in hand with corruption repel investors and make life hard for domestic companies.</p>

<h3>Leaving the zone</h3>
<p>It would mean that foreign investors can pretty much kiss their money goodbye. Probably (I'm just guessing here) the foreign debts will be converted to drachm at a rate dictated by the Greek government, and the expected gradual depreciation of the drachm with respect to dollar and euro will devalue the debts. This step would therefore be strongly against the interest of any country or institution that lent money to Greece or Greek companies. For me it is still a question how the debts of Greek companies, as opposed to government debts, would be handled.</p>

<p>The diminishing buying power of the drachm can be a chance for Greece: The country becomes more attractive for investors because of lower levels of income, and export-oriented industries and tourism are bolstered by a weak drachm. Problem here is the EU membership, which pretty much forbids tariffs for trade within the EU. It means that the price of many goods in drachm will increase as the exchange rate of the drachm drops relative to the euro. Similar things have happened in north America, where international trade has increased the price of corn in Mexico, hurting the Mexican population.</p>

<p>On top of that, Greece still as a foreign trade deficit, which means that the effect of increased price of imported foreign goods outweighs the benefit for the own export-oriented industries. And, again, it is the private sector that ultimately creates value in an economy, and a strong private sector needs an efficient and reliable administration as well as good infrastructure and educated workers.</p>

<p>The reduced international debts will only provide a short-term relief if the deficit remains: Taking new foreign debts will be much more expensive, and "printing drachms" just lets the value of the drachm spiral down into a deep inflation.</p>

<h3>Conclusion</h3>

<p>In summary, reintroducing the drachm is not going to solve any problems. Such a step may be beneficial in some situations, but in case of Greece with it's foreign trade deficit and continuing accumulation of debts it only makes the situation worse. The way out of the crisis is the same in any case: Fighting corruption and tax evasion, making the administration more efficient, and stimulating the economy. Money for military and "presents" to diverse interest groups should be diverted into education and infrastructure. And Greece has to become a reliable partner for foreign investors and other EU countries to ensure support during this time of crisis.</p>

<p>Papandreou's move is therefore clearly in his own interest by putting the responsibility for any kind of measures to the voters and not to him and his government. He also seeks to win time, probably trying to save him and his buddies from the bloodbath in the awaiting fight against corruption and tax evasion. But at the same time he's gambling with his country's future, as leaving the euro zone is definitely not a good option for Greece. Instead, he is hurting the relations to other EU countries and also private investors, destroying any trust into the willingness of the current administration to take the necessary measures.</p>

<p>The debts to Greece are lost at least partially in any case, and a debt cut along with financial aid and political pressure to solve the domestic problems are probably the best way to recover at least some of the loans to Greece and Greek companies. The damage to other EU countries and companies could be severe on the short run if Greece reintroduces the drachm because of writing off the debts of Greece, but the strong economic position of other EU countries would soon allow them to recover. If other countries like Italy, Portugal, Spain or Ireland however follow the path of Greece it would severely weaken the EU. I believe that sticking together and helping out each other is in the interest of all European countries.</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1315165500">
    <title>Numpy makes your python math 10x faster</title>
    <link>http://uellue.de/blog/single.php?date=1315165500</link>
    <dc:date>2011-09-04T21:45:00+02:00</dc:date>
    <description><![CDATA[<p>As an exercise in parallel number crunching with python and <a href="http://numpy.scipy.org/">numpy</a>, I wrote a <a href="http://shootout.alioth.debian.org/u64q/program.php?test=mandelbrot&amp;lang=python3&amp;id=6">program</a> for the <a href="http://shootout.alioth.debian.org/">computer language benchmark game</a>. It is more than 10x faster than the python <a href="http://shootout.alioth.debian.org/u64q/benchmark.php?test=mandelbrot&amp;lang=python3">runner-up</a> without numpy and plays already in the league of compiled languages. The speedup comes solely from the high-level vector math functions of numpy.</p>
<p>As a remark: The program was disqualified from the competition but is shown anyway. I don't exactly understand why. Well, I also don't really feel like asking the admin Isaac Gouy, as he seems to be a bit <a href="http://article.gmane.org/gmane.comp.python.numeric.general/45910/match=">tense</a> about the subject.</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1311844200">
    <title>Two-column float gets stuck with revtex</title>
    <link>http://uellue.de/blog/single.php?date=1311844200</link>
    <dc:date>2011-07-28T11:10:00+02:00</dc:date>
    <description><![CDATA[When preparing a manuscript with revtex (<code>documentclass[aip,apl,amsmath,amssymb,reprint]{revtex4-1}</code>), I ran into a problem: A two-column float with the <code>figure*</code> environment got stuck and ended up at the end of the document. The solution was trivial: Remove all placing hints for the float, instead of <code>\begin{figure*}[h]</code> use just <code>\begin{figure*}</code>!
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1311705240">
    <title>C and C++ vs. interpreted languages like Python</title>
    <link>http://uellue.de/blog/single.php?date=1311705240</link>
    <dc:date>2011-07-26T20:34:00+02:00</dc:date>
    <description><![CDATA[<p>Check out these articles!</p>

<ul>
<li>A Guide to Undefined Behavior in C and C++, <a href="http://blog.regehr.org/archives/213">Part 1</a>, <a href="http://blog.regehr.org/archives/226">Part 2</a>, <a href="http://blog.regehr.org/archives/232">Part 3</a></li>
<li>What Every C Programmer Should Know About Undefined Behavior,  <a href="http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html">Part 1</a>, <a href="http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_14.html">Part 2</a>, <a href="http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_21.html">Part 3</a></li>
</ul>

<p>A high-level summary: The C and C++ standards are defined in such a way that the result of many operations is undefined if it would require additional checks to make it defined on all platforms. This includes dereferencing invalid pointers, signed integer overflows and shifting beyond bit boundaries. The compiler has lots of room to rearrange or drop code which consequently leads to a fast program. On the down side, it can lead to unexpected and unsafe behavior in many cases. Informing the user about all cases where the code could possibly be unsafe would be either too noisy with tons of false positives or contain too many false negatives.</p>

<p>It seem that such errors are kind of unavoidable in large codebases because only geniuses can figure out what exactly is going on and the bytecode that optimizing compilers generate has little resemblance of the corresponding source code because of loop unrolling, inlining and so on.</p>

<p>A language like <a href="http://python.org">Python</a> looks to me like a very good solution: The programming language has many high-level functions and libraries with completely defined behavior, and the average programmer does not have to worry about undefined behavior. These high-level functions are implemented as highly efficient and thoroughly tested C routines. The interpreter will then, in an ideal case, spend a significant amount of time in these optimized functions (say, for example, multiplying <a href="http://numpy.scipy.org/">numpy</a> matrices) which reduces the overhead from permanent bounds checking and so on. For the interpreted language it is critical that moving parts of the code to C is easy, for example by allowing calls to libraries (example: <a href="http://docs.python.org/library/ctypes.html">ctypes</a>) or implementing subroutines in C (<a href="http://docs.python.org/extending/extending.html">example</a>). C is in those cases only used to speed up the performance bottlenecks or access existing routines.</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1308641820">
    <title>Another layer of abstraction</title>
    <link>http://uellue.de/blog/single.php?date=1308641820</link>
    <dc:date>2011-06-21T09:37:00+02:00</dc:date>
    <description><![CDATA[<p>Apparently Microsoft wants people to <a href="http://www.extremetech.com/internet/85828-mozilla-where-is-firefox-os/2">write applications for Windows 8 in HTML and JavaScript</a>. And many people like that idea. Now I am wondering how that makes sense. I already don't understand why Android, for example, uses Java instead of native code for applications, because especially on smartphones it would be important to get as much as possible out of the scarce hardware resources, right?</p>

<p>Well, I am using Python instead of C++ for my own applications, although they really need a lot of computing power. I believe it makes sense because I am using Python mainly to glue together a bunch of different libraries which are often written in a compiled language, so that the really speed-sensitive parts run as native code, like drawing the UI and doing hardcore math. Having less headache during development and more compact code does hopefully compensate for the speed penalty of the program, but only because I am the only user of it so that the development time has the same weight as the waiting time when using the program.</p>

<p>But how does that figure for applications used by many users, like for example text processing? MS Office and LibreOffice feel quite sluggish to me, especially when loading huge documents with big images. Is that because of I/O or because of processor cycles being used inside the program? What about PDF readers and the like? One should see how much processor cycles are actually used by, say, a mail client compared to an AJAX webmail interface running in a browser. Maybe it even makes sense to write a text processor in HTML + JavaScript, because browsers are pretty good at drawing text, images and lately vector graphics on the screen, so perhaps even UI libraries like QT, GTK and the likes are kind of obsolete. </p>

<p>What do you think? Do browsers make a fair runtime environment for desktop applications or even more specialized software?</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1308038100">
    <title>Large-Scale Patterning of Gold Nanopillars in a Porous Anodic Alumina Template by Replicating Gold Structures on a Titanium Barrier </title>
    <link>http://uellue.de/blog/single.php?date=1308038100</link>
    <dc:date>2011-06-14T09:55:00+02:00</dc:date>
    <description><![CDATA[<p>Just wanted to link the article that came out as a result of my Diplom thesis:</p>

<em>Weber, Dieter; Mourzina, Yulia; Brüggemann, Dorothea; Offenhäusser, Andreas:</em><br>
<a href="http://dx.doi.org/10.1166/jnn.2011.3110">Large-Scale Patterning of Gold Nanopillars in a Porous Anodic Alumina Template by Replicating Gold Structures on a Titanium Barrier</a>

<p>Gold nanopillars are grown in patterns inside a porous anodic alumina template. On selected positions, defined by a gold "seed" pattern, gold is electroplated into the pores, while a barrier layer underneath the porous template blocks the deposition on the rest of the surface. Large-scale arrays of free-standing nanopillar islands are obtained after selective etching of the alumina template.</p>

<p>Yay!</p>
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1307914260">
    <title>Unity, Gnome 3, Gnome 2, KDE 4?</title>
    <link>http://uellue.de/blog/single.php?date=1307914260</link>
    <dc:date>2011-06-12T23:31:00+02:00</dc:date>
    <description><![CDATA[It so happens that I tried out the two new and controversial (hehe) desktops recently: Unity on Ubuntu 11.04, Gnome 3 on Fedora 15. Well, a lot of things are said about these two desktops, and as far as I could see most is true from one point of view or the other. So I won't add much. Just that I switched to Gnome 2 on Ubuntu and KDE on Fedora...
]]></description>
  </item>
    <item rdf:about="http://uellue.de/blog/single.php?date=1307914260">
    <title>Unity, Gnome 3, Gnome 2, KDE 4?</title>
    <link>http://uellue.de/blog/single.php?date=1307914260</link>
    <dc:date>2011-06-12T23:31:00+02:00</dc:date>
    <description><![CDATA[It so happens that I tried out the two new and controversial (hehe) desktops recently: Unity on Ubuntu 11.04, Gnome 3 on Fedora 15. Well, a lot of things are said about these two desktops, and as far as I could see most is true from one point of view or the other. So I won't add much. Just that I switched to Gnome 2 on Ubuntu and KDE on Fedora...
]]></description>
  </item>
  </rdf:RDF>

