Search Results: "dom"

26 February 2010

Martin F. Krafft: ACTA leak: no surprises about transparency blockers

The most common criticism of the Anti-Counterfeiting Trade Agreement (ACTA) is the lack of transparency. Before the nations disclose the terms of the agreement under negotiation, we are unable to gain an idea of the big picture, let alone voice our opinions and push for changes. Our politicians don t want us to know. We rely on leaked documents for our information. This is backwards in a world where a state should represent its people. This smells foul to me. There are undoubtedly some good reasons for the treaty, and if we can contain worldwide, large-scale trade of counterfeited goods and medicine, then that would be a net benefit to us all. However, we must not allow certain governments to succomb to the pressure of (commercially-motivated) lobbyists, to extend that pressure onto other nations using trade as a means of pressure, and to slash our freedom as if it were an inconvenient obstacle in their way. Only if the terms under negotiation become publicly available, and the public is given a voice, then we can help our governments in entering an agreement that is in the interest of its people, rather than a threat to us. It is hardly surprising that total capitalist nation USA are the strongest opponents of transparency, because the public might delay or even prevent the treaty. I was also not surprised to see South Korea and Germany in the list of supporters of secrecy either. It is interesting to see that the leaders of Singapore, Belgium, Portugal, and Denmark also seem to believe that these negotiations should be withheld from the public. Does anyone know about Switzerland? I tip my hat to New Zealand, Canada, Australia, Netherlands, Sweden, Finland, Ireland, Hungary, Poland, Estonia, and Austria for their support of transparency.

25 February 2010

Christine Spang: help fund women's travel to Libre Planet

At the FSF's Libre Planet conference this year in March, there will be a track focusing on increasing the participation of women in free software. If you are able and support this cause, consider donating to fund additional women's travel to this event. Being able to meet in person with other people like you is such an energizing opportunity. Give this gift to someone who wouldn't otherwise be able to make it!

21 February 2010

Steve Kemp: Let go of the handle.

I don't talk about SPAM publicly these days, for reasons that are probably self-explanatory. However this is just insane: Currently at 40+ SPAM mails and rising; all mails addressed to "postmaster@", rather than any past users of the domain. (I can see from http://archive.org that the domain was last active in 2008.) ObSubject: The Goonies

20 February 2010

Martin F. Krafft: Charge advertisers for the last mile

ISPs fight a raging war over net neutrality because their infrastructure cannot keep up with the increasing demand (or rather supply) of content. Therefore, ISPs want to charge the users premiums if they wish to use certain services on the Net. For instance, since videos are usually large in size, one would have to purchase e.g. the platinum package to be able to access video hosting sites. It would be a serious loss of freedom if they won, and the Internet would never be the same. Let s turn that idea around: since sites that use advertising make money off every visitor, they are really the ones that should pay the ISPs so that they can improve their infrastructure. The same applies to sites that make money off visitors in other ways. At the moment, users pay to access the network (which is like paying a taxi to get to the market), so that they can visit sites where advertisers make money showing ads to the visitor, which might actually let them to pay a manufacturer for a product the end user pays twice, and the advertisers take in money, leeching off the ISPs investing into their infrastructure. I think that the advertiser and not the consumer should pay the ISP to keep the infrastructure afloat improve it even. The manufacturer should then pay the advertisers for displaying the ad, and the user consumes if s/he chooses to and everyone only pays once, for services they want. This will help improve competition among providers, which should always be the goal. If my ISP would start to record the volume of HTTP traffic I produce for each target site, charge the targets appropriately (they could start with a couple at first), and I d get free connectivity in turn, I d be quite happy. The ISP wouldn t have to look at the contents at all for that. I don t yet know what to do if the target sites choose not to pay up. ISPs could block them, or throttle or deprioritise traffic, but either of those might simply lead to an exodus of users, just like premiums would. As usual, this just needs to be done by many ISPs in concert. Are you listening?

John Goerzen: Is the Roman Emperor Still Your God?

In ancient Rome, the Imperial cult was the worship of the Roman emperor as a god. It came to be at roughly the same time as Christianity. In the cult of the emperor, Caesar was revered as a deity. According to Harvey Cox, This was what we might today call a civil religion it had its holidays, processions, and holy sites throughout the empire. Adherence to it was required of all of the emperor s subjects, wherever they lived and whatever other deities they also worshiped. It was the religious and ideological mucilage that held the far-flung empire together. Perhaps you see where this is going. There was a certain group that found the imperial cult, well, repugnant. They felt their own goals bringing their god s peace and justice to the world were incompatible with this sort of devotion to a human institution, and the very institution that had killed their leader at that. Their reaction went like this:
Regarding worship of the emperor, Christians responded with an unequivocal no. They claimed that Jesus Christ was God s kyrios ( anointed one in Greek), but since kyrios was one of the titles attributed to Caesar, they refused to participate in the imperial cult. They were willing to pray for the emperor and for his health, but they stubbornly refused to pray to him or offer ritual tribute. They recognized that one could not be a follower of Jesus while also honoring a rival to the loyalty their faith in him and his Kingdom required; therefore, not even one pinch of incense on the imperial altar. This defiance of the political religion of the empire, which led their critics to brand them subversive, landed many of them in arenas with salivating lions. Harvey Cox in The Future of Faith
Now, you may be wondering, why am I asking if anyone still worships the emperor of a long-extinct empire? I maintain that this practice is still alive and well, just under a different name. I have been interested in some of the debates about American institutions that choose to perform neither the national anthem nor the pledge of allegiance. Many of these institutions are Mennonite, and their reason for not participating in these two particular acts mirrors that of the early Christians refusing to worship Caesar: namely, their goal is to bring about God s peaceful and just kingdom on earth, and no country, no human institution at all, can ever command greater loyalty than that cause. Moreover, the American national anthem is a particularly violent one, celebrating the taking of life right there at the beginning. Not completely compatible with the ethics of a church trying to bring about a more peaceful world, right? It is from that basis that many Mennonites, and our institutions, do not perform the national anthem or say the pledge of allegiance. For myself, when the national anthem is being performed, I will stand out of respect for those around me for whom the moment is important, but I do not sing. I am deeply appreciative that the United States, like many other countries, makes it legal to do this. I am heartened by the fact that I do not risk a confrontation with the lions over my religious stance today. Goshen College, a Mennonite institution, recently decided to go back on a century of history (which goes back farther than the anthem itself, which was only adopted in 1931) and will now be performing the anthem, followed by a prayer, before select sporting events. And by so doing, they fail both to act in accordance with the way of Christ, and to be a patriot. They fail to act for peace and justice by playing an anthem that supports and glorifies war and violence. And they fail to be patriotic. Patriotism and nationalism are different things. It s easy to be nationalistic to get up there and sing a song that everyone wants you to sing. It is far more difficult to be patriotic. Being patriotic in the United States means using the freedoms we have to improve our country. Goshen ought to use its freedom to not observe the national anthem as a way to try to draw a line in the sand against violence, to suggest that our anthem fails to adequately recognize the character of the American people and who we want to be, and to suggest a better alternative. After all, those people who are venerated today as patriots anyone from Martin Luther to Thomas Jefferson to Martin Luther King stood up to their fallible human governments to seek positive change. Instead of a route both religious and patriotic, Goshen College has chosen one that is neither. I am deeply disappointed that 300 phone calls have apparently cowed their leadership. What have we come to when our ancestors braved the lions, and we give up our principles over the fear of bad publicity? Ah, Goshen, perhaps you are thinking that you could spare a few pinches of incense for Caesar after all?

