Search Results: "mak"

23 October 2005

Benjamin Mako Hill: Darklight Film Festival Symposium

Next month in Dublin is going to be the Darklight digital film festival. In preparation for the festival is a now traditional symposium that has a reputation for bringing together a collection of interesting people to, "identify, profile and respond to the current transformations in the distribution of cultural production enabled by the proliferation of digital and wireless networks." I'm thrilled to have been asked to attend and give a speech there along with fellow Media Lab inhabitant Barry Vercoe (of course, he helped found the lab -- I've only been there for a month). I'll be talking about intellectual property and will try to describe some of the history of the current mess we're in, offer a rough classification of the types of solutions that are being offered and then go into some depth on the Free/Open Source Software model. I'll talk about the reasons Free Software has been successful and try to describe some of the benefits and limitations of applying this model to the production of other types of creative works. You can check out the symposium schedule and register now for a free spot in the audience. Please keep in mind that registration is limited. If you will not be able to attend but are in Dublin and would like to meet up (for keysigning, chatting, etc.), please get in contact and we'll work something out. I've never been to Ireland before am excited. The one (major) downside of course is that this talk will mean I will not be able to attend the most relevant parts of Ubuntu Below Zero conference and so am currently not planning to attend at all. I send my regards to the rest of the Ubuntu team. I'll see you at the next one am looking forward to the tsunami of new specs that will define Dapper and am looking forward to participating in whatever way I can from remote.

Benjamin Mako Hill: Obelisks

Obelisks have been on my mind recently. I think it started with this suggestion I made to help use up some space in the newly remodeled "Alley" (the new home of the Electronic Publishing Group at the Media Lab):
I think we would be wise to purchase and display this very high quality seven foot Large Reprocessed Garden Obelisk in the Alley. In addition to the happiness that the presence of its simple geometric shapes would bring us, it would provide us with both a great conversation starter and an undeniable symbol of our power during Media Lab teas.
Good morning Freud.

Erich Schubert: Galeon to become epiphany-based

This Gnomedesktop posting outlines the future of galeon. All it's users (and maybe former users, too) should read it... Basically: the main (current) galeon authors don't have enough time to work on galeon (e.g. on the bookmarks editor, which has some issues). Epiphany, which was forked off Galeon, has a much more active developer community, a more up-to-date codebase, including an extension system. So the galeon authors decided to try to work galeon into epiphany extensions as far as possible (btw, epiphany is to get hierarchical bookmarks independently, so one of the big issues many people have with it is gone then) and maybe make a new Galeon based upon Epiphany to add these features which are not possible with Epiphanys' extension system. Neither Galeon nor Epiphany currently have an easy standing. For example Ubuntu prefers Firefox to Epiphany (albeit Epiphany is way better intergrated in the desktop). This is a pity, since IMHO firefox suffers from featurits. Also I'm not a fan of extension systems like in epiphany and firefox. Especially with firefox, the code quality of extensions varies a lot. And even extensions that are really useful (e.g. the webdeveloper toolbar, albeit it offers little more than I do in Galeon with Bookmarklets) still suffer from some old bugs (e.g. the "show divs" menu item will still be checked after you changed the page) that are maybe just not fixeable in the extension. At the same time, using extensions basically means that the application will be (and behave) different on the machines you work on, unless you spend a lot of time in installing the same extensions everywhere (and then in turn syncing their configurations as well etc.). Neither will the UI be consistent, themes won't support the extensions etc.

Benjamin Mako Hill: More Manhole Covers

There was some confusion about my recent post on the Melnick book on manhole covers from people who were unfamiliar with the term "manhole." One way to describe a manhole cover is a sewer lid. However, manhole covers are employed to cover a variety of holes that men (and women) explore for a variety of purposes. I prefer to think of a manhole cover as exactly what an obelisk isn't.

Benjamin Mako Hill: Postal Addresses

Mika pointed out a striking similarity between the official business addresses of Apple and Canonical:
Canonical Ltd.
One Circular Road
Douglas, Isle of Man
Apple
One Infinite Loop
Cupertino, CA
A friend I trust tells me that Infinite Loop is not, in fact, infinite. I have every reason to believe that Circular Road is everything the name implies. Honesty is very important to me.

