Search Results: "ag"

30 September 2006

Florian Ragwitz: Perldition, a small Blog and CMS, written in Perl

Until a few days ago my website was driven by PodCMS, which allowed me to manage all of the content as directories and files containing Pod (Plain Old Documentation). Unfortunately that wasn't quite flexible enough and didn't allow some features, like comments, tags and trackbacks, to be implemented easily. Also Pod sucks for some sort of content, as there's no satisfying Pod2Html module on CPAN as it seems. Therefor I decided to create something new. The new system has all features the old one had, but now allows to create content in lots of formats such as: Other markup formats are possible as well, as the API for the formatting plugins is quite easy and usually just a thin wrapper around a CPAN module which does the actual translation to HTML. Beside allowing new formats to write the content in, it also adds the following features: In conclusion I'm pretty happy with the new software. I'm just very disappointed by quality of the generated HTML that the various Pod2HTML modules on CPAN produce, so I'll probably end up in writing something myself, based on Pod::Parser. PS: The URL to rss feed changed. Please use http://perldition.org/blog.rss.

Mike Hommey: Compiz & aiglx in unstable. Woohoo !

Thanks to David Nusinow, Thierry Reding, Kristian H gsberg and Michel D nzer to have made this possible. It’s really nice looking, but damn, this is soooooooooooooo slooooooooooow. I already tweaked my X configuration, so that GL applications would be fluid, and they are, but compiz is so much slower than all the rest of the GL applications that I really wonder what’s going on. Is it so much more difficult to display 3 windows than to display the full earth with plenty of textures ? As a bonus, for an unknown reason, it cuts the nautilus desktop window at a width of 1024 instead of 1280., which makes the right of the screen a warp zone… (For the record, I have a Radeon Mobility 9200 with the x.org drivers ; I should try with the proprietary ones) Update : The slowness might be related to this message:
libGL warning: 3D driver claims to not support visual 0x4b Update 2 : According to this comment from Michel D nzer, the above message is only cosmetic.
I solved my slowness problem ! I just needed to switch back to XAA instead of EXA as an acceleration method (Option “AccelMethod”). There still remains the geometry problem… even fullscreened windows are limited to a width of 1024, though the gnome panel is correctly at the right-most of the screen (I use a vertical panel on the right of the screen).
There is also a cosmetic problem when switching from “normal” use to GL use (like cube rotation, window moving with wobbly, etc.): the window contents are kind of blured, but there’s nothing we can do about that, except have the windows blured in the same way in the first place.
Ah, and scrolling in windows is more sluggish, now. Update 3 : After some tracing of compiz, and some reading of the source code, it appears that the width limit problem is indeed due, as suggested by Hez in the comments, to GL_MAX_TEXTURE_SIZE being 1024 (you can display it with glxinfo -l grep GL_MAX_TEXTURE_SIZE). I wonder if, as suggested by erich, there is really an environment variable to change that…

Evan Prodromou: 7 Vend miaire CCXV

NewsForge has a very good overview of the problems with Creative Commons licenses for Debian. In particular it covers the work that myself and members of the Debian Creative Commons Workgroup did to bring the CCPL into compliance with the Debian Free Software Guidelines. It also tells about how we had a draft version of the license that was DFSG-compatible, but how that was unfortunately changed. (More info at the Debian Creative Commons Workgroup report.) How are things going with the public review process? Not so well. The main sticking point remains "parallel distribution", which was part of the previous draft license we reviewed, but which was pulled. People have some very emotional reactions to DRM, and they tend to sacrifice developers' and users' freedom in their quest to "Stop DRM!!!!1!". Please, if you are at all interested in seeing DFSG-compatible versions of the Creative Commons Attribution (BSD-like) and Attribution-ShareAlike (copyleft) licenses, let people inside Creative Commons know. The cc-licenses mailing list is the main conduit for public feedback on the next generation of the licenses. Even an email that says, "I want the Creative Commons licenses to be compatible with the Debian Free Software Guidelines." would help tremendously. tags:

29 September 2006

Simon Richter: Why sed was invented

