Search Results: "ana"

1 March 2006

John Goerzen: Asterisk At Work

It's been a little while since I wrote about Asterisk. It's about time to update the story. I've been using Asterisk at home for awhile, but now we're going to use it at work. The need We have approximately 150 internal extensions here, and they are being supported by a Nortel PBX. This PBX is being end-of-lifed, and it would cost well over $100,000 to replace it, once the cost of the two required Windows servers (!) was factored in. Not only that, but it still isn't as flexible as Asterisk. Along with that, we have a need for internal wireless phones. We have a large manufacturing area, and we have people that would like to be able to use a wireless phone anywhere on the shop floor or office areas. No single cellphone company provides a signal that is strong enough to reach everywhere in the building -- not to mention that there would be big airtime fees. So we are planning to deploy 802.11b wireless phones for this purpose. Hardware The decision was made to go ahead with Asterisk. We will be replacing all office phones with Polycom IP501 units. This means running about 90 new runs of CAT5 to people's desks. For our Asterisk server, we got a HP DL385 2U server with dual dual-core Opteron 2GHz CPUs. We've really had good luck with Linux on these DL385s, and with HP's support. We got redundant power supplies, disks, fans, etc. on that machine. The CPU on here is probably more than we need, but telephones are very important to us and we wanted to make sure that we don't have any issues down the road. We purchased two A104d quad-T1 interface cards with hardware echo cancellation. Very nice cards. The drivers have been a little troublesome. But Sangoma's tech support is awesome. They logged onto our box and I was watching as they were hacking on the kernel module right there. Tech support like that is rare. I highly recommend Sangoma. We really need only one of those cards, but they're the only component of the Asterisk server that isn't completely standard. So the second is on hand as a spare. For our analog phones, we are using two Adtran TA 750 channel banks. Each has a T1 interface and a 50-pin telco ("Amphenol") connector for a punch block. So we can run 24 channels off each of those. Our consultants (see below) suggested getting them used from Colspar Communications. We found them fully loaded with FXS cards for $250 each. We bought three -- two for production use and one for a hot spare. These are very solid and nice units. The only problem we had is that the voicemail indicator lamps (MWI lights) on our old analog phones wouldn't light up. Turns out that Asterisk with a T1 channel bank uses digital FSK lamp, whereas our older analog phones expected a certain line voltage to indicate messages waiting. After some Googling, I found add-on FSK lamps from American Science & Surplus for $1.50 each. Nice. In our other building, we have a gigabit fiber-optic link, so we purchased an AudioCodes MP124 SIP-analog gateway. It's working well so far, except it's not working with voicemail indicator lamps at all. It seems to be a firmware issue that is incompatible with Asterisk in some way. We're investigating now. For wireless phones, we're using the Hitachi IP5000. We're not terribly pleased with the quality of wifi phones in general, but this one seems pretty solid. And it doesn't crash every few minutes like the Zyxel model we tried. The Telco Our current phone system has about 23 analog lines for interaction with the outside world. We wanted to get a voice T1 with PRI channel for the Asterisk system. Our local telephone company is Sprint, and this has been the annoying part. First they tried to quote us an Internet connection. Then it took a very long time for them to even get us a quote for the voice T1. And now we have signed the contracts but are still waiting for an install date. Consultants While I had used Asterisk before, it was in a home setting. Not exactly business-critical, and not dealing with hundreds of extensions, T1 lines, and all the rest. So it seemed reasonable to get someone experienced with that sort of thing to help us out and make sure we weren't making mistakes that would cost us down the road. I posted on the asterisk-biz mailing list describing what we would like to do. I got a bunch of supplies from consultants, and we wound up selecting Asteria Solutions Group. At the beginning, we wanted some advice about server sizing, phones that work well in business settings, etc. I think that most consultants are not used to working with people that have significant Linux experience, and a good deal of Asterisk experience, already. Asteria was a little surprised with our situation at first, I think, but has been very helpful. They've educated us on the ins and outs of T1 technology, pointed us to Colspar (which saved us a ton of money on analog gateways), and helped us with some obscure questions. They were also fine to have a much smaller involvement with our project than they would probably normally have. I highly recommend them. Surprises You'll never believe just how hard it is to buy phones from Polycom. They won't sell directly to people, nor will they even list authorized retailers on their website. You have to call them, leave a message, and in a few days they'll let you know where to go. Some online retailers such as atacomm sell Polycom phones, but they're not authorized to do so, so you don't get any warranty or have the right to get firmware from Polycom. What's more, Polycom usually expects people to need configuration assistance with their phones. But I think that when I told them we need 90 IP-501s, had already configured 5 on our network, and needed no assistance, they were happy to work with us. Reactions We've deployed desk phones all over by now. So office workers have two phones on their desk right now (one from the old system, one from the new). We've heard a lot of positive comments from people about the new phones. And all the features of Asterisk -- music on hold, flexible queues, etc -- will be really helpful here. Cost Even with the cost of all new phones, new CAT5 runs and labor for that, consulting time, etc., we still expect Asterisk to be far cheaper than the latest Nortel PBX. Also... I recently wrote an article about Asterisk for Free Software Magazine. I'll let you know when/if it gets published.

