Search Results: "cas"

11 May 2007

Robert McQueen: Tubes and Planets

Daf blogged earlier about some of the work we’ve done thus far for the One Laptop Per Child project. Tubes (although the picture looks more like snakes if you ask me :D) are a really cool technology which should let the OLPC activity authors just work on their activity, and use D-Bus and Telepathy to take care of the communications. At the moment our implementation for Gabble (Telepathy’s XMPP backend) is pretty rudimentary and sends all data via the server, but this already lets us layer multi-user tubes over XMPP multi-user chat rooms and have it act like a bus where each member of the room is also a D-Bus endpoint. You can export objects, call methods and emit signals just as normal. Next up we’re going to implement them in Salut (the link-local XMPP backend, which we’ll use for communications over OLPC’s mesh networking) using good old TCP for the one-to-one connections, and some of Sjoerd’s more exciting link-local multicast stuff for multi-user tubes. To make tubes work for desktop clients we’re going to go on and look at more advanced Jingle-based ICE NAT traversal stuff. Maybe one of our next ports of call should be raw stream tubes for existing TCP protocols, then we can make a reality from X over Jabber (or whatever other protocol) that Matthew Allum was wondering about. :) I’ve also just stolen Planet Collabora from Daf’s home directory and put it on its own subdomain, so you can add it to your feed readers and keep track of what we’re up to with Telepathy, Farsight and friends.

10 May 2007

Martin F. Krafft: Drying ducks

Thanks, pixie, you made my day:
my very own duck towel
Now if only I could shower all by myself, I'd try it immediately. Or rather: I can shower alright, but still need someone to wrap my casted arms in plastic. And believe me, showering through plastic bags is really unsatisfying. Eleven days to go. Then those bloody things come off. I am looking forward that shower on 21 May even a bit more than I have at times craved the clean wetness during prolonged expeditions in the Alps or Asia. Now I am sure you didn't need to know all that. NP: Explosions in the Sky: The Earth is Not a Cold Dead Place

Piotr Roszatycki: Test::Unit::Lite

I like very much a Test::Unit framework. I've found it as a very handy tool for organising the tests. I really don't like the standard Test::Simple and its deriveratives. I don't understand why I have to see the output for each failed test. I rather like the do-or-die tests grouped logically as test units. Somebody write me a note for Exception::Base module that it depends on non-core Perl modules. It is not for runtime but build dependency. Even that, it is true, because Test::Unit is a somewhat heavy module and it depends on i.e. Errors. I decided to reimplement Test::Unit. So it is available Test::Unit::Lite already! It is much lighter replacement for original Test::Unit. It should be compatible for existing test suites. The intention was possibility of bundling the Test::Unit::Lite with other module distributions:
$ perl -MTest::Unit::Lite -e bundle
It copies the Test::Unit::Lite module to the inc directory in the distribution source. The Test::Unit module isn't perfect. The most annoying behaviour is the random order for calling test cases. The Test::Unit::Lite sorts the function names and calls it always in the same order. There is not so many Perl modules distributions that use Test::Unit. I hope a little that my package could change this situation and the test units will be more popular and easier to use.

9 May 2007

Anthony Towns: Torrenting the Debian Archive

