Search Results: "ag"

7 October 2007

David Nusinow: The Land Of The Gnomes Is At The End Of The Green Line

I've been at the gnome summit for most of the past two days. Not actually working on gnome makes this a little strange, but it's kinda fun anyway. I saw demos of both the online desktop and hotwire. I'm not sold on the online desktop yet, but hotwire looks promising and fun. I chatted with ajax about all the cool stuff I missed at XDS this year, and also managed to write some code that lets automatically loading drivers override each other (say, have intel override i810). I'll be putting that code in to the xserver as soon as I get some time, probably this week, so I guess I managed to be productive.

Biella Coleman: Open another coffee shop in PR with free wireless, please

Somewhat unbelievably (to me at least) there is still wireless in my mother’s backyard and it has only gotten better and stronger. But let’s face it, writing in garden lounge chairs among the frogs, birds, sun, rain and wind are sub-optimum for thinking and writing, so I am always looking for good and, most especially, gratis wireless. I was pretty psyched to find a new cafe, Camilles Cafe that had decent looking food and proudly advertises Free WiFi. So I went there this afternoon, ordered my cafe con leche, sat down, and ran dhlcient to get my IP address and it served me one in a jiffy. I opened my xchat, said hello to my fellow chatters, and then proceeded to login to my email and I never got further than that because they disabled access to any page that requires a password. I went up to the counter to ask why and the answer I got was “porque un hacker nos ataco.” It is totally retarded that the can’t reenable whatever they turned off after adding some basic security measures. They are losing tons and mean tons of business. One quick visit to the “other” cafe down the street with free wireless Me. Starbucks shows there is much business to be made if you provide free wireless. It is Sunday and there are 12 people here with computers and people of all stripes and backgrounds and they come because the wireless is cheap and fast. Be warned: logging on to the wireless here is totally non-obvious. When you try to log in, you are routed to a corporate Centennial web page that asks for an user-id/password or asks you to create one. So you of course think that it will cost money to do so. But in fact you just create a name, password etc. and then the site never asks you for mullah (nice). There is no sign, instructions, giving you these instructions. You gotta know or you gotta ask one of your neighbors. This odd system has been in place for years and I just wonder when the only free wireless in a coffee shop (at least that I know of) will be snatched away. Hopefully never and hopefully someone else will get the bright idea that if they open another coffee shop and also provide free wireless, they will make a killing. This place is always always, and I mean always, packed. p.s.: make sure to bring headphones/music too unless you are great at working with plently of background noise, which includes the usual starbucks music (about as good as its coffee, not), people chatting, people video-chatting sans headphones, and people watching shows like South Park. It is downright cacophonous..

Jeff Bailey: Life, laptops, and happy T-day!

Hmm. Quick update of life: Last weekend Leif pushed out a third tooth. This weekend, I fed him for the first time. So far it's been Angie actually putting things in his mouth, but on a visit to Cha Ya, I fed him some miso soup. Totally fun. Our current experiment with him is to get him to sleep at night without nursing to sleep. It used to be that I could get him to sleep just by lying next to him in a dark room, and lately I haven't been able to. So, he's now nursing just before and then switching to cuddling to sleep. It's not ideal but it at least moves us from something only Angie can do to something both of us or a babysitter can do.

That's right, we're starting to think about babysitters. We don't know people here well enough that we can leave him with, but when we do, baby, there's a bottle of port with our name on it. (Yes, it's the same bottle of port I got for my 30th birthday. I didn't want to pass a sip for each of the 100 people that were there at the time, and the next major event that came along was Angie getting pregnant)

A quick geek moment: current Ubuntu Gutsy now suspends and resumes on both of my laptops with reasonable consistency. For a long time, I could suspend my Toshiba once, and the second time, it would lose keyboard but that seems to be fixed. My work laptop has suspended and resumed generally fine all along, but Network Manager still occasionally forgets the settings. This is really annoying when there's a pile of 802.1x stuff to key in. I can't reliably reproduce it, but maybe during the next Gnome cycle, I'll try to figure out why it does that. Other than that it's working really well. The wine that's in Gutsy claims to support iTunes, but it doesn't. Even if it did, it probably wouldn't work with the iPhone, but I'm sure that'll get fixed sometime. Or perhaps the lawsuit will yield something useful and make hacking it safe. Given that it's pretty trivial to get the browser into a state where it's worth power cycling the phone, I'm not willing to forgo updates in the meantime. Assuming I could do one, that is.

Lastly a happy Thanksgiving to everyone! We were attempting to meet a pile of people this weekend, but amazingly enough 4 different people ran into trouble getting here. It'll be a cozy event then.

