Search Results: "ean"

8 February 2007

Gustavo Franco: Linspire switches from Debian to Ubuntu^WDebian

Canonical and Linspire announced a technology parternship today. I think it doesn't mean much for Linspire and Freespire success since it's basically a switch from Debian to Debian. Ok, maybe less work to merge bleeding edge stuff into Linspire products but not really mind blowing.

What's really impressive on the deal is the CNR usage in Ubuntu. I believe they're gonna use the CNR regular client for the next release for commercial software, but i bet that in the second semester will push to a integration with the www.cnr.com or a cnr.ubuntu.com. It means a lot to Canonical and Linspire companies and Ubuntu, Linspire and Freespire users. Read more about my view on what could be coming from this CNR on the web thing.

After cnr.com launch, the missing piece will be Red Hat and/or (Open)SuSE come up with a similar service providing a way to upstream developers (maybe through sf.net and similar services) distribute development snapshots or releases not verified (signed if you want) by distributions. It will pave the way to turn the Linux software distribution and installation easier than ever. The shame is that Debian isn't playing a major role on this silent move.

John Goerzen: Haskell Time Travel

There is something very cool about a language in which the easiest, most direct way to explain how it solves a problem is to say, "When we pass the output of [this function] into the input for the oracle we are actually sending the data backwards in time. So when [the code] queries the oracle we get a result from the future."

Sweet.

The story goes on to say, however, "Time travel is a very dangerous business. One false move and you can create a temporal paradox that will destroy the universe (which in this case means that the computation will diverge). When programming with values from the future, it is important never, never, to do anything with the values that might change the future. This is the temporal prime directive."

MJ Ray: And now for something completely different: Snow

After being told by a few people that it rarely snows on this coast, here's my view at 9am today (2007-02-08): [photo of snow] Naturally, this means travel chaos, school closures, horsemen of the apocalypse and so on. Got to love England's reaction to snow. It's all melted now (noon), of course.

Miriam Ruiz: Problems when packaging games

I’ll try to summarize the problems I usually encounter when packaging a game for Debian: I’m sure I’m leaving lots of points out of this list, it doesn’t mean to be exhaustive in any way. Maybe I’ll remember more things later.

7 February 2007

Stefano Zacchiroli: vim-script news

vim-scripts maintenance Mixed research meeting in which universities get in touch with big companies are fun, especially at the end, when the planning phase is reached and different, often conflicting, interests show up: academic fellows pulling the blanket from one side (trying to postpone deadlines, planning paper submissions, ...) and industry hard-workers pulling it to the opposite site (which results when, press releases, ...) But the mutual presentations at the beginning of those meetings are sooooo boring, especially when you (as an academic) have to listen at the company presentation: buzzwords, organizational charts, quadrillions of $ invested in R&D in the last years, bla bla bla. What's better to occupy that time slots than Debian hacking? So this morning I proudly uploaded a new version of vim-scripts (7.0.5) which is itself proud to be the version with the longest changelog entry in the package history (49 lines). Among the most notable changes you can find: Enjoy vim-scripts now!

Meike Reichle: Planet weirdness or Dear Lazyweb

Should you be reading this blog via planet.debian.org, you may have noticed, that since a few days my posts stay on top of the page much longer than they should, usually for a few hours, and then start wandering down with the rest. The problem is: I am not editing my posts. Checking my rss feed shows a pubDate, e.g. Tue, 06 Feb 2007 20:26:00 CEST for my last post, and that pubDate doesn't change. Could it be a problem, that the pubDate is in CEST rather than, say, UTC? Or that it doesn't give the offset? I am using blosxom and this began happening when I removed the until then unconfigured timezone plugin from /etc/blosxom/plugins/ because I wanted the date of my posts to be at my local time and that (actually) works without having the timezone plugin, so I thought I wouldn't need it. I've now replaced it and set the timezone to CEST. This didn't affect the pubDate of my rss, but maybe it will fix my planet problem. If not, any other ideas how to fix this would be most welcome. UpdateAs I've been made aware by several people, we currently have CET, not CEST. Thanks for mentioning :) I am still trying to find the reason for all this. In the meantime, please excuse my planet b0rking.

