Small index of commands useful for combining in pipelines:
- ls - list directory contents
- cp - copy files and directories
- mv - move (rename) files
- rm - remove files or directories
- find - search for files in a directory hierarchy
- cat - concatenate files and print on the standard output
- more - file perusal filter for crt viewing
- less - opposite of more (quit with 'q')
- cd - Change the current directory to DIR. (use "help cd" instead of "man cd")
- mkdir - make directories
- rmdir - remove empty directories
Problems found during the lesson:
- grep, egrep, fgrep, rgrep - print lines matching a pattern
- tail - output the last part of files
- head - output the first part of files
- sort - sort lines of text files
- uniq - report or omit repeated lines
- sed - stream editor
- wc - print the number of newlines, words, and bytes in files
Lots of bugs to report when I come home: from here it'll take ages, and lots of money on the hotel internet connection, and some are Ubuntu-specific so I'd need to do everything online with Malone. As usual, teaching is one of the best ways to find bugs. I propose an Etch training session a month before release. Other things to do:
You set the system default locale to Amharic, and the gdm login will be in Amharic input mode. We didn't find out how to switch it back to input roman characters. Right click on the input field to set the input method doesn't work. Since usernames are not in Amharic, you're locked out.
So you CTRL+ALT+F1, login and try dpkg-reconfigure locales. On Ubuntu Dapper, it does not work anymore.
So you dig and dig and dig and finally find that you can force a locale in /etc/default/gdm (but not in /etc/gdm/locale.conf, nor in /etc/gdm/gdm.conf).
Then the internet works for a bit and you look up how to reconfigure locales in Ubuntu. Turns out you have to use localeconf, which is not installed by default, is not in universe and thus not on the CDs, and needs to be downloaded from the Internet.
The Ubuntu wiki is all on https, which defeats any attempt of proxy caching.
An Internet proxy needs to be configured 3 times: in Gnome, in Firefox and in Synaptic (well, apt). This is especially tricky when you forgot to setup the proxy in Synaptic and seemingly unrelated applications fail, like the Ubuntu language selector, which internally invokes the package manager to download missing langpacks.
Some short descriptions in the NAME section of manpages are hard to understand, or wrong. Noted on apt-get, apt-cache and less. Top prize goes to apt-cache:
NAME apt-cache - APT package handling utility -- cache manipulator DESCRIPTION [...] apt-cache does not manipulate the state of the system but does provide operations to search and generate interesting output from the package metadata. [...]So apt-cache is a manipulator that doesn't manipulate. A possible improvement can be "query the APT package cache".The language selector in Ubuntu Breezy doesn't really exit and keeps the package database locked. This seems to be fixed in Dapper, and probably had been fixed in some Breezy update. System updates here are a problem: my Dapper (with some Universe things in it) wanted to download more than 120Mb of data, and the Uni network was giving me 14Kbps. It's been a nice opportunity to teach about fuser -uva and kill.
dict, squid and many other packages from 'main' are not on the normal Ubuntu CDs: is there an easy way to build a CD with them? Or do Ubuntu CDs with extra packages already exist? I'll have to find out.
cupsys has documentation outside of /usr/share/doc, in /usr/share/cups/doc-root.
man works on all commands, except cd, which is an internal shell command and thus needs help instead of man. I should remember to ponder about autogenerating manpages from help output.
Is there an index-like manpage with a list of the core Unix commands and their short descriptions? It there's not, it's easy to generate:
#!/bin/sh DIR=$ 1:-"/bin" ( find $DIR while read FILE do if [ -x $FILE ] && ! [ -d $FILE ] then LANG=C COLUMNS=2000 man basename $FILE \ grep ^SYNOPSIS -B 100 grep ^NAME -A 100 \ tail -n +2 head -n +2 \ grep -v '^[ \t]*$' fi done ) sort uniq sed 's/^ \+//'Try running it on /bin and /sbin: it's great!. Also, since it doesn't redirect stderr, it nicely exposes a number of manpage problems.
When Justice Sosman discussed who else could be applying for marriage after May if the decision is allowed to stand, she had to include the “buzz” words that Marshall and other judges and lawyers use to intimidate everyone else — even including most lawyers who know nothing about this arcane language.The “arcane” language the article refers to are the standard terms of art in equal protection law: suspect classification, scrict scrutiny, rational basis, etc.. (See this wikipedia article). Any first year law student should be quite familiar with this sort of discourse. (See my class notes from my first year constitutional law course and search for strict scrutiny or suspect classification). “Most lawyers” know nothing about this “arcane” language? Similarly — the following apparently forms the basis of the writer’s claim that Justice Marshall does not have the intelligence necessary to be the Chief Justice of the state’s Supreme Judicial Court:
Justice Marshall was incapable of answering Justice Sosman. She felt it necessary to insert an unusual footnote to say she was unable to understand or to answer Sosman’s erudite critique. “In any event, we fail to understand why the separate opinion [of Justice Sosman] chastises us for adopting the constitutional test (rational basis) …”“Failing to understand” in a court opinion (or brief) does not mean “we’re just not smart enough to get it.” It is a standard idiom used to criticize another position as lacking support. It is far from unusual to make that sort of statement in a footnote. It is generally a sign that the point being criticized is so weak that it does not merit full treatment in the main text of the decision. In any event, I’m happy to see the anti-gay marriage movement leadership so totally marginalized. In a few years, I expect we will wonder what all the fuss was about.
Much that I bound I could not free Much that I freed returned to me (I didn't manage to transcribe the attribution)And this one for Bubulle, about translation:
When you speak to me in my language you speak to my heart when you speak to me in English you speak to my head (sb.)Incomplete list of questions I've been asked, in bogosort -n order:
I'm happy to find that we've been successful in building more and more good answers for these questions.
- How do I get support?
- Are the configuration files always the same accross different distributions?
- What is the level of interoperatibility between the various Linux distributions? And between different Unix-like systems?
- Does plug and play work well when I change hardware?
- Can I access NTFS partitions?
- How do I play multimedia files in restricted formats?
- I heard that NFS has security problems: can it be secured, or are there other file sharing alternatives?
- Can I access a desktop remotely?
- Can I install Linux on a computer where there's Windows already? Do I need to partition?
- Can I be sure to find drivers for my hardware?
After that, I watered my new lawn. The grass seeds I spread on Tuesday are coming up in teensity-tinesity leaves. Huzzah!
Then I turned my attention to the wt:Muskoka chairs we got from Canadian Tire. These turned out to be a lot easier, and they were made from cedar wood, so they were pleasant to work with. Maj had invited over some friends for grilling, so she went to the store to buy food while I worked on the Muskokas. The baby hung out with me outside in her playpen.
The chairs turned out great, and we had a nice grill. Brenda, Parise and Tony all came over. Brenda and Tony are librarians, and Brenda and Parise grew up together in wt:Moncton. The Muskokas were a hit; here are Brenda and Amita enjoying one.
tags: ikea bed amitajune grill muskoka chairs lawn grill
... revision 1.1 date: 2006/07/08 12:06:43; author: gintautasm; state: dead; branches: 1.1.2; ...There was some interest on the Wordforge mailing list about using the XML-RPC interface to co-operate with thick clients (KBabel, etc.). For the moment I have enough work on Pootle itself and XML-RPC is not a priority, but if anyone would be interested in implementing the client side for some translation application, I would be very happy to cooperate and coordinate the server's XML-RPC interface. Hopefully next week the weather will be a bit cooler too: it's so hot that it is difficult to fall asleep because of the heat. The heat definitely does not help to get actual work done.
$ tools/debtags smartsearch image editor Tag selection: 1) hardware::camera (44/18710) 2) works-with::image:raster (335/18710) 3) hardware::storage:dvd (27/18710) 4) special::meta (86/18710) 5) devel::debian (55/18710) 6) works-with::archive:iso9660 (44/18710) 7) use::typesetting (61/18710) 8) special::not-yet-tagged (5745/18710) 9) devel::library (3727/18710) 10) role::sw:utility (2707/18710) 11) interface::x11 (2434/18710) 12) interface::commandline (2137/18710) 13) x11::application (2040/18710) 14) role::content:data (1573/18710) 18710 packages selected so far. Your choice (+#, -#, =#, K word, View, Done, Quit, ?): +2 -9 +11 Tag selection: 1) interface::x11 (wanted) 2) works-with::image:raster (wanted) 3) devel::library (unwanted) 4) hardware::camera (10/113) 5) special::meta (1/113) 6) use::typesetting (1/113) 7) works-with::video (8/113) 8) made-of::lang:c++ (2/113) 9) suite::gnome (9/113) 10) uitoolkit::athena (9/113) 11) uitoolkit::gtk (50/113) 12) role::sw:application (41/113) 13) use::viewing (39/113) 14) role::sw:utility (33/113) 15) use::editing (30/113) 16) uitoolkit::qt (23/113) 17) suite::kde (18/113) 113 packages selected so far. Your choice (+#, -#, =#, K word, View, Done, Quit, ?): +15 Tag selection: 1) interface::x11 (wanted) 2) use::editing (wanted) 3) works-with::image:raster (wanted) 4) devel::library (unwanted) 5) hardware::camera (1/30) 6) special::meta (1/30) 7) works-with::video (3/30) 8) made-of::lang:c++ (1/30) 9) suite::gnome (2/30) 10) uitoolkit::athena (4/30) 11) x11::application (24/30) 12) role::sw:application (15/30) 13) uitoolkit::gtk (11/30) 14) uitoolkit::qt (7/30) 15) suite::gimp (6/30) 16) suite::kde (6/30) 17) x11::application (24/30) 18) role::content:data (5/30) 30 packages selected so far. Your choice (+#, -#, =#, K word, View, Done, Quit, ?): d gimp - The GNU Image Manipulation Program babygimp - An icon editor in Perl-Tk cinepaint - motion picture image painting and retouching tool cinepaint-data - data files for CinePaint digikamimageplugins - image editor plugins for digikam and showfoto kiconedit - an icon editor for KDE kchart - a chart drawing program for the KDE Office Suite gimp-data-extras - An extra set of brushes, palettes, and gradients for The GIMP scribus - Open Source Desktop Publishing xpaint - simple paint program for X puredata - realtime computer music and graphics system gimp-data - Data files for The GIMP gimp-python - Python support and plugins for The GIMP gimp-gap - The GIMP Animation Package gimp-texturize - generates large textures from a small sample gnome-iconedit - A small tool to create icons for the gnome-desktop gpaint - GNU Paint - a small, easy to use paint program for GNOME gsumi - pressure sensitive "ink" drawing gtkmorph - Digital image warp and morph (gtk) gtkmorph-example - digital image warp and morph, examples xmorph - digital image warp and morph (x11) imaptool - A tool for creating client-side image maps junior-art - Debian Jr. Art kcoloredit - a color palette editor and color picker for KDE kolourpaint - a simple paint program for KDE kimagemapeditor - HTML image map editor for KDE pixmap - A pixmap editor saods9 - image display tool for astronomy sppc - Simple Panel Plot Composer tkpaint - Versatile bitmap/pixmap editing toolThis other section is worth seeing as well: it shows the relevant tags computed for various keyword searches (I cut out the part which is always the same):
$ tools/debtags smartsearch kernel image 1) admin::boot (132/18710) 2) use::driver (108/18710) 3) admin::kernel (252/18710) 4) protocol::dhcp (24/18710) 5) role::sw:source (79/18710) 6) admin::hardware (161/18710) 7) devel::debian (55/18710) Your choice (+#, -#, =#, K word, View, Done, Quit, ?): k audio editor 1) sound::midi (33/18710) 2) works-with::music-notation (25/18710) 3) works-with::audio:wav (51/18710) 4) works-with::video:oggtheora (5/18710) 5) field::arts (21/18710) 6) sound::mixer (65/18710) 7) sound::recorder (10/18710) Your choice (+#, -#, =#, K word, View, Done, Quit, ?): k package manager 1) x11::window-manager (79/18710) 2) suite::xfce (34/18710) 3) x11::display-manager (10/18710) 4) x11::theme (82/18710) 5) works-with::software:package (110/18710) 6) suite::kde (503/18710) 7) made-of::data:icons (43/18710) Your choice (+#, -#, =#, K word, View, Done, Quit, ?): k debian package 1) suite::debian (282/18710) 2) devel::packaging (75/18710) 3) devel::debian (55/18710) 4) works-with::software:package (110/18710) 5) use::dialing (47/18710) 6) admin::user-management (114/18710) 7) hardware::modem (87/18710) Your choice (+#, -#, =#, K word, View, Done, Quit, ?): k linux kernel 1) admin::kernel (252/18710) 2) role::sw:source (79/18710) 3) use::driver (108/18710) 4) interface::svga (31/18710) 5) hardware::usb (32/18710) 6) admin::filesystem (151/18710) 7) hardware::camera (44/18710) Your choice (+#, -#, =#, K word, View, Done, Quit, ?): k gps 1) field::geography (57/18710) 2) hardware::emulation (98/18710) 3) works-with::image:vector (107/18710) 4) devel::ide (41/18710) 5) works-with::software:running (93/18710) 6) made-of::lang:ada (26/18710) 7) x11::application (2040/18710) Your choice (+#, -#, =#, K word, View, Done, Quit, ?): qThis thing is getting smart. Can't wait for this to get seriously picked up by some GUI (think adept!).

I would look more like an athlete if I shaved...
The rest of the team did pretty well on their leg, specially Rub n who
came in third after having raced on Friday night. A few hours and many
children races later, we received the team award for the
Komando's second place.

Everyone loves the Komando. Go Komando!
It always feels good to do races like B tera. I plan doing a few more races
this summer: Val ncia, Pinedo, maybe Antella, maybe Cuenca...
Next.