Baruch Even: The making of a Planet

Planets are a fairly common method to aggregate blogs. They are especially pervasive in the FOSS world, with planets for Debian, Gnome, KDE, and many others. I find planets as a useful resource for a community to give a single place for the communication and to check for updates. The usual method of communication in blogs is a reply in a post, the planet makes the replies come in the same page for the reader with little context loss. For this reason I'm also fond of setting up planets myself for those communities that lack them, and so I setup planets for FOSS-IL for Israeli blogs about FOSS issues (mostly in Hebrew), Planet (former) Advogato for former Advogato bloggers and the latest one is Planet MicroISV for MicroISVs. I was asked to provide some (tutorial help something) on setting up a planet, and this post is the answer to that request.
The PlanetPlanet program is a very common RSS feed aggregator, it works with most feeds and is fairly tolerant to non-standard-conforming feeds. It is also relatively low maintenance, which is why I chose it for my aggregators. Prerequisites The first thing you'll need is to make sure you have Python 2.2 or better installed. If you're on a sane OS, you can just do apt-get install python2.3 otherwise you are left to fend for yourself. For the Windows folks there is ActivePython. Another would be prerequisite is GNU Arch or GNU Arch or Bazaar, two implementations for the Distributed Revision Control algorithm which was pioneered in GNU Arch. Bazaar would be more user friendly, but both IMNSHO are horrendous user-interface wise. Which is why I provide a snapshot of the latest revision for your benefit. Install Installation would be fairly simple, just unpack the tar.gz and it's installed, nothing else needs to be done, except configuring it. The snapshot I provided is just a raw dump of the arch repository, it is useful as is since you can update the installation as needed by just updating and merging with Arch/Bazaar. This will not be covered here. Too much of a trouble for now, and the PlanetPlanet development is at the pace of a snail carrying an elephant, don't expect updates in the near future. Configure I assume you have in mind the list of blogs you want to put on the planet. It need not be comprehensive, a few blogs to start would be good enough. It's trivial to add more as you go. In the planet directory you should copy the examples directory to a new one, say myplanet, copy the output directory to myplanet-output and edit the myplanet/config.ini file. At the minimum you should change the following variables: The next stage would be to replace the existing blog listed in the config.ini file with your own list. The example is there and is trivial to follow, the entry for a blog looks like:
[http://baruch.ev-en.org/blog/index.rss2]
name = Baruch Even
Where the feed URL is in square brackets and the name of the blog is the name. There are various games that are possible with the templates but we'll ignore them for now and let you learn them from the examples provided by the authors. The next stage is just to run the planet on the new files, we will use the defaults for the rest.
python planet.py myplanet/config.ini
The planet will work for a while, churn out various uninteresting messages and generate the files we asked it for in the myplanet-output. You can now inspect the files in the output directory, load them in a browser and enjoy. Tweaks So you haven't left yet? Want some more info? One obvious question is now that we have the files, how do we serve them to the world so everyone can enjoy our creation? First, you should ask yourself if the world really cares... you do, ah?! OK. If the world cares enough it will find a way to show you how to do it. Since it depends on your OS, web server and various configurations, I can't help you on this. This is left as an exercise to the reader. The configuration in config.ini should be fairly obvious and is well commented. The look of the site depends on two factors, the HTML that is generated, which is a clean HTML version 4.01 and has all formatting controlled by the CSS file which was kindly provided in the outputs directory. The templating code is very simple, it has two operations, TMPL_LOOP and TMPL_VAR. TMPL_LOOP will loop over a variable, usually the Channels variable. And the TMPL_VAR operator will emit that variable, there are the global vars and the loop vars. The best way to figure it out is to use the existing templates as a building block, they are fairly easy to understand. Enjoy your new Planet!

22 October 2005

Andreas Rottmann: Scheme48 fork update

Mike Sperber finally reviewed my patches; they unfortunatly were not deemed appropriate for the Scheme48 distribution, see this thread. Hopefully these issues can be sorted out in the not-to-far future. If you also need the one or other features from my hacks so far, and are adventurous, you can conact me on #scheme on freenode for help with getting and building my fork. Writing portable Scheme programs with scmxlate and spells For the conjure project, we are using scmxlate to make it portable across multiple Schemes. For that purpose, I slightly extended scmxlate and built a kind of meta-module system on top of it. Here is how that looks like: You write a description of the modules your application or library is made of; this is done in a sightly extended subset of the Scheme48 configuration language. For example (from this page, see there for more details):
 (define-structure conjure.foo.bar (export qux baz
					  ((froboz fribnitz)
					  :syntax))
  (open scheme srfi-1 srfi-13 conjure.util.files)
  (dialect (guile (open ice-9.syncase))
           (scheme48 (open extended-ports)))
  (files (foo basic-bar)
         (foo bar)))
This defines the module conjure.foo.bar, which exports the identifiers qux and baz, as well as the macros froboz and fribnitz. The open clause means: this module is written in R5RS Scheme (scheme), plus additionally using srfi-1, srfi-13 and the conjure.util.files module. The dialect clause can be used for specifiying additional modules needed for the dialect-specific code for the module. Finally, the files clause tells us that this module consists of the files foo/basic-bar.scm and foo/bar.scm. This file then gets processed by scmxlate, generating a file with the right module definitions for the selected target dialect, e.g.:
(define-module (conjure foo bar)
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-13)
  #:use-module (conjure util files)
  #:use-module (ice-9 syncase)
	
   #:export (qux baz)
  #:export-syntax (froboz fribnitz))
	
 ;; code for foo/basic-bar.scm and foo/bar.scm follows
will be generated for Guile. We recently split scmxlate and the meta-module systeem out of conjure, see the scmxlate category in the conjure archive, so it is available for other projects. Now the split-out of the general purpose modules into a separate project — SPELLS, (S)pell’s a (P)ortability (E)nvironment (L)ibrary for (L)ots of (S)chemes — is in preparation. This library will further aid writing portable code, by providing a consistent interface to functionality that has different APIs in different Schemes. These modules are already there: All of those are implemented for all of mzscheme, Guile, Scheme48 and Gauche, using native functionality where available. Other modules will surely follow, a project has been requested at Gna! to facilitate contribution. The spells library will also be used by my upcoming port of G-Wrap to Scheme48.

Andreas Rottmann: GNOME for Scheme48

I’ve decided to laying the foundation for creating bindings of the GNOME software stack for Scheme48, specifically: create bindings for GLib/GObject. At the core of GNOME, there is the GLib Object System (GObject), on top of which GTK+ and the rest of the developer platform are built. Thanks to the header scanning tool h2def.py, which creates a S-Expression representation of the API, you are able to create bindings for any GObject-based library, once you got the core bindings right. I have a rough plan how to do this; basically I plan to fork guile-gnome and reuse the existing infrastructure (e.g. .defs processing). The Guile-GNOME fork will drive a G-Wrap that’s capable of emitting code for the upcoming Scheme48 FFI. Work on G-Wrap/Scheme48 has already progressed to a degree where it’s possible to turn to the GObject bindings and fill out the holes as needed in the process. The plan is also to make the resulting bindings “mostly compatible”, so that programs written for Guile-GNOME will also work with Scheme48-GNOME and vice versa. Since Scheme48 has no built-in object system, and the object system would have to be compatible with GOOPS (Guile’s object system) anyway to achieve source-compatibility between the bindings, I started working on a GOOPS-compatible version of TinyCLOS.

Andreas Rottmann: Some thoughts on binding C and Scheme

This are some random thoughts I posted to the G-Wrap development mailing list regarding creating bindings for C libraries for Scheme. Although partly G-Wrap specific, it also might be of interest to other Scheme hackers. I’m not at all convinced my effort to make G-Wrap support Scheme 48
makes much sense at all, for these reasons: So in short: G-Wrap’s future looks brightest when staying a Guile
(-only) tool; a much more simple, portable C-binding tool can be
achieved by:

Andreas Rottmann: A Guile rant

I began to program in Scheme using the Guile interpreter. While I knew that its not blazingly fast, its the official GNU extension language, and as feeling quite close to the goals of the GNU project and the FSF, I felt confident it was the right choice, also considering the supreme quality of other GNU software, such as the GNU toolchain (GCC, binutils, gas) and the Gimp, to name just a few. So, feeling confident with my choice, I started to crank out code and eventually even took over maintainership over a Guile application, namely G-Wrap, after giving it a complete brush-up code-wise. When Tom Lord, of GNU Arch fame (and coincidently a former Guile maintainer), announced the Pika project (a from-scratch Scheme implementation, with ambitous goals), I decided to get on the mailing list and lurk, and later got opportunities to contribute a bit. Unfortunatly that project stalled due to time constraints on Tom’s side. Anyway it was a very valuable experience, as it opened my eyes to other Scheme implementations, foremost Scheme 48. Looking at its code base was a real eye-opener: as opposed to Guile, it was, except for a tiny amount of glue code, written in Scheme; its virtual machine is written in a subset of Scheme called Pre-Scheme that can be compiled to efficient C code, so you get most of the benefits of Scheme and the speed of C. Around the same time I discovered Scheme 48, I got involved in conjure, a make replacement being written in portable Scheme. I split off the library code from it to form a separate project, spells. As spells is basically a layer above the individual Scheme implementations which hides away their differences and presents their features (foremost the module system, but also hash tables, file system access, …) in a portable way, I gained some experience regarding the different module systems and how they compare, and I honstly must say that Guile’s is basically unusable with macros. Here’s why: A decent module system allows for macro code to refer to bindings in the module they are defined in, without requiring these bindings to be also exported; imagine a macro that expands to a call to some helper procedure that should itself should not be visible from outside the module. A real-life example are the reference implementations of SRFI-34 and SRFI-35, which define the helper procedures guard-aux and type-field-alist->condition, respectively. This deficiency (which is not present in Scheme 48, PLT Scheme, Gauche and probably most other Schemes) is really unfortunate, as it makes modules, when used with macros, a lot less usable. This, besides the total orientation toward interpretation and the codebase that is mostly in C are reasons why I’d recommend Scheme newbies also looking at other options before settling on Guile because it’s the “official GNU extension language”, as I did ;) .

