Search Results: "mak"

21 September 2007

Russell Coker: Multiple DNS Names

There are many situations where multiple DNS names for a single IP address that runs a single service are useful. One common example is with business web servers that have both www.example.com and example.com being active, so whichever a customer hits they will get the right content (the last thing you want is for a potential customer to make some trivial mistake and then give up). Having both DNS names be equal and separate is common. One example of this is the way http://planet.ubuntulinux.org/ and http://planet.ubuntu.com/ both have the same content, it seems to me that planet.ubuntu.com is the more official name as the wiki for adding yourself to the Planet is wiki.ubuntu.com. Another example of this is the way http://planet.debian.org/ and http://planet.debian.net/ both have the same content. So far this month I have had 337 referrals to my blog from planet.debian.org and 147 from planet.debian.net. So even though I can’t find any official reason for preferring one over another the fact that more than 2/3 of the referrals from that planet come from the planet.debian.org address indicates that most people regard it as the canonical one. In times past there was no problem with such things, it was quite routine to have web servers with multiple names and no-one cared about this (until of course one name went away and a portion of the user-base had broken links). Now there are three main problems with having two names visible:

  1. Confusion for users. When a post on thedebianuser.org referred to my post about Planet Ubuntu it used a different URL to the one I had used. I was briefly worried that I had missed half (or more) of the content by getting my links from the wrong blog - but it turned out that the same content was on both addresses.

  2. More confusing web stats for the people who run sites that are referenced (primarily the bloggers in the case of a Planet installation). This also means a lower ranking as the counts are split. In my Webalizer logs planet.debian.org is in position #5 and planet.debian.net is in position #14. If they were combined they would get position #3. One thing to keep in mind is that the number of hits that you get has some impact on the content. If someone sees repeated large amounts of traffic coming from planet.debian.org then they are likely to write more content that appeals to those users.

  3. Problems with sites that have strange security policies. Some bloggers configure their servers to only serve images if the referrer field in the HTTP protocol has an acceptable value (to prevent bandwidth theft by unethical people who link to their pictures). My approach to this problem is reactive (I rename the picture to break the links when it happens) because I have not had it happen often enough to do anything else. But I can understand why some people want to do more. If we assume that an increasing number of bloggers do this, it would be good to not make things difficult for them by having the smallest possible number of referrer URLs. It would suck for the readers to find that planet.debian.org has the pictures but planet.debian.net doesn’t.

The solution to this is simple, one name should redirect to the other. Having something like the following in the Apache virtual host configuration (or the .htaccess) file for the least preferred name should redirect all access to the other name. RewriteCond % REQUEST_URI ^(.*$) [NC]
RewriteRule . http://planet.example.com/%1 [R=301,L] In my posts last night I omitted the URLs for the Planet Searches from the email version (by not making them human readable). Here they are:

20 September 2007

Ross Burton: Stephen Fry Is My Hero (Even More Than Before)

Stephen Fry has long been a hero of mine for his acting and comedy, but I've just discovered that not only is he a geek, but he also gets it. From his blog regarding the iPhone:
Server side apps only. No, no, no, no, no. This is NOT good. It's one thing to want to keep the proprietary system closed, but to present a device sealed in digital Araldite is a Bad Idea. An Ubuntu flavoured Linux for mobiles is in the works, and you don't get more open source than that.
The full article is rather long but a very good read. Now I just want him to stop fawning over his iPhone and get back to making another series of QI, damnit! NP: Digital Shades Volume 1, M83

Benjamin Mako Hill: Award

Due to the fact that my favorite Window manager is now licensed non-freely (and then some), I award Tuomo Valkonen the J rg Schilling award for free software project management. /copyrighteous/images/trophy.png Tuomo can console himself with his award while I console myself with Tritium. With the new dock feature announced today, I think it just turned into something I can switch to.

19 September 2007

Neil Williams: gpe-cash developments