Clint Adams: SSSS

In the sack: Lemon Wet: Citrus overload. The Colon Blow of Citrusland. Do not taunt Happy Fun Ball. Dry down: Nothing? Could it be nothing? It's nothing. The touch: Very slightly and pleasantly oily. The feel: The false Capped are doing the Tripod Timewarp again and there is some clutching at Toys R Us. The magic of our lives: A good start. Final verdict: Repeatable.

Erich Schubert: Microsoft GTA

So Microsoft has released a new AJAX toy, currently on preview.local.live.com. It's not particularly new, though. In one pane it's like Google Maps, overlaid with a car image, in the other pane it's like Amazons local search. I wonder if they actually licensed Amazons imagery for it. I'm impressed: it works with firefox. But it's rather slow (seems like they are not doing view image preloading, like with the map). The final version will probably be called Microsoft GTA: Reality, and if they manage to add gore after you've driven over pedestrians (who is this guy, anyway? Did he give the permission to be included in this toy? is there no privacy in the US?) when going down one-way-streets the wrong way, it can probably even become a big seller. More likely they'll give it away for free, not making any money with it.

28 February 2006

Clint Adams: Why NoTA is getting ranked first this year

Jeroen van Wifflepuck There are compromising pictures of this guy in carnal embrace with windmills. These could be very embarrassing if leaked to the press. We can't have a DPL that will embarrass us. We just can't.
R.E. Jacks In Pollack This guy is beholden to marmots. Lots and lots of marmots. Do you really want to empower a marmot rampage?
Uncle Steve Charging money for T-shirts? What happened to the gift economy? All clothing should be FREE! Where's the love?
Tony Bob Towns This guy can't decide whether or not his last name is Town or Town'S. Can you really trust someone who changes his name so casually? I don't think so.
Andreas Schuldei He and Ari are part of the same marmot cabal. If you can't trust one, can you trust the other?
Yonah ( ) Walth re Quite, simply, this, guy, is, employed, by, canonical.org, to, make, us, all, look, silly. Vive le Rock. P.S., I think the syphilis is worsening.
Bill Allombert Did the Debian menu in ion3 become less fun to use? I blame this guy for some reason.

Clint Adams: A golden dragon for Rosey

In the sack: rose Wet: rose and citrus Dry down: OOS4 The touch: Oily, almost enough. The feel: She's a rambunctious little switch. The magic of our lives: Piece without an overview. Final verdict: May excel with accompaniment.

Jonathan McDowell: No FOSDEM for me.