Steve Kemp: buildd-setup?

The time is 18:43 and I’m going to bed. If anybody wishes to make my day they could point to a good set of documentation on the setup and running of a buildd. Lots of people apparently manage it successfully (Experimental, AMD64, etc) however I’m finding it: The CSS-ification is going well. And all being well tomorrow I’ll have blacklisting support for the Planet Debian Searching. If people wish to opt-out of the indexing then that will become trivial. I still believe that I am correct in believing that content carried upon Planet Debian is liable to be mirrored, but I’m not going to argue. (Sure an individual server hosting a blog might have a /robots.txt forbidding it - but planet.debian.org doesn’t - so it will likely be crawled, archived, whatever.) Shrugs. Night night, world.

Andrew Pollock: [life] New dining table

About a month ago we lashed out on our first major purchase as a married couple and got a new dining table, as we anticipated having a few dinners with friends before we left the country. Our new dining table Our new dining table Last week it arrived, and tonight we had our first 8 person dinner to christen it. I made Moroccan stuffed lamb with roast vegetables, which turned out to be a success. It's always a bit scary making a new dish for the first time when you've got people coming over for dinner, as if it's a total disaster, you've still got to subject your guests to it.

Eric Warmenhoven: The case against GOOG

So yesterday Google announced their earnings, beating estimates, sending their stock even higher. Every time someone says GOOG can’t possibly go any higher, they’re promptly proved wrong. So I’m not going to say that GOOG can’t go any higher. I am going to say though that it’s overpriced given the cards that are showing. Peter Lynch compared the stock market to a game of seven card stud, where every new piece of information released about a company is like a new card showing. The more you find out about a company, the more accurately you can gauge the value of a company, and thus whether it’s worth buying. The problem with Google (and similarly with Apple, but to a lesser extent) is that they try very, very hard not to release any information. What’s worse is that Google has built up a mystique about itself, so that any little piece of information (like an otherwise irrelevant partnership with Sun) gets turned into wild rumor and speculation (like that Google will make a web-based Office suite). If you believe the speculation will come true, that means that it will effectively break one of Microsoft’s monopolies, thereby entitling Google to its current market cap. But that means that Google has to deliver on something they’ve never even hinted that they’re working on. If Google’s going to keep its stock from going through a “correction”, it better start showing some more of its cards, and they better be good. Otherwise, they may end up like another company that valued secrecy and was going to take down a different monopoly.

