Search Results: "mak"

25 November 2007

Brandon Holtsclaw: Hello Planet Debian

It seems there is a long standing tradition to post a “Hello Planet” entry when being added to a new planet. Well Hello http://planet.debian.org , My name is Brandon Holtsclaw, and have done a bit of Debian and Ubuntu work over the last few years ( and hopefully will continue to do-so ). Only my posts taged with “planet-debian” are fed here so hopefully I wont spam totaly “unrealated to debian” things. Thanks Mako for getting me all setup. If you would like to see all my posts or know a little bit more about me you can follow these few links ( or drop me an email ):
http://www.imbrandon.com/
http://qa.debian.org/developer.php?login=brandon@imbrandon.com
https://launchpad.net/~imbrandon Nothing more to see here … move along.

Manoj Srivastava: Manoj: Filtering Accuracy: Brown paper bag time

After posting about filtering accuracy I got to thinking about the test I was using. It appeared to me that there should be no errors in the mails that crm114 had already been trained upon but here I was, coming up with errors when I trained the css files until there were no errors, and then used a reg exp that tried to find the accuracy of classification for all the files, not just new ones. This did not make sense. The only explanation was that my css files were not properly created and I thought to try an experiment where isntead of trying to throw my whole corpus as one chunk at a blank css file, I would feed the corpus in chunks. I cam up with an initialization script to feed my corpus to a blank css file in 200 mail chunks; and, while it was at it, renumber the corpus mails (over the years, as I cleaned the corpus, gaps had appeared in the numbering). I have also updated the retraining script Voila. I am getting a new set of css files which do not appear to show any errors for mails crm114 has already learned about in other words, for mails it has seen, the accuracy is now 100%, not 99.5% as it was a couple of days ago. While it is good news in that my classification accuracy is better than it was last week; the bad news is that I no longer have concrete number on accuracy for crm114 anymore the mechanism used now gives 100% accuracy all the time. The funny thing is, I recall going through this analysis a couple of years ago, where I predicted that one could only check for accuracy with a test corpus that had the same characteristics as real mail inflow, and which had not been used for learning. That wold mean I would have classified testing corpus that could improve the efficiency of my filter, but was not being used to provide accuracy numbers I have gone for improving the filter, at the cost of knowing how accurate they actually are.

Adam Rosi-Kessel: timbl on the graph

timbl’s blog may have the highest signal-to-noise ratio on the web. Not a whole lot of signal, but zero noise. This piece on the “graph” puts the development of social networking services in solid historical perspective. It’s not great propaganda, but covers all the key conclusions. In particular:
In the long term vision, thinking in terms of the graph rather than the web is critical to us making best use of the mobile web, the zoo of wildy differing devices which will give us access to the system. Then, when I book a flight it is the flight that interests me. Not the flight page on the travel site, or the flight page on the airline site, but the URI (issued by the airlines) of the flight itself. That’s what I will bookmark. And whichever device I use to look up the bookmark, phone or office wall, it will access a situation-appropriate view of an integration of everything I know about that flight from different sources. The task of booking and taking the flight will involve many interactions. And all throughout them, that task and the flight will be primary things in my awareness, the websites involved will be secondary things, and the network and the devices tertiary.
Technorati Tags: , , , ,

Steve Kemp: Open your eyes, look up to the skies and see

If you have a (public) revision controlled ~/bin/, or bash/shell scripts I'd love to see them. Feel free to post links to your repositories as comments. I'm certain there are some great tools and utilities out there with I could be using. Right now the only external thing I'm using is Martin Krafft's pub script. I don't use it often, but it is very neat and handy when I do want it. (Something that I'd never have considered writing myself, which suggests there are many more gems I'm missing!) In other news my migration to mercurial is going extremely well. With only minimal downtime. Downtime for services really comes about because I have several websites which are powered entirely with a CVS checkout of remote repositories, so the process looks a little like this:

Rob Bradford: Wordpress cookie vulnerability

It seems the Wordpress developers have made some wrong decisions in their use of MD5. Full details are in this announcement. In summary, the hash in the cookie for authentication contains MD5(MD5(password)) and the database MD5(password). This means that anyone with access to the hash from the database can pretend to be this user. Whoops. This shows that once again that security is hard as people consistently make the same mistakes. More details and background on the Security Group blog.

Roland Mas: Gforge news, November 2007

Apparently some people worry that Gforge may be abandoned, or on the verge of being superseded with the proprietary "Gforge Advanced Server" rewrite. Let it be known that I for one have no plans to switch to Gforge AS, for all the reasons you'd expect from a free software user and advocate: I don't have access to the source code (it's made illegible by some sort of industrial PHP obfuscator), I can't hack it because the license doesn't allow me to, I can't audit it for security flaws, I can't adapt it to particular needs, etc. Since a significant part of my income comes from maintaining Gforge instances for clients, with local modifications for their particular needs, it's an economical necessity that Gforge stays free. And evolving. Right. Having said that, I guess I have to show concrete evolutions in addition to principles and ideals. So what changed recently? All this has committed and uploaded to Debian. As usual, please test and report failures. Plans for my foreseeable future include: Places where help would be most welcome: There. That was the news. Now for a bit of trivia: it's amazing how having a metric of one's productivity gives an incentive to increase it. I found mine on Ohloh, which provides code and license analyses and statistics on free software projects, as well as statistics on commits by contributors. They even have a shiny widget with a scrollable timeline showing commits over time, as well as comparative commit graphs. My obvious personal goal is to get up to the first position among the contributors, but of course I wouldn't complain if the current top committer stayed ahead by springing back into activity.

Russell Coker: Air Filtering for Servers

Serious server rooms have large (and expensive) air-conditioning and filtering systems. Most “server rooms” however are not like that, often it’s just some space in a store-room, sometimes near printers (which are a source of air pollution [1]). The servers that are stored in serious server rooms have air filters as a standard feature. For small server installations it’s often a desktop PC used as a server which has no filters (and often lacking other server features such as ECC RAM). Recently Dell in Australia started selling low-end PowerEdge servers for $450 plus delivery (similar machines to the $800 Dell servers I previously blogged about [2]). Also refurbished machines from HP and IBM can often be purchased at auction for similar prices. Even if you have a proper server with filters on all air inlets it’s still a benefit to have reasonably clean air in the server area. A few years ago I bought four Sunbeam HEPA [3] air filters for my home to alleviate allergy problems. I’ve had one running 24*7 in my main computer area for most of the time since then. As well as wanting to keep my machines free of dust I have the extra issue of machines that I buy at auction which often are filled with dust - the process of cleaning them frees some dust in the air and it’s good to have a filter running to remove it. Excessive dust in the air can prevent cooling fans from operating and cause damage to hardware and loss of data. Of course the really good servers have fan speed sensors that allow the CPU to be throttled or the machine to be halted in case of severe problems. But for desktop machines you often only have the temperature control mechanisms that are built in to the CPU and sometimes machines just start having memory errors when the fan malfunctions and the machine gets hot. As one of the biggest problems facing server rooms is heat dissipation I decided to measure my air filters and see how much electricity they use (it seems reasonably to assume that all their energy eventually gets converted to heat). I’ve now got a blog page about power use of items related to computers [4]. My air filters take 114W when on the highest speed and 13.9W when on the lowest. Initially I was a little surprised at the figure for the high speed, but then I recalled that the energy required to move air is proportional to the speed cubed. I’ll just have to make sure I don’t leave an air filter on overnight in summer… I’m now going to recommend such filters to some of my clients. Spending $400 on an air filter is nothing compared to the amount of money that a server failure costs (when you have expensive down-time and pay people like me to fix it).

Joey Hess: learning to like mpd

I've used the Quod Libet music player since 2005. Mostly happily, despite the occasional really weird bug. The core of Quod Libet for me, the thing that no other player has, is the album list, just a big list of all available albums, with cover icons, and an easy way to limit the display to ones matching a search term. (I'm not one of those people who does complex, detailed playlists; I tend to play one album at a time, in order.) Quod Libet has lots of other nice features, including a great metadata editor, but the album list is the only thing I use daily. I mostly run Quod Libet on relatively slow machines (with decent speakers), with the display fed to my laptop. Lately it's been feeling a bit slow to scroll around in the album list with hundreds of albums and album icons being displayed over the network and everything running on an old laptop, or an overloaded server. I've known about mpd for a long while, and it's clearly a better fit for how I use servers to play music, but I could never stand to use any of the clients for long. Today I hit the triple cocktail of evil bugs in Quod Libet described in bug #413284. This is a potential last straw type bug, that's been open since March, and which I'd read before and hoped I'd be lucky enough to escape. This motivated me to try the Sonata mpd client again. It has a very clean looking and generally good interface, though like all mpd clients, it annoys me by being based around a playlist, and not making it easy to just select an album from the library and immediately start playing it. But there's a trick that makes it usable for me. I added all my music to the "playlist" (using the mpd command line) and ignore the hard to use library. Since Sontata does have an excellent type-to-limit-display feature, I can just type the name of an artist, album, or track, press enter, and it jumps to it and starts playing.

