Search Results: "ag"

5 December 2005

James Morrison: Bachelorhood

I would like to annouce that I am a much better bachelor than Simon. For instance, my fridge is unplugged, the breaker on my stove is turned off, I have no phone, no couch, no table, and no tv. I throw my laundry into two piles. The clean pile and a dirty pile. The key to the two pile system is that the piles must be separated. Lastly, I am a much better cook, I only have one pot/wok thus I can make and eat a meal using only one pot and one utensil.

So, given Simon's announcement, imagine how poor a bachelor he would be without my help.

Matthew Garrett

(A brief investigation into Linuxant's Driverloader reveals

* Copyright (c) 2003-2004 Linuxant inc.
* Portions based on hostap driver
* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
<jkmaline@cc.hut.fi>
* Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
(snip)
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License
* at http://www.mozilla.org/MPL/


Given that HostAP is entirely under the GPL, that might (in fact) be a lie. Never mind the fact that this file is a derivative work of hostap, so has to be under the GPL, and the rest of driverloader is plainly a derivative work of this file and so ought to be under the GPL as well, especially since we're talking about people who believe that inserting a null into a string constant containing your license is a legitimate way of avoiding various kernel issues. They're not GPL-VIOLATING SCUMBAGS whatsoever, and you should of course feel free to GIVE THEM ALL YOUR MONEY.

Or, alternatively, you could note that Linuxant are cockmonkies who don't actually give a fuck about abiding by the GPL and avoid buying anything from them because they're plainly in breach of various people's copyright. Fucking parasitic cunts. I hope that their webserver dies in a great big chemical fire.

Matthew Garrett

* 1. General Public License. This program is free software, and may
* be redistributed or modified subject to the terms of the GNU General
* Public License (version 2) or the GNU Lesser General Public License,
* or (at your option) any later versions ("Open Source" code).

* 4. Notices. User hereby agrees not to remove, alter or destroy any
* copyright, trademark, credits, other proprietary notices or confidential
* legends placed upon, contained within or associated with the Software,
* and shall include all such unaltered copyright, trademark, credits,
* other proprietary notices or confidential legends on or in every copy of
* the Software.


Mmhmm.

6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.


NOTHING TO SEE HERE. NO GPL INCOMPATIBILITY. NO PROBLEM. ENTIRELY HAPPY. NOTHING WHATSOEVER TO BE CONCERNED ABOUT, CERTAINLY NO COPYRIGHT ISSUES WHATSOEVER

#ifdef __cplusplus
extern "C"

#endif


(Note: kernel module code)

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#define get_zeroed_page get_free_page
#define try_inc_mod_count(mod) ((mod && !(mod->flags & MOD_DELETED)) ? __MOD_INC_USE_COUNT(mod), 1 : 0)
#endif // LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)

#if defined(CONFIG_ALL_PPC) && !defined(CONFIG_PPC_PMAC) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0))
#define CONFIG_PPC_PMAC
#endif


ENTIRELY COMPETENT CODE WRITTEN ENTIRELY IN THE LINUX KERNEL CODING STYLE

Note to Fedora Core 2, 3 and 4 users:The default stack size in original FC2, FC3 and FC4 kernels is only 4K. Because some drivers require more stack space to operate properly, we recommend using a kernel with a larger stack size if you experience problems or crashes. You can either rebuild your own custom kernel, or get one of our replacement "stk16" kernels provided for your convenience through the distribution-specific Fedora Core 2i, 3 and 4 links above.

Or you could fix your drivers. Oh, except you can't, because they're actually chunks of the Windows one wrapped in code like the above.

This is truly an excellent piece of work.

Remember, kids, you're only paying $19.99 for code of this quality!

Linuxant are possibly worse than Orkut. And Fujitsu Siemens.

Matthew Garrett

No, seriously.


#if LINUX_VERSION_CODE >= 0x020400
#else
#ifndef KERNEL26
#include <linux/kcomp.h>
#endif
#define vm_pgoff vm_offset
#ifndef KERNEL26
#define virt_to_page MAP_NR
#endif
#endif


WHAT THE INDESCRIBABLE HOLY JESUS WERE YOU THINKING YOU UTTER SHITS?

Worse than paedophilia.

Matthew Garrett

Various samples of code:

#* In all cases CONFIG_SMP redetermined bye 'cpu0'-line in /proc/stat.

do if (smbusDebug & (1 << ( 1 ))) printk(KERN_DEBUG "smbus(%d):" "asus_PowerDown(%p,%p,%p)\n" , (int)(jiffies-jiffies0),CmdBuffer, ResultBuffer, fSmbiExec ); while (0) ;

typedef char CHAR;
typedef CHAR *PCHAR;

* All rights reserved
MODULE_LICENSE("GPL");


Thanks, Fujitsu Siemens. You COPYRIGHT INFRINGING INCOMPETENT FUCKMONKIES.

I mean, christ.

CHRIST.

UNBELIEVABLE HOLY CHRIST ON A FUCKING BIG STICK.

Kai Hendry: Mozzie

So Mozilla went from stupid popups to hidden headers in pages, which people ignore as they expect it to be a popup warning. Sigh. I hate having to restart Firefox after updating an extension. If it kept the state of all my open tabs like Opera does, then OK, maybe. This update system scares me a little. Surely it undermines the Debian package system?

John Goerzen: Aunt Viola's Choir

Terah and I are in the adult choir at church. The current choir director's aunt, Viola, is also in the choir. So she is Aunt Viola to quite a few people. Aunt Viola was the director of the choir herself for many years, back in the "old" church. That church was torn down to make room for a new building in 1965. Not long ago, I heard from someone that she was looking for a picture of the old choir. She thought it was in the church archives, but nobody could find it. But I happened to have a copy. Another person that was in the choir had given it to me to scan for a book project a few weeks before. So I uploaded it and ordered an 8x10 print for Aunt Viola. Terah and I sat behind Viola and her husband the next Sunday. As people were visiting before church started, I handed over the envelope and told her there was a little surprise in it. She opened the envelope, and knew right away what it was. And was she ever excited to have it! It made us very happy to have made her day. She was talking about it for the rest of the day -- actually, for a few weeks. So here it is, the choir of Tabor Mennonite Church in 1946. Aunt Viola is on the far right in the front row.

Enrico Zini: My curriculum

I finally finished restructuring my curriculum. It needed to have two properties:
  1. I only want to maintain information once, without copying around and information getting outdated.
  2. I need translations, and I want to translate using smart tools.
Here's how it works now:
  1. It all starts with informations scattered around the file system.

  2. Some Ruby scripts go around digging for them and generate some XML files.

  3. The XML files have tags with special markers so that intltool can extract the strings inside and generate .pot files with them.

  4. I translate .pot files with all the tools one normally uses with them.

  5. Intltool generates multiple XML versions with clean tags and translated strings.

  6. At this point, I have XSLT sheets that can generate:
    • My CV
    • The Talks page
    • A page with a summary of the free software projects I'm involved in
...and it's all driven by Makefiles. The day I feel like it, I'll add an XSLT to generate a CV in OpenDocument format. Javier Candeira called this "Rube Goldberg Hacking", but then noone could figure out simpler ways of doing it with the properties I wanted. Scripts available on request if someone is crazy enough to walk along a similar path.

Joerg Jaspert: New lists.debconf.org setup

So that I have something in my blog again, lets repeat what I wrote to debconf-list about the moved lists.debconf.org setup: As announced to the old debconf6-team list there is now a new layout of lists.debconf.org running. We are running mailman now with lurker as the web-archive thingie. That also got a few new lists in our setup, see below. Generally - all lists are subscriber-only, non-subscribers are moderated. debconf-announce: Important news about Debconf. This list is a MUST for everyone, organisator or participant. Postings are moderated, discussion happens at debconf-discuss@lists.debconf.org Moderator and only allowed posters are currently: Gunnar Wolf, Andreas Schuldei and me. debconf-discuss: General purpose discussion list for all participants and interested people. Moderator is currently Andreas Schuldei and me, any volunteers are welcome! debconf-team: The list for the organizer team to communicate about all kinds of dirty details and grand schemes. Moderator again Andreas and me, volunteers welcome. debconf-video: The list for taping and streaming the conference. Moderator is Holger Levsen and me, ask Holger if he accepts you as an additional one. debconf-website: The list for website development. Moderator is Neil McGovern and again me, ask Neil if he wants you. :) debconf6-speaker: For the speakers, wanna-speakers and bof-initializers, to sort out and exchange relevant infos and helpfull tips. Moderator is Andreas Schuldei, Alexander Schmehl and myself. debconf6-localteam: Specially designed for local matters on the Debian Day, this mailing list brings discussions for all the people involved locally on DebConf. In the webarchives, you also see the old Debconf5 Speakers list. Of course that one is closed, but the archives are there. Similar for the other lists, I imported the archives into all of them. If you want to volunteer to moderate a list: - Its not much work, usually lists are subscribers-only. You need to go and look regularly for posts that mailman put on hold, either because the list isnt in To or CC or because some other problems it might have. You will get a daily mail if there is something waiting on you and can then select “Approve, Discard, Reject” together with “Sender will be banned/accepted forever”. - If you want to volunteer ask the existing *other* moderator, not me.

