Search Results: "mak"

24 January 2007

Arnaud Vandyck: IBM to release Java6 (early release)

Sun is now going Open Source for their JDK and that's a very good thing. A lot of people participate in this and I enjoyed when Mark and Dalibor called me to share the news. I thank every people who worked on open sourcing Java but it's not the point here. The first thing that makes me not so happy was that Sun has no plan for PowerPC (and I can understand, Apple does not use it no more and it's an IBM product!). The second thing is IBM not announcing their SDK to be open source. IBM also does a lot of things in FLOOS, in Java, IBM is behind projects like Eclipse or Harmony. But there is nothing for Linux on PowerPC at Harmony: platforms; downloads. read more

Pierre Habouzit: If Mr Perrier wants answers on the ground

You're pretending people are mocking Mrs Segol ne Royal because she's a woman, well, I don't think it has any chances to be true. It's IMHO a reason for many people to be addicted to her without even thinking to listen to what she says. I've listened to many of her interviews, those are pathetically void and empty. She's not able to use correct and decent French, and when I listen to her, I'm often under the impression to talk to my butcher. If I imagine her in the middle of an internationnal summit, I'm just plain afraid. When I try to sum up her ideas, I come up with a big nothing. That's just air and wind. I can't say the UMP is very kind with her but hey, she's a candidate to the presidency, she should grow a skin, chose a real communication manager (Montebourg, BWAHAHAHAHAHA), etc Recently, presidency candidacy has begun to look like a show. She's making pirouettes over pirouettes. How can you blame other candidates to just push her a bit so that she fall on the nose ? That is indeed unfair, but: So I'm under the impression that you defend her because she's a woman, which is certainly a way for chosing your favourite candidate, but it's not in my criterion list (neither as a pro or a cons) for such an election. And I'm not that sure she won't attend to the second turn. The "She's a woman" criterion will weigh on the election in a way that we didn't met before, and that is very hard to estimate.

Evan Prodromou: 4 Pluvi se CCXV

The server that this site is running on is a Debian sarge machine with some backports.org packages for things that I just have to have up-to-date. This has been a pretty successful strategy for me for running servers... except for one thing. If you're running any PHP code, you really need to have an opcode cache like eAccelerator running on your server, too. Otherwise, every single hit to a PHP app loads and compiles every single PHP page it uses before executing. For any kind of load, and any kind of non-trivial app, it's just not a question. But there's not an eaccelerator package in sarge or in backports.org, so I built my own, which I have to keep up-to-date with PHP packages coming down the line from backports. Today, I upgraded from PHP 5.1.x to PHP 5.2.x, and I rebuilt eaccelerator, and... blammo. Segfaults all over the place with MediaWiki, and Drupal decided it wasn't going to save sessions any more. Turning off eaccelerator was enough to solve the problems with MW, but I had to track down this Drupal-PHP-5.2 bug and apply the patch to make Drupal work again. Of course, performance is sucking because there's no opcode cache. I kind of hate that kind of day. tags:

xcache Update to that: I tried out xcache, and it seems to be working fine. So, y'know, hopefully that project keeps working in the future. tags:

Pirates So, probably the most interesting thing about getafirstlife.com is that the image chosen to represent analog reality is a bunch of kids dressed like pirates. That is one of the selling points of First Life, I guess. tags:

Goethe I had a really good class at the Montreal Goethe Institute yesterday. I'm continually impressed by the facilities there. My class did a little tour of the building, including the half-size movie theatre, the huge reading room (with the day's German newspapers), and the big library. They even have a TV going with the Deutsche Welle satellite feed coming in. It's a pretty cool thing to have this kind of resource in Montreal. tags:

Mon pays Speaking of great resources in Montreal, Amita June and I went for a walk through Parc LaFontaine today. It was a balmy -8C (18 F) and the sun was shining on the snow. They've opened up the pond for skating, and there were about a dozen people lazily twirling around on the ice. Well... they looked lazy. They were probably working pretty hard. Our stated purpose for the walk was to get to the Biblioth que centrale-jeunes on the other side of the parc. The main Biblioth que Centrale shut down about a year ago when the new Grande Biblioth que opened down by UQAM. But they've kept the children's library open, and Amita June's just at the age where she can actually enjoy it. It was really a very nice library. There were a ton of books in good shape, lots of open tables, and a couple of billion toys, blocks, and games to play with. Amita and I both got library cards, which should be pretty fun to use, and we played around with the different books and such. They also have story-time hours at 10AM each weekday, so we'll be going back soon. Amita's favourite part of the library, though, was a big rock dove they had. It had a nice cage with water and toys and mirrors and stuff, but it seemed to like walking around on the shelves better. Amita followed it around making dove noises -- coo ca coo! Our trip back across the parc was pretty nice, too. The kids in the school there were out for recess, and they had built some epic-scale snow forts and were involved in an 18-sided snowball fight as we passed. There was also a passel of kids from a nearby garderie (daycare) who were making Inukshuks out of hardened snow. By the time we got home, we were pretty exhausted, but glad to have gotten some winter outdoor time. tags:

Christian Perrier: Respect

Dear M. Mouette, in my world, calling someone by his/her first name is a sign of familiarity and proximity. In short, when I use someone's first name, this is because I share something with him/her. As far as I can tell, this is a pretty common habit inside political parties. You know, the things very few people in our country involve themselves in (myself first), which makes easier later to complain about the lack of political conscience in our country. Please also note that I do not tend to write down my blog posts with the same care I write my professionnal reports or work. In short, I may sometime include wording mistakes and even sometimes use some inappropriate ways to share my ideas. This is the blogosphere, my friend... As far as I have re-read it, that "inappropriate" use of Segolene Royal's first name happened once in the entry title while the remaining of the blog post was appropriately balanced. I also tend to use respectful wording to mark my distance with someone. I use the same when choosing between "tu" and "vous" in our language. It even sometimes goes to the point that this is done on purpose. I would have rather appreciated comments about the general content of that blog post more than the way it was written. That is also respect, so please don't give me lessons about respect or I will have to seek for correct translations of "l'h pital qui se fout de la charit ".

Martin F. Krafft: A good interface for selection?

I am working on a script to help me switch mail profiles from within vim, because mutt's profile abilities are seriously limited (even with muttprofile). The script will have three modes: manual, menu, and auto. In manual mode, you tell it something like switch-profile debian and it converts an existing mail to use my Debian profile. In menu mode, it displays a menu of available profiles, and in auto mode uses heuristics defined by the profiles to determine which one to use. My problem at the moment is menu mode. What I want is a good selection interface that (a) works over most any terminal, and (b) allows quick and dependable keyboard-driven selection. So far, I've had multiple ideas:
  1. A simple shell script that would assign [0-9a-z] to the profiles and then expect me to press one of the letters to select the profile I want (also see ssft). I don't particularly like this because if I added a profile to the presumably alphabetically sorted list, I'd have to relearn which keys to press when doing quick (subconscious) selection.
  2. debconf, which comes with multiple interfaces, but doesn't really seem made for the task. In the end, it would probably end up giving the same experience as (1) above.
  3. A method which I've implemented in the script (run it with the --menu option), which is reminiscent of "autocomplete". I need to add arrow selection and I have to figure out how to actually access $result from outside the while loop (this method doesn't work, because I need stdout for the interface and I have not managed to figure out using file descriptors 3 and above), but I already like it very much, although it seems rather brittle so far.
Do you have any other ideas? Or do you know of a tool/library I could use for this? I'd much rather have this work without having to install a separate package, but there's also no point in reinventing the wheel. PS: I am using POSIX shell for this even though Perl or Python would be much better suited, simply because it's faster and available everywhere. NP: Man on Fire / Habitat Update: Jan Hudec points me to Vim's console-menus and now makes me ponder whether I want a vim-only solution, or one that could be used by friends of other editors too. And Simon Huggins is trying to get me to use htag, which I'll have to check out.

23 January 2007

Lars Wirzenius: Debian: Project Ummikko: Final report