Steve Kemp: You're not going to end up like your mum and dad

I've been working on updating my online film list since Thursday evening.I have some code which will convert static data-files containing film entries into a browsable HTML site. The next job is to actually go through all our DVDs and make sure the lists are correct. I've updated all our TV shows, and I've made an initial pass at making sure all our films are present but it'll take me a few more days to ensure the lists are completely correct. In the past I used to browse my list of films via my mobile phone to make sure I didn't buy duplicate films (more than once in the past I had managed to do that!) These days I don't seem to need to, but it is nice for organizing and it appeals to my love of lists.. I'm not sure which is worse, me doing it or Megan taking one look and saying "That's so cool!".

Christoph Berg: cfengine

I've given the idea of centrally configuring my hosts another go. Previously I had some meta packages that would pull in packages, but that's not very interesting. Furthermore the archive I set up didn't scale, dpkg-scanpackages plus makefiles aren't really fun to use. Now, I have a set of cfengine scripts that gets distributed as .deb. That sounds messy, but connecting reprepro with the right .dput.cf makes updating a breeze. cfengine itself is a beast not easily tamed. It has some weird ideas about timeouts and when (not) to execute scripts. So far I'm only using "editfiles" in this setup to do tweaks like comment HashKnownHosts in ssh_config, add some sources.list entries, add %adm to sudoers, etc. Next step will be to also automatically push config into chroots, and to pull passwd.db and friends for use with libnss-db.

24 November 2007

Joerg Jaspert: Removals stuff

Seems like my latest script was something people wanted to have, lots of people do seem to like it. At least I guess that from the reactions I got. Today I’ve done a few modifications to it, making the information displayed more accurate. It was initially written to run on a host which doesn’t have a projectb (the postgresql database that has all knowledge about the Debian archive, iow. the source of archive-related information), and as such the script had to get its data from elsewhere. I had another little ruby script using the GzipReader going over Sources.gz and all Packages.gz, building up a datastructure consisting of some very nested Hashes and Array. Which takes (on ries, a pretty big machine) about 23 minutes to run, using 100% of one CPU. Which I did not like, especially as I would have to run this 80 line monster two times a day. But hey, we have projectb there. So I decided to rewrite my html generation script using postgres directly instead of loading 844605 lines of (YAML-format) data dump (dump of experimental, stable, testing and unstable, with the data needed for the removals.html). The old version, using the data dumps, did use some 10 seconds at full CPU load to generate the html page, the new version using postgres now uses 2 seconds with some 33% CPU load. Nice improvement. (Both times subtracting the time the SOAP interface for bugs.debian.org takes to reply to my query, which varies between 3 and 15 seconds when I ask it for all open bugs against ftp.debian.org). Added benefit: The data about the packages shown is “live” data, not one thats outdated for up to 12 hours. :)