Continuing the theme from my previous post – the first and fundamental thing any distro needs to have, and thus the first and fundamental thing to think about disintermediating, is some way of distributing software. That might be burning CDs and sending them out to resellers or OEMs, or having your stuff available for download, whether by putting it up on your own server, hosting it via a dedicated high-reliability provider like akamai, or maintaining a network of mirror sites and keeping them up to date. And, of course, anyone who wants to distribute their own software has to do the exact same thing – which either means doing it themselves, and not being able to take advantage of the scalability the distributor has already made work, or going through the distribution and dealing with the problems that entails, as well as the benefits. In this case, disintermediation and decentralisation are pretty much one and the same thing: and decentralising content distribution is already a well understood problem: that’s what peer-to-peer is all about, and peer-to-peer distribution of, well, distributions is already very successful – at least when it comes to CD (and DVD) images. Which means that just about anyone can create a CD image, and distribute it to the world in exactly the same way a major organisation like Debian or Red Hat would – upload a torrent file, run a seed, and let the magic of BitTorrent do its thing. Scalability is no longer something you need a distribution organisation to manage, instead it’s built directly into the technology itself. Unfortunately BitTorrent is designed for large static images – not something you update on a daily basis. And for better or worse, my preferred distribution (Debian testing, currently lenny) does update that frequently. Fortunately, though, BitTorrent’s an open protocol and has dozens of open source implementations – so last year I was able to propose it as part of the Google Summer of Code, and was lucky enough to get a few responses and a student to work on it. It didn’t get much further than that unfortunately – the student lost internet access not long into the programme (and for most of its duration), and that was pretty much that. So when this year’s SoC rolled around, I didn’t really expect much, and didn’t put the idea up for consideration again, but lo and behold someone came through and asked if it was still possible and if there was any more information, and when I forwarded on some of the mails from the previous year we ended up with a second chance at the project. So far it’s looking pretty good – we’ve had a lot more success at keeping in touch, and thanks to the extended schedule for the SoC this year we’ve been able to do a much better job of keeping on top of what’s going on. So much so, in fact, that there’s a first (alpha) release out before the SoC is officially due to start! Wonderful stuff! What it does at the moment is allow you to take a Packages file (the stuff “apt-get update” downloads, which includes descriptions of all the packages that are available, how they inter-depend, and so forth), and from that information create a usable torrent from which to obtain the packages themselves which can then be used to share and distribute the packages. There are two crucial steps in that: the first is allowing the torrent to work without requiring huge amounts of extra information to be distributed (which would introduce scalability problems of its own, instead of solving them), and the second is that the pieces that make up the torrent are selected in a way that matches the actual packages, so that when you upload a single new package, you are in fact only making a minor change to the torrent, rather than having it (on average) completely redefine half of the torrent (and again introduce scalability problems rather than solve them). There’s more information on the DebTorrent wiki page and Cameron’s blog if you’re interested. Anyway, it’s just an alpha release at the moment, which means while there’s code that does something, it’s not actually all that useful yet. The current plan is to next add some code to make it automatically prioritise packages based on what you’re actually using – so that rather than downloading all the debs it see, it’ll only download the ones you’ve got installed, or maybe only newer versions of the ones you’ve got installed, which should get us pretty close to the point where it’s actually useful for something. The end result, of course, is to build a tool that you can point at a Debian archive, run it on a machine connected to the Internet, and you won’t have to do anything more to have a reliable, scalable and reasonably efficient means of allowing your users to distribute and update their systems. In this case, scalable means that if you end up with as many users as Debian or Ubuntu, your users will have a comparable experience, as if you’d arranged for a similarly comprehensive mirror network, without actually having to do the leg work. And heck, presuming that works, it doesn’t even matter if no one else actually does that – it’s worth it even if it saves Debian or Ubuntu the effort of keeping track of a mirror network by hand. There are interesting possibilities at smaller scales too, of course. :)

8 May 2007

Martin F. Krafft: Linux pains #517: unregistering network devices

Somehow my network device does not want to recognise that it actually has a carrier. This being Linux (and not Windows), I thus decide to reload the driver, after taking down the network interface:
lapse:~# ip l dev eth0
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0a:e4:30:43:16 brd ff:ff:ff:ff:ff:ff
# notice: not UP
lapse:~# rmmod e1000
lapse kernel: unregister_netdevice: waiting for eth0 to become free.
  Usage count = 1
lapse kernel: unregister_netdevice: waiting for eth0 to become free.
  Usage count = 1