4 December 2005

Antti-Juhani Kaijanaho: On damages

On Jani’s request, a few words on compensation for damages caused by a crime. This mini-essay is part of my Finnish criminal justice series. See the introductory essay for more information and an overview of the Finnish criminal court system. I am not a lawyer, and this is not legal advice.
Read more

Matthew Palmer: My Number One Travel Accessory

I'm currently in Sydney Airport, about to board a plane for Melbourne and OSDC 2005, and, as usual, I did the whole pointless security dance (even Amanda Vanstone agrees with me!). This time, however, was different -- I had all of my pocket-cruft in a new bumbag ("fanny pack" I think it is in American) instead of in my pockets. It was by far the fastest I've ever gone through a security checkpoint anywhere. I just whipped off the little baggie, slipped the lappie out of it's bag, stuffed all of the items on the conveyor, went through the metal detector unmolested, and grabbed my gear on the other side. I was off and running again in about 20 seconds. Now that I've posted this, of course, my trip through the security screening on the way home on Thursday will involve having my hemorrhoids aggrevated by a large man who has just been through a messy breakup and a triple shift...

Matthew Palmer: "Average" skills in a resume

Just reading another painfully funny The Daily WTF[1] entry. Instead of a code snippet, this was a resume snippet instead. Apart from listing skills in such heavyweight corporate tools as Emule, Kazza, Paint, WordPad, Acrobat Reader, and Winzip, the candidate also listed "Average" knowledge in a very, very wide variety of skills. The important question is, over what collection of the population is this average taken? Considering the usual demonstration of these "Average" skills, I think that the average is taken over the entire mammalian population, including all of those dolphins who (thankfully) have never even heard of "Micro Soft Visuals: Basics", and that dog at puppy training this morning that spent most of the time licking it's own genitals. Self assessments are always bollocks. Nobody's seriously going to rate themselves "half-assed" at every programming language they know. I've seen one interesting way to describe your language proficiency, though -- group languages into "used in the last 6 months", "1 year", "3 years", and "dim, dark distant past". It gives a reasonable idea of what languages you might be useful in, either through current knowledge, a past knowledge that can be polished, or perhaps knowing a language similar to the one that the company needs skills in that you can be cross-trained into.
1. A site dedicated to archiving, for posterity, the worst of the code that controls the world. Scary and hilarious all at once.

