Search Results: "mak"

29 May 2007

Joey Hess: atari fun

I set up my Atari 130XE today, for the first time in eight years. Eight years ago I got it working long enough to make several backups of all the program disks, which are all going on 20 years old. Unfortunatly all the disks with the tetris clone I wrote fail to boot. All the other programs are still surviving. Playing with the Atari is still fun! I need to get a SIO cable and a SIO2PC and transfer these programs off and put them in subversion.
Update: Tetris is on those disks, they're just not bootable, but it can be loaded by hand. Then it fails at line 10380 since the high score files are missing. (This is not the well-polished tetris disk I remember..) Fixable:
10380 RETURN
Then it works. Yay!

David Welton: Subversion FAQ: How to make patches utilizing files not in the repository

As kpreid on #svn kindly points out, if you need to make a patch for a subversion project that includes files you have created, you need to add the files:
svn add tests/fixtures/empty.rb
Then you can run svn diff > my_patch.diff, and everything will be included. Anyone can add files to their working copy, it's just that they can't necessarily commit them. This ought to be in their FAQ.

Jos Parrella: Axesstel, Inc.: FOAD

Yesterday I wrote in Planet Debian requesting information on how to copy binary files to a Linux-based Axesstel modem. Meanwhile, I wrote Axesstel Customer Service with a friendly thank you for making a great product and kindly asking them for pointers. I’ve had some degree of satisfaction when writing to the Customer Services of several enterprises, and I really hoped this would be another one. 48 hours later, they replied with this message: Dear Customer,
First, thank you very much for purchasing Axesstel product and your kind feedback.
Unfortunately, we cannot released requested information because it is against security policy. We hope for your understanding.
Also, we recommend that you refrain yourself from accessing internal commands of the unit because it may violated service agreement enforced by your local service provider.
Once again, thank you for your understanding.
Axesstel Support So, if you have an Axesstel modem or if you are interested on having a free OS in your Axesstel, you may join the Laxative project in BerliOS or just make some noise in your blog, webpages or mailing lists with your Axesstel-related projects. If you happen to work at a place where you export your Security Policy to any aspect of your relationship with your customesr and where you tell them to refrain themselves of trying to improve your products for free, please read on about Open Source Hardware and its business models. It might be the time to start sharing information and sleeping without guilt :)

Nico Golde: libacpi general purpose acpi library

During the last time I developed a general purpose library for ACPI on linux.
Initially I just wanted to rewrite yacpi but since there is no shared lib for acpi information I decided to
put the important stuff in a seperate library.

Before releasing it I want some people to test it because my notebook doesn't support all of the information it can gather.

If you want to help me a bit, download a snapshot from:
http://nion.modprobe.de/libacpi-unreleased.tar.gz.

Install cmake, unpack the tarball and do:
$ cmake .
$ make
$ ./test-libacpi

and send me the output of test-libacpi together with tmpfile which should be generated like:

for i in find /proc/acpi -type f ; do
    echo -e "FILE: $i ================\n" >> tmpfile
    cat $i >> tmpfile
done

via mail to:


Thanks!

UPDATE: yes I totally fucked up the install instructions and the generation of the tmpfile :-) Sorry.
And in case I didn't reply to every mail I got until now, thanks very much for you help all!

Ingo Juergensmann: Please stop it

I think everyone knows about the issues between Sven Luther and the d-i team. This is going on for about a year now and although I'm usually a supporter of Svenl here, I have to admit that I can't hear/read it anymore.
So, please stop it now. Everyone!

Svenl, you did a great job for the PPC port in Debian, but there's so much in life beside Debian! Enjoy it! You're wasting your time and life if you insist in being right. Maybe you're right, but I don't that this does matter. Take a time off from the project and have a nice time with our stuff! Been there, done that and found it worthwhile! :-)

All others: I think it would be better to not respond to every mail by Svenl, especially when you're opposing him. This will make it even worse for him and for everybody else, too, because the impression of being insulted will grow with every mail that tells him to shut up.

