Search Results: "ms"

5 September 2007

MJ Ray: Current Issues / Re: Ride Report: Kewstoke-Congresbury

"I used to ride the track between Puxton and Congresbury (I think that it is called Dolemoor Lane) on a regular basis as my preferred method of getting to Congresbury. However, I discovered that, despite appearances, it is legally a footpath and not a bridleway, and therefore we don't have the right to cycle along it."

Well, that's a surprise! Most of Dolemoor Lane (it looks like it's called that to me too) is marked on council maps as bridleway and they're based on OS maps, so should be accurate.  The middle section (west of the Strawberry Line crossing until the road from Old Weston Road joins it) definitely isn't.  But it doesn't matter much now, as it's pretty unrideable.

Where do you go from there on your leisure route?  Sandford, Banwell and Cheddar all looked pretty easy from Puxton.

Will you be trekking out to the cycle forum this evening?

Russell Coker: Dead Links

I’ve found a reasonably good free spider for checking for dead links, www.dead-links.com. When I told it to spider my main site www.coker.com.au it worked well and informed me of several dead links that I fixed. When I told it to spider my blog it reported an error 404 and didn’t give any useful output. Strangely it was able to display a thumbnail picture of my main blog page that correctly had all data. I was wondering if it didn’t like Wordpress so I tested it out on Chris Samuel’s blog [ www.csamuel.org ]. It seemed to have no problems with his blog, so I suspected that it was the request time. I reduced the number of blog posts shown on the front page of my blog to 1 to speed things up (which resulted in my page loading faster than his) but still the dead-links.com spider didn’t like me. I now suspect that it’s something related to me using Wordpress 2.2. I would be interested in feedback from other people who try checking their blogs for dead links, whether they are using Wordpress 2.2 or something else. In any case it’s a useful service and I recommend using it.

Michael Janssen: Other Twitter Bots that I use

Earlier this year I blogged about using the twitter bot for Remember the Milk. I still use it fairly well, even though the SMS messages from the RTM come late a bit. It's working for me in order to get a good chain going for the thesis proposal. There are a couple other bots that I'm using which are on twitter as well.

The first bot that I use is the bot at timer. The timer bot will let you set a timer (surprisingly). You only need to send it a direct message with the amount of minutes as well as a reminder for you about what it was set for. For example, if you want to remember to plug the meter before it runs out in 40 minutes, just twitter 'd timer 38 plug the meter' to timer and in 38 minutes it will inform you that your timer is up. You can have multiple timers running at once, which is useful if you are perhaps having tea at a coffee shop while you are parked on the street.

Another bot I use is the gcal. Gcal is a connection to your google calendar through twitter. You can set up new appointments by messaging the gcal bot with something like 'd gcal Pick up joe at 7pm' or 'd gcal set up web application for judy tomorrow' and it will
add it to your calendar. I use it in the morning to track my weight. I just pull out my phone while I am at the scale and SMS 'd gcal my weight is XXX', and it adds the event as a day event on the day it was sent.

The last bot I will go over today is the mymm bot. It is slightly more complicated but still useful. When you're at the pump, you can direct message mymm a little info and get back the MPG that you have done since the last fillup. It helps me keep a tab on how good or bad I'm driving, which is a good thing. The car we drive usually gets about 24 MPG, but I learned through this that when I'm carrying a bunch of crap in the back, the MPG drops 3-4, so it's better for me to have an empty trunk.

I'm sure there are a bunch of other useful bots out there (ququoo is one, which I may cover in another post), but these are the most useful that I've found so far. Twitter is turning out to be much more useful than just random status updates.

Ian Wienand: Short review of guarded page-tables

