Search Results: "ms"

4 June 2007

Michal Čihař: Gammu roadmap for near future

As new API is currently in pretty good shape, stabilisation period for 1.12.0 will begin soon. There should not be any major changes (well some might be in 1.11.92 this week, but no further). 1.12.0 should be unleashed within two or three weeks. So maybe it's now time to start thinking about changes in 1.13.0. As requests for supporting Motorola phones increase, I will try to work on this. Most of information which changes this require is written in bug report, but I'm still unsure how big changes it will require. Other thing which should be improved is vCard parsing. There are lots of opened bugs for this and I see this as big problem when trying to import some contacts from other programs.

David Welton: Rails Distributions

A random idea: rails distributions that include what "should be included in the core". I'm not the first to think of it (google finds several others), but I have been mulling it over lately, and I think it's a good idea. Nothing too fancy, simply a tarball or gem that includes rails + the stuff that you end up installing every time you set up a real web site with rails. Of course, "what to include" is the big question, so the best thing would be for lots of people to try, and see what sticks. Here's what I always end up installing: Acts as Authenticated Exception Notifier And I recently found another one that seems to be pretty small, and very handy: Condition Builder because I usually always end up having to build up complex queries with dynamic components with any sort of more advanced search, and this makes it much easier, and more fun. However, I'm sure more advanced Rails users can add to that list. The trick is to nail those things that you pretty much always end up installing sooner or later as your project grows in complexity. Perhaps at that point a gem could be created that installs them...

3 June 2007

Michael Prokop: Linuxdays in Vienna 2007: done

