Search Results: "ina"

11 April 2008

Evan Prodromou: 22 Germinal CCXVI

It's been a long time since I've written on my blog; longer than I'd like. I really want to get back in the swing of it, if only to keep this entire site from bitrotting interminably. My Alexa ranking has dropped to like >1M, which in my Web-addled state means that my personal worth has dropped, too. I know, I know. tags:

Conference of the Americas: Cancelled I was sorry to see that the Wikimedia Conference of the Americas, scheduled for mid-May, has been canceled. There was some controversy when this conference was announced last fall; it partly originated from a bid by the Atlanta Wikimedia community to host Wikimania. I'm kind of sad to see that it's not going to happen. I like Atlanta a lot, and I think there is a really good case to be made for regional (or at least continental) Wikimedia conferences. I hope this isn't a nail in the coffin for such a regional event in North America. On the flip side, it'd be really nice to see a more detailed explanation of what happened; of what future plans for the COTA are; and just generally a little more communication. tags:

Elsewhere in wikidom That all said, things are looking really cool for Wikimania over the next 12 months. I'm really glad to see that my South American home-away-from-home, Buenos Aires, won the chance to host the 2009 Wikimania event. With 2008's event in Alexandria, Egypt, I think we've got some seriously interesting ground to cover Wikimedia-wise. Also of importance: if you haven't received an invite yet, get yourself over to RecentChangesCamp 2008. The wiki unconference will be happening for the first time in the Bay Area (California). We'll be meeting over May 9-11 in the offices of SocialText in Palo Alto. I can't say enough good things about RecentChangesCamp. It has been instrumental in my understanding of wikis and my connection with the worldwide wiki community. If you are at all interested in wikis or related concepts, you should think hard about coming to this conference. tags:

Brain bits
  • I think microrevie.ws is pretty cool. I got the 100th review today! Yay for me.
  • Speaking of twitter stuff, I dig twittermap, but I don't always remember to update. IWBNI there was a portal to/from Fire Eagle.
tags:

10 April 2008

Biella Coleman: Joe Reagle s Dissertation

Wikipedia, though increasingly becoming an everyday fixture for many in the Wired World, means a lot of different things to different people. If you want to take a fascinating look into what one person, Joe Reagle has written about this unwieldy project, community and encyclopedia, take a look here. He recently defended his dissertation and I have read it through and through a couple of times. It has some great insights about the significance and culture of Wikipedia by laying bare its cultural dynamics as well as putting it in historical context with similar encyclopedic endeavors.

Ian Wienand: Tips and tricks for your E3 Visa

