Search Results: "tim"

10 December 2007

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:

Steve Kemp: All the time anywhere

Thanks for the comments/mails on my previous post. I've now started the migration properly. All code currently held upon cvsrepository.org will be moved to http://repository.steve.org.uk/ - a nice system-agnostic name. So far I've only setup the pages for two project (my dotfiles and ~/bin) but I'm happy with the process, and the naming scheme appears sane to me now. Using sub-domains I need only install one CGI which is a big win, and using a simple set of templates + mod_rewrite all projects get the same look and feel. I've still got to tweak the stylesheet a little, but otherwise I'm happy with things. I can host both public and private repositories, and that all works magically. Of course the huge win is no longer needing to run a pserver for CVS! All future checkouts will be via HTTP, and the rare few people with commit access will be able to do so over SSH. Once things have been migrated I'll cause the cvsrepository names to redirect to the new locations, and keep that up until the domain expires as a transition period. (I think +1 year :)) The other job for the weekend is releasing a fixed security update for Samba, to fix the regressions.... That is in hand, but the buildds are being slow. If they're not all done I'll release it anyway today/tomorrow. I'm annoyed that I handled the timing so badly, but I hope that people don't hate me for it.

Steve Kemp: Let the bells ring out for Christmas

In the next week I intend to drop the search engine which archives content posted to Planet Debian. It appears to have very little use, except for myself, and I'm significantly better at bookmarking posts of interest these days. If you'd like to run your own copy the code is available and pretty trivial to reimplement regardless. There are only two parts: Once you've done that you'll have a database populated with blog entries, and you just need to write a little search script. ObRandom: In the time it has been running it has archived 15,464 posts!

Steve Kemp: to let the insects in

My migration to mercurial is now complete. I've completed the last step, which was the migration of all the $foo-commits mailing lists. It is at times like this that I remember two things: Right now I'm using ecartis for my mailing lists, primarily because it isn't mailman. (Long story). For making archives of mbox files I'm using hypermail. The latter I intend to change as soon as I can find something else to use. It isn't attractive, but it is in the Debian archive and seems reliable. Since I was changing things around already I've centralised the list-archive making, and started using the haschanged tool to avoid rebuilding the archives i there are no new posts. That works nicely.

Steve Kemp: We are the champions my friend

My tool to query apache logfiles via SQL seems suprisingly popular. Just as a recap the process goes like this: Now it is possible to save and load the SQLite database, so that you don't need to reparse the apache logs each time, that gives a nice speed increase for non-changing files. By tonight I'll have aliases working for queries so you can bookmark them:
alias refers SELECT distinct(referer) FROM logs
Then in the future the 'refers' command will be available and will run the named query. Neat. Now that I'm comfortable with SQL queries it just seems so natural, easy, and right to query logfiles this way. I guess that makes me strange.

Steve Kemp: You're making me live

Is there an existing system which will allow me to query Apache logfiles via an SQL string? (Without importing into a database first). I've found the perl library SQL::YASL - but that has a couple of omissions which mean it isn't ideal for my task: Still it did allow me to write a simple shell which works nicely for simple cases:
SQL>LOAD /home/skx/hg/engaging/logs/access.log;
SQL>select path,size from requests where size > 10000;
path size 
/css/default.css 13813 
/js/prototype.js 71261 
/js/effects.js 37872 
/js/dragdrop.js 30645 
/js/controls.js 28980 
/js/slider.js 10403 
/view/messages 15447 
/view/messages 15447 
/recent/messages 25378 
It does mandate the use of a "WHERE" clause, but that was easily fixed with "WHERE 1=1". If I could just have support for count I could do near realtime interesting things... Then again maybe I should just log directly and not worry about it. I certainly don't want to create my own SQL engine .. it just seems that Perl doesn't have a suitable library already made which is a bit of a shocker!

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:

Steve Kemp: All the time anywhere