If anyone was wondering why I've been quiet / claiming to be busy for the last week or so:
gpe-cash finally has a stable "main window" that supports creating new accounts along with the transactions and splits necessary to support an opening balance in the gnucash objects.
Current SVN requires current QOF CVS, accessible via the respective SourceForge repositories. gpe-cash is nowhere near release right now - the actual balances don't show up for one thing and I still need to write the window that will allow the creation of transactions within the accounts - but one step at a time. I'll see about some screenshots eventually but the gpe-cash main window is quite similar to that of gpe-expenses.
The main side-effect of all this is a much improved SQLite backend for QOF that is closer to being able to properly support double-entry financial data.
Note this does not mean that GnuCash itself will be able to use the QOF SQLite backend - the GnuCash currency/commodity handling is incompatible with QOF so gpe-cash uses the currency handling from gpe-expenses which in turn came from pilot-qof and the range of currencies supported by the Palm Expenses applet. The currencies are directly equivalent to the respective GnuCash currencies but not all GnuCash currencies are supported by pilot-qof, gpe-expenses or gpe-cash. The biggest change in gpe-cash is that this conversion is now working so that the gnucash code sees a gnucash currency when actually it is handling a pilot-qof currency.
gpe-cash is GPL-3+ and single-user (== single-file or single-book) as well as single-currency. Adding multi-currency support is possible but not a priority.
Once gpe-cash is closer to release, the codebase will be able to support gpe-invoice using the GnuCash business objects which will interface with gpe-cash to create invoices from other GPE data and store the payments and charges in gpe-cash.
If multi-currency support can be achieved, it would be possible to create "gpe-shares" as a different add-on to gpe-cash, although that is only theoretical at this stage.
The SQL-type query support inherent in QOF, together with perl support for the XML backend data via libxml-qofqsf-perl and XSL support for same XML backend via datafreedom-qsfxsl should make report generation trivial. I may also be able to add QOF support to the still experimental quicklist. I also plan to include support for import/export from all the datafreedom packages with HomeBank data which is returning to a NEW queue near you quite soon . . .
Overall, I'm getting closer to having a full range of individual applications that achieve a long term goal - the breakup of GnuCash source code into small, individual tools in the Unix tradition, all built on SQL-type queries, multiple backends and generic data handling. (See data-freedom.) Down with bloat!
:-)
<rant>
It's about time users had free financial data as well as merely free financial software. The lack of data interchange between existing free software "financial solutions" is a scandal, IMNSHO.
The rest of the "Office" dataset have a range of file formats and a range of filters. Financial data relies on the horribly broken QIF file that was never designed to be a standard and OFX where support is horribly patchy and doesn't provide data interchange between programs on the same machine.
</rant>

David Moreno Garza: RockBox / NYC PM / Long walk / Pics

So, I have just installed RockBox on my iPod and I have liberated it :) It’s nice to see people amazed on an iPod running something that’s different from the usual firmware. Now, both my iPod and PowerBook are not running Apple software, muahaha!
Since we are in NYC now, and even before, we’ve been looking for interesting activities in the area. Tomorrow, the New York City Perl Mongers will handle their monthly meeting. At 6:30 PM at d.b.a, 41 First Avenue (between 2nd and 3rd Streets), map: http://tinyurl.com/2yqg4d. Tomorrow, we were supposed to go see a prospective apartment in Bushwick, Brooklyn in the afternoon; I’ll see if we can still make it. Otherwise, if you are in the area, feel free to attend!

Yesterday, we went to the Yankee Stadium. Actually we only went outside it, since we didn’t carry any tickets, we just wanted to see the neighborhood. It was amazing, since there was a game and we witnessed thounds of people commuting to it to watch the game. It was a nice experience only watching the people and all the buzz around the stadium. After that, we got back to Manhattan on the subway and dropped off on the 57th and Madison Ave: From there, we walked around sixty freaking blocks to get to our apartment near Essex & Delancey St. After checking on Google maps, it was a ~6 kms walk! It only took us 2:30 hrs. Heh. On the good side, we happened to see lots of nice places of Lexington and other avenues.Tonight, we’ll be walking to Little Italy and Chinatown, although we already know those neighborhoods, since Alex took us there when were here last June.
So, we are uploading our pics to the NYC photo set of our flickr account, raquelydavid.

Martin F. Krafft: Archiving web pages

