<?xml version="1.0" encoding="iso-8859-15"?>
<!-- name="generator" content="pyblosxom/1.4.3 01/10/2008" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>The Last Outpost   </title>
<link>http://vmlinux.org/jocke/blog</link>
<description>Freedom of thought, mind and will</description>
<language>en</language>
<item>
  <title>The joy of colors</title>
  <link>http://vmlinux.org/jocke/blog/unix/vim-colors.html</link>
  <description><![CDATA[

Ever so often, as I have mentioned before, I lose myself in trying to
find new ways of working and doing my daily tasks, one such digression
is the topic of editors.  I mainly use GNU Emacs for development and
other major tasks, for everything else I use vim.  

<p> Vim is quick to start, capable, good looking and easy to use,
contrary to other vi implementations. (Most notably nvi, which I hate
with a passion!)  Today I found a neat colorscheme that works well on
terminals with a black background.  It's called 'advantage' and is
available from the <a
href="http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/">Vim Color
Scheme Test</a>.

<p> To install it you simply download <tt>advantage.vim</tt> and copy
it to your <tt>/usr/share/vim/vim71/colors/</tt> directory.  Then you
open your current C source in vim and type <tt>:colorscheme
advantage</tt>.

<p> Thank you <a href="http://www.cs.cmu.edu/~maverick/">Shan Leung
Maverick Woo</a>! :-)


]]></description>
</item>

<item>
  <title>Minix editline v0.2.2</title>
  <link>http://vmlinux.org/jocke/blog/hacks/minix-editline-0.2.2.html</link>
  <description><![CDATA[

Oups!  It seems I forgot to announce the v0.2.2 release of the Minix
editline library.  It was made official in Bazaar over a month ago,
2008-10-02, but it was not until today that the tarball was created
and uploaded to the FTP.

<p> The most noteworthy in this release is support for command
completion with the addition of <tt>rl_complete()</tt> and
<tt>rl_list_possib()</tt>.  Two function pointers that easily can be
overloaded by the user.  See the examples section of the tree for
example usage.

<p> Get it from the usual FTP location:

<ul> <a
href="http://ftp.vmlinux.org/pub/People/jocke/minix-editline/">http://ftp.vmlinux.org/pub/People/jocke/minix-editline/</a>
</ul>


]]></description>
</item>

<item>
  <title>Ubuntu 8.10rc1 - NetworkManager WTF?!</title>
  <link>http://vmlinux.org/jocke/blog/ubuntu/rc-hell.html</link>
  <description><![CDATA[

I tried upgrading from Hardy Heron to Intrepid Ibex this weekend.  Big mistake.  If I
disregard the total dpkg meltdown that I, as usually, had to resolve manually
there still remains this recurring madness called Network Manager.

<p> I'm an engineer.  I have a masters degree in computer engineering.  I have worked
professionally with GNU/Linux since 2000 and been a die hard user of it since I left
OS/2 behind in 1996.  But come on!  Why does it take a software engineer to perform a
simple upgrade?  Even worse, why do I have to be a network engineering specialist to
figure out why simple wired ethernet doesn't work out of the box?

<p> Network Manager fails completely to:
<ol>
	<li> Select wired network over an open Telia hotspot
	<li> Distinguish between my primary and secondary wired interfaces
	<li> Completely loses my /etc/resolv.conf all the time
</ol>

<p> Sorry, but that is completely inexcusable!  <a
href="http://www.gnome.org/projects/NetworkManager/">Network Manager</a>, you suck!
"Pain-Free Networking", my ass! :-P



]]></description>
</item>

<item>
  <title>Cross Compiler Fuu</title>
  <link>http://vmlinux.org/jocke/blog/embedded/crosscompiler.html</link>
  <description><![CDATA[

There is a certain magic surrounding cross compilers and the people that know how to
build one.  Not unlike that of (Linux/BSD) kernel developers.  At work we today
support two embedded Linux targets, both are ARM based, and in neither of the two
have we built the cross compiler ourselves.  The first was ye' old 2.95 based from
<a href="http://www.uclinux.org">uClinux.org</a> and the second we had a consultant
build for us.  Lame!

<p> Ever since I was appointed software architect I've had this nagging sensation
about our cross-compiler situation.  We do everything else: roll our own archs for
Linux, patch BusyBox, design our own L2/L3 network daemons, and what-not.  Very
annoying that we have such poor control of the mantle piece of our build environment.

<p> Sure, it's almost indistinguishable from magic, but it's not hard.  There are
fine helpers such as <a href="http://buildroot.uclibc.org">buildroot</a>, ptxdist and
the aging crosstool scripts by Dan Kegel.  I used to do some work with Dan's scripts
in a couple of previous jobs, so it was a pleasant surprise to find that the project
had found a new maintainer!

<p> I can highly recommend the <a
href="http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool">crosstool-ng</a>
project!  It makes building a toolchain really easy.  In a snap had I copied our
uClibc .config into the work dir of my configuration, issued the "build" command and
wham, there it was a coffee break later.  A working GCC v4.2.4 cross compiler for Arm
Xscale (big-endian) with built-in uClibc (no more glibc madness and separate uClibc
builds in our tree), not to mention an all you can eat buffe of extra tools for the
target: strace, gdb & gdbserver, libdmalloc, ncurses... crazy.

<p> I'll start rolling it out on monday in our department and keep close tabs on the
development of crosstool-ng to be able to grab the latest 4.3.2, or later GCC when it
enters the ct-ng Subversion repository.





]]></description>
</item>