Zak B. Elep: Off to OSDC

Tomorrow I’ll be off to Brisbane, Australia to attend the Open Source Developers’ Conference. My thanks to the UNDP-APDIP International Open Source Network and the OSDC organizers for selecting me to participate in their Exchange Grants! I thought I wasn’t going to make it, though, as the notice from IOSN came rather late, and I had to get my (first ever) visa at the last minute. (Now, if only I can find a good place to stay for the nights. Can anyone suggest a few? :) I hope to see some fellow Perl mongers, Debian users, and Ubunteros and learn a lot from this experience. OSDC here I come! :D

Adam Rosi-Kessel: ADR for Property Damage in China

As a litigator, I’m always interested in novel and more efficient mechanism for resolving disputes, especially where the transaction costs of fighting it out in court can trump the benefits to either party. This process (full article not available online) for resolving property damage claims in China is about as streamlined as it gets:
Near the Lama Temple, as we waited to make the last left turn of the day, we were hit by another car. The driver backed into our side and then pulled away. There wasn’t time to fumble with my crutches, so I hopped out on my good leg. Fortunately, traffic was backed up, and I caught him in about seven hops. I pounded on the window. “You hit my car!” The driver looked up, surprised: a one-legged foreigner, hopping mad and smacking the glass. He stepped out and apologized, saying that he hadn’t felt the impact. Together, we inspected the Jetta–fresh dent above the left rear wheel. The man said, “I’ll give you a hundred.” That was about thirteen dollars. In China, after a minor accident people usually settle the matter on the street, in cash. This routine has become a standard part of life–once, I saw two small children playing a game in which they repeatedly rammed their bikes and shouted, “Pei qian! Pei qian!” — “Compensate! Compensate!” Leslie used her cell phone to call the rental company. Mr. Liu didn’t sound the least bit surprised to hear that we’d had another accident. All he said was “Ask for two hundred.” “That’s too much,” the other driver said. “This is really minor.” “It’s not our decision.” “Well, then, we’ll have to call the police,” he said, but it was clear that he didn’t want to do this. A dozen bystanders had gathered around the cars, which were parked in the middle of the snowy street. With Chinese accidents, the crowd is more like a jury than an audience, and a middle-aged woman bent over to inspect the dent. She stood up and announced, “A hundred is enough.” “What do you have to do with it?” Leslie snapped. “You can’t even drive!” That must have been correct, because the woman shut up. But the driver refused to pay two hundred. “Should we accept one-fifty?” Leslie asked me, in English. Lao-tzu said it best: A man standing on crutches in the snow will not bargain long over a dent to a crappy Jetta rental. Later that day, Leslie returned the car and the one-fifty in cash. Mr. Liu noticed that another light cover had been broken when she hit the brick wall. He said, happily, “What did you kill this time?” When I hit the dog, the same cover was twelve dollars; this time, he asked for only three. It must have been a special price because we did so well at the Lama Temple.
I don’t think this system would work to resolve patent infringement disputes, but it might make sense for some of our domestic fender-benders. Technorati Tags: ,

Julien Valroff: OOoCalc limitations

