Search Results: "mak"

11 May 2007

John Goerzen: Predictability

One of the things about living in the country is that there isn't all that much predictability. You can have your water supply disrupted by ants, sewage issues, power supply problems, etc.

But today was a new one that disrupted my morning commute.

It wasn't mud, or harvest.

No, it was traffic. On our driveway, just a few feet in front of our front door.

img_2068c

Takes only one of those standing on the driveway to make a traffic jam.

MJ Ray: More Highway Code Cycling

More developments on cycling and the Highway Code: There was a written answer in parliament about the Highway Code which completely avoided the question - cyclists are voting 'no' to its 'Does this answer the above question?' poll. I have. bikeuser wrote about the Highway Code with excerpts and links to me and also linked Eleanor Blair - More Highway Code which mentions the Early Day Motion in parliament with a suggestion that you write to your MP and ask them to sign it. In a comment, Anonymous asked:
"I agree with you that cyclists should have the right to decide that a cycling road seems too hazardous. However, other than that, any reason why cyclists should get to use roads when cycle paths exist?"
Yes. The most important reason is that most cycle paths are built to a very low standard (design speed of 18mph on an unladen hybrid bike) which is unsuitable for commercial carriers and even ordinary road bicycles (what I used to call racers). Even national government suggests to use the road if you want to exceed the design parameters of cycle paths.
"As a general rule, if you want to cycle quickly, say in excess of 18 mph/30 kph, then you should be riding on the road."
Also, cycle paths usually get the lowest priority of all highways at every junction (contrary to national guidance) and are hopelessly badly signposted. Would you choose a bumpy-road that gives way at every piddling side road when you have the choice of a flat, smooth A road? I doubt it - that's the basic form of traffic calming in bypassed villages like Blisworth. There are some cycle tracks I use, but even those are so badly signed, it's taken me weeks to figure them out - and I've been visiting family in this area for years! For example, I don't enjoy riding on the exposed Somerset Avenue dual carriageway and the adjacent purpose-built shared-use path is segregated, with few junctions or pedestrians, but consider the junction complex at West Wick (the aerial picture shows the cycle path, but the roads on the bottom right have changed). It's faster to use the underpasses, cross Churchlands Way into Yew Tree Drive and then use the Summer Lane underpass to reach North Worle, but which way do the cycle route signs send you? Yep, round to the left, across four sets of traffic lights where the cyclists get the lowest priority (and a 'Cyclists Dismount' sign for good measure) and then along a path that level-crosses an estate road completely blind (under construction in the aerial pic, above the roundabout). Oh, and the cycle route map's wrong for that area, just to make it even more confusing. Because of the bad signposts and maps, it's also very difficult to report any problems with cycle paths and tracks to the highways maintenance team. Cycle paths often don't have names and I've sometimes had reports come back with "there is no fault" when it turns out they've looked at the nearby road, not the cycleway. Forcing cyclists to use cycle paths will probably always be the wrong choice, but there's a lot of improvements needed before you can expect many cyclists to use them by choice. Doing so now would be like directing all cars onto unsigned B-roads instead of motorways that exist for the same journey, just because vans and lorries have a bigger need for the motorways. I like having B-roads available for journeys which would be much longer otherwise, but I wouldn't want to be forced off the motorways just because they exist. Even if you're a car driver, write to your MP and object to directing classes of traffic off of roads that are safer than alternatives. Else, if you tolerate this... The bigger question is "why is so much money spent on the cycling equivalent of B-roads?" and I don't know the answer to that. We would do much better to widen roads to add cycle lanes (or allow safe in-lane overtaking by cars), instead of widening the adjacent paths and painting them as shared use.

Sune Vuorela: KDE4 secret configuration variables

It seems that the main source of the configuration variables is in the CMake-files.
Especially kdelibs/cmake/modules/FindKDE4Internal.cmake. Instead of the automake –sysconfdir, it seems you can use -DSYSCONF_INSTALL_DIR=/etc at least in kde. This does not seem to be CMake specific, but something kde4 has implemented in their build system.

Andrew Pollock: [life] It's a girl^Wboy!