<item>
  <title>Moving to ISC</title>
  <link>http://vmlinux.org/jocke/blog/philosophy/free-software-license.html</link>
  <description><![CDATA[

<p> I hereby announce that all of the code I produce from now on will use the <a
href="http://en.wikipedia.org/wiki/ISC_license">ISC license</a>.  Previously I've
used the <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> and the
GNU GPL, or LGPL where applicable.

<p> The reason for changing this is two-fold.  First, I like to be able to reuse much
of what I do in proprietary settings.  Yes, I'm one of those people who look upon the
world with "grey" eyes rather than black &amp; white.  Second, the ISC license is a lot
more clear on the wording but is still GPL compatible.


]]></description>
</item>

<item>
  <title>Link Collection w31 2008</title>
  <link>http://vmlinux.org/jocke/blog/misc/links-2008-07-30.html</link>
  <description><![CDATA[

<p> George Dyson, son of legendary <a
  href="http://en.wikipedia.org/wiki/Freeman_Dyson">Freeman Dyson</a>, talks about <a
  href="http://www.ted.com/index.php/talks/george_dyson_at_the_birth_of_the_computer.html">the
  first computer</a>, the first software bugs (both physical and logical) and the
  initial struggles of hackers.  Fun history lesson for computer engineers and
  programmers alike.  (Now, go crawl the web for "Dyson Sphere" and "Star Trek"! :-)

<p> Is Ubuntu 8.04 really that buggy as everyone suggest?  My guess is that we've
  reached a breaking point where beginner users (< 1 year) are starting to outnumber
  the older <em>"hard core"</em> users.  Or have the top 20% moved on to other
  distros?  <a href="http://xkcd.com/456/">Even XKCD has picked up on it...</a>

<p> <a href="http://www.gnome.org/~michael/">Michael Meeks</a> of Novell was
  interviewed recently by the Austrian paper <a
  href="http://derstandard.at/?url=/?id=1216917892794">derStandard.at</a>, and one of
  the things he mentioned was the <a href="http://go-oo.org/discover/">OpenOffice
  fork</a> they maintain, very interesting new features, not (yet) included in
  OpenOffice.org, e.g. .docx and VBA support!

<p> A couple of days ago I managed to convince <a href="/mwik/">a friend</a> of mine
  to try running bleeding edge GNU Emacs from CVS.  He almost gave up, kicking and
  screaming, due to his Bitstream Vera fonts becoming totally screwed up compared to
  <a href="http://peadrop.com/blog/category/computers/emacs/">Alexandre Vassalottis
  snapshot build</a> from January.  It turned out to be caused by the Emacs font
  back-end <a
  href="http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg01224.html">defaulting
  to the old X font renderer</a> rather than the new XFT one.

<p> Here is <a href="/jocke/myblog/entries/misc/my.Xresources">my ~/.Xresources</a> file that seems to fix the
  problem.  Run <tt>xrdb -merge ~/.Xresources</tt> to merge in the new settings without
  logging out/in again:

<p> The <a href="http://www.canonical.com">Canonical</a> <a
  href="http://www.sf.net">SourceForge</a> equivalent, <a
  href="http://www.launchpad.net">Launchpad</a>, is slowly turning into something
  really cool.  Take <a href="https://launchpad.net/+tour/index">the tour</a> if you
  are curious and want to know more.
  
<p> I cannot believe I haven't heard of <a href="http://www.pastebin.com">pastebin</a>
  before.  Thanks <a href="http://kalkig.nu">Rooth</a>!

<p> My <a href="http://vmlinux.org/ilse/">dear wife</a> is a <a
  href="http://www.nano-editor.org/">GNU Nano</a> user.  Here are a <a
  href="http://nullcortex.com/2008/07/28/nano-nano/">couple of tips</a> for her, and
  other die-hard Nano users.

<p> Are you an electronics or computer engineer?  Then you've probably had trouble
  explaining boolean logic to
  people. <a href="http://www.youtube.com/watch?v=SudixyugiX4">This dude explains it
    all using dominoes</a>.

<p> Finishing off with this, unbeatable, hardware hacker.  He's transformed his <a
  href="http://en.wikipedia.org/wiki/ASUS_Eee_PC">EeePC</a> into a veritable monster!
  See his guide to <a
  href="http://beta.ivancover.com/wiki/index.php/Eee_PC_Internal_Upgrades">the most
  basic changes necessary...</a>




]]></description>
</item>