Today I learned what "release early, release often" is good for. It saves you from replacing 1444 instances of your package name in a project when someone else releases something with the same name. Of course, that number would have been a lot higher if my package actually was in a releasable state. Now I am thinking about publishing the parts that can be used so far (well, they pollute the "util" namespace so far because I kept it generic where possible, and some of the "libraries" are in fact just headers containing one or two typedefs.

Jos Parrella: Several stuff

WebGUI and DateTime::Cron::Simple If you use WebGUI and feel concerned about the removal of DateTime::Cron::Simple (due to license, or more precisely, non-license issues promptly noticed by Ernesto Hern ndez-Novich), you can use DateTime::Cron::Parser, which has a compatible API. Since more people were interested in rewriting the module, an official discussion at the DateTime mailing list is going on, and therefore this module does not aim to be an official replacement. Some people point out that DateTime::Event::Cron might do what’s needed here with a little tweaking and patching. Choose what you need. MiniDebConf in Venezuela If you are subscribed to debian-devel-announce, you might have read (eng) about the Venezuelan Minidebconf, taking place from October 14th. in Maturin. While this is not the first event we organize (we’ve celebrated the Debian Day two years in a row, nation-wide) we’re pretty excited about having international visitors participating with us in a joint effort to promote collaboration with Debian. If you’re interested in following the event, you can take a look at the Wikipage (eng). Every comment and collaboration is greatly appreciated.

Biella Coleman: More on the Silences of SV

There are some good comments on the Borsook piece, that rightly point out that the silences to speak of failure were perhaps more of a function of the moment she was doing the research (it just was too early to uncover it) and not necessarily due to a deep culture of shame that permeates high powered Silicon Valley executives (though I like the idea of the later for some reason :-) ) Josh Greenburg also provided a link to the The dotcom archive, which collects the stories of that time period. Really, we are in the age of the archive, aren’t we? Stilt it seems more than ever worth exploring what silences are built into these archives, especially since everything appears to be so accessible and transparent. This discussion also raises the interesting point, however, of the importance of time and distance to assess the significance of economic trends, new technologies etc. Recently I did a few media interviews with Canadian journalists on the impact of new technologies on political campaigns and advertising. While I have some thoughts on it and it is possible (and important) to think about these topics, my initial reaction is to be highly qualified and cautious because things are too emergent to really say anything firm. I want to tell them, so give me a call back in like.. 5 years and I may have something to say… It is like one of my advisers at University of Chicago said, now that we have pervasive Internet shopping, it is now the perfect time to really understand the significance of the mall… And by unearthing objects of the past, it will help us ground understandings of the present.

Edd Dumbill: A deployment pattern for Rails and bzr

I can't get enough of the bzr revision control system, and I'm quite fond of Rails too. So, I thought I'd share my deployment setup for Rails applications using Capistrano and bzr. Capistrano works on the assumption that you're deploying from a revision control system. Secondly, it requires that your deployment server is aware of how to access this system. This leaves you with various options, the most obvious of which are:
  1. Host your source repository on your deployment server
  2. Have your deployment server equipped with remote access to your source repository
  3. Mirror your repository to your deployment server
Of these, option 1 is out for all but somewhat casual projects, option 2 either opens up your source repository more than I like, or needs fiddly tunnelling of SSH which I don't think Capistrano is up to yet (I only like to use key-based access with SSH, rather than password based access, which seems at the moment complicate life where Capistrano is concerned.) I've opted for option 3. The pattern I use is this. On setting up the deployment server, I push a copy of the bzr repository to a private directory. Then, on deployment I first update that repository securely from the master repository inside my network, then export the new release locally on the server. Here are the relevant bits of my Capistrano configuration:
set :repository, "/opt/repo_mirror/# application "

…

set :scm, :bzr
set :checkout, "branch"

…

task :before_update_code do
bzr push sftp://deploy.example.org/opt/repo_mirror/# application
end
One big advantage of this over option 2, a remote source repository, is that only the changes are sent up to the server, and the bandwidth-intensive application checkout happens locally on the deployment machine. The final bit of improvement this could stand is to have the bzr checkout use export and not branch, but I think I'll have to alter the Capistrano's bzr plugin in order to do this.

