Search Results: "mak"

28 October 2005

Wouter Verhelst: Train hacking

Yesterday evening, as I took the train home from work (during peak hours, for a change), someone (by the books he was carrying and the clothing he was wearing, obviously a student) came to sit next to me. I was hacking on NBD at that time, trying to add config file support (the first item in the roadmap for 2.9; more on that probably "soon"). As he moves to sit down, I notice the cover of one of his books. Which is that of the best computer-related book ever. No, really. I have the third edition of that book, really need to buy the fourth some day. Anyway. As I see that cover, I ask that guy whether it's the fourth, and make a remark about how truly good the book is. To which he answers with "yeah, and that's a truly good laptop, too". Turns out he actually meant the operating system, rather than the hardware (which I thought at first). Well, I didn't see that one coming :-)

27 October 2005

Andres Salomon: sigh.

On Wed, my apartment was broken into. Amongst the things stolen were a laptop and my only monitor. Do not expect timely replies on emails, and feel free to NMU packages. I probably won’t make UBZ because of this, as it doesn’t really make much sense to go without a laptop…

Joey Hess: Why I'm not on irc

I'm not on any irc channels right now because I sensed I needed a certian distance from some things, and email tends to provide that as well as additional clarity. (And ameanability to thread pattern matching of course. ;-) It's interesting how quite a lot of things have been excerpted from irc channels in emails from various people since I left irc the other day. Almost makes me wonder what would happen if I pulled a Knuth. I can envision these boxes of email printouts arriving at my door.. nah. I actually remain on irc for the important thing, instantaneous communication -- if you really must /msg me, I will get the message. The most likely /msg to work right now is "plz check your email".

Uwe Hermann: Revver - Got video? Get paid!