Miguel Gea: Experiences with oracle in Debian

I few months ago I decided to add support to Oracle database to dbconfig-common frontend. At that moment, I began learning how to install it and how to manage it.

My work:
1.- Download Software. My first surprise: Oracle -> 685M, Postgres -> 15,8M
2.- Read Manuals: A lot of them, with a high quality but... I can't find how to install in Debian. Google solves it: Desktop Survival Guide. Tricky but works!
3.- Manual database create/remove/test/dump...:
* create/dump: dbca is a graphical frontend than help to it; the --silent parameter let it works without graphical frontend.
* dump: exp works nice. The first test: to dump a complete void database (1 user, 1 table), takes 9 minutes and 12Mb!!!; Postgres -> 9 sec. and 200k for 100 tables/triggers.

I always hear than Oracle is the best database, but now I'm not to sure.

- The installation is too tricky.
- Create databases is slow (minutes)
- 9 minutes and 12mb to dump a complete void database? Slow!!!!!
- To work correctly you need to manually define 7 environment variables. No comments.
- It needs a big server. 500Mb Ram, 1Gb Swap, minimum.
- It's not possible to create a database remotely because it's necessary to create manually directories locally.

I was thinking about create debian packages for the new Oracle Database 10g Express Edition Beta Release , but It will be a lot of work. Maybe an alioth project?