Having recently been through the process, I've managed to come out the other-side with some some advice for anyone taking this on.
  • If anything really stuffs up you'll have to enter the US immigration services, which is no fun. If this happens to you in the Bay Area go straight to the San Francisco office; the San Jose office doesn't have deferred inspections so you'll probably just have to go there anyway.
  • Your dependent on the E3D Visa will need to fill out an I-765 work authorisation form. This will take up to 3 months to process; you can find out the approximate queue time here. The form doesn't appear to have been updated for E3D; I would strongly recommend getting a lawyer to file it for you so you don't stuff it up. Budget about $400. After this has been processed, the dependent will then need to file for a SSN before they can be paid.
  • Tax is a black-art. In California expect to pay something like 20-25% federal, 10% state and up to 7% more for Medicare and social security. Expect another $80/month for health insurance.
  • You can get a bank account without a SSN easily. A good way to transfer money is OzForex, but watch out for fees on the US side (you may have to do wire-transfers which cost about $10 a go, though some banks have bill-pay). The country still runs on cheques for some reason.
  • You can rent without a SSN, but it will cost you. Budget for 2 months extra rent as deposits and paying ahead.
  • A car lease is probably a good way to go. Finance will usually look at your visa and only give you a two-year loan, and with no credit that will be at a very high interest rate. In California you can get a 2 year lease on a base model new car (sticker price ~$17,000) drive-away for a down-payment of about $2500 and then $250/month plus taxes. Insurance will be about $120/month on-top of that. The beauty is you just give it back when you go home. For long holiday trips SUV rental may contribute to global warming, but is a very comfortable way to see the country.
  • In California you'll need to book in for a driving test to get a license; you can't do this in a rental car but some local driving schools offer a short introduction course and then let you use their car for the test.
  • If you're living in temporary accommodation without great facilities Dream Dinners is a good way to easily get some meals together.
  • In the Bay Area, Yelp is an awesome resource.
  • Comcast make Telstra look like a well-run, efficient and customer focused organisation!
  • Feel free to drop me a line if you're thinking of taking an opportunity and have any questions.

    9 April 2008

    Christian Perrier: Screwing samba packages

    A few days ago, I just screwed the samba packages maintenance. It's been quite some time since we were preparing Samba 3.2.0 packages. Upstream has not published a release version, only pre-releases. The release was planned for next week but will not happen as some last minutes issues have been found in pre-releases. Anyway, we had ready packages for 3.2.0 pre-release 2....which were planed to go to experimental. However, these packages were under preparation for quite a while, so when I finally agreed with Steve Langasek that it's OK to upload, I built and uploaded the packages. Then got a good laugh when discovering that I forgot "UNRELEASED" as target in debian.changelog. It was late, I then "s/UNRELEASED/unstable" as I often do in such case....then uploaded...then forgot about the issue and went to something else. The package went through NEW (it has a new binary package) and 1 or 2 days later quietly entered unstable. ...which I discovered only the next day, when it was way too late to remove from unstable something that was meant for experimental. All this explains why samba packages now use an epoch...:-) Things are back to normal now. Unstable has 1:3.0.28a-2 and experimental will hopefully have 3.2.0~pre2 soon. Next week I go to the Samba annual conference. I'll probably spend some time hunting down some bugs in the package and discuss with upstream about some of the issues we have (old bugs, FHS patch, upstream's .deb packages). And maybe also get better ideas about Samba 3.2.x schedule, to be able to decide with Steve and Noel which release is the target for lenny: 3.0.28* or 3.2.x.

    Gunnar Wolf: Some Rails plugins: acts_as_catalog

    As stated yesterday, I have recently worked on some plugins for Ruby on Rails, and I do think they are usable (and useful!) for audiences larger than myself. So, today I'll present here the second such plugin.
    acts_as_catalog implements a really simple but really common pattern - Catalog-tables (or should I say catalog-models?) Granted, the amount of code this plugin saves is not very large, but it does add maintainability for our code-base, and includes basic unit tests. Of course, you can also taka a look at its SVN repo. Models A catalog is defined as a table with only a name column of string type, and with a unique index on it (this means, does not allow for duplicate values). Of course, more attributes can be added to a model which acts_as_catalog - they will just be ignored by this plugin. This plugin allows you to specify your model definition as:
      def Mytable < ActiveRecord::Base
        acts_as_catalog
        belongs_to :some_other_table
      end
    
    A catalog is often accessed to populate i.e. drop-down selection or radio boxes, passing what is called collections in Rails-speak. You will often want collections to be sorted by ID or by name, thus:
      collection = Mytable.collection_by_id
      another_col = Mytable.collection_by_name
    
    Migrations You can specify all the catalogs you need to create for a specific migration with a single instruction from inside your self.up method, by giving a list of catalog table names to create_catalogs:
      def self.up
        create_catalogs :countries, :states
        ...
      end
    
    Likewise, you can destroy the created catalogs in a single command. The
    drop_catalogs method will usually be the last thing you call in self.down:
      def self.down
        ...
        drop_catalogs :states, :countries
      end
    
    Tests This plugin provides the base functionality to include in your unit tests ensuring the catalog is properly declared. Just include ‘catalog_test_helper’ and include the CatalogTest mixin in your test classes, declare the model name, and off you go. This is, a complete unit test for you Mytable catalog model could be:
      require File.dirname(__FILE__) + '../test_helper'
      require 'catalog_test_helper'
      class MytableTest < Test::Unit::TestCase
        include CatalogTestHelper
        def setup
          @model = Mytable
        end
      end
    

    Anthony Towns: Select and Python Generators

    One of the loveliest things about Unix is the select() function (or its replacement, poll()), and the way it lets a single thread handle a host of concurrent tasks efficiently by just using file descriptors as work queues. Unfortunately, it can be a nuisance to use – you end up having to structure your program as a state machine around the select() invocation, rather than the actual procedure you want to have happen. You can avoid that by not using select() and instead just having a separate thread/process for every task you want to do – but that creates a bunch of tedious overhead for the OS (and admin) to worry about. But magically making state machines is what Python’s generators are all about; so for my little pet project that involves forking a bunch of subprocesses to do the interesting computational work my python program wants done, I thought I’d see if I could use that to make my code more obvious. What I want to achieve is to have a bunch of subprocesses accepting some setup data, then a bunch of two byte ids, terminated by two bytes of 0xFF, and for each of the two byte inputs to output a line of text giving the calculation result. For the time being at least, I want the IO to be asynchronous: so I’ll give it as many inputs as I can, rather than waiting for the result before sending the next input. So basically, I want to write something like:
    
    def send_inputs(f, s, n):
    	f.write(s) # write setup data
    	for i in xrange(n):
    		f.write(struct.pack("!H", i))
    	f.write(struct.pack("!H", 0xFFFF))
    def read_output(f):
    	for line in f:
    		if is_interesting(line):
    			print line
    
    Except of course, that doesn’t work directly because writing some data or reading a line can block, and when it does, I want it to be doing something else (reading instead of writing or vice-versa, or paying attention to another process). Generators are the way to do that in Python, with the “yield” keyword passing control flow and some information back somewhere else, so adopting the theory that: (a) I’ll only resume from a “yield” when it’s okay to write some more data, (b) if I “yield None” there’s probably no point coming back to me unless you’ve got some more data for me to read, and (c) I’ll provide a single parameter which is an iterator that will give me input when it’s available and None when it’s not, I can code the above as:
    
    def send_inputs(_):
    	# s, n declared in enclosing scope
    	yield s
    	for i in xrange(n):
    		yield struct.pack("!H", i))
    	yield struct.pack("!H", 0xFFFF)
    def read_output(f):
    	for line in f:
    		if line is None: yield None; continue
    		if is_interesting(line):
    			print line
    
    There’s a few complications there. For one, I could be yielding more data than can actually be written, so I might want to buffer there to avoid blocking. (I haven’t bothered; just as I haven’t worried about “print” possibly blocking) Likewise, I might only receive part of a line, or I might receive more than one line at once, and afaics a buffer there is unavoidable. If I were doing fixed size reads (instead of line at a time), that might be different. So far, the above seems pretty pleasant to me – those functions describe what I want to have happen in a nice procedural manner (almost as if they had a thread all to themselves) with the only extra bit the “None, None, continue” line, which I’m willing to accept in order not to use threads. Making that actually function does need a little grunging around, but happily we can hide that away in a module – so my API looks like:
    
    p = subprocess.Popen(["./helper"], stdin=PIPE, stdout=PIPE, close_fds=True)
    comm = communicate.Communication()
    comm.add(send_inputs, p.stdin, None)
    comm.add(read_output, None, p.stdout, communicate.ByLine())
    comm.communicate()
    
    The comm.add() function takes a generator function, an output fd (ie, the subprocess’s stdin), an input fd (the subprocess’s output), and an (optional) iterator. The generator gets created when communication starts, with the iterator passed as the argument. The iterator needs to have an “add” function (which gets given the bytes received), a “waiting” function, which returns True or False depending on whether it can provide any more input for the generator, and a “finish” function that gets called once EOF is hit on the input. (Actually, it doesn’t strictly need to be an iterator, though it’s convenient for the generator if it is) The generator functions once “executed” return an object with a next() method that’ll run the function you defined until the next “yield” (in which case next() will return the value yielded), or a “return” is hit (in which case the StopIteration exception is raised). So what we then want to do to have this all work then, is this: (a) do a select() on all the files we’ve been given; (b) for the ones we can read from, read them and add() to the corresponding iterators; (c) for the generators that don’t have an output file, or whose output file we can write to, invoke next() until either: they raise StopIteration, they yield a value for us to output, or they yield None and their iterator reports that it’s waiting. Add in some code to ensure that reads from the file descriptors don’t block, and you get:
    
    def communicate(self):
        readable, writable = [], []
        for g,o,i,iter in self.coroutines:
            if i is not None:
                fcntl.fcntl(i, fcntl.F_SETFL, 
                            fcntl.fcntl(i, fcntl.F_GETFL)   os.O_NONBLOCK)
                readable.append(i)
            if o is not None:
                writable.append(o)
        
        while readable != [] or writable != []:
            read, write, exc = select.select(readable, writable, [])
            for g,o,i,iter in self.coroutines:
                if i in read:
                    x = i.read()
                    if x == "": # eof
                        iter.finish()
                        readable.remove(i)
                    else:
                        iter.add(x)
                if o is None or o in write:
                    x = None
                    try:
                        while x is None and not iter.waiting():
                            x = g.next()
                        if x is not None:
                            o.write(x)
                    except StopIteration:
                        if o is not None:
                            writable.remove(o)
        return
    
    You can break it by: (a) yielding more than you can write without blocking (it’ll block rather than buffer, and you might get a deadlock), (b) yielding a value from a generator that doesn’t have a file associated with it (None.write(x) won’t work), (c) having generators that don’t actually yield, and (d) probably some other ways. And it would’ve been nice if I could have somehow moved the “yield None” into the iterator so that it was implicit in the “for line in f”, rather than explicit. But even so, I quite like it.

    Holger Levsen: random bits

    Instructions how to use etchanhalf kernels are available too, please report problems to the mailinglist mentioned there.

    I still have oldworld powerpc hardware to give away, if someone wants to have those for testing the new snd-powermac driver or whatever, please contact me. Appearantly my mail didn't make it to the powerpc list when I originally sent it, so I've just resend it.

    Today I will switch the second PCs of my parents to Debian etch. They seem to like it and "Gnome is not really different than Windows" ;-)

    Kartik Mistry: Can you see anything like this in BLR?



    Can you see anything like this in BLR?
    Originally uploaded by aanjhan
    No, I will not see :)

    Michal &#268;iha&#345;: Similarity in project names

    While looking at poll about Czech open source for first time, I was surprised that two of my projects got in - phpMyAdmin and Wammu. After looking again at that page I noticed there is a typo in phpMyAdmins name, it was written as phpMinAdmin. Then I looked even more carefully and even URL it is pointing to is something different. In this time I realized that it is something completely different with just very similar name. phpMinAdmin is some minimalistic clone of phpMyAdmin, but why they could not choose a bit more different name? PS: Anyway you can still vote for Wammu in Czech open source :-).

    8 April 2008

    Russell Coker: Olympics and Politics

    The latest news related to the Beijing Olympic games is that Kevin Rudd (our Prime Minister) has said “It is absolutely clear that there are human rights abuses in Tibet. That’s clear-cut; we need to be upfront and absolutely straight about what’s going on,” - stating the obvious really. If that was all that happened then it wouldn’t be particularly interesting. The paper version of “The Age” quotes George Bush as seconding Kevin Rudd’s statement. I believe that this is quite significant. Bush is well known for being stupid, the fact that he is now following the example of someone else who is doing good things is a very positive thing for the world. When John Howard was our Prime Minister we had an idiot (Howard) following an even bigger idiot (Bush) and the result was not good. Kevan Gosper (an Australian IOC board member) said “They just take their hate out on whatever the issues are at the time, and that hate against the host country is being taken out on our torch“. People who are totally corrupt sometimes seem confused when other people are motivated by moral principles, maybe we have a culture clash between the corrupt IOC board and the attitudes of most people in the rest of the world (I can’t think of any other way to map Kevan’s statement to reality). Mr Rudd has confirmed that Chinese “security guards” (soldiers) will not be permitted to operate in Australia to protect the Olympic torch from protesters, but the “security guards” have been operating in the UK. I read about this on the web site of The Age, but I won’t link to them because they have a lot of broken links with the following explanation - I am not going to link to sites that are so transient in nature (linking to The Age would lower the quality of my blog). Incidentally does anyone know of a news service in Australia that has reliable pages which stay online? We could not find the page you requested. This is often because older content has been removed from our site. In most cases you can still find the item via our archive service, News Store, where you can buy articles for a small fee. It also has the following text which indicates that the most visible problem is probably transient, but the fact that they deliberately break links is unacceptable to me: If you reached this page from a link on our site, please contact the webmaster (choose Technical faults) and tell us the address of the faulty page and the address shown for this page. The MSN article about the meeting between Bush and Rudd also had an interesting quote from Nancy Pelosi (speaker of the house in the US congress) [1]. She said “As I said in India last week where I met with His Holiness the Dalai Lama, if freedom-loving people throughout the world do not speak out against China’s oppression in Tibet, we have lost our moral authority to speak out on behalf of human rights anywhere in the world” and that the IOC made a mistake in awarding the games to China. Pelosi is not known for being left-wing (the US Democratic party is centrist/right by the standards of most democracies) so it’s interesting to see her take a stand on this issue. Erich Schubert has written about this, he points out that the Olympics are not about sports [2]. Well of course the Olympics are about money, drugs, and sports-science! I’m not sure that I agree with Schubert and Pelosi, the Chinese Olympics has focussed a lot of international attention on what China is doing - this has to be good for human rights. The Olympic games are a white elephant, running them costs a huge amount of money and there is no evidence that they actually make money for the host country once the opportunity costs are taken into account. Maybe we should give the Olympics to Zimbabwe or the Sudan next?

    Erich Schubert: Boycott Olympia!

    Olympia HandcuffsIn my opinion, the protests in London and Paris were great.China wants to use Olympia for promoting itself. All this is just a huge image campaign. This is why we should remind people on how cruel that regime is and how little it cares for human rights.Human rights are more important than the olympic torch.Turning a chinese PR campaign into a PR disaster is good.This is not about sports. Sports is what you do at home, not what is on TV. When I go dancing with my friends, that is sports. When I sit in front of the TV, it is not. I will not be watching the Olympics. When IOC representatives talk about it all being "only about sports" they lie - it's all about money.This is not out of disrespect for the athletes, but I cannot tolerate China using the Olympics as image campaign for being an equal member of the international community. All the new stadiums and so on - they're trying really hard to give the impression of a new china - when they actually have not changed at all.We need to signal China that if they want to be treated equally, they need to adhere to the same standards as all others - respecting human rights is the bare minimum, free elections and democracy are the next important step then.P.S. Please also do not buy Olympia swag. It's reported to be manufactured at less than half of the minimum wage even in China! It's pure exploitation!Note that I'm talking about a consumers' boycott, not an athletes' boycott. I do think that the athletes go there for the competitions.P.P.S. I don't think the Olympic games are fair anyway - I believe that many athletes are using doping (just the detection methods are insufficient). Otherwise we would not see new world records each year. And I believe the IOC is corrupt and maybe actually criminal; all they actually care about are their revenue streams, not the sports either.P.P.P.S. This blog is representing my own opinion only. Therefore it does not have or need a comment function. Use your own blog if your opinion differs.

    Erich Schubert: Licensing software

    If you are writing free software, choose your license appropriately. This can make a big difference with respect to adoption of your software.I'll just show you an excerpt from a Debian changelog:
    * DFSG version of Mono 1.9
      + Deleted the mcs/class/System.Web.Extensions/ directory as
        mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs
        is licensed under Creative Commons Attribution 2.5 which is not
        DFSG-free.
    
    Debian policy doesn't allow us to include Creative Commons Attribution 2.5 in the main Debian archive, since that license doesn't meet the Debian Free Software Guidelines, which are part of our social contract. Therefore we must and will remove such code.debian-legal summary for "main" Creative Commons licensesCreative Commons is aware of these issues:
    Creative Commons recommends and uses free and open source licenses for software.
    And then they suggest to use GPL. While there is a link in the right side menu to the Creative Commons page on licensing Software, they IMHO don't make this obvious enough. Their license chooser should include a central link "if you intend to license software, read this".Creative Commons even includes "wrappers" for common licenses: CC GPL, CC LGPL, CC BSDSo if you like Creative Commons because of this pretty "commons deed" human-understandable version of the license they offer, just use these wrappers. The "legal code" links will actually take you to the GNU or Opensource.org license pages.I'm not aware of a good reason to use an opensource license other than GPL, LGPL or 3-clause BSD, depending on how you want to allow your opensource code to be used in combination with non-free software. If you are contributing to a bigger project, choosing the same license as the main project is although a very good idea.

    Kartik Mistry: Late report: fossmeet@NITC, Calicut


    * With uncertainty principle playing in full form with me, I decided to go to Fossmeet@NITC. But, came to know that there is no bus tickets available! What to do? I called up dear tuxmaniac aka Aanjhan and he suggested me to go by taxi. wow. Pretty expensive it will be, I thought. What ever, we decided to go with burning (hip) pockets and the journey was terrible. I did such long travel (7 hours) in taxi after long time. Anyway, we reached at NITC around 6 AM. The Keralian atmosphere was excellent and I felt similar humidity like Mumbai and that made me a bit sad. Ah. The event was already kicked off the day before and I attended Praveen’s talk on openid while figuring out that wifi is not working for us (proxy and they didn’t care to let us know password etc). So, we headed towards lab and enjoyed some Internet while seating in ‘Foss for school children’ workshop. Lunch was ok, but I enjoyed talking with different people and it was nice talk with Ani Peter about current localization work from Redhat. These guys simply rocks! Got my conference tshirt before ‘Medium’ size is out-of-stock. We were eagerly waiting for our dear Pradeepto, and voila, he came and started his talk! I was attending his talk first time (always missed due to some or other reasons..). Excellent and interactive. No slides. /me need to learn something from this fellow! We were 100% tired at evening. So, first we changed to better ‘room’. Thanks to NITC co-coordinators who did quick action for this (Why we requested for changing room? Answer: The previous room had only one power-supply plug! and we want to do hacking at night!). We then headed towards ‘Malabar Palace’. Excellent South Indian food and beer. The next day — I was suppose to give talk on ‘Contributing to Debian’ but by some magic, the talk was disappeared from schedule. Sad. Anyway, we (me, tuxmaniac and pradeepto) gave live talk on ‘How to contribute to free software’. We used SVN, Bugzilla, Wiki, SF.Net and other tools (IRC!) to show how students can use these in college projects and make it much better and how it can lead to Free Software development. I did svn commit for KDE Gujarati (Idea stoled from Rusty’s talk at Foss.in/2007). We then decided to leave the place. The return trip was amazing. Pookat lake and Mysore Palace. Amazing places. We had nice dinner and Kamat Hotel and I bought one wood penguin too (Total number of Penguin toys=4, Now). I learned that Calicut is also known as Kozikode :)

    7 April 2008

    Jeff Bailey: Titanium cage

    During the surgery, the surgeons replaced two vertebrae with titanium cages. I hadn't a clue what that was, and they didn't have one handy to show me. I've managed to find a picture of one on the Internet, though:

    http://www.medscape.com/content/2003/00/46/53/465370/art-nf465370.fig1.jpg

    Cool, eh? On the next visit I'm going to ask them how they get the spinal cord to go through that, since I don't see any gaps to slide it through in the picture.

    In other news, I can finally lift my laptop now, so chatting with people on jaber can be done at a reasonable speed without trashing by wrists from typing on the blackberry. Yay!

    Also, Leif is definitely walking now. Craziness. I'll try to get some video soon.

    Neil Williams: Finally booked the flights!



    alt="I'm going to DebConf8, edition 2008 of the annual Debian
    developers meeting" />

    Sat 2nd 0725 LHR, 10:45 MAD, 12:25 MAD 1940 EZE.
    Sun 17th 21:45 EZE, 14:30 MAD (18th) 16:30 MAD 17:50 LHR

    Miriam Ruiz: Dunning-Kruger effect

    People who have little knowledge tend to think that they know more than they do, while others who have much more knowledge tend to think that they know less. That’s what Justin Kruger and David Dunning (both of Cornell University) demonstrated in a series of experiments they carried out. Incompetent individuals tend to overestimate their own level of skill, fail to recognize genuine skill in others and fail to recognize the extremity of their inadequacy. If they can be trained to substantially improve their own skill level, these individuals can recognize and acknowledge their own previous lack of skill. In one of their investigations, they discovered that 98% of university professors believed they were above the average, while that is obviously impossible statistically. Bright students, far above the others, considered themselves below their real skills, standard students saw themselves as above the average, while real bad ones were fully convinced of being among the best. In fact, the worse the person was, the most their conviction was that they were right. Even more, the most incompetent ones were incapable of realising the superiority of others, and they tended to think that the answers of the tests were the wrong ones, and not themselves. “Ignorance more frequently begets confidence than does knowledge”, quoting Charles Darwin. Most of the people react to this study with a smile, thinking about the incompetent people they know and how well this study describes them. It should be noted that everyone is incompetent about many things, and this effect affects all of us. How can a person realize that they’re wrong? The lesson that comes out of the study is that it’s really hard to find out, according to Dunning. His recommendation is not to trust just one’s own thoughts, but to ask for other’s opinions, especially before taking important decisions. Nobody should ever stop trying to improve and to learn, because it’s really difficult to know when to do it.

    Adrian von Bidder: Mail bounces: a usability problem

    Fundamental fact: non-technical people can't or won't read mail bounces. They (the bounces) are far too technical. Most people, even if they could understand them intellectually, most won't even try to read them. Their input channel gets jammed, their parser shuts down, whatever you want to call it. Obviously, this is extremely frustrating, especially because I take care that my spam filter never drops mail but always rejects it so that the sending mail server can generate a proper bounce. Proposed solution (and don't tell me this can easily be scripted in mutt. The people I'm talking about wouldn't even recognize mutt as an email program if they'd ever see one): Index all outgoing Message-Id's. When a bounce comes in for a known message, don't display it but display some kind of locally generated, friendly substitute with a direct 'correct address and re-send' button and a clickable link to the original message.

    Steve Kemp: so you might get lucky, and you might not

    Emacs
    One thing I do a lot is select a region of text, then have it replaced with the output of a command. The most common job is sorting a number of lines, such as "use XX:YY;" lines in perl scripts. Finally having gotten annoyed enough about how clunky shell-command-on-region was I wrote my own lisp function: Only after that did I discover M-x sort-lines. D'oh. Still I guess my solution is more general, and less difficult to use. (I find the use of the Emacs prefix troublesome to type; since you have to do it in advance - I almost always forget.) I also learnt of M-x list-matching-lines yesterday. Thats a new discovery which really rocks. (I can use "^sub " to find a list of subroutines, etc.)
    NEW-queue
    This could be improved, and fleshed out a lot if there were any interest. But its neat as-is:
    #!/bin/sh
    #
    #  Dump packages in the NEW queue.
    #
    #  This could be improved, perhaps:
    #
    #  --show-names --show-dates, etc.  Or just show all info in a table.
    #
    wget --quiet -O-  http://ftp-master.debian.org/new.html   \
     perl -ne 'print $1 . "\n" if ( $_ =~ /^<td valign="top" class="sid">([^<]+)<\/td>$/ )'
    
    I thought there was something similar in the devscripts package, or contained within debian-goodies but apparently not.
    ObQuote:Battle Royale

    Russell Coker: Links April 2008

  • Interesting Rolling Stone article about the US government encouraging idiot “terrorists” [2].
  • Cory Doctorow predicts a poor future for hardware e-book readers [3]. For my personal use a laptop is better for reading. In most cases when I’m going to do some reading I’m likely to want to write notes or be in a situation where I need my laptop for other purposes. So a laptop plus an e-book reader would be more weight and more battery problems than having just a laptop.
  • On page 2 of this article about what might happen if the source code to Windows was released freely [4] I am quoted. One thing I should note is that I have nothing against OpenSolaris, it’s merely one large project for which I could inspect the source if I didn’t have legal advice to the contrary. The situation of OpenSolaris may have changed in recent times, but I have not felt the need to seek further legal advice as there seems no real benefit in viewing the source. There is no shortage of GPL source that I would like to read if I had the time…
  • Location Independent - a blog about working from no fixed address and how to live on the move [5]. Should be of interest to all the people who seem fascinated by my living in hotels for ~18 months.
  • Martin Luther King Jr’s letter from a Birmingham jail [6]. Inspirational and it is also relevant when considering the positions that churches take today on moral issues. I found the link from The Reid Report blog [7] which is an interesting analysis of US politics.
  • Scientific American has an article about high altitude destroying brain cells [8], apparently this can happen even when there is no noticable injury and it is permanent. It seems that it would be a good idea to try and locate conferences to minimise air travel by delegates and speakers…

  • 6 April 2008

    Joey Hess: foolish and restless

    There was a big flood at Anna's today. I heard it was going down so I went ahead with my planned visit. In the field across the road, the creek was swollen to a lake at least 200 feet wide. At the ford, the water was only out of the banks of the creek about 30 feet on each side, and I could even see the bridge, but getting to it would have involved swimming. I went down the road half a mile, past the confluence of the two creeks, where it was very backed up (and nearly up to the road), and explored upstream to where the creek was back within its banks, but still several feet high. Found a tree down and had a thrilling trip over. Then I had to bushwack all the way back upstream to Anna's. The flood reached right up to the hillsides in most places, so lots of scrambling around hills. Finally, about an hour after arriving, I got in. With feet completly dry. Then we went around surveying for a couple hours -- when better to survey a near-swamp than when it's in flood. My dry feet -- not dry anymore. I kinda dreaded getting back out, since the waters were not going down much more. 2/3 of the way out, I hurt my knee slightly, and getting back across the deadfall was even more tricky. Lucy the dog walked across a more precarious tree at the same time, like it was nothing. Well, that was an adventure! Some day I want to see where this creek goes underground and supposedly passes under the Clinch river to emerge at Sinking spring.

    Next.

    Previous.