Search Results: "ag"

5 June 2008

Jacobo Tarrío Barreiro: Galician, ranked 8th

Finally, Galician is 8th in the po-debconf translation ranking. Galician, ranked 8th. What makes it special is that I have finally overtaken Spanish, so Galician is the highest-ranking language from Spain in that list :) Also, I am now less than 200 strings away from Russian. That had not happened for a very long time… ;)

MJ Ray: World Environment Day

Today is World Environment Day 2008 and also Recycle Week in the UK. Locally, our poor recycling record has attracted attention. The main Somerset CC area averages 50% recycling and composting, while North Somerset only does 36%. This will cost us money, as explained under the subtly-titled local newspaper article 'REDUCE WASTE NOW OR FACE A 12M FINE' It's very annoying to read a Conservative councillor say
"The message we really have to get out to people is that this is their problem too."
We know it's a bloody problem. Have you tried to use your stupid recycling system? Criticism of the stupid collections is strangely absent from the local Lib-Dem's Mid table place shouldn't be good enough when it comes to recycling (Mike Bell) and I can't even find recycling mentioned on local Labour sites - I think those two groups may have been in coalition when the stupid system was introduced. It's left to local residents to explain the problem. Local waste collections have been simplified recently but it still seems bloody awkward, taking different types of waste to different places. The most recent edition of the council's North Somerset Life magazine explained that they don't collect plastic bottles from the doorstep because it would add 10 per year to our local tax. I'm damn sure it already costs me more than that to store them and ferry them into town over a year. The only people rewarded by saving that 10 seem to be those who live near the town centre collection point, drive to that Tesco anyway, or don't recycle plastics. Why reward them? Speaking of Tesco... those national and local favourites have applied to build Two more Tesco stores for Weston [The Weston Mercury] including one directly opposite another supermarket. The application number is 08/P/1230/F if you want to respond. The planning system seems my main chance to protect my local environment at the moment. Next Monday evening at 7.30pm, 08/P/1070/F - Erection of 5 storey building to provide 14 flats, restaurant and office with basement parking following demolition of restaurant will be considered by a Kewstoke village council planning meeting in the village hall. As I understand it, the public may make statements at the start of the meeting and 2 Kewstoke Road is currently the Castle.

Russell Coker: BIND Stats

In Debian the BIND server will by default append statistics to the file /var/cache/bind/named.stats when the command rndc stats (which seems to be undocumented) is run. The default for RHEL4 seems to be /var/named/chroot/var/named/data/named_stats.txt. The output will include the time-stamp of the log in the number of seconds since 1970-01-01 00:00:00 UTC (see my previous post explaining how to convert this to a regular date format [1]). By default this only logs a summary for all zones, which is not particularly useful if you have multiple zones. If you edit the BIND configuration and put zone-statistics 1; in the options section then it will log separate statistics for each zone. Unfortunately if you add this and apply the change via rndc reload I don’t know of any convenient way that you can determine when this change was made and therefore the period of time for which the per-zone statistics were kept. So after applying this to my servers I restarted the named processes so that it will be obvious from the process start time when the statistics started. The reason I became interested in this is when a member of a mailing list that I subscribe to was considering the DNSMadeEasy.com service. That company runs primary DNS servers for $US15 per annum which allows 1,000,000 queries per month, 3 zones, and 120 records (for either a primary or a secondary server). Based on three hours of statistics it seems like my zone coker.com.au is going to get about 360,000 queries a month (between both the primary and the secondary server). So the $15 a year package could accommodate 3 such zones for either primary or secondary (they each got about half the traffic). I’m not considering outsourcing my DNS, but it is interesting to consider how the various offers add up. Another possibility for people who are considering DNS outsourcing is Xname.org which provides free DNS (primary and secondary) but request contributions from business customers (or anyone else). Updated because I first published it without getting stats from my secondary server.

4 June 2008

Russell Coker: The Date Command and Seconds Since 1970-01-01

The man page for the date command says that the %s option will give “seconds since 1970-01-01 00:00:00 UTC“. I had expected that everything that date did would give output in my time zone unless I requested otherwise.. But it seems that in this case the result is in UTC, and the same seems to be also true for most programs that log dates with the number of seconds. In a quick google search for how to use a shell script to convert from the number of seconds since 1970-01-01 00:00:00 UTC to a more human readable format the only remotely useful result I found was the command date -d "1970-01-01 1212642879 sec", which in my timezone gives an error of ten hours (at the moment - it would give eleven hours in summer). The correct method is date -d "1970-01-01 1212642879 sec utc", you can verify this with the command date -d "1970-01-01 $(date +%s) sec utc" (which should give the same result as date).