Last July, I started an experiment, called Project Ummikko, with a friend of mine to see how well Linux is suited for a new user who has used Windows for many years, but is not a techie. I installed Debian, with GNOME, for her, and she went cold turkey: she started using Linux only, unless there was something she had to do, but could not achieve under Linux. It has been half a year, and it's time to report on the results. Translating and abbreviating her own words:
The good part of using Linux is that I don't need to worry about viruses or defragmenting the hard disk and so on. I would be happy to remain a Linux users for things like that. In basic everyday use I'm happy. The things that make me want to return to Windows are gaming, flash and other multimedia, and a feeling of helplessness. I want to play Alpha Centauri and adventure games I can borrow from friends. Flash doesn't work, and installing software from Debian via Synaptic is difficult, I'm not comfortable with it. With Windows, I'm used to being able to go online to find a program to solve some problem I have, or some plugin I'm missing, or some toy program I want, and after a few mouse clicks, I have it installed. There's many things that just don't work with Linux, like Second Life, or when my ISP would give two free movie downloads this month and next, but it only works on Windows and Mac. I have a feeling of being left out. I could manage with Linux, with the assumption that I have someone like Lasu to do installation and tweaking. The best thing about this experience? It was interesting to be able to make the experiement, the meta level has been the best thing. The best thing about Linux is the kind of maintenance things like no viruses or defragging, Linux doesn't rot like Windows does.
After we had the above interview, I upgraded her Debian, and this fixed at least most of the problems related to flash. Synaptic remains uncomfortable, and there's not much that can be done about Windows-only software. I was pleasantly surprised by the results. I had expected much worse problems, but I'm happy to report now that Linux really does seem ready for the average Windows user. The uncomfortability of Synaptic may be partly due to the fact that it is a different model from Windows: you get all your programs from one place, instead of anywhere on the Internet, partly due to just not using Synaptic much at all, and partly due to Synaptic not being perhaps as easy to understand as possible. I personally find Synaptic to be very nice, and use it regularly, but I am biased by having used Debian package managers for over a decade. Even if she had learned to use Synaptic, it would, of course, not have been enough: there's lots of Linux software that hasn't been included in Debian. My friend therefore feels that it would be nicer, more liberating, to be able to just download any old Linux software from a web page and install it easily. My conclusions: package management for Debian based systems could do with some work targetted towards neophytes. I am sure there are things that could be done to make package installation easier, less daunting, without dumbing down the system.

Erich Schubert: How Skype cheats

Ever noticed the following with Skype: Go offline while several of your friends are online. Suspend your computer. A few hours later, resume your computer and go back online with Skype. Notice how it claims all the buddys that were online when you disconnected just came online? And a few seconds later, some of them all go offline? And several minutes later, they even come back? Skype (well, at least version 1.3.0.53, YMMV) obviously caches which users it has seen and just assumes they are still online. When it then has actually connected to the Skype network, it notice that none of its peers has them and decides that they maybe aren't online after all. Then it actually searches them throughout the network, and when it has found them puts them back online again. Thats what I call cheating. Other IM services are much more reliable here. And other IM services - at least ICQ and many Jabber servers, though not Google Talk - also have offline messages. I.e. you can write messages that will reach the receipient once he goes online again. Skype again cheats on these: if you send such a message, it will after some time display the notice that sending it failed. The next time both of you are online, it will actually be delivered. This can result in suprisingly old messages, and makes connecting to people much harder: for putting someone onto your list, you also have to be online at the same time. Assuming that you are using Skype only during work hours and going offline inbetween, this makes communicating with people in different timezones a pain. File transfers with Skype are also a game of chance: If both of you are somewhat firewalled (e.g. behin a DSL-modem-router combo), it often can't transfer directly. Instead it picks a random "super node" with large bandwith for transferring the files. However, the super nodes bandwidth isn't always as good as expected by Skype, so sometimes file transfers with Skype are awfully slow, even when your line isn't busy. MSN for example (though I do NOT suggest using MSN), is using it's own, well-powered servers to handle such file transfers (or maybe all; thats why I don't really suggest using MSN, since I've only seen it transfer my files through microsofts servers...). But usually file transfers via MSN - especially in firewalled situations - are much faster than with Skype. (A drawback of them is the short timeout) So consider using XMPP/Jabber (= Google Talk) instead. They are more reliable, and an open, well-defined, extensible standard.

Erich Schubert: How Skype cheats