Hm, more food for my video iPod which hasn't arrived yet. Revver ("a Flickr for video") is a new video publishing community site which allows you to upload, share, watch, and tag videos for free. You need a special upload tool for uploading videos (there's a Windows version, a MacOS X version, and a Java version which probably works on Linux). They intend to give the creators of the videos some money by attaching a clickable advertisement frame (the so-called RevTag™) at the end of each video. Everytime a viewer clicks the ad, the video creator gets some money. While this might be a great idea, it still leaves me with a strange feeling (the ad is not on a webpage, it's appended to the video itself!)... Some noteworthy details: More information is in their first blog post, and in the FAQ. A final quote from the blog post:
It s a new game, we re thrilled to be in it, and we tip our hats bigtime to the Ourmedia crew, the YouTube crew, the Participatory Culture crew, the Creative Commons crew, and all the other crews that came before us.
All in all this looks quite promising, and I'm curious how it will develp and grow... (via Boing Boing)

Martin F. Krafft: Hatschi

Mako, going on a tangent for a second: I've always thought it was curious that US people sneeze "Achoo", whereas over here in Europe, we sneeze "Hatschi" ("Achee"). Must be some genetics at work.

MJ Ray: Dear West Norfolk Council,

There are three ways in which your new web site is worse than the previous site :- 1. it is hard to read. It doesn't set a background colour (which is good because my browser preferences are my preferred colours), but it sets black text, which is hard to read on my preferred background. This means the site is not following the Web Content Accessibility Guidelines. 2. All of my links and bookmarks for pages on the council web site have been broken. This is very irritating. I will delete most of the links rather than try to find the pages' new homes. Why have you not followed the advice of Tim Berners-Lee (1996, URI Axioms) and other web experts (for example, Jakob Nielsen's Alertbox for June 14, 1998: Fighting Linkrot) and set up redirects? 3. When browsing the site, I sometimes get an ASP.Net error page with a stack trace telling me that I haven't got permission to use the site. If I wait a minute and reload the page, it usually appears. What is the problem and why aren't you using customised error pages? It looks like the site could be quite an improvement, but it currently doesn't get the basics right for us old visitors. Also, why is this comment textbox so small? It's barely 10 letters wide for me. I await your reply with interest. MJR Postscript for blog only: I didn't even start on the more general problems with the navigation, attempts to make page links look like adverts, abuse of query strings, or all other others. I think the site is still an improvement, especially if you use View->Page Style->No Style.

Joey Hess: thread patterns

Here's how to subscribe to mailing lists with a combined total posts of 2000 or more per day, and live. It's all about pattern recognition. Threaded mail readers such as mutt sort emails into a tree based on which emails are replies to other emails. The mail index displays this tree of messages with the author of each indicated. Since the Subject field rarely changes, mutt does not display it unless the thread's subject changes. Combining these elements of author names, thread trees, and occasional subject changes produces patterns that the brain can use to quickly identify important and useless sets of mail messages, without actually reading anything, and without resorting to complicated and fragile killfile and scoring systems. Some patterns are very simple. For example, this is the "take it to private email" pattern. This pattern can be thread-killed on sight; if you're feeling generous, read the last two messages in the thread.
bob    +-> Foo
fred     +->
bob        +->
fred         +->
bob            +->
fred             +->
bob                +->
fred                 +->
bob                    +->
fred                     +->
This is the "think before you post" pattern.
bob    +-> Foo
bob      +->
This is the "blindingly obvious answer" pattern. If you're bored you can read any one message to get the gist. Sometimes many of the replies will be worth reading to get a broad overview of all possible responses to a given obvious question. Most times not.
bob    +-> Foo?
fred     +->
alice    +->
george   +->
nancy    +->
steven   +->
nick     +->
Here's a deceptively simple pattern, the "uninteresting message". It might be worth checking the post date to make sure that it's not just the beginning of one of the above patterns of course. And if you're feeling generous, you can read some small fraction of them.
bob    +-> Foo?
This might be a worthwhile thread. Notably because it's short, has a reasonable mix of participants, and seems to come to some kind of conclusion.
bob    +-> Foo
fred     +->
alice      +->
bob          +->
george         +->
bob              +->
nancy    +->
fred       +->
And here's a transformation of that same thread featuring "too late for the party syndrome"
bob    +-> Foo
fred     +->
alice      +->
bill       +->
bob          +->
george         +->
bill             +->
bill         +->
nancy    +->
fred       +->
bill         +->
bill       +->
bill     +->
This is a perfect time to er, threadkill bill. Or if feeling generous, read the second or third of his many replies to see what's got him so worked up. To see more sophisticated patterns, you need to categorise participants of the mailing list. A few people almost always manage to turn even a useless thread into something interesting, or have viewpoints that are good foils for your own. Learn to recognise the names of these interesting posters without thinking about it (I'll name them in uppercase below). Similarly, some people never contribute anything useful, and can be filed under the label of k00k. If there are more k00ks than interesting posters it's probably time to leave the list. Most people won't fit in either category. Some people change category depending on the subject. Here's the same potentially worthwhile thread as before, but now the people matter.
bob    +-> Foo
fred     +->
k00k       +->
bob          +->
george         +->
bob              +->
NANCY    +->
fred       +->
Suddenly, three messages of the thread become worth reading, and the larger k00k-tainted subthread's likelyhood of being valuable drops substantially. Similarly, this thread can be ignored.
k00k   +-> Foo
bob      +->
fred       +->
k00k         +->
alice  +->
k00k     +->
And this thread has a high potential for being interesting.
bob    +-> Foo
fred     +->
bob        +->
NORRIS       +->
george         +->
bob              +->
NANCY    +->
fred       +->
This thread, a variation of "take it to private email", increases bob's chances of being a k00k. Or he's really right and everyone else is wrong.
alice  +-> Foo
fred     +->
bob        +->
nancy        +->
bob            +->
alice            +->
bob                +->
fred                 +->
bob                    +->
fred                     +->
bob                        +->
This thread is a hard case to call, it depends on how good the interesting poster is in deflecting k00kitude. There could be as many as three worthwhile messages in here; I'll flag them.
  k00k   +-> Foo
  bob      +->
* NANCY      +->
  k00k         +->
* bob          +->
* NANCY          +->
It might be worth reading the interesting poster here, but probably only for a laugh, and it's just as likely that they've been cruelly trolled into answering, especially if an instance of the "blindingly obvious answer" pattern is grafted onto one of the subthreads.
k00k   +-> Foo
NORRIS   +->
k00k       +->
NORRIS       +->
So far the Subject has been ignored, and generally it's more important to look at the thread structure than the subject, but there are useful exceptions. It might be worth checking out the differently named subthread here, on the other hand its close proximity to the k00k likely means its a useless tangent.
bob    +-> Foo
fred     +->
k00k       +->
bob          +->
george         +-> Bar (was: Foo)
bob              +->
fred               +->
fred           +->
tony     +->
fred       +->
Here is not just one thread, but a collection of threads. This pattern, typically associated with a much larger thread than shown here, is a sure sign that a thread has gone pear-shaped and unless the followup thread has a lot of interesting posters in it, there's not much hope for the lot. (k00ks also spawn disconnected threadlets; such threadlets should be ignored.)
 k00k   +-> Foo
 bob      +->
 NANCY      +->
 k00k         +->
 bob          +->
 NANCY          +->
 bob    +-> About foo..
 tony     +->
 k00k       +->
 alice  +-> That foo thing
That's enough patterns to get started with, but they really come into their own when picked out of larger threads in an overloy long ongoing discussion. A few examples can be found in this segment of 23 lines of a much longer thread.
bob                                                       
k00k                                                      
tony                                                      
k00k                                                      
tony                                                      
k00k                                                    +-
bob                                                  
k00k                                                +-> Bar
john                                    +-> Bar
nick                                  +-> Bar
barney                                  +->
nick                                      +->
nancy                                       +->
NORRIS                                        +->
nancy                                           +->
SAM                                           +->
nick                                            +->
NORRIS                                            +->
oliver                                          +->
john                                    +->
frank                                     +->
john                                        +->
tom                                           +-> Mumble
bob                                             +->
Part of this thread is useless by two criteria; it has far too much k00k in it, and it's nested so deep that mutt doesn't bother to try to draw the thread indicators. The next bit though shows some signs of being interesting despite its fairly deep nesting. And the tangent might be worth keeping an eye on. Those are the thread patterns that I know I know. I suspect there are many others that I also know, since I can typically read mail with the d key as fast as mutt will scroll, stop at the interesting spots, and not miss much. If you know of other patterns, send them my way. Finally, even if you prefer to read every post, please do us all a favour, imagine your reply is already in the thread structure, and look for patterns like "take it to private email", "blindingly obvious answer", "too late for the party syndrome", and k00k influenced posts.

26 October 2005

Gunnar Wolf: Please describe yourself

Ok, so my brain is right now thinking on how to make Comas (my Conference Management System, which is quite nice, but somewhat unflexible. Sorry for the butt-ugly and incomplete webpage...) more flexible - And I have come accross some quite nice things. First of all, I want the fields for each person (the person table) to be easily modifiable, allowing me to add/remove attributes at will between different instances of Comas. Ok, this is the muscle behind my new idea. Yes, PostgreSQL-specific, as basically everything in Comas:
CREATE OR REPLACE VIEW table_attributes AS
SELECT c.relname AS tablename, a.attname AS attrname, t.typname AS type,
a.attnotnull AS required, d.description AS description FROM pg_class c
JOIN pg_attribute a ON a.attrelid=c.oid JOIN pg_type t ON a.atttypid=t.oid
LEFT OUTER JOIN pg_description d ON d.objoid=c.oid AND d.objsubid=a.attnum
WHERE a.attnum>0 AND a.attisdropped = 'f' AND c.relkind='r' AND c.relname
NOT LIKE 'pg_%' AND c.relname NOT LIKE 'sql_%'
ORDER BY tablename, a.attnum;

Nice, but still not enough - As with any other RDBMS, fields can not only hold data, but -of course- they can be foreign keys, referring to data in other tables. Ok, in order to check those relations and be able to build a map of the relations in my DB, I came up with this:
CREATE OR REPLACE VIEW related_tables AS
SELECT c1.relname AS referrer, c2.relname AS refered, a.attname AS ref_key
FROM pg_constraint con JOIN pg_class c1 ON con.conrelid=c1.oid JOIN pg_class c2
ON con.confrelid=c2.oid JOIN pg_attribute a ON c1.oid=a.attrelid AND
a.attnum=ANY(con.conkey) WHERE contype='f' ORDER BY c1.relname, c2.relname;

In the first query, note that I am excluding from what I report all the tables starting with pg_ or sql_ - While that's a usual convention in Postgres, there surely is a better way to do it, some attribute signalling it's a system catalog... But, at least for now, this covers my needs.
Anyway, this might come useful for your projects. PostgreSQL introspection is fun! (Yes, those two queries are the result of many lonely hours going through the documentation and a couple of spontaneous questions to several friends - But it's worth it!)

Benjamin Mako Hill: Achoo

If one is in a public or shared restroom at a urinal or in a stall and the person at the adjacent urinal or in the adjacent stall sneezes, is it appropriate to say "bless you" or "gesundheit" or another culturally appropriate post-sneeze statement? Is it appropriate to say nothing at all? It's cold season at the lab and the fact that I do not know the answers to these questions is becoming a source of stress.

MJ Ray: Emacs collaborative editing

I wrote
"If you want collaborative editing, then try Emacs's File -> New Frame on Display"
in three tips. Philip Kern replied:
"Seriously, this feature is quite dependent on X, right? ... you'll probably run into trouble despite Emacs being ported to all of those platforms like OS X and Windows."
Last I tried, OS X had X with it, while it's a quick download for Windows. It was simple enough and is probably useful for other things, unlike installing a special editor that uses horrible horrible GTK+2. I'm pretty sure it would be possible to make emacs highlight differently depending on the frame doing the input, but isn't collaborative editing meant to help break the "this is mine" ego? (Not that I can find any references about why collaborative editing works now I want them... anyone got some? Replace 2005-2.html# with tb.cgi/ and send trackbacks, or just email me via the top of the page.)

Matthew Palmer: A Licence to Use Your Genes?

Science magazine (by way of Boing Boing) reports that "20 percent of human genes have been patented in the United States". As the Boing Boing article's title says, "20% of your genes are belong to them". So, it seems to me, that there are two reasonable courses of action:
  1. Attempt to get the USPTO to accept a claim of prior art, since you've been doing this gene thing for quite a bit longer than whoever filed the patent. This is probably doomed to failure, since the USPTO appears to be collectively sticking it's fingers in it's ears and singing "Mary had a little (cloned) lamb" any time anyone mentions such inconveniences as "prior art", "obviousness", or any of those other pesky impediments to granting a patent.
  2. Apply for a licence from the rightful (hah!) holder of the patent, to duplicate, use, and distribute (well, for some of us) the patented "technology". To be helpful, when you send your letter requesting a patent licence, you should also include a list of the names, addresses, and home telephone numbers of people in your local area who you honestly believe to also be infringing on the patent.
I wonder what the effect of a patent holder not responding to your request for a patent licence would be? In a fair world, I would expect the patent holder's ability to later enforce the patent (at least against you) would be diminished -- but in a fair world, this particular blog post wouldn't be written. So, what happens if the patent holder denies you a licence to use their patent? Well, I would imagine you must cease and desist from any use, reproduction, or distribution of the patented technology. I can see the headlines now: "$PHARMECEUTICAL_COMPANY demanded that I kill myself". Maybe a few people who would prefer the eternal sleep could do it, just to make the point. But even without that, the effect of a few thousand licence requests (received with local phone books attached) should be appropriately entertaining to watch. This whole "patenting the human genome" thing almost makes me want the whole "Intelligent Design" thing to come out in favour of the Christian Fundies. If courts were to rule that there is a reasonable belief that God (or some other convenient Deity) did in fact design us noisy bipeds, then that would, surely, count as a fairly obvious prior art claim. For that matter, what if these drug companies are infringing on a celestial patent on the human genome? An omnipotent being capable of changing the heavens and the earth isn't someone whose patents I'd want to infringe.

Axel Beckert: Supporting Free Software via vendors

Steve wrote in his blog:
I’ve seen this argument before “Buy distribution of GNU/Linux and support free software programmers”. The only problem I have with it is that it is incorrect. Buying GNU/Linux distributions helps the vendors who created it, certainly, and may indirectly help pay for some free software in the sense that the vendors might ship free software they wrote (e.g. SuSEs Yast 2]). However plonking down real cash-money for a boxed set of SuSE gives no money to the people who created MySQL, no money to the people who created Firefox, no money to the people who created Emacs, Vim, Bash, and Catan/Pioneers, etc.
I think, in general you’re right. And if you — as you did :-) — take SuSE, it usually works. And you’re probably also right for most people who just know the big, commercial distributions. But what if you take a free distribution like Debian or some of the BSDs, e.g. OpenBSD? How much truth is in there then? Especially in the case of OpenBSD your view doesn’t seem work, because if you buy an (official) OpenBSD box, you pay the developers — or at least a few of them — of the operating system core and some mission-critical applications. But what if you take community based distributions like Debian? You distinguished between distributor and authors of free software. In my eyes especially Debian, but also some other community based distributions are both at same time. So IMHO you can put them on the author side of your view. And since many Debian vendors (at least those I saw) donate a part of the profit they make from selling Debian CDs or DVD to the Debian Project. Or they offer additional shopping cart items “Donation to Debian” if you order a Debian item. (Example: LinISO.de) Another question in this context would be, how the FOSS world would look like if there are or were no commercial distributors. It probably would be much smaller because some marketing and some lobbying would be missing. Although that’s the only implication which comes to my mind, I’m sure, there are many more possible views on this subject. But as I said, IMHO you’re right for most cases.