[...]
# goes on forever, uninterruptible; thus new shell:
lapse:~# ps u -C rmmod
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      5624  0.0  0.0   1656   480 pts/2    D+   00:02   0:00 rmmod e1000
As we all well know, state 'D' uninterruptible sleep means: reboot. Especially since I cannot ssh into the box anymore (doh!), and su and sudo just end up in state 'D' as well, if I try them. So, on to reboot. Or wait, that doesn't work as the shutdown process will hang long before the filesystems get unmounted. Great. It's become impossible to argue that Linux is the more stable operating system Update: a few people responded with workarounds, ranging from use of watchdog to automate the reboot (this is my laptop, so it's not really necessary) to various combinations of flags to /sbin/shutdown or the use of sysrq to force the system to reboot without cleaning up or unmounting filesystems essentially the same as pressing the reset button. Ben Hutchings says:
I think this happens when the driver repeatedly attempts to fix an error condition and keeps scheduling future work (retaining a reference to the device) rather than giving up.
I thus ended up filing a bug against the kernel.

7 May 2007

Enrico Zini: tg-override-sqlobject

Quirks when overriding SQLObject setters Let's suppose you have a User that is, optionally, a member of a Company. In SQLObject you model it somehow like this:
    class Company(SQLObject):
        name = UnicodeCol(length=16, alternateID=True, alternateMethodName="by_name")
        display_name = UnicodeCol(length=255)
    class User(InheritableSQLObject):
        company = ForeignKey("Company", notNull=False, cascade='null')
Then you want to implement a user settings interface that uses a Select box to choose the company of the user. For the Select widget to properly handle the validator for your data, you need to put a number in the first option. As my first option, I want to have the "None" entry, so I decided to use -1 to mean "None". Now, to make it all blend nicely, I overrode the company setter to accept -1 and silently convert it to a None:
    class User(InheritableSQLObject):
        company = ForeignKey("Company", notNull=False, cascade='null')
        def _set_company(self, id):
            "Set the company id, using None if -1 is given"
            if id == -1: id = None
            self._SO_set_company(id)
In the controller, after parsing and validating all the various keyword arguments, I do something like this:
            user.set(**kw)
Now, the overridden method didn't get called. After some investigation, and with the help of NandoFlorestan on IRC, we figured out the following things:
  1. That method needs to be rewritten as _set_companyID:
            def _set_companyID(self, id):
                "Set the company id, using None if -1 is given"
                if id == -1: id = None
                self._SO_set_companyID(id)
    
  2. Methods overridden in that way are alsop called by user.set(**kw), but not by the User(**kw) constructor, so using, for example, a similar override to transparently encrypt passwords would give you plaintext passwords for new users and encrypted passwords after they changed it.

Jesus Climent: On giving away laptops

After i wrote this entry, I received few comments on my blog from people asking me to send laptops to different parts of the world. Unfortunately I cannot do that. I have one spare laptop which will be taken to Edinburgh for Debconf7 and will be given away to a fellow Debian developer (or prospective developer) in need of such piece of hardware, but it will not be sent by post. My initial call was for a similar action from people with spare hardware which can be given away. Maybe one day I could start my own NGO to send laptops around the world for the needy, but right now that is not the case.

Jeff Licquia: The End

I was a little surprised to see a message of thanks for me and my old Progeny colleagues. Unfortunately, the news at Progeny’s home page was not good:
We are sorry to inform you that Progeny Linux Systems, Inc. ceased operations April 30, 2007.
It’s always a little sad to see a former employer go away, even when you feel the company brought its troubles onto itself. Imagine how much worse it is to see something die that you thought had a lot of potential, with fabulous co-workers, above-average management, and really good ideas. It’s often been said that competence and vision are not sufficient for success; without getting into the details, Progeny is now Exhibit A in making that case for me. I am grateful for having worked there, and am proud of what we accomplished. It wasn’t easy surviving the dot-com bust and building a new business model for ourselves. And it’s certain that I wouldn’t be where I am today without the opportunities Progeny gave me. I wish my former colleagues well as they find new jobs. Nearly everyone who passed through Progeny was top-notch, and would make excellent hires.

Pete Nuttall: Online Shopping

Dan has been complaining I haven't been ranting enough lately. I have been waiting for the Scottish elections to sort themselves out, because thats a nice mess and easily due some ranting. However, given the need for a placeholder, I wrote this little moan on the subject of internet shopping. Everyone knows that the future of shopping is online. Every year, more money is spent online. Christmas last year was marked by getting a few parcels a day from amazon. However, I find it fraught with all things of annoying problems. Over the last few days, I have attempted to buy a t-shirt and a bottle of whisky online, while buying a pair of sandals and a book offline. While the wo aren't the same, it was still instructive as to the problems of internet shopping. Taking money from shoppers. To actually take money from people has to be the most important part of running any sort of shop. However, it is someone hard for me, the shopper, to give websites my money. Consider the example of Geekz Shop. To pay them, it appears I need to have a paypal account[0]. On examining the paypal signup page, I see references to the FSA. While its good that Paypal are actually registered and regulated these days, it does strongly suggest that they are a bank, and as such opening a account with them is the same as opening a bank account with HSBC or someone. In other words, I need to open a new bank account just to buy a t-shirt. Thats a lot of hoops to jump though. In their defense, they did offer a collection of other ways to pay when emailed about it, but its still a lot more work than walking into a shop and giving them cash. In more general terms, as a shop, its important to make it as easy as possible for your customers to give you money. Its common to outsource this to someone else, but any general solution serving lots of sites will suck[2]. Of course, doing it yourself means you are stuck dealing with credit cards - which is a pain, or BACS which is a joke. Oh well. The next issue you have is giving people their goods. In a real shop, you hand them their goods and they carry it away (massive generalization). Unless you are selling somthing completely electronic, for example domains, then you have to get the goods to the person. Once again, running your own service is hard - far harder than your own online payment system. However, it and your website is the thing people see of your shop. The classic problem is late delivery. You have to make some sort of claim as to when goods will arrive, but getting it wrong will result in arguments. My best example of this is a christmas present bought off amazon last year - it arrived in January, despite amazon's claim of having it to me before christmas day. The other classic example of getting it wrong is the apple store. It doesn't quote a delivery time - instead it quotes a "ready to ship" time. This is the time needed for apple to put your purchase in a box and stick a label on it. The problem with this is that your poor customer thinks that his new mac is going to show up in a couple of days. It doesn't, so he is massively disapointed. You've disapointed the guy before your product has left your warehouse. Thats one step aay from employing a bouncer to beat your customers when they leave your store. Having thought that delivery problems are an issue, consider people returning stuff. If its hard, they just moan at their credit card company. If your support and sales folk are in a call centre and can't be reached, then they spend the next week explaining to their mates about how dire you are and why they would sooner deal with the devil than you. Oh, and neither email nor rt is a way to deal with this. The final problem with most online shops is usability. Usability is hard - full stop. Its harder to sell something when the customer can't pick it up and feel it. While some shops are quite good, the number that force me to think when filling out the checkout forms or looking for products is amazing. Its like they don't want my custom. From this, I have claimed that a good online store needs a good way to take money off customers, a good way to get goods to customers, a sane way to deal with problems and a usable website (Next week, I'm going to blog about how water is wet). However, lots of sites, including big ones, fail at this. I don't think internet shopping is going away, but I do think that the shops that fail to take money off folk, that have sites that can't be navigated, that give goods to couriers who "lose" them, will go out of business. I hope that most shops steadily improve on these areas, just so I spend less time being pissed off at them BTW: this post was inspired by my mother's attempts to buy photos of my graduation online (no - it hasn't happened yet). The site in question was apparently so confusing that she has given up and has asked me to buy them. Sorry for ranting.