Ever noticed the following with Skype: Go offline while several of your friends are online. Suspend your computer. A few hours later, resume your computer and go back online with Skype. Notice how it claims all the buddys that were online when you disconnected just came online? And a few seconds later, some of them all go offline? And several minutes later, they even come back? Skype (well, at least version 1.3.0.53, YMMV) obviously caches which users it has seen and just assumes they are still online. When it then has actually connected to the Skype network, it notice that none of its peers has them and decides that they maybe aren't online after all. Then it actually searches them throughout the network, and when it has found them puts them back online again. Thats what I call cheating. Other IM services are much more reliable here. And other IM services - at least ICQ and many Jabber servers, though not Google Talk - also have offline messages. I.e. you can write messages that will reach the receipient once he goes online again. Skype again cheats on these: if you send such a message, it will after some time display the notice that sending it failed. The next time both of you are online, it will actually be delivered. This can result in suprisingly old messages, and makes connecting to people much harder: for putting someone onto your list, you also have to be online at the same time. Assuming that you are using Skype only during work hours and going offline inbetween, this makes communicating with people in different timezones a pain. File transfers with Skype are also a game of chance: If both of you are somewhat firewalled (e.g. behin a DSL-modem-router combo), it often can't transfer directly. Instead it picks a random "super node" with large bandwith for transferring the files. However, the super nodes bandwidth isn't always as good as expected by Skype, so sometimes file transfers with Skype are awfully slow, even when your line isn't busy. MSN for example (though I do NOT suggest using MSN), is using it's own, well-powered servers to handle such file transfers (or maybe all; thats why I don't really suggest using MSN, since I've only seen it transfer my files through microsofts servers...). But usually file transfers via MSN - especially in firewalled situations - are much faster than with Skype. (A drawback of them is the short timeout) So consider using XMPP/Jabber (= Google Talk) instead. They are more reliable, and an open, well-defined, extensible standard.

Raphaël Hertzog: More fun with Linux and serial ports on slow hardware

This is a never ending story for me. The first time I’ve had problems with Linux’s handling of serial UART dates back to 2005 (see my previous blog post on buffer overruns). At that time I could improve the situation by applying two patches (kernel-preempt and low latency). One year later, I have a situation where the buffer overruns are again easily reproducible at slower baudrate (54 kbauds), arguably there’s more than a serial application running this time, and it looks like the load generated by other processes (mainly watching digital I/O) renders the system less reliable with respect to its handling of serial ports. This time I follow the advice to try out the 2.6 kernel because many “real-time improvements” (coming from the -rt branch, check its wiki) and “embedded improvements” (coming from linux-tiny) have been merged. So I tried the stock kernel with very bad result. Results are better than the stock 2.4 but they are worse than the patched 2.4. So I decide to try the -rt patch on 2.6, but this patch doesn’t work on my CPU card and my bugreport didn’t lead to any fix (nobody responded even though I tried hard to include the necessary information and I was ready to do whatever I would have been asked to try). At the same time I explain my problem on the linux-kernel mailing list. The discussion doesn’t answer my questions but still brings two ideas to try out. In the end, with two simple tweaks to the stock 2.6 kernel (mainly configuring the UART to send the interrupt as soon as the first character arrives, instead of waiting for 8 chars to accumulate in the FIFO) I have been able to get something better than the patched 2.4. And it turns out my first choices for the 2.6 kernel configuration have not been very wise so the comparison between stock 2.4 and stock 2.6 above doesn’t mean much. Unfortunately, even if better than the patched Linux 2.4, it still doesn’t give good results in some conditions. So my primary question remains: is there a way to patch my kernel so that it will handle the serial related tasks (servicing interrupts from the UART mainly) as its primary job ? I don’t mind if such a change impact negatively the speed of the system if I can make sure that my serial exchanges are reliable. And by reliable I mean of course no buffer overruns, but there’s a second similar problem that has been discovered: when using software handshake, the system can send out between 10 and 25 characters after the partner has sent its XOFF. Sending up to 6 characters after the XOFF is ok, more is asking for troubles because the UART on the other side will probably encounter a buffer overrun… If you have any idea on how to resolve my problems, by any means, let me know.

Zak B. Elep: Smarty enough for Smart Bro, and 3G