Every party involved in this dilemma does have valid points. For example I would like to see some sort of Code of Conduct or a Social Commitee or anything else that will prevent such incidents over and over again.
I think it's highly unprofessional how Sven was pushed out of the d-i team. Sure, everyone can disagree with anyone else, but I expect DDs to be professional enough to work together despite their personal dislikenings. OTOH, Svenl didn't earn glory insisting every now and then of being mistreated and being right.

So, can we now stop that neverending story, please?

Uwe Hermann: LinuxBIOS at LinuxTag 2007

LinuxBIOS ROM Chip Logo If you're coming to LinuxTag 2007 in Berlin (May 30 - June 2), you might want to also visit the LinuxBIOS booth (Hall 12, Stand 80). We will be showing a couple of different systems all using LinuxBIOS to boot. There is a boot time competition in the booth (nice T-shirts to win!). On Saturday there's a hands-on LinuxBIOS workshop by Peter Stuge titled "Bring your EPIA, EPIA-M or EPIA-MII board and make it run LinuxBIOS!". Please register in advance at LinuxBIOS booth (Hall 12, Stand 80). If you always wanted to know what this LinuxBIOS stuff is all about — here's your chance to find out!

Wouter Verhelst: Web passwords

Thomas grumbles about websites with password policies, that make it impossible for you to use your 'standard' password which you use for other sites. I cannot agree with him more. I have memorized a number of multi-character random passwords (generated with 'pwgen -s'), but these cannot be used on such sites; sometimes they require me to use a character that just doesn't happen to be in the password, or sometimes they're "too long", or whatever. The worst of them all is sites which require you to change your password every so often, as I've ranted of before; after all, making people change their password too often makes it harder for them to choose a hard-to-guess password; after all, hard-to-guess passwords are often also hard-to-remember passwords, and nobody likes to memorize something useless every two months In all, I decided not to use my secure passwords on such sites anymore. Not only do their policies usually suck, they also often have dodgy "security questions" which are easy to guess by anyone familiar with yourself. On top of that, there's usually nothing to make me believe their password database is actually secure. Except, of course, if they have OpenID. Because then it's actually my own server where the password is verified. Whoo.

Joey Hess: on multitasking

I try to avoid doing multiple things at once on the computer, since I know that focusing on one thing is when I do my best work (see fighting computer-induced ADD). But I've noticed that I can do two things at once quite well if they're the right two. Two of them are:
  1. listening to music
  2. reading (but not writing, or much programming, unless the music isn't based on vocals)
That's pretty obvious, but I was suprised by this pair:
  1. listening to podcasts, interviews, etc
  2. command-line drudgery (upgrades, sysadmin work, etc)
This really suprised me, since I consider the unix command line to be another form of speech. This is making me think I don't really process it that way. Perhaps my mind really considers it a wholey visual/manual activity. It gets iffy when the sysadmin spills over into minor programming, and once I get into programming where I have to hold a lot of info in my head, I lose track of the audio.

Eddy Petrișor: po compendiums, just wait a little

It seems that my idea caught Javier's attention and he is already asking to use the scripts for Spanish.

As I have said before, those scripts will work for all languages in due time. Currently, as a test, they are running (or they should starting from tomorrow morning) only for the po material for the languages fr, de, ro and vi.

I intent to make compendiums for po-debconf material, po material[*] separately and another one made from all of them.

Stay tuned. Of course, a proper annoucement on debian-i18n@l.d.o will be done when I'll have something pretty ok.

Meanwhile, unpatient souls can take a peak at the current results

(I just enabled es, just for fun; es is broken, too?!? - or maybe the scripts are doing something wrong :-P - curious people can check, the logs are available.)


[*] which is more tricky since there is a need to merge fr_FR with fr/fr_CA with fr, de_DE with de, de_AT with de... and so on, but zh_TW does not have a zh to be merged with. Also the ll_CC strings should have higher precedence than ll strings.

Ian Haken: GSoC, vlosuts, and other acronyms

Summer of Code officially started today, and as such it was time to start hacking out some code for it. For the past couple of weeks I've been casually looking over an upgrade testing suite for Ubuntu (website, bzr repo). It's fairly sophisticated and does a lot of things that I'd like to bring to Debian. However, after considering it for awhile, I decided that I would prefer to start on the Debian version from scratch. This decision came about for a few reasons:

At any rate, I will probably end up reusing many pieces of the code from that tester.

Updates posted here as progress continues.

28 May 2007

Eric Dorland: The Ghost of Browser Past

Even though Iceweasel has been a reality since November, it seems that there is still some backlash about the rename. Thanks very much to Andrew for jumping to my defense (and also for organizing dinner the last time I was in Mountain View, it was a fun evening). Nothing he said was fundamentally incorrect, but it doesn't paint the full picture.

Once upon a time (somewhere around Firefox 0.9) we happily shipped the fox hugging the globe icon. Then it was pointed out the copyright license on that piece of artwork wasn't DFSG free (and probably wouldn't be free under any reasonable free software or even open content license), so we removed it and used the plain globe icon they shipped in the tarball instead. Eventually the Mozilla Foundation asked us to remove mozilla- from the package name (it was mozilla-firefox at the time) which we did, and the issue of the icon and trademark came up. After explaining why we couldn't ship the icon they gave us permission to continue to use the name. They said they would periodically check up to make sure we weren't shipping crap that would harm the brand. This seemed a fairly good compromise and we accepted.