19 February 2010

Gustavo Noronha Silva: WebKitGTK+ testing

Most times when I blog about WebKitGTK+ it s to talk about new features, and their usage in Epiphany. This time I d like to tell those who care more about our test infrastructure. Like I said in my previous post, testing is something we take very seriously in WebKit land. It would be hard to get such a complex project, with such diversity of platforms moving forward without automated testing. Apple hosts a buildbot master that controls a whole lot of build slaves, for many platforms. Today we added the fourth WebKitGTK+ build slave to the family: 64bits release. This makes up for 4 build slaves in total, 2 release bots sponsored by Collabora, and 2 debug bots sponsored by Igalia. These bots build WebKitGTK+, and then run what we call the layout tests . I use quotes there because the name is a bit misleading. Despite being HTML/JavaScript tests, they cover a whole lot of functionality, and tests for regressions in many areas, including security, crashes, animations, media playing, DOM behaviour, and javascript API behaviour. WebKitGTK+ bots currently run 6397 tests, which represent about half the available tests. Our bots are also, as of today, the first ones to run platform-specific API tests. Almost a year ago we started writing small tests based on glib s GTestSuite, and they have been very valuable in helping us make sure our API expectations aren t breaking (at least unknowingly), and to be able to test things that would be very hard to have Layout Tests for. So, yay! Thanks to everyone involved. Back to layout tests, now: the other half is currently skipped because of one of three main reasons: The first one is the worst of all. It means we have broken functionality, or lack web compatibility. The second one is less bad, we can usually trust layout, and rendering to be good because most of the rendering code is shared (thought there are exceptions, of course). Render dumps are a special way of representing the render tree as text, and we need to generate our own results because of differences in things such as font sizes. The third one is also pretty bad - it means we cannot test some features; DumpRenderTree is an application that uses the port s API to run the tests, and provide additional JavaScript API through JavaScriptCore. If you feel like helping WebKitGTK+, choosing a bunch of these (specially non-render-dump) skipped tests to make them pass could likely be a good first step =).

Steve Kemp: If you were a comic book character, what character would you be?

I've been overhauling the way that I am host a number of virtual websites upon my main box. Partly to increase security, and partly for a cleaner separation or roles, ownership, and control. (In general everything on my box is "mine", but some things are "ours"...) After a fair amount of experimentation I decided that I wasn't willing or able to rewrite all my Apache mod_rewrite rules just yet. So my interim plan was to update each existing virtual host: To make it clear what the users were for I decided that every hosting-user would have an "s-" prefix. So the virtual host "static.steve.org.uk" was initially going to be served by the s-static user. The thttpd configuration file would look like this, and would be located in /etc/thttpd/sites/static.steve.org.uk:
host=127.0.0.1
port=1008
dir=/home/www/static.steve.org.uk/htdocs/
chroot
user=s-static
throttles=/etc/thttpd/throttle.conf
logfile=/home/www/static.steve.org.uk/logs/thttpd.log
pidfile=/home/www/static.steve.org.uk/pid/file
(I wrote a trivial script to stop/start all the sites en mass, and removed the default thttpd init script, logrotation job, and similar things.) How did I decide which port to run this instance under? By taking the UID of the user:
steve@skx:~$ id s-static
uid=1008(s-static) gid=1009(s-static) groups=1009(s-static)
With this in place I could then update the Apache configuration file from serving the site directly to merely proxying to the back-end server:
<VirtualHost *>
    ServerName  static.steve.org.uk
    # Proxy ACL
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    # Proxy directives
    ProxyPass          /   http://localhost:1008/
    ProxyPassReverse   /   http://localhost:1008/
    ProxyPreserveHost on
</VirtualHost>
So was that all there is to it? Sadly not. There were a couple of minor issues, some of which were:
cronjobs
I have various cron-jobs in my main steve account which previously updated blog indexes, etc. (I use namazu2 to make my blog searchable.) I had to change the ownership of the existing indexes, the scripts themselves, and move the cronjob to the new s-blog user.
cross-user dependencies
I run a couple of sites which pull in content from other locations. For example a couple of list summaries, and archives. These are generally fed from a ~/.procmail snippet under my primary login. Since my primary login no longer owns the web-tree it is no longer able to update things directly. Instead I had to duplicate a couple of subscriptions and move this work under the UID of the site-owner.
I'm no longer running apache
For a day or two I'd forgotten I was using the apache facility to include snippets in my site; such as links to my wishlist. Since I'm not using Apache in the back-end server-parsed files no longer work. Happily I'm using a simple template-based setup for my main sites, so I updated the template-parser to understand "##include ./path/to/file". For example this source file produces my donation page. The upshot is my "static" site is even more static, which is a good thing.
uploads are harder
Several of my domains host entirely static content which is generated on my main desktop machine, and then uploaded via rsync post-build. I had to add some more accounts and configure SSH keys, then update the uploading routines/Makefiles appropriately. Not a major annoyance, but suddenly my sshd_config file has gone from "PermitUser steve,backup" to including many additional accounts.
The single biggest pain was handling my my mercurial repositories - overhauling that took a bit of creativity to ensure that nothing was broken for existing or new checkouts. I wish that a backport of mercurial-server was trivial because I'd love to be using that. In general though watching the thttpd logs has been sufficient to spot problems. I had to tweak things a little to generate statistics properly, but otherwise all is good. Why thttpd? Well small, lightweight, and the ability to run CGI scripts. Something missing from nginx for example. I'm still aiming to remove apache2 from the front-end - it is mostly just a dumb proxy, but it does perform some ACL operations and expand mod_rewrite rules. I could port those to another engine .. but not today. The most likely candidates are nginx, perlbal, or lighttpd - each of these should be capable of doing simple ACL checks, and performing mod_rewrite-like rules. ObFilm: Mallrats