25 October 2005

Joey Hess: stove, eye & pc

The new stovepipe seems to work great, although something wants to burn off of it at "roaring blaze" setting. I'm disappointed that Anna's decided to avoid a wood stove. Yes, they're dangerous and dirty and a lot of work, but the warmth and general niceness of a fire and wood make up for it. Reflexes are amazing things. I can't remember seeing the branch coming up past my glasses to my eye, but apparently it got closed in time, since I didn't put it out when carrying brush from the line cut yesterday. It's been a bit weepy since, and after waking up with it nearly shut, I empathise with all those poor kittens with gummed up eyes. Oh yeah, I bought a used amd64 shuttle XPC on ebay. The idea is that it will hopefully be fast enough to run vmware on for some serious d-i development work, while also doing things like playing music and being a file server. And quiet enough to be in the same room with.

Joachim Breitner: International Journalsim and me

Sounds good, doesn’t it? And feels good, too: My article on the Cross-Site-Authentication Attack in the German Linux-Magazin (as previously blogged about) was chosen for translation and appeared in the world wide Linux Magazine, reaching audiences in over 100 countries (Linux Magzine number). I’m looking forward to even more comments on the subjects, and maybe even action by the web browser makers. Although I just notice that according to their website, the issue with my article (November 2005) is already out since 7th of octobre, and they just took some time to send me my copy, so I might not get much more comments...Also, someone created an XSA article in the German wikipedia. That’s cool, too!