Antti-Juhani Kaijanaho: Graph reduction

Graph reduction is the basic operational model of lazy functional programming. The idea is that the program is represented as a huge λ-term abstract syntax tree, and the program is executed by performing outermost-leftmost β-reductions to this tree, and whenever a subtree must be replaced by another tree (such as, when performing the substitution operation), the root node of the replacee is overwritten by the root node of the replacement (or a redirection node pointing to the replacement) instead of making copies (the body of an abstraction still needs to be copied, of course). The effect is the familiar laziness: when a function refers to its parameter more than once, the argument term is shared between the parameter references instead of making copies, and so any reduction in any one of them is shared by all of them. For some strange reason, I decided I must write a set of C functions that demonstrate graph reduction. I wrote them, and then in order to test them I expanded them to become a complete implementation of λ-calculus (extended with integers) graph reduction. The program can be found here; it is written in portable ANSI–C. It is able to show the complete trace of reductions. It is intended for demonstrating the technique, and therefore is effectively a stupid interpreter and does not implement any of the sophisticated optimization techniques that industrial-strength functional language implementations routinely use. Example usage:
$ cat examples/fib
TRUE = t.f.t
FALSE = t.f.f
IF = x.x
NIL = x. IF x TRUE NIL
ISNIL = x. x TRUE
CONS = car. cdr. x. IF x FALSE (y. IF y car cdr)
CAR = cell. cell FALSE TRUE
CDR = cell. cell FALSE FALSE
MAP = f. xs. IF (ISNIL xs) NIL (CONS (f (CAR xs)) (MAP f (CDR xs)))
AT = n. xs. CAR (DROP n xs)
DROP = n. xs. IF (n = 0) xs (DROP (n - 1) (CDR xs))
TAKE = n. xs. IF (n = 0) NIL (CAR xs (TAKE (n - 1) (CDR xs)))
FIBS = CONS (CONS 0 1) (MAP GENFIB FIBS)
GENFIB = pair. CONS (CDR pair) ((CAR pair) + (CDR pair))
FIB = n. (CDR (AT n FIBS))
$ ./graph-reduction -t -S10K -H1M examples/fib
graph-reduction 1.0 by Antti-Juhani Kaijanaho, report bugs to antkaij@mit.jyu.fi
[heap_size=1048560,stack_size=2621440]
examples/fib> FIB 3
[...]
1 + (1 + (0 + (f[4].f[4]) (y[11].(x[5].x[5]) y[11] 0 1) (t[3].f[4].f[4])))
1 + (1 + (0 + (y[11].(x[5].x[5]) y[11] 0 1) (t[3].f[4].f[4])))
1 + (1 + (0 + (x[5].x[5]) (t[3].f[4].f[4]) 0 1))
1 + (1 + (0 + (t[3].f[4].f[4]) 0 1))
1 + (1 + (0 + (f[4].f[4]) 1))
1 + (1 + (0 + 1))
1 + (1 + 1)
1 + 2
3
examples/fib>
(In the trace output, each bound variable is annotated by a scope identifier that effectively allows me to ignore variable caputure problems.) I plant to further extend the language to handle algebraic data types and simple pattern matching, to get rid of the noise of simulating these concepts in the traces. Technically, perhaps the most interesting part of the program is that it contains a fully portable copying garbage collector.

David Nusinow: You've Been So Patient

I'm proud to annouce that thanks to the work of Thierry Reding, an appropriately patched X server as well as compiz have been uploaded to unstable. The patches were all written by Kristian H gsberg, who helped advise Thierry on some of the patches. As always, Michel D nzer (who I never seem to mention often enough here), helped advise on the various patches as well. In addition, Shawn Starr has taken on the task of packaging the recent fork of compiz named beryl, and we should be uploading that to Debian within a few days as well. My thanks go out to all of them who helped make this a reality. I did very little on this one but act as a final focal point for the work, the credit goes to them, particularly Theirry. May your windows jiggle with joy!