17 February 2010

Stefano Zacchiroli: RC bugs of the week - issue 21

RCBW - #21 I've accumulated one more day of delay, but here is a full RCBW issue. Still, I've a nice good excuse for the extra delay: I've changed house in Paris, the new one is very small (a chambre de bonne), but also very comfortable. Without any further ado, here are this week's squashes: And here are the usual highlights:

Masayuki Hatta: Freenet for Debian

The recent development of the situation in China or Iran reminds me of the importance AND fragility of the freedom of speech on the Net. As the influence by the Net on the general public grows, attempts by governments to control and tame the Net will be aggravated, in a more sophisticated, crowd-pleasing way (for example, by claiming a need for Internet Driver's Licenses). How can we deal with this? Freenet can be a key to solve this problem. After almost 10 years of continuous development, it seems that it finally became an usable product(I don't say it's perfect -- there are still a lot of things to be done, especially around its UI). Freenet has its own dark side and I don't expect that it will become the standard way of the communication over the Net, but we always need the last resort to enjoy our everyday life. Unfortunately, most of Freenet-related information on the Net, especially about the installation method on GNU/Linux, are severely outdated. Freenet is a Free Software(GPL'd), and Debian did have a .deb package for Freenet long long ago, but it's basically gone and defunct. Since the pace of current development is quite fast and sometimes the backward compatibility is broken, it's not really a good idea to ITP and upload Freenet to the main Debian archive for now. Thus, I cooked up up-to-date .deb packages of the modern Freenet and publish them by myself on people.debian.org. I tried to follow the Debian packaging convention as much as possible, so at least they can be installed & uninstalled cleanly ;-) Also, Build-Deps are carefully set, so you may rebuild it without much hassle if you need. Add the following to your /etc/apt/sources.list:
deb http://people.debian.org/~mhatta/debian/freenet ./
deb-src http://people.debian.org/~mhatta/debian/freenet ./
Then run "apt-get update" and install "fred" package. This is basically all you need(you might also want jSite or FMS). Then take a look at /usr/share/doc/fred/README.Debian. You might need to copy seednodes.fref into /var/lib/fred if you want to use Freenet's Opennet mode for the first time. After that, access http://localhost:8888 and follow the instructions. Recommended readings on the modern Freenet: Enjoy.

Tag this post with del.icio.us!

16 February 2010

Russell Coker: National Broadband/Porn Network

Currently we have a new National Broadband Network under construction in Australia [1]. It is going to cost $43,000,000,000 which is $5,000 per household. It is designed to deliver 100Mb/s speeds to most homes that is the homes that can currently get more than 8Mb/s through ADSL2+ or cable connections. The question is, what can we do with 100Mb/s that we can t do with 8Mb/s? It seems that ADSL2+ works pretty well for VOIP, video-conferencing, online games, and transferring CD/DVD images (with a little patience). It seems to me that the only benefit in having download speeds faster than 8Mb/s is for downloading high resolution images and video files in a small amount of time and porn surfing seems likely to be the only reason for someone being so impatient to get high resolution images! Now there are some potential technical benefits to this, FTTH will allow synchronous upload and download speeds and being able to transmit data at 100Mb/s will be a significant benefit. If the data transfer quota was reasonable then I could run my blog, my web site (including my Debian package repositories), and some other new projects from a server in my own home. Currently Internet access in Australia sucks mostly because of the cost of international bandwidth [2]. Also while Telstra was run by the awful Sol Trujillo it was trying to gain a monopoly on domestic services via it s Fiber To The Node (FTTN) scheme, it seems that one of the biggest benefits of the NBN is to prevent Telstra gaining such a monopoly but as they are going to pay the NBN CEO a $2,000,000 salary [3] it seems that some of the same mistakes are being made. In any case $43,000,000,000 is a lot of money to pay to break a monopoly, there are much cheaper ways of doing this. Now if the money was to be spent intelligently on Internet access the first area would have to be submarine cables, if the capacity of the connections between Australia and the rest of the world could be significantly increased then it would change the way the Internet is used. I have a US-based colleague who transfers more data from his mobile phone than I do through my home ADSL connection and he pays about the same amount of money as me! I think that most serious Internet users would rather have an ADSL2+ connection that is cheaper and has a larger bandwidth quota than a FTTN connection with a high transfer rate but a small quota of data that can be transferred from what I ve read about the NBN it doesn t sound like a service I would want to sign up for. Then there is the issue of servers, currently for most uses Australia is not a viable location for a server due to bandwidth costs. This decreases the job opportunities for Australian system administrators and decreases the Australian IT skills base. The next area that needs attention is wireless net access. The first issue that should be addressed is the minimum cost, the cheapest net access in Australia is via 3G because it avoids all the costs of wiring [4]. It would be good if instead of paying about $150 per annum for 3G net access there were some options for cheaper plans, maybe $60 per annum for 6G of data. In many ways the current Australian lifestyle requires Internet access, and many aspects of interaction with government organisations requires net access, so it seems that the government should make it a priority to provide cheap net access to the entire population. A 3G net access plan of $60 per annum plus a subsidised purchase plan for cheap PCs (maybe taking a Netbook from $350 to $250) should significantly decrease the number of people who can t use the Internet. 3G access (both Internet and telephony) also needs to be available in more areas. Currently Telstra has the widest coverage of any mobile phone company, but it uses a non-standard frequency which limits the availability of suitable phones and it doesn t compete on price [5]. So rural users have to pay through the nose for Telstra mobile telephony and they get a limited choice of phones. It would be really good if we had a NBN for 3G phones that covered the areas surrounding most rural population centers to compete with Telstra. If rural users could pay $60 per annum for 3G Internet access and a reasonable rate for mobile phone access (maybe a combined phone/data plan similar to those offered by Three and Virgin) then it would significantly improve the rural access to services that urban residents take for granted. The NBN plan does include providing wireless and satellite net access to the 10% of the population who will be out of range of FTTH. But I am concerned that it will provide a bare minimum of service and not an integrated voice/data service that permits using the newest features of phone OSs such as Android. In the past I ve had some commercial experience with satellite Internet access and I have not been impressed with it, the response times were very poor and fully interactive services were almost unusable. The government should aim to provide support for interactive services that facilitate business operations (including video-conferencing and remote server access via ssh, VNC, etc) to as much of the population as possible. I expect that a significant portion of the Internet using applications on smart-phones such as those running the Android OS will require fast response times, so even if a satellite version of an Android phone is ever produced it still wouldn t be as useful as the current phones. Finally the government should offer free wireless net access in all major urban areas for the purpose of accessing government services, Australian content, and Australian mirrors of foreign content. This would be a convenience feature for most people and would also be good for emergency access I shouldn t have been denied access to government services when the PSU for my ADSL modem died in the heat last week, I should have been able to take a laptop to the nearest government Wifi access point! In conclusion I think that the government should spend money on lowering the cost of Internet and mobile telephony access for everyone and granting greater access to government services. I am not aware of any evidence to suggest that the current NBN plan will do anything to achieve such aims. But it should be really good for accessing porn sites that use a CDN with an Australian presence. Update: John Hughes pointed out in an insightful comment that 100Mb/s can be used for watching TV. So this could be a ploy to try and convert Internet access into better TVs paid for by our tax money!

15 February 2010

Gustavo Noronha Silva: WebKitGTK+, and the Page Cache

So, one of the things I get to do during work hours for Collabora is to contribute code, and do maintenance tasks for WebKitGTK+, and have been doing so since early last year, working on all kinds of things, from improving the network backend to handle the real-world web, to fixing scrolling problems, while reviewing patches from the many awesome developers who have been joining us (more on that later =D). One of the big features I have worked on this past month or so, along with Xan Lopez is the Page Cache. The page cache is a feature of web browsers that makes going back, and forward between pages in the same view very fast. It s better explained in this post, but to summarize, the idea is that instead of destroying all the work you have done since downloading the resources, and having to reparse/rebuild the structures the view uses to display the page from the cached resources, you hit pause on the page, and store the whole thing as is, and when coming back to it, you just hit play. You can see in the video two instances of Epiphany, one with the page cache enabled, one with it disabled. Easy to see which was has it enabled. Thanks to KiBi for the suggestion regarding a page that shows this easily =D. <video controls="controls" height="302" src="http://kov.eti.br/media/webkit/page-cache.ogv" width="450"></video> We initially thought we had this feature enabled, since our initialization functions (that exists since before the current maintainers were involved) did setup the number of desired pages in the cache, but during the hackfest we held in December we found out we were fooled all this time. Enabling the page cache does make going back faster, but also made lots of things become unstable and crash. Since then, we have been working on figuring out all the problems, and fixing them, using help from adventurous users of in-development software ;D. I believe we re now at a point in which I can happily declare the GTK+ port has a working page cache in trunk! If you re interested in the nasty details, bear with me! Let me go back in time a bit, and show you what problems we had. First, some background: the GTK+ port deviates a lot from the other ports when it comes to scrolling. This is because, when designing this part of the port, Holger Freyther had a very nice idea in mind: that the WebView should be a first-class citizen GTK+ scrollable widget. Meaning it would use GTK+ s adjustments for scrolling, and be able to interact with any parent scrolling widget, be it a GtkScrolledWindow, or a MokoFingerScroll. We cannot just throw away all the rest of the scrolling code in WebCore, though, that deals with all the details related to interacting with the DOM, and JavaScript code. This means our WebView contains adjustments that need to be set, and unset on our port s version of WebKit s own representation of the view, called the FrameView, to interact with it, and to get updates on the bounds of content, and such. For every load, in the non-page-cache case, a new FrameView is created, the previous one is destroyed - this means we need to set the adjustments on every load. The problem starts when you have the page cache enabled, because the code path used to do what is called commit the load of a cached page (that is, start replacing the content that is currently being displayed by the one that should now be displayed) is completely different, and we were not setting the adjustments on this new view, so we started with that. But all was not well. We were still having weird behaviour with scrollbars disappearing, and becoming the wrong size, and worse, crashes when back was hit. We then started investigating in more detail how it is that the page cache does its magic, to try and figure out the source of all evil. It turns out that when you leave a page that can be cached, the existing FrameView is no longer destroyed - it is stored as is in a CachedFrame to be restored if you go back, and a new one is created for the new page. This was having the undesired effect of having the adjustment be set in more than one FrameView at once, causing all kinds of (predictable, after we knew for real what was going on) unwanted effects. Thus, we reworked the code to make sure the adjustments are only ever set in one FrameView at once, making sure they are unset when the FrameView is being frozen, and reset when it s being restored from the page cache. Last, but not least, it was discovered that going back to a page that contained resources with data: URIs (such as Google results pages which contain a small number of image hits) also caused a crash. This was because our network backend was not storing the data: URI in the ResourceResponse objects it fed into WebCore. The page cache relies on those responses to recreate the requests it uses to artificially replay the load when restoring the page from the page cache, so we fixed that as well. What can be taken from all this? Building browsers is a lot of hard work! I can t think how we could deal with this level of complexity without the awesome testing suite of WebKit. The good news is all of those issues I talked about in this post are now covered by the automate tests that run as part of the normal buildbot cycle in our bots, so we re covered for the future, at least for these specific problems =D.

Biella Coleman: Timing Life

The Chronicle recently published a piece that drew a lot of attention on the difficulties that female academics with kids face during the first 4-7 seven years of their job when academics are expected to do nothing but produce, produce, and produce and yet because they have produced children, they can t produce all that much writing. I don t share the author s predicament in that I don t have kids. But I have had to be an (often long-distance) caretaker for the last 8 years, 4 of which I spent considerable time in PR taking over my mom s caretaker s duties. Although when it comes to female academics and kids there is a lot that can (really must) be done to facilitate a career and motherhood, when it comes to taking care of my mom, being an academic has been an odd and mixed blessing, although it did require me to play with the system self-consciously or else it would have been an early academic death. When my mom was first falling pretty ill, I was wrapping up my dissertation. Though I was ready (on paper at least) to go on the market, I did not step foot in it. I knew that if I landed a job it would be the end of seeing my mom and since she only had a few years of capacity left, I decided to 1) apply only for one postdoctoral position (that had no teaching and was in NJ making it very easy to fly home frequently) 2) if I did not land it, I would return home to spend time with her, keep on writing but not graduate. If I had started a job right after my dissertation, I would have killed my chances of churning out articles, and worse, not have seen much of my mom. I was lucky enough to land this postdoctoral fellowship, which was a life savior. I was able to get a heck of a lot of work done that I would never ever would have been able to do my first two years of teaching (kids or no kids) and I spent many months in PR as well. I always encourage graduate students to apply for these positions because the payback is enormous (with the exception of fellowships that require a ton of teaching), even if the applications are really time consuming, more so than applying for jobs. Though rarely stated in such terms, the first few years of an academic position is not unlike medical residency. It takes a brutal amount of time, not only because of the sheer time you have to work but also because there is so much new to learn and so many different responsibilities to juggle. It is exhiliarting but draining, even disorienting. But there is one important difference from our medical school counterparts (aside from the blood and guts and gore :-)): their hell continues throughout the year, while our hell diminishes during the summer when classes end and writing is supposed to dominate your attention. Also since I am not required to be here once classes ended, I am able to leave NYC and spend it back home. I would simply not be able to do this with most any other full time job (unless it involved telecommunting) and for that I am grateful I landed the job I did. Academia, despite its rat race quality, has allowed me to visit my mom throughout the year and summer. Given the importance of summers for writing it seem that departments/universities can do a lot for female faculty simply by sponsoring or helping to pay for summer day care for two years, thus offsetting some of the costs and then providing them with the space needed to write/produce.This can accompany the policy that some, though not enough schools have, which is turning off your tenure clock for the year you are pregnant, and in some cases, even giving you leave. Thankfully at NYU you can stop your clock not just for pregnancy (which they now automatically do because when it was optional some female professors were not taking it!) but also for circumstances like mine. I was given a short tenure extension, which was not easy to ask for but it is important to do so. I am extremely grateful they have this policy. Something else partially unique about caring for a parent is the perspective it affords. Although it would be a lie to say I suffer no anxieties about my job, I find it hard to get embroiled in a lot of the petty politics of academia, a perspective that clings to me, especially after having to take care of someone with Alzheimers, and especially my mom who we nicknamed the Russian Terror for her turbulent (but really fun) personality. Sitting in front of your computer to write and think about some obscure academic topic feels not only easy after those experiences but a scamish sort of privilege. My mom is now in a nursing home and I no longer have to spend time taking care of her. Instead I visit and see her and get overwhelmingly sad when I do. In one month, it will be her 2 year anniversary in a nursing home and I still have not come to grips with the situation. It strikes me as obscene and unreasonably cruel that this illness can afflict a person for years, even a decade or more. Perhaps more than anything it is the sheer massive length and persistence of this illness that makes it so hard to bear. And I am sure my work for better or for worse has acted as an emotional refuge, where I drown myself in work that I love instead of drowning in the sorrow that I often feel, making what is a difficult job far easier.