About dbconfig-common... It will be probably finished this week, but it will need a lot of test/verify before release it.

Matt Brown: Linux Australasia?

I’m pleased to have prompted a bit of a discussion on the linux-aus mailing list about Linux AU and the relationship with NZ. James Purser kicked things off with a blog post on Friday and so far the discussion is going really well. I’ve outlined a few more of my thoughts below. I think the issue of national identity is probably the key to this whole discussion. It is important for the NZ community and LUGs to retain their own identity and not be subsumed into Australian identity. When Craig, John and I started the Linux NZ discussion, it came in part from a fair degree of envy from what we were seeing Linux AU acheiving. If you read our initial invitation it was quite clear that we were looking for support to “duplicate” Linux AU into NZ. We didn’t get there, and after taking a month or two to think about it, I believe that trying to duplicate Linux AU into NZ was the wrong approach to take. As beneficial as it would be in terms of creating a distinct identity there are far too many other things that it just doesn’t make any sense to duplicate at all. LCA, the podcasts and Advocacy preparation are the three key things that pop immediately to my mind and I’m sure there are others too. I think the biggest thing we learnt from our LinuxNZ endeavours is that we don’t (currently?) have huge numbers of people available to do things in NZ, and we are always going to suffer from problems of scale to some extent. In many ways the more duplication we can avoid the better. That allows us to free what people we do have to focus on the things that are NZ specific. This is the key reason that I’m pushing to see if there is support for Linux Australasia. It’s not that we want LinuxAU to adopt or subsume NZ LUGs, the idea is that LinuxAU would grow to include NZ and become a bigger, better and more inclusive organisation as a result. I guess the flipside for Australians is that the resulting organisation would be less nationalistic…. More on that in a minute. ISON probably fits in here too, I only just become aware them yesterday so I’m still reading their site. However my impression is that while it is definitely an organisation we should be linked with, its aims and goals are orthogonal to what I’m trying to achieve by proposing Linux Australasia. The impression I’m getting from talking to Pia, and lurking on this list is that LA is working very hard to empower the members to be the workers rather than the committee. With the committee providing the organisational oversight, legal structure, vision and authority needed to keep everything hanging together. I think it’s a great strategy, and would fit in perfectly with the bigger, broader Linux Australasia that I’m proposing. Give NZ members the opportunity to work on the press, publicity and advocacy sub-committees too and you’re pretty much there in terms of
achieving Linux Australasia! The sub-committees as a whole can work on their specific areas (avoiding unnecessary duplication) and then the
NZ/AU components of each sub-committee can do the necessary (hopefully minor) localisation work if and when required. Following from this, if there is a need for a more nationalistic component then it’s simply a matter of creating a sub-committee to do the work required to “promote national identity”… perhaps we need to have FOSS competitions across the ditch so we can beat each other in something other than sport… :) Plenty to think about and as many have pointed out the key place to resolve all this is probably going to be at LCA’06 in Dunedin. I think as James has pointed out though, it is going to be very beneficial for us all if we can do much of the talking beforehand and at least get an idea of where everyone is at, even if we are poles apart in terms of what we think.

3 December 2005

Uwe Hermann: Some of my photos on flickr

Quake Level
Oldtimer
Escher lookalike architecture
Yes, I finally got a (free) flickr account and uploaded some of my favorite photos from my photoblog to my flickr page. This has several reasons: Note: My photoblog will not die, I will continue posting new stuff there. I'll just use the flickr page for some selected shots. There's an RSS feed for the flickr page, if you want track my photos.

Matthias Urlichs: Web servers are annoying

