There have been several long-term wishlist bugs on Mutt to include the
(in?)famous "sidebar" patch. It adds a panel on the left side of the screen to
list mailboxes with message counts.
We do ship several patches with Debian's Mutt package that are not considered
for inclusion by the upstream authors, but this one is different. It touches
the core of the UI renderer and adds extensive counting of messages. There's
been quite a hype about the patch, it was even included in the (now
discontinued [1]) mutt-ng fork. Unfortunately, the patch was technically questionable, it
was written for the Mutt tarballs and didn't easily apply to CVS, and most
versions floating around contained lots of cruft like backup files and
temporary editor files. Furthermore, it is far from bug-free and even segfaults
occasionally.
Some months ago we decided we would build a second binary package to put the
patch in so we don't destabilize the standard package. Thanks Dann Frazier, we
got a clean patch, Adeodato had the right idea on how to build two binaries
from the same, differently-patched source (make install would run havoc, the
trick was to build the patched version before the regular one), and I
resolved some more involved conflicts with the maildir-mtime patch.
So, finally, there it is:
mutt-patched.
Disclaimer: As said, there are bugs. YMMV.
On related news, there's now also a -dbg package now for the victims of the
IMAP and header cache segfaults that we still see sometimes.
Update: The sidebar patch was not the reason for the creation of mutt-ng,
but many mutt-ng users were using it because of this patch.
Update 2008-01-08: [1] mutt-ng used to be a Mutt fork. It is now maintained
as a patch collection for Mutt.
# cat /proc/sys/kernel/random/entropy_avail
531
In a sudden rush of stupidity, the Argentinian government decided that
we should change our timezone to include DST.
For those that don't know, Argentina lies almost completely in the GMT-4
zone. 20 years ago we used to have DST, switching between GMT-4 and GMT-3.
But since 1990 we've been using GMT-3 as the permanent timezone for our
country. Thus, noon happens at 13:00 (or even later in more western parts
of the country).
Now, since we are in energetic crisis, our government decided
that we should go back to DST, but instead of GMT-4 and GMT-3, we are going
to be GMT-3 and GMT-2. This means that during the summer noon will happen
at 14:00 or later.
Not only this, but they decided to do this on December 21st, passed the
law on December 26th, and published it on December 28th. And the day of the
switch is December 30th!.
Thanks to the quick work of Clint Adams, a patch was provided, applied
and uploaded to unstable today, and it's already available. After the
package was uploaded, I patched Etch's version so that we could upgrade all
our servers.
So, in case you need to take Argentina's stupidity into account, you can
currently download tzdata_2007j-3 from unstable, or download
tzdata_2007j-1etch2 from:
deb http://volatile.debian.org/debian-volatile stable/volatile mainUpdated to reflect current situation of the package
A few days ago, I asked about
how to properly embed spamtraps in web pages.Well, noone could tell me if using display: none is appropriate. I
actually do not want Google to index the contents in that div. So as long as
they don't punish me for using display: none at all, it's okay. And
the page I placed the spamtrap on is a doorway-like page for others anyway;
it's not part of an important site.It took the first spammer around 54 hours to send the first spam. Or try to
send: all 10 retries with different zombies were rejected by my spam filter.
Since then, I've been receiving another round of deliver attempts - around 5-15
per spamtrap address - almost every hour.Of the > 500 spam delivery attempts I've seen since, none made it through
my initial spam filters (not to speak of the content filter behind that), but
they were rejected at the SMTP level, even before the mail content was sent.I've now disabled some of my spam filters to allow the trap adresses to
actually receive mail. After all, I want to use them to train my filter. :-)
Some small portable MP3 players also allow reproducing images and videos (does anyone know why they call them MP4 players?), but they need the latter to be in some funny format called SMV (for devices with SigmaTel chipset. Other devices use different formats, such as AMV for devices with Actions chipset, MVS for those with Sunplus chipsets, MTV, DMV or ASF).
SMV seems to stand for “SigmaTel Motion Video”, and was developed by SigmaTel Inc to allow users to transform common PC video files and watch them on their portable multimedia players (PMP). I’ve been trying to find out how to convert videos to this format for a while, to be able to watch them in a small gadget I bought some time ago, but haven’t been able to do so from Linux yet. All the converters seem to be privative, and just for Windows, although they seem to work with wine according to some reports I’ve read on the net. I’m not putting any closed-source software in my lappy anyway, so that’s not an option for me.
I recently found a web page of someone developing a conversion tool for SMV called smvconv, based on mplayer and ffmpeg and released under a MIT/X11 license. It’s just a small C program and a shell script, and seems to be in a very preliminary stage, but the most important part is that he has also published the structure of SMV files, which seem to be, in fact, quite a simple format composed of some headers, a WAV audio file and some JPEG frames:
An SMV file has three sections, concatenated together:
Hope you had a good Christmas Day if you celebrate it. The cycling starts again already: RAI Sport Sat (free-to-air 13e) have highlights of today’s seventh Cyclocross World Cup event from Hofstade Belgium at 22:30 CET today (Wednesday). No idea whether it will be repeated… my recent predictions seem to have been a bit wrong.
Hofstade is the sixth elite men’s event to actually happen, after the cancellation of their race at the Milan round. Sven Nys of Belgium leads the elite men’s rankings by almost 500 points from compatriots Bart Wellens and Klaas Vantornout. Daphny van den Brand of the Netherlands leads the elite women by 340 points from USA’s Katherine Compton. 300 points for a win, then 260, 220, 190, 170, and so on. The contests aren’t over yet.
Update: It’s on again 22:30 CET today (Thursday) and repeated at 11:10 tomorrow (Friday) according to teletext.
H1 element in the entry content. However, this
makes the H1 show in the RSS feed, which I had always noticed in
Zack’s blog, and always found inconvenient. Oh well. It also makes
for the same title to appear twice in the default [[inline]] page; to
solve it, I just hide with CSS the H1 there — zack, e.g., does not
use [[meta title]], and aligns the permalink to the right.
Update: So I was washing the dishes and it struck me: maybe with a
conditional! And, effectively, it is possible, given that there is a
convenient included test. So now I start my entries with:
[[meta title="This is the long title"]]
[[if test="!included()"
then="# This is the long title"]]
Yay!
Update (2007-12-27): Lars does it differently, by only providing [[meta title]], and modifying the page template to include:
<h1><TMPL_VAR TITLE></h1>
Update (2007-12-29): I finally decided, at least for now, that is
cleaner not having the title duplicated in two lines, and went with a
template. I didn’t want the <h1>title</h1> bit in all pages, though,
and Joey pointed out that I could use a different template for blog
entries using the pagetemplate_plugin.
As I wrote earlier, I bought an Eee PC to use on the bus. Initially, I only used it offline to do some Debian packaging and blogging, but I soon discovered that I could do a few things online on the many open networks on my daily commute. While the connections are normally brief in good traffic conditions, even a few seconds here and there is enough to participate in irc discussions.
Manually connecting to each got old very quickly. So, to automate those connections I settled on wpa_supplicant, (wpasupplicant is the Debian package name,) which is quite easy to set up in roaming mode, as outlined in /usr/share/doc/wpasupplicant/README.modes.gz. All you need is the following in /etc/network/interfaces:
allow-hotplug ath0
iface ath0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
Then create your wpa_supplicant.conf as follows:
ctrl_interface=/var/run/wpa_supplicant
network=
key_mgmt=NONE
That’s it. You can now roam from one open network to the next and the supplicant will connect you to each one in turn. I have used this to reconnect to my screen session each time the bus slows down for a stop or gets stuck in traffic to carry on conversations on irc for the whole length of the commute.
If you also connect to networks requiring authentication, you’ll need to add a “network” clause for each network. See /usr/share/doc/wpasupplicant/examples/ for help with that, particularly the annotated conf file, README.wpa_supplicant.conf.gz.
For finer control over the process, I use sudo wpa_cli so i can:
scan, then scan_results,disconnect from a network once I know it’s out of rangereassociate as needed.
I'm considering to embed some spamtraps (i.e. email adresses that will feed
all their incoming email to the spam filter) into some web pages.However, I want to prevent people from accidentially using these links or even
just seeing them. So using "display: none" seems appropriate. But Google is
known to punish websites 'hiding' content from users but not from robots.Some sites say, Google will just ignore the parts that are within
"display: hidden", others say it will punish the site altogether.Maybe the adsense control comments will help
<!-- google_ad_section_start(weight=ignore) -->but it wouldn't really make sense. It's meant for adsense only.Or the page could become a bit more hackish and use javascript to kill the unwanted content. Any experiences with the proper way of hiding spamtrap email links like this:
<a href="mailto:aaaaaaa-never-email-this-address@domain.tld" >Unwanted Emails only<:/a>
Yesterday was a nice sunny break in the mostly constant cloud cover. I went
out to the Clinch Mtn and climbed up to the fire tower, it was very clear
and I think I was able to see South Holston lake from there.
My current mailfilter has two
features which increase my day-to-day productivity:
Since the queue is only processed on the server, I cannot register a mail with the tickler without going online and synchronising my mail before the timestamp expires. So if I am on my way to a conference on Monday and tell the tickler to resubmit a given message on the next day, but I don't connect before Wednesday, I won't get the mail on Tuesday (because the mail does not actually reach the tickler until Wednesday, when it's immediately resubmitted). I have not found an algorithm that would let me run a queue processor on the server and my laptop without the two causing mail duplication and potentially interfering with each other.
I keep all my mail in a single Maildir to make searches easy. Since mail registered with the tickler is stored in a separate Maildir, I often need to search two Maildirs if I am looking for a specific message. This is awkward.
The queue processor has to iterate the entire queue, which is fine for a hundred messages, but it does not scale.
I have not found a way to ask mutt to tickle me about a message I send without going to the sent messages folder and scheduling the message for tickling manually. One approach would be record=no and a custom sendmail script, which would store mail to the store or tickler Maildirs, depending on whether the X-Tickle header is present, but I want to avoid a custom sendmail script for reasons unknown. Another approach might be to set bcc to the appropriate tickle address, but this would result in duplicate mails, unless I set record=no individually.
-times (or set times = true in the
configuration file).
The first sync with -times results in a huge conflicts with
“revprops” being changed in both sides. I resolved all of them in
favour of the less recent file (there’s a menu option for that in
unison-gtk). But boy did it take long to sync all files.
updatedb database when creating a new one, which makes
updatedb faster and less intensive on the hard drive. (I suppose
it stores an mtime of each directory, and only re-reads directory
contents if the filesystem is newer.)
As with slocate, mlocate’s updatedb is meant to be run as root,
and the created database is mode 0640 root:mlocate, with the
locate binary being setgid mlocate then.
After some discussion in
debian-devel,
it was decided that mlocate was suitable for Priority: standard,
once findutils’ locate was split out to a separate pakcage. So,
give it a go.
Everyone knows that Webmin is nasty - it does things in wrong way on a pure and nice Debian (and Ubuntu) systems and for some reason is not included in Debian (post-sarge) or Ubuntu. That does not inspire confidence in a root-running web based software to say the least.
Seth Oster, executive VP and chief communications officer of the MPAA, told Ars that the notice came over the Thanksgiving holiday when their offices were closed. "As soon as we came back and discovered that there had been someone who had raised some concerns, we removed the software," Oster said. "Anytime anyone raises any reasonable concern we look at it because we take copyright very seriously at the MPAA." He also denied Garret's assertions that the ISP was involved in the takedown, saying that the MPAA chose to take the toolkit offline.
Next.