Linuxdays in vienna were fun (as usual). Lessons learnt: I was responsible for the booth of grml (Linux live-cd for sysadmins and texttool users) as well as for the ones of Debian and Debienna (Debian in vienna) - especially in the first two days, until Markus and Kira joined. Regarding the grml booth: It was once more amazing to see how many people already know and use grml. I had the pleasure to meet people from a professional data rescue organization who use grml in their daily business. Not to forget to mention all the people who let me know how often grml managed to save their lif^Wdata. Oh, and some nice ideas were brought to my attention and are now part of the todo list for grml. Very geeky was the 13 year old boy who visited our booth and when asking him whether he knows how to work on the console (he was staring at our grml-CDs with shining eyes) he replied: "YES, of couuuuurse!" 8-) I couldn’t resist in giving him a grml-CD. Oh, and we were running out of grml-CDs earlier than expected. Thanks to my girlfriend - who can even explain the difference between grml meilenschwein and grml64 to you now :-) - I had the chance to attend some few talks - besides my own one about grml of course. I once more didn’t manage it to take just a single picture :-( but I just received a pointer to the linuxdays photogallery of jostusz, thanks Sven.

Marco d'Itri: Fun with IPMI

IPMI is a standard protocol which allows out of band access to hardware features like reading sensors and error logs, turning the power on or off or accessing the serial console. This is made possible by the Baseboard Management Controller (BMC), an independent CPU which is accessed from the operating system or by sharing an Ethernet port with the OS. Most modern servers offer an IPMI 1.5 or 2.0 interface and usually loading the ipmi_si driver is all that is needed to verify if it is supported, but some may need additional parameters and/or a kernel upgrade. dmidecode is also useful to determine if the system has a BMC. After loading the ipmi_si and ipmi_devintf drivers the BMC will be accessible from Linux, e.g. using the ipmitool command. The ipmitool package will also install the ipmievd daemon, which logs events like overheating a failed fan (beware: it uses local.* syslog facility which on Debian systems is not configured by default). It is also useful to install the ipmi_poweroff driver, which will generate an ACPI power button event when a clean shutdown is requested by the BMC (you need to install acpid too). The details of accessing the BMC over an Ethernet connection varies depending on the server model and manufacturer, e.g. IBM xSeries servers are shipped with the same default IP address, username and password which means that anybody on the same L2 network (no gateway address is configured) can shut down your system: ipmitool -I lan -H 10.1.1.97 -A PASSWORD -U USERID -P PASSW0RD shell The most convenient way to experiment with IPMI is to run ipmitool shell locally and trying the available commands. These are some trivial examples:

# show the parameters for Ethernet access
lan print
# reset the system
chassis power reset
# cleanly shut down the OS and then power off the system
chassis power soft
# at the next boot, boot from the network
chassis bootdev pxe
# turn on the locator LED
chassis identify 255
# print the system event log
sel list
# read a specific sensor
# (with enough servers you could create a 3D thermal map of the room...)
sensor get "Ambient Temp"

Marco d'Itri: units(1) and the TCP windows size

How much of a link having a 100 ms latency I can use if I am using a 64 kB TCP window? md@wonderland:~$ units -v '64kB / 100ms' Mbps 64kB / 100ms = 5.12 Mbps 64kB / 100ms = (1 / 0.1953125) Mbps md@wonderland:~$ How big a window do I need to fill a 100 Mbps link having a 40 ms latency? md@wonderland:~$ units -v '100Mbps * 40 ms' KiB 100Mbps * 40 ms = 488.28125 KiB 100Mbps * 40 ms = (1 / 0.002048) KiB md@wonderland:~$ (I have just found the months old draft of this post, I wonder if there is something fundamentally wrong in it or I just forgot to send it...)

Matthew Palmer: Project Honeypot

Recently I stumbled across Project Honeypot, an interesting anti-spam system to identify and flag Internet abusers, through the use of honey pots -- systems that look innocent and attractive enough to the passing network abuser, but which actually log and flag the abuser's activity and record it for future reference. It seems cool enough -- anything that aims to stop random assholes from abusing the Internet and making life unpleasant for the rest of us is to be commended -- but I'm wondering if anyone has had any experience with the project, and has any comments? I'm considering joining up and contributing a few resources, but prior experience is always worth listening to. E-mail me at mpalmer@hezmatt.org, and I'll summarise in a future post (possibly with my own experiences, if I do actually join up).

Bernd Zeimetz: hi, planet && iso8859-15 to utf8 with netatalk magic

hi, planet && iso8859-15 to utf8 with netatalk magic Hi, Planet!
Welcome to my blog, and thanks to Martin for subscribing me. I m not going to bother you with any details about me, if you have any questions feel free to ask me on freenode or oftc (in case you re wondering: my nick is bzed).


After a longer time of planning we ve upgraded our main file server at work: New machine, new storage (7TB - woohoo!), Etch instead of Sarge and UTF-8 for file names instead of ISO8859-15. Everything not a too complicated thing, except for renaming the about 10,000,000 files from ISO8859-15 to UTF-8 in a proper way.
In theory this is easy, as convmv happily takes care of the problem. But this did not work for us unfortunately, as we re not only providing NFS and Samba services, but also AFP (Apple_Filing_Protocol) via netatalk. Years ago you had to choose ISO8859-15 if you wanted to allow your Apple and Windows users to see the same, non-broken file names - not only because AFP didn t support UTF8 before version 3, which came out with OSX1). Normally you d think that a server would not allow a client to write a file with a file name which includes not supported characters - again, OSX and netatalk go their own way here:
Characters which are not supported by the underlying file system are character(!)-wise encoded using the CAP encoding. So we had to find a way to Luckily netatalk ships the uniconv(1) util2) which is able to take care of this problem. It also updates the CNID3) Database at the same time. There s two things you need to take care of in case you re using the dbd CNID backend: Be careful: uniconv assumes that all colons in a file name are part of a CAP encoded character. That s not a problem as long as you have only Mac and Windows clients accessing your server, as both systems do not allow colons in file names. In our case we found a number of cache files from Nautilus (which is running on our sunray/Solaris web-surf terminals as default browser) with colons in the file name. I hope no user will miss them ;-) Including a final synchronisation of all files to the new storage, about two hours it took uniconv to convert the file names and a aunch break, we were finished after about 14 hours of work. Until now it seems that our users didn t notice the change at all, except for those who realized that they have much more free space now. Looks like a successful weekend so far! :-D 1) and uses a NFD variant of Unicode normalization (UTF-8#Mac_OS_X), but netatalk takes care of this and translates it into the NFC form, which is used on most other platforms 2) it s called netatalk-uniconv in Debian and shipped with netatalk 3) Catalog Node ID, another crust from old Mac OS versions

2 June 2007

Frank Lichtenheld: packages.debian.org status and development

Copy of a mail I sent to debian-www earlier today. I don't think it warrants posting to -devel-announce, but I post it here to make it visible to people not usually following debian-www. Since I seem to sense an increased stream of offers to help out with packages.d.o coming my way (but maybe that is just wishful thinking ;) I wanted to give a short update on the development of the current code and the status of the infrastructure so that nobody can claim he wanted to help but failed due to lack of information.

Alexander Schmehl: Report from the LinuxTag -- Part I (A bit of DebianDay and my talk)

Before I start with my report I need to fulfill my promise for those who stumble here from kushaldas.in: The URL of the web interface for the package description translation framework is for now: ddtp.debian.net (It's easy: Debian Description translation pproject). There might be some changes after DebConf, our annual conference, which will take place this month. So keep an eye on your language's team mailing list. But more about Kushal Das later. The first part of my report will cover a bit of our DebianDay and of course especially my talk ;) More will follow later. Friday was DebianDay and I attended Holger's talk about debian-community. It's a quite interesting project, trying to solve the problem, that there's not much between real DDs and the rest of the world. It's more low level than the Debian maintainers idea floating around for a while: Look around, you'll see much contributors to Debian, who are not maintaining any package. The idea is basically to have kind of bonuses for contributing to Debian, as a more direct way to say Thanks!. Have look at the website, and think how you could help to get things rolling. After his talk it was my turn. I did a Debian package building for beginners talk... Well, actually it's a workshop stripped down by the practical part leaving only the slides of the introduction. But who cares ;) Again I was surprised how many people where interested in that topic. I always thought it's kind of special and not that interesting, but the room was quite stuffed. Some people where even sitting on the floor. I neither counted how many people attended my talk, nor how many seats where available. I guess I had something between 80 and 120? Perhaps Wolfgang Borgert, who moderated DebianDay, can correct me, if I'm wrong. Since I stripped down a workshop to a talk, I needed to take special care about the timing. Well... I didn't work perfectly. I took a bit too long while answering questions, but I think all in all it was quite right. As usual I took gnujump as example; easy package, works without much tweaking of the templates created by dh_make, and if you have some time left at the end, you can show some additional stuff, like splitting of a -data package. After the talk I got some quite interesting questions; the three most interesting ones were the following: So much for now; I'll write some more about the event in general, a goodie from an old friend from Treuchtlingen (rather short; the german entry is longer), and a small talk I had with an other J rg later... I'm kind of tired right now.