Thanks for the comments/mails on my previous post. I've now started the migration properly. All code currently held upon cvsrepository.org will be moved to http://repository.steve.org.uk/ - a nice system-agnostic name. So far I've only setup the pages for two project (my dotfiles and ~/bin) but I'm happy with the process, and the naming scheme appears sane to me now. Using sub-domains I need only install one CGI which is a big win, and using a simple set of templates + mod_rewrite all projects get the same look and feel. I've still got to tweak the stylesheet a little, but otherwise I'm happy with things. I can host both public and private repositories, and that all works magically. Of course the huge win is no longer needing to run a pserver for CVS! All future checkouts will be via HTTP, and the rare few people with commit access will be able to do so over SSH. Once things have been migrated I'll cause the cvsrepository names to redirect to the new locations, and keep that up until the domain expires as a transition period. (I think +1 year :)) The other job for the weekend is releasing a fixed security update for Samba, to fix the regressions.... That is in hand, but the buildds are being slow. If they're not all done I'll release it anyway today/tomorrow. I'm annoyed that I handled the timing so badly, but I hope that people don't hate me for it.

Simon Richter: At large

It seems that -- again -- I've managed to catch something nasty on the way back (probably I should only check in my coat if I know that it won't take long until boarding). So, two days later than anticipated, I am officially back and working. I have yet to clear the autobuilder backlog of the last three days (these ARM boxes are blazing fast these days; and a lot of packages failed due to GNOME being uninstallable) and also catch up with the real world (I turn off my phone when I have a migraine attack, keeping a log of calls but this time there's just a batch of unknown numbers with some calls having dropped off the list already -- please send emails instead of calling if it is important, there is a reason why I don't use my phone for business). In other news, this posting needs paragraphs.

9 December 2007

Gustavo R. Montesino: Hacking on bug-triage

A lot has happened after the Summer of Code has ended, and I haven't been able to work on bug-triage after that, in part due to "Real Life", in part due to laziness. Anyway, I've finally got some time to work a bit on it today.

First, I've taken care of Debian's 452918, where the reporter said that using "pending" on bug status meaning open might cause confusion with the pending tag. Actually, pending is the word used internally by debbugs to mean open bugs, and its also what is returned by the debbugs' SOAP interface (bugs tagged pending get the status pending-fixed instead). Anyway, I've just mapped the internal/SOAP debbugs status to the ones used by pkgreport.cgi, that should avoid misunderstandings.

While at it, I also took some time to add a feature I've missed while using bug-triage myself: When browsing upstream bugs in search of a match for a Debian bug, it's necessary to read the upstream bug log; now double-clicking on a upstream bug on bug-triage will open it's log on a browser (the same way that selecting a Debian bug and clicking "Go to" in the toolbar works).

It's only small changes by now, and I'm not sure if I'll be able to dedicate myself much more to this in the (near) future, but I'll try my best.

Kartik Mistry: At /home..

* Flickr pics says whole story. Foss.in == Fun! I learned a lot while managing Debian/Ubuntu stall. Next year we will have more better stall and representation from community. Debian Tshirts were given to 3 nice people (Thanks - Prasad, Amod and Anivar) who maintain stall during my mysterious gaps. Sorry to Cydork - yeah, size does matter! * Thanks to team at foss.in, You people rocks (always)! * Finally, back /home (as usual, flight was delayed). Kavin is crawling much intelligent way and demands things (he want to chew everything..). So, time to alert!

Julien Valroff: libpam-gnome-keyring

Some time ago, I had explained why I thought would never use network-manager, especially because of the gnome-keyring password which should be typed in at every new session. The last evolution-data-server upload introduced a gnome-keyring binding which forced me to inquire again on how to avoid this annoying gnome-keyring password. This led to the libpam-gnome-keyring which allows the keyring to be unlocked automatically at login from the display manager. This is great! I am now using network-manager on my laptop! I am still puzzled about the fact that there is no network connection until someone logs in, but I guess I will live with this, especially with a desktop machine.

Evan Prodromou: 18 Frimaire CCXVI