Antti-Juhani Kaijanaho: What have I been doing?

On the server:
$ history awk ' print $2 ' awk 'BEGIN  FS=" "   print $1 ' sort uniq -c sort -rn head -10
    234 really
     34 fg
     25 cd
     24 screen
     23 tail
     22 ls
     17 less
     16 spammer
     13 host
     11 man
Spammer is a simple shell function:
spammer()  
        really iptables -I INPUT -s $1 -j REJECT
 
On the laptop:
$ history awk ' print $2 ' awk 'BEGIN  FS=" "   print $1 ' sort uniq -c sort -rn head -10
    297 echo
     62 ./graph-reduction
     53 darcs
     30 gdb
     10 make
      6 ssh
      6 LC_ALL=fi_FI@euro
      6 cd
      4 valgrind
      3 top
./graph-reduction is a program I wrote during the week. I’ll blog about it separately. the LC_ALL lines are likely all LC_ALL=fi_FI@euro luit slrn so that slrn would send Latin and not UTF-8 (the latter is strongly discouraged in sfnet).

Andrew Pollock: [tech] Every day's a school day

Well actually it was yesterday... I didn't know about the --reference option to chown and chmod until a co-worker used them whilst I was helping him with a task. Very cool find. Goes to show that it pays to read the manpages for frequently used tools.

John Goerzen: The News

Big news over here: earlier this week, our first baby was born: Jacob Simon Goerzen! He weighed in at 8 lbs, 12 oz and is doing well.

Terah was in labor most of the day, but eventually the doctor determined he was too big, so was delivered by C-section. Terah is still sore from all that, but otherwise is doing well, too. And of course we're both trying to catch up on sleep. (Not that we really expect to be able to...)

It's already been so wonderful to have him here. He already has a personality in some ways, and just is wonderful to be around. We've had a number of visitors, but the one that was extra special was when my 91-year-old grandmother stopped by and held him for awhile. Terah managed to get a photo of Jacob, me, my mom, and grandma -- 4 generations.

We've got a lot to tell, and I'm sure you'll be seeing more from both Terah and me in the next couple of days. But to start you off, I've got the first 5 pictures online already.

Here's one of the earliest pictures of him. This one was in the operating room, just a couple of minutes after he was born. The nurses had done their inital check, and gave him to me. I took him over by Terah so she could look (the doctors were still finishing up the operation). One of the people in the OR took the camera and got this picture:



Make sure to click here for the rest of the pictures in this set.

Debian folks -- do you see anything striking about Terah's gown in the photo of her holding Jacob? Something oddly familiar, perhaps? Something that my brother recognized instantly -- and burst out laughing -- when we asked him if he "noticed anything special" about the gown? More on that later...

Sorry, Cliff, for not posting sooner. Hopefully no more bait will be necessary...

28 September 2006

Biella Coleman: The Silence of Failure in Silicon Valley

After about 6 months of initial research in the Bay Area, I had to make a choice over the future direction of my more directed fieldwork. Would my project be on Silicon Valley, its religious fervor for the exuberant technology start-up, with the geek entrepreneur (probably with some affiliation with Standford) at its center stage, or would it be more broadly about free software and the culture of geekdom? I chose the later, for various reasons, but I think I wanted to write a dissertation that did not bleed with cynicism but instead flowed and flowered with a lot more joy than could have been possible if I had stayed within the grasp of the start-up and the venture capitalist. That said, I learned a lot about SV, took a lot of notes, and read most anything I could get my hands on whether the work of San Jose Anthropologist,Jan English-Lueck or published in magazines like Mother Jones, Harpers, and even the National Geographic. One of the luminaries that writes about SV from a cultural perspective is Paulina Borsook. And she is fine writer who admittedly has ticked me of on occasion (to be precise because she collapsed too much of geek culture into that of the specific SV world in Cyberselfish, which at the time I found almost personally offensive, probably more than it should have). Today I just came across a short, older but very illuminating piece of hers The Disappeared of Silicon Valley (or why I couldn’t write that piece) which is as much about the limits of historical representation in general as it specifically about the failings of start-ups in SV at the end of the recent boom and bust cycle. So her goal was simple enough: To find people involved in starting new high-tech whose companies had died.. and to find them to get a more visceral and cultural window into this experience. But it was a near to impossible task. Despite her impeccable record with confidentiality and a far flung social network, she could not get anyone talk about these ostensible failures. There has been a good amount of writing on the limits of historical representation because the archive or what comes to be the archive is a function of power and it is usually the powerless who are left out, as the work of Michel-Rolph Trouillot has so eloquently shown. But while it is true that some CEO of a dethroned corporation may be powerless in some sense of the word, it is not what we associate with the word. But in fact, the power of stigma of failure in a region that magnifies an already well-develiped cultural fetish of success (especially, I imagine, among male graduates, of places like Stanford Buisiness School), is enormous, so much so, that it seems one can only write about the experience, as Barsook has done so well, through the reality of a lack, through silence.