This situation persisted for a year or so, in both Debian and Ubuntu, but then the Mozilla Corporation (who was now in possession of the trademarks) insisted we couldn't use the name without the non-free logo. They also wanted to approve any changes made before they were uploaded. They are certainly within their rights to do this, but to hear Mr. Fowler tell it we were on a crusade to purge the name from the distro. We were not, we were content with the status quo. I also must take exception with Mr. Fowler stating: "They've persisted, despite the best efforts of the Mozilla project team to engage with the Debian packagers to resolve the situation." I think from the discussion we were trying our best to reach some sort of compromise and the Mozilla side seemed firmly entrenched in their position, not offering us a lot of alternatives. The non-free nature of the logo and the unprecedented "control-freak" review process didn't leave us with a lot of alternatives.

Ubuntu does ship the officially branded version of the Firefox, but they have a weaker set of freedom guidelines than Debian. Whether you think that is good or bad is personal choice, but one of the reasons I like Debian so much is its commitment to free software, even if that means not everything is as easy or expedient as one would like.

With respect to the new name and icon, this is again a matter of personal taste. I do tend to think "Iceweasel" doesn't have that much sex appeal but it was a popular choice and had the benefit of having already been used to refer to a potential name fork of Firefox. And BTW this is really only a name fork, the amount of changes we've actually put in to the tree (beyond renaming ones) are minimal. In fact the last time it was checked, our patches were a strict subset of the patches Ubuntu uses in their Firefox package. So Iceweasel is in fact functionally identical to Firefox with what I like to think are some minor improvements from upstream.

As to your other points, I will admit to being poorly-socialized, but I think most who have met me wouldn't call me self-obsessed, egotistical or a moron.

I think Debian is developing a bit of a bias against it where we're assumed to be a bunch of crazy Free software nuts, and the presumption is anytime we act against the grain we're the ones being unreasonable despite any evidence to the contrary. I don't know how we can fight this perception, but I think we should.

Lars Wirzenius: Random hacks: Static website, with translations, using IkiWiki

One of my current projects involves setting up a website that is translated to at least two languages. For various reasons I wanted to use IkiWiki as the backend, even though the site is static, and does not need the wiki functionality. IkiWiki is, in principle, a wiki engine, but with a difference: it is run off-line, and creates a set of static HTML pages, rather than running every time a page is accessed. This makes it suitable for static websites. For the translation, I wanted to have the following setup: Each page is available in each language, so the pages are named foo.xx.html, with xx being the ISO language code. This also allows HTTP content negotiation to work, if the client asks for the page without the .html suffix. IkiWiki itself does not currently have support for translations. Doing translations by manually editing each page in each language is tiresome and error prone. I wanted to use the gettext approach, where the translations are maintained using .po files. The po4a tool makes this possible: it supports many file formats. English is declared as the original language for this project: all other languages are generated via po4a from the English ones. The page content gets put into foo.xx.mdwn. po4a generates all other language files than English, and these are then fed as input to IkiWiki, which generates the HTML. In summary and horrible ad hoc pseudo-notation:
  • po4a: foo.en.mdwn -> foo.pot
  • cp: foo.pot -> foo.xx.po
  • $EDITOR: update translation in foo.xx.po
  • po4a: foo.en.mdwn + foo.xx.po -> foo.xx.mdwn
  • IkiWiki: foo.*.mdwn -> foo.*.html
