So, I intended to be completely away from my computer during my vacations, but hey. I have been interested in this new extension Apple added to the C language a little while ago which introduces the equivalent of closures to C. Today I spent a few minutes looking into it and writing a few tests with the help of clang.
Here s something I came up with, to use a block as the callback for a GIO asynchronous call:
#include <Block.h>
#include <gio/gio.h>
typedef void (^Block)();
static void async_result_cb(GObject* source,
GAsyncResult* res,
gpointer data)
Block block = (Block)data;
block(res);
int main(int argc, char** argv)
g_type_init();
if (argc != 2)
g_error("Blah.");
return 1;
GMainLoop* loop = g_main_loop_new(NULL, TRUE);
GFile* file = g_file_new_for_path(argv[1]);
g_file_query_info_async(file,
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
G_FILE_QUERY_INFO_NONE, G_PRIORITY_DEFAULT,
NULL, async_result_cb, (gpointer) ^ (GAsyncResult* res)
GError* error = NULL;
GFileInfo* info = g_file_query_info_finish(file, res, &error);
if (error)
g_error("Failed: %s", error->message);
g_error_free(error);
return;
g_message("Content Type: %s",
g_file_info_get_attribute_string(info, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE));
g_object_unref(info);
g_main_loop_quit(loop);
);
g_main_loop_run(loop);
g_object_unref(file);
return 0;
Pretty neat, don t you think? To build you need to use clang and have the blocks runtime installed (libblocksruntime-dev in Debian). Here s the command I use:
$ clang -fblocks -o gio gio.c -lBlocksRuntime pkg-config --cflags --libs gio-2.0
We are on the map! And we are staying on the map not only in sports, but in everything.I found out through Invar Hovav that there s a regression in the Ubuntu installation doesn t believe this is true anymore, as according to lp#905754, you can t select Israel or its major cities, and instead get suggestions for Gaza and Hebron. This is a regression from past installers when you could at least choose Tel Aviv, Jerusalem and Gaza. It used to be hard to pin point each location, but was still possible. This might be part of a bigger problem of selecting close/adjacent cities, but the default behavior in the past was different. From the technical point of view, the Gaza and Hebron TZ files are weird (tzdata version 2011n-1). Both don t have info for 2012 daylight saving time (usually start in late March or early April). Hebron switches twice a year to DST, hopefully nothing critical uses this time zone.
$ zdump -v Asia/Hebron grep 2011And Gaza only have a 3 months daylight saving time, while Israel has 6 and European eastern time has 7 months (all are UTC+2 region).
Asia/Hebron Fri Apr 1 10:00:59 2011 UTC = Fri Apr 1 12:00:59 2011 EET isdst=0 gmtoff=7200
Asia/Hebron Fri Apr 1 10:01:00 2011 UTC = Fri Apr 1 13:01:00 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Sun Jul 31 20:59:59 2011 UTC = Sun Jul 31 23:59:59 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Sun Jul 31 21:00:00 2011 UTC = Sun Jul 31 23:00:00 2011 EET isdst=0 gmtoff=7200
Asia/Hebron Mon Aug 29 21:59:59 2011 UTC = Mon Aug 29 23:59:59 2011 EET isdst=0 gmtoff=7200
Asia/Hebron Mon Aug 29 22:00:00 2011 UTC = Tue Aug 30 01:00:00 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Thu Sep 29 23:59:59 2011 UTC = Fri Sep 30 02:59:59 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Fri Sep 30 00:00:00 2011 UTC = Fri Sep 30 02:00:00 2011 EET isdst=0 gmtoff=7200
$ zdump -v Asia/Gaza grep 2011p.s.
Asia/Gaza Sat Apr 2 10:00:59 2011 UTC = Sat Apr 2 12:00:59 2011 EET isdst=0 gmtoff=7200
Asia/Gaza Sat Apr 2 10:01:00 2011 UTC = Sat Apr 2 13:01:00 2011 EEST isdst=1 gmtoff=10800
Asia/Gaza Sun Jul 31 20:59:59 2011 UTC = Sun Jul 31 23:59:59 2011 EEST isdst=1 gmtoff=10800
Asia/Gaza Sun Jul 31 21:00:00 2011 UTC = Sun Jul 31 23:00:00 2011 EET isdst=0 gmtoff=7200
Damn those unshaven
yaks
I m trying to write a Nagios plugin for work that will comprehensively
monitor network interfaces and make sure they re up, passing traffic, all
those sorts of things. Of course, I m doing it all in Ruby, because that s
how I roll.
So, I need to Know Things about the interface. Everyone does that with
ethtool. Right? Sure, if your eyeballs are parsing it. But have you ever
tried to machine parse it? To put it as eloquently as
possible:
Or perhaps not. At any rate, I decided that it would be most advantageous if I went straight to the source and twiddle theParse that, bitch!# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) Link detected: yes
ioctl until it did my bidding.
And thus, about 5 hours later, was
Rethtool born.
Once I worked out a less-than-entirely-crackful way of dealing with C
structs in Ruby (after a bit of digging around, I went with the
appallingly-undocumented-but-sufficiently-featureful
CStruct), and after I finally worked out I
was passing the wrong damned struct to ioctl(SIOCETHTOOL) (speaking of
appallingly-undocumented: fuck you, ioctl, and all your twisty-passages
children), it was smooth sailing.
So, if you re one of the eight or so people on earth who will ever need to
get at the grubby internals of your network interfaces using Ruby (and can t
do it via some sysfs magic), Rethtool
is for you.
It s been a couple days since I returned from this year s WebKitGTK+ hackfest in A Coru a, Spain. The weather was very nice, not too cold and not too rainy, we had great food, great drinks and I got to meet new people, and hang out with old friends, which is always great!
I think this was a very productive hackfest, and as usual a very well organized one! Thanks to the GNOME Foundation for the travel sponsorship, to our friends at Igalia for doing an awesome job at making it happen, and to Collabora for sponsoring it and granting me the time to go there! We got a lot done, and although, as usual, our goals list had many items not crossed, we did cross a few very important ones. I took part in discussions about the new WebKit2 APIs, got to know the new design for GNOME s Web application, which looks great, discussed about Accelerated Compositing along with Joone, Alex, Nayan and Martin Robinson, hacked libsoup a bit to port the multipart/x-mixed-replace patch I wrote to the awesome gio-based infrastructure Dan Winship is building, and some random misc.
The biggest chunk of time, though, ended up being devoted to a very uninteresting (to outsiders, at least), but very important task: making it possible to more easily reproduce our test results. TL;DR? We made our bots and development builds use jhbuild to automatically install dependencies; if you re using tarballs, don t worry, your usual autogen/configure/make/make install have not been touched. Now to the more verbose version!
The need
For a couple years now we have supported an increasingly complex and very demanding automated testing infrastructure. We have three buildbot slaves, one provided by Collabora (which I maintain), and two provided by Igalia (maintained by their WebKitGTK+ folks). Those bots build as many check ins as possible with 3 different configurations: 32 bits release, 64 bits release, and 64 bits debug.
In addition to those, we have another bot called the EWS, or Early Warning System. There are two of those at this moment: one VM provided by Collabora and my desktop, provided by myself. These bots build every patch uploaded to the bugzilla, and report build failures or passes (you can see the green bubbles). They are very important to our development process because if the patch causes a build failure for our port people can often know that before landing, and try fixes by uploading them to bugzilla instead of doing additional commits. And people are usually very receptive to waiting for EWS output and acting on it, except when they take way too long. You can have an idea of what the life of an EWS bot looks like by looking at the recent status for the WebKitGTK+ bots.
Maintaining all of those bots is at times a rather daunting task. The tests require a very specific set of packages, fonts, themes and icons to always report the same size for objects in a render. Upgrades, for instance, had to be synchronized, and usually involve generating new baselines for a large number of tests. You can see in these instructions, for instance, how strict the environment requirements are yes, we need specific versions of fonts, because they often cause layouts to change in size! At one point we had tests fail after a compiler upgrade, which made rounding act a bit different!
So stability was a very important aspect of maintaining these bots. All of them have the same version of Debian, and most of the packages are pinned to the same version. On the other hand, and in direct contradition to the stability requirement, we often require bleeding edge versions of some libraries we rely on, such as libsoup. Since we started pushing WebKitGTK+ to be libsoup-only, its own progress has been pretty much driven by WebKitGTK+ s requirements, and Dan Winship has made it possible to make our soup backend much, much simpler and way more featureful. That meant, though, requiring very recent versions of soup.
To top it off, for anyone not running Debian testing and tracking the exact same versions of packages as the bots it was virtually impossible to get the tests to pass, which made it very difficult for even ourselves to make sure all patches were still passing before committing something. Wow, what a mess.
The explosion^Wsolution
So a few weeks back Martin Robinson came up with a proposed solution, which, as he says, is the nuclear bomb solution. We would have a jhbuild environment which would build and install all of the dependencies necessary for reproducing the test expectations the bots have. So over the first three days of the hackfest Martin and myself hacked away in building scripts, buildmaster integration, a jhbuild configuration, a jhbuild modules file, setting up tarballs, and wiring it all in a way that makes it convenient for the contributors to get along with. You ll notice that our buildslaves now have a step just before compiling called updated gtk dependencies (gtk is the name we use for our port in the context of WebKit), which runs jhbuild to install any new dependencies or version bumps we added. You can also see that those instructions I mentioned above became a tad simpler.
It took us way more time than we thought for the dust to settle, but it eventually began to. The great thing of doing it during the hackfest was that we could find and fix issues with weird configurations on the spot! Oh, you build with AR_FLAGS=cruT and something doesn t like it? OK, we fix it so that the jhbuild modules are not affected by that variable. Oh, turns out we missed a dependency, no problem, we add it to the modules file or install them on the bots, and then document the dependency. I set up a very clean chroot which we could use for trying out changes so as to not disrupt the tree too much for the other hackfest participants, and I think overall we did good.
The aftermath
By the time we were done our colleagues who ran other distributions such as Fedora were already being able to get a substantial improvements to the number of tests passing, and so did we! Also, the ability to seamlessly upgrade all the bots with a simple commit made it possible for us to very easily land a change that required a very recent (as in unreleased) version of soup which made our networking backend way simpler. All that red looks great, doesn t it? And we aren t done yet, we ll certainly be making more tweaks to this infrastructure to make it more transparent and more helpful to the users (contributors and other people interested in running the tests).
If you ve been hit by the instability we caused, sorry about that, poke mrobinson or myself in the #webkitgtk+ IRC channel on FreeNode, and we ll help you out or fix any issues. If you haven t, we hope you enjoy all the goodness that a reproducible testing suite has to offer! That s it for now, folks, I ll have more to report on follow-up work started at the hackfest soon enough, hopefully =).
Prepare a location to run juju and install it:
mkdir ~/party cd ~/party sudo apt-get install jujuInitialize your juju environment. Be sure to add
juju-origin: ppa to your environment, along with filling in your access-key and secret-key from your Amazon AWS account. Note that control-bucket and admin-secret should not be used by any other environment or juju won t be able to distinguish them. Other variables are good to set now too. I wanted my instances close to me, use I set region: us-west-1 . I also wanted a 64bit system, so using the AMI list, I chose default-series: oneiric , default-instance-type: m1.large and default-image-id: ami-7b772b3e
juju $EDITOR ~/.juju/environments.yamlGet my sbuild charm, and configure some types of builders. The
salt should be something used only for this party; it is used to generate the random passwords for the builder accounts. The distro and releases can be set to whatever the mk-sbuild tool understands.
bzr co lp:~kees/charm/oneiric/sbuild/trunk sbuild-charm
cat >local.yaml <<EOM
builder-debian:
salt: some-secret-phrase-for-this-party
distro: debian
releases: unstable
builder-ubuntu:
salt: some-secret-phrase-for-this-party
distro: ubuntu
releases: precise,oneiric
EOM
Bootstrap juju and wait for ec2 instance to come up.
juju bootstrapBefore running the status, you can either accept the SSH key blindly, or use
ec2-describe-instances to find the instance and public host name, and use my wait-for-ssh tool to inject the SSH host key into your ~/.ssh/known_hosts file. This requires having set up the environment variables needed by ec2-describe-instances , though.
ec2-describe-instances --region REGION ./sbuild-charm/wait-for-ssh INSTANCE HOST REGIONGet status:
juju statusDeploy a builder:
juju deploy --config local.yaml --repository $PWD local:sbuild-charm builder-debianDeploy more of the same type:
juju add-unit builder-debian juju add-unit builder-debian juju add-unit builder-debianNow you have to wait for them to finish installing, which will take a while. Once they re at least partially up (the builder user has been created), you can print out the slips of paper to hand out to your party attendees:
./sbuild-charm/slips mpage -1 > /tmp/slips.ps ps2pdf /tmp/slips.ps /tmp/slips.pdfThey look like this:
Unit: builder-debian/3 Host: ec2-256-1-1-1.us-west-1.compute.amazonaws.com SSH key fingerprints: 1024 3e:f7:66:53:a9:e8:96:c7:27:36:71:ce:2a:cf:65:31 (DSA) 256 53:a9:e8:96:c7:20:6f:8f:4a:de:b2:a3:b7:6b:34:f7 (ECDSA) 2048 3b:29:99:20:6f:8f:4a:de:b2:a3:b7:6b:34:bc:7a:e3 (RSA) Username: builder Password: 68b329da9893To admin the machines, you can use juju itself, where N is the machine number from the
juju status output:
juju ssh NTo add additional chroots to the entire builder service, add them to the config:
juju set builder-debian release=unstable,testing,stable juju set builder-ubuntu release=precise,oneiric,lucid,nattyNotes about some of the terrible security hacks this charm does:
rngd -r /dev/urandom to create terrible but plentiful entropy for the sbuild GPG key generation. 2011, Kees Cook. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
On Saturday evening I started talking with M nica about Bug Squashing Parties and how they work. I am not sure how it happened, we started doing one. Then it was too fun to stop :P
NMUs by M nica:
A few months ago, I had blogged about using R inside of Qt.
This used our RInside package for embedding
the statistical programming environment and language R
inside of a C++ application, and further relies on our Rcpp package for R and C++
integration and object mapping.
The example was simple yet powerful: a reimplementation of the standard GUI application of a standard density estimate. Here the user can
pick a kernel density function from a selection, and also slide a bandwidth parameter. One nice addition was an entry field already populated
with a simple expression for a mixture of Normals, allowing for arbitrary random distributions over which to estimate. The example is
pretty (thanks to Qt), and was added to RInside with the last CRAN release 0.2.4.
The blog post has a nice screenshot.
I had long wondered how to do something similar 'on the web'. Web integration and application frameworks are of course a dime a dozen: Just
about any language offers this, with more or less ease. But I wanted something simple yet powerful and fast. And
I did not like the idea of a multi-tier app, or of a multi-language mix. I remember having seen something about a web-application framework
not unlike Qt, and studying the very useful Wikipedia web
application framework comparison I re-discovered Wt (pronounced "Witty"). So there it is,
using C++ which brings us ample performance, the ability to connect to a number of libraries and applications (which is important in my
quantitatively-minded workd) and avoid the whole multi-tier, multi-language combination. The Wt
website has a few more good reason why this may be a suitable idea; the toolkit also offers a very decent amount of features and is amply
documented with a fair number of examples.
And after just a little bit poking around during two weekends, I now have the following webapp committed
in the SVN repository of RInside, and it is all implemented in
in less than two hundred (generously commented) lines of code.
It is currently up and running at the address shown in the screenshot, so give it a go (though I may take it down at another point in
time). I quite like it: The application is responsive: changes in the radio buttons (for the density), or the bandwidth, each trigger
reestimation of the density, and a new and updated chart is displayed immediately with no noticeable delay---just like the desktop application did.
Best of all, the code logic is essentially unchanged from the Qt-based app. Signals and slots related events to actions, the layout is in
terms of standard GUI boxen and containers. And best of all, I did not have to write a line of html, javascript, css or ajax: it is all
handled by the Wt toolkit. I was able to drive the app from an Android phone, my tablet, various
computers around the house, and had a few friends poke a stick at it from afar.
There is at one open issue. Wt launches new instances of the application object with each
connection, which is a very clean model. That doesn't map perfectly with R (which is single-threaded) and
RInside (which runs as a singleton for the same reason). So right now, each
action sends its state back to the client. In other words, each clients own its parameters and well as vector of random numbers. Each new
action sends these back to the app which passes it to R, launches the re-estimation and gets an updated chart back which is then shown by the
the client. That is not perfect, and maybe a forking model as used by Simon's RServe would be
better, though it would require a rewrite of RInside. Not sure if we get there
anytime soon. And for simple applications not facing legions of concurrent users, the singleton should still work. It's a proof
of concept at this point. Feedback welcome, and RInside and
Rcpp questions should go to the rcpp-devel list as usual.
Andrew Cowie blogs about 'A good GNOME 3
Experience'.
He writes
I think it s a bit odd not to expect that something that was widely advertised as being such a different user experience is different.and
if they had gone and bought an Apple laptop with Mac OS X on it they would be perfectly reasonably working through learning how to use a new Desktop and not complaining about it at all. But here we are admonishing the GNOME hackers had the temerity to do something new and different.I think Andrew's phrasing here is a bit disingeneous. Or perhaps he genuinely mistakes the frustration that has been felt by GNOME 3. I don't want to whine on too much, so I'll try to get this out of the way in one paragraph. F/OSS users are members of a community. There is inevitably a wall between the majority of community members and the blessed: the decision makers, the developers. The art of maintaining a good community is partly to do with making this wall as invisible as possible: encouraging participation, lowering the barrier for contributions; welcoming feedback; etc.1. The GNOME community have invested a lot into the GNOME 2 way of doing things, and GNOME 3, by breaking away from that so fundamentally, has devalued the community's investment. It screams: we don't want your panel widgets! We don't want your themes! Your working practices are wrong: this is the right way! GNOME 3 is opinionated software, and it's opinion differs from a large body of the GNOME community. The result? resentment. Remember: GNOME 3 is not just something new: it's the abrupt termination of something old, tried and tested. and hopefully that's the last time I need to vent about my GNOME 3 frustration. It's hear to stay, the question for the frustrated is: are you? Moving on Andrew goes on to recommend:
One thing I do recommend is mapping (say) CapsLock as an additional Hyper You do the mapping in: System Settings Keyboard Layout Layout tab Options..I used to do this with GNOME 2, but I couldn't find how to do it on GNOME 3. Andrew's post gave me the important hint that it was still possible, but the precise location doesn't match: On my Fedora 16 / GNOME 3.2 system, it's System Settings Region and Language Layouts Options ". This is especially useful on my beloved UltraNav keyboard which lacks the Windows 95 keys. Sadly it does not work very well through various remote desktop tools: I get an inconsistent capslock state within VMs connected to via
VNC. rdesktop seems ok.
In september I visited Brussels, Belgium. EPFSUG had kindly invited me
to give a talk about FreedomBox in the European Parliament, and together
we extended to also visit other organizations - both grassroots and more
formal.
I returned home exhausted but also fuelled with renewed energy and
passion, and decided to engage in more such activities. Also, an old
promise of mine to visit friends in the Aceh region of Indonesia
(whom I met in Taiwan a few years back) rumbled in the back of my head.
After a bit of juggling with travel routes and sponsoring options, my
course was set for a 2 month journey with Debian Pure Blends as main
theme:
The translation, partly from my memory and partly with the help of Google Translate, is:
Radio Amateur Association of the Dodecanese, SZ5RDS Our friend and radio colleague KR0L JOHN GOERZEN, who visited the island, has our recognition as an HONORARY CLUB MEMBER. PRESIDENT KAVALAKIS PANAGIOTIS SV5AZK (Panos) SECRETARY PAPADIMITRIOU CHRISTOS SV5DDT RHODES Oct. 5, 2011(I hope that any Greeks reading this will send me corrections.) I truly appreciated that gesture and meeting all the people in the club. On the way back to the hotel, Lakis and I stopped by a restaurant, which I believe had the best souvlaki I ve ever tasted thanks! We brought some back for Terah. She had chosen to stay at the hotel that evening and had a small hotel meal earlier, but enjoyed the souvlaki and pita. Terah had explained to the ma tre d that I wasn t along that evening because I had gone to an amateur radio club meeting. Judging by the surprised reaction, this was probably the first time they had heard that particular comment! Experiences like this make travel fun and worthwhile. Thank you very much, Lakis and everyone in the club I hope to have a chance to visit again.
When George Papandreou announced its will to submit the European help program to the approbation of the Greek people, I don t know whether he wanted to scare people, but man, he really achieved something. From Wall Street to the Bundestag, through the lys e Palace, they are all in a state of advanced panic. There s a joke that s been circulating since: for next Hallowe en, disguise yourself as a referendum.
Yes, these guys are afraid. Afraid of the people. They are afraid because it is now clear that their interests are not the same as the interests of the people. And what do you do when you are afraid? Well, you find yourself some way out, often by lying.
And indeed, Mrs Merkel and Mr Sarkozy have been repeating over and over something that has been then repeated over and over by most so-called journalists: that Greeks can only choose between two endings:
3. they don t pay their debts to banks and rich people, and they stay in the Euro zone.It s as simple as that: nothing in European treaties can force a country to leave the Euro zone. And nothing in these treaties can force a country to honor their bonds. Greece is a sovereign state and, as such, can choose not to honor its sovereign debt. And choose to stay in the Euro zone: why would they want to go out? What does it have to do with the currency those bonds have been emitted in? If California were to cease payment of its public debt (something not likely to happen at all, hmm?), would it have to abandon the Dollar? But here is a thing that has been forbidden for a long time in European treaties: for a country to help financially another one to pay its debts. This rule was introduced by Jacques Delors (a man who knows what being European means) precisely in order to avoid the contagion we are facing currently because of stupid help plans all across Europe. Yes: the whole idea of Merkozy s grand plan to save Euro while helping Greece (a weird kind of help, starving people, really) is illegal. So in addition to being liars, Mrs Merkel and Mr Sarkozy are delinquents. So let Greece cease payment of its debt. A few banks will sink: so what? This will create less unemployment than letting our whole economy sink. European States will guarantee citizens savings up to 30 k , that s one of the other clever European rules (some countries guarantee more). Other people, rich people only, will lose their savings. Will that prevent you from sleeping? Not me. But that could prevent from sleeping a number of friends of Mrs Merkel s and Mr Sarkozy s. And wouldn t that be a good reason for lying and violating European treaties?
Even though some three months have passed since DebConf11 has successfully ended, I still wanted to give you just a glimpse on how some parts were played through the eyes of a lunatic (read: organizer). Of course, blog post can t come close near of explaining anything but at least it should give some insight and hopefully some pointers to the future DebConf organizers.
If you don t feel like reading this much text you can listen to last episode of This Week In Debian podcast and after it just head to Beginning of the end part.
DebConf11
First of all I d like to apologize if I offended or hurt anyone in this whole process as it wasn t my intention and during DebConf organization this is nothing irregular, for you to get hurt or you hurting somebody else. One thing that got stuck with me this whole time is when Mart n Ferrari approached me after I did bid proposal of Bosnia/Herzegovina for DebConf11 back on DebConf9 and told me you have no idea what you just got yourself into I played cool and said something along the line of coure I do and boy did I lie.
During DebConf organization you re bound to make some of your decisions instantaneously in which you ll lose something, the most you can do is assess what s the thing you can cut the cord on, even though if that thing or a person for that matter might have meant something to you. You ll lose things, relationships, friendships, contacts at the times sense of humor and maybe even common logic. Some of it comes back to you, some the very next day and for some it may take longer. Some of it was lost irreversibly, but even in that case it wasn t lost and could even be traced to some other cause.
One thing that I m thankful for is that I didn t In 1965, I was stationed at the Fleet Anti-Submarine Warfare Center in San Diego. I was a Radioman 2nd. Class in the USN, at the time. One evening, at our radio club station (W6DCM different license holder, now), I called CQ and got UA KKC (it s no longer around), with Ivan at the mic. After a time of the usual signal reports and such, we asked what each did in their lives I said that I was US Navy radio operator. He answered that HE ALSO was a Navy radio operator in the Soviet navy. Then we discovered that his station was at the SUBMARINE base at Vladivostok, and I of course was his DIRECT opponent. Yes we really DID laugh at that, and I shall never forget what he said (that I heartily agreed with): Thomas, isn t it shame that we re supposed to hate each other? Yes, Ivan, it is someday we ll share a vodka, da? Da , he replied.We re often told we should hate people. Messages I have heard on the media over the last 10 years have said we ought to hate illegal immigrants, CEOs, radical Muslims, the French, Iranians, Mexicans, presidents, UN diplomats, climate scientists, oil company employees, Chinese people, conservatives, liberals, religious people, atheists, and oh yes, still Russians. But I get to choose who to hate, and in fact, I choose NO HATE. Not only does it keep my stress level way lower, but it also lets me enjoy life more, and makes the world a better place. We can all talk to people in other countries and with other backgrounds and viewpoints so easily thanks to the Internet. Sadly we rarely have very deep online conversations to the point of getting to know people. For whatever reason, ham radio lends itself to that better. Even better: visit other places. I wonder how many people that say they hate some group of people have visited them and made an effort to make a connection? It is, after all, really hard to hate someone that is kind to you. Perhaps they re afraid to let go of their hate. Think also about this: for whom is it convenient if you hate people? There is usually a reason that hatred is stoked, and it doesn t usually lead to good things for individual people. Tom W0EAJ added:
I actually tried to locate him and the station, but both appear to have vanished. Ivan (his name was pronounced Eee-von) could have, it occured to me later, gotten into trouble for saying such things. I think both of us realized AT THE TIME, what an astounding counterpoint each of us was to the other. Proof that if it were left up to the simple little guys like us, and not to the politicians, we might actually pull off living in peace.
Today I was wondering that I had almost no new mail in my inbox in the morning. After a while I decided to have a look into the server logfiles . so I learned that postfix wasn t able to deliver mails via lmtp cause of:
Oct 7 07:45:56 post cyrus/lmtpunix[307]: DBERROR db4: Logging region out of memory; you may need to increase its size
Oct 7 07:45:56 post cyrus/lmtpunix[307]: DBERROR: opening /var/lib/cyrus/deliver.db: Cannot allocate memory
Oct 7 07:45:56 post cyrus/lmtpunix[307]: DBERROR: opening /var/lib/cyrus/deliver.db: cyrusdb error
Oct 7 07:45:56 post cyrus/lmtpunix[307]: FATAL: lmtpd: unable to init duplicate delivery database
Oct 7 07:45:56 post cyrus/master[754]: service lmtpunix pid 307 in READY state: terminated abnormally
Seems like this can be fixed with:
/etc/init.d/cyrus2.2 stop
cat< /var/lib/cyrus/db/DB_CONFIG
set_cachesize 0 2097152 1
set_lg_regionmax 1048576
EOM
/etc/init.d/cyrus2.2 start
Looking more closer into the logs, it turned out that this trouble started last night when I connected with a client running the soon to be released Ubuntu Oneiric Ocelot using the new kmail2.
So it looks like the KDE/Ubuntu folks broke again kmail (or any KDE subsystem), as it also has troubles when migrating over from kmail(1) and it looks like it s not able to access most of the imap subfolders. Well done!
The last month I was supposed to work on a OpenStack related
project, but for administrative reasons it has been delayed and I've tried to
do small tasks to be able to finish them quickly and start the work on the
main project when the issues get solved.
As the delay has been longer than expected last Wednesday I've realized than
on the last weeks I did a lot of small system administration tasks:
Is there a syscall to ask the system whether a file is sparse in a
particular region? I.e., if I say dd if=/dev/zero of=./foo seek=10
count=10, then I should get a "yes" for the first half of the file,
but a "no" for the second half.
Case in point: I need to write a test for the newly-implemented NBD_CMD_TRIM
which uses fallocate with the FALLOC_FL_PUNCH_HOLE
option to sparsify a file.
kthxbye,
For the longest time, I went by the nick "Yoe" when I went on IRC.
When I chose this nick for myself, I was sixteen, and the Internet
computer at the local public library had an IRC client installed that I
tried out. Obviously, my first choice of nick -- "wouter", a fairly
common first name in Dutch-speaking regions -- was already chosen, so I
had to come up with something else. If I'd realized that I'd still be
using this nick today, seventeen years later, I might have
chosen that nick with a bit more care...
Over the years, some people have asked me what the nickname meant,
where it came from. I've never really told anyone the entire story,
mainly because it was somewhat embarrasing. But hey, we've all been 16,
right?
In the early nineties, there was a show on TV called "Het huis van
wantrouwen". On this show, they had a running joke involving a short
clip of Belgian members of parliament informally voting on a subject by
raising hands (literally); the joke was that this clip was dubbed with a
bunch of people saying "Yoe, de manne" -- which is dutch for something
along the lines of "Yo, guys".
As a young geeky teenager, I found this joke way more funny than it
actually was; and as such, a few years later, during one of the more
weird episodes of my life, I started pranking people by sneaking up to
them from behind and shouting "Yoe, de manne" right next to their ears.
I even managed to do this to one of our teachers who was walking on the
playground.
This was just around the time when I first tried out this "IRC"
thing. It didn't take me too long to realize I was the only
person who thought this "joke" was funny; but somehow the nick stuck,
and here we are, 17 years later, I'm still using it.
Or, well, I was. As of today, if you want to catch me on
IRC, you'll find me going by "wouter" instead of "Yoe". Of course
someone had registered that nick several years ago, but then he hadn't
been using it in years, and so after a quick request to the
OFTC admins they made it available for me.
Whee.
Next.