I have brought some work with me to be able to catch up during the week-end. Usually, I take a laptop running Windows which allows to connect to our network through a VPN the credentials of which I am not in possession of. This time, I just want to make some analyzes on spreadsheets (created on MS Excel). I have tried to use OOoCalc for the first time in “work conditions” - ie. I expect a little bit more than the basic features, which was source of disappointment. Autofiltering feature does not allow wilcards in the conditions. Even advanced filters do not seem to allow them. I want to select columns which contents end with ‘00?’ (ie ‘00′ followed by any unique character), and I can’t. I have read some posts talking about regular expressions in filters in the old 1.x series, but can’t find anything related in the documentation of the current series - regular expressions seem to be used only for the ‘find & replace’ feature. Moreover, you cannot set more than 3 conditions in autofilter, which is not a lot (I am not sure that previous releases of MS Excel were better). I am fully aware of the advanced filters which do allow up to 8 conditions, but I must say they are not easy to use on a day to day basis. Filters are mostly considered as visibility filters, which means if you apply a filter and use the ‘Fill down’ feature, hidden cells are also filled in. At least it is not the case with copying & pasting: only visible cells are copied. These limitations (bugs?) as well as the old existing bug regarding the decimal separator make it impossible for me to use OOoCalc for my work. I guess I could easily achieve to do my work thanks to OOoBase, but the data I want to extract need to be used and amended by collaboarators who exclusively use MS Excel. Are there any advanced users able to work around these issues?

Lucas Nussbaum: Where is the NM bottleneck?

The current status of the NM process, with 1 NM awaiting FD approval, 7 awaiting DAM approval, and 30 waiting for their accounts to be created, leads people to thinking that the big bottleneck is the account creation stage. However, when you look at what happened since december 2005, it’s not that simple. NM queues status See the graph linked above, which shows where people are waiting. While it seems that the FD stage hasn’t been blocking people for nearly a year, it’s the DAM stage which has been the biggest blocker. Indeed, on average, 8.3 NMs have been blocked by FD, 16.2 by DAM, and 9.0 by account creation. I understand that processing NM reports in batch mode makes it more efficient. However, I’m wondering if processing them 20 per 20, is really that more efficient than processing them 5 per 5, which would justify such long queues. The NEW queue, which used to be a problem, is now being processed on a very regular basis, and hasn’t grown widely recently, except after Debconf when the ftpmaster processing NEW was on VAC. Couldn’t we have the same thing for DAM, account creations, and while we are at it, removals from unstable? Having clearly defined human-crontab-jobs would certainly make working on Debian less frustrating.

23 November 2007

Aigars Mahinovs: TurboGears widget errors

I am making a small project with TurboGears and I am just loving the widgets and the identity framework. There are some rough spots, like the documentation, but luckily for the most pars you can just launch an ipython interpreter and use tab completion to look at what functions are available. But then I got this error:
Traceback (most recent call last):
File "./start-foo.py", line 23, in
from foo.controllers import Root
File “…Foo/foo/controllers.py”, line 22, in
action=”save_settings”
File “/var/lib/python-support/python2.5/turbogears/widgets/meta.py”, line 169, in widget_init
validator = generate_schema(self.validator, widgets)
File “/var/lib/python-support/python2.5/turbogears/widgets/meta.py”, line 277, in generate_schema
if widget.is_named:
AttributeError: type object ‘SettingsFields’ has no attribute ‘is_named’

And I could not find any help on this. Luckily I found Lucas manual and by comparing the code I found that in this part of the code:
settings_form = widgets.TableForm(
fields=SettingsFields,
action="save_settings"
)
Instead of passing the whole SettingsFields class, an instance of it needs to be passed ( as in “fields=SettingsFields(),” ). Cann’t wait to see all the goodies they are making now in TG 2.0, but considering my experience, I will wait until they update the documentation for it before diving in.

Ross Burton: Eye of Gnome Bling

Last night I finally got around to having a play with Clutter. Considering I'd never used it before, I'm really impressed with just how easy the API is to use. Within half an hour I had images fading in and out, and this morning I built Eye of Gnome and rewrote my hack as a slideshow plugin. There is no point releasing the code just (patches required, and a nasty bug remaining), but I did make a screencast. NP: Maxinquaye, Tricky

Sune Vuorela: Debianized splash screens part 3?