Clint Adams: Buddy Holly was singing his very last song

[Lines]

John Goerzen: Camping

Terah, Jacob, and I went camping last weekend. Terah had asked me what I wanted for Father's Day. I thought for just a second, and said "camping!" She looked like she regretted asking. But it has been a year since our last camping trip, so off we went.

We went to Marion County Park and Lake, a nice park built by FDR's CCC program in the 1930s. It is on the National Register of Historic Places thanks to all the stone buildings, bridges, etc. that were built back then and still survive.

The reason we like it is because one side of the lake has the park office, rentable meeting houses, RV hookups, a swimming area, and really all the things you expect at a park like this (albeit on a small scale). The other side of the lake has gravel roads and fire rings. No power, no running water, but the occasional stone outhouse every half mile or so. Which means that the RV owners are not going to want to spend the night on that side of the lake. So, unlike far too many parks, it is possible to pitch a tent a good distance from the RVs. It's so annoying to go to camping and find it to be noisier than home because of all the TVs and generators running.

Jacob wasn't so sure about the first evening, but he was having a blast all day Saturday. His favorite thing was the campfire. He called it "fie" (rhymes with "buy"). He watched me gathering up brush and preparing the fire, carefully placing the small sticks first, then the big ones. So he picked up a small stick, and carefully laid it inside the fire ring, too. Then he'd watch me light the fire, or blow on some embers, and he'd blow on it, too. Fffffffffffffff! As hard as he could. At one point, I was kneeling next to the fire ring, inspecting the kindling. Terah noticed Jacob kneeling next to the fire ring on the other side, with the exact same posture and expression as I had. It was a perfect Father's Day, I think.

Once the fire got going, he'd walk up towards it, say "HA!" (hot), and then run away. Educational, this camping business. He now knows what "hot" is all about.

Jacob also loved the lake. We would walk the few feet down to the beach, and he'd (holding on to one of us) walk just far enough into it to get his feet covered by the water, then pick up sand and throw it into the water to watch it splash. Or, he'd point at a boat ("bope") in the water ("wah") going past, all excited -- Bope! Bope!!! BOPE!!!

One of my favorite things while camping is sitting outside and watch the sun set. Terah and I did that while munching on banana boats we cooked in the fire (a banana and chocolate concoction that you sort of melt in tinfoil). Or we could sit in the shade on the ground and just relax and enjoy the scenery.

Terah didn't say that she enjoyed camping, but she did agree that there were good times and we could come back. Woohoo, I guess.

We're not really camping pros, and we learned a few things. One is that it would be nice to not have three meals in a day that require a fire. I'm fine with eating fruit, canned stuff, and other no-cooking-needed stuff when camping, but Terah likes more traditional food. And that's fine, and we had some great stuff to eat, but building fires is hard and hot work.

Over the first few days after we got home, Jacob came up to me and said, looking rather sad, "Fie? Fie?" I said, "Jacob, we don't have a fire here. There is no fire here." He would look so sad, and just repeat to himself for a few minutes, "No fie. No fie. No fie." So I asked him if I should build a little fire. "Yeah!" So I got a match and lit a candle. Oh, was that exciting, and almost as soon as it showed up, he tried to blow on it. By today he has learned how to blow out a candle.

A great Father's Day for sure, but we hadn't really tried to sow the seeds of a fascination with fire on the trip.

Bastian Venthur: actual file size does not match size in .changes

Beh! Looks like it is currently not possible to use debsign from etch to sign packages built in a sid cowbuilder environment. Update: Adam just pointed out that this was already announced on debian-devel-announce. He proposed to get an updated version of devscripts from etch-backports. I wonder if we shouldn’t provide a fixed version of devscripts in etch officially, just in case someone who maintains packages actually *erm* uses it.

David Welton: Craigslist not in Yahoo Search index

Probably not that interesting to most people, but Yahoo Search doesn't seem to have craigslist in its index: http://search.yahoo.com/search;_ylt=A0geu5xC60ZI8BgB5Byl87UF?p=site%3Acraigslist.org+jobs&ei=UTF-8&iscqry=&fr=sfp Google does, of course. This matters to me because I use Yahoo Search's API to collect statistics for http://www.langpop.com, and one of my sources is craigslist. I let craigslist know about the problem, and hopefully it will be fixed soon, so I can collect the stats for June! Update Looks like it's being indexed again, but still isn't back to where it once was, so it'll probably be a few days until I update langpop again.

MJ Ray: Hosting Blogs on Multiple Servers

[Mast]
(Is this a network?) Terry Lane asked:

"Do you know of any reason why someone would suggest we consider placing blogs on more than one server? I think his main concern would be related to SEO and - I'm assuming here - Google."
There are some small reasons, mainly about various sorts of reliability: what if the server catches fire, what if someone filters out adverts from the server, what if the server gets labelled as a spammer or splogger, and so on... but I believe they're outweighed by ease of management and having all your site on one server. If the search engines label your IP address as a spammer, you can get another IP address as a short-term fix, but in general, the search engines are always a major threat to a blog-based business. If they label one server as a spammer, I think it would take the guys at google or whatever about 0.1 seconds to spot the link to another server. The best tactic is to avoid looking like a spam source in the first place... I guess if you're hosting several blogs on shared servers, like I do, splitting your blogs across several servers is a good idea for those reasons, which is part of why I do it... In any case, make sure you download backups in case your hosting goes like this:- The Planet (EV1) Data Center Catches Fire - 9000 Servers Offline If a blog becomes really popular, the usual tactics of mirroring and distributed load-balanced hosting can be used, but I don't think that was the question here. Even after all those, I can't think of any real killer reasons to split a blog across multiple servers if you're on your own dedicated server already. Have I missed a reason?

Robert Collins: 4 Jun 2008

So I've been playing with Mnemosyne recently, using it to help brush up on my woeful Latin vocabulary. I thought it would be a good idea to get some of that data out of my head an into Ubuntu (which has a Latin translation). Imagine my surpise when, after installing the latin language pack (through the gui), I could not log into Ubuntu in Latin?! It turns out that there is no Latin locale in Ubuntu, or indeed in glibc. This is kind of strange (there is an esperanto locale). Remember that locales combine language and location - they describe how to format money, numbers, telephone details and so on. So clearly, I needed to add a latin locale. I could add one for just me (e.g. la_AU), or I could add a generic one (helpfully using AU values) on the betting chance that at this point there are not enough folk wishing to log in in latin (after all you can't!) for us to need one per country. And even more so, doing la_AU doesn't make a lot of sense - there isn't a pt_AU locale even though there are portuguese speakers living in Australia. (The root issue here is that location and language are conflated. POSIX I hate thee). So, a quick crash course in locales, some copy and paste later, and there is a Latin locale. Installing that on my system got me a latin locale, but gdm still wouldn't let me select it. It turns out that gdm feels the urge to maintain its own list of what locales exist, and what to call them. I thought duplication in software was a bad idea, but perhaps I don't understand the problem space enough. Anyhow, time to fix it. And because this is something other people may be interested in, and the patches are not yet in Ubuntu because upstream glibc may choose a different locale code (e.g. la_AU), I've finally had reason to activate my ppa on launchpad, so there are now binary packages for hardy for anyone that wants to play with this!

Biella Coleman: Museum of Intellectual Property

Check out this new website the Museum of Intellectual Property, which provides some nice case studies and visuals for the study/critique of IP law. It also bears a slightly different IP notice, the Konomark, which is not a license, but as its web page explains, a signal.

Juan Luis Belmonte: update-nsswitch issues to fix. never things are as quick as we think they will


Yesterday, excited, I’ve packed up libnss-ldap with the tool and a “quick & dirty” postinst script. I’ve packaged it not as a final version, even I’m not brave enough to check it with Linitan :) , But It doesn’t really matter, now I’m not worrying about the correction of the package. This is just a quick solution to test how the tool update-nsswitch works in a real environment. well… dpkg -i libpam-libnss-260.deb YEAH, It doesn’t work!!! Why? some Troubles have been found on our update-nsswitch.pl
  • - Cannot recognize and manage, when you try to use a DB that it doesn’t exist in the local nsswitch.conf
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Here is a really common nsswitch.conf. If you use the tool calling it for updating the database (e.g sendmailvars) with the source (ldap) in the last position. The database doesn’t exist as seen above. Finish with non result without errors.
  • When using an “after” or “before” source to determine the position of our new source, the pattern “match too much”. What’s that? If we have two sources with the pattern as part of its name, we have a trouble.
This is just an example, files3 and filesauth, are not a valid or real sources
hosts: files dns files3 filesauth
If we try to update the hosts database positioning ldap before files
update-nsswitch –database=hosts –before=files –add ldap
The result is.
hosts: ldap files dns ldap files3 ldap filesauth
  • If we use an “after” or “before” source that it doesn’t exist at the line, it doesn’t do anything.
This condition will include that source in a default action that will be to be the last source on the line. After this propably the tool will be 99.9% working. Except if any of my fixes make something buggy, this afternoon will be finished and tested, into the package we were talking about before. Probably some issues have to be fixed with the other tool update-pam.d but now the work is to have a polite nsswitch updater and good postinst scripts.

Zak B. Elep: Making Net-Akismet play with TypePad AntiSpam