Anyone who has done an operating systems 101 course is familiar with the standard hierarchical page-table structure. This is essentially a radix-tree where bits of the virtual address are taken as indexes into an array of pointers, each pointing to the next level down or, at the leaves, to a physical entry. Hierarchical page-table One potential issue with this style of page-table is with a very large, very sparse address space (such as in a single address-space operating system) there will be many intermediate steps with possibly only a single translation at the end (i.e. lots of single pages scattered all around your address-space). Thus we can add a bit-field guard to each of the entries in the page table (Liedtke, 1994) to help indicate only those paths through the tree which are valid (similar to a Patricia tree). Translation first proceeds as usual; the top bits are used as an index into the top level table. However, each entry now contains extra information about further valid addresses. The guard is masked against the next bits in the virtual address; if it matches (e.g. in our example is 0x2) the next step can proceed directly to the leaf node, bypassing the middle look-up. The entry can be marked as either final (i.e. pointing to a leaf node) or intermediate, in which case the process continues with the next level (which also has its own guard, and so forth). Any entry that does not match the guard is known to be false, and therefore a fault can be raised. Hierarchical page-table with guard To examine this further, consider that we know that each page in our 24-bit address space above is 4KiB, thanks to the 212 = 4KiB offset. Therefore each of the 16 possible values of the top four bits selects 1MiB of the 224 = 16MiB address space; e.g. 0x0 selects the first megabyte, 0x1 the second and so forth. The second 4 bits selects a 64KiB region of this 1MiB, and the last 4 bits selects a 4KiB region of this 64KiB region. This scheme could work quite well if we were using only 16 pages each separated by 1MiB. Each of these pages would only require an entry in the top level with an appropriate guard which could then be marked as final and point directly to a physical frame. Once things become less sparse however, we need to start filling in middle levels. If you have 2 pages within a 16MiB region, you need at least one extra bit of address to tell them apart. If you have 3 or 4 pages, you need at least 2 bits to tell them apart, and so forth. It would therefore be beneficial to have variable level sizes to dynamically adapt and create the most efficient lookup possible given the address space layout of a process. For example, if you knew your process was only going map pages 0x123 (100100011) and 0x124 (100100100) a good option would be to make your top-level only two entries (i.e. check the top bit) with a guard on the entry at index 0x1 of 00100. You then need a second level with 8 pointers to differentiate the remaining 3 bits (each of these would be final and hence point directly to a physical page). The more pages you start mapping, the less bits you can discard with the guard. If you follow this through to a guard of 0 bits you end up with a linear page-table. It has been shown (Elphinstone, 1999) that fixed level sizes with 16 entries tends to work well. For a 32-bit address-space with 4KiB pages (e.g. 12 bits offset) this leaves 20 bits to be mapped by the page-tables; with each level mapping 24 bits this means a 5 level tree. The guard values provide enough path-compression that the table is not constantly walked. The disadvantage is that it may "over-allocate" meaning more space is dedicated to page-tables than strictly required. Deciding where and when to split levels, what size indexes to put at each level and updating all the guard values dynamically to make the smallest, most efficient page-table would create a variable-radix page-table (Szmajda and Heiser, 2003). In summary, a guarded page-table is more useful the more sparse your address space is. A variable-radix guarded page-table is complex, but could offer advantages for implementing variable page-size support and thus having positive effects on TLB coverage.

4 September 2007

Steve Kemp: The temple walls are made of flesh