21 October 2005

Andreas Rottmann: Some thoughts on binding C and Scheme

This are some random thoughts I posted to the G-Wrap development mailing list regarding creating bindings for C libraries for Scheme. Although partly G-Wrap specific, it also might be of interest to other Scheme hackers. I’m not at all convinced my effort to make G-Wrap support Scheme 48
makes much sense at all, for these reasons: So in short: G-Wrap’s future looks brightest when staying a Guile
(-only) tool; a much more simple, portable C-binding tool can be
achieved by:

Jordi Mallach: Network troubles get worse

I hope to be back to normal in a week or so.
Right. A week later, my connectivity issues have gotten so much worse... Yesterday, I was trying to do some of my neglected Debian work at my mother's house (namedly, updating some packages for GNOME 2.12.1), when the ADSL modem lost its link and didn't come up again. As it was a bit late, I just cursed the nth incident with Wanadoo and left until the next day. Today, when I go back there, my sister asks if I can have a look, because there's no Internet. I suspect that the Wanadoo people have finally freed us and have cancelled our contract as we asked for two weeks ago. I phone and they confirm this is it. I then ask, innocently, if I am free to sign up with any other telco. They say I now need to wait, without any internet service, until the telephone line is freed so any other company can take care of it. That will happen in thirty or fourty days. WTF! I'm sure this can be reported somewhere, it's totally unacceptable. I've had to come to my father's house, out of the city, to do the most urgent pending tasks, and it'll be a pain to do this throughout the week. The good news is that today I got a call from Telefonica telling me that my modem should arrive at home on Monday, and some other day my own DSL link will start working. Hopefully that'll happen even before I leave to my American adventure. I am sure The Acetarium will be ready for my arrival. If you're waiting for some upload from me, please have a bit of patience because my current situation is making it quite difficult.