Bah. All these people back from FOSDEM posting about having had a great time. And Dominic got engaged! I'd have liked to have gone to FOSDEM this year, but it clashed with Christmas and someone had to stay in the country to mind things (Dominic and Simon both went, so I drew the short straw). Plus I decided not to go to Debconf this year; although I've enjoyed the past 2 years I couldn't really justify the cost of flights. And I'll no doubt need time off around the wedding, but I made the decision not to do Debconf before we got engaged, so that wasn't quite so big a factor. However I now find myself lacking in geek events this year. I'm sure there'll be the usual Linux Expo stuff, but I've been considering the UKUUG Linux conference, which people have said good things about in the past. Is there anything else in the UK I should be considering? I did get some hacking done this weekend however. Mark Underwood got 2.6.15 booting on the Amstrad E3 videophone to the point of USB and serial working. So I spent a while trying to figure out where Amstrad had hidden the NAND flash and managed to write a driver for it. I'm all chuffed with myself; my E3 now has a JFFS2 root filesytem. I also mapped out the keys on the keypad and tried to get the LCD working, but although I can get it to light up (the easy part) it doesn't actually seem to want to output anything. Bah. You can find all the bits you need at http://the.earth.li/pub/e3/ - both Mark's original stuff and my patch on top of that are there. Oh, and the list at http://www.earth.li/cgi-bin/mailman/listinfo/e3-hacking is a useful place too. (And yes, I know Christmas is in December, but I have a yearly Christmas meal with the people I lived with in my final year of university, but it can take so long to find a weekend we're all free that it's often nowhere near Christmas by the time it happens - February is pretty good going for us!)

Aigars Mahinovs: 60 rants

To get my blogging up to a more regular schedule and also give you something to read that everyone could relate to, I decided to start regular commenting on the latest in 60 minutes
Stem Cells http://www.cbsnews.com/stories/2006/02/23/60minutes/main1341635.shtml I must say that I have not been following the stem cell research closely enough in last couple of years and I am very amazed that we can now actually tell a stem cell to develop into a particular type of cell. The sight of a bunch of cells grown into a slab of heart tissue was especially fascinating. First of all there are at least two problems that I see with the research as it was shown in the program: they are not using cells from the patient, they are simply injecting the cells "in the general direction of the problem". The first is probably a problem caused by politics - in a perfect world we would take a cell sample from a patient, take nuclei of those cell, put them in place of the nuclei of the stem cells and we would basically have cloned stem cells of the same patient that we plan to be treating. There would be no problem with nonacceptance of donor organs or confusion of living with another persons DNA inside your cells. Politics block those developments. The second problem is mostly the simple immaturity of the field of research and microsurgery in general - it is still very hard for us to grow a full slab of heart and surgically replace damaged tissue with it. There are pros and cons to that approach too. Injections do have lower level of post operational risks in the area of effect - there are no tissue scars to worry about. However, having heart tissue flowing in the blood stream does seem quite risky in that it could have unforeseen consequences in other parts of the body. For better or worse. However, even taking in consideration all that problems (that the scientists of the field) surely do know about very well, it is just plain ridiculously stupid how much the religious right in general and that incompetent president of theirs is grinding all the research to a halt. And do not tell me about that last weeks of him touring bio-diesel facilities, I will come to that too. In short - go California, but I would rather see Bush just getting his marbles together and banning stem cell research in USA altogether, so that all those scientists can come to us, to EU and other places with more reasonable legal systems, because otherwise it seems that they are just asking for trouble there. Trouble that will slow the research to half of its possible speed for next 10 years or so.
Port security http://www.cbsnews.com/stories/2006/02/24/60minutes/main1344473.shtml I can only say one thing about security and USA - 90% of the USA security forces only work to ensure that people feel secured: that they see the police, that they are searched regularly enough, that they are stopped from time to time to answer some questions, that they are being "protected" on the Internet (read: being spied upon), that they are feeling harassed enough to feel safe. If the regular people are harassed enough they will never forget that the police is there and they will assume that the real criminals get harassed even more. That instills both content and fear: content for being protected and fear because there is clearly something to be protected from. After four and a half years of this treatment people are becoming very cattle-like, i.e. easy to govern. And in the same time the real experts can easily see that for real terrorists all those protection measures are completely irrelevant - real terrorists do not try to hijack planes with matches or nail clippers. Real terrorists have people inside, good supplies of profession equipment and have all the information that your government will not tell you "for security reasons". Cocaine is being smuggled into USA by tons. If put a nuke or two into that stream with enough "green" wrapping, no one will notice anything. Anyone having enough resources to buy a suitcase nuke will have enough resources to get it into USA even if you implement the strictest police state measures the likes of which have not been seen before. Even if you mandate all citizens to implant RFID chips that could be used to track their location from satellite and shoot on (satellite) sight anyone without such chip, there will still be ways to nuke any place in USA if there were any motivation. Clearly there is none. This again show that only thing that are considered "ok to be debated upon" are being raised in USA nowadays - there has been more debate about that duck hunt incident then about millions of Americans being spied on by their own government. That says much about any country. I want to bring just one quote from this segment - "It is impossible to do proper inspections of everything without basically stopping all international commerce".
Montana coal diesel http://www.cbsnews.com/stories/2006/02/24/60minutes/main1343604.shtml The idea of making diesel from coal is new to me, but it really is just an old, forgotten technology put into action by Nazi Germany at one point. The idea is a nice plan in the local perspective (cheap gas, lots of jobs, ...) but from a global perspective that is a very dangerous idea. Anything that prolongs the inevitable transition to pure hydrogen economy is. I think that only thing that has a big future is pure electric power with storage in some kind of metallic hydride. You see, I am worried about global warming quite a lot. And burning any kind of fossil fuel bring carbon that has been laying in the ground for millions of years and throw it back into the atmosphere in the form of carbon dioxide (CO 2). That both speeds up global warming and reduces the amount of oxygen that we have left for breathing. Does look bleak in the long term perspective, doesn't it? Yes, digging up coal in your backyard is better then fighting wars halfway across the globe for oil, but not too much.
Dogs This week Andy was talking about dog shows. Not for me that kind of thing - I like cats much more. And not those lazy show cats, I like simple cats that must rely on their smart to survive (at least be calling their owner to feed them when they are hungry :)). So here we have the end of my first coverage of 60 minutes. Lets hope that it is not the last and lets also hope that you foud at least something here to be of a value to you. As always, feel free to comment on what could be done to improve all this.