Enrico Zini: debtags-interesting-times

Debtags interesting times An unbelievable amount of interesting, fun and bleeding-edge things to do are coming out with Debtags. Erich did some javascript tag cloud. Interactive tag clouds are probably the coolest thing to provide as a link for packages.debian.org when people click on a tag. They can also replace the current navigator we have at http://debtags.alioth.debian.org/cgi-bin/index.cgi I started using Xapian, which is cool. It does fast text search with all the cool things like stemming and whatnot. Check out a prototype package search interface using it. Xapian can also find packages similar to a given one by looking at the description, which is cool. I can already use it to suggest tags, until we manage to put some of the bayesian code we are accumulating into production. Plus, I had an IRC chat with a Xapian developer: he was really nice. We had one of those neat chats in which really cool ideas keep coming out and it won't be so hard to implement even and wow, that'd be so cool, let's do it! Then there's the new web-based tag editing interface to do to replace the old one. I can add the smart search idea to it allowing to display tags giving keywords: and that'd give suggestions that automatically follow existing tag practices, which rocks. The C++ daemon backend that we now have for the website is great to allow to quickly intermix tag updates and queries, and still hope to scale. Maybe it means that soon we finally can start handling debtags mail submissions on Alioth as well. Distro-wise I have a plan to finally get rid of apt-index-watcher. The plan is already working in my computer, and just needs some more tests before hitting unstable. I'd also like to have the Python Debtags interface packaged somewhere, so that people who don't grok C++ can have fun with the Debtags data. Work is underway. Then there's the debtags-updatecontrol experiment, which didn't go quite as I expected, but still went well. I've already sent my first tag override update to aj incorporating data from control files. Other ideas? For example, implementing Xapian indexing in libept, and finally have a package manager with an amazingly fast search-as-you-type. And that, as a side effect, would create a Xapian package description in /var/something that is ready for any installed software to use. Then there's popcon. That's another piece of data to make available to package managers, and I already know how to do it. With Phil Hands at Debconf6 we had also started designing a way to use the unaggregated popcon database to implement an Amazon-style functionality that would go like "users which have a system similar to yours also have packages X and Y installed: would you like to have a look at them?" Joey Hess suggested to filter popcon analysis data with debtags, so that one can get suggestions, for example, only limited to game packages. Oh so cool! And this all feels like just a beginning...

Jon Dowland: WIP

After my last post bemoaning the negativity on planet, psn suggested that perhaps I should post something positive. So here's what I'm working on at the moment. First and foremost I suppose is debconf7. Initially I've basically been playing secretary to meetings. More recently, due to the list of complaints collectively known as "NoJune", I've been doing my best to investigate the possibility of moving the provisional dc7 booking date forward in time a week or two, towards July. After several discussions staring at the time table and what info we had about other bookings, followed by several phone calls with the venue, I unfortunately have basically confirmed that the entirety of July and the last week of June are not open to us at all, so there's no way we can move the date. My other main activity in Debian at the moment is as a member of the Debian Games Team, where I'm mainly working on doom-related packages in order to implement my world domination plans. Due to the impending freeze I've been trying to work out what of the plan I can implement and get packages uploaded so that the Etch doom experience is as good as possible.

