Archive for October, 2009
Links and morse or what creole and markdown failed to do

It seems that all the simplified syntaxes for writing html out there fail to consider eficiency. They seem to consider blindly only usability. One of the relevant syntax example is the link. Both markdown and creoele (the syntax for wikipedia like wiki), fail to provide the simplest form for link that is [this is a link] or [http://mobiphil.com]. One of the mos frequent syntax elements on html pages are the links itself, so why should we not allocate that syntax element ([this is i link]) for that. Creole wants to force me to use double “[", that is [[this is a link]], markdown even more complicated syntax [name][http://this is a link].

Again I would preffer the creole way, but with one “[”. There were excuses that “[” is used alone. My answer is do it as it is done in computing for ages. Invent an escape character, that can be easily “\” and use “\[” if you want a “[”

supercat the super tool

I think nobody doubts that watching a colorized text file helps finding information a lot. I was using vim for that purpose, but often opening huge files is not very productive. I am using sometimes http://supercat.nosredna.net/, however I am always dissapointed that I do not file syntax config files for all output types. For example, often I examine the ouput of strace, but I never had time to write a config file for it nor I found any on internet, so … wait to load it in vim…

windows mobile api reference

http://msdn.microsoft.com/en-us/library/bb158486.aspx

voip on windows mobile

this is for now an incomplete post. By looking for net VOIP software for windows XP, I found new ones for windows mobile. I am listing them so that I do not loose the links

console email tools

email has to go console. Linux powerfull tools are needed to process them faster, to find old emails etc. So far I started to use intensivelly the following tools:

  • mbsync (will have a look also at offlineimap as alternative) for synchronising imap with maildir
  • mutt for reading email. I tried pine earlier, but mutt is much much better
  • tagging??? since I learned the tagging of gmail, I find it very powerfull. I wish mutt would implement that. Unfortunatelly, gmail imap does not seem to share the tagging information on the imap interface. Maybe one day they will add the X-Label tag to the emails. Mutt can process the X-Label see this article.  So far I found people with similar problems/wishes:
    link1, link2
  • listing of tools for maildir: http://www.qmail.org/top.html#maildir
  • this link contains an overview of available mail tools for linux
ctags vs. csope vs. mkid (id tools) speed

simple measurement of indexing a code base of a total of 3471527 lines  10477733 words 114906510 charaters in 9478 files (mixed c++ and C, but mainly C++)

* cscope: 63 s

* ctags: 55 s

* mkid: 36 s

id utils mkid with tons of files

there are old but gold tools out there. So are the id utils. I wanted to give a try already for longer, but one of the handicaps of the tool, that you cannot specify a large number of files.

Enough from complaining, fixed it, added a new option -L listname, where listaname contains a list of filename separated by newline. The tool now will read this file and generate the id database for all files.

Here is the patch, good luck! mkidmobiphilpatch

neomagic kdrive

When trying to understand why the xorg sources on the recent ubuntu distro do not contain the tiny neomagic xserver, it turned out, that somewhere in the source code repository of freedesktop the secret lies. By doing a query:

http://cgit.freedesktop.org/xorg/xserver/log/?qt=grep&q=neo

The following occurrences come up:

2008-11-24 Avoid overflow in PictureTransformPoint. Fix PictureTransformIsIdentity. Keith Packard 2 -41/+22
2008-11-04 XKB: Fix thinko, causing warning (erroneously fixed in 5544c51447) Daniel Stone 1 -1/+1
2007-10-03 dix: ignore passive grab if the client already has a grab on the device. Peter Hutterer 1 -0/+29
2007-10-02 mi: switch core keyboard on XI events, not only on core events. Peter Hutterer 1 -4/+6
2007-09-02 Remove backend.[ch] from neomagic to fix distcheck. Eric Anholt 1 -2/+0
2007-08-29 Bug #9629: Remove badly-licensed neomagic kdrive files. Eric Anholt 3 -157/+1
2007-05-29 Miscellaneous fixes for S/390. Gerhard Tonn 1 -1/+9
2006-10-24 miscellaneous warning fixes Daniel Stone 2 -2/+5
2006-10-22 kdrive/neomagic: include vesa.h, use DebugF Daniel Stone 1 -6/+2
2006-08-07 ephyr: cleanup Daniel Stone 1 -1/+0
2006-07-21 remove extraneous font debugging code Daniel Stone 1 -56/+0
2006-07-21 fix KdXvCopyPackedData to actually work Daniel Stone 1 -1/+1
2006-06-19 Another round of loader sense-beating. Remove the (unused) server export Adam Jackson 19 -3050/+79
2006-06-05 Ensure all *ModuleData symbols are marked _X_EXPORT. Start removing Adam Jackson 40 -201/+106
2006-02-02 Rearrange and rename EXA code to be a bit more logically organized. Also Eric Anholt 21 -8284/+113
2004-06-07 Neomagic driver enabled Franco Catrin L 1 -1/+1
2004-04-03 added touchscreen support, detect all known PCI chips in the Neomagic line. Brent Cook 3 -6/+66
2003-12-29 Merge dri-0-1-branch to trunk. Notable changes: Eric Anholt 22 -445/+3877
2003-10-15 various Split out pixmap allocation debug statements Fix bogus offscreen Keith Packard 5 -17/+15
2002-09-16 319. Moved LdPreLib define after the vendor/OS specific config files as it Egbert Eich 1 -3/+7
2001-06-29 Rework kdrive input fd handling, enable multiple simultaneous mice Keith Packard 6 -148/+185
2001-02-13 144. Fix the neomagic driver so that it saves/restores the palette (#4452,refs/tags/xf-4_0_99_1 David Dawes 1 -2/+2

Somewhere on 2007-09-02, Eric Anhot removed the backend, due to some licensing issues.The comments are the following:

“Licensing issues of these files include: - They claim to be licensed under the GPL, yet we haven’t allowed that in the xserver repository in the past. - They refer the user to the top of the tree for GPL license text, yet it isn’t there. - They claim to be derived from the (MIT-licensed) ati kdrive code, yet don’t follow the licensing terms of those files.”

So a nice peace of software disappeared. Luckily I could recover from the git history a working version. I wonder if the issue could have not been resolved another way…

It seems that other drivers were removed… So owners of old laptops… you get less and less chance to use them… I think big brother is watching the market and is removing drivers so that you buy those new laptops…

If you would need however the drivers this is the last version that contain them:

http://cgit.freedesktop.org/xorg/xserver/snapshot/xserver-78d01d1008973899d931ef44b47d5f0b5f220b0d.tar.gz