Aigars Mahinovs: Mother's birthday photos

This post gives links to photos from my mothers 60th birthday. Please contact before using these photos anywhere. T nu radinieki, draugi un m tes darba kol i - visas izn ku s manis uz emt s fotogr fijas no manas m tes (Rasmas Mahinovas) 60t s dzim anas dienas svine anas var dab t eit: Abos arh vos bildes ir pil gi vien das, at ir s tikai kvalit te, jeb izm rs. Kop tur ir 267 fotogr fijas (katr arh v ). Ja ir vajadz ba dab t bildes v l liel k izm r , tad l dzu sazinieties ar mani pa tie o.

Aigars Mahinovs: Migrating from Blogger to your own Mnemosyne blog

As I decided to migrate my blog from blogger.com to my own blogging software on my own domain, I did not want to leave my old posts behind. As I had more then 150 of them, I had to do some automation to do that within my lifetime. The first step is to get the data from Blogger.com database to somewhere where you can access it in full. You will need FTP or SFTP access to a computer with a real IP address. The idea is to go to blogger.com and specifiy that you want to switch storage of your blog pages from their blogspot.com service to your of FTP or SFTP server. You will have to provide server address, URL, folder, username and password. URL does not matter at this point, but other parameters define where your data will be dumped to. Save the changes and republish the blog. After a few dozens of minutes all your data will be at your server in a set of complete html files. Now we need something that will parse those html files and write out something that your blogging software can understand. As I use Mnemosyne, my format is a set of mail message files. To allow me to use HTML formatted messages in my blog (and not only reST) I added this to my config.py:
class EntryMixin:
   def _init_content(self):
       """Read in the message's body, strip any signature, and format using
       reStructedText unless X-Format=='html'."""
       s = self.msg.get_payload(decode=True)
       if not s: return ''
       try: s = s[:s.rindex('-- \n')]
       except ValueError: pass
       body=False
       try:
               if self.msg['X-Format'] == "html":
                       body = s.replace(" ", " ")
                       body = re.sub(r'&(?!\w 1,10 ;)',r'&',body)
                       body = xml.dom.minidom.parseString("<div>"+body+"</div>").toxml()
       except KeyError:
               pass
       except xml.parsers.expat.ExpatError, e:
               print "W: Parse failed for "+self.msg['Subject']+" at "+self.msg['Date']+" from "+str(int(time.mktime(time.strptime(self.msg["Date"],"%a %b %d %H:%M:%S %Y"))))
               print xml.parsers.expat.ErrorString(e.code), e.lineno, e.offset
       if not body:
               parts = docutils.core.publish_parts(s, writer_name='html')
               body = parts['body']
       self.cache('content', body)
       return body