Anthony Towns: Debugging Debootstrap

Contrary to expectations, last week’s AJ Market project turned out to be debootstrap, not dak. Just goes to show a single person can make a difference in today’s world: debootstrap popped into the lead from nearly the bottom thanks to a single contribution. (I wonder if it makes more sense to make contributions anonymous or not?) For those playing along at home, debootstrap is a tool to build a Debian system from (almost) nothing – it just requires some basic POSIX shell functionality, things like sed, grep, sort, ar, tar, gzip, and wget. So it’s useful when you’re initially installing Debian (or derived distros like Ubuntu), or if you’re creating a chroot environment for dedicated build environments. Anyway, the debootstrap changes were pretty much bugfixes only, so there’s no fancy new features (okay, there’s one: a --make-tarball option) but a few of the fixes are worth a quick look. Read the rest ...

Martin Michlmayr: Krak w, sightseeing

I spent a few days in Krak w, Poland for the CALIBRE workshop on Quality, Security and Safety and for KKIO 2005 and I used this opportunity to do some sightseeing. After the workshop on Tuesday, Matthijs den Besten and I wandered around the city for a a few hours, then went back to the hotel for a swim, just in time to go for dinner with the CALIBRE people. We went to a restaurant which served traditional food from the 17th century. It was a really amazing place with animal fur and carpets on the wall, big wooden tables and menus which had nice drawings on them. We had a selection of different food which we shared and it was really great. The following day, as part of KKIO, dinner was served in the Wieliczka salt mine after we went on a tour of it. It's pretty amazing what kind of art you can make out of salt. On Thursday, I did some more sightseeing, basically walking around the city center and looking at some of the nice attractions. Which turns out to be churches, given that this is Poland. I particularly liked the basilica of the holy trinity but many other sights, such as Wawel castle, were pretty impressive too.