This week has consisted of fighting registrars and doing a bit of hacking on xen-shell, xen-tools, and the chronicle blog compiler. CJ has done some good work trying to get the code modularised, and I expect between the pair of us we can make things neater and better generally. I've also fixed a couple of bugs relating to the hard-wiring of device names (/dev/sda, /dev/tty1, etc). These devices are replaced in newer versions of Xen which wants to use /dev/xvc0 and /dev/xvd[a-z] instead. There's nothing else happening at the moment; I'm just having a lot of fun laughing at our new kitten sliding around on our polished wooden floor! Chronicle seems to be getting pretty popular which is ironic because it was a quick hack to allow me to post blog entries on a couple of hosted sites - which I've not yet done. Oops. In other news I'm loving the Nintendo DS at the moment, Megan brought me one back from America on her recent trip and I think a day hasn't passed where one or both of us has played less than 30 minutes each. I'm annoyed that Sim City DS only allows us to play with one city - right now it is her turn, and I'll have to wait until she's finished with her creation before I can have a go - because otherwise I'll wipe her city out.. :(

Neil Williams: time for quicklist development again

I've found some time for quicklist, finally, to move the port on to a second pre-release. New additions include a Recent Files submenu and GtkHTML report engine but the Sort and Filter options are not complete and adding a new report is problematic.
quicklist is now ready for some translations (the first one identified a problem in pre1 that prevented certain strings from showing up as translated). Also added a prototype manual using docbook that I've made available as HTML for dwww and making the docbook file itself available to yelp.
Currently, I'm undecided just where QuickList will fit between pure-Gtk2 and pure-Gnome2. pre2 uses libgnomeprint and libgnomevfs but yelp would bring in the main gnome libraries so yelp is just a Recommends and only as an alternative to dwww:

Recommends: www-browser, dwww yelp

I hope to find some time to fix the remaining bugs but if anyone fancies helping out, see http://quicklist.sourceforge.net/ and take a look at the current CVS prior to the pre2 upload. CVS provides a method to build the updated code docs for developers (rather than the Manual which is aimed at users) using doxygen - the version on the website is out of date. This includes a list of bugs and ToDo items - most of which are centred on removing the last vestiges of the original QuickList code and refactoring to make full use of libglib2.0-0 functions like GList and GHashTable instead of fixed length multi-dimensional arrays.

Daniel Baumann: Swiss Voting on OOXML

This is the result of Swiss voting on ISO/IEC DIS 29500, the fast-tracking of the Microsoft Office Open XML file format.
4 screen AGapproval
Accenture AGapproval
ADVIS AGapproval
ALTRAN AGapproval
Baggenstos Wallisellenapproval
Bechtle IT-Systemhaus Thalwilapproval
CIS-Consultingapproval
Comsoft Direct AGapproval
Coris SAapproval
Dr. Pascal Sieber & Partners AGapproval
dynawell agapproval
Ecma Internationalapproval
ELCA Informatik AGapproval
EPFL Lausannedisapproval
FSFE Free Software Foundation Europedisapproval
GARAIO AGapproval
Gysel Ulrich Emanueldisapproval
H.R. Thomann Consultingapproval
Hewlett-Packard (Schweiz) GmbHapproval
HSW Luzern, Institut IWIapproval
IAMCP Switzerlandapproval
IBM (Schweiz)disapproval
Informatikstrategieorgan Bund ISBapproval
isolutions gmbhapproval
itsystems AGapproval
Kull AGapproval
leanux.ch AGapproval
Leuchter Informatik AGapproval
MESO Productsapproval
Microsoft Schweiz GmbHapproval
MondayCoffee AGapproval
Namics AGapproval
NEXPLORE AGapproval
Novell (Schweiz) AGapproval
Online Consulting AGapproval
Open Textapproval
PageUp Bernapproval
PC-WARE Systems (Schweiz) AGapproval
Puzzle ITC GmbHdisapproval
SBS Solutions AGapproval
Secunet SwissIT AGdisapproval
SIUG Swiss Internet User Groupdisapproval
SKSFapproval
Skybow AGapproval
SoftwareONEapproval
SyGroup GmbHdisapproval
Sylog Consulting SAapproval
Syndregadisapproval
TheAlternativedisapproval
Trivadis AGapproval
Unic Internet Solutionsapproval
usedSoft AGapproval
Verein /ch/opendisapproval
WAGNER AG Kirchbergapproval
Wilhelm Tux (Verein)disapproval
Würgler Consultingdisapproval
Zürcher Hochschule der Künstedisapproval
Total of voting (75% majority)43 approval (75.4%); 14 disapproal (24.6%)
A majority with 75% has been reached with one vote. Why do Hewlett-Packard and Novell vote IN FAVOUR for OOXML!?

MJ Ray: Installing a complex perl web application

Time to revisit this topic. I asked debian perl for advice on packaging a CGI with modules and my current solution is to use ExtUtils::MakeMaker - I'm just writing the PL files which will generate the configuration files. I also took a look at Module::Build and PAR::Tutorial but I'm not convinced that they're both as portable and as smooth as if I can do it all from MakeMaker. There are occasional posts about Module::Build problems on lists like this one on ledgersmb-users which worry me. After koha-1.2's bespoke installer, I really want to make it as easy and simple as possible, for both development and use. There are also periodic debates about M::B at perlmonks too. Maybe we can use PAR later, like this perlmonks post suggests and apparently KrangCMS does. Now, what have I missed? (2007-09-07: 3 comments)

Miriam Ruiz: Kenta Cho games, as promised

Peter De Wachter and I have been packaging most of Kenta Cho’s games in the latest weeks. As it might take a while for them to reach Debian repositories, mostly because they’ll have to wait for libbulletml to go through NEW queue, and afterwards they’ll have to go through the NEW queue themselves, I thought it might make sense to have them available online. Some of them will need libbulletml, you might as well download it too if you’re interested. So far, the following games are available: I hope to finish Val & Rick soon too. We probably won’t package Suzuri and Masashikun Hi!, as they’d probably be quite difficult to port to Linux. Noiz2sa is already packaged in Debian (well, so is rRootage, but I will upload the newer version soon, I just don’t want to harass my sponsors too much, so please be patient). The games can be temporarily downloaded here, and libbulletml here. libbulletml has been coded in C++ by shinichiro.h, while BulletML design is Kenta Cho’s. You also have packages available for 360 degree barrages (bulletss) and White barrage (sdmkun) by shinichiro.h. The former is a small demo for libbulletml, while the latter lets you see and experiment the power of the language.

MJ Ray: National Issues / Cycle Tracks and Driveways

North Somerset is better than most about building cycle lanes and cycle tracks which are actually useful.  There are a couple of nasties (Winterstoke Road!), but most cycle tracks here are the useful "bypass" type with few junctions, rather than the stupid "white paint on a footpath" type.

However, this example from Harlow shows how things can go badly wrong: I can't believe it's a cycle track and I hear there's a similar example just been built in Cambridge.  Give way at every driveway???  Of course, faced with such things, most sensible cyclists will stay on the road, where it should be safer, but now motorists will abuse them with "get off the road" even more.

I doubt bad cycle tracks are ever going to be bad enough to get councillors thrown out at an election, so how can we stop such daft farcilities getting built?

Daniel Burrows: What were they thinking?

If you're going to build a computer case that looks like a media player ...

and if you're going to include a big volume control and an LCD player on the front ...

then aren't some buttons like "play", "next", and "pause" also a good idea?

I ask because I was browsing computer cases at the store yesterday, and apparently no-one working for the companies that design these things has thought of including some control buttons on front. To me, this seems like it would rank somewhere in the top 10 most obvious ideas ever, somewhere below "eat when you get hungry" and above "don't pick a fight with a grizzly bear", but clearly I'm missing something.

3 September 2007

MJ Ray: Current Issues / Ride Report: Kewstoke-Congresbury

In preparation for Wednesday's cycle forum meeting at Backwell station (6.30pm), I went for a ride to Congresbury.

I followed roughly the route out along Ebdon Lane and Hewish bridges shown on this javascript map but on the way there, I went south from Puxton and turned off Nye Road onto the Strawberry Line (NCN route 26) to test it out.

The main surface seems to be very loose gravel on top of a very hard subsurface.  It's uneven in places, but I think I still averaged about 10mph. At each end of the route, the connecting paths are mud tracks.  The left turn just before Congresbury station is unsignposted. It's not a bad route, but a long diversion to go to Congresbury. The whole ride out took about an hour in total, going at a fairly gentle pace.

Coming back, I rode along the bridleway that is pretty direct from Congresbury to Puxton. Unfortunately, somebody has tried to fill in some uneven sections with rubble since I rode it last year. The route is now "get off and walk" in several places and uncomfortable otherwise.

I think I'll be riding along the A370 from Wick Road to Congresbury on Wednesday evening. If only there was a track across Tutshill sluices...

In other cycling news, the police have an undercover bike which they'll leave lying around, see if it gets nicked, then track the thieves back to their lair.

Russell Coker: George Monbiot s Solution to Emissions Trading

I previously posted about Interesting Ideas from George Monbiot, one of which was to establish individual emissions trading. Gyros Geier disagrees with this and cites the current emission trading schemes as evidence. There are several fundamental differences between George’s idea and the current implementations of emission trading. The biggest flaw in current emission trading schemes is that the emission credits are assigned to the worst polluters. George is proposing that an equal amount be assigned to all citizens. Assigning credits to the worst polluters is another form of by the polluting industries. The way to solve these problems through emission trading is to start by fairly assigning the credits (and what better way than to equally distribute them among all citizens) and to then reduce the amounts assigned over time. Gyros claims that emission trading which allows people who use little emissions to get large credits will cause people to have resources used in their name which they would not otherwise use. The solution to this is to assign to each citizen in a country a set of credits that is equal to the use by someone on the median income. Note specifically that setting credits equal to average use is not the right thing to do, the vast majority of the population produce significantly less emissions than average. The result of such a policy would be that people who produce median emissions (and most of whom would be close to the median income) would reduce their emissions as much as possible so that they could sell the credits, they would even have an incentive to spend money to reduce their emissions (for example by installing better insulation in their home) as it would be an investment. Then people who produce more emissions than the median would be forced to buy credits to support their extravagant lifestyle. This would give a significant reduction in emissions (the median income is about half the average income and I presume that the emissions produced are in line with income). Gyros also makes the startling claim that emissions trading increases emissions. I can’t imagine that being possible, in fact I can’t imagine how the coal industry could do more damage to the environment if they tried. Finally, taking a positive approach to blogging is a really good idea. I welcome discussion with people who want to claim that my ideas (and the ideas that I quote) are bad, but if you are going to do this please describe something that you consider to be better.

Biella Coleman: Dependability

In the last week, I have been witness to and part of many conversations and probably one of my favorite ones was about coffee. My friend reasoned that coffee is as wonderful as it is because of its dependability (unlike, for example, your relatives). You know that for a moderate sum of money, you can drink a drink that makes you happy, alert, and, for some of us, allows us to face the rest of the day on an even keel. It is pure comfort that derives from a form of almost ritualistic dependability. This morning, as I was sipping my coffee, I came across a short blog post by Stanley Fish who certainly does not make me as happy as my morning cup of joe, but I do admire him for his dependability and consistency when it comes to reporting on matters of liberalism. For over 20 years he has dependably written on the quandaries and limit of liberal political ideology and his most recent installment, which focuses primarily on a new book by Paul Starr, is no different. Well, his conclusion strikes just a little differently than the tone of some of his previous works. In the past (or perhaps in some of his longer academic works), Fish’s solution to the problem of competing ideologies is that there are no solutions, just incommensurable ideologies and you gotta sort of duke it out, and the strong man/woman/group wins (see Terry Eagleton for this characterization of Fish’s work. But the ending to this piece is subtly different, a tone and stance I rather prefer: So again, what to do? Lilla s answer is pragmatic rather than philosophical (and all the better for that). All we can do, he says, is cope ; that is, employ a succession of ad hoc, provisional strategies that take advantage of, and try to extend, moments of perceived mutual self-interest and practical accommodation. We need to recognize that coping is the order of the day, not defending high principles. Now there s a principle we can live with, maybe. What I like about his ending is that it acknowledges there are times when compromise is possible, where a common meeting ground can be forged, however provisional these may be. As someone interested in the politics of consensus and accommodation, I think it is important to recognize that human beings are not simply molded by one set of values but are are often dwelling within various systems (of sometimes contradictory) values. And it is because of this multiplicity that forms of accommodation and consensus emerge and can emerge, signaling a more hopeful politics that derive not from abstract adherence to precept such as tolerance, but from the far messier realm of actual life experience.

Felipe Augusto van de Wiel: 3 Sep 2007

To Blog, or Not To Blog...

Amazon: in the hands of a few
Thinking about writing something for a while, about my Debian work or about my daily stuff, sometimes you lack the time or the motivation to do so, I should kept this more up-to-date so people can follow a little bit what's going on with me... specially considering that I try to keep this diary neutral about non-technical subjects, but hey! it is somewhat hard to be neutral in every single situation. Anyway, I found that I should help to spread the word from a Brazilian colleague, Sulamita, she posted about democracy (or the lack of it) today. Two videos, about the Amazon Forest area and some of the crazy things we find in Brazil. You can watch the Brazilian Portuguese version or the English one.

A lot of people are not aware of some of the political problems that Brazil faces in the last 10 years, it is not like it doesn't exist before, but it is getting worst and worst and, for a while, I've been wondering...
    A lot of friends want to leave Brazil as soon as they can, I love Brazil but I can understand their motivation.

  • Where do you find the desire to stay when you look around and you can't find fairness and equality? And if you look to the houses or places that should protect people, you realize that there is no protection?
  • How do you keep the passion for a country with huge levels of corruption in public government, in police forces, in your law makers? And day after day, corruption schemas, robbery and law abuse are noticed on the television?
  • What to do when you realize that the perception of the disloyal advantage is shared among your colleagues and that the feeling of failure dominates a great part of the population that could actually do something to change?
  • Can anybody, or group of individuals, feeling alone, work to change that? How? Specially when you look around and although you know there are people willing to help they need to take care of their lives (money, food, family)?
Or should I ask: Where's the love? (Black Eyed Peas Lyrics).

And before somebody thinks that the entire Brazil is lost, that we are under a Civil War and that monkeys and other animals are walking on our Jungle streets in the middle of the cities, no it is not... yes, we need help; yes people need to join forces; yes, we need to find ourselves and fix it; but it is still a great country to live, and yes, I love it!
Thanks: beraldo and sysdebug. And I'm happy to discover that advogato upgraded my status, I'm now a Journeyer.

Clint Adams: But what does the position of the circle mean?

You make one little Durex pun and all of a sudden-like, somebody's making a PNG file for you.

Erich Schubert: Scalix: only usable by Outlook?

I spend a few hours today trying to get Scalix to work right...I managed to be able to loginto the admin console at the end, yay!Still: it seems that it's pretty much unusable except by Outlook (maybe, I havn't tried that).The reason is simple: they don't let me log into the web mail. With none of my browsers. Because they havn't understood what 'Gecko' is.For tech people (apparently the Scalix people don't fall into this category), Gecko is the 'rendering engine' inside Firefox, Mozilla and a few others.With 'others' including the trademark-unencumbered Iceweasel fork of Firefox, or the Gnome webbrowsers "Epiphany" and "Galeon". Which are not "supported" by Scalix (do you happen to actually know what you are supporting? Did you develop for the Gecko rendering engine or for the Firefox UI?).Other people in the "I'm a web 2.0 company, but I don't know my stuff" hall-of-shame include the huge german email provider GMX. Their new webmail 'preview' is also only enabled if you claim to be using Firefox or Internet Exploder. They neither have understood why all Mozilla browsers include the Gecko id...

Wouter Verhelst: Recent movies

I like seeing movies. I don't always blog about them, but sometimes they're just too good to ignore them in the long run. Here's a recap of some of the movies I saw recently: That's it for now.

Russell Coker: Photography and Censorship at APEC

World News Australia reports that Police forced three tourists to delete photos of a fence. Apparently the officers in question believed that such photos would be a threat to security. It’s interesting to note that the first sentence of the World News Australia report is “Officials say police who forced three tourists to delete photos of a huge security fence erected in Sydney for the APEC summit were not over-reacting” while later in the article it says “The police action against the tourists may have been “over the top” but was necessary, said New South Wales state Transport Minister John Watkins“. So which was it? Was it “over the top” or was it “not over-reacting“. Strangely the World News Australia web site shows a picture of the fence. If this fence is so secret then why are the pictures being published so that millions of people will see it? For that matter why even try censoring the pictures. Censoring the pictures effectively issues a challenge to everyone who has a digital camera and plenty of spare time (which means most university students among others) to get the best photos of the fence (feel free to leave comments with the URLs for your best pics). While this is happening protesters from Real Action On Climate Change have been protesting at the Loy Yang power station, according to their blog posts it seems that they were partially inspired by the APEC meeting. It seems that APEC leaders are keen on nuclear power. If they really believe that nuclear power is safe then maybe they should have their meeting at Maralinga. There would be little effort or expense required to secure Maralinga and it wouldn’t disrupt a major city. :-# But seriously if they wanted a secure location for a meeting with no protesters then an aircraft carrier would make an ideal location. The people who need to attend the meeting could get flown to a carrier that’s off-shore in the territorial waters of one of the countries concerned with a full battle group to deter any other ships from entering the area. It is reported that Sydney whores are expecting to do a lot of business during the APEC meeting. Maybe this is the reason why they wanted to have their meetings Sydney (which is rumoured to have the best brothels in Australia). I wonder if they are planning for a future APEC meeting in Bangkok…

David Welton: Hpricot did something less than delightful

I have a Rails application that uses Hpricot, "a fast and delightful HTML parser" for Ruby. It seems, however, that this change (the one in xchar.rb, specifically), present in 0.6, but not 0.5 causes the inner_text method to fail less than gracefully, spitting out a ? character instead of simply letting through the unescaped text. I was depending on the latter behavior, so this change blew up my code. It's a good thing I caught it before going to production. Other than that, I've been very happy with Hpricot, and it is indeed quite quick and useful.

Next.

Previous.