My parents got back from a whirlwind trip to Canada this afternoon, and we thought that since their visit here was scheduled before we knew Sarah was pregnant, we thought one small way they could participate was to come along to an ultrasound screening that determined the baby's gender. So we lashed out on one of those gimmicky 3D/4D ultrasounds, and didn't tell Mum and Dad what was going on until we got there, so as to make it a bit of a surprise for them. I think Dad thought we were going to see a baseball game, because when Mum asked what to wear, I told her it didn't matter, and that it was a spectator activity. I called it as a boy before the sonographer made a call. She initially thought it was a girl, but revised it to be a boy as the scan progressed. I'll update this post with some of the images later.

Robert McQueen: Tubes and Planets

Daf blogged earlier about some of the work we’ve done thus far for the One Laptop Per Child project. Tubes (although the picture looks more like snakes if you ask me :D) are a really cool technology which should let the OLPC activity authors just work on their activity, and use D-Bus and Telepathy to take care of the communications. At the moment our implementation for Gabble (Telepathy’s XMPP backend) is pretty rudimentary and sends all data via the server, but this already lets us layer multi-user tubes over XMPP multi-user chat rooms and have it act like a bus where each member of the room is also a D-Bus endpoint. You can export objects, call methods and emit signals just as normal. Next up we’re going to implement them in Salut (the link-local XMPP backend, which we’ll use for communications over OLPC’s mesh networking) using good old TCP for the one-to-one connections, and some of Sjoerd’s more exciting link-local multicast stuff for multi-user tubes. To make tubes work for desktop clients we’re going to go on and look at more advanced Jingle-based ICE NAT traversal stuff. Maybe one of our next ports of call should be raw stream tubes for existing TCP protocols, then we can make a reality from X over Jabber (or whatever other protocol) that Matthew Allum was wondering about. :) I’ve also just stolen Planet Collabora from Daf’s home directory and put it on its own subdomain, so you can add it to your feed readers and keep track of what we’re up to with Telepathy, Farsight and friends.

Martin Michlmayr: GCC 4.3 related build problems: extra semicolons

One mistake which some C++ programmers make which GCC 4.3 rejects is to put semicolons after functions. While a semicolon is needed to terminate a class, struct and enum it must not be used after functions. The following code is invalid because of an extra semicolon (in bold):
class Test  
    Test()  ;
 ;
GCC 4.3 will reject this code with the following error message:
test.cc:2: error: extra ';'
The obvious solution is to remove the spurious semicolon.

10 May 2007

Simon Richter: gcc 4.3

Martin writes about semicolons after functions being an error now. This makes life difficult if you want your code to also compile on Visual Studio 2005 (probably 2003 as well, haven't tested) and you use "function-try-block"s in C++, because there is a compiler bug that makes it actually require semicolons after some functions.

Aigars Mahinovs: Stuff happening

You know that you haven’t blogged in a while, when you realize that you have changed your address twice since the last post. Changes in my life since last post:
* finished my Masters paper and submitted it, waiting for viva now :S
* moved back to Latvia, lived for some time with parents (and no Internet) and now moved into an apartment in Riga - great place :D
* working on projects to make living :
* got my camera stolen at some point during my move from UK to Latvia, and my finances will not allow to replace it this year ;(
* another person is contributing heavily to SBackup and is single-handedly doing the bulk of the bug fixing for a new stable release of SBackup :D !
* another patent treat is looming (EPLA - a united patent court under EPO), but this time we are asked for our opinion by our government - nice change of pace there :)

Piotr Roszatycki: New libtool based on CVS snapshot is packaged

Some time ago I've filled ITP for libtool-cvs. I needed the new libtool for fakechroot project. The stable release of libtool is badly broken and causes that autoconf generates ./configure script which fails if C++ compiler is not installed in system. The cure is the newest libtoolize taken directly from CVS. I rather want to see the libtool package in Debian because it is hard to install it manually. So I decided to make the new package. Fortunatelly, the current stable libtool maintainer (Kurt Roeckx) is very helpful person and he don't see any problem if I prepare the experimental release of his package :) So here it is: fresh and brand new libtool Debian packages. There was some controversy with versioning schema. The current CVS snapshot is labeled as 2.1a. The upstream's authors promised that the next release should the version number greater than previous. I hope they really don't release new libtool i.e. as a version 2.0. Whatever. This is the experimental package at least. I don't know, why the package is not indexed by packages.debian.org yet. It is strange as fara as it came into ftp.debian.org.