Chris Messina wrote an interesting post on his blog about his OpenID Shitlist, Hitlist and Wishlist for 2008. (I'm going to briefly try to remember if using the word "shit" is cause for alarm on Planet Debian, and then I'm going to ignore the problem and move on.) I think it's a good post and it really identifies some of the key players that are helping and failing in the OpenID space. I got a shout-out for Wikitravel and for the MediaWiki OpenID extension, which yay for me. I think Chris was probably a little unfair about Wikimedia's lack of support. The site is moving very slowly towards a unified login for all its wikis, which is a really difficult task to make happen. OpenID is slated for installation some time after that, so it's going to be a while. But I hope that it will be useful for Wikipedians. My main impression from this blog post, however, is that OpenID's day in the sun might be over. That's not a bad thing -- usually the hard work gets done after the cameras are turned off. Zealots like myself tend to think that if only the world knew about our latest-greatest idea or technology, they'd fall right into line and adopt it immediately. But my experience has been that things work a lot slower than that, and I'd guess that OpenID is probably going to have a similar adoption curve. In thinking about opening up the Social Web, it's probably good to compare the opening of the Web Web in the mid-1990s. At the time, most Americans who were "online" were subscribed to a proprietary network like AOL, Compuserve, Delphi or MSN. (I'm not sure how things were in the rest of the world... Similar? Worse?) Many of these services either walled their users from the Internet entirely, or made it a one-way interaction. AOLers could read stuff from the rest of the Web, for example, but others couldn't see what AOL folks were doing. That system looked impenetrable; after all, AOL was paying millions of dollars to make great content and manage forums and the like, and why would they give that away to Internet leeches for free? But eventually it came apart because the Web became more interesting than the on-line services. (I personally think the watershed was the Ate my balls meme, but others might differ. I just kind of picture hundreds of thousands of AOLers calling up technical support asking to see the Mr. T pictures, and that's what finally broke things down.) Today, on-line service "walled gardens" are a negligible part of the on-line world -- those that still exist are more or less big ISPs. I think that the parallel with the Social Web is probably pretty apt. Today, Google, Facebook and Digg are reluctant to open up their identity silos to a distributed social Web. Their main asset today is their collection of identities and the relationships between them -- why give away the crown jewels? My guess is that it's not going to be until a mature, standardized and distributed Social Web exists outside the walls of the big social-networking players that we'll see them really willing to sit down at the table and come to the party. Of course, by that time, it'll be a moot point. But that just means there's a nice big fat market for somebody smart to take advantage of. tags:

Romain Francoise: Shared links for 2007-12-09

Raphael Geissert: Updated: Homepage as a control field debian/control stats

Here are the updated stats about the usage of the Homepage field, comparing with those from my previous post

Using the same procedure as in my previous post (but this time with and without sort -u):

Our first number (# of package using the Homepage field in unstable/main/1386): 1028
Previous number: 335
Difference: 693
Without sort -u: 2441
Meaning: 2.37% of the packages have the same Homepage

Our second number (# of package using the pseudo-Homepage field in unstable/main/1386): 2400
Previous number: 2716
Difference: 316
Without sort -u: 3886
Meaning: 1.62% of the packages have the same pseudo-Homepage field

And the third number (# of source packages in main): 11950

So, if we make those number percentages:


That's a good progress :)
It would be nice if the stats provided by Zack included some percentages and a nice graphic :D

But let's do something different:
egrep -i "^[ \t]+(Website Home Webpage url link):" < Packages wc -l

Number of packages using something other than Homepage: 142
Using sort -u: 76
Meaning: 1.87% of the packages have the same non standard pseudo-field

Comparing this number with the total number of source packages in main:

Jeff Licquia: Rest In Peace, CompUSA

I’m very surprised about the popularity of an old post of mine, regarding my experiences with CompUSA. It continues to collect horror story comments, the last one coming less than three weeks ago. While any company has its detractors (especially any company dealing directly with the public), it seems odd to me that people continue to be motivated enough to post to my blog, of all places, their tales of woe. For me, life has been very CompUSA-less of late. Indianapolis now has a Fry’s, one of only two east of the Mississippi as of this writing, and for someone in the relatively tech-starved Midwest, it is a godsend. (People from the west coast: please stifle your laughter as best you can.) And evidently enough of these horror stories have been passed around that they felt the need to close over half their stores in February. The Indy store was spared that time, but not for long.
The electronics retailer decided to finish what it had started earlier this year, announcing that it would sell or close the remainder of its stores in the US after the holiday season. The company, controlled by Mexican retail management company Grupo Sanborns since 1999, has been sold to Gordon Brothers Group, a restructuring firm that will be responsible for selling off the remainder of its assets.
In an abstract sense, less competition in the electronic retail business isn’t ever good. But it’s arguable that we’ve never had so much competition in the electronic retail business if you count the Internet stores that have sprung up all over. And I’m certainly happy to see an outfit that will slander people for profit go belly-up.

Jeff Licquia: This Is Not An Oops.

Carver County, Minnesota, is in big trouble. (via buzz.mn)
Eric Mattson was not surprised that the small vacant lot he bought last year near the shores of Lake Waconia was increasing in value. What shocked him was the $189 million market value the Carver County assessor’s office came up with for the 55- by 80-foot lot, making it the most valuable property in Waconia and possibly the county.
Of the resulting $2.5 million tax windfall, about $900,000 had already been spent by the time Mattson got the bill and came in to complain. They’re now looking at spending cuts and new taxes to pay for the shortfall.
“This is not an ‘oops.’ This is a major error that affects an awful lot of people,” said Mark Lundgren, director of the Carver County division that oversees the assessor’s office.
So how could someone make such an egregious error?
Lundgren said the trouble began in August when a clerk went into Mattson’s file to change the designation of the property, at 233 Lake St. E., from homestead to non-homestead to reflect its change in status after its sale.
The clerk filled in the $18,900 proposed valuation, but then mistakenly hit the key to exit the program. The computer added four zeros to fill out the nine numerical spaces required by the software, thus indicating the value was $189,000,000.
So many thing come to mind, most of which are probably too snarky. But a few observations come to mind:

8 December 2007

Bastian Venthur: Want to get money for nothing and chicks for free, too?

Is anyone out there interested in helping me developing reportbug-ng? I’m currently very busy with my diploma thesis and can’t spend as much time on my pet bug reporting tool as I’d like to spend. The package itself has some small bugs, is not yet feature complete, but in a fairly good shape and quite popular too. If you’re interested you should have experience with python, QT and maybe some SOAP-skills. You don’t have to be a Debian Developer or -Maintainer! I haven’t done this before so I don’t know that the best practice for such a situation is. I’m currently thinking of something like:
  1. First you send me patches, which I’ll review, apply and upload
  2. After a while you get write access to the BZR repo
  3. Finally become co-maintainer of the package if you want
Interested? Then write me a mail to: venthur at debian org. Oh, and please don’t write if you just want to get your pet-bug-which-I-still-refuse-to-fix fixed. PS: If you prefer guys over chicks, you’re welcome too ;)

Holger Levsen: awesome reading

When I was a kid, I often started to read a book and didn't do anything until I finished it. This is what I did yesterday until this morning again... :-) Nowadays I do this rarely, but if it's happens, I have a lot of fun in a fictional world.

Now that I finished the book I decided it's a good time to give awesome a try. And unlike the last time, which was last week in a plane, I now also have access to the documentation, which makes using it a lot easier :)

I think I like awesome already, after just five minutes. Even if there are three things I'm currently missing: runniny arbituary commands with F3, ssh with F4 and the cute cat on the awesome webpage. I think it's totally unawesome that it's gone!!!

And for those wondering what awesome is: it allows me to say "good-bye ion" :)

Adeodato Sim : mlocate, a better locate

Looking purely by chance at the front package of Freshmeat the other day, I discovered mlocate, a new implementation of locate whose main feature is that it reuses the existing updatedb database when creating a new one, which makes updatedb faster and less intensive on the hard drive. (I suppose it stores an mtime of each directory, and only re-reads directory contents if the filesystem is newer.) As with slocate, mlocate’s updatedb is meant to be run as root, and the created database is mode 0640 root:mlocate, with the locate binary being setgid mlocate then. After some discussion in debian-devel, it was decided that mlocate was suitable for Priority: standard, once findutils’ locate was split out to a separate pakcage. So, give it a go.

Next.

Previous.