Every now and then I encounter a web page which I'd like to archive for later purposes, e.g. because I can see that it might be related to my research, or simply because I want to keep the information until eternity. I know of three ways to achieve this, but each of them has drawbacks: So, dear lazyweb, how do you do it? I am aware that it'll be trivial to hack up a little script which uses wget to obtain page and dependencies, create a file with stamp data and produce a frameset to put this data above the actual file, but before I spend time implementing the wheel, I'd like to make sure it doesn't yet exist. NP: The Flower Kings: Paradox Hotel Update: Michael Stevens pointed me to furl.net, but I need a solution that I can use offline. Part of the reason that I want to archive web pages is because I don't want to come back in a couple of months and find a webpage removed, a server dead, or a site like furl.net discontinued. J rg Jaspert introduced me to Scrapbook, a Firefox extension I'll have to check out. However, even before looking at it: I really want files or directories on the filesystem, so that I can check them into version control and have them archived and replicated. I don't trust any data to Firefox or any of its extensions, or anything under ~/.mozilla. This is also the reason why I Slogger doesn't cut the mustard for me. Matej Cepl wants me to use konqueror to archive them. I don't want to install hundreds of megabytes for this feature, nor can I imagine that this feature will be much different or less cumbersome than Firefox's ability to save pages. I hate the mouse. Thanks for all your comments, regardless! Update: Just found this post about archiving stuff like digg/delicious.

Steve Kemp: Grey would be the colour if I had a heart