6 May 2007

Michal &#268;iha&#345;: Gammu test version 1.10.6

I just released new version of Gammu, you can download it from download server. The biggest change is improved gnappled and it's support in Gammu. It also had to became incompatible with previous versions, so you have to upgrade it in your phone. Full list of changes: I currently do not plan further testing release before next stable one, but in case some serious problem is found, this can change. This time really :-).

Lars Wirzenius: Random thought: Free Thursday on May 10 at Teerenpeli, Helsinki

Open Tuesday is an attempt to build a regular meeting place for people interested in free software (open source), both technical and business people. The goal is to have an event the first Tuesday every month, and some company or another sponsors it by picking up the bar tab. It's fun. You meet people, and can chat about various things. Unfortunately, it isn't quite regular enough, and the website and mailing list aren't updated reliably enough, or early enough, that an event is happening. It is now Sunday evening, and I still don't know there's an event the day after tomorrow. There doesn't seem to have been one last Tuesday, which is sensible, since the first of May is a big hangover day in Finland; it's also an official holiday. Since it's fun to meet people like that, I am going to see if I can't get a "Free Thursday" event going. This is partly in competition with Open Tuesday, but a friendly kind of competition. I hope Open Tuesday will continue, since it's a different kind of event from Free Thursday. Free Thursday is simply people who want to have a drink with each other. No sponsors, no organization, no prepared talks, no web forums, no web site, just show up and have a good time. You'll have to pay for your own drinks. Free Thursday will happen the second Thursday each month at 18:00. The first event will be Thusday, May 10, at the Teerenpeli bar in Kamppi, Helsinki. In case people want to discuss or announce anything related to Free Thursday, I've set up a mailing list. E-mail free-thursday-subscribe@liw.iki.fi to subscribe, and check the archives if you're not a subscriber. Posting is free to subscribers, everyone else gets moderated; this is for preventing spam, all non-spam will be allowed through. Please come, and please spread the word. Now, if someone will start a "Net Wednesday" event, all will be perfect.

Alastair McKinstry: The God Delusion, by Richard Dawkins