24 October 2005

Alexander Schmehl: Yes, distance sucks (sometimes).

Dear David, believe me: Having a girlfriend, who is only 300 kilometers away doesn't feel much better either. Okay, it's far better, than 3'000 (I don't even want to think about that), but not being able to see her for several weeks, although she is that near, isn't funny either. But I believe, that this distance makes me feel and enjoy every minute - no, even more - every second I am with her more intensely, than I would if she would always be around me. Good Luck,
Tolimar

Joey Hess: power

My power comes down the hill on a half-mile long spur line that ends here. Saturday night I heard a loud crack and the lights went out. The next morning I saw one less line crossing over the valley to the pole out back -- the downed line had snapped right off the pole for no apprent reason, and fallen into the garden. I was impressed that they were out looking for the break even before I called (it only took out my power). Of course they hadn't a clue how to get down here until I found them up on the road. The guy looked it over and said he'd get a team out early today. I spent the night in town. It was fixed by noon today, but they made a godawful mess doing it. They chopped out all the scrub and larger trees all along the line in, leaving them in an impassable mess under the lines along with lots of garbage. They even cut down one of the old christmas trees planted under the line on the valley floor -- which had to be 30 feet short of the line running above it. The sheer hack-jobbishness of the resulting wound makes me sick.

James Morrison: A good day

Today has been a good day. First, I found greasemonkey for epiphany (I upgraded to gnome in experimental over the last week). Then found a script to make it so that I could use Google Video by opening the videos in ffplay. There are still some tweaks needed to make it slick, but it means that I can use Google Video using free software. Next I went to work, actually got some work done and started tuning the gears on my bicycle while my dad walked me through where to adjust things. Lastly, I came home and turned the external video display on in X, got xvattr and watched Short Circuit with my projector in GNU/Linux.

Benjamin Mako Hill: <em>Talk:</em> The Ubuntu Project: Overview and Development Model

My talk at BLU seems to have been carried out successfully. The talk was nothing new for folks who follow this blog and know my other Ubuntu talks. It was a long (nearly two hour) number given to an audience with mixed experience with Ubuntu. As such, it covered a lot of ground by pulling from both my introductory Ubuntu talks and my To Fork or Not to Fork talk that I gave several times this summer. The talk was given at the Sloan School of Management at MIT. Steve Ballmer gave a talk at Sloan two days later. His talk was better attended. Of course, I doubt he told people how to get free copies of his projects OS offering shipped to their homes at no cost. Slides and notes follow. Slides: Talk Notes:

Next.

Previous.