This will try to parse messages as pure xHTML if custom header "X-Format" is set to "html" in the blog entry. There is one problem with this approach - xHTML must be valid, otherwise XML parser in Kid templating engine will fail and there will be no end of trouble. That is why even in HTML mode we reparse the body to XML and back to string again. If we get a parsing error at that point, we fall back to reST parser. Now we need something that will analyse our Blogger.com generated HTML files and get our content from there. Here is the script that I used:
#!/usr/bin/python
import os, os.path, time, sys, glob, re, xml.dom.minidom
id = 1
host = "old"
mdate = re.compile( r'\">(\d+) (\D+) (\d+)<' )
mbody = re.compile( r'</div>(.+)<div style=' )
mfooter = re.compile( r'<a href=\"http://example.com/(.+)\" title=\"permanent link\">(\d+):(\d+)</a></em>' )
files = glob.glob("old/*/*/*.html")
for file in files:
       year = 0
       month = 0
       day = 0
       hour = 0
       minute = 0
       subject = ""
       oldurl = ""
       body = ""
       date = ""
       title = ""
       footer = ""
       f = open( file, "r" )
       status = 0
       for l in f:
               if status == 0:
                       if l.find('class="date-header"')>0:
                               date = l
                               status = 1
               elif status == 1:
                       if l.find('class="post-title"')>0:
                               status = 2
                       if l.find('class="post-body"')>0:
                               status = 4
               elif status == 2:
                       if len(l.strip()) > 0:
                               title = l
                               status = 3
               elif status == 3:
                       if l.find('class="post-body"')>0:
                               status = 4
               elif status == 4:
                       if len(l.strip()) > 5:
                               body += l
                       if l.find('padding-bottom: 0.25em;')>0:
                               status = 5
               elif status == 5:
                       if l.find('posted by ')>0:
                               footer = l
                               break
       f.close()
       rdate = mdate.search( date )
       rbody = mbody.search( body )
       rfooter = mfooter.search( footer )
       year = rdate.groups()[2].strip()
       month = rdate.groups()[1].strip()
       day = rdate.groups()[0].strip()
       subject = title.strip()
       body = rbody.groups()[0]
       body = "<p>"+body+" </p>"
       body = re.sub(r'<img([^>]*?[^/])>',r'<img\1/>',body)
       if subject == "":
               subject = re.sub(r'<br.*?>','\n', body)
               subject = re.sub(r'</p.*?>','\n', subject)
               subject = re.sub(r'<.*?>','', subject)
               subject = subject.strip()
               line = subject.find('\n')
               if line > 45:
                       subject = subject[:40]+"..."
               else:
                       subject = subject[:line]
       oldurl = "http://oldblog.blogspot.com/"+rfooter.groups()[0].strip()
       hour = rfooter.groups()[1].strip()
       minute = rfooter.groups()[2].strip()
       mtime = time.mktime(time.strptime(day+" "+month+" "+year+"  "+hour+":"+minute, "%d %B %Y %H:%M"))
       outname = str(int(mtime))
       while os.path.exists( outname+"."+str(id)+"."+host ):
               id += 1
       outname = outname+"."+str(id)+"."+host
       out = open( "entries/new/"+outname, "w" )
       out.write("Date: "+time.ctime(mtime))
       out.write("\nSubject: "+subject)
       out.write("\nX-URL: "+oldurl)
       out.write("\nX-Tags: untagged")
       out.write("\nX-Format: html")
       out.write("\n\n")
       out.write(body)
       out.close()
Here I parse the HTML files using a simple state automata and then assemble all the data that we need to have, like timestamp in filename and Date field. In this script it is assumed that in the current directory there is "old/" directory with subdirectories like "2005", "2006", ... which have subdirectories for months in which there are xHTML files for individual posts. The output is written to "entries/new/$timestamp.$id.$host" files. After running this script and then running mnemosyne you will see a bunch of messages about failed parsing of some messages. That shows you where your xHTML is not valid. The usual problems are html entities ( like &euro; ) that the parser does not recognise and lack of closure on img or br tags:
This will fail because of &euro;
<img src="smile.png"> will fail, it must be <img src"smile.png"/>
My import script fixes img and br tags, but for other problems there is not much choice but going trough the entries and fixing them up manually. Also later on, if you will want to paste some custom HTML into your post, you will have to mark the whole post as HTML mode post and also check if you pasted HTML is valid XML manually. There are some other fun things in this blog, but I will go into that in later posts.