The God Delusion by Richard Dawkins is an 'Atheism Consciousness-raising book', according to the author. It makes the case for Atheism, saying Atheists should stand up and be counted, and stand against the growing tide (in the U.S. in particular) of irrationality and belief. Although as one of Atheisms most visible proponents Dawkins has 'make converts' to the cause, in this book he is mostly speaking to the converted, presenting the evidence. The book documents the main arguments in favour of God. These are dismissed fairly abruptly; while a lot of pages are taken up going into them, they are probably not a comprehensive list. A book by a theologian or believer would probably be a better source for such a list. Nevertheless, Dawkins as a scientist does consider and list the opposing arguments. As presented however, they are extremely threadbare and easily dismissed. Mostly they are backed up by a willingness for people to take God (and Theology!) seriously: since so many people believe in God, it must be taken seriously, or so the reasoning goes. Not so: the proofs of Gods existence don't stand up and should be dismissed. Dawkins makes the case that we should instead of investigating God, investigate why people believe in God, given the lack of evidence. He gives some good hypotheses in terms of Darwinian thinking: reasons why faith, accepting what your parents said without evidence, has survival benefits, that in other circumstances lead people to believe nonsense stories with faith. Another under-estimated problem is the different definitions people have for 'God' and 'religion'. Most people from a Christian / Judaic background have a habit of framing belief and Religion in terms of the religion they grew up in. They may accept that you have a different God(s), but still view God(s) as something you pray to, that intercede on your behalf, etc. By confusing all the different aspects given to 'God' in the Christian tradition, they think that if you have 'proved' one of them, all the rest follow. If you prove / claim that something created the Universe, and label that God, then, they imply, there must be one overall, kind, monotheistic God, Jesus died on the Cross for your sins, that God will change the laws of physics to suit you (miracles), etc. Not so: all you have done is label something, not proved your religion. Dawkins (rightly) dismisses Buddhism, etc. as 'principles for living' rather than religions for the purposes of this book, and we need to be careful what we call religion, too. Dawkins also makes a good case against Agnosticism. He argues we should be more forthright and say we are Strongly Atheistic rather than Agnostic. Agnosticism was created by Thomas Huxley to explain his beliefs. He defined Athiesm is a positive belief in the lack of God, a proposition for which there is no evidence. He argued that, until we have proof that God does not exist, scientifically correct to consider ourselves 'sceptics' on this matter, and neither believe nor disbelieve in God. This sounds good, however in Science there are huge numbers of theories that in practice we have no evidence for either way that Occams razor mows down for us. We don't claim to be agnostic about them, we simply ignore them until they are actually needed to explain something. Which, given modern science and Darwins explanation of evolution in particular, God no longer is. The later chapters of the book cover whether, despite the lack of evidence, belief in God or Religion is a good thing, whether religion gives a moral purpose and direction to life, and defines a sense of "Good" that Atheists cannot have. For this he goes through the Bible with a disbelieving eye, pointing to the horrors of genocide that it promotes in the Old Testament, etc. He points out that we don't actually use the bible for moral guidance, but instead decide our own morality: we pick examples from the Bible a la carte to defend our choices. We don't decide, as an Old Testament interpretation would put it, that murder of an non-Jew is acceptable; that rape of an enemy is acceptable, that killing non-believers and witches necessary. Instead we pick examples to back up what we've decided already. If you're going to do that, stop pretending the Bible is giving you moral guidance and instead accept that we decide. Dawkins underestimates the social and ethnic aspects of religion. He is overly critical of religion, blaming it for much of the worlds violence, genocides, etc. It would be truer to say that Northern Ireland, etc. are examples of ethic rather than religious strife. "God says so" is just the ultimate argument. But conversely religion is a cohesive element in most societies. I suspect that a cause of the growth of christianity in the U.S. is that its proselytising nature goes out to be inclusive in Americas highly mobile society. When work, etc. causes people and families to move across the continent, they will find a church to welcome them into the community. Its against this background that atheists are the most distrusted minority. Shared beliefs, whatever those beliefs, bring neighbours closer. James Lovelock, (co-creator with Lynn Margulis of the Gaia Hypothesis) proposes that atheists can treat Gaia as an alternative religion, something to celebrate and to give moral direction to life. This I have sympathy with, that life is important, and to be celebrated, but not to be confused with something to be prayed to, or imagine that it is biased towards towards our existence. In these times when people are again using religion as a justification for war, claiming a "clash of civilisations", this is a book worth reading, but beyond deciding whether gods exist we need to understand why people believe. The Darwinian arguments are as Richard Dawkins points out, just a start, but I think more is needed to explain religion. Tags , ,

Russell Coker: permalinks in wordpress, Apache redirection, and other blog stuff