Finally, I’m now on broadband! :D I made the move today to Smart Bro as they have been touting a promotion offering free installation and a 384 Kbps connection via their Canopy system. As I’ve been mostly offline (or slightly online, counting the occasional GPRS modem connection on a GSM network) I figured that this is the best way at the moment to get broadband connectivity, as the only DSL choices available locally have been either seriously damaged (due to the last supertyphoon) or excessively priced (with unpredictable foreign-currency adjustments.) So, needless to say, I’m now enjoying myself with this new investment. Adding to this, I also got a new Netgear WGR614v7 wireless router so I can share the connectivity with perlis. While not exactly as flexible as the famous WRT45G from Linksys, it surely does the job to sharing the Net, so I’ve no complaints about it. And I’ve no complaints about the service offered by Smart Bro, either; the installer did an absolutely good job of making sure that the Canopy SM is on the most receptive direction and even gave me some pointers on what to expect with such a connection. Actually, I’ve already made arrangements about the peeves experienced by other Smart Bro users by taking a cue from Joey Hess by setting up the right service caches and by being not too abusive with my expectations. But, I still have a lot to expect with this new connection. After all, I still have a few more items on my TODO that needs doing, namely writing about what the hell happened to me since last month until now, and my future directions (erm, resolutions) for this new year. Ah well… … but first, I need to do some monster dist-upgrades… :P BTW: a UMTS (3G) signal has finally been broadcast in Daet, giving me a reason to also have smart-3g as a backup service in case the Canopy goes down. Yipee!

Erich Schubert: DBus inspector

I've been working a bit more on DBus inspector. Python is so much fun and PyGTK just rocks. I love you, guys. :-) Ok, not everything is working right yet. I tried making the app multithreaded, and putting the DBus handling into a second thread, but failed at that so far. Getting threading work right with Python and GTK and DBus is just too much, I guess. :-) Here's a screenshot: DBus inspector screenshot You can grab the code temporarily from this location. It's rather crude, undocumented (fortunately Python code is quite easy to read) and still lacks some interesting parts (e.g. icons to differentiate between services, interfaces, methods, signals, ... and of course actually displaying method signatures or even allowing you to invoke them...) - but it's a start. Note that DBus using applications support introspection at varying levels - NetworkManager doesn't have a useful introspection description, and gaim goes the other way by apparently exposing every single method during DBus, so you can do the craziest stuff (but it's hard to find the method you are actually looking for).

Erich Schubert: DBus inspector

I've been working a bit more on DBus inspector. Python is so much fun and PyGTK just rocks. I love you, guys. :-) Ok, not everything is working right yet. I tried making the app multithreaded, and putting the DBus handling into a second thread, but failed at that so far. Getting threading work right with Python and GTK and DBus is just too much, I guess. :-) Here's a screenshot: DBus inspector screenshot You can grab the code temporarily from this location. It's rather crude, undocumented (fortunately Python code is quite easy to read) and still lacks some interesting parts (e.g. icons to differentiate between services, interfaces, methods, signals, ... and of course actually displaying method signatures or even allowing you to invoke them...) - but it's a start. Note that DBus using applications support introspection at varying levels - NetworkManager doesn't have a useful introspection description, and gaim goes the other way by apparently exposing every single method during DBus, so you can do the craziest stuff (but it's hard to find the method you are actually looking for).

Ian Murdock: Babies, bath water and open platforms (cont.)

More Knowledge@Wharton: “Following the model that made Microsoft’s Windows so successful, Microsoft licensed PlaysForSure to multiple hardware vendors of digital music players. ‘We thought that was a brilliant strategy — [develop] an open ecosystem, get a lot of people [to support it].’ What happened? As Ballmer puts it, ‘In this particular case, the whole was not bigger than the sum of the parts.’” As I said the other day, an ecosystem is never the sum of its parts it s either a whole lot more or a whole lot less. Microsoft was decidedly on the wrong side of the equation this time. Yes, Microsoft did what it had to do to compete effectively. Question is, will this make it harder for Microsoft to build the next ecosystem? And did the tactics Microsoft used to benefit from the last one play a role in the outcome this time? (Via Mary Jo Foley.)

Steve Kemp: I dont mind not knowing what lies down the track