I've been getting a lot of blog spam lately; it appears that Akismet is slipping. Fortunately, there's a new Akismet-compatible alternative at TypePad AntiSpam which I read about from Justin Mason's post. And it being perl, I decided to try it out here on my blog (never mind it being Blosxom, as long as it uses Frank Hecker's feedback plugin that in turn uses Net::Akismet. But alas, the current version of Net::Akismet doesn't support user-supplied REST endpoints, so I added it, and promptly filed a report on the CPAN. Hopefully it gets included in the next release very soon. As for the Blosxom feedback plugin, tweaking it to use the new feature in Net::Akismet was a cinch, so only the real test (of incoming spam filtered by TypePad) remains. Hopefully it does work. [PS: Looks like the first line in blosxom posts don't like package-like names such as Net::Akismet (during editing my blog title disappeared on the render!) Needs to be looked at later...]

Biella Coleman: In Brazil

I am off to Brazil tonight, first to the city where some locals like to dress their dogs up on Sunday and take them to the park (Porto Alegre and I will be there until June 15th) and then I will be in S o Paulo (from June 15-20th). I would love to get together with the Debian/Free Software folks while there so drop me a line so that we can arrange something. In a day or two I will also post some more details about my trip.

Jaldhar Vyas: Skim and KDE 4.x

I seem to be getting asked about this more frequently lately so let me put this out where google can find it. If you've upgraded to KDE 4.x and suddenly found skim is not working do this:

# aptitude install scim-bridge-agent scim-bridge-client-qt4
...and make sure you have the following environment variables set in your .bashrc :

XMODIFIERS=@im=SCIM
QT_IM_MODULE=scim-bridge
For GTK+ apps:

# aptitude install scim-bridge-client-gtk
...and in .bashrc:

GTK_IM_MODULE=scim-bridge
Source .bashrc, restart skim and everything should work again.

Jaldhar Vyas: You're Welcome

Gyros Geier

3 June 2008

Kartik Mistry: fortunes-debian-hints: call for translations


* You may have seen my mail to Debian-i18n list. fortunes-debian-hints package is open for translation. It has just 42 strings to translate. I want my mailbox flooded with ‘translations’, folks! Many thanks to Nicolas Fran ois for adding fortunes cookie support in po4a. We are now able to use .po based translation instead of plain text translation for hints files. This will make life easy for both me and dear translators. New release will come up in 15 days. So far, I have got news that de and pt team will make it!!

Kartik Mistry: xosview bug hunting


* One fine day (two days back), Michael Karcher reported two bugs with patches for xosview. I just asked him to take a look at other existing bugs if he has time, and you know, he looked over all bugs and sent 3 more patches. Thanks Michael for your contribution! I am now reading/learning more about famous tool Valgrind. You can always look at xosview bugs here.

Jeff Bailey: We're home

Yay, we're home. It was nice to be back in Vancouver saying hi to folks, but it's tiring being in different places and seeing everyone in a crammed packed visit. It was the longest I've been back there since our wedding ~6 years ago. There were only a few people on my list that I didn't wind up seeing, which is actually pretty good for a trip.

I had originally said that I was going to keep my pain killers where they were for a few weeks, but I realised that I'd managed a couple of times to forget to take some and lasted 5-6 hours, so I dropped one anyone. It means that the flight home was a little creakier than I'd like, but my "hard" gnome-sudoku time has also dropped from ~45 minutes to ~15 minutes. =)

We got our visa renewed successfully, so no there isn't any stress of whether we're suddenly going to have to move, find new jobs, etc. So here's to the start of a boring (life-wise) 12 months starting now!

I'm back in the office tomorrow. We'll see if my stamina really will hold out for the whole day =)

Christian Perrier: See you too in Mar del Plata

I'm going to Debconf8 My flights: ORY->MAD 2008-08-07 21:10 -> 2008-08-07 23:05 Air Europa
MAD->EZE 2008-08-08 00:55 -> 2008-08-08 09:20 Air Europa EZE->MAD 2008-08-17 12:00 -> 2008-08-18 05:10 Air Europa
MAD->ORY 2008-08-18 07:50 -> 2008-08-18 09:50 Air Europa (ORY is Paris' second airport, which has most of the flights to Spain) So, I apparently share the schedule and route with Noodles but not the airline (he's probably using Iberia). I'll probably try to gather with him to take the bus to Mar del Plata, though. In case someone flies the same day on Air Europa (should be people coming from France, UK, Hungary, Czech Rep., Poland, Italy or Israel...these are connections of Air Europa inside Europe to bring ppl in Madrid, which is their hub), get in touch with me. And, in any case, see you in Mar del Plata.

Next.

Previous.