Otavio Salvador: New patchset sent to Debian Live project

While updating O.S. Systems infrastructure to generate Live CDs I’ve upgrade to live-helper and we end up with a new set of changes that were need. The best news is that all were accept for the next version.To check the patches, go at: http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-June/001468.html

1 June 2007

Romain Francoise: Dear Google Reader,

Congratulations on your new offline capabilities, I'm sure that they'll be useful to some people. As for myself, I like to use whatever precious little time I have away from the Internet to get some rest, or catch up on the ton of dead-tree books I still have to read.

So you see, I wish you had grown a search feature instead. It seems strange that it would be so long coming, given how the search gene runs strong in your family...

Ah, well. The future still looks bright for you, and I have high hopes for our feed reading relationship. Don't disappoint me!

Love,
Romain

Cameron Dale: May-31-2007: HTTP Range Requests

I wasn't sure if some/many/all Debian mirrors responded correctly to HTTP/1.1 range requests for only part of a file, so I ran a test on them (download part of the etch Release file). These type of requests will be useful for downloading missing pieces from packages in the BitTorrent-like downloader that I'm writing. Here are the results of my test on the 221 HTTP mirrors:
Status Description Count
200 Full Data 1
206 Partial Data 208
302 Document has moved 2
404 Not Found 2
Couldn't Connect 8
Total 221
So only one mirror (debian.csie.nctu.edu.tw) was unable to support the range request and instead returned the entire file. It seems like using range requests will be fine, though I'll have to think about some kind of error checking for that one lonely mirror that's not like the others. There was also one mirror that responded with an old Release file. It seems like debian.ihug.co.nz has not been updated since etch was released.