Erich Schubert: On AppArmor vs. SELinux

Some might have read recent news such as Novell SELinux killer rattles Red Hat, or Dan Walsh's critique of Novells AppArmor release, concerned with "unix like fragmentation in the security sector". While I also do think that SELinux is both more mature in the core system and more powerful than AppArmor (with a big plus being that SELinux is in the vanilla kernel) - I do think that AppArmor can quickly become a true SELinux killer, by just being better documented and easier to use. SELinux has serious deficiencies in documentation and development community. Almost all the available SELinux documentation is based around the policy as published by the NSA, which is "superseded by the reference policy project". This is the policy currently in Debian and used in the Gentoo SELinux docs - which hasn't received any updates in months now. The newer "reference policy" is updated every few days, by exporting Tresys' internal SVN into a public CVS on sourceforge. Dan Walsh claimed "multiple distributions shipping with SELinux including Fedora Core (2,3,4 and soon 5), Red Hat Enterprise Linux 4, Gentoo, Debian, Ubuntu, Suse and Slackware. " Which is not entirely true. SuSE has AppArmor now, Fedora and RHEL are pretty much the same, and apparently neither Gentoo, Debian, Ubuntu or Slackware are up to date with SELinux. Or actually involved in the current development. So that basically makes 1 distribution using current SELinux and 1 distribution using AppArmor... Looks like a tie to me. Also with the development it's pretty much down. AppArmor was developed by a small company called Immunix, and is now backed by big Novell, owner of SuSE. Current SELinux is mostly developed by a small company called Tresys, and somewhat backed and used by RedHat. Both have the feeling of "closed door" commercial development, which may be the reason why it reminds some people of the old Unix wars. Both of course claim to do an open development, with for example the current SELinux Symposium. But if you look closely at the Agenda and the speakers, it's fairly obvious that this is pretty much a business meeting, with some university speakers talking about the security concepts used. Just one quote from the site:
Developer Summit
An invitation only meeting for the core developers of SELinux to discuss future plans for SELinux and upcoming technologies.
The winner of this "war" between AppArmor and SELinux will be whoever manages to incorporate community development best, and get the other distributions like Debian, Ubuntu and Slackware to support their efforts. Currently neither of them has the air of actively supporting them, which is really bad. Widespread adoption is also where grSecurity has failed before.

David Welton: Projects vs Business, "Agile Development"

Projects vs Business I read something via reddit recently that hit a nerve: In this article: Meeting the founders of reddit he says that: "Reddit, like many other initiatives is more a project than a company/business" Like everyone, I get inspired by Paul Graham's writings, and like the idea of making money doing something cool, but my brain seems to be much better at generating ideas for fun projects/cool hacks, as opposed to businesses. I wonder if it's possible or worth it to make that change. Sometimes trying to "be what you aren't" is unpleasant and unsuccessful. On the other hand, perhaps it's more of an acquired skill that doesn't really conflict with the 'hacker' mentality... Agile methods for introducing Agile Development? Something else I found on reddit: An Agile Approach to a Legacy System (pdf) seems interesting because it deals with crappy, real world code, rather than some ideal workplace that exists only in fantasyland. I wish that they'd explained a bit more, at the technical level, of how they managed to integrate their new system with the old one, as that is often a difficult task when the code always has to be up and running, and the old system is in production. I have a Big Ball of Mud to deal with myself, and a development process that is not agile, nor much of anything else really. It's the kind of situation that is only going to change 'in small iterations', rather than trying (and quite possibly failing) to impose a new way of doing things in one fell swoop. So perhaps what I need is an agile methodology for introduction agile development in small iterations?

Ross Burton: Sound Juicer "I Don't Know Why She's Ridin' So High" 2.13.6