Joe Wreschnig: Vorbis comments and tracktotal

Breaking radio silence to complain about something both trivial and technical, so it’s probably best if everyone skips this post. Unless you write a CD ripper or audio tagger. Then please read this post, because I’m going to explain why you’re wrong. (Someone emailed me about why Quod Libet acts this way, and I figured I’d make my answer public, with the hope it helps things.) History
Decades ago, before there was Ogg Vorbis, people used an obsolete standard called MP3, and tagged it with something called ID3 (in particular, ID3v2). One of the possible tags was TRCK, for the track number. It was stored as a string in “x/y” format, for track number x out of y total tracks. Perhaps this could be improved upon; maybe not (I’ll make a case for not later). Regardless, that’s how hundreds of thousands, if not millions, of files were tagged. Ogg Vorbis Comments
These days we have something better — Ogg Vorbis and its tagging format. Vorbis specified a tag called tracknumber, analogous to TRCK.
TRACKNUMBER: The track number of this piece if part of a specific larger collection or album
Now, this is a bit ambiguous. In particular, TRCK says how you should store the total number of tracks, and the Vorbis comment specification doesn’t. A strict reading indicates you can’t, but then the same standard is designed to be particularly loose about the data stored in the tags. So a lot of programs, including really popular ones, just kept their ID3 format and wrote tracknumber=x/y. Everyone was happy. Then someone — I wish I knew who, so I could write this to them personally — decided trying to parse the track number in this format was too hard, and so decided they would make a tracktotal tag that stored, as a single number, the number of tracks. Whoever Did This Is Wrong
Whoever decided to do this was pretty dumb. There’s a number of false assumptions here, roughly in decreasing order of annoyance: The result is that every program still needs to understand x/y — even if every Vorbis file used the new format — and the new format, and also needs to do the work to construct track numbers in the new format, assuming it wants to use them. That’s why Quod Libet converts everything to x/y format. I urge authors of tagging applications and CD rippers to abandon stupid standards. Instead, you should be spending time fixing your ID3v2 readers and writers, because they all suck too. P.S.
If anyone knows what program is putting ISO-8859-1 values into Vorbis tags, please let me know. I have spiked cluebat for you. A Summary of Other Things
I moved into a new apartment building next door to my old one, owned by the same student co-op, so it doesn’t actually seem like I moved at all. School started and is going well. I saw DOOM earlier this week for free, and enjoyed it. I’ve learned a lot about Python i18n over the past few months and am writing a brief howto explaining how to do it properly.