Joey Hess: two random thoughts about google maps

  1. It will be interesting to see what new forms of social engineering will come about thanks to the neat new street view feature. To be able to check, from across the world, what car someone had in their driveway (or its license plate), or what a sign on a shopfront says, is sure to be good for something criminal.
  2. The better google maps gets, the more places that don't have all the awesome data become in a sense second class citizens. With the exception of bandwidth, the internet has so far tended to flatten these differences out, not accentuate them. So this is also interesting, though it kinda sucks to be there (google can't even resolve my house on their satellite maps).

31 May 2007

Kai Hendry: Chinese font adventures

Sina test rendering, take 2 I wanted to spill the discussion of fonts from Mark’s blog and share what little I know on the topic. So I am localising Webconverger for each locale and learning as I go. My aim is for each locale version to meet the requirements of that locale. That allows some focus, as making a distro that can hit every locale is really hard. On my unstable system, I have somehow have 179 fonts installed.
monty$ fc-list   wc -l
179
Ok, 50 of them are ttf fonts. ttf fonts are what get used on the Web, so they count the most to Webconverger. I am going to ignore bitmap fonts et al for some simplicity and sanity. I am also not going to talk about hinting and anti-aliasing, though I do have opinions. :) Anyway, 50 ttfs is still too many considering the “free fonts” often don’t really replace the msttcorefonts, which I think they should really try do. The leading free fonts like Bitstream Vera Sans and DejaVu Sans look the same to me (~sans-serif) and are seriously boring. I guess they’re comparable to msttcorefont’s Verdana. Great… one down. :) Though DejaVu Sans has really good i18n coverage, another thing I’m interested in. Unfortunately i18n coverage esp. with China/Japan/Korea (CJK) markets is difficult.
AFAIK there is no CJK msttcorefonts, so general ‘free software’ compatibility with proprietary font faces out there is really bad. There are free CJK fonts though many of these free fonts are really bad quality. Some are OK quality, though they aren’t comparable to the proprietary fonts and hence too often the Web page renders badly. Ouch. Then some people in China prefer some font over another so this problem gets quite complex. Add Korea and Japan to the mix who also use Chinese characters in their own “special way”. I’ve been testing out sina.com.cn and taking screenshots. So I have a Chinese friend and asked him to try a special Chinese specific Debian live build of Webconverger. He says all the Ubuntu geeks use VeraSansYuanTi. However that’s non-free, sigh…. My friend also writes:
sorry for Chinese there is no best font..
because China government never try hard for this;
all kinds of fonts is some company create;
and u know China had so log history so many great beautiful font style
.. but not become computer free fonts...
I think the opensource evolution model doesn’t work very well with fonts. They need to be super high quality from the outset. Throwing a bunch of fonts at the problem gets us in our current confused situation. I think it would be great if governments could settle on some core fonts instead dictated to by Microsoft, or by whatever proprietary font gains acceptance in other markets.

Kai Hendry: Chinese Web fonts