Christian Perrier: RWC: No surprise this time...

...but, really, Fiji would have deserved the victory. They did put the Stade Velodrome on fire this afternoon, pushing South-Africa to play....a quite bad rugby with few imagination and many errors. In the RSA team, only Steyn emerged and saved his team from sinking (37-20). RSA scored 5 tries mostly only because they have good four-wheel-driven "trucks". In the Fiji side, Sisa Koyamaibole and Mosese Rauluni lead their team to even the score 20-20 on 65th minute...unfortunately, losing in the last 10 minutes despite the support of the entire French crowd. The Springboks need to improve their play dramatically if they want to have a chance against Argentina (very probably unless Scotland realises a miracle). My conclusion today: the Three Nations from southern hemisphere (RSA, NZL, AUS) should really consider opening their annual tournament to other nations such as Samoa, Tonga, Fiji or Argentina. That would certainly force them to play another game than their usual game. Of course, that would mean being less attractive to players (just count the number of players from Samoa, Tonga and Fiji who play with New Zealand and Australia) but considerably widening rugby in the Pacific area.

Simon Huggins: My stomach and me

I'm sure I am only have legs and a brain so that I can keep my stomach happy. Food rules my life. I don't understand people that can miss breakfast; my stomach would be moaning at me if I did. It does have a good side though as it means I really enjoy food and I enjoy cooking it too. Since I have some more time on my hands these days, I've been experimenting a little more and trying some more things out so I thought I should post about them. Bread maker I asked for a bread maker for my birthday. I worked from home and ate bread all the time for lunch but it always went off quickly and supermarket bread isn't always amazing. The machine has been great. The even rapid bake loaves it churns out in just two hours are great. It has a timer so you can put a loaf on over night and come down to lovely fresh bread smells. The dry ingredients are easy to keep around and you just bung them all in the pan, hit a few buttons and later on a loaf appears as if by magic. I especially like the granary loaves especially if I add a little rye flour but all the standard recipes seem good. The French bread one seems to give the right texture and taste but it's odd eating it in a loaf shape so I might have to make that one as dough and then shape and bake it separately one day. I didn't like the olive and passata loaf; it came out an interesting orange colour flecked with the chopped olives but didn't really taste of tomatoes or olives. There's a tomato foccacia that uses sundried tomatoes that I might try out though. There's a croissant recipe which seems to be a quantity of French dough that you put butter in, wrap around butter, and then more butter. How can it possibly go wrong? I need a free morning to try it but I think I will soon. Basically if you don't have a bread machine you probably want one. Pasta I watched a series of cooking programmes on BBC (Kitchen Criminals) and they seemed to be making pasta from scratch every two minutes so I was intrigued to try it. I mentioned it to my Mum and she had a machine that she'd never used that I borrowed. Sadly it's not quite as easy as it looks after TV editing. Basically the first bit is really easy: whizzing flour, olive oil, an egg and some salt in a food processor, kneading it a bit and making it into a ball. Bung it in the fridge to rest and then the fun begins of trying to make it into a flat sheet. Lots more flour (in fact my kitchen was covered with it) and lots of patience and many attempts got me something that was vaguely what I wanted. Every time I got close it would stick together or it would rip or it would go in at an angle and I didn't have enough hands to fix all these problems at once. Even using smaller amounts of the dough is tricky. I was making ravioli the first time and it was nice but took lots of time and I didn't feel it was entirely worth the effort. I tried just simple tagliatelle last night but again it took a long time and you end up thinking that you could have just bought fresh pasta in a bag and be grabbing a handful of it instead of spending 40 minutes faffing just to get some strands. It might be worth it if you had some amazing idea for ravioli filling but I think I'll give Mum her machine back and not buy one. Cheescake I've always really loved Pizza Express's cheesecake but never really understood how they did it especially with the texture at the edges. I'd always thought cheesecakes were just an assembly job really; my standard one is lime and mascarpone and icing sugar and it is tasty but not the same. Chatting to various people it seems the Pizza Express one is baked so I tried a recipe from a book Mum had lying around that I was flicking through. It was a chocolate baked cheesecake and it sort of worked but was almost a little too chocolately and didn't have enough other interest. It probably wants some zest or some stem ginger or something through it. It's a terrible hardship but I think I might have to make another one to perfect it. Plans Like I said, I want to try croissants and I've always been looking for a good recipe for gingerbread; I really love ginger as a flavour. I never really cook with pastry much so I should perhaps try some pies or similar whilst I'm not working and have time to do these things. Any other suggestions welcome.