Oh well.. I asked for a couple of brave testers some time ago. I guess it is time to try make my attempted work public. Use it at your own risk and fun. And please don’t comment on my ability to (not) use gimp and (not) to remove white. For brave people, try look at http://users.alioth.debian.org/~pusling-guest/.desktop-base/ Comments are welcome

Russell Coker: Election 2007

I am a member of the Greens. The main reason for joining them is that they have principles. The Greens Charter [1] guides everything, policy must comply with the charter and candidates agree to uphold the policies which have been ratified if they get elected. There are no “non-core promises“. The policies of the Greens are all positive. The major parties have some mean-spirited policies that aim to help Australians by making things worse for people in other countries. Unfortunately for them the world is very inter-connected at the moment, so it’s difficult to harm other countries without harming yourself in the process. As you might expect the Greens are very positive towards the environment. Anyone who expects to live for more than 30 years (or who has children) should be very concerned about this. Currently even the most cautious estimates of the scope of the climate change problem by reputable scientists suggest that there will be serious problems in the next few decades. If you are young or have children then you should vote for the Greens (that covers most people). Many religious groups have determined that God wants them to help the environment, for example the Australian Anglican Church General Synod 2007 resolved that “the Anglican Communion’s 5th mark of mission to safeguard the integrity of creation and sustain and renew the life of the earth; and recognises that human activity contributing to Climate change is one of the most pressing ethical issues of our time”. Anglicans and believers in other religions that have similar ideas should vote for the Greens. The Greens have policies that are very positive towards minority groups. If you are not a straight-white-Christian then this is a strong reason for voting for the Greens. If you are a straight-white-Christian but have compassion for others (as advocated in the Bible) then again voting for the Greens is the right thing to do. The Greens policies are humane towards people in unfortunate situations, including drug addicts, the mentally ill, and the unemployed. When considering who to vote for keep in mind that at some future time you or a close friend or relative may fall into one of those categories. Finally the Howard government’s industrial relations legislation is very bad for the majority of workers. If the Greens get the balance of power in the Senate then they will be able to get such laws significantly changed or removed. The Greens election web site is here [2]. As an aside, I never liked Paul Keating (our last Prime Minister) until I read his op-ed piece in The Age about John Howard [3]. Also here is an interesting article on preferences and why the major parties want people to misunderstand the Australian electoral system [4]. In summary if you vote for the Greens as your first preference and they don’t win, then your second preference gets counted, and if that party doesn’t win then the third preference counts, etc. So if you have the two major parties in last and second-last position then your second-last preference may make an impact on the result! Putting Greens in the #1 position does not “waste” your vote. Parties get government funding based on the number of #1 votes, vote for the Greens as your first preference and you effectively give them $2 for their next campaign. Finally when a party wins an election they immediately look at where the #1 votes went and often adjust their policies to please the people. Vote #1 for the Greens and if Labour wins they will have more of an incentive to adopt policies that are similar to those of the Greens.

22 November 2007

Neil Williams: Debian GPE team

I'd better put some details of this somewhere, so here goes.
Moray Allen and I have formed a Debian GPE team at Alioth. The idea is to gather all the GPE packaging stuff onto a mailing list as a single point of contact for all things related to GPE - the G Palmtop Environment.
I'm now busy updating the GPE packages to add the Debian GPE team as Uploader and taking advantage of these uploads to also add cross building support for all these packages for Emdebian as well as the normal upload tasks for keeping up with the Debian Menu transition and fixing lintian warnings that arose since the last upload, etc.
My basic idea is that everything under the "Debian GPE team" banner should be cross-buildable - it's only logical.
Once dpkg is fixed to once again allow cross-building properly, I'll upload these packages to Emdebian and lots more of their dependencies.
Next task is to file a few more ITP bugs and make good on my existing ones so that GPE can be a complete environment within Debian and Emdebian.

Next.

Previous.