<item>
  <title>HowTo build GNU Emacs from CVS</title>
  <link>http://vmlinux.org/jocke/blog/emacs/building-from-cvs.html</link>
  <description><![CDATA[

Why would you want to do this?  Well, considering all the <a
href="http://blog.orebokech.com/2008/07/emacs-snapshot-20080727-1.html">neat
new things</a> that have been added lately it should be tempting for
any old Emacs fan.

<p> The <a href="http://www.emacswiki.org">Emacs Wiki</a> has all the info
you need, but here is a quick run-down of the bare necessities:

<ol>
  <li> <a
  href="http://www.emacswiki.org/cgi-bin/emacs-en/EmacsFromCVS">Check
  out your working copy of the source</a>: <tt>cvs -z3
  -d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs co emacs</tt>
  <li> <tt>cd emacs/</tt>
  <li> <tt>./configure</tt>
  <li> <tt>make bootstrap</tt>
  <li> Done!
</ol>

<p> Start with <tt>./src/emacs</tt> or symlink the binary to your
<tt>~/bin/</tt> directory.  I.e., you don't have to run <tt>make
install</tt> to use it.

<p> Users of emacsclient should symlink that to their <tt>~/bin</tt>
as well.  

<p> The above assumes; a) that you have the appropriate -dev packages
installed in Debian/Ubuntu, and b) that your <tt>.bashrc</tt> does
indeed add <tt>~/bin</tt> to your search <tt>PATH</tt> environment
variable. 

]]></description>
</item>

<item>
  <title>More Emacs Progress!</title>
  <link>http://vmlinux.org/jocke/blog/emacs/emacs-progress.html</link>
  <description><![CDATA[

Wow, I'm almost starting to feel like a Windows user.  The latest
builds of <a href="http://www.gnu.org/software/emacs/">GNU Emacs</a>
has a lot of new features:
<ul>
	<li> XFT Support (anti-aliasing)
	<li> Better GTK integration (desktop)
	<li> A font selector!
</ul>

<div align="center">
<p> <a href="/jocke/myblog/entries/emacs/screenshot-2008-07-22.png">
<img align="center" src="/jocke/myblog/entries/emacs/screenshot-2008-07-22.jpg"></a>

<p> Here's a screen shot of my main editor window in Ubuntu 8.10.
</div>

<div align="center">
<p> <a href="/jocke/myblog/entries/emacs/screenshot-debugger-2008-07-22.png"><img width="400" height="240" src="/jocke/myblog/entries/emacs/screenshot-debugger-2008-07-22.jpg"></a>

<p> Here is another, debugging a program.
</div>

<p> I think it is quite impressive how far this little editor has
come.  OK, so it is perhaps not just an editor anymore.  Some people
claim it is a fully sufficient operating system and other refer to it
as a kitchen sink.  Nevertheless, today you do not need to know any
Lisp to configure it or grab the scroll bar with the middle mouse
button or any other archaic method to get around.

<p> Still interested?  Be sure to <a
href="http://www.gnu.org/software/emacs/tour/">take the tour</a> and
then proceed to explore the wonderful world of Emacs.

]]></description>
</item>

<item>
  <title>No Wireless LED on ThinkPad T61</title>
  <link>http://vmlinux.org/jocke/blog/ubuntu/thinkpad-t61-no-wireless-led.html</link>
  <description><![CDATA[

I've got a ThinkPad T61 with Intel iwl3945 wireless chipset that I
installed fresh with Ubuntu 8.04.  Everything worked flawlessly
out-of-the-box, except for the useless fingerprint scanner and the
wireless LED.  Don't get me wrong, the wireless network worked fine,
but the LED wasn't on.

<p> At first I thought there was something wrong with the LED itself,
but a couple of searches later I found that it was a known limitation
of the 2.6.24 kernel included in 8.04.  A driver upgrade was scheduled
for 8.04.1 and after a couple of months it was shipped.  Silly me
thought I'd get the upgrade automatically, but it turns out that both
the iwl3945 and the iwl4965, as well as a bunch of other wireless
drivers, are tucked away in <a
href="apt://linux-backports-modules-hardy">linux-backports-modules-hardy</a>,
which will not be installed by default.

<p>So, if you have some wireless issues in Ubuntu 8.04, try installing
this (meta) package (that depends on a suitable version specific
kernel) and see if it helps.



]]></description>
</item>

<item>
  <title>Suddenly Compiz is not Working Anymore...</title>
  <link>http://vmlinux.org/jocke/blog/ubuntu/compiz-stopped-working.html</link>
  <description><![CDATA[

So weird.  I usually rearrange my desktop every two weeks, often when
I am bored.  Sometimes I want a quick lean, smallish desktop and other
times I want the whole shebang, all possible animations, SVG icons,
mouse gestures &mdash; you name it and I will already have tons of it!

<p> Today I wanted to enable Compiz again and it just wouldn't start.
After a couple of tries that turned out to be dead ends I finally got
this:

<pre>
/usr/bin/compiz.real (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0" 
</pre>

<p> Some more digging around Google gave me the answer: <a
href="https://bugs.launchpad.net/ubuntu/+source/control-center/+bug/231904">Metacity
and Compiz fight to be "compositing manager"</a> ...

<p> ...as soon as I disabled
/apps/metacity/general/compositing_manager I could enable Compiz again!



]]></description>
</item>

</channel>
</rss>