Martin Michlmayr: GCC 4.3: common build failures

Even though GCC 4.2 has seen many delays and still hasn't been released (although it's finally getting close), a lot of development has already been done on trunk for the release of GCC 4.3. I started testing 4.3 in March and in addition to finding and reporting compiler issues I have filed bugs on packages that fail to build with GCC 4.3. The idea is to give people an advance warning and to be ready for GCC 4.3 when it will be released. We have almost 500 bugs related to GCC 4.3 already, mostly due to a clean-up of C++ headers in GCC that has exposed sloppy programming in many programs. Fortunately, these bugs are easy to fix. As I'm finding common mistakes in packages, I will document these problems and way to make sure a program is ready for GCC 4.3. Common problems

9 May 2007

MJ Ray: Travelling to Debconf7

In reply to my tips for anyone making the trip over land from England, Joachim Breitner wrote:
"Damn it! Now I was waiting for the night train tickets back from Edinburgh, just to notice now that they don't operate on Saturdays! I wonder if there is some car going from Edinburgh to London on Saturday, 23rd... (/me is worrying about his trip)"
and 10 minutes later:
"Never mind, there are still overnight busses available - and damn cheap :-)"
I hope that crew of that overnight bus are kinder than the one I did London-Paris on a while ago: calling out over the public address at 0230 stops that no-one had tickets for, then arriving over an hour early in Paris. No-one wanted to be in Paris at 0430. Anyway, I think I'll spend a few hours in Manchester and Derby - anyone got tips on where to eat or what to see?

Anthony Towns: Torrenting the Debian Archive

Continuing the theme from my previous post – the first and fundamental thing any distro needs to have, and thus the first and fundamental thing to think about disintermediating, is some way of distributing software. That might be burning CDs and sending them out to resellers or OEMs, or having your stuff available for download, whether by putting it up on your own server, hosting it via a dedicated high-reliability provider like akamai, or maintaining a network of mirror sites and keeping them up to date. And, of course, anyone who wants to distribute their own software has to do the exact same thing – which either means doing it themselves, and not being able to take advantage of the scalability the distributor has already made work, or going through the distribution and dealing with the problems that entails, as well as the benefits. In this case, disintermediation and decentralisation are pretty much one and the same thing: and decentralising content distribution is already a well understood problem: that’s what peer-to-peer is all about, and peer-to-peer distribution of, well, distributions is already very successful – at least when it comes to CD (and DVD) images. Which means that just about anyone can create a CD image, and distribute it to the world in exactly the same way a major organisation like Debian or Red Hat would – upload a torrent file, run a seed, and let the magic of BitTorrent do its thing. Scalability is no longer something you need a distribution organisation to manage, instead it’s built directly into the technology itself. Unfortunately BitTorrent is designed for large static images – not something you update on a daily basis. And for better or worse, my preferred distribution (Debian testing, currently lenny) does update that frequently. Fortunately, though, BitTorrent’s an open protocol and has dozens of open source implementations – so last year I was able to propose it as part of the Google Summer of Code, and was lucky enough to get a few responses and a student to work on it. It didn’t get much further than that unfortunately – the student lost internet access not long into the programme (and for most of its duration), and that was pretty much that. So when this year’s SoC rolled around, I didn’t really expect much, and didn’t put the idea up for consideration again, but lo and behold someone came through and asked if it was still possible and if there was any more information, and when I forwarded on some of the mails from the previous year we ended up with a second chance at the project. So far it’s looking pretty good – we’ve had a lot more success at keeping in touch, and thanks to the extended schedule for the SoC this year we’ve been able to do a much better job of keeping on top of what’s going on. So much so, in fact, that there’s a first (alpha) release out before the SoC is officially due to start! Wonderful stuff! What it does at the moment is allow you to take a Packages file (the stuff “apt-get update” downloads, which includes descriptions of all the packages that are available, how they inter-depend, and so forth), and from that information create a usable torrent from which to obtain the packages themselves which can then be used to share and distribute the packages. There are two crucial steps in that: the first is allowing the torrent to work without requiring huge amounts of extra information to be distributed (which would introduce scalability problems of its own, instead of solving them), and the second is that the pieces that make up the torrent are selected in a way that matches the actual packages, so that when you upload a single new package, you are in fact only making a minor change to the torrent, rather than having it (on average) completely redefine half of the torrent (and again introduce scalability problems rather than solve them). There’s more information on the DebTorrent wiki page and Cameron’s blog if you’re interested. Anyway, it’s just an alpha release at the moment, which means while there’s code that does something, it’s not actually all that useful yet. The current plan is to next add some code to make it automatically prioritise packages based on what you’re actually using – so that rather than downloading all the debs it see, it’ll only download the ones you’ve got installed, or maybe only newer versions of the ones you’ve got installed, which should get us pretty close to the point where it’s actually useful for something. The end result, of course, is to build a tool that you can point at a Debian archive, run it on a machine connected to the Internet, and you won’t have to do anything more to have a reliable, scalable and reasonably efficient means of allowing your users to distribute and update their systems. In this case, scalable means that if you end up with as many users as Debian or Ubuntu, your users will have a comparable experience, as if you’d arranged for a similarly comprehensive mirror network, without actually having to do the leg work. And heck, presuming that works, it doesn’t even matter if no one else actually does that – it’s worth it even if it saves Debian or Ubuntu the effort of keeping track of a mirror network by hand. There are interesting possibilities at smaller scales too, of course. :)