Sound Juicer "I Don't Know Why She's Ridin' So High" 2.13.6 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Yes, this is too late for the 2.13 RC, but I thought I best get the package out anyway. Bug fixes: Translators: Ankit Patel (gu), Clytie Siddall (vi), Francisco Javier F. Serrador (es), Gabor Kelemen (hu), Ignacio Casal Quinteiro (gl), Ilkka Tuohela (fi), I aki Larra aga (eu), Kjartan Maraas (nb), Kjartan Maraas (no), Kostas Papadimas (el), Lasse Bang Mikkelsen (da), Leonid Kanter (ru), Miloslav Trmac (cs), Priit Laes (et), Raphael Higino (pt_BR), Rhys Jones (cy), Rostislav Raykov (bg), Satoru SATOH (ja), Theppitak Karoonboonyanan (th), Tino Meinen (nl), Vladimer SIchinava (ka), Woodman Tuen (zh_HK), Woodman Tuen (zh_TW), ygimantas Beru ka (lt).

Christine Spang: Word Up!

I have an Application Manager! Took six months of wait, almost to a day. Decent enough, given the backlog. I won’t complain. (This girl is incredibly excited.)

27 February 2006

Clint Adams: Exclusion and hypocrisy

Anthony, you and Ryan behaving like snarky assholes looks to me to be in direct conflict with the #debian-tech charter. The fact that at least one of the channel ops considers this to be acceptable behavior is a perfectly valid reason for people to refuse to participate.

Martin F. Krafft: FOSDEM 2006

FOSDEM 2006 is over, I am now sitting at one of the weirdest airports I have seen so far: passages are intertwined and long, and it seems like you have to walk several hundred kilometres in circles before you finally end up at the place you ned to go to. I gave a talk Saturday on my Ph.D. research. Having spent almost an entire week preparing it, which involved rethinking my topic, the approach, and fighting doubts several times, I was all too pleased that a new aspect of my research was dawning upon me just in time to change a lot of the slides around a bit on the plane from Zurich. Even though my goal is to work a lot on Debian, I think the question on which I really want to concentrate is along the lines of "how to get volunteers to adopt new models and methods." Debian seems like a perfect environment in which to search for an answer, but I assume I shall also be looking around the Zope and Plone communities. Unfortunately, my talk didn't go as well as I had hoped. Part of it was on the Debian security situation, and having talked to a couple of people up front, and receiving even more feedback to my online personna, which apparently sometimes misrepresents my intentions, I took specific care to do with the delicate topic of Debian security with utmost care (and I think I succeeded; oh, and as a German I have a right to run-on sentences...). As a result though, I lost about 10 minutes of time, and additionally, I got confused about the length of my talk slot somewhere in the middle of the talk. So after giving an overview of my research idea, model, and approach, and the security situation, and just before coming to the exciting meat on possible extensions to Debian package management and the upload process which are geared to making it easier for others to contribute, h01ger kindly pointed out I had 10 minutes (not 25) left, a bunch of people walked into the room, generating noise and switching lights on and off, and on top of it all, OpenOffice crashed with the remainder of my slides -- those that contained graphs and other means to convey the complex ideas I was about to introduce. So everything seemed to be going wrong. I tried to give brief overviews of the ideas from the top of my head, but I didn't manage to piece together all the details that made the ideas interesting in a Debian context, and how the approach differs from Ubuntu's Launchpad and their new tool hct. So at the end of the talk I felt like I hadn't persuaded anyone of anything. Oh well. I was down for a while afterwards, it's been a long time since I felt a talk of mine failing as I did this time, and it wasn't until Hanna and some others consoled me by mentioning that they appreciated the contents I did convey (especially the security stuff), and quite a bunch of people found me afterwards with questions, suggestions, and comments. My slides are available online (~ 4.3 Mib) and I am looking forward to your feedback. I apologise for the size of the PDF and herewith promise never to use OpenOffice.org again. A bzip2-compressed version is available here (~ 1.4 Mib). Saturday night then ended with dinner and a bit of beer drinking, but noone was really up for anything more after the excessive opening party the night before. Sleep. Sunday morning, my laptop was still frozen by OpenOffice, and I rebooted it to find myself dumped into busybox as /dev/hda5 (my root) didn't exist. I quickly found the problem to be a missing udevd and udevsynthesize in the initramfs, but I did not manage to bring the system back up until Tollef gave me a hand to get pivot_root to do what it was supposed to do. Here's approximately how:
busybox mknod /dev/hda5 b 3 5
mount /dev/hda5 /root
mount -o move /sys /root/sys
mount -o move /proc /root/proc
chroot /root /sbin/udevd --daemon
chroot /root /sbin/udevsynthesize
exec run-init /root /sbin/init 2 < /root/dev/console > /root/dev/console
While we were at it, Daniel Silverstone showed us a wonderful way to help debug problems of this sort: /usr/bin/open. If bash only has /dev/console, it won't enable job control. This is exactly where open comes in:
/root/usr/bin/open /root/bin/sh
This will put an interactive shell on the next free tty with job control and all. Thanks, Daniel! I think that the above approach actually failed in the end for some weird reason we did not investigate further, so Tollef resorted to fixing the initrd instead:
update-initramfs -c -t -k 2.6.15-1-686
The important part is -t, which essentially redoes the filesystem so that custom changes are undone. I hadn't made any custom changes, but from the point of view of initramfs, I had deleted the udev binaries. Within an hour I had a working system again, and a
dpkg-reconfigure linux-image-2.6.15-1-686
zcat /boot/initrd.img-2.6.15-1-686   cpio -t   grep udev
verified that the problem was only intermittent (I rarely reboot my laptop but update it often). The T-Shirts Uncle Steve and I were selling pretty much all found new owners. This is great because I had been sitting on about a dozen shirts in XS and XXXL, and I thought I'd never get rid of them. Unfortunately, I sold them at no-profit, but given it was the last batch from Kernel Concepts, I am now thinking of arranging something with Steve to get a bunch of his shirts (which are nicer anyway). With talks coming to an end that day, everyone's departure was a stressful time and I was all the more glad to have had another night to spend in the city. I linked up with Jordi and some of the Debian Catalan people who were staying with a friend, Raoul, in the city. Raoul took us around a bit, showed us some of the historic sites in the centre of the city, and finally lead us to the bar of 2000 beers, where supposedly "the best beer of the world" was served: Trappist Westvletern Bleu 8. We ended the night around midnight for our flights were in the early morning. This having been my first FOSDEM, it was a great experience and I shall definitely try to be in Brussels again next year. Thanks to Wouter and all others who have helped out. Update: My slide links were previously not working. Thanks to all who pointed that out to me. They are fixed now. See above.