Biella Coleman: Timing Life

The Chronicle recently published a piece that drew a lot of attention on the difficulties that female academics with kids face during the first 4-7 seven years of their job when academics are expected to do nothing but produce, produce, and produce and yet because they have produced children, they can t produce all that much writing. I don t share the author s predicament in that I don t have kids. But I have had to be an (often long-distance) caretaker for the last 8 years, 4 of which I spent considerable time in PR taking over my mom s caretaker s duties. Although when it comes to female academics and kids there is a lot that can (really must) be done to facilitate a career and motherhood, when it comes to taking care of my mom, being an academic has been an odd and mixed blessing, although it did require me to play with the system self-consciously or else it would have been an early academic death. When my mom was first falling pretty ill, I was wrapping up my dissertation. Though I was ready (on paper at least) to go on the market, I did not step foot in it. I knew that if I landed a job it would be the end of seeing my mom and since she only had a few years of capacity left, I decided to 1) apply only for one postdoctoral position (that had no teaching and was in NJ making it very easy to fly home frequently) 2) if I did not land it, I would return home to spend time with her, keep on writing but not graduate. If I had started a job right after my dissertation, I would have killed my chances of churning out articles, and worse, not have seen much of my mom. I was lucky enough to land this postdoctoral fellowship, which was a life savior. I was able to get a heck of a lot of work done that I would never ever would have been able to do my first two years of teaching (kids or no kids) and I spent many months in PR as well. I always encourage graduate students to apply for these positions because the payback is enormous (with the exception of fellowships that require a ton of teaching), even if the applications are really time consuming, more so than applying for jobs. Though rarely stated in such terms, the first few years of an academic position is not unlike medical residency. It takes a brutal amount of time, not only because of the sheer time you have to work but also because there is so much new to learn and so many different responsibilities to juggle. It is exhiliarting but draining, even disorienting. But there is one important difference from our medical school counterparts (aside from the blood and guts and gore :-)): their hell continues throughout the year, while our hell diminishes during the summer when classes end and writing is supposed to dominate your attention. Also since I am not required to be here once classes ended, I am able to leave NYC and spend it back home. I would simply not be able to do this with most any other full time job (unless it involved telecommunting) and for that I am grateful I landed the job I did. Academia, despite its rat race quality, has allowed me to visit my mom throughout the year and summer. Given the importance of summers for writing it seem that departments/universities can do a lot for female faculty simply by sponsoring or helping to pay for summer day care for two years, thus offsetting some of the costs and then providing them with the space needed to write/produce.This can accompany the policy that some, though not enough schools have, which is turning off your tenure clock for the year you are pregnant, and in some cases, even giving you leave. Thankfully at NYU you can stop your clock not just for pregnancy (which they now automatically do because when it was optional some female professors were not taking it!) but also for circumstances like mine. I was given a short tenure extension, which was not easy to ask for but it is important to do so. I am extremely grateful they have this policy. Something else partially unique about caring for a parent is the perspective it affords. Although it would be a lie to say I suffer no anxieties about my job, I find it hard to get embroiled in a lot of the petty politics of academia, a perspective that clings to me, especially after having to take care of someone with Alzheimers, and especially my mom who we nicknamed the Russian Terror for her turbulent (but really fun) personality. Sitting in front of your computer to write and think about some obscure academic topic feels not only easy after those experiences but a scamish sort of privilege. My mom is now in a nursing home and I no longer have to spend time taking care of her. Instead I visit and see her and get overwhelmingly sad when I do. In one month, it will be her 2 year anniversary in a nursing home and I still have not come to grips with the situation. It strikes me as obscene and unreasonably cruel that this illness can afflict a person for years, even a decade or more. Perhaps more than anything it is the sheer massive length and persistence of this illness that makes it so hard to bear. And I am sure my work for better or for worse has acted as an emotional refuge, where I drown myself in work that I love instead of drowning in the sorrow that I often feel, making what is a difficult job far easier.