Christian Perrier: RWC: RSA-FID 13/3 aren't you scared?

RSA leads by 13-3 against Fiji. They played very slowly...and lost tons of balls during 1st half. IMHO, the Springboks should be scared. Another team was leading 13-3 yesterday evening...:-)

Joachim Breitner: Haskell Hackathon almost over

The Haskell Hackathon in Freiburg is nearly over now. For me, it turned out to be a xmonad hackathon, as of a few days ago, xmonad is able to handle dock applications such as the gnome-panel properly (that has prevented me from looking at xmonad before).Now that the panel worked, I also wanted it s window list and workspace switcher to at least show me the state of my workspaces. This resulted in the EwmhDesktops extension. I also noted that the dock handling provided in the default Config.hs was not sufficient, as it would even treat dialogs from gnome-panel as a dock. This is fixed with the extension ManageDocks, which later got additional support to increase xmonad s border gap if an window (such as gnome-panel) has the STRUT attribute set. To closer match my old metacity keys I added support to CycleWS for going to the next/previous workspace and for moving the current window there.I had some ideas how to make the hook interface for xmonad nice, and now started to work on debian packges for xmonad: You can get and test prelimary ones.

Russell Coker: Executable Stack and Shared Objects

When running SE Linux you will notice that most applications are not permitted to run with an executable stack. One example of this is libsmpeg0 which is used by the game Freeciv [1]. When you attempt to run the Freeciv client program on a Debian/Etch system with a default SE Linux configuration (as described in my post on how to install SE Linux on Debian in 5 minutes [2]) then you will find that it doesn’t work. When this happens the following will be logged to the kernel log and is available through dmesg and usually in /var/log/kern.log (Debian/Etch doesn’t have auditd included, the same problem on a Fedora, RHEL, or CentOS system in a typical configuration would be logged to /var/log/audit/audit.log):
audit(1191741164.671:974): avc: denied execstack for pid=30823 comm=”civclient” scontext=rjc:system_r:unconfined_t:s0 tcontext=rjc:system_r:unconfined_t:s0 tclass=process The relevant parts are in bold. The problem with this message in the message log is that you don’t know which shared object caused the problem. As civclient is normally run from the GUI you are given no other information. So the thing to do is to run it at the command-line (the avc message tells you that civclient is the name of the failing command) and you get the following result:
$ civclient
civclient: error while loading shared libraries: libsmpeg-0.4.so.0: cannot enable executable stack as shared object requires: Permission denied This makes it clear which shared object is at fault. The next thing to do is to test the object by using execstack to set it to not need an executable stack. The command execstack -q /usr/lib/libsmpeg-0.4.so.0.1.4 will give an “X” as the first character of the output to indicate that the shared object requests an executable stack. The command execstack -c /usr/lib/libsmpeg-0.4.so.0.1.4 will change the shared object to not request an executable stack. After making such a change to a shared object the next thing to do is to test the application and see if it works correctly. In every case that I’ve seen the shared object has not needed such access and the application has worked correctly. As an aside, there is a bug in execstack in that it will break sym-links. Make sure that the second parameter it is given is the shared object not the sym-link to it which was created by ldconfig. See Debian bug 445594 [3] and CentOS bug 2377 [4]. The correct thing to do is to fix the bug in the source (not just modify the resulting binary). On page 8 of Ulrich Drepper’s document about non-SE Linux security [5] there is a description of both the possible solutions to this problem. One is to add a line containing “.section .note.GNU-stack,"",@progbits” to the start of the assembler file in question (which is what I suggested in Debian bug report 445595 [6]). The other is to add the parameters “-Wa,--execstack” to the command-line for the GNU assembler - of course this doesn’t work if you use a different assembler. In the near future I will establish an apt repository for Debian/Etch i386 packages related to SE Linux. One of the packages will be a libsmpeg0 package compiled to not need an executable stack. But it would be good if bug fixes such as this one could be included in future updates to Etch.

Michal Čihař: Dictionary snapshots in more incarnations

On request I just added three new incarnations of dictionary snapshots. So if you're using display not capable of utf-8, you can use ascii variant, for those using non-Debian sdcv, notags variant has been created (but I anyway recommend you to apply patch to add Pango markup support). And finally there is combined super-crippled ascii-notags version :-).

6 October 2007

Christian Perrier: RWC: 2nd surprise en 1/4 finals