When I first put my new blog online I didn’t think to set the custom permalinks option to avoid having /index.php in all URLs (which wastes a few bytes and looks nasty). So I decided to change to better URLs but unfortunately many people have already bookmarked the bad URLs. I wanted to give a HTTP 301 redirection when someone uses the old index.php version (so that bookmarks get updated) and then redirect to the PHP file. Unfortunately having a redirection from ^/index.php to a version without it and then a local rewrite to include index.php again doesn’t seem to work (any advice would be appreciated). So I put the following in my /etc/wordpress/htaccess file (the location for such things in Debian) so that foo.php is used instead where foo.php is a sym-link to index.php. I’m wondering whether I should file a bug report against the Debian package requesting that a sym-link be in the package to facilitate such things - if it’s not possible to do what I desire without the symlink.
RewriteEngine On
RewriteBase /
#RewriteCond % REQUEST_URI  ^/index.php/?(.*$) [NC]
#RewriteRule . /%1 [R=301,L]
RewriteCond % REQUEST_FILENAME  !-f
RewriteCond % REQUEST_FILENAME  !-d
#RewriteRule . /foo.php%1 [L]
RewriteRule . /index.php%1 [L]
Update: I am now using the permalink-redirect plugin (thanks for the tip Method) which solves the problem of the obsolete URLs as well as solving the problem of having two representations of the URL (with and without a trailing slash). I have updated the above htaccess file sample to reflect my new configuration (with the old settings commented out for the benefit of people who don’t want the permalink-redirect plugin). The way Wordpress allows the table prefix to be stored in the MySQL configuration section is very handy. Some time ago I asked for advice on a blog server for multiple users and Wordpress-MU was recommended, but it seems that for most situations where you want multiple blogs the non-MU version of Wordpress will do the job. It seems that the main benefit of Wordpress-MU is that setting up multiple blogs doesn’t require running shell scripts, which for the cases I’m most interested in doesn’t compete with the benefit that the non-MU version has of being packaged in Debian. On the topic of Wordpress in Debian, it’s a pity that none of the plugins are packaged in Debian. I plan to create a repository for plugins and themes that I use if no-one else has started such a repository. I believe that a repository of Debian packages for such things will provide significant benefits to users, including updates for security reasons and having plugins that are known to work (some of the plugins appear to only work on Windows). Also there are a few issues that I would like to improve in Wordpress. One is that the Uncategorised category is selected by default so if I select another category and forget to de-select Uncategorised then it’s a little confusing. Another is that the categories are displayed in the side-bar without mentioning the number of matching posts. The way blogger lists the number of posts per category (and sorts the categories in order) is much more convenient. Also another advantage of blogger is the handling of archives where you can click on a month to see a list of the names of all posts in that month. I’m not about to go back, but it would be nice to have those features. Does anyone have any ideas how to solve these problems?

Evan Prodromou: 15 Flor al CCXV

Today is my one-year blogging anniversary. I started this blog on Journal/15 Flor al CCXIV, kind of trepidatiously and with ambiguous intentions. Now, a year later, I feel much more confident in the format and clear in my purpose. I've varied between an almost maniacally consistent one-post-per-day regimen to a more impressionistic, when-I-feel-like-it once-a-week schedule. I'll admit that I'm happier with the more frequent update schedule; I feel like I deliver more to the reader that way. I think the main thing I've enjoyed from having this blog has been the personal satisfaction in frequent and informal writings on my own schedule and to my own whim. Working with wikis makes a lot of my life about careful collaboration and consensus gathering, and having a place where I can speak out with my own voice on my own thoughts is really refreshing... and addictive. Most of all, I've enjoyed how having this blog has connected me with new people, and with friends I already had, in new and different ways. This year of blogging has been contemporaneous with a deepening of my connection with the Montreal technology community, and I can't help but think there's some causation involved. I think that my blogging is bringing me into a common medium and a common language with a group of people I want to spend time with. I've had some side effects I didn't anticipate, either. My family has started reading this blog, which means they know how I'm doing and what I'm up to more often than when I do once-a-week phone calls. And my more extended family -- aunts, uncles, cousins -- also read regularly. I can only wonder what they think about my complaints over various, say, Scheme module formats, but they seem to like it, too. Even Maj's mother reads it (hi Rita!). I think that m-c's 10 reasons to blog really hold true for me; it's good reading with a year's perspective behind me. I'm looking forward to the next year and what it has in store. tags:

Great day It was actually a great day for a blogiversary. Last night, Maj went out with her friend Sam for Sam's birthday, so this morning Amita June had a very quiet breakfast and then went out to Best Buy to do some shopping. I just bought a Canon MP600 printer, and toner cartridges weren't included in the package, so I had to go buy more. (Later, while configuring the printer, I found the toner packages in the bottom of the box. D'oh!) Amita fell asleep on the way home, so I just dropped her in bed. Maj and I walked through a brisk but sunny Montreal weekend afternoon down to the me dia offices, where Creacamp was already in full swing. There were lots of old friends and new ones, and the offices were light and airy and nicely connected. There was a talk by Guylaine Couture about her painted books, and by Luce Beaulieu about her awesome codesigner business, POSCH. Both really interesting. Of course my favourite talk was Anne-Marie's, about her great video series Music Spins the World (or La musique spin le monde). It's an incredible first-person series about her travel adventures with various rockstars to obscure and dangerous parts of the globe. A-M is becoming quite the rock diva, but I'm glad she's staying down-to-earth about it. You can check her work on 33mag.tv. Tonight I had a great time, too. Alex Roberts and Jon Phillips of Creative Commons are in town for the awesome Libre Graphics Meeting being held at the cole Polytechnique this weekend. The event seems great -- bringing together developers from all the great Open Source/Open Content graphics projects together in one room to talk. Jon and Alex met me and Niko at Concordia to see the Montreal premiere of the Helvetica movie. Helvetica is a great documentary about the history of this ubiquitous, unassuming font that epitomizes the modernist view of typography and design. The movie gives Helvetica a personality all its own, and in the process explicates the history of graphic design over the last fifty year. It also introduces us to a rogue's gallery of design and typography legends, all of whom are amusingly and passionately opinionated about design in general and Helvetica in particular. It has that characteristic of great documentaries: it illuminates the camera obscura of global culture through the pinhole of its narrow subject, a single font. Incredible. After the movie the four of us went to La Banquise, the landmark 24-hour poutine parlour right near my house. Alex and Jon indulged deeply in the local specialty -- they each got poutines with lots of bacon and ground beef -- and we all chatted about San Francisco, Web culture, Creative Commons and the cast of characters that surround it. A great, fun time. tags:

4 May 2007

Evan Prodromou: 14 Flor al CCXV

Tomorrow is my 1-year anniversary for having this blog. I started it with a post on Journal/15 Flor al CCXIV, and tomorrow is the same date, one year later. There's a lot going on on that day, though! First, it's Free Comic Book Day. That means you can walk into any participating comic book store and walk out with a free comic book. Cool! I'm going down to my nearby comics store, the small and cool Millenium. But there are more in the area, so I made a My Maps of Montreal comic book stores participating in Free Comic Book Day. My Maps is pretty boss. Second, tomorrow is the launch of the Design Montr al. Montreal was recently named a UNESCO City of Design, and tomorrow designers in Montreal will be opening their doors to the public. It seems like it should be a pretty fun event, with a wind-up party at the SAT. Cool. I'm going to be going to Creacamp, the new BarCamp-style event we have in Montreal to showcase creative women d'ici. It may be one, two, or three of us coming (Maj and Amita June are still on the fence), but I'm definitely going to come. tags:

Alastair McKinstry: Gliese 581 : Transit tonight ?

Greg Laughlin from UCO Lick pointed out that there is a transit possible of Gliese 581c on May7. Looking at the ephemeris, its at 17:13 UT, though: not very good for those of us in Ireland. Yesterdays Nature (subscription required) shows that someone is going one better:
On 26 April, just three days after the planet's existence was revealed, Dimitar Sasselov of Harvard University began using the small Canadian space telescope MOST (Microvariability and Oscillations of Stars) to observe Gliese 581. Sasselov predicts that, if the geometry is right, his team should see the star dim on 7 May as the planet passes in front of it.
They reckon on 50/1 against a transit, on geometrical grounds. Good luck to them though. The point of all of this is that the current planetary detections of Gliese 581b and 581c are Doppler radial velocity measurements. While they tell us the period, they only give us a lower bound on the mass : 581c is at least 5 Earth masses, but could be much more (its M Sin(i), where i is the inclination relative to us is unknown). We also don't know the radius of the planet : the figure quoted in the news articles to date is just a guess based on 5 Earth masses and current theory. A transit measurement, where the planet passes in front of the star, could answer these questions. But it occurs to be we could get numbers tonight: there is a transit (alignment) of Gliese 581b tonight at 22:40 UT. Much more favourable to those of us in Europe. A transit of GL 581b, the big neighbour of Gl 581c, would tell is that a transit of 581c is likely, and would give us an accurate mass for 581b, and from this, a measure of the inclination. So we could also calculate the mass of 581b. Unfortunately I don't have a photometer or CCD. Anyone else up for it? Clear Skies over Ireland forecast , too ... Tags ,

3 May 2007

Stefano Zacchiroli: i had a dream

I'm Going to Play Some Number at the Lotto The Lotto Game is a really popular gambling game in Italy, run by the state itself. As in all good gambling game: you, the player, can win a lot of money while who is running the game (the Italian state in our case) will win a lot of money for sure, no matter what. Anyhow, to the facts, it's a well-known folklore that people win playing Lotto FOR SURE by playing numbers told while dreaming by parents, friends, kitties, whatever, ... As a scientist, I've no reason not to trust this folklore, why should I? As a strange coincidence (another fact that strongly hints I HAVE TO PLAY), this night I had a dream (well, it was more this morning while reading the planet, but it doesn't really matter..., folklore is folklore!). There were a lot, really a lot of people whispering this to my ears:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

well, ok, they aren't in decimal notation, and they aren't even comprised between 1 and 90, ... but what would you expect from a bunch of geeks??? They are probably trying to exploit some overflow in the hands of the lotto extractor or something like that... But I won't desist, I'll play those number! Open questions: any proficient Lotto player to answer them around?

Mart&iacute;n Ferrari: Feisty Fawn

