Search Results: "sto"

22 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:

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:

Brett Parker: So, why did I leave Norwich and move to Brighton...

MJ Ray in Will the last ex-UEA-er to leave Norfolk please switch out the light? asks why lots of people are now leaving Norwich... In my case, it was fairly simple, I wanted out of Paston, I hadn't really had time to look around as such, so when JD suggested that there was a job going at Runtime and would I be interested, I kinda jumped at the chance, threw across my CV (which still badly needs editing), and got an interview. As soon as the results where in, and I knew I had the job, I handed in the magical letter of resignation to Paston and moved my arse down to Brighton. It's a much better job, with more fun things to play with. Asterisk has been rocking my socks recently, and we should now have an almost fully functional set of phones on the asterisk pbx in London (which I'm maintaining from Brighton \o/). Anyways - it's nearly the weekend, and this time I *WILL* finish off reading the licences and throw Myon a mail (promise!).

MJ Ray: Will the last ex-UEA-er to leave Norfolk please switch out the light?

A surprisingly high proportion of ex-UEA people stay in the area after finishing at UEA. Over 40% want to, according to the local chamber of commerce. Eventually, that number falls: with John and Brett leaving, I think I can now count on one hand those from my Norwich years (1994-1998) who I know are still here. Most left some time ago. Why? Small place syndrome? Underpaid work? Both? Possibly. It feels like only in Norfolk could the train station start to expand its car park to cope with demand and the same week most train services to it are cancelled because a Cambridgeshire farmer drove onto the single line stretch, was killed and it takes at least a day for access and safety checks in this sparsely-populated area. From the BBC's picture, the unit involved was one of the commemorative King's Lynn "picture trains". You seldom hear what happens to the damaged trains and injured drivers. I guess the railways and the media doesn't like to worry passengers. Even the Potter's Bar investigation ending only got brief mentions that I saw. Also at the train station, local police put out a picture of people they would "like to interview" about the spate of recent bike thefts. Possibly as a result, they've charged one man. Someone I know had a bike nicked, which meant a long walk to/from work until it was replaced. Very annoying. The sort of petty bike vandalism/theft which annoyed savs is also on the increase here again. I'd've expected nicked bikes to sell better in summer, but maybe the local crims are thick or there are more easy-to-nick bikes in September. At least it's not Fakenham, (which is one of the most boring places on earth, you may remember - original source ) where the headline story is that the kerbs are too high. I'm sorry someone was hurt, but kerbs here seem tiny compared to the ones in Northamptonshire. Probably they've all been lowered for safety there too now. As a result of adding Dave's blog to Planet ALUG, I noticed BritBlog for the first time. I spent a while browsing the other Norfolk-based blogs on it one evening. Unsurprisingly, I knew about most of the ones I found interesting already, apart from Ztroller who links to me... erm, why? Does he read this? Most listings are from blogspot and I still won't add Atom support to my blogging software - I want to read, not edit, so Atom is mostly extra cache filler. I only added Really Simple Syndication as well as RDF Site Summary because it was fairly cheap to do and I didn't know about the obvious way to get RSS 1 from Wordpress. Finally, in local(ish) concerns, Northern Ireland, from Noodles' emptiness:
"while I'm ranting, why is the adjective for someone from the UK "British"? Britain doesn't cover all of the UK. I wasn't born in Britain yet I'm British. Can't I be UKish or something?"
I'd hate to be called UKish. I don't have any particular affection for this Kingdom's political boundaries. If the UK ended tomorrow, would anyone besides its rulers mourn? I'll not thank you if you call me British. I'm English, a midlander and Towcestrian. British nationality is a side-effect. (And why is it so hard to get .gb domains anyway?) It's odd that there's such argument over England's anthem. So there is imagery or irony involved in Jerusalem, depending how you want to view it: who cares? It's rousing (unlike the UK dirge) and mentions England past. Yikes, I've just discovered I'm agreeing with Billy Bragg of all people. As for the UK, why don't we work together with others when we agree and work independently when we don't agree? Unfortunately, few politicians advocate English self-rule, apart from racist bigots and English imperialists. The really depressing thing is that those sort of people would probably easily get a majority in any English legislature, if backed by the mess media. Maybe Britain is diverse enough that it balances the extreme English... diverse we are or de verse it gets... (ouch)

James Morrison: Attempted suicide #2

So, on my way home again, another vehicle (a mini-van) decided to illegally take the right of way away from me. This time the driver decided to run a red light and almost hit me. WHY CAN'T PEOPLE DRIVE?

After my flat tire, I took my bicyle into the store where I got it for a free tune-up and to get the tire fixed while I was there. They had my bicycle for a week, because they didn't call me when it was done. When I picked it up, the back tire was flat and the front derailer cable wasn't tighten and they had somehow messed up the rear derailer. At this point, I've decided it's not worth going back there, and I'll fix the gears myself. I know, I won't get them right the first, second, third time, but it will be worth the effort.

Randomness: Ataxx is a pretty cool game, it's in the gnome-games package. My planet is back.

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

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.

Romain Francoise: Obligatory package pimping

Two new packages this week in emacs-snapshot: the first is savehist.el, a package to save minibuffer histories (grep, compile, shell command, M-x, etc) between sessions; the other is rcirc.el, a spartan IRC client which is noteworthy because it's the first IRC client to be shipped as part of Emacs. The more advanced ERC is to be installed at some later time, for now M-x irc points to rcirc.

Get it from your nearest mirror in about 24 hours, I missed tonight's dinstall by a few minutes (uploading 57M of packages takes some time).

Uwe Hermann: smashmyipod.com - You donate, we smash!

This has got to be the funniest cause someone has ever requested donations for:
After we collect $400 in donations, we will take that money to a local Apple Store. We will purchase the iPod, open it right inside the store, and destroy it right on the spot. The whole thing will be shot on film, and displayed on this site. This is only a social experiment, for the entertainment of the donors, and visitors of this site.
The $400 are raised, so expect the video anytime soon...

Andres Salomon: wow

8th Ave at 3am is a pretty scary place. Port Authority had closed the subway entrance, so after my bus got into NYC, I had to find another way in. Naturally, I wandered the wrong way, but I found an entrance after a while. On the way out of NYC (last Wed), I had some time to kill before my bus left, so I wandered around a bit. I wanted to check my mail, so I stopped into a Starbucks figuring they’d have an open access point. I’m not sure whether theirs was amongst the 8 or so active networks that showed up when I scanned. The strongest signal came from an AP with an ESSID of “Porn Palace”, so that’s the one I used. I assume it was one of the fine establishments operating across the street, selling various adult toys and videos. Ooh, almost 5am already. Tomorrow’s going to be fun.

Adam Rosi-Kessel: Menino v. Hennigan Debate

A couple of weeks ago, I asked why the Boston mayoral debate video wasn’t available online. It turns out that that the great folks at WGBH, our public television station do have a streaming copy on their website, but it doesn’t show up in a few Google searches. So here it is—the Boston mayoral debate between Tom Menino and Maura Hennigan.

19 October 2005

Scott James Remnant: Parallel Peer Programming

Here at Canonical Towers we have several staff who worship at the altar of Extreme Programming, and as such many of the methodologies and rituals prescribed by that religion find their way into our day-to-day working practices. A few of these came together in an interesting way a few weeks ago, and it was suggested by a cow-orker that I blog about it so he could give the URL to people. The first ritual is that of the sprint, I don’t think this is orthodox XP but rather something inspired from it that we picked up from the Python community. With all of the Canonical developers scattered across the globe mostly working from their own homes, it’s become a useful tool; particularly for the Launchpad team. The basic idea for those that haven’t heard of it is simple, and perhaps obvious; you get a selection of the team together in one place, sit them around the same table with particular goals to complete. In effect it’s highly compressed facetime and high bandwidth interaction to nail those tasks that need it, before you head off again and work at a more sedate pace. The second is directly from XP doctrine and is that peculiar observance known as pair programming, something that is often coupled with sprints. For anybody who hasn’t encountered this before, it’s something I’ve always found rather odd. You get two programmers together, both itching to code, and you take one of them’s laptop away; and you don’t just force them to fight over the keyboard either, the laptop-less soul isn’t allowed to touch it. The theory here is that it frees the deprived individual of the hassle of coding and allows them to direct the programmer in ways that may not be immediately obbious, or alternately think about the next bit of work that needs doing. Another interesting side-effect is it can be an interesting way to learn code you’ve not worked with before, if you’re the one doing the coding and you’re being guided what to do by a sage who already knows it. I have a funny story here, so I’m going to digress from the main stream for a moment to tell it. A few months ago I was working in the London office, Mark had been up all night coding and had then given me responsibility to get his changes landed onto the Launchpad mainline. I’m not that hot on quite a bit of Launchpad, and fade to utterly clueless the nearer the code gets to the web application itself; and when trying to merge the two there were conflicts which I needed Mark’s help to resolve. Now as anybody who’s met Mark knows, he’s a pretty good example of a Type-A personality, yet he suggested that we do a spot of pair programming to get the code in and I’d be the one with the laptop as it’d help me get to grips with the affected parts. This hilighted something I’ve always seen as a problem with pair programming, dealing with it when the a person with the keyboard has a totally different way of working to you. In particular, I’m an emacs user, whereas Mark is a die-hard vim user; but also right down to the working directory I would work from, how I test results, etc. When you’re the one without the laptop, this can be quite infuriating, as you know exactly how to solve a problem and the idiot with the keyboard is dithering about doing things you don’t understand just to get there. If you’re a Type-A personality, you generally snatch the laptop away at this point and do it yourself; or at least you would, if you could drive the strange editor the other person uses. I swear Mark was sulking as he gave the laptop back and let me do it. Anyway, there is some relevance to that and we’ll come to it in a moment. The third and final methodology is the concept of unit tests and more specifically test driven development. For anyone who hasn’t come across this before, I highly recommend it; I was suspicious too when Robert Collins took it upon himself to teach me the true way, but now I’m sold. Simply the idea is that if you have any code that doesn’t have another piece of code in a test suite that checks that it’s working correctly, that code is broken. More particularly unit testing involves checking just one feature or requirement at a time, and stacking them together to test all of the code paths. I’ve actually found that this improves the APIs I design, as I write the code in small blocks and functions to make them easier to test. Test driven development takes it even further, you write the unit tests first, before you write the code they’re supposed to test; usually one or two at a time. Obviously these tests will fail at first, it’s then your job to write as little code as possible to make them pass. If your code isn’t right, you add a unit test that will fail, and modify the code to make it pass. This really comes into its own when you’re fixing bugs later, once you’ve identified the bug you write a test case or two that cause the problem; these will of course fail. You can then modify the code to make them pass, and at the same time be sure you’ve not broken other functionality because of the existing test suite. I’ve also found it really useful for particularly complicated or tricky pieces of code, especially those intricate algorithms that do particularly heavy lifting. So onto the event itself, this was a sprint in our London office to indoctrinate Gustavo Niemeyer with the various projects he’d be working on. The goal for this sprint was decided to start the conversion of HCT to Bazaar-NG, and to do this Gustavo and I would pair program. Now my last experience of pair programming had been that story with Mark (see, it had some relevance) and I knew I’d be just as bad if I wasn’t allowed to have the keyboard. I was also acutely aware that if Gustavo was just sitting by and watching, he wouldn’t get much benefit from it either, so he needed to be actively involved in the coding so he could learn the things he’d be working on. I came to what I thought was a pretty neat, and obvious, solution to these problems. We set up my laptop with the code we’d be working on, and on my display were two side-by-side terminals both running screen sessions. Gustavo then set up two same-sized terminals on his, ssh’d into my laptop from both of them and joined the screen sessions. In the left-hand one he ran vi, and in the right-hand one I ran emacs. Thus we both had keyboards, and both had editors, yet could see each other working and even steal the keyboard without danger of violence. We didn’t just sit side-by-side and code on different things though, that’s not pair programming and is just ordinary programming with a bit of a voyeuristic twist. What we did was: in my terminal I started writing the test cases for the code we needed, it was Gustavo’s job to write the code that would make them pass. We actually added a third terminal in which we could run the test cases themselves; so I could run them when I’d added something that would fail, and Gustavo could run them when he thought he’d made them pass again. This turned out to be a rather fun way to work, and at one point I was almost able to try and convince myself that the code was writing itself to pass the test cases I was writing. It also got me thinking that it’d be really neat to use genetic algorithms to breed code to pass test cases.

Robert McQueen: Tweaks

Does anyone know of a Thunderbird extension to check for words like “attach” and remind you if you failed to make any attachments? Does anyone know of a way to stop Firefox interpreting Ctrl+W as “throw this window away including the wiki post/bugzilla comment/blog entry you were writing”? It doesn’t need to be mapped to delete word, I just don’t want it to close the entire thing. It’s most upsetting.

Steve Kemp: Planet Updates

I’ll stop soon .. honest .. in the mean time two planet-related updates:

Benjamin Mako Hill: Ubuntu Talk at BLU

Last night, I decided to check out the Boston Linux Unix webpage to find out when the next meeting would be and what the talk would be on. To my surprise, the talk is tomorrow and is slated to be given by none other than Benjamin Mako Hill. Hmmm. I vaguely remember agreeing to give a talk like this in general sense but don't remember ever agreeing to a specific day. In any case, I'm not one to disappoint and am working on my slides. If you're interested in some post-Breezy action in Boston, please show up! If you can't make it, I'm trying to arrange a proper release party for some point after I receive my Breezy CDs (a week or two I guess). I'm sorry for the short notice. Of course, I'm giving the talk on short notice so I'm not too sorry. Additionally, I am missing both a class and a Media Lab sponsors dinner that I was already double booked for. You should be able to cancel up to one of your prior engagements to attend. Information on the talk is on the BLU website. The talk will be held at MIT in E51-315.

18 October 2005

Joachim Breitner: Cell phone stolen, camera bought

Isn’t it ironic: I just wrote Tapu, a game for my mobile phone and spend quite some time typing 450 playing cards for it - and then, before ever having played the game, my cell phone, a SonyEricsson T630, gets stolen! And that in a very bold way: At night, from my dorm room, while I was sleeping there. And since the theif did not take my laptop or other expensice stuff, I assume he was not planning on stealing, therefore he (or she) is most likely from my dorm. Which makes me uncomfortable.Also uncomfortable is the Siemens S35 that I still got lying around here, and so is the fact that I had to order a new SIM card, that I had to notify the loss at the police station and that I lost some contacts on the phone.Out of frustration (ok, it was planned for a while now, but this gave me the rest), I bought myself a new camera (the old one went to pieces, as previously blogged). Now I own a shiny new Panasonic Lumix DMC-FZ5. It’s not a pocket size camera any more, but the 12x zoom and the large lense was just too tempting. It was actually at DebConf 5 when Ralph Amissah enthuiastically showed me his Lumix, making me interested in this kind of Camera.
I uploaded a few pictures, though nothing special yet. Have a look at this zoomed in picture versus this wide angle picture for a demonstration of the 12x zoom and compare these two pictures, both fully zoomed in, first one with image stabilizer, second one without. Again, for zoom demonstration, the wide angle view.

Sam Hocevar: Opening my non-blog

I have been avoiding blogs as much as I could ever since they became fashionable. I found them uninteresting. Most of them were slight variations of the everlasting alternation of friends (or children s, or pets ) pictures and reports of how the day before (or yesterday s movie, or life) was great (or sucked, or was utterly boring). I did not read them, but they started invading my life nonetheless, spamming search engines and diluting information. But I could cope with the Google noise and just ignore blogs. Then, blogs started to carry opinions, not just feelings. They are now seen by many as a new kind of journalism, yet most of them suffer from the obvious bias that the entry poster is the same person as the comment moderator. Having been banned countless times from Slashdot for bashing moderators or simply attacking the general groupthink, I was not surprised at all to see a few of my comments removed from many blogs. How could I not hate blogs as a means of communication? In mailing-lists or on Usenet, when people disagree with you, they answer and argue, they don t remove your messages. Blogs have become the most selfish variation of the web bulletin board. But I could still cope with the spread of flawed information and just ignore blogs. Then, blogs started to build communities. You can only be part of the community if you are a blogger. Well, it would prove astonishingly difficult for me to care less about blogger communities (though I might try). If the community is about having a blog, then I am perfectly happy with the numerous communities I am a part of that are not about me having a blog and I can just ignore blogs. But today, I have a problem. Even within tech-savvy communities such as the Debian developers, discussions can occur that are not taking place in the common channels (such as the mailing-lists) but on blogs. There are people who are following Planet Debian but not the debian-devel mailing-list. And the reason can definitely not be that debian-devel is full of noise or flamewars: it is incredibly easy to kill a thread in a mailing-list, whereas it is virtually impossible to filter out the new fucking blog meme that spreads everywhere and about which I do not care. Also, people no longer subscribe to mailing-lists, it seems too tedious. Instead, they prefer to hammer RSS feeds every fucking five seconds to know whether something new just happened. So, here it is, my non-blog. My RSS-feed-without-a-blog. You can subscribe to it if you are too lazy to get informed through the other channels about libcaca releases, my Debian bugs, PWNtcha development, my work on VideoLAN, the next talk I am giving. It appears nowhere on my webpage but you can still subscribe to it.

Jesus Climent: cplay is THE player

Although I have to say that moc (and its client/server idea) is appealing, eventhough one cannot connect to a remote server but to a local one, my player of choice is cplay. It is simplicity and usability at its best. And it is a frontend with FF/REW capabilities, with a playlist and filelist navigator, does not stop playing the current song when you navigate the file dirs... Try it and fall in love.

Scott James Remnant: bzrk 0.1

Over the weekend in a stunning example of timing, fabbione showed me a screenshot of gitk, the branch visualisation tool for git that he’s discovered while getting the Ubuntu kernel patches into a branch. He, quite rightly, was upset that we didn’t have anything like this for bzr. Well, we do now: It’s implemented as a bzr plugin, so you simply run “bzr visualise” (or “bzr viz”) in a working tree and the window opens to show you the history. Download here

Next.

Previous.