I’ve got my first real rails application working correctly - a simple online bookmark system, which is scuttle-lookalike. (This is part of my master-plan to remove PHP utterly from the few remaining places where it exists upon my server(s), so it isn’t as pointless a project as it appears to be!) It is pretty neat, and it handles most of the things you’d expect. Fetch it from CVS and install it with the following recipe:
cvs -d :pserver:anonymous@cvsrepository.org:/home/cvs login
cvs -d :pserver:anonymous@cvsrepository.org:/home/cvs co bookmarks
cd bookmarks/
mysql --user=root -p -e "CREATE DATABASE Books_development"
rake db:migrate
ruby script/server
Once that is done point a browser at http://localhost:3000/ - and you should see something like this. (If there is no admin user setup it will display a “signup” link, once there is an admin defined this will go away. When you’re an admin you can view/edit/modify all the bookmarks which are set to “private”.) I’m new to rails, and ruby for that matter, so if this is packaged badly, or is missing something to make it work please do let me know. Updated: Changed from download to the CVS repository. I also have a collection of tools for exporting from Insipid & Scuttle if they are useful let me know.

22 January 2007

Benjamin Mako Hill: Accents

One of my pet peeves is people telling a non-native speaker of a language that they have no accent. Saying that a person has no accent is like saying that they have no temperature. Annoyingly, people frequently say that also.

Eddy Petrișor: Is bad ...

...when you promote bad attitudes. Is worse if you make it visible. Even worse if you are proud of your bad attitude.

Julien Danjou: DeFuBu contest #6

Bug Welcome to this 6th issue of the DeFuBu contest, the monthly (even if I'm late) championship of the funniest bug reported to the Debian BTS. The challengers How the vote has been done Three Debian related people voted for these bugs, Mohammed Adn ne Trojette, Pierre Habouzit and Florent Bayle Full ranking Bugs Challengers The winners Notes To participate, simply drop me an email with a bug number. About DeFuBu

Ian Murdock: More on the importance of backward compatibility

There were a lot of good comments on my post about the importance of backward compatibility the other day (both here and in the blogosphere), and a lot more of them were positive than I was expecting, which I find encouraging. A fair number of people called me out for using such a bad example—come on, changing the OS to fix a buggy application? Fair enough. Perhaps I diminished the point I was trying to make by referencing that extreme example, but it’s a worthwhile example for one reason: At Microsoft, the user experience comes first, notbefore developer sensibilities. Fortunately, as others (rightly) point out, it’s hard to imagine a situation where such extremes would be necessary in the Linux world—for one thing, we don’t have the sheer number of legacy binary applications to deal with, nor do we have the same volume or average user profile as Windows. But the point stands. User experience should always win. If you want another example, one from a company who any developer would agree is an outstanding engineering organization, here’s one: “Sun has maintained binary compatibility between operating system releases for nearly a decade, enabling existing Solaris applications to run unmodified on Solaris 10. This means that Solaris applications developed ten years ago will run on Solaris 10 unchanged, taking full advantage of new and advanced Solaris features.”

MJ Ray: Cooperatives SW

Cooperatives SW is the regional council of cooperatives and mutuals in South-West England (Gloucs, Bristol, Wilts, Somerset, Dorset, Devon, Cornwall and the Isles). I attend on behalf of the small workers' cooperative partnership that I work for. At the 2006 AGM I was elected to its steering group and today (2007-01-22) is my first meeting. I'll be going along and learning about how coops are communicating and marketing in the region, and hopefully something about the nuts and bolts of structural funding. I think that's what BASIS bids are. I'll be travelling to the meeting by train on First Great Western, who have hit the headlines this morning because of a mass protest against overcrowding on the Bristol-Bath route. It'll be extremely unusual if there's any overcrowding on daytime Bristol-Taunton trains. I'll bike to the easiest station, but I can't remember whether I can take my bike on these trains. Update: The above was blog 128 on the BBC's First Post blog. Firstly, funny to be a power of 2. Secondly, the name just makes me think of hot grits and Natalie Portman.

Jan Wagner: completely d^Hgone

Today it happen, what I know it would happen some day. My grandfather is not in this world anymore.
I don’t know, if there is anything other, where he could be now and unfortunatly it seems we aren’t experience it until we are in the same situation.
It’s hard for me to write whats going on in my head… If it was okay for my grandfather to leave us, it’s also for me, but I will miss him. It makes me distraught that I’m so far away since 5 years now and wasn’t able to visit my family more often. See you again, where ever you are! ,

Next.

Previous.