I got tagged in the bunnymeme. I even got nagged about it. I have to admit, drawing a bunny is kind of a relief from a busy week.
Here are the rules:
And here are the three blogger friends I can think of who aren't too uptight and full of themselves to post a picture of a hand-drawn bunny:
Update: there's a nice graph tracking the meme's progress.
tags: bunnymeme bunny meme splitbrain
My iPaQ has a virtual keyboard that can be displayed in portrait or landscape mode. The above pictures show it in the portrait mode which allows the greatest area of screen space for text. The landscape mode is good for entering long lines of text even though the total number of words that can be displayed on screen is smaller.
The size of my iPaQ is 134mm in height, between 77 and 84mm in width (it tapers) and 15.9mm thick without it s protective sleeve. The protective sleeve (shown in the second picture) adds about another 5mm to the width and thickness.
My iPaQ is 1.76* the volume of my Viewty phone and at 184g vs 112g is 1.64* the mass. With it s sleeve on it is about 2.4* the volume. It s larger but with the sleeve it s a lot more solid, a touch-screen is very fragile so putting a touch-screen device in your back pocket without a sleeve is not a viable option.
So I now own a mobile phone that has more storage, RAM, and CPU power than my iPaQ, but is less useful for the basic task of writing small documents and seems to have no facility for drawing diagrams. Most recent mobile phones have the ability to record voice (my Viewty can store 34 hours on it s internal storage and supports mini-SD cards for extra storage). But my Viewty lacks the ability to pause voice recording so if I wanted a series of notes during a meeting I would get a series of short voice recordings rather than a single file with many items. The todo list is also fairly poor in the Viewty, so even disregarding the poor keyboard on the touch-screen it would compare badly to the iPaQ.
So it seems that an iPaQ that is almost seven years old when running Linux and the GPE Palmtop Environment [4] with with default configuration handily beats one of the latest and greatest mobile phones for all areas of common functionality.
If the Viewty had it s source code available I would be tempted to contribute some patches (even if it was not free software).
Finally, before someone suggests an Android [5], Greenphone [6] or other phone that s relatively open and programmable, I wanted a phone that had a good camera (by phone standards) and came essentially for free on an affordable contract. Maybe in two years time (when my current contract ends) there will be such a phone on offer. Mobile phones aren t THAT important to me, so while I would like to encourage the development of open telephony platforms it s a much lower priority than about a dozen free software projects.
I expect that in the future something like an Android will become a great mobile phone with great PDA functionality. But for the moment I ll use an iPaQ and a Viewty.
I am stunned no more people have been bitten by this. Or at least, the Intarweb has not heard about it. Censorship perhaps? I haven't researched more into the causes, but anyway...
class CreatePeople < ActiveRecord::Migration def self.up create_table :people do t t.column :login, :string, :null => false t.column :passwd, :string, :null => false t.column :firstname, :string, :null => false t.column :famname, :string, :null => false t.column :email, :string t.column :pw_salt, :string t.column :created_at, :timestamp t.column :last_login_at, :timestamp end end def self.down drop_table :people end end
PGError: ERROR: syntax error at OR near "(" LINE 1: ...serial PRIMARY KEY, "login" character varying(255)(255) NOT ... ^ : CREATE TABLE "people" ("id" serial PRIMARY KEY, "login" character varying(255)(255) NOT NULL, "passwd" character varying(255)(255)(255) NOT NULL, "firstname" character varying(255)(255)(255)(255) NOT NULL, "famname" character varying(255)(255)(255)(255)(255) NOT NULL, "email" character varying(255)(255)(255)(255)(255)(255) DEFAULT NULL NULL, "pw_salt" character varying(255)(255)(255)(255)(255)(255)(255) DEFAULT NULL NULL, "created_at" timestamp DEFAULT NULL NULL, "last_login_at" timestamp DEFAULT NULL NULL)
Every time the boss turns around asking for a key member of staff to join today s frantically convened cost-cutting strategy meeting the reply comes back, It s not Sam s day to come in and he s the one working on it. Julia can come, though. Julia? What she got to do with it? Yeah, well, we ll have to bring her up to speed.In other words, while there is a savings from not having Sam present every day, there is also a cost associated with it, which includes having had to look for and interview Sam to do some work, and bargaining over a price for Sam's services, and then "bring him up to speed". You have to do those things with regular employees too, but you have to do them less often with people who stick around for years. So if one wanted to look, in a less anecdotal way and slightly more scientific way, about whether the US, or other countries, are turning into "gig economies", one could do worse than look at the transaction costs associated with utilizing contractors as opposed to permanent employees. If those costs have fallen (it may be easier to find people, thanks to the internet, for example), perhaps it is more efficient to have more contractors and fewer full time employees and so the equilibrium will tilt in that direction. Of course, another explanation might simply be that the economy is bad, and companies don't have the budget to take on more people, so they get by with what they can in the short term. In terms of the social costs and benefits to a "gig economy"... well, that discussion is best left for other sites, as it's a big, long, complex one with lots of politics and economics and eventually boils down to everyone's own view of how the society they live in ought to look, which is very much outside the scope of this journal.
Deficiency of effective public quality assurances (by reputation or regulation and/or of effective guarantees / warrantiesIf it's difficult to get real, honest, impartial reviews of hosting services, that is a push in the direction of 'lemons'. Of course, it's not impossible to get this information, but it seems that a lot of us still go by "hearsay" - what others we know use and report to be ok. To compare it with another product, I'd probably ask around to friends prior to purchasing a new car, but whatever I get is likely to work ok, even if it's not the absolute best. On the other hand, the wrong hosting provider might be very much a "fly by night" operation that leads to a lot of downtime, so I'm far more likely to listen to what other people have to say, and be far more cautious about buying "any old thing". Opinions? Comments? Thoughts? Where do you see this industry going?
Every time the boss turns around asking for a key member of staff to join today???s frantically convened cost-cutting strategy meeting the reply comes back, ???It???s not Sam???s day to come in and he???s the one working on it. Julia can come, though.??? ???Julia? What she got to do with it???? ???Yeah, well, we???ll have to bring her up to speed.???In other words, while there is a savings from not having Sam present every day, there is also a cost associated with it, which includes having had to look for and interview Sam to do some work, and bargaining over a price for Sam's services, and then "bring him up to speed". You have to do those things with regular employees too, but you have to do them less often with people who stick around for years. So if one wanted to look, in a less anecdotal way and slightly more scientific way, about whether the US, or other countries, are turning into "gig economies", one could do worse than look at the transaction costs associated with utilizing contractors as opposed to permanent employees. If those costs have fallen (it may be easier to find people, thanks to the internet, for example), perhaps it is more efficient to have more contractors and fewer full time employees and so the equilibrium will tilt in that direction. Of course, another explanation might simply be that the economy is bad, and companies don't have the budget to take on more people, so they get by with what they can in the short term. In terms of the social costs and benefits to a "gig economy"... well, that discussion is best left for other sites, as it's a big, long, complex one with lots of politics and economics and eventually boils down to everyone's own view of how the society they live in ought to look, which is very much outside the scope of this journal.
Deficiency of effective public quality assurances (by reputation or regulation and/or of effective guarantees / warrantiesIf it's difficult to get real, honest, impartial reviews of hosting services, that is a push in the direction of 'lemons'. Of course, it's not impossible to get this information, but it seems that a lot of us still go by "hearsay" - what others we know use and report to be ok. To compare it with another product, I'd probably ask around to friends prior to purchasing a new car, but whatever I get is likely to work ok, even if it's not the absolute best. On the other hand, the wrong hosting provider might be very much a "fly by night" operation that leads to a lot of downtime, so I'm far more likely to listen to what other people have to say, and be far more cautious about buying "any old thing". Opinions? Comments? Thoughts? Where do you see this industry going?
Ok, so here s my obligatory Hello Planet Debian and I m now a Debian Developer post.
So, yeah, I m now a Debian Developer - and have a shiny new email address. For those of you considering going through the NM process, or already going through it - don t give up hope, you ll get there eventually!
Thanks to all those who ve helped me along the way.
In other news, I ve been meaning to blog about a couple of sites for a while now.
First of all, is Feedbooks.com - a nifty little site with lots of ebooks to download. Including a lot of the classics. You can also publish books on there, but I haven t got round to it yet. This is currently my homepage on my eeePC. I ve setup the custom PDF to be a good size for the eeePC (152mmx91mm, 10px font, 5mm all borders) and have been reading some of the Doctor Who books on there (and actually not finding it that uncomfortable curling up in bed with.
The next site is Stack Overflow - I ve mentioned this briefly before, but it s a great site. A community driven Programming Q+A site. Kind of hard to describe, but go have a look, you ll soon get the gist of it!
Anyway, I think it s time to head to bed for me!
And once again I was bitten by problems on my Debian laptop mounting directories from the file server via NFS. After a Debian dist-upgrade I couldn t login to KDE any more. Shell login worked somehow but I quickly found out I could neither read nor write any files there. Apparently an ls -al showed me the right permissions (not just unmappable numeric UIDs or something of that kind) and an id -a confirmed that my LDAP PAM configuration still worked. But reading or writing any file just lead to Permission denied .
I m not sure if it was an update in the nfs-common package in Sid. But I had the same problem before and it took me hours until I finally figured out that Debian s NFS seems to use non-standard defaults. Namely the sec parameter when mounting the NFS share. According to the Solaris documentation the default is sec=sys which means that NFS uses the locally acquired UIDs and GIDs. Like /etc/passwd, NIS or LDAP/PAM. But on Debian it seems to default to sec=krb5 or something. As I have close to no idea how to set up Kerberos and don t want to (and talking to other people hardly anyone has used Kerberos either) I figured that it s not really a sane default. I didn t even ask for NFSv4 - just NFSv3. Perhaps I undeliberately set some /etc/default/nfs-common configuration setting wrong or whatever. It was just strange. So I set sec=sys in the options of the NFS share of my /etc/fstab and the problem was fixed.
Actually I wonder what network file systems other people use in a Debian environment. NFS somehow feels antiquated to me anyway.
I've previously mentioned my desire for a new smartphone. I'd been eyeing the G1 since its release, with the main factor stopping me from going ahead the need for a T-Mobile contract. They don't have any 3G coverage north of Belfast that I've seen and I'm very happy with my 20/month O2 Simplicity contract and don't have any need to pay twice that. Luckily Katherine decided to get me one for my birthday, and after some confusion involving it going to Norwich (always remember to update your Paypal delivery address as well as the card address when you move home, folks. Oh, and your Amazon wishlist address too; it's different than your primary address and I've been bitten by that myself in the past) it turned up the weekend before Christmas.
There are a number of very popular Open Source backup solutions that use a very clever hack of using hard link trees to maintain incremental backups. The advantage of such schemes is that they are very easy to code up, and it allows you to easily browse incremental backups by simply using cd and ls .
The disadvantage of such schemes is that it creates very large number of directories blocks which must be validated by an fsck operation. As I ve discussed previously, this causes e2fsck to consume a vast amount of memory; sometimes more than can be supported by 32-bit systems. Another problem which has recently been brought home to me, is how much time it can take to fsck such file systems.
This shouldn t have come as a surprise. Replicating the directory hierarchy for each incremental backup is perhaps the most inefficient way you could come up with for storing information for an incremental backup. The filenames are replicated in each directory hierarchy, and even if an entire subtree hasn t changed, the directories associated with that subtree must be replicated for each snapshot. As a result, each incremental snapshot results in a large number of additional directory blocks which must be tracked by the filesystem and checked by fsck. For example, in one very extreme case, a user reported to me that their backup filesystem contained 88 million inodes, of which 77 million of them were directories. Even if we assume that every directory was only a single block long, that still means that during e2fsck s pass 2 processing, 77 million times 4k, or 308 gigabytes, worth of directory blocks must be read into memory by e2fsck s pass 2. Worse yet, these 308 GB of directory blocks are scattered all across the filesystem, which means the time to simply read all of the directory blocks so they can be validated will take a very, very, long time indeed.
The real right way to do implement tracking incremental backups is to use a database, since it can much more efficiently store and organize the information of what file is located where, for each incremental snapshot. If the user wants to browse an incremental snapshot via cd and ls , this could be done via a synthetic FUSE filesysem. There s a reason why all of the industrial-strength, enterprise-class backup systems use real databases; it s the same reason why enterprise class databases use their own data files, and not try to store relational tables in a filesystem, even if the filesystem supports b-tree directories and efficient storage of small files. Purpose written-and-opimzied solutions can be far more efficient than general purpose tools.
So, can anyone recommend OSS backup solutions which track incremental backups using some kind of database? It doesn t really matter whether it s MySQL, Postgresql, SQLite, so long as it s not using/abusing a file systems hard links to create directory trees for each snapshot. For bonus points, there would be a way to browse a particular incremental snapshot via a FUSE interface. What suggestions can you give me, so I can pass it on to ext3/4 users who are running into problems with backup solutions such as Amanda, Backup-PC, dirvish, etc.?
Update: A feature which a number of these hard-link tools do right is that they do de-duplication; that is, they will create hard links between multiple files that have the same contents, even if they are located in different directories with different names (or they have been renamed or their directory structure reorganized since they were originally backed up) and even if the two files are from different clients. This basically means the database needs to include a checksum of the file, and a way to look up to see if the contents of that file have already been backed up, perhaps with a different name. Unfortunately, it looks like many of the tape-based tools, such as Bacula, assume that tape is cheap, so they don t have these sorts of de-duplication features. Does anyone know of non-hard-link backup tools that do de-dup and which are also Open Source?
This code allows unattended ssh(1) processes, like the ones started by cron(8), to access the SSH keys stored by a running ssh-agent(1) (which will probably have been started in a screen(1) instance).
Be sure to understand the security implications of persistent ssh-agent processes and passwordless keys.
#!/bin/sh -e
import_ssh_agent()
local pid
for pid in $(pgrep -u "$LOGNAME" -x -f /bin/bash); do
local var="$(grep -z '^SSH_AUTH_SOCK=' /proc/$pid/environ true)"
[ "$var" ] continue
eval "$var"
export SSH_AUTH_SOCK
break
done
[ "$SSH_AUTH_SOCK" ] import_ssh_agent
# now the script can run commands like:
ssh -o BatchMode=yes hostname command
Sarah brought The Story of Stuff
to my attention today. It's well worth 20 minutes of your time, irrespective
of where you live.
...and there was a distinct feeling of deja vu. At least
the procedure itself was nowhere near as long (under 2 hours).
On Thursday, Sarah had some day-surgery to have her sternal
wires
removed. The top one was causing her some discomfort because the skin there
was the thinnest (whether that in itself was related to any of the previous incision
complications remains uncertain).
The surgical team popped in to pre-op to autograph their work (seriously,
they initialled her chest) before they started, and asked if she wanted just
the top wire removed, or all of them. We consulted the Magic Eight Ball
application on my phone, and it gave a resoundingly affirmative response, so
she got them all removed.
Despite removing them all being a bit more surgically invasive, I think this
is for the best. It means none of the other wires can cause any problems
down the track requiring yet another trip to the operating room.
They also did some scar revision on the top part of the scar, where it was a
bit stretched (from the previous complications), so incisionally speaking,
she's had almost as much incision work done as the original heart surgery.
Ironically, this made the plastic surgery (laser treatment and steroid
injections) she had late last year largely redundant.
She took the dressing off the incision this morning, and we had our first
look at it. It certainly looks a lot better than before, so fingers crossed
it won't get infected this time, and the overall long-term result will look
better.
After lot of development, I finally decided to release new testing
release of Gammu.
The biggest changes are in SMS daemon, which got lot of improvements and
is now in separate binary gammu-smsd. It can log better (support for
syslog and Windows Event Log has been added), it can work as a proper
daemon or Windows Service, it can be debugged easier (Gammu logs go to
same log as other messages, SQL queries can be logged), can reload
configuration on the fly.
In libGammu, debugging has also improved (you can now use callback to
process messages), some memory leaks were fixed and some minor bugs has
been fixed.
Command line interface now supports text for text messages to be entered
through parameter and not only using standard input, it has a new
command chekfirmware which obsoletes UsePhoneDB configuration option and
other bug fixes has happened, for example messages sending is now again
working on Windows.
And last but not least, SMS daemon, all related things and gammu
configuration files now have man pages, which boosts documentation level
from none to almost perfect ;-).
As a special bonus for Czech users, Gammu translation is now more
complete and all new man pages are translated to Czech.
Full list of changes:
It will be a make-or-break year for Perl. If the Perl developers cannot either bring new life to Perl 5 or turn Perl 6 into something real, this language will, by the end of the year, have moved well down the road to "legacy" status.As can be imagined, that set them off all over again. The mental image I get is a big angry bull, frothing at the mouth, and ready to stomp that damn red cape. Here's the problem, though, guys: the cape isn't what's holding you back. Trust me, I know. Once upon a time, when people spoke of scripting languages, they talked about "Perl, Python and Tcl". No Ruby, no PHP, although both existed. I happen to like Tcl a lot, and it measures much worse than Perl on all the popularity charts... worse than plenty of other languages, these days. Lately, I don't use it so much, but once upon a time I dedicated a lot of mental energy to wondering why things weren't going better. And in that community too, there were people who consistently held their fingers in their ears and yelled "LALALALA there is no problem!". In the long term, it's not an effective strategy: it makes everyone but the other True Believers think you're going off the rails, because the evidence is plain to see that things weren't quite like they used to be, that there are problems. And it doesn't really address the problem in a constructive way, either. Long term, what works is to produce good code, and get it in people's hands. The most effective way of dealing with problems of this nature includes these points:
Next.