Thanks to gnupod I can now upload audio tracks to my current ipod. Code is in CVS, and you just need to follow the instructions to make it work. (ie. update the ID in mktunes.pl. I can write it up if there is any interest...

18 September 2007

Randall Donald: 100.14.19

Horray! NVIDIA just released 100.14.19 that is Xorg 7.3 compatible and with a rather big changelog. That should make a couple of Debian users happy. I'll work on packages ASAP. Hopefully legacy versions will be updated soon as well

Daniel Stone: git and changelogs

Every time I see a post about changelogs (sorry Behdad, nothing personal), I die a little bit inside.

There are three problems here:

Sven Mueller: Brane Dump The Thoughts of Matt Palmer

In “Documentation - the chicken and the egg” [1], Matt Palmer wrote about the problem that noone writes documentation because noone reads it and that noone reads documentation because the few documentation in existence usually isn’t very good. So he, like me hs the habit of searching for help on the net instead of in a projects documentation. However I disagree with him in the consequences a bit. Because I noticed that on several projects with good documentation (subversion is an example that immediately comes to my mind, but postfix isn’t too bad either), the internet search returns a reference to the docs more often than not. Of course, this means that the documentation needs to be searchable for those webcrawlers. So if you have the task to write documentation, I strongly suggest to make it searchable in some way. For company-internal projects, this obviously means that the documentation must be reachable via an internal search engine. In a project a few years back, we implemented an internal search engine which included company internal information (even with user based access rules so that each user only got those results he could actually access) as well as an external search engines results. It was closed source, but a pretty nice idea. It didn’t, however, index any locally (user’s desktop) stored documents, only what was on some company web page (but including .doc, .rtf, .pdf and the like which where retrievable via http). [1] http://www.hezmatt.org/~mpalmer/blog/general/documentation_the_chicken_and_the_egg.html

Benjamin Mako Hill: You Rule!

Inspired by Mitchell Charity's printable paper rulers and Steve Pomeroy's CSS ruler, I wrote a little python script to generate an on-screen ruler for the OLPC XO-1. The XO-1 screens are super high resolution (200dpi) and are each identical. This makes for a very accurate ruler. It's one of a few project I've done or am working on that tries to take advantage of the physical qualities (and physical consistencies) of the XOs. Also, a ruler is just a really useful thing for a school child -- or anyone else for that matter. Of course, different screens have different pixel sizes so the ruler for the XO won't work on another screen. This made some of my friends jealous. To appease them, I spent a couple hours and hacked up a little web frontend to my ruler generator which allows anyone to create custom on-screen rulers and to save them and share them with others who might have the same screen. I've called it YouRule. Please check it out or download the source and send me improvements.
http://projects.mako.cc/yourule

MJ Ray: Co-operative food stores ethical policy

I just received the autumn 2007 edition of the Co-operative Group's membership magazine. It came with a cover letter that finally prompted me to answer the food ethical policy consultation The announcement was covered in the Guardian under the slightly inaccurate headline How green do you want your bananas? Co-op ballots members on ethical issues and in the Metro under the headline "Flight logo row" focusing on the criticism of the Tesco and M+S branding (which I think was a little unfair in some ways). Even so, it's good to see the Co-operative Group getting our message across and wrong-footing the BBC's attack dogs, described in Cambridge Co-operator: Ethical Policy. Last time on five live, our man got a bit mauled. Will this change make a difference, like it has to the Co-operative Bank? Can an ethical policy persuade you to change where you buy your food? (2007-09-19: 1 comment)

Ross Burton: Infinite Undo in Tasks

Yesterday I landed in Subversion a branch of Tasks I've been working on to remove all confirmation dialogs and replace them with infinite undo/redo. I'm really pleased with the end result, there are no more dialogs getting in the way and every action is undoable. To implement this I adapted MarlinUndoManager from Marlin by the most excellent Iain Holmes. The basic design is that the application has a global undo context. When an operation which should be undoable occurs, you start the context, add as many undoables as required, and then end the context. Allowing a single undoable action to consist of multiple undoables lets the application reuse fine-grained logic to build coarse user-level actions (in Tasks this is used to build the Remove Completed action from multiple Delete Task actions). To make integrating this into applications even easier, I wrote a GtkAction which reflects the state of an undo context, so it is trivial to add redo/undo to the interface. There is one remaining task left before this is ready to be released: undo support in the edit dialog entries. Once this is done, the next release of Tasks will be announced. I also plan to work with Iain on cleaning up this code and submitting it for inclusion into GTK+. NP: Money Jungle, Duke Ellington, Charles Mingus, Max Roach

Lucas Nussbaum: Better Debian RC bugs graphs

if you like to monitor the number of RC bugs, you are probably annoyed by the graph on http://bugs.debian.org/release-critical/. The graph starts in 2003, making it impossible to read short-time changes. There’s a bug about that: #431299: RC bug status graph timescale is too long. And I provided a patch a few months ago, but it hasn’t been included yet. So, in the meantime, you can use my private copy (generated daily): Also, if you like graphs, Yves-Alexis Perez (aka Corsac) generates cool graphs about Debian: And if you want to have all the interesting graphs on the same page, you can use this page.

Peter Makholm: Cool utilities: ack

Working with subversion I’ve had a bit trouble making project wide search and replaces. find -name '*.pm' xargs perl 's/foo/bar/g' breaks a subversion working copy in not so subtle ways and grep’ing returns duplicate results. I gave up making the correct find statement in five minutes and installed ack. What a useful utility. Marc-Andr Lureau has ITP’ed it and it’s dependencies but hasn’t got anything uploaded yet. I offered to sponsor but havn’t recieved a respons yet and I’m impatient so I’ve rolled out my own packages, renaming ack to ack-grep to avoid name clashes with the existing ack package. Either download ack-grep_1.66-1_all.deb and libfile-next-perl_1.00-1_all.deb or use the following in you sources.list:
deb http://hacking.dk/debs sid main
deb-src http://hacking.dk/debs sid main
Still willing to either sponsor or maintaining the package myself.

Andrew Pollock: [life] Wake Me Up When September Ends

Today was the day that Sarah was supposed to have an amniocentesis to determine if it was viable to deliver Joshua via caesarian section. Most probably he would have been born today. I should have become a father today. Instead, last night we stayed at a lovely Bed and Breakfast near Half Moon Bay, and this morning on the clifftops near the Ritz, we released a balloon with a photo of him, and cried a little. It's been a surreal couple of weeks. In some ways, it feels like it has dragged on forever, in other ways, it's hard to believe it has only been two weeks. I'm going to go back to work tomorrow. Sarah's healing from the surgery well, and her Mum's here, so there's no real need for me to be at home, and I think work will provide a welcome distraction. The support of all of our friends has been nothing short of amazing. We are truly blessed to have such a wonderful network of friends over here, which helps make up for the fact that our family is so far away.

17 September 2007

MJ Ray: Changes in koha New Model Installer

Stage 1 of the new koha installer uses MakeMaker and some silly tricks to try to install a CGI tree, as well as modules. You can often grab prepatches from mjr-installer if you really want the latest bits sooner. The biggest user-visible change with this installer (compared to 2.2) is that it's dumb. It's dumb in that it's trying to do the simplest thing that could possibly work and it's dumb in that it doesn't ask the installing user any questions. If you know you want to change things, you can tell it, but it doesn't ask you to confirm everything like the 2.2 installer did. Almost immediately, that was criticised on IRC. The first criticism was about a related feature that someone else removed earlier in 3.0, really. The second criticism was stalled by the realisation that if we really want an interface that "questions everything" every time, a wrapper script can ask for all the settings and instruct the dumb installer. I'm not sure whether asking users to confirm everything is a good move, for the sort of reasons in Havoc Pennington's 2002 essay under "The Question of Preferences" - each setting we encourage people to change makes it harder to debug installation problems. That's one of the biggest pains with 2.2 and I think we've started seeing the same happening in 3.0 already. It's not quite "no two installations are identical" but it's not far off. So, the main installer defaults everything to the best values that I can guess that will work within the constraints. It should work for most people and it should be easier for packagers to override. I'd still love to hear about how other Perl CGI scripts install, especially if they use MakeMaker for the basics, then use a CGI interface for the rest. Are you writing one?

MJ Ray: Current Issues / Re: Absurdities of Recycling

And now, making things more complicated, the main Weston recycling centre (off Herluin Way) is going to close at 4.30pm from 1st October.  If you work full-time, forget about recycling card or plastic on a week-day! Source: Mercury

Yet more mixed messages on whether the new Conservative council supports recycling!

MJ Ray: Run on the Bank

For one UK bank, "innovation" has included funding long-term home loans mostly with short-term inter-bank loans. So, the increased costs of obtaining inter-bank loans during a credit crisis caused Northern Rock to obtain support from the central bank, the Bank of England. Once that became public knowledge, as it must, it started a predictable run on the bank, as described in Guardian Unlimited: Between Rock and a hard place - savers besiege bank. Savings are leaving at a rate of almost a billion pounds (1.6bn euro?) each day just now. In turn, that makes the bank's loans-to-savings ratio even more extreme, which then worries more savers and we're into a feedback loop, with queues growing out of the bank's doors, customer sit-ins [BBC West] and other unsettling side-effects. Northern Rock is a former member-owned building society which demutalised (converted to a shareholder-owned bank) in 1997. In just ten years, it has become committed to a business model which seems to scare many of its savers. Would it have done that if it was still controlled by its savers and borrowers? Is this exodus of savings going to be matched by loan customers moving away too? Will any of these customers return to the mutual and co-operative sector? It now seems sort of academic whether Northern Rock is on the list of online banks that work with free software, as commentators suggest it may be taken over soon. 2007-09-18 Update: the UK government has guaranteed all deposits in the dodgy bank. This is a bad thing, as explained on niq's soapbox: Race to the bottom.

Eddy Petri&#537;or: svn-buildpackage:development, RFH

Although slow, development on svn-buildpackage still continues. Sorry for the delays, but both myself and Eduard Bloch have been unable to assign more time to svn-buildpackage development in the last few months.

From the changelog of the trunk package (unreleased 0.6.22):
  [ Eddy Petri or ]
* IMPORTANT: changed default behaviour of saving the configuration in
.svn/deb-layout by default to avoid stale data to override the
configuration options that were updated in the repository.
(Closes: #414581)
As a consequence, a new option --svn-savecfg was added to allow a
mechanism for easily overriding options locally

BTW, did you know that svn-buildpackage is maintained in collab-maint and welcomes contributions and committers/reviewers (especially those)?

In case you want to help, this is the place to start from:

svn co svn+ssh://svn.debian.org/svn/collab-maint/deb-maint/svn-buildpackage/trunk

or

svn co svn://svn.debian.org/svn/collab-maint/deb-maint/svn-buildpackage/trunk

If you don't have commit access to collab-maint yet (just make a request on the alioth tracker and that will be fixed ;-) ).

Next.

Previous.