Clint Adams: But will the evil spaghetti take flight as a monster?

Disney is releasing the 50th Anniversary Edition DVD of Lady and the Tramp on Feb. 28.

25 February 2006

Clint Adams: Some people obviously need to go skiing

He said, People are so, so stupid! If you let the government tell you what you can do in regards to abortion, how long until they tell you how much sleep you have to get or who you can marry? I quipped, I hear that slippery slope arguments are invalid these days. She noted, Ever since Vatican II.

Clint Adams: The holler point

Bubba Yaga, he evoked. Bubba cuts your hair in the holler, I observed. Do you know what a holler is? he asked. I think so, I replied. I asked once, he continued. Answer: a holler place between two hills. You asked Bubba? I inquired, wild-eyed with wonder. I have family in Kentucky, he explained. One uncle lives in a holler. I think I'll make soup this weekend. I am totally quoting you in my blog, I warned him. Cool, he grunted, expanding to fill the room.

Amaya Rodrigo: The Recursing Self

I have decided to add myself to the Uploaders field of amaya, after its maintainer, Anand Kumria, offered me to do so during the Xlibs-dev Transition.
The changelog is quite impressive, due to the excellent work of Regis Boudin, who provided patches for almost any bug on earth.

The Xlibs-dev Transition NMUs are going to be revisited during this weekend, to ensure that after a month, maintainers acknowledged the NMUs and that no new bugs were introduced.

24 February 2006

Pierre Habouzit: vim-shell

I was searching today for a tool able to launch a shell in a vim. I found vim-shell. It took me only a few minutes to have a patch against vim 6.4 working, and some more seconds to have the debs. sadly, it didn't fit my expectations. I hoped that vim-shell would allow me to switch between interactive shell and editing sessions, allowing to scroll in the history buffer, copy things, edit others, remove some lines, well, having the shell living in a vim window. sadly : I hope such evolutions will come fast ...

Next.

Previous.