So I'm setting up a new web server. It need to be secure (no user A spying in user B's files). It needs to run PHP. Yes, you may run away now. Oh yes, it also needs to be fast...

So how to do that? I'm not going to run Apache+mod_php on the thing. :-/

I've started with Apache2, FastCGI, PHP via FCGI, installed eaccelerator for 60% speed-up.

All of this works reasonably well, except for PHP scripts that want PATH_INFO (like http://.../blog.php/2005/12/03/some_random_gunk). mod_fcgi passes the whole thing's pseudo file system path in PATH_TRANSLATED. The PHP FCGI process checks that path, sees that it doesn't exist (blog.php is a file after all), and immediately returns an unhelpful error.

I've worked around that thing with an ugly hack, but I suspect that the real fix would be to add this same hack to PHP instead.

Opinions, anybody?

NB: Oh, and if somebody could tell me why my mysql server's kernel randomly ignores incoming TCP connections for a few seconds every minute (and yes, it's the kernel), I'd be grateful. I suspect that the solution is going to be "upgrade to something newer than 2.6.12-9-686-smp (Ubuntu Breezy's kernel)"... :-/

NB2: There's also a mod_fcgid for Apache2. Hint: It's crap -- if all FCGI processes happen to be busy, I want new requests to be delayed. I do not want them to be rejected with a terse, hard-coded error message.

Erich Schubert: Filtering BitTorrent

If you are responsible for a network with many "nomadic" users, e.g. students, you'll notice quite often they "forget" to shut down their bittorrent programs. Port filters only work up to a certain amount, so I wanted to try out the "string" match included in recent kernels (e.g. 2.6.14). You'll need iptables 1.3.4, which is not yet in Debian, but you can grab some temp packages from my debian directory. The filter rule I tested was
iptables -I OUTPUT -j DROP -m string --string "BitTorrent protocol" --algo bm --from 0 --to 100
(I don't know if algo bm or algo kmp is more performant, or which performance hit this is going to have on your router. The from parameter could be increased to skip the tcp header, too) Note that you might want to add high-volume "usually good" ports with accept rules in front, like port 80 (www), ssh (22) or mail (25, 465, 110, 995, 143, 993). Be careful with using "state ESTABLISHED", too: the string will be sent over an already established connection, not a new, so this is where you need to apply the filter!

James Morrison: A good day

On a good day, some clarity is provided.

Oh yeah, I had to drag a drunk stranger back to work, since apparently she was a coworker and could communicate that she was a coworker, and drunk.

Enrico Zini: Stopped hard drive from clicking all the time

My laptop hard drive started clicking all the time, driving me crazy. Thanks to Vorlon and the other people on #debian-women I've been able to finally get to this page and this commandline:
hdparm -B 254 /dev/hda
The noise has finally stopeed and I'm in harmony with my laptop once again. Note: the culprit for setting the original value of -B seems to be laptop-mode, specifically in /etc/laptop-mode/laptop-mode.conf, the default values of LM_AC_HD_POWERMGMT and NOLM_AC_HD_POWERMGMT.

Joey Hess: next debconf

Only 5 months until the next DebConf, in Oaxtepec MX this time. As I read tonight the very well done Final Report for DebConf5, and remember that excellent conference I am already looking forward to the next one. I've been thinking about driving down from Virginis to Oaxtepec instead of flying in. It's a long drive, but maybe I could stop at a few DD's houses and/or travel down with some. In fact, I hope we get a lot of American DDs who have not been able to make recent DebConfs now that it's so relatively near to home. So, time to think about any talks I'd like to give there. The absolute best talk at DebConf5, the one I would most like to emulate, was Enrico's polygen extravaganza. The key things were that a) Dr. Zini rules b) it was a simple talk introducing us to something fun c) large quantities of running code were written on the projector during the talk. I might try to emulate the parts that I can (without taking Enrico-emulation medication) to some degree in one talk, if I can just find the right subject. Since I hate writing papers for talks, I also got an idea for a way to use a talk time slot that will be impossible to write a paper for before time. Gotta hurry, since it turns out talk submission closes amazingly soon: On the 6th!

Next.

Previous.