Martin-&#201;ric Racine: Wanted: unsyndicated web mail service - say Google Mail and you're dead

A few days ago, I woke up to the fact that Google has become yet another MSN. The stupid opt-out policy of their latest gadget, Google Buzz, means that I can no longer entrust Google with anything. In case it wasn't obvious to the idiots at Google, no, I do not want every single person that ever sent me a random e-mail to suddenly get automated access to whatever on-line content I'm producing; I want to choose who will get access to what and be able to change my mind about what any particular individual will get access to at any given time. Most of all, I want this to be opt-in by default. That is, unless I explicitly enabled access to some specific content to a specific individual, the assumption shall be that nobody has access to anything that I produce. Alas, it seems too much to ask from Google. So now I'm looking for a reliable no-frills webmail service that is too boring to ever get under the radar of any media content giant. First, it was Hotmail no more, now it's Google no more. I also have another simple request: that the selected e-mail address can include hyphens and periods. If anybody knows of any such simple and reliable on-line webmail service, please drop me a line via this blog article's comments. Thanks!

Russell Coker: Will Aliens be Alien?

The Telegraph has a silly article titled Aliens are likely to look and behave like us [1]. It s based on the ideas of Professor Simon Conway Morris [2] who is a big fan of evolutionary convergence. He seems to believe that humans evolved in a way that is close to optimal and that aliens would have to evolve in a similar manner. The article s claim that aliens will look and behave like us has three flaws, one is assuming that humans are the ideal form for space travel, another is the significant possibilities for vast objective differences between species, and the final one is the human tendency to regard small differences as being really significant. The Arrogance of Assuming that Humans are Ideal. It seems extremely arrogant to assume that humans have the ideal form for performing tasks that we have not yet performed such as traveling to another star system. To assume that it is certain that humans will colonise the stars is also extremely arrogant and foolish as well, I think that a significant amount of money should be devoted to existential risks that we face. People who believe that humans will inevitably colonise the stars (probably because God told them there s no other reason for such certainty) will tend to oppose taking prudent measures to reduce the probability of failure. We should also consider the possibility that a human society that colonises another star system at some future time might be so different from us that we regard them as alien. How Might Aliens be Different? It seems to me that one problem with the theory of convergent evolution (as applied to different planets) is that evolution doesn t seem to work in big steps. It seems to me that for an increasing portion of the jobs in our technological society there would be a benefit in having four arms and two legs, and maybe having more than four fingers on two of the hands. But evolving a bone structure that makes four arms useful is not a minor tweak so it seems unlikely to happen naturally we might be able to genetically modify humans to have four arms and two legs with some future technology. I can t believe that four limbs is the optimal number for every mammal, amphibian and reptile (apart from the legless ones), that two legs plus two wings is the optimal number for every bird, and that six legs is the optimal number for every insect. I also can t believe that two arms and two legs is the optimum number for every primate with the only significant difference in limbs being the primates that possess a prehensile tail. Evolution doesn t produce perfect creatures, what it does is to produce creatures that tend to be slightly fitter than their ancestors. So even if there was an optimal form for a species that develops interstellar-craft, there would be no reason to assume that humans have such a form even if we had developed interstellar travel. I think it s relatively safe to assume that aliens would have two eyes (stereoscopic vision is a significant advantage), but apart from that I don t think we can assume much about their appearance. For example I don t think that there s any inherent reason why creatures as intelligent as current humans could not evolve from octopuses 8 arms would be quite useful for operating machines. Aliens that spread beyond their own home planet don t have to be optimal for such tasks, they only need to become the dominant species on their planet, develop decent technology, and then want to leave their planet. A species that took 100,000 years to achieve what humans have achieved in the past 100 years might not be considered optimal but it might still be able to eventually launch interstellar craft. I don t think it s reasonable to assume that aliens would have to be as intelligent as humans to do that. But it does seem most likely that any aliens who manage to get here would be more intelligent than us. Guns, Germs, and Steel: The Fates of Human Societies by Jared Diamond has a really interesting analysis of how human history was determined by geography and the availability of plants and animals suitable for domestication. Part of the explanation for the apparent lack of intelligent aliens could be planets where the dominant species was stuck in a situation like that of the people of New Guinea, the lack of plants and animals suitable for domestication prevented their society from developing. A stone-age human civilisation could potentially be stable for millions of years. The article says Extra-terrestrials might not only resemble us but have our foibles, such as greed, violence and a tendency to exploit others resources . Well for starters a species that can displace all other contenders to become the dominant species in their planet would have to be capable of greed and violence. So that is probably correct but is not really going out on a limb. Physorg.com has a short article describing the benefits of sexual reproduction in terms of the rate of accumulation of harmful mutations [3]. So it seems that sexual reproduction is most likely among intelligent aliens. But I don t think that there is any reason to assume that aliens couldn t be hermaphrodites. The Telegraph article claims that Star Wars and Star Trek could be more accurate than they ever imagined in depicting alien life , but given that Star Trek has avoided homosexuality even when demanded by the plot it seems that whatever aliens do in the bedroom would be way outside the range of activities alluded to in Star Trek. It seems that almost all sci-fi has aliens that are less alien than a significant portion of the human population. I think it s safe to predict that if we should meet aliens they will not look like humans wearing cheap make-up or rubber suits that has more to do with the budgets assigned to movie studios than any claim to potential realism. It seems most likely that a society capable of developing space travel would need a great deal of training for it s young before they become self-sufficient. Species of animal that abandon their eggs and hope for the best seem unlikely to succeed in doing that. I think that this implies that a pair-bonded species that spends an extended amount of time raising their young is most likely to succeed. Perceptions of Aliens Vulcans are widely regarded as being on the Autism spectrum. So it seems that having some similarities in personality to about 1% of the human population is enough to convince most human viewers that the character in question is an alien. A Google search for such things just turns up many references to people on the Autism spectrum who feel like aliens which incidentally is the source of the alias ETBE [4] that I used for more than 10 years before being diagnosed as an Aspie. Star Trek aliens aren t actually very alien by human standards! Given the repeated demonstrations of the general human inability to recognise the psychological similarities in people from different countries or racial/ethnic/religious backgrounds it seems likely that few people would recognise aliens as being at all similar to us. As so many people are unable to recognise the fundamental similarities in people who happen to have a different skin color I can t imagine many people immediately regarding beings that look like octopuses as having human traits. Could an eusocial organism (such as bees or ants) develop space travel? It seems to me that most people wouldn t regard humans who act in a manner that resembles ants (such as the Borg Collective) as being like us . The possibility of an eusocial race evolved from humans is explored in Coalescent: A Novel (Destiny s Children, Bk. 1) by Stephen Baxter (and more briefly in the sequels). Probability The universe is a large place. Making a specific prediction about the first alien species that we might encounter might make some sense. But given the potentially billions of species that might be out there we should assume that some of the more improbable forms are represented. Claiming that anything in particular is impossible seems very rash. Also anyone who makes claims about what evolution should do seems to have missed the point. What evolution does is to give rise to species that tend to be a better fit for the environment. Different environments result in different creatures. We can try and predict what creatures might evolve, but we don t get to say that things should happen.