This works pretty well, but only for the part of the page that gets put into the content section in the IkiWiki page template (<TMPL_VAR CONTENT>). The page design we have calls for a couple of elements with translatable content outside the content: a logo and a menu/navigation bar. To deal with these, I made a little IkiWiki plugin. The plugin sets a couple of Perl HTML::Template variables, LANG and BASENAME, based on the input file name. If the input name is foo.en.mdwn, the variable get set to en and foo, respectively. The IkiWiki page template then uses the variables to load the right logo for the language of the page being generated. The navigation bar needs further work. Unfortunately, the po4a tools have trouble with the IkiWiki page templates, and can't extract just the menu entries. I ended up doing the navigation bar translation directly in the page template, since it is only a few words anyway.
<li><a href="index.<TMPL_VAR LANG>.html">
<TMPL_IF EN>Home
<TMPL_ELSE FI>Etusivu
</TMPL_IF></a></li>
The "this page in other languages" part of the navigation part looks like this:
<li><a href="<TMPL_VAR BASENAME>.fi.html">suomeksi</a></li>
I made the plugin (my first Perl ever!) available in case anyone else finds it useful. Note that the plugin isn't of much help if you want to maintain a translated wiki, since this all need some Makefile magic to make things smooth. I'm not sure the Makefile is at all optimal, though. We haven't yet gone public with the website, so this setup of mine may well get improvements still.

Russell Coker: paypal - are they trustworthy now?

Having read paypalsucks.com I am concerned about the safety of my money if I was to chose to do business with them. However there are many ways of making money by using them. Does Paypal still suck? If so are there any other better options? The merchantinc.com recommended by paypalsucks.com seems to only cater for business customers.

Russell Coker: New Blogs

After reading advice from ProBlogger I have become convinced that I should create separate blogs for some of the content that is currently on my blog. The first such blog that I will create will be about computer security. Naturally it will cover SE Linux to some degree, but the exact focus is something I have not yet determined. Here are the options I’m considering: Also if you have any other suggestions for blogs that you would read if I was to write them then plese send them in via a blog comment or email.

Andrew Pollock: [tech] LVM, you've done it again

The good thing about having kept a blog these last few years, is I have a searchable record of hardware changes. Recently, I noticed a few disk errors on caesar, and I was wondering how old that disk was. I disk some searching, and found via this post that the disk in it was a hand-me-down from when I decommissioned daedalus Mk I. One of the reasons I decommissioned it when I did, was the RAID-1 was exhibiting some strange errors during resynchronisation, and I didn't want to leave the country leaving behind an ageing problematic server with my stuff on it. I'd previously been unable to fault either 120 Gb disk under some light testing with badblocks, so I just reused them, and so around October 2005, I put the larger disk in caesar. So this disk has seen a fair bit of use, originally in daedalus, and then in caesar for another 20 months. It's allowed to fail, it's served me well. Anyway, so I bought a 750 Gb drive a couple of weeks ago, because one thing that I've wanted to do with caesar was do remote backups of daedalus, and there just wasn't enough space to do that, so I went for as big as I could find, and essentially repeated the same trick as last time, to upsize:
  1. Power down, attach new disk as a slave
  2. Boot into single user mode
  3. Unmount everything, remount root read-only
  4. sfdisk -d /dev/hda sfdisk /dev/hdb to copy the partition table (I use a root, swap, LVM, three partition layout)
  5. dd if=/dev/hda1 of=/dev/hdb1 bs=1M to copy the root filesystem to the new disk
  6. mkswap /dev/hdb2 to put the swap signature on what will become the new swap device
  7. cfdisk /dev/hdb and blow away the third partition and recreate it using all of the available space (there's probably a programmatic way of doing this, but hey, it's not exactly hard to do in cfdisk either)
  8. pvcreate /dev/hdb3 to put an LVM signature on the new LVM physical volume
  9. vgextend base /dev/hdb3 to tell LVM there's two disks in the volume group for the time being
  10. Remount the root filesystem read-write
  11. rm /boot/grub/device.map and run /usr/sbin/grub-install /dev/hdb to install GRUB in the MBR of what will become the new boot disk
  12. Power down, swap the disks around so that the new disk is now primary and the old disk is now the slave
  13. Boot into single user mode again, unmount everything except root
  14. pvmove /dev/hdb3 /dev/hda3 to relocate all of the allocated physical extents off the old disk onto the new one
  15. Twiddle thumbs for a couple of hours. Admire artwork on computer's motherboard (did you know Compaq EVO's have a picture of a car on their motherboards? A map of Texas?)
  16. vgreduce base /dev/hdb3 to take the old disk out of the volume group
  17. pvremove /dev/hdb3 to remove the LVM signature from the old disk
  18. Power down and remove the old disk
  19. Reboot into multi-user mode and profit from all the additional free physical extents