Wouter Verhelst: Whoops.

20:10 < Yoe> how do I ask irssii to connect to a second network again?
--- Log closed do sep 28 20:12:47 2006
Note to self: if you're going to ask whether the "/server" command does in fact disconnect oneself from the network, do not start a phrase with the "/server" keystroke... heh.

Evan Prodromou: 6 Vend miaire CCXV

As far as I can tell, polygen is a piece of software developed to make jokes at my expense (my favourite kind!). First there was the Evan's blog posts grammar, and now I've made the list in the Complaints grammar for the Debian:TheDebianChoirOfComplaints. I'm so glad this process has finally been automated! tags:

Hey Don Don Marti saw my ssh woes as previously mentioned (see Tag/ssh) and gave a cool shell function to fix it. It even snags credentials from your other ssh-agent instances, even if they're not an immediate parent of your shell. Thanks, Don! Thanks, wp:Lazyweb! tags:

OpenSearch So, I've been twiddling around with OpenSearch, the feed-based distributed search system that weird little Amazon subsidiary A9 is foisting off on the world. I think it'd probably be pretty neat for Wikitravel. Gregory Szorc, the mad scientist of the MediaWiki world, has done a nice OpenSearch extension for MediaWiki. I had to tweak it a lot, which was kind of fun, but I still haven't gotten it to work entirely satisfactorily. I'm suspecting I'll have to changeover to lucene search, the MW plugin that uses Lucene as search subsystem, to really get reasonable performance out of this. In any event I'm mildly interested in OpenSearch. It's nice, I guess, and it's kind of cool that it works with Firefox and IE7 as an in-browser search alternative. However, I'm disappointed it's not supported in other portals besides A9. tags:

YaCy Speaking of search: wow. YaCy. The distributed search engine system. It seems like a really good idea, but I'm not really impressed by the search results I've gotten so far. But, regardless, I've set up the crawler to run on a couple of servers around the house, and the daemon seems to be running pretty cool, so it's not really noticeable. I'll probably forget about them for a while, and we'll see what some benign neglect will bring to their index accuracy. tags:

Barry Hawkins: BBC News, Bill Clinton, and an Ubuntu thong

So I am perusing the “Latest Headlines” RSS feed in Firefox this morning and notice the word ubuntu. It turns out Bill Clinton used it as a key term in a recent speech to the Labour party conference. The article goes on to discuss the increasing ubiquity of the word’s usage, including the mention of Ubuntu the operating system at the end of the article. And apart from a picture of Clinton at the top of the article, the only other image is of an Ubuntu thong like the ones you can buy off of Caf press.com. Of all the choices, why pick an Ubuntu thong? One person suggested to me that Clinton and a thong was a natural fit. 8^)

Wouter Verhelst: HP, you idiot.

The three ML110 systems that I ordered for a customer just arrived. The customer wanted RAID1, so I ordered three extra hard disks. The hardware bits that hold disks in its place are based on some ingenious slide-and-click system that does not require me to do some acrobatic funny things with a screwdriver just to be able to put a hard disk in the machine. This is good. The slide-and-click system requires me to put screws in the drive that have heads of a certain specific size (it uses that as the thing to lock against). Obviously all the industry-standard screws that I have are way too large to fit. The machine does not come with extra screws, nor does the disk. This is not so good. Update: 1s/HP/Wouter/. The servers do contain those extra screws, I'm just blind. Whoops.

Erich Schubert: Folding tagclouds

Folding tag clouds of Debian software packages. I'm trying to make tag clounds workable with a large number of tags (unfolded tag cloud for comparison) by folding them into subtopics. Yay, when we're done with tagging the Debian packages, we'll have a great new way of browsing available Linux software. Linux doesn't lack software anymore, it has so much software, you just don't find what you need. The next version of this will probably allow you to select multiple tags, and update the tag cloud upon selection. So if you choose "GTK" ui toolkit, the "QT" toolkit tag will become quite small, etc.

Next.

Previous.