...and I like that one, as one may expect. With only 30% ball possession, France won against New Zealand. They transformed the very few occasions to score tries and finally, thanks to a magic inspiration by Fred Michalak, relayed by Yannick Jauzion, their last try made them win 20-18. The french defense was....close to heroic (179 tackles, whiles NZ tackled 36 times!), particularly at the end of the match, where the NZ bulldozer was trying to score one very last try. Not everything was perfect in this match (particularly a disaster in line-outs: I have never been fond of Rafael Ibanez, but it seems to be time for him to retire...), and only the courage made them win. I really wish I could have been in Cardiff to celebrate this. Champagne... So, rendez-vous to our English friends next week-end, in Stade de France. Given their match today, that will be though, again. Tomorrow, South-Africa-Fiji (yet another suprise?) and Argentina-Scotland. Eh, why not France-Argentina as final?

Clint Adams: Too many colons

The zsh-lovers man page contains the following example.
# Show me all the .c files for which there doesn't exist a .o file.
  $ c=(*.c) o=(*.o(N)) eval 'ls $ $ c:#($ ~$ (j: :)$ o:r ).c :?done '
What's with the ugly dollar-sign prompt? I'd do it this way instead.
print *.c(e_'[[ ! -e $REPLY:r.o ]]'_)

Steve Kemp: For you the sun will be shining

Thanks to the people who commented on my post about a decent apt cacher, it was good to see that I'm not alone. Thanks to RobertH for recommending the new tool acng - I've not used it yet, instead I gave it a quick look and reported a potentially serious bug. Hopefully that'll be fixed in the next release. In the meantime apt-cacher actually appears to be holding up quite nicely and the nice HTML report it generates is cute! Now onto the next challenge... I would like some kind of tool to convert a random hierarchy of images (jpg) into a small gallery. (Utterly non-dynamic - but ideally with tagging support and RSS feeds). There seem to be a plethora of options to the problem, suprisingly many of them involving Python .. If anybody has any pointers I'd appreciate a link. For reference my current galleries tend to look like this - warning fluffy animals! Using "apt-cache search static gallery" I find three programs: bins - Very heavyweight. Unattractive. photon - Pretty. Requires GIMP for creating thumbnails - unsuitable for my lightweight webhost. jigl - Looks great. Does 90% of what I want - specifically misses tags & rss.

Clint Adams: Strictly Ballroom

[map]

Christian Perrier: Relaunch an l10n NMU campaign?

At Debconf, we (the i18n crowd) discussed about the NMU campaign we ran before the release of Etch (roughly from September 2006 to March 2007). We concluded that running a campaign slightly earlier in the release process would be likely to save us some work. Indeed, experience shows that the initial pings sent to maintainers often trigger uploads to fix the pending l10n issues. So, let's start thinking about it now. For those who don't remember, the rough process is described here. As one sees, it is deeply respectful for maintainers and takes great care to avoid unwanted NMUs. So, to begin, please check the list of the pending po-debconf l10n issues ranked by...a pretty complicated mathematical formula which aims to put packages which would most benefit from an upload in first position... In case one of your packages is listed near the top of that list, just consider uploading it soon. PS: of course, the mathematical formula includes a secret pondering scheme aimed at giving French translations more weight, as anyone would have guessed.

Christian Perrier: RWC: For once, "go England"

Great play by the English team for first half of ENG-AUS. They would deserve leading the score...if only the Australians didn't have a magic inspiration and scored on try. Anyway, great rugby for rugby lovers in that first half-time. Go England and "Swing low, sweet chariot"....

Julien Blache: MacBook Pro status update: EFI Firmware v1.4

Apple released a firmware update for the MacBook Pro about two weeks ago, entitled “MacBook Pro EFI Firmware Update v1.4″. The update contains, among other things, a microcode update for the Core2 Duo CPUs. It also looks like this update fixes the longstanding issue of the non-working keyboard in the legacy bootloaders. As it used to work from time to time, I’m not entirely sure the issue is fixed yet, I may just have been lucky so far. I’ve been told that this update breaks the framebuffer, so if your kernel has framebuffer support for the console you may want to hold off…

Russell Coker: Reducing Automated Attacks