Erich Schubert: Sch uble at LinuxTag 2007

Traditionally, the german ministry of the interior has been taking patronage for the LinuxTag. Which per-se is a good thing.However, the current minister of the interior has been publishing some "anti-terror proposals" that pretty much all opensource people see as a serious attack on their freedom, and that actually violate the constitution (or even the human rights, such as his statements towards torture).So this is a very odd situation: everybody would like to say "no" to him, but at the same time, welcome his ministry because of the good cooperation with opensource people the last years.IMHO, LinuxTag needs at least make a statement that while they welcome his efforts to establish the use of open source software in public administration, they can not agree with his political efforts with respect to the "war on terror", which pose a serious attack on the freedom of individuals.After all, there will be security experts at LinuxTag, and who if not they are capable of judging that e.g. the famous "federal trojan" won't be able to help much against organized crime (including terror organizations) because these can also organize computing safety (e.g. by not using Windows and not accepting executable data in email...). Or show up how much data abuse his proposals with respect to data gathering allow.

Michal Čihař: python-gammu has asynchronous wrapper

Yesterday I hacked asynchronous wrapper for python-gammu. It is start of progress to make Wammu behave better while talking to phone. My plan is that all operations will go through this asynchronous wrapper and will be completely non blocking to Wammu. This means no progress bar will pop up to front, but entries will appear in window as they are being read. Progress will be of course still shown, but only in status bar. The current code is only first step, next thing which has to be implemented in python-gammu are virtual commands. Those will be used for things like getting all calendar events from phone, so all you will have to do for getting all is enqueue GetAllCalendar event and worker will do all for you including progress reporting. If you want to write own application using this new wrapper, you can look at example which is in sources. It shows all current possibilities, but it will be enhanced in future.

8 May 2007

MJ Ray: Travelling to Debconf7