Ross Burton: Asynchronous Flickr Library, version 0.2

Flickrpc 0.2 is released. This has several improvements: Basically no new features but it now works on Python 2.5 without an external ElementTree, the code is cleaner, and it's LGPL instead of GPL. Grab a tarball here or the bzr tree here. NP: The Good, The Bad, And The Queen

6 February 2007

Lars Wirzenius: Rant: Fonecta spams me

It's that time of the year again when the homes in Helsinki get delivered no less than two sets of phone books. There's two competing companies producing them, so of course everyone should both sets, they think. Personally, I think it is ecologically irresponsible. I don't have any use for even one set: I find numbers faster and easier and more accurately on the web, and likewise maps on the web are better. Up until a few years ago, the phone books were delivered to grocery stores and people would pick them up from there. I could then happily ignore them. Then they decided to start delivering them directly to the doors of people's homes. This meant that I had to answer the door bell up to four times and tell them I don't want it. That's twice per company, since they would re-try delivery if they didn't succeed the first time. "No thank you" counts as not succeeding, of course. This year, Fonecta, one of the companies, has decided to produce the books in a size that fits through the mail slots in apartment buildings. When I came home today, I had a pile of useless, harmful crap on my doorstep. That's a good way to make potential customers happy, Fonecta, thank you very much indeed. I've e-mailed info@fonecta.com to ask them to come fetch them back. I don't want to throw them away, that just increases the garbage bill for my apartment building. If you, too, live in the Helsinki area and think that paper phone books are an outdated relic of the past, please join me in mailing Fonecta. I can't believe I'm the only one, yet both companies seem to claim every year that no-one complains.

David Welton: Popouts with Rails

In a previous article about Stuff To Do, my ajaxified priority queue program, I talked about how best to keep track of the user's state of activity, should they so desire. I opted for the popup, as that was the best compromise between simplicity, and ease of use for the end user. From an end-user point of view, it's similar to how gtalk can detach from gmail if you want to run it in its own window. The trick was to implement the popup/popout in Rails, which actually ended up being pretty easy, and, all things considered, is a pretty cool technique. It's neat to pop stuff in and out of a web page. The easy part is popping out the window:
<%= link_to_remote("Pop out " + image_tag('popout', :border => 0),
                    :url =>   :controller => 'tasks', :action => 'popout'    ,
                   :title => 'Pop the status window into a popup window') -%>
Which subsequently calls popup.rjs:
page.replace_html('status', "<i><small>status in popup window</small></i></br>" +
                  link_to_remote("<small>Restore</small>",
                                  :url =>   :controller => 'tasks', :action => 'popin'  ,
                                 :title => 'Restore the status window'))
page << 'statuspopup();'
Which is pretty simple - the first call replaces the html in the status div, and the second calls the javascript function statuspopup. This lets us replace what was in the status window with some placeholder text and a 'restore' link in case things get screwy and the user wants to simply restore the old content of the div in question. It's worth noting that we also store the popped out status in session[:popped_out] in order to let the application know that the window is "popped out". This doesn't actually pop the window itself up. The statuspopup function in javascript (located in application.js) takes care of that:
function statuspopup()  
  window.newwindow = window.open('/tasks/openstatus','status',
                                 'height=10,width=210,status=no');
  return false;
 
And then the openstatus action opens the same rails partial that the regular page does:
<%= render(:partial => '/tasks/status', ...
Meaning that you don't have to rewrite the same code in two places. So, that's all it takes to pop up a new window, and replace the contents of the old div in the html page giving the user the sense of having popped a piece of the page out into a popup. So far so good. Now what happens when the user closes the popup? Luckily, we get a reference to the window that opened the popup called window.opener that we can use to comunicate with the main window. For instance, in our case we set up an event listener to fire when the window closes:
window.addEventListener("unload", statusClosed, false);
And this, in turn, takes care of popping the window back into the main page:
function statusClosed()  
new Ajax.Request('/tasks/popin',   method: 'get', asynchronous: false  )
$('popoutlink').style.display = 'inline';
w = window.opener;
target = w.window.document.getElementById('status');
code = $('onidle').childNodes[1].innerHTML;
target.innerHTML = $('status').innerHTML;
target.style['backgroundColor'] = '#bbddbb';
target.style['backgroundColor'] = '#bbddbb';
w.eval(code);
 
Once again, pretty simple. What's happening: We also fix up the color just a bit, to mark the user as active. All in all, it's pretty useful for time tracking. In Linux, it's ver easy to set the new popup to follow you around the screen, making it so that it's not a bother at all to wave the mouse at it to let the application know you're online. All you do is set the 'on top' and 'always on visible workspace' options - at least in Gnome.

Mark Brown: In plain sight

Even worse than the usual multipart/alternative messages with a contentless text/plain part are messages like that when there quite clearly is a text/plain version of the message (for example, as another option when you sign up for a list) but it’s not been included and this unhelpful “error” has been included. This annoys me: my text mode mail reader is perfectly capable of coping with both multipart/alternative and (via whatever run-mailcap gives it) text/html messages; the error here is entirely in the sending software. It should either include the text/plain version which the sender is already going to the trouble of producing as an alternative in a multipart message or just not bother with the alternative at all. Given the general quality of implementation one finds the reasoning behind providing the alternative is probably that there’s some widely deployed piece of software out there which explodes horribly if it sees HMTL outside of a multipart/alternative wrapper. There are probably some users who are sufficiently keen on seeing the HTML version of the message to mean that they would actively wish to avoid using a plain version of it but there can’t be many - I expect the actual reasoning behind not putting it in is ease of implementation.

Ross Burton: Xrandr 1.2

Since I got my 20" widescreen monitor in the summer, I discovered how bad X's support for resizing displays is. I wanted to have the ability to plug my laptop into the 20" display in the office and expand the desktop to 1680x1050, or remove the 20" display and shrink the desktop back down to the native resolution of 1024x768. It turns out that a number of factors were stopping this, and the only way to do it would have been to restart X. Because of this I ended up using the display at 1024x768 when I did use it, but mostly I stayed on the sofa. Then I heard about xrandr 1.2, the all-singing all-dancing revision of the X Resize and Rotate extension. Basically, it would solve my problem, and as luck would have it my laptop has an Intel chipset and the people hacking on it work at Intel. Yesterday after lots of poking I finally made it all work for this. This involved a lot of poking and a little black magic. The first step is getting an X server new enough. First, you'll need to update some X protocol headers. We'll start with the easy ones that have had releases (grab the latest release you can find): Then you'll need to update various other bits of X: Once this is done and X still works, it's time to brave the perilous world of git. If you've never used git before, it's quite simple for this. Go to the git browser and find the module you want to check out. Click on it, and you'll see two URLs: you want the anongit one. Do git clone [url], and then if I've specified a branch other than master, cd into the directory and do git checkout [branch]. For example:
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel
cd xf86-video-intel
git checkout modesetting
You'll need to grab: Build it all in that order. The order is important as if you build the Intel driver against randr 1.0 instead of 1.2, it won't do what you want. By now you should have an X that looks no different. But...
$ xrandr
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1680 x 1050
VGA disconnected 0mm x 0mm
LVDS connected 1024x768+0+0 246mm x 185mm
   1024x768       50.0 +   60.0*    40.0  
   800x600        60.3  
   640x480        60.0     59.9  
TV disconnected 0mm x 0mm
Now that is clever. Here you can see that I don't have anything connected via VGA, my LVDS (no idea what this stands for, but it means the laptop's panel) has a preferred mode of 1024x768 (thats what the * means), and I have nothing connected to the TV output (because Lenovo didn't wire it up). Now if I plug something into the VGA and run xrandr -s 0 (select default screen size), the external display should power on. Xrandr doesn't try to be too clever, it will leave that to desktop daemons, but by default it will try and make something appear on all of the connected displays. In this case, my 20" TFT gets a clone of my laptop panel, at 1024x768. That is no good though, I want to turn off the laptop panel (as I'll be shutting the laptop) and switch the external display to 1680x1050. This is where the black magic starts... Currently the Intel driver cannot resize the physical framebuffer in memory after X has started, so it defaults to a framebuffer of 1200x1024 (IIRC). That isn't big enough to hold 1680x1050. Also the Intel driver doesn't detect any modes from the TFT. This may be Dell being stupid, or the EDID parser in the driver being too restrictive, I don't know. Luckily we can still use modelines in xorg.conf so I added this:
Section "Monitor"
        Identifier "Dell TFT"
        # This is a standard modeline for 1680x1050 at 60Hz
        Modeline "1680x1050" 149.00  1680 1760 1944 2280  1050 1050 1052 1089
EndSection
        
Section "Screen"
        Identifier      "Screen"
        Device          "Intel"
        Monitor         "Monitor"
        # This says that when using a monitor on the output called VGA, use the
        # settings in the monitor "Dell TFT"
        Option "monitor-VGA" "Dell TFT"
        DefaultDepth    24
        SubSection "Display"
                Depth 24
                # This tells the screen to allocate a frame buffer up to
                # 1680x1050.
                Virtual 1680 1050
        EndSubSection
EndSection
With this, everything just works. If I xrandr with various displays plugged in I can see what they support and can switch modes. To make everything nice and easy I wrote a small script that I bound to an unused function key:
if xrandr -q   grep -q  "VGA connected"; then
  xrandr --output LVDS --off --output VGA --mode 1680x1050
else
  xrandr --output VGA --off --output LVDS --mode 1024x768
fi
(thanks to Eric for pointing out that I don't need to use the hex values). Simple! As you can see the new xrandr is very powerful. If you want to do Xinerama-style dual screen you can do that too: xrandr 1.2 encompasses that behaviour. The final thing to point out is how glad I am that GNOME seems to handle the screen resizing like this so nicely already. When the desktop shrinks Metacity moves windows so they are visible, and when the desktop expands the panel applets on the right stay on the right instead of sitting in the middle. The script I run when I change screens does more than I pasted here: it changes the wallpaper to match the aspect ratio, and also changes the fonts. I hope this has made sense, I know there are a few people out there who were waiting for me to test this before they gave it a go. If anything is too vague, leave a comment and I'll expand it. I should also mention that I've got Ubuntu Edgy packages for everything here in my repository. NP: Animal Magic, Bonobo

Rodrigo Gallardo: Failed training session

I went to the bookstore yesterday, hoping to advance in my Honya Budo training. I actually expected to reach “The feeling of the touch”. I succesfully dodged the powerful alure of a book of photographs by Juan Rulfo, a collection of maps showing the advance of european knowdledge of asian cartography from atiquity, and a collection of MC Escher engravings. Alas, the power of a cheap (MXN30) edition of Pirandello’s Six characters in search of an author proved too much for me. Back to square one, I go.

Antti-Juhani Kaijanaho: FINEID not quite there with Debian

I got myself a new identity card. All new Finnish national personal identity cards are FINEID cards; that is, they are contact smart cards containing two secret keys, one for common authentication and the other for nonrepudiable digital signatures backed by law. In theory I should be able to use it for authenticating myself to my bank web service, and the Electronic Post Office. I thought this was cool so I got myself the hardware (SCR331) for reading these cards. The beginning was easy. I needed to install openct, opensc and mozilla-opensc. The first two worked out of the box; the last one wouldn’t work with Iceweasel without manual prodding (#409946). I was eventually able to log in to the FINEID test site, but signing stuff does not work (#409948) which means that I am not able to log in to my bank. The post office does not let me log in either, but the cause is unknown (they do not provide any diagnostic messages). And now mozilla-opensc is causing Iceweasel to freeze in some situations (#409963). I already lost one draft of this post because of that. Edit: Now I was able to log in to Post Office, after I reinstalled mozilla-opensc. Weird.

Adam Rosi-Kessel: Google Observations

Changes are afoot at Google. A couple of weeks ago Google announced that it is refining its algorithms to minimize the impact of “Google Bombs.” (It’s curious that they made a big announcement rather than just doing it covertly, but perhaps this way they get to control how the news is framed.) Apparently, link text will be weighted less heavily in determining relevance to search terms. Presumably this means the page content will get more weight — ultimately there are only a few parameters that can serve as inputs in PageRank. A couple of weeks ago, I adopted the name Substantially Similar for this blog. I was looking for something clever and suggestive of the focus of this blog, but not overly clever or too narrowly focused. (I leave it to my readers to tell me if it works.) As a test case for Google’s new algorithm, this seems to be proof positive: Substantially Similar Web Search I am fairly certain no one has created a link to me yet with the link text “substantially similar,” yet I’m already the top result. Another change I noticed is the substitution of third-party descriptions of URLs instead of excerpt text. I don’t know if this is a new development or not, but it’s an interesting departure from what I’ve seen before: Google Excerpt Text That last link above is my old law school outline site — and the text “not fancy, but tons of outlines” doesn’t appear anywhere on the page itself. Instead, it is a description of the site from a couple of outline “portal” pages.

5 February 2007

Julien Danjou: DPL election begin

Since yesterday, the election process of the Debian Project Leader started. It's now time for nomination, as explained in the mail that our dear secretary sent (with the same paragraph twice, ahah, I am mean, I know, sorry). I really wish that this year some people are going to be really inside the project, will listen to developers and will give a big kick in the bushes. Years after years, we really need it more and more. A lot of people[1] are asking if I'm going to be a candidate this year. No, you know, I know I'm so famous and loved that I would be elected right away, but I don't think I'm the man. I prefer to give a chance to others people. And I heard that some real good developers are going to make this happening. I assure I will be behind them! If I were you, I'd stay tuned, because I believe that this year might be a real turn for Debian!
Notes [1] Not true right now, but I'm sure it will be soon.

MJ Ray: TTLLP Telephones

And the award for worst-addressed post yet goes to COLT Telecommunications for:
"TTLLP
Qewstoke (should be Kewstoke)
Summerset (should be Somerset)"
The dangers of using foreign call centres for data collection, I guess. At least they got the name, street and postcode correct, so it arrived. The post itself was pretty interesting. It said that 0870 numbers will stop being revenue-shared from February 2008, which seems to be confirmed by this Ofcom press release from April 2006 which I hadn't noticed. TTLLP trades its revenue-share for hunt, voicemail, fax termination and so on, so I wonder what will happen to that service after Feb 2008? We recently signed up for numbers where we get outbound SIP to PSTN calls too. I was undecided about which number to use in future, but I guess this means TTLLP will switch to 0844 or 01934. There's a bit of flaming going on at Say Not to 0870 which reminded me to update our entry there. The COLT mailshot came with a calendar to try to persuade you to move your 0870 numbers to them and you can order your own calendar on their site - pictures are holding hands, walking under an umbrella, Brussels Grand-Place (I think), tulips, rowers maybe on Lake Ontario, a diver, a boardwalk, dandelion seeds, walking through fallen leaves, the Millenium Wheel with fireworks, illuminated pine tree, starting an avalaunche and London commuters. Can anyone spot a theme there? I don't.

Martin F. Krafft: Cleaning HTML attachments from emails

Dear Lazyweb: do you know of a tool that can scrub text/html attachments from email, which have the message also in a text/plain attachment? I know storage is cheap these days, but with large mail volumes, there is a noticeable difference between storing 2k emails and 8k of redundancy. Previously, I would send auto-replies to get people to reconfigure their mailers, but that's not a battle I'll ever win, and there is no safe way to send auto-replies without annoying the living hell out of some people at some point. So I stopped and now want to switch to a local solution. I am sure the Anomy Sanitizer, or tools like MIMEDefang could be coerced into doing this, but they come with a lot of cruft that I do not need or want. Rather, I am looking for a lean and mean Unix-style pipe filter that will strip text/html parts if it has enough reason to believe that sibling text/plain parts carry the same information. It has to be capable of dealing with Unicode, or at least be 8bit-clean. And it has to work. Any comments appreciated! NP: Negua / A Way Out

Martin F. Krafft: Install full Vista from upgrade version

This is just hilarious and representative of a company that seems to have no idea about security or the ways of the hackers (from Monsters and Cirtics.com): With a DVD-based Windows Vista upgrade, you can install the complete version, even if you've never owned (or installed) Windows before. Simply don't enter the product key after booting from the DVD and install a 30-day trial. Then reboot with the DVD a second time, and now enter the product key. It will upgrade the trial to a full version. I am definitely not advocating anyone to do this because there are plenty of reasons to avoid Windows Vista; I just post this for the giggles. Microsoft, you are morons. Get a grip. You can't beat the "bad" guys at security. Noone can. And when it's about licencing costs, the only lucrative way seems to find real business models based on a non-volatile basis and with a more sustainable edge to them. NP: Green Carnation / Light of Day, Day of Darkness Update: In the light of the above story, this interview makes me laugh for the sheer amount of hot air. And then there is this this gem, an email from Jim Allchin to Billie Boy and his mate Stevie with fabulous statements, like "... our teams lost sight of what bug-free means, ... what security means..." (as if they ever knew...), or "I would buy a Mac today if I was not working at Microsoft." That was 2004. Three years later it is as if this email had never been written.

Simon Richter: Fun in Scotland

Eventually, it just had to happen. Being used to subconsciously disregarding emails asking me to "update my application details", I overlooked both of the reminders to please fill in the timeframe in which I'd be at DebConf. Which probably means, I'm not going to get food/accomodation sponsorship. If I calculate with the (ballpark) figures I have, that would be a massive amount of money, even if I can get space in one of the hostels (which I currently do not know). So, I went out today and investigated some other options. One that particularly stuck out was a luxurious house about 15 kilometers from Edinburgh, that, provided there are a few others who'd share, would cost about the same to each of us. The downside is obvious: It'd be quite some distance to the venue, the train takes about half an hour to Edinburgh central and we'd have to get to the train first (the web site advertising the house says "car advised"). On the other hand, the house has an indoor pool, a sauna, Internet access, a washing machine and a clothes dryer and a garden with barbecue place. If there is a significant number of people (there is space for nine) interested, this might be an option.

4 February 2007

Ian Murdock: Why Solaris should adopt GPLv2

One word: Device drivers. (Ok, that’s two.) One of the biggest problems for any developer building an operating system for the x86 is device support—how do you get your cool new OS to run reliably across the seemingly endless collection of hardware that is “the x86″? No matter how cool it is, it won’t seem very cool if it can’t talk to the hardware. One time honored technique (at least in the academic world, and at least since I joined that world in the mid-1990s) is to use Linux’s huge collection of device drivers. Typically, that means creating a shim so your kernel can talk to the Linux device driver layer and, of course, making sure the licenses are compatible. Not sure I understand the rationale behind GPLv3, since there are rumblings that v2 and v3 won’t be compatible, and since it doesn’t look like Linux is going to adopt v3 anytime soon. But Solaris adopting GPLv2 makes a whole lot of sense from my point of view just for the device drivers and the resulting boost to overall usability.

Next.

Previous.