I read the logs from my servers. The amount of time I spend reading log summaries is determined by how important the server is. On the machines that are most important to me I carefully read log summaries and periodically scan the logs for anything that looks unusual. The amount of time taken is obviously determined by the amount of data in the logs, so it is a benefit to me (in terms of spending less time) to have smaller logs. It’s also a benefit for me (and the other people who depend on those servers) that I spend my time on things that might be important instead of mindless failed attacks. One thing that I do to reduce the size of my logs is to run sshd on a non-standard port. This requires using a Port directive in the file /etc/ssh/sshd_config and on the client machines I edit /etc/ssh/ssh_config to include a section such as the following to avoid the need to use the “-p” option for ssh (or the “-P” option for scp):
Host some_server
ForwardX11 no
Protocol 2
HostKeyAlgorithms ssh-rsa
Port 1234 Incidentally I disable X11 forwarding explicitly because it’s a dangerous option which usually isn’t needed, and I specify the ssh-rsa algorithm not because it’s any better than the other option of ssh-dsa but because the possibility of having a secondary option that is normally used adds the possibility that a MITM [1] attack can be performed by an attacker who forces the client to use the non-default protocol (thus giving an unknown host key message instead of a message about an invalid key). Note that these settings can go in /etc/ssh/ssh_config to apply to all users or in ~/.ssh/config to apply to only one user (IE if you aren’t root on the machine in question). The practice of avoiding attacks by using non-standard ports is not Security by Obscurity in that the security of my systems does not rely on attackers not knowing the port. Attackers can easily scan all ports and discover which one I use. The fact is that any attacker who does so is a more serious threat than all the attackers who scan port 22 and bother someone else when they discover that nothing is listening, such an attacker deserves to have some of my time used to read the log files related to their attempt.

David Welton: Hecl Tutorial

The guys at Free Software Magazine just published a Hecl tutorial that I wrote. They're a pretty good outfit - you won't get rich, but since the article is under a free license, I'll be able to integrate it with the Hecl documentation pretty quickly, which was more important to me than a few dollars here or there.

Tore S. Bekkedal: Oslo Byaksjon - P Parti Med Byen?

A party calling themselves Oslo Byaksjon this year entered the elections, with the tagline “P parti med byen” (roughly, “On the city’s side”, or “With the city”). Their platform wasn’t horrible, and I briefly entertained the notion of voting for them. In the end I didn’t, for some important reasons; but that’s not very relevant. A Norwegian tradition is for the political parties to set up stands leading up to the election, along Karl Johans Gate (Main street, the street between the Royal Palace and the Storting (the parliament building), and this year was no exception. However, almost a month after the September 10th city elections, Oslo Byaksjon still haven’t removed the fiber boards after taking the thing apart. They’re now an orange eyesore in the middle of Oslo’s main street. Ironic! (More pictures here) Update: ZOMG, I am on Planet Debian. Hello, friends :)

Joey Hess: an evolutionary change to the Debian source package format

Back around 1999, I was really interested in getting all of Debian imported into CVS (ugh!) so we could have all the benefits of pervasive version control. I've always been sad it didn't happen, especially since ubuntu did it. Although they seem to get less benefits from it than I would have thought at the time, go figure. I actually feel though that the model Debian has developed with alioth and now with VCS- fields, in which packages use version control, and debian integrates support for it without mandating it, or mandating which version control system is used, is has better legs than ubuntu's model. Ubuntu's model potentially leaves you where freebsd is now, nursing a cvs equivilant along as the world has moved on. Except, well, Debian actually picked a different version control system, and has been stuck with it for years. I refer to the diff, which is great for passing patches around by email, but not so great as a mechanism for recording the history of changes needed to debianise a package. So we have this whole set of things piled on top of the diff, like the loathsome dbs. We also have this whole set of problems in the source package format that cannot be expressed by diff and have to be messily worked around, like not being able to add/modify binary files, and not being able to (re)move files. (Wig and Pen addresses some of the worst limitations of the current format, but AFAIK noone is working on implementing support for generating Wig and Pen format packages, since doing so is unavoidably complicated.) Once I started looking at the diff in .diff.gz as a version control system, the natural thing was to think about adding support to other revision control systems, following down our path of debian supporting maintainers who choose to use a different one. So I arrived at the idea of a .git.tar.gz. Let a debian source package consist of just a .dsc and package_version.git.tar.gz, which contains only package/.git/*. Making changes to the source becomes very pleasant, since you can commit any change you like and not have to worry about how it will be repesented in the .diff.gz. And of course there's all kinds of benefits of having the history and branches and tagged upstream source available in there. Far too many benefits to list here, and only a few downsides. I look at this as very much of an evolutionary change, not a revolutionary change, to the debian source format. Most packages will continue to use .diff.gz for a long while, but packages whose maintainers chafe under that format will have another one to choose from. So, well, I implemented it. A dpkg-source that understands this format is available in the sourcev3 branch at git://kitenet.net/dpkg. I'll be posting some technical details and the patches to debian-dpkg, and I've put a FAQ about it in the wiki. A sample dpkg source package built using this is temporarily here. This demo package includes only the last 200 commits to the dpkg git repo, so it's more than 1 mb smaller than dpkg's normal .tar.gz!

Next.

Previous.