13 February 2010

Dirk Eddelbuettel: Rcpp 0.7.6

The new 0.7.6 release of Rcpp, our set of R / C++ interface classes, is now at CRAN and Debian. This comes just a few days after 0.7.5 as we had made a mistake in Makefile.win which is now fixed. A few other things sneaked in while were at it, see the snippet from the NEWS file below or look at Romain's blog where he highlights named-based indexing in vectors and the addition of iterator as well as begin() and end() members that now allow the use of STL algorithms on our R objects which is nifty. The changes are summarised below in the NEWS file snippet, more details are in the ChangeLog as well.
0.7.6   2010-02-12
    o   SEXP_Vector (and ExpressionVector and GenericVector, a.k.a List) now
	have methods push_front, push_back and insert that are templated
    o   SEXP_Vector now has int- and range-valued erase() members
    o   Environment class has a default constructor (for RInside)
    o   SEXP_Vector_Base factored out of SEXP_Vector (Effect. C++ #44)
    o   SEXP_Vector_Base::iterator added as well as begin() and end()
        so that STL algorithms can be applied to Rcpp objects
    o   CharacterVector gains a random access iterator, begin() and end() to
	support STL algorithmsl; iterator dereferences to a StringProxy
    o   Restore Windows build; successfully tested on 32 and 64 bit;
    o   Small fixes to inst/skeleton files for bootstrapping a package
    o   RObject::asFoo deprecated in favour of Rcpp::as<foo>
As always, even fuller details are in the ChangeLog on the Rcpp page which also leads to the downloads, the browseable doxygen docs and zip files of doxygen output for the standard formats. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page

Martin F. Krafft: ACTA: less knowledge means less resistance

Right now, your government is probably engaged in the discussion of the Anti-Counterfeiting Trade Agreement (ACTA). You are likely not aware of that because your government has been actively keeping these negotiations and details surrounding them secret. Your government does not want you to know about a treaty that has far-reaching negative effects on your freedom, as well as your basic human rights. If you did know, you might speak up and make it difficult for the drivers of ACTA to smoothly push their interests past you. The red light should light up in your head right now! The goals of the trade agreement that is being negotiated are multifarious, but essentially seem to centre around challenges related to intellectual property, and copyright in the digital age, even though it is sometimes claimed that the agreement serves primarily to contain trade of fake Prada bags and Rolex watches. In reality, ACTA is about content producers like movie studios, who try everything to prevent you from copying their work without paying for it even if you cannot actually purchase the work, because of e.g. technical measures designed to prevent certain people from legally obtaining content, or simply because the media companies are greedy and consider it PR-savvy to delay the release of a given work in certain countries until after people have had a chance to pay a lot of money to the cinemas. In theory, a creative work goes out of copyright 50 or 75 years after its author died, depending on whether the creativity can be attributed to a person or a corporation, respectively. Therefore, 50 or 75 years after creation, it gets increasingly hard to monetise a work that has not been reinvented in that period of time. Sounds plausible to you and me, but this sort of stuff frightens companies like Disney, who seem powerful enough to simply have the law changed. That is not how things should work. The media producers are failing to control the Internet, and hence they want to turn it into something more like cable TV, which they do know how to control. ACTA aims to make copyright infringement a criminal offence. ACTA wants to make it possible for a government to cut you off the Internet because someone thinks you did something bad they don t actually have to prove it though, accusation is enough. Similar efforts have already failed all over the world, e.g. in France and New Zealand. That s a sign, not a reason to try again. ACTA wants to set in stone that you have absolutely no rights when you cross borders. This is largely already the case border officials can pretty much do with you whatever they want now it s supposed to be made official, and legally binding. ACTA will create a culture of surveillance and suspicion. ACTA is designed to break the Internet, among other things. But worst of all: I am just speculating because we are not supposed to know the details. The best current source of information on ACTA seems to be Canadian law professor Dr. Michael Geist, who has been collecting content and linking to articles consistently since the ACTA negotiations commenced 2 3 years ago. The Electronic Frontier Foundation also has comprehensive resources available. It s even more important today than before to put an end to this secrecy. Don t let your government enter secret agreements that affect you and your life, refusing to talk to you about it beforehand, and probably refusing all responsibility afterwards. Talk to your politicians and ask questions that cannot be answered with stock replies. If you have specific contact addresses for politicians, please let me know so I can add them. Colin Jackson helped me with this article at Kiwi Foo Camp. He also takes an issue with the secrecy around ACTA.

12 February 2010

Joost Yervante Damad: Nokia N82 Bluetooth + GPRS/3G

A few months ago I did an interesting discovery about using my cellphone to go on the internet via bluetooth. I had this strange situation before where it just stopped working, and after revisiting all configs it worked again. What really happens is that my cellphone somehow crashes, after which I power cycle it by removing the batteries. The phone then boots again, but here is the twist: the service channels in the phone are re-allocated and apparently in a random order! This implies that the RFCOMM channel configured in the /etc/bluetooth/rfcomm.conf file is possible wrong now! Solution: just browse the services again with sdptool browse, adapt the file and it should work again!

11 February 2010

Asheesh Laroia: Google and University email

Should universities switch away from hosting their own email and join the Google bandwagon? Adi Kamdar wrote to the Students for Free Culture discussion mailing list linking us to a Yale Daily News article discussing an "almost-definite" switch for Yale to Google Apps for Education. Adi asked for thoughts, so here are mine.

Privacy One interesting thing about the Gmail option is that, when deployed for all students, students have no choice but to let Google read their official email. Some students might take part in activism that they want to shield from Google, a corporation with its own interests, or the attackers that attempt to break into Google's systems (see the recent attacks from crafty pro-Chinese-government hacktivists). Before a switch to Gmail, each student could choose if Google was the kind of company they wanted to share their email with. After a switch to Google Apps, the choice is made for them. But this highlights a different issue: Before a switch to Google, students have no choice but to let university administrators read their official email. That's not necessarily optimal, either. Others have pointed out in this thread that this option comes with legal advantages with regard to privacy law. At least that's some consolation. It's still true that students can encrypt their email and make it difficult for any eavesdropper to figure out the bodies of their emails. But that's no use for hiding the identities of the people with whom they communicate -- no email crypto I know hides email addresses.

Software freedom and open standards This is juxtaposed against another difficult situation: Matt Senate wrote about the sucky Squirrelmail system that Berkeley uses (used?) for webmail. The fact that SquirrelMail is Free Software is small consolation for Matt. From his perspective, because it's a hosted web application, he has no more freedom than he would have with Gmail. At least Berkeley's IMAP server followed standards! That's more than we can say for the Gmail IMAP server, which is famous for basically supporting just enough IMAP for Microsoft Outlook to work. But standards compliance is small consolation. If the university email server "properly" supports IMAP, but isn't fast or doesn't provide the new extensions that make threading or search speedy, it's not much relief to know that you can use any client you want to slowly read your email.

Internet history Truth be told, University-hosted Internet services are based on what you might call the original Internet perspective. The Internet began as a network of networks. A University was a network island unto itself, running its own email, news, and Ethernet services. When inter-network connection was available, you can email people at other institutions. When it wasn't, well -- the Internet is a useful tool, but it's down right now. "Don't worry," the admins might tell you, "you can still read your email with PINE." It used to be that inter-network connectivity was icing on top of the "real" network a person used. Today, inter-network connectivity is the whole point of a network connection. How embarrassing for each individual network! To test if our connections are working, we skip right over the local content and point our web browsers at a search engine. Users today aren't satisfied to read their email from imap.institution.edu and read USENET news-- they thirst for real-time access resources available beyond the university. Students weren't interested in the J-Stream service I helped set up at Johns Hopkins; instead they mostly posted and watched videos at YouTube. They don't really care if the the student-oriented wiki is based on campus or instead halfway across the globe (say, in Japan). The original Internet was based on autonomous networks and opt-in routing. But eventually, all the networks opted in. Users drive everything, and when they don't get what they want, they vote with their feet. Companies like Facebook and Google stand ready and armed to provide shockingly-efficient services to millions of users who choose them. You could say that with today's network, the autonomy shifted from the network to the users. The nice thing about University-run services is that students can organize and ask for changes, as Fred pointed out. And for people like me, there's something nice about knowing the person who runs your email system. But if your busy university staff doesn't have time to investigate an email server with fast full-text indexing, you might wish for change. Having the university tear down its internal services is a progression toward seeing its network as simply transit. Imagine the loss of pride. It used to be that the university personally ran a system for helping users get what they wanted. As it becomes simply transit, the staff are just greasing the cogs of a larger, invisible machine that's easy for users take for granted. Some netizens like me hold email as sacred, a beautiful institution based on standards and a decision to interoperate. When your university switches to Gmail, I'll be sadder, but maybe what you'll get is professors who can spend more time with students and less time configuring desktop software.

Trade offs Every university has a choice: Pay hundreds of thousands to millions of dollars a year for dedicated staff to run an in-house email system, or let Google do it. Think for a moment of what good could come from those dollars when put to use in other ways for students. Your school could start a switch to all-organic food. It could start paying more of its employees a living wage. Imagine the travel funding for student activities that can come from hundreds of thousands a year well-spent. It could run a massive used textbook clearinghouse to help students avoid pouring their dollars into the textbook industry. And now cry with me. What I've asked you do is to consider sacrificing institutional autonomy for cold, hard cash. That's to say nothing of the ecological benefits or the productivity increases possible from having Google's paid experts run this part of the computing system.

Conclusion Is an official Google email system much different than the reality most students I know live, which is configuring their student email address to forward to gmail.com? For those of us who would be sadder with one more push toward centralizing email with Google -- for those who see it as the behemoth whose size threatens the decentralization that used to be the core of the Internet -- I ask you to think positive. "See the profit from your loss." I have no conclusions for you, just niggling questions.

10 February 2010

Aigars Mahinovs: USB 3D Sound

Want a sound card? Want a cleared sound that is not contaminated by electromagnetic interference in you computer s case? Want that all to work in Linux? I did. So I got me one of theseUSB sound cards. It arrived today in a tiny padded envelope. USB sound card And it works with Linux. Just plug and play. PulseAudio makes it all trivial. The device ID as reported by lsusb is 0c76:1607 JMTek, LLC. The text on the back of the device says Model HY544 USB 3D Sound Pnp FC CE Made in China .

Next.

Previous.