Last Saturday, I went with many friends to the local installment of FLISOL, a big install fest done across Latin America on the same day. It was a nice event, seeing a lot of people from the local community helping newbies to install their first GNU/Linux. Most of the installations were -not surprisingly- Ubuntus. I was very surprised of Feisty: the installer is really simple and powerful for desktop users, and once installed, there are a lot of things that I'd really like to see in Debian. But, everything cames with a price. Don't ever try to install it without enough RAM (the site says 256MiB). The graphical installer won't even boot (OOM killer kills the machine for you). If you download the alternate CD, which uses d-i, it will seem to work, but you'll notice a system which is a trashing hell: for starters, the restricted modules are kept in a tmpfs, eating over 30MiB of RAM! I tried unsuccessfully to trim it a little to make it work on a old laptop of a friend (only 64MiB of RAM), removing the tmpfs, killing daemons and stuff... But not even xfce will run on it: when I opened a terminal the whole X session will crash instantly. So now, I'm starting a etch install on it. It will involve some work to make a end-user-friendly desktop, but I'm confident there is a way of making it work. Ubuntu just works in most cases, but when it doesn't, it's much more difficult to tweak. YMMV.

Russell Coker: DMCA etc

A few days ago I wrote my first DMCA take-down notice, I followed the instructions on the Wikipedia page. The reason for this was that someone was mirroring my blog and putting google adverts on the copy. Before I started putting Google adverts on my web sites I wouldn’t have been bothered about this. But now that I’m making a small amount of money from Google advertising I don’t want someone else just mirroring my content and taking the money away from me. The person who managed the site in question took a surprisingly large amount of time to comply with the request (a discussion of several messages plus a couple of reminders over the course of a few days). The most recent news about DMCA abuse is the case of trying to prevent the distribution of a code used for decrypting DVD-HD. It is widely believed that copyright was used to prevent the distribution. Strangely many people who otherwise have a good understanding of technology have been saying “you can’t copyright a number”. What precisely is a program binary if not a long series of numbers (or a single large number depending on how you look at it)? For that matter a JPEG file or the ASCII representation of a book is also either a very large number or a series of small numbers. Also apparently it’s not protected under copyright but under the anti-circumvention clause of the DMCA. If it was a matter of copyright it would not be an issue of whether a number can be copyrighted, but what defines such a number. One criteria for copyright is that it has to be on something non-trivial (EG I couldn’t copyright the use of “a few days ago” as an introduction) so length is a criteria. Another is that it has to be a creative expression (so an encryption key can’t be copyright). However in many jurisdictions there are separate laws regarding distributing passwords without permission, such laws are designed for preventing people from granting unauthorised access to computers but I believe that they can be used more generally (I have been advised that such laws exist in the state of Pennsylvania in the US - I’m not sure what the law is in other regions but expect that something so useful would be copied). Another breaking story is that the RIAA has created an organisation with a US government mandate to collect royalties on ALL music that is played over Internet radio. This includes music for which the copyright owner is not an RIAA member and does not consent to have the royalties applied. You can create your own music, grant free access to everyone out of philanthropy, and then have the RIAA tax the music! It’s unfortunate that only the down-side of this dramatic change in copyright law has been discussed. Compulsory licenses have a lot of potential in other areas of copyright material. Recently people have been complaining that government sponsored scientific research is often only published in journals that cost large amounts of money. Why not have a compulsory license for journals at a fair price that everyone can afford? Software is often unreasonably expensive (Windows Vista with the latest version of MS Office can cost up to twice as much as a new PC), let’s have compulsory licenses for software at a reasonable fee! Software vendors often cease selling old versions of software to force customers to upgrade, a compulsory license scheme would permit us to buy MS-DOS 3.30 at a reasonable price regardless of whether MS wants to sell it. Finally there is at least one evil cult that claims it’s “religious” texts are copyright as a way of preventing the public from seeing what a drug-addled second-rate sci-fi author produces. Let’s have a compulsory license for them so everyone can read them! The only thing that’s wrong with the RIAA scheme is that there is no option for copyright owners to directly license their material to the users (including granting a free license if they so desire). The up-side of this is that it proves beyond all doubt that the RIAA is not representing copyright owners. Update: I initially accepted the claims about the DMCA take-down notices being based on copyright rather than anti-circumvention. Since learning of my mistake I modified this post to reflect the fact that it was not a copyright issue.

David Welton: Cell Phone Software Requires a New Mindset

Alex Krupp talks about cell phone software and why it's not working These are good points, but I remain pretty certain that it will be an area that takes off. I think that, as things stand right now, some of the ingredients are: My own simple example of an application that basically meets these requirements is a mobile shopping list (with the highly original name of ShopList that doesn't suck. By that I mean that you would either be already insane or be insane in short order if you tried to enter a shopping list into a phone via its keypad, so that is taken care of on the web. Sure, it's not a billion dollar startup idea, but I think I'm on the right track with how to create applications and what sorts of things to create.

Next.

Previous.