Webconverger Portal in Chinese I wanted to spill the discussion of fonts from Mark’s blog and share what little I know on the topic and learn from the lazyweb. :) So I am localising Webconverger for each locale and learning as I go. My aim is for each locale to have it’s own Webconverger i18n version. I hope this approach allows some focus, as making a distro that can hit every locale well is really hard. On my unstable system, I have somehow have 179 fonts installed.
monty$ fc-list   wc -l
179
Ok, 50 of them are ttf fonts. ttf fonts are what get used on the Web, so they count the most to Webconverger. I am going to ignore bitmap fonts et al for some simplicity and sanity. I am also not going to talk about hinting and anti-aliasing, though I do have opinions. :) Anyway, 50 ttfs is still too many considering the “free fonts” often don’t really replace the msttcorefonts, which I think they should really try do. The leading free fonts like Bitstream Vera Sans and DejaVu Sans look the same to me (actually they are the same, thnks Panthera!) and are seriously boring. I guess they’re comparable to msttcorefont’s Verdana. Great… one down. :) Update: Mike Day informs me this is what Red Hat are doing, developing a set of fonts that are metrically equivalent to the key Microsoft fonts. DejaVu Sans has really good i18n coverage, though unfortunately i18n coverage esp. with China/Japan/Korea (CJK) markets is difficult.
AFAIK there is no CJK msttcorefonts, so general ‘free software’ compatibility with proprietary font faces out there is really bad. There are free CJK fonts though many of these free fonts are really bad quality. Some are OK quality, though they aren’t comparable to the proprietary fonts and hence too often the Web page renders badly, as it was designed with some other proprietary font in mind. Ouch! Web designers please use ‘em’ units and this problem such as over lapping text could be avoided. Then some people in China prefer some font over another so this problem gets quite complex. Add Korea and Japan to the mix who also use Chinese characters in their own “special way”. I’ve been testing out sina.com.cn and taking screenshots. Sina test rendering, take 2 So I have a Chinese friend and asked him to try a special Chinese specific Debian live build of Webconverger. He says all the Ubuntu geeks use VeraSansYuanTi. However that’s non-free theft, sigh…. My friend also writes:

sorry for Chinese there is no best font..
because China government never try hard for this;
all kinds of fonts is some company create;
and u know China had so log history so many great beautiful font style
.. but not become computer free fonts…
I think the opensource evolution model doesn’t work very well with fonts. They need to be super high quality from the outset. Throwing a bunch of fonts at the problem gets us in our current confused situation. Update: Henri Sivonen wisely points out that “in the case of DejaVu, adding glyphs to Vera as an open source project seems to work”. I think it would be great if governments could settle on some cultural core fonts for their locality instead of being dictated to by Microsoft, or by whatever proprietary font gains acceptance in other markets.

Norbert Tretkowski: Gossip without Telepathy support

Support of the Telepathy backend in Gossip was marked deprecated in 0.25, and completely removed from upstreams Subversion repository after the release of 0.26. I disabled it in the Debian package with yesterdays upload of 0.25-1 to unstable. If you really want to use Telepathy just take a look at Empathy, which is a fork of Gossip using Telepathy as backend.

Clint Adams: Lindsey Buckingham was nowhere to be found

In the middle of the forest on the hill is a ley, and through that ley runs a creek, and across that creek rests a weir, and by that weir stands a detached concrete wall. By that wall is a table of wrought iron, and surrounding that table are three wrought iron chairs, upon which there are no cushions. Were one to query a being seated upon one of these chairs, one might be told that it was a most uncomfortable place for one's hindquarters. In the days of yore, one Philip discovered this place, and this Philip did seek out his friend Paul to show him the glorious place that he had found. Paul was readily impressed, and the two of them appointed themselves the caretakers of this place by the weir in the creek in the ley in the forest on the hill. They built a shed next to the detached concrete wall, and in that shed they placed tools of the sort used for groundskeeping, and eventually they acquired an old riding mower that someone had been in the process of discarding, and they placed the mower also in the shed, and worried about the value of the mower in the shed, they procured a large combination lock for the door of the shed, and installed it hastily. As the trove in the shed burgeoned, Philip and Paul invited more friends to share enjoyment of their place by the weir in the creek in the ley in the forest on the hill. People would come every day and watch them cut the grass and kill the moss on the detached concrete wall. On rare occasions a guest would say, Need any help with that? and Philip would shout back, No, thanks, we've got it all under control! This golden age continued for quite some time, but as with all glorious things, one small event disturbs the balance, things spiral out of control, and despite anyone's efforts, nothing succeeds in restoring the state which many found so very acceptable. HOW IT HAPPEN: Philip had a dream about an angel on the beach. This dream plagued him day in and day out. It plagued him like the wind. Finally, sitting on the detached concrete wall, murdering some moss, he snapped. If I can't get an angel, I can still get a boy, and a boy'll be the next thing to an angel, he announced. The next best thing to an angel, he clarified. A boy'll be the next best thing. Then, to further illustrate the progress of his nervous breakdown, he leapt off the wall and ran into the forest. What? replied Paul, and continued his labors. Need any help? some guests inquired. No, we've got it all under control, Paul answered. The days went by, and Philip remained absent. Paul started to work more slowly, and neglected certain parts of their sanctuary. Soon he only showed up every other day. Hey, guys! Philip shouted, arriving to find most of the regulars there. Sorry I haven't had time to attend to things, but I've been busy. Do you need any help? someone grunted half-heartedly. Naw! Philip answered, I'll just catch up now. Thus he spake, and thus he did. Inspired by Philip's toil, Paul resumed his efforts more heartily, even though Philip disappeared again. The days went by, and Philip remained absent. Paul started to work more slowly, and neglected certain parts of their sanctuary. Eventually he was doing almost nothing at all. Is. There. Something. We. Can. Do. To. Help? asked the peanut gallery. I don't know, Paul snapped. If you want to help, ask Philip. He stormed off.

Eddy Petrișor: PO compendium, next step, use it :-)

I have just enabled creation of "LATEST" links for PO compendiums. The result is that now you can use an automated tool or kbabel to get the latest compendium made from po-debconf translations of packages in unstable.

So your compendium will be in the place like http://i18n.debian.net/~eddyp/compendiums/po/$LANG/compendium-$LANG-LATEST.po

I have took a series of screenshots that show how to configure kbabel in order to use the compendium, but I didn't managed to write some explanations, too.

Screenshots are here (just pick them in order, and you'll probably understand).

The most important are the first 3.

An explanation about step 3, if you defined the language code properly, then you can use the flexible approach:




Otherwise, you need to use a hard coded URL.

Antti-Juhani Kaijanaho: Announcing darcs-monitor 0.3.1

Darcs-monitor will send email to a specified recipient about new changes added to a specific darcs repository. It can be run as an apply posthook (resulting in near-instantaneous push emails), or periodically from Cron, or occasionally by hand, whatever seems most convenient. This new release (0.3) contains the following changes: The minor update 0.3.1 brings the documentation up to date. Benja Fallenstein and Benjamin Franksen provided some of the features and bug fixes in this release. My thanks to them :) You can get it by darcs at http://antti-juhani.kaijanaho.fi/darcs/darcs-monitor/ (darcsweb
available
), or as a tarball at http://antti-juhani.kaijanaho.fi/software/dist/. It depends on mtl and
HaXml and is written in Haskell, naturally. It has been tested only with GHC 6.6 so far. For installation and usage instructions, refer to the README at any of the locations above. Please note that this software is very new and thus can be buggy. As with any email-sending software, bugs can result in major annoyance; user caution is warranted.

Joey Hess: linux radio recorder

I dug up an old radio and threw this together tonight. It's been done before, but the scripts out there seemed overly complex and didn't use alsa. Here's how I did it: Of course, this assumes that the station doesn't move shows around and that the times are in sync. To do this really right, I'd need a radio programming data source, and some post-processing to identify exactly where the gaps are between programs.

Next.

Previous.