I've booked my travel to Debconf7. Here are some tips for anyone making the trip over land from England: There are cheap megatrains and megabuses from central Edinburgh to/from Manchester (train, weekdays) and Sheffield Meadowhall (bus, everyday) which give useful connections to points further south, avoiding London. Caledonian Sleeper Bargain Berths are now bookable, but Fridays go quickly (and seem to have gone for 15th). Similarly, there seem to be no cheap tickets left on the train up the Welsh border to Manchester for most useful dates. Find your "magic towns" for train tickets: stations where you can break long journeys to save money. They're often stations with more than one fast train operator, so these are usually old railway towns. For example, mine are Crewe and Derby from Somerset. Sometimes you don't even need to get off the train, but if you do change trains, you might be gambling on delays on the way to that town (if using timed tickets and so on), so allow enough time! Debconf's arrivals day (Saturday 16 June) is the European Day of Action Against Airport Expansion so arriving over land is a damn good idea, even without the CO2 reasons. (Debconf's last day is Pride Scotia - is all the silly scheduling deliberate?) Anyway, I think I'll have a bit of time in Manchester and Derby - anyone got tips on where to eat or what to see?

Peter Makholm: Back to Debian development

My first uploads to Debain since Etch was declared frozen for real. A minor new upstream version of slashem with ubuntu patches and new debconf translations and a relative larger upstream version of inotify-tools. My Debian todo-list: making lib-packages for inotify-tools, looking af raop-play, and then give the slashem packaging some love.

Nico Golde: newsbeuter 0.4

Ak just released newsbeuter-0.4.
Now I guess newsbeuter is the most feature-rich RSS reader available for text-mode. Not even raggle has more (AFAIK).

Here are the new features:
The support for extension script rocks, now you write shell scripts which generate output, newsbeuter uses as input for example!

I already uploaded the package to Debian unstable. While the buildds still compile, get it from incoming.

Martin F. Krafft: A lesson learnt

I am installing my first Ubuntu computer, a laptop for a friend who just wants to use the Internet. Even though I am not entirely sure whether to ridicule the installation process it took the installer 2:47 hours to produce the first user dialog on this PIII 600MHz with 256Mb of RAM, so I had to use the alternative text-mode installer or be impressed by the desktop that eventually filled the screen with more-or-less everything working out of the box, I think I did learn a lesson today, as trivial as it may sound. The screen of this laptop stays blank throughout the boot sequence even though Ubuntu put so much effort into a flashy splash screen. Thus, I logged on to #ubuntu and found someone who had time to help:
< madduck> i just installed feisty on a laptop and now when i start, after
           grub, it says "Starting up" and then has a black screen until gdm
           has started
< madduck> where is the fancy splash?
< someone> madduck: the splash screen uses a standard VESA mode which,
           apparently, your system doesn't support. Remove the "quiet
           splash" options from menu.lst to see boot messages in text mode.
< someone> madduck: you can try fixing the VESA mode with the vga= kernel
           boot option. Start with 'vga=ask' and enter 'scan' at the prompt
           at boot time.
But I still had no success when someone apparently typed into the wrong window and triggered the childish area of my brain:
< someone_else> ls
< someone_else> clear
< madduck> rm -rf ~
< someone> madduck: what was the purpose of that?
< madduck> someone: EWIN :)
< someone> madduck: I'm not prepared to support you if you go around telling
           people to delete their home directories, however funny you think
           that is.
I apologised (sincerely), and the person went on to help me, pointing me to more VESA modes and making me try them until I had a lead. No wonder Ubuntu gets the users. I am not saying that Debian is at the losing end in this scenario. Instead, I am preaching to the choir who sings back: "but Debian wouldn't be Debian without the flames." And I think to myself: "I wonder who actually engages their brains and continues to hold that view when they utter it." NP: The Young Gods - Kissing the Sun (Orange Mix) Update: without having to be told by anyone, I know there are people in Debian who try to be equally helpful and reasonable. In fact, Debian has gotten a lot better in the last years, in part (but not exclusively) thanks to Debian Women. This post does not try to discredit those who already make Debian a better place, or to piss anyone off. In fact, it's about a lesson I learnt, which may be obvious to many, but which hasn't been as obvious to me until today.

David Welton: Rails bitten by Ruby's nil.to_f

I guess I'm still new enough to Ruby that this does not make sense to me:
>> nil.to_f
=> 0.0
Magically, from nothing, you have something. I suppose it might be convenient in places, but today I ran into a minor bug in Rails that causes problems when trying to get the average of a column that doesn't have any entries. So what is the reasoning behind nil.to_f being 0.0 (and nil.to_i being 0, to_s being ""), anyway?

Steve Kemp: If you despise that throwaway feeling

After far far too long in the making I'm ready with a demo of my new site. The demo is mostly complete, and 90% of the code is hooked up. There are some bits missing, and some gaps in functionality. I'm working on this about 45-90 minutes a day at the moment, and that isn't likely to increase any time soon. Probably not everybodies cup of tea, but after running Livejournal Valentine matching sites for a few years I've had the ambition of running an online dating site. And this is a nice small niche with only weak compitition... Anyway I hope a few people sign up and play around whilst things are developed more.

Next.

Previous.