I absolutely love how I can do this with LVM, with a minimum of fuss. Last time I did this, I had a kernel panic during the pvmove, but that didn't even stop it, I just rebooted and reran the pvmove and it carried on from the last checkpoint. No such excitement this time. I'm sure Solaris' ZFS does all of this with substantially less manual steps, but hey, I like my Linux :-)

27 May 2007

Jos Parrella: Recent political issues, travelling to DC and emdevs hacking

A few days ago, some people in Venezuela were shocked by Mark Shuttleworth’s claims against Hugo Ch vez Government and supporting Mar a Corina Machado, a minor opposition leader in the Country. Today, at 23:59:59, the nationwide open air TV broadcaster RCTV will cease operations. In Venezuela, as in several other countries in the World, the economically profitable portion of the electromagnetic spectrum is State’s property, thus requiring a concession to make use of it. RCTV concession was granted in 1987 for twenty years, and the Government has decided to deny the renewal, which is quite unusual (right-wing governments in the past simply would have shut up the antennas) Of course, RCTV is not a pro-Government channel, accounting between 90 and 100 percent of the airtime with anti Government news and opinions, which is not bad per se, though in Venezuela there’s a law requiring equilibrium in times devoted to political ads. Both situations (Mark’s comments and the Government’s decision) pose the threats of a now common situation in our Country: people taking very valid decisions with somewhat doubtful consequences. In the first case, Mark is using his right to freely write what he likes in his blog but it seems that it has damaged a little bit Ubuntu’s image in Venezuela (not that it’s Mark’s fault, of course) In the second case, the Government is taking a lawful decision, but it has actually raised an important discomfort in the population (polls, which are not always accountable, point out as much as 80% rejection rate), the journalists of other media and most foreign observers, which state that they’re actually closing a TV channel and destroying freedom of speech in the Country. Expressing political POVs is quite critical nowadays in Venezuela. Some famous etiquette bookwriters, such as the one at Emily Post’s, always tend to promote a be honest, be respectful position while listening or expressing your points of views in order to keep a productive attitude. I do think that politics are important: I just think mixing them with practical daily tasks, including FLOSS development and promotion, is becoming obnoxious and dangerous. Cheeseconf On June 15th., I’ll be departing to DC7 in Edimburgh. I’ll stay a night in Frankfurt, probably in a hostel, and then I’ll stay at one of the hostels in EDI. I plan to carry white cheese to the Cheese and Wine BoF, and I’d love any comments on how to transport them without posing a biological threat for Europe. I’ll be carrying a 65 liters backpack. How long will it take for the cheese to become a lifeform? Any special tips and tricks to avoid that? Copying files to embedded devices I’ve been trying to copy some binary files into an Axesstel D800 EvDO modem which runs Linux over a tiny ARM processor on less than 16 MB. of memory. I’m actually trying to get netcat in so I can get more useful stuff such as snmpd in. The modem has telnetd, but it has no zmodem utilities, particularly rz. Neither it has wget, nor ftpd. It has thttpd to serve the administrative webpages, but it can’t process shell CGI programs so I can’t send the file through a CGI form. Any ideas? I would love to read comments from hackers who have already managed their ways into embedded devices such as 802.11 devices with Linux, and any generic ideas on how to provide new firmware images for devices such as this Axesstel modem.