20 October 2005

Erich Schubert: Gaim will get voice functions

Gaim has some nice to read news. Including upcoming SIP/SIMPLE support (from gaim-vv). But the paragraph I liked most is the following:
"I (Sean) [the main gaim lead devel] have been hired by Google, moved to Seattle, and have been working on the Google Talk team for about a month and a half. [...] Currently, I'm working on making it as easy as possible for other clients to use Google Talk's voice features. You can expect Gaim and other clients to be interoperable with Google Talk's voice features in the near future."
So google is still playing "good guys". At least as long as it's bad for their competitors (Skype, MSN, Yahoo Messenger...)?

Jose Carlos Garcia Sogo: Homer is Omar

Making an arab version of The Simpsons can be nice to introduce them in Arab world. Renaming Homer as Omar, or Bart as Badr, can be good if those names are going to help people understood better the roles. Calling them Al Shamshoon is a bit too much. But of course, changing chapters to susbtitute Duff beer by soft drinks and doughnuts by Arab kahk cookies is completely crazy. I strongly think that our world is not going to be better by givin each group just what they want, but by making everyone understand and respect other cultures. And sorry, Homer is a pig.

Erich Schubert: VMWare player PXE image?

I wonder if you can make a PXE (Netboot) image for VMWare player. That would basically give a free VMWare for everyone, wouldn't it? Or at least a kernel which will mount a NFS root.

MJ Ray: Selling, the web, chipping and bloody hacking

The Internet Advertising Bureau thinks the UK spend could be over a billion for the first time. It's now 5.8% of the national advertising spend and is growing at a pretty remarkable rate. Is Christmas coming early for online? OSCommerce - the future will be templated. We're doing more OSCommerce work and 2.2 MS2 is a fairly typical PHP application, with some structure, but also lots of spaghetti code. The next version is looking a lot better, including this announcement from the lead developer. Templating and styling has to be the most-requested work. I find it a little worrying that OSCommerce is not more openly developed, but it'll be good when the new release ships. Jakob Neilsen has announced the top ten web design mistakes of 2005 and "Legibility Problems" are number one. This isn't a surprise to me. Many websites, including some big names, are totally broken if your browser defaults are light text on a dark background, because that's easier on your eyes. I once spotted the Disability Rights Commission getting this wrong. Even planet.debian.org is missing a:link color: ... . The second top mistake is bad linking, including:
"In particular, don't open pages in new windows"
.which is another thing which I find irritating on many sites. If I want a new window, I'll pick the link for a "new window" from the context menu, or by shift-clicking. Does Mozilla or Firefox or something have an "ignore _blank link targets" option yet? It's only a matter of time. My own company's web site has been updated and I've tried to take these on board. We don't do any of the worst things, but there are always things we can do better. Our site isn't that high a priority - there's so much else to do. The W3C's internationalisation working group has issued a note on working with time zones. I get a lot of unusual time zone requests while programming, but I'll remember these explanations and I think I usually follow the recommendations in s1.5 anyway. Also from W3C is a Working Draft of "Mobile Web Best Practices 1.0" which they'd like feedback on, if you use or develop for mobile web devices. At first glance, it seems that many of the items are stronger versions of the Web Content Accessibility Guidelines. PlayStation chipping is legal in Australia but not in the UK, where it was ruled illegal last year. Chipping is the practice of adding a part to the games console so that it can play imported titles. If the chipping and the risk of breaking it costs less than the difference between imported and domestic releases, some people will want to do it. It's competition between markets. I remember similar things for the old cartridge-based machines of my youth. UK law-makers seem to be trying to kill off that trade in favour of foreign companies that want to tightly control the consoles long after they've been sold. The ruling from Australia might bring the start of a backlash against the increasingly restrictive UK laws, but it's more likely that the EU, US and others will press Australia to fall into line. Copyright seems to be one of the few areas where free trade is being reduced, rather than increased. And finally, I remember the feeling of getting sparc32 Linux working.

Next.

Previous.