Search Results: "ed"

8 November 2010

Adnan Hodzic: DebConf11 official dates

Even though we had approximate dates from very start, I would like to announce official dates when DebConf11 will be held in Banja Luka, Bosnia and Herzegovina.


DebCamp: 25th 31st July 2011 DebConf: 1st - 7th August 2011
We encourage you to arrive one day earlier (24th July for DebCamp, and 31st July for DebConf), final departure date will be 8th August.
Vacation, it s in our plans to talk to travel agencies, so for those who wanted vacation after DebConf11 as its participants can enjoy shores of Bosnia, Croatia, Montenegro and Greece by discount prices. We re already looking forward your stay on Balkans! Smile Adnan


http://wiki.debconf.org/wiki/DebConf11/BanjaLuka

Matthew Garrett: Less hurrah

I would tell you about the phone call I had with a company where the CEO acknowledged that they were behaving in criminal activity in multiple jurisdictions but promised that they'd probably stop in a few weeks and so I shouldn't worry, but it seems that in the modern Internet I'm not allowed to because there were no independent witnesses and I haven't called the police, and also if I wanted people to respect my copyright I shouldn't have put my software on the internet where I'm just begging for it to be taken advantage of. Also, in future I won't be fixing any bugs unless they happen to me because you might just be making them up make my code look bad, and also you shouldn't accept any patches from me because I might by lying about things just to inflate my patch count and make myself look better at the expense of competing companies.

(for anyone missing the point: THIS IS A SERIES OF ANALOGIES INTENDED TO INDICATE THAT THIS ARGUMENT IS FACILE)

Matthew Garrett: Hurrah

I got married to a wonderful woman this weekend and in an hour or so I'm going away for a week. The last couple of weeks have been pretty busy so sorry if I've dropped any patches on the floor, but I'll catch up once I'm back.

Julien Danjou: Google Maps for Emacs: moving, caching and home

Last week, I worked on my Google Maps for Emacs extension. I've introduced a new format handling for locations which include the longitude and latitude. The initial format was just a string describing the location, which was obviously too limited. It now prints coordinates of the different elements when the mouse is over the map, with other information. It also center the map on M-x google-maps and set a default zoom level. This is something which was not set because it's not a good idea to set center coordinates in order to see all points on the map automatically. But you can still remove the centering by pressing "C". On the other hand, setting it automatically allows to move the map easily, and I think that what most users want to do. I've also added a "place my home on the map" feature, accessible by pressing "h" on any map. That adds a marker according to the location set in Emacs using the calendar- variables. This feature is also available under Org by pressing C-u C-c M-l, which shows the location of your appointment with your home on the map too. Finally, you also get caching so it does not request images you already seen, which makes the moving nicer and faster to use, and prompt history. Flattr this

Joachim Breitner: A Solution to the Configuration Problem in Haskell

On the drive back home from BelHac I thought about the configuration problem in Haskell: The issue is finding a convenient way to work with values that are initialized once and used in many places all over the code. Assume you have a large module of pure code that, using many custom functions and combinators, parses some data structure. Later you noticed that somewhere far down in the parser, you need to react differently depending on some user preferences say, his preferred language. The usual solution is to add a new parameter to that function and, in consequence, to each and every function that calls or might call directly or indirectly this function. This is often very inconvenient. Other solutions include: The solution I thought of and implemented uses Template Haskell, the Haskell library to modify code at compile time, to turn the style you prefer to write in (pure code that uses configuration values as if they were global constants) into the style that is semantically correct (pure code with configuration values as an additional parameter). I uploaded the resulting code as seal-module to hackage and added plenty of comments and examples to the SealModule module ( are comments according to ohcount). I refrain from copying that into this blog post, so if you are curious, please continue reading there.

Raphaël Hertzog: 5 reasons why a Debian package is more than a simple file archive

Folder with gearsYou re probably manipulating Debian packages everyday, but do you know what those files are? This article will show you their bowels Surely they are more than file archives otherwise we would just use TAR archives (you know those files ending with .tar.gz). Let s have a look! 1. It s two TAR file archives in an AR file archive! A .deb file is actually an archive using the AR format, you can manipulate it with the ar command. This archive contains 3 files, you can check it yourself, download any .deb file and run ar t on it:
$ ar t gwibber_2.31.91-1_all.deb
debian-binary
control.tar.gz
data.tar.gz
debian-binary is a text file indicating the version of the format of the .deb file, the current version is 2.0 .
$ ar p gwibber_2.31.91-1_all.deb debian-binary
2.0
data.tar.gz contains the real files of the package, the content of that archive gets installed in your root directory when you run dpkg --unpack . But the most interesting part which truly makes .deb files more than a file archive is the last file. control.tar.gz contains meta-information used by the package manager. What are they?
$ ar p gwibber_2.31.91-1_all.deb control.tar.gz   tar tzf -
./
./postinst
./prerm
./preinst
./postrm
./conffiles
./md5sums
./control
2. It contains meta-information defining the package and its relationships The control file within the control.tar.gz archive is the most fundamental file. It contains basic information about the package like its name, its version, its description, the architecture it runs on, who is maintaining it and so on. It also contains dependency fields so that the package manager can ensure that everything needed by the package is installed before-hand. If you want to learn more about those fields, you can check Binary control files in the Debian Policy. Those information end up in /var/lib/dpkg/status once the package is installed. 3. It contains maintainer scripts so that everything can just work out of the box At various steps of the installation/upgrade/removal process, dpkg is executing the maintainer scripts provided by the package: Note that this description is largely simplified. In fact the scripts are executed on many other occasions with different parameters. There s an entire chapter of the Debian Policy dedicated to this topic. But you might find this wiki page easier to grasp: http://wiki.debian.org/MaintainerScripts. While this looks scary, it s a very important feature. It s required to cope with non-backwards compatible upgrades, to provide automatic configuration, to create system users on the fly, etc. 4. Configuration files are special files Unpacking a file archive overwrites the previous version of the files. This is the desired behavior when you upgrade a package, except for configuration files. You prefer not to loose your customizations, don t you? That s why packages can list configuration files in the conffiles file provided by control.tar.gz. That way dpkg will deal with them in a special way. 5. You can always add new meta-information And in fact many tools already exploit the possibility to provide supplementary files in control.tar.gz: Once installed, those files are kept by dpkg in /var/lib/dpkg/info/package.* along with maintainer scripts.
If you want to read more articles like this one, click here to subscribe to my free newsletter. You can also follow me on Identi.ca, Twitter and Facebook.

19 comments Liked this article? Click here. My blog is Flattr-enabled.

Ritesh Raj Sarraf: apt-offline - 1.0

Hello World. I am very pleased to announce apt-offline, version 1.0. This release adds a Graphical User Interace to apt-offline.
Big thanks to Abhishek Mishra and Manish Sinha who did all the development work to make this GUI happen. Help: I was wondering if there is a logo for APT that I could use in the big blank space on the main window. Apart from the GUI, there are a bunch of bug fixes in this release (which have already been made available for the Squeeze release also).
Generate Signature Window
Download Window
Install Window
I look forward to your feedback and comments on the GUI front. Note: The GUI in its current form is basic and does not provide all the features that are available in apt-offline.

Jaldhar Vyas: Sal Mubarak 2067!

Wishing everyone a happy, auspicious, and prosperous Gujarati new year. (Vikrama samvata 2067 called "Shubhakrt") For Diwali I got a smartphone after enduring years of pointing and laughing at my previous decidely dumb phone. It's a T-Mobile G1 with Google or in other words a rebranded HTC Dream. I didn't want an iPhone (evil) or the phone the sales people were trying to push, the G2 (very evil.) As evil is the default in the telecom industry I especially wanted the ability to run CyanogenMod and this phone, though it doesn't have all the latest whiz-bang features, is perfect for that. (Btw, people are working on porting Cyanogen to the G2 but why let your dollars encourage the carriers and their shennanigans?)

Joey Hess: chop chop

I've always loathed cheap particle board and peg bookcases, and when I broke one while reorgaising the living room at the Hollow today, I finally found a good use for them. They're great fun to chop up with an axe, and make for a very hot fire in the stove later. I released git-annex 0.03 today. The main improvements are being able to configure the backend to use on a per-extension basis in .gitattributes, a fsck subcommand that will find dangling annexed content, and bugfixes, including massive memory use savings. The big feature under development next is an idea Josh Triplett and I batted around; a way to checkout annexed files to edit their contents. Today I also got the radio working well here. Set up a car radio with a 40 foot wire for an antenna, and I finally got it almost static free. Pity that running a nslu2 on the same power circuit causes interference, so I am not able to use that to feed in music via the radio's AUX jack yet, which is the eventual plan. And the radio's powered USB outlet is wasted, I had hoped to run the nslu2 from that. Seems I can run the radio for 9 hours and still have plenty of solar power, even this time of year. Wish it were colder..

Tim Retout: Eyeing up iPlayer

There exist several different versions of BBC iPlayer. (Even if you don't care about the main iPlayer site, perhaps you might want to watch videos on BBC News one day, which uses the same code.) Here is some (reformatted) Javascript from the BBC's site:
a = glow.embed.Flash.version();
f = "";
f = a.major>=10 ? "10player.swf"
  : a.major<8   ? "7player.swf"
  : a.major==9 && (a.minor>0   a.release>=115) ? "9player.swf"
  : "player.swf";
It is clear that Flash 9.0.115 holds special significance; this was the version that introduced SWF Verification support. The 7player.swf file seems to have disappeared entirely - I get a "404 not found" error. That means there is still one version of the iPlayer which hopefully should not require implementing SWF Verification. Navigating around the site with Gnash declaring itself as version 8 (with a patch applied to fix Glow compatibility), only radio programmes attempt to play using this version, and even then not the live streams. (No, gnash still doesn't play anything, don't panic.) So it would seem to me that fixing Gnash's support for this SWF 8 iPlayer would be a good place to start.

7 November 2010

Jonathan McDowell: New laptop: Acer Aspire TimelineX 1830T

I blogged back in August about my frustration in finding a new laptop that had everything I was looking for. I'd figured I would eventually end up with the Toshiba R700, given my positive experiences with the R200. The lack of stock proved a problem, and the differing specs between the US and UK models also annoying. I started trying to source the Sony and finally found the HD model in stock from Vizik, but the helpful people there talked themselves out of a sale by saying the Full HD was too much for 13" (they also failed to have a 3G Full HD model).

I'd only brought the EEE 901 to the US with me, so after a month of that as my only machine at home I was starting to get a bit fed up; the keyboard is too small for constant use and it crawls when subjected to my normal usage patterns rather than just used as a lightweight network terminal. So it became obvious I was going to have to compromise on what I wanted. And if I was doing that I wanted something a lot cheaper, as I thought I may potentially want to upgrade sooner than usual.

In the end I've gone with an Acer Aspire TimelineX 1830T. It cost about a third of what the more fully featured laptops I was looking at were going for, which was a considerable bonus. The 2 things I ended up compromising on were the SSD and 3G support. And the name; I wasn't entire sure about what the build quality would be like.

As it turned out I needn't have worried; it appears to be perfectly well constructed - no noticeable flex while typing, solid enough, yet still fairly light. The keyboard is pleasant to use (admittedly I'm coming from the EEE, but it's a good size and responsive enough for me). I'm a bit uncertain about the touchpad, which has no physical separation from the rest of the case, but it's been ok so far. I miss the multitouch of the EEE, but it looks like there are some patches for Synaptics multitouch flying around that might eventually lead to useful support. I've ended up with a Core i5 470UM at 1.33GHz - what I ordered was the i5-430UM at 1.2GHz (and that's what the box/label on the laptop said), but I'm not complaining at the slight speed bump. It's fine for my needs. The 1366x768 screen is lovely, even in 11.6". Bright, if sometimes a little too shiny..

Installing was of course fun; it reminded me of when I got the R200 - neither the wifi nor wired interfaces were supported by the Debian installer, even from testing. I found a patch to get the (Atheros) LAN working (and have filed #599771 about potentially getting the support into squeeze's kernel) and that got me up and going. The wifi is a Broadcom BCM43225; too new for the old Free driver and the recently released Broadcom Free code causes the machine to instantly crash (I understand it has some SMP issues). So I'm stuck with the binary blob wl driver from broadcom-sta for now. I have hopes the Broadcom driver will improve though; it seems to be getting active love in the staging tree. The graphics are Intel, so well supported. And I'm getting at least 4 hours of battery life out of it, which I think could be improved with some tweaking.

So, er, yeah. Not what I set out looking for, but considerably cheaper and actually seems to meet my needs pretty well - it had its first weekend away trip this weekend and performed admirably; not too heavy in my hand luggage, decent battery life and no worries about it being too flimsy to survive. I'm still surprised it's an Acer...

Benjamin Mako Hill: Monopedal Sumo

At LCA in Wellington -- immediately after a trip to Japan where I saw sumo for the first time -- a number of us created a game we called "monopedal sumo." Basically, the rules are those of sumo wrestling. Push your opponent either down or out of a ring before they do so to you. Unlike normal sumo, in our game you do so standing only one one leg. If your second leg touches the ground. That also counts as a loss. It's surprisingly entertaining. Try it!

Tim Retout: Gnash and downloaded SWF files

So, with the GNASH_OPTIONS=writelauncher hint from last time, you have got a script which runs gnash. It is still running a remote SWF file, though - you want to modify that file to isolate a test case, and for that it will need to be on the local filesystem. First, look in the gnash-debug-1.sh script to find the URL for the SWF, and download it. It's the last option passed to gnash. In order to convince the file that it's still being served from the web server, you now need to swap the '-U' option in the gnash command line for a '-u'. This is enough for gnash 0.8.8 to play the file. Unfortunately, if you are running current git master, this does not work. You also need to feed the SWF from standard input to gnash - i.e. use '-' as the last option, and redirect the SWF file to the gnash command:
/path/to/gtk-gnash -u http://some/url [more options] '-' < downloaded.swf
If any of this is documented, I'm buggered if I can find it.

Kees Cook: security is more than bug fixing

Security is more than bug fixing. Security fixing/updating, the thing most people are exposed to, is reactive security . However, a large area of security work is proactive where defensive abilities are put in place to try and catch problems before they happen, or make classes of vulnerabilities unexploitable. This kind of security is what a lot of people don t understand, and I think it s important to point out so the distinction can be clearly seen. In the Linux kernel, there s yet another distinction: userspace proactive security and kernel proactive security. Most of the effort in kernel code has been protecting userspace from itself (things like Address Space Layout Randomization), but less attention has been given to protecting the kernel from userspace (currently if a serious enough flaw is found in the kernel, it is usually very easy to exploit it). One project has taken great strides with proactive security for the Linux kernel: PaX and grsecurity. There hasn t been a concerted effort to get its pieces upstream and it s long overdue. People are starting to take proactive kernel security more seriously, though there is still plenty of debate. While I did my best to push some userspace protections upstream earlier in the year, now it s time for kernel protections. What to help? Here is the initial list of things to do. Dan Rosenberg has started the information leaks discussion, and I ve started the read-only memory discussion. Hopefully this will go somewhere good.

Adnan Hodzic: Ubuntu Developer Summit (UDS-N) Debianized Summary

Last week I was on my first Ubuntu Developer Summit (UDS-N), I wanted to attended this summit for couple of reasons: 1. Developer, I m part of Debian Java, working on Eclipse IDE, and as you re developing Debian, you re automatically developing Ubuntu, no? Nerd 2. DebConf11 main organizer, I really wanted to see how it s all done on corporate level, for instance we re going with hotels instead of student dorms and so on. 3. Migration to Linux infrastructure, make contacts and have some talks on this topic, because after DebConf11 in Bosnia a lot of institution will most probably open doors to open solutions such as Linux. I went to this summit without any expectations or plans, just said I ll play it by ear. This years UDS was held in Orlando, Florida before Orlando I was planning to stay in NYC for couple of days, therefor my whole plan was to get to NYC, then Orlando then head back home Smile I Heart NYC I spent couple of days here with my cousins and friends, as always NYC never fails to surprise me, and I ll always stop by even if it s only for couple of days Wink I wanted to meet up with couple of Debian people as well, but unfortunately my schedule was too tight so Caribe Royale, Orlando Please note that this whole trip was crazy (in a good way) starting from Sarajevo; on my flight from NYC to Orlando I see a guy that s sitting in front of me is wearing Canonical Landscape tshirt, I approach him and it turns he was Jamu Kakar working on Landscape. Since my luggage was late we had conversations from Debian over Ubuntu to Java to everything pretty much. While we were still at the airport, we bump into two more people going to UDS. As we got to hotel, same moment we walked out of cab there he was Jorge Castro, was he there just to smoke a cigarette or whatever doesn t even matter, what matters is that even before walking into hotel building I knew where reception, my tower and bar was, everything I needed to know at that moment High Five! Hotel where everything was held was Caribe Royale and even though I looked at their website I thought there was no way it s all going to be that nice, to my delight it was exact replica. Place is All-Suite Hotel and Convention Center , which meant that both accomodation, venue and everything else was in one place which is Yes 15 minutes later after I checked in, I was at a bar talking to Jim Baker about Java, Jython and Python, exact things I wanted to talk about at that given moment. What I said in these last couple of paragraphs sounds pretty cool eh? Well to me this whole UDS was just like this, everybody was so accessible and open for discussion, from Jono Bacon walking around offering candy to UDS reception staff Michelle, Marianna and others who were always there whether you had a complaint, problem or a praise. I really should stop mentioning names, because I ll forget somebody, and since it s just not fair because I had a feeling everybody was just there for you, whatever it was you needed. Ubuntu Developer Summit (UDS-N) Ubuntu, Debian, DebConf, differences? Even though I said I ll play it by ear, from very beginning I thought I d be complete outsider, being part of Debian and all. Quite contrary, I was everything but outsider, and even more there was plenty of Debian people there, including current DPL Stefano Zacchiroli, Colin Watson, Riku Voipio just to name few. There was also a Debian Healt Check plenary. But overall, there are differences between DebConf and UDS. One of the things is that you can attend UDS remotely I m not sure how much is this doable on DebConf, but then again vast differences are that UDS is filled with BOF s (as we would call it in Debian) meetings of different teams, I attended a lot of these, and most of them end with some kind of conclusion. While each day there was (only?) an hour of lectures on various topics, which on DebConf we would characterize maybe even as speed talks . However, everything was high paced, and it all ended up on You think that s a problem? How do you think we could solve it? . I had a feeling even if I didn t say something out loud that someone would hear me and approach me to discuss it. Everything was straight forward, all in goal to resolve certain issue or a problem, which I absolutely loved. Clap Fun It wasn t all work, even though Orlando doesn t seem to be my kind of city from what I saw, it s way too magical for my taste Party There was a lot of places where you could go to enjoy yourself. Good people at Canonical even offered me free ticket to Disney World, there was a lot of destinations to visit and transpiration was also organized by Canonical. Unfortunately I missed the notorious UDS party on Friday because I had to head home early, but possibly I ll make it next year Razz Even though, hotel was that great and to be honest you didn t have to leave to look for party. My favorite was Universal City Walk, one night I decided to go to see Blue Man Group, best part of it was that I got pulled up on stage by one of the members and was part of one of the acts! ROTFL This is definitely something everyone should see during his life, one moment you re laughing like a lunatic, while other moment you re just having goose bumps from the performance itself. Amazing stuff. After all I wrote here along with the pictures, is there even anything else I need to say? Smile I believe that even if I didn t play it by ear, this whole trip would exceed all my expectations in every possible sense. Because that s really what happened, those three reasons I was going to UDS for? Far more happened than that. All I can say in the end is that I ll move closer to having a part in Ubuntu development, and yea, I ll try to be regular on UDS from now on Smile See you in Budapest? If all these photos weren t enough, you can find official group photo as well as personal set of photos can be found on: UDS-N photos by 2010 Sean Sosik-Hamor

Joachim Breitner: Haskell Hackathon in Gent

The BelHac in Gent, Belgium, is about to end. A friend of mine and me arrived on Friday, when the event started with interesting talks about Haskell in Industry and a reception. My hacking was less productive than I wished. It might have been since I did not have a project of my own (as I had at the Hackathon in Z rich). After revising the Debian Haskell Policy, I worked a bit on the integration of distribution data on Hackage2, the next generation Haskell code repository, and submitted a patch to cabal-install to have a cabal checkout command which checks out a project s code from the version control repository mentioned in the package description much like debcheckout does for Debian package. At the lightning talks I advertised that in a real lightning talk I ll give exact timing information once the video is uploaded, but it might have been well under 3 minutes.

Thorsten Glaser: Sorry for accidentally spamming ~60 people/lists

When doing porter uploads, one must not forget to pass -m"My Name <my@email.addr>" to dpkg-buildpackage, e.g. with --debbuildopts for cowbuilder. Thanks Aur lien and sorry to everyone who got the upload mails. (How are the rules for sponsored uploads? I get conflicting info on these, and indeed, the one I sponsored never showed up on my QA DDPO page )

Debian News: Debian project accepted in the Google Code-in 2010

Google Code-in, Google s contest to introduce pre-university students of ages between 13 and 18, to the many kinds of contributions that make open source software development possible, is starting on November 22, 2010 and Debian is one of the 20 organizations selected to take part.

If you are student interested in contributing to Debian, you can find more information in the wiki page http://wiki.debian.org/GoogleCodeIn2010.
A list of tasks is available at http://wiki.debian.org/GoogleCodeIn2010/Tasks and if you a Debian Developer, you still can add tasks by filling the template provided in the top of that wiki page.

You can join the IRC channel #debian-soc (on irc.debian.org) and the Debian GSOC mailing list to talk about your ideas and applications or if you have any question.

Christian Perrier: Help cleaning spam in Debian mailing lists

Debian mailing lists' standard policy is to allow posts from unsubscribed users. That of course fits our standards for opened development but has the drawback of allowing a lot of spam to reach our mailing lists. This spam also clutters the mailing lists archives. However, 1.5 years ago, listmasters established a well-working system to clean out spam from the mailing lists. It basically works in four steps:
  1. first, spam can be "reported" by anyone meeting it. While you are reading the mailing lists, reporting spam is as simple as bouncing the offending mail to a dedicated address: report-listspam@lists.debian.org. I, for instance, use a mutt macro to set ESC-L as a "report spam" hotkey. Spam can also be reported when browsing the mailing lists archives and clicking on the "Report as spam" button;
  2. when a given mail has been reported as spam more than five times, it is then "nominated" for review;
  3. nominated mails must the be reviewed by volunteers in order to confirm they really are spam. The review algorithm is complex but, in short, when a mail has been confirmed as spam by 3 reviewers without being qualified as "ham" by anyone else, then it is considered spam;
  4. such mails are then removed from the mailing lists archives.
Steps 2 and 4 are performed by a weekly script that runs on Sunday mornings (5:00 UTC, IIRC) How can you help? Process nominated spam We need more reviewers for step 3. At this moment 2 people are doing this on a regular basis (every Sunday with the morning coffee). Some others are working on this in a less frequent way. It seems that 1 or 2 more regulars reviewers would guarantee that we can cope with the nominated spam incoming flow. Only Debian developers can do that step. They should read instructions, ask for a password, then start reviewing. The first 1 or 2 people joining this will have a quite big amount of nominated spam to process, for their first effort. However, as most of these have been classified as spam by at least the two people doing this for months....the amount will slowly decrease. I, for instance, now only spend 5-10 minutes reviewing the nominated mails every week. Report spam Everybody can work on reporting spam. You can start by doing this on mailing lists you read by just bouncing spams to the spam report address; If you want to do more, you can join existing spam cleaning efforts, such as the one running for debian-boot or the one running in debian-l10n-french (the latter probably more for French speakers). Or you can of course start a similar effort for your pet list. To be efficient, this effort needs to gather 5-6 people who will process the mailing lists archives systematically. Let's clean out these archives!

Martin-&#201;ric Racine: Ubuntu no longer ships debian/changelog since Natty?

Since a few days, I have started to notice that the "Debian" changelog that normally ships with packages no longer appears with a number of recent package updates. Is this intentional?

Next.

Previous.