Miriam Ruiz: Debian multiple binary packages: example 2

Some days ago I wrote a small example of creating multiple binary packages from a source where the program was built and installed with autotools. Now I’ve remade the example, starting from a system built directly using a make script, and which doesn’t provide an install target. Even more, it is supposed to get the data from a directory relative to the working directory. This is, in fact, a scheme often found when packaging games. The debian/rules script uses quilt to apply the necessary patches, so that absolute directories are used for the data file.

Ross Burton: Tasks 0.7

It's a Bank Holiday weekend, so what better to do that to implement a great new feature in Tasks, and then attack the bug list? It's now Sunday evening, and Tasks 0.7 is available from the Pimlico web site as usual. Best Tasks release ever!

Andrew Pollock: [tech] Finding out just how hot the linen cupboard is...

I decided to move the old 1-RU Pentium III server (the thing providing all the storage for my MythTV box via ATAoE) from under the bed in the spare room to the linen cupboard. It had a brief stop in the wardrobe in the spare room, but it didn't really help with the noise. Sarah was a concerned about the heat in the linen cupboard, as this is where the patch panel is, so caesar is already in here, along with an Ethernet switch, an ADSL modem, a wireless access point, and the Vonage ATA. There's a lot of DC plug packs generating heat, so it was a reasonable concern. I figured in this day and age, someone must make some sort of USB temperature sensor, and after some searching around, I discovered the DLP-TEMP-G, which seemed to be about the right price, doing what I wanted. I'm going to say the web page was a bit ambiguous, but it was probably just late at night, because I read the bottom as having the option to buy it from Mouser, or via PayPal directly with DLP Design. So I went down the latter path, because I generally prefer to deal directly with the manufacturer. Turns out what I was actually ordering was just a "Test Application", so that email I'd received the day after I placed my order for two units was all I was going to get. I figured this out after a week or so of wondering when it was going to arrive. They were really good about it, and refunded me my $40, even though I'd received said software, and I placed a new order with Mouser for what I really wanted. Now this time, I just didn't read things thoroughly enough, although I'll still say that things were a little ambiguously worded. The page I've linked to above does say "DLP-TEMP-G and 1 DS18B20 sensor $25.00", but when reading datasheet, it goes on about three sensors, and coming with one that isn't soldered on so that you can optionally run a cable between it and the board. I somehow interpreted this as meaning there were two sensors on the board, and one loose. Not the case. The board supports having up to three DS18B20 sensors attached to it, however you please. It comes with one unattached. In hindsight, why would you want two temperature sensors directly on the board? So the moral of this story is I just can't read. Anyway, I got home from Santa Monica last night, and the goods had finally turned up, so I had a play. The DS18B20 just looks like a transistor. I initially ignored it, and just shoved the USB board in caesar, and it happily recognised it
usb 1-1: new full speed USB device using uhci_hcd and address 8
usb 1-1: configuration #1 chosen from 1 choice
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
I then fooled around with minicom, and discovered that the little transistor thing I'd been ignoring was indeed the temperature sensor, as I got a reading of zero back (when using this program I found on the 'net). So I went to bed, and this morning did a bit of messing around with the sensor, and with a bit of creative bending, I've got it sitting in the S1 holes without requiring any soldering. It tells me the linen cupboard is about 44 degrees Celsius. Warm, but I don't think it's in any immediate danger of bursting into flames. Wouldn't surprise me if some of the gear in there isn't too keen about the temperature though. At least we won't have to worry about mold. Next step is to convince cacti to graph it, and nagios to monitor it, and we're in business. Here's a little Python program I knocked up to grab the temperature. pyserial is nice. Read on, Macduff!

26 May 2007

Benjamin Mako Hill: State of Head

When Mika gave me a haircut a couple days ago, I was a little concerned she might give me a bad haircut. I realized I was worried because bad haircuts have become cool and I was afraid of looking hip.

Next.

Previous.