Search Results: "ag"

29 November 2005

Andres Salomon: RFID, take two

And while googling for more information, I happened upon this page. My favorite quote is, “The encryption algorithm used in the TI DST tags is an unpublished, proprietary cipher that uses a 40-bit key.” Ah yes, 2005 and we still haven’t learned what makes for good crypto.

Andres Salomon: stop screwing w/ my ATM card!

I received a new Debit/ATM card in the mail the other day. I didn’t think anything of it, until I looked at my old card; it wasn’t due to expire for another 2 years. Ok, that’s odd. I looked closely at the new card, and it said “PayPass” on it. I looked closer at the packaging that arrived with it, and discovered what this PayPass thing was. “…Debit MasterCard Card with PayPass has built-in chip and antenna technology, as well as a standard magnetic stripe. The card and specially-equipped PayPass terminals communicate payment card details using very short range radio waves.” At this point (and at the risk of being compared w/ RMS), I started to feel uneasy. So this new card has an RFID chip? That means I don’t actually need to swipe it, I can “pay” by just being in range of a reader? Wait a minute, this is a Debit card; that means I’m not afforded the protections that a normal credit card offers. If someone manages to swipe $200 from me simply by walking close to me, that comes right out of my bank account; I can’t just do a chargeback. That’s money that gets stuck in limbo while I argue w/ the bank about my lost funds. As a matter of fact, I don’t even *need* a Debit card; all I really use this for is an ATM card, I have credit cards for actually paying for things. Some googling turned up the actual range:
“The PayPass card’s embedded tag operates at 13.56 MHz and has a short read range of 2 to 3 centimeters.”
So, it looks like someone would have to be very close to read it, but it certainly seems to be a real possibility. Grr. I doubt there’s any way to turn this off. This is actually kind of scary. I had planned to cancel this bank account soon anyways, but this is simply more motivation to do so. Hopefully my new bank doesn’t consider this a good idea.

28 November 2005

Jose Carlos Garcia Sogo: Autodesk & Free Software

Ok. Today Autodesk released some little piece of code into the Free Source world. It is nice to see more software released with Free Software licenses, but being myself a Civil Engineer what I would appreciate is a version of AutoCad running in UNIX/Linux (I do not mean here that it should be open, or whatever). It is funny to realize that AutoCad 12 could be ported to Linux easier than 2005 version of the same software, as they abandoned UNIX software so many years ago. And more when you think that they made that because somehow UNIX was dead in workstations by then, and Windows NT was getting all the heat and was the way to go(TM). Though I have said before that I don't mind AutoCad being propietary software, I would be also very interested in .dxf files become an open standard. That would make developing compatible and perhaps open source CAD systems easier, as every drawing and designing tool out there can export files to dxf easily.

NOKUBI Takatsugu: RssCast

I maed some debian packages for Galatea/GalaTalk. The apt line is the following:
deb http://www.daionet.gr.jp/~knok/debian ./
deb-src http://www.daionet.gr.jp/~knok/debian/source ./
Then I made a Ruby script named "RssCast", to convert RSS feed into mp3 files with text-to-speech engine. The code is in http://www.daionet.gr.jp/~knok/trac/trac.cgi/file/trunk/rsscast/rsscast.rb. It requires festival and lame (ah, it's painful...). And if you want to convert Japanese text, also needs sox, jtext2wav.rb script and galatalk from the arove apt line. Unfortunately, I couldn't make Podcasting feed yet.

David Welton: Open source economics - the conundrum

I think I agree with Ian Holsman's analysis of this article on "How to make money from open source" - actually I would go a bit further. Ian says that you don't need to be a committer to make money from open source. Indeed, in some ways the big question in terms of "open source economics" has been how to more tightly couple the people doing the valuable work with some percentage of the rewards - at least enough to let them keep hacking. While it's evident that open source works, and that there are big economic benefits involved, it's a tough nut to crack in terms of renumeration for people working on stuff. Selling software is, if nothing else, a really simple mental model that is very easy to grasp - you write software, you sell it. If it's good, people buy it and you can either reinvest that money, or take it as profit. Open source software that scratches an itch has immediate benefits to the author, especially if the author manages to get other people on board to help out. But the category that's not really covered is the group of people writing something "out of the blue" because they think it's a cool idea. If it is, and it takes off, they really aren't guaranteed anything at all for their troubles. I don't see too many ways around this while still playing by the rules of the game. There are some clever ideas like dual licensing, but they aren't applicable everywhere. I suppose you could declare software a public good and get the government involved in its production, but I'm not very enthusiastic about that... In any case, it's an interesting topic, and perhaps some day clever entrepreneurs will find better ways of financing the production of open source software.

Clint Adams: Rushing the available light

Every so often I need to convert an entire system of some kind to another kind. For example, Debian to Ubuntu, or Ubuntu to Debian, or i386 to amd64. Prior to the existence of either Ubuntu or amd64, this type of thing was much, much easier. The main problems are that apt and dpkg trust the contents of /var/lib/dpkg/available, and so do the postinst scripts and whatnot. So as we get more and more sources of .deb files and as postinst files make more and more assumptions based on the version passed as previously installed, opportunities for error increase, whether or not you're editing the available file to facilitate some sort of conversion. I've been complaining about this sort of thing since the dawn of time, but everyone always says, That's not supported, so fuck off. This is it will be difficult if not impossible to install simultaneously multiple MTA packages for the foreseeable future. So if the udev package preinst checks the previous version to determine whether or not to perform certain actions, and you happen to have a udev package created by someone other than the Debian maintainer, you may find yourself facing completely unexpected behavior because this other package did not meet the expectations of the Debian package. Of course, the udev package can't possibly attempt to know about all the other potential udev packages that anyone might build. There's no telling whom the angry owl will attack.

Wouter Verhelst: Announcing Planet Grep

Since everyone and their mother is now maintaining a Planet installation, I thought I had to have one, too. Pity it isn't packaged yet, but, well. Of course, a decent planet requires a decent subject. So I decided to choose something I don't think exists yet, but which I do think would be nice to have: a planet for Belgian Open Source-people. I added the feeds of some people I knew were on some planets, searched a bit on google, and asked Mark for some suggestions, too. The result is at planet.grep.be. Suggestions are welcome; and if you think you should be on there too (or if you are, and think you shouldn't be :-), please do mail me!

Joachim Breitner: Extended-range telepresence

Today, I took part in a tour to the Intelligent Sensor-Acuator-Systems (ISAS) department here at the University of Karlsruhe. They work on a project for extended-range telepresence. At first it is like a regular Virtual Realtiy device: Head-mounted display for the 3D view of the world and an acoustic tracking system to record the user’s curret position and orientation. While this is a nice toy by itself, the guys from ISAS have developed a system where you can walk through inifinitely large virtual places, including a virtual museum, a pacman game and our cafeteria, rendered by quake, and still stay in the 5x5m room at the university.This works by bending the space, at least the space you percieve: The computer calculates a path that resembles the path you want to go with regard to length and turns, but bends it a barely noticeable bit, thus guiding you in circles around in that room. This guiding is done by shifting the view on the display, making you counter-act that shift and thus turning. A bit like dizziness, when you think you tip over and you move the other way.This works pretty well, at least for movement at regular speed and not too many unpredictable turns - the less predictable the path you take in the virtual world, the less optimal is the path you will take in the real room, thus having stronger and more noticable bends.To me, this seems to be the first step to a world like the one Tad Williams describes in his “Otherland”-Series. Together with what promising but also threatening advances are made on the neurological front, e.g. retina prothesises, “real” virtual reality for mass comsumption is not so far away. And even more improvements in the human-device-interface field have been made: Remote control of human movement by stimulation of the equilibrium sense was sucessfully tried in Japan (German link).I have more pictures of today’s presentation and check out the video on the Karlsruhe telepresence installation.

Benjamin Mako Hill: When Push Comes To...

Mika and I were discussing logistics for our upcoming party and wondering where we would put people if the crowd got too big. I said something along the lines of, "well if push comes to shove, we can always stick people in the back room." Clearly misunderstanding, Mika's face showed a mixture of confusion and disgust. We were only able to continue after I made it clear that I my intention was not to isolate and quarantine my friend, Media Lab colleague, and neighbor, Push Singh in our bedroom.

Benjamin Mako Hill: Upcoming Events @ The Acetarium

This coming Friday, The Acetarium will host a party to celebrate the beginning of my twenty-fifth year of life. According to the CDC's live expectancy data for people of my sex, age, and racial demographic, I am projected to live 51.0 years past this coming Friday. In three months, perhaps I should throw a "1/3 of my projected lifespan party." Details are on The Acetarium website. If you're in Boston and would like to come, please let me know.

Jesus Climent: Hardware rant. Movies.

Repeat with me: I HATE HARDWARE! My laptop's hard disk drive (iBook G4, purchased last year before going to Debconf4) has 369K+ load cycles completed, which means it has a very good chance of starting to fail some time soon. Great. Specially not because of loosing data or anything, but because changing a disk on one of this bastards is like finding a needle on a hayloft. Harry Potter's books are getting insane as a movie source. The Goblet of Fire is quite lengthy, but when turned into a movie it becomes a complete piece of craziness. During the whole movie you feel like someone is talking behind your ear: "run, run, cut this, run, not time for elves, no time for tournaments, forget about this, does not fit (mao, anyone?), run,... Arf arf arf, YES! We made it 2.5h !!!" It leaves me wondering how on earth they are going to turn the 5th "most boring HP book in the saga" book into a movie, and how they will manage to turn the 6th one into a 2.5h movie again, without dropping half of the superinteresting things happening there. Oh, well, I guess I have to read the books again.

Sergio Talens-Oliag: La MaratOO'o 2.0.1

I've been all this weekend on the Computer Science Department Labs as the owner of the keys. We have celebrated for the second time this year a MaratOO'o, a work meeting to fix and review the Catalan translations of OpenOffice.org. Last February we had other meeting that was devoted to translation, but this time it has been more a review thing. The meeting has been organized by Softcatal , a non-profit organization devoted to promote the use of Catalan on the IT world. They do a lot of l10n work for a lot of Free Software projects and had developed a set of tools for translators, including a style guide, something I believe is really important and I miss from other l10n teams for other languages like Spanish. While I don't translate (I'm very bad at it), I belong to the organization because of jordim and jcorrius, as they convinced me to help them organize the previous MaratOO'o (for this one it was jordi the one that convinced me). I believe this second session was good, I have not seen a single .po file, but I've helped with the migration of services from the old Softcatal to a new one. They have a lot of things configured in weird ways and the migration has not been really planned (I don't understand why some services were moved this weekend when there were 30 people using them), but probably is not strange as it seems that none of the people with admin rights on the machines has worked as sysadmin and they don't care much a about it, so things seem to be done and left alone once they work, but for a migration like the one they are doing, with a lot of program upgrades, the configuration of each service has to be reviewed or things break easily. On the L10N front it seems that things went well, we had near 30 people translating during two days and that means that all the program localization has been reviewed and some of the help files have been translated also, so we will probably have a better Catalan langpack for OpenOffice.org soon and maybe the help files also will be available. I was going to include a photo on this post, but jordim told me he was going to use it on his blog, so use his bandwidth if you want to see the people that was on the lab before we left (I'm not there, as I'm the one that took the photo).

Hanna Wallach: academy

I wish research were still like this:
When the Duke of Buckingham was admitted as a Fellow of the Royal Society on June 5, 1661, he presented the Society with a vial of powdered “unicorn horn”. It was a well-accepted ‘fact’ that a circle of unicorn’s horn would act as an invisible cage for any spider. Robert Hooke, the chief experimenter of the Royal Society, emptied the Duke’s vial into a circle on a table and dropped a spider in the centre of the circle. The spider promptly walked out of circle and off the table. In its day, this was cutting-edge research.
(From Wikipedia.)

Radu Spineanu: Shoot the movie industry

A couple of years ago i watched a really interesting movie. It was apparently about nothing, but in fact it was rather deep, and not a cliche. The story of two persons, stuck in an unfamiliar place who found each other and started spending time together in this pretty magic place. The action was placed in Tokyo, and the whole idea was based around it's beatiful scenery. The movie is called 'Lost in Translation'.
'.

I really enjoyed the movie, and most of all the two actors. One of them was Bill Murray, and the other one Scarlet Johansson. Scarlet Johansson, even though she was only 18 (i think) when she shot the movie, portreyed a young woman left alone in this unknown universe, who tries to find herself (sounds cheesy, but it's not).

And then came this day, when i had some free time and dediced to see 'The Island'. I have never wanted to kill myself more. Basically ObiWan finds out he's a clone, escapes from the military bunker while in the proccess taking his cloned girlfriend with him, and then frees all the other clones. Also in the movie you can find out that MSN will rule the world, Cisco the telephony, and Puma the shoes industry.

Now about Obiwan's girlfriend who is interpreted by miss Johansson. She is the regular stupid innocent blonde (too many adjectives?), who everyone wants to have sex with. Her role in the movie is probably to look good and have a sex scene with Obi. I mean what the hell ?

The movie thing is probably nothing new under the sun, and i accept the quality of today's movies. I think it was just sad to see somebody i really liked, and thought maybe i would enjoy nice movies with, become another random actor.

Bleah...

David Moreno Garza: Venezuela

I was in Venezuela last week.
 
Something special happened. No, it is not only that I was able to see my beloved girl; it is not that the free software community and free software efforts and project rock. No, something very personal and special.
 
I arrived at Maiquetía (roughly, international airport of Caracas) from Maracaibo around 9 pm. At around 10 or 10:30 I was on my way to the hotel on a van where they pick up and down people on the airport-hotel-airport basis. I was waiting for my early flight to Mexico City the next day (on Sunday, at 8 am).
 
On our way to the hotel, I asked a lady sitting next to me: "So, how far away from Maiquetía is Caracas?". "Around 40 or 45 minutes", she said. Ah, nice, next time I come to Venezuela I definitively should go to Caracas, I thought.
 
"You're Mexican, aren't you?". "Yes", smiling. "I'm going to Mexico tomorrow", she said, also smiling. "Are you in the Mexicana 8 am flight?", I asked, being curious. And she was. We talked a bit more and apparently she was coming also from Maracaibo on my same flight, now that's a coincidence. "It is my first time in Mexico tomorrow", so it was mine in Venezuela.
 
Arriving to the hotel, we checked in and went to rooms. On the morning, at the next day, I found her on the hotel-airport van again. I thougth she was going to be already on the hotel, specially since I was late for almost an hour, but no, she was there. "So we are late, eh?", she asked me. "I think so".
 
After exhausting militar revision (four times, with four different soldiers:  Political relationship between Mexico and Venezuela is not healthy nowadays), I documented my baggage. The lady was in the executive line and I was with mortals. She was pregnat, also. The lady on the desk gave the boarding pass (at that point we were supposed to be already on the gate, one hour before time) and pointed me another desk where I was supposed to pay airport taxes. Now, that is scary, since I was not carrying too much on bills or coins. I arrived to the desk: "how much is it?". "105'000 bolívares", around 50 USD. God dammit, I was only carrying 45'000 and my credit cards are broken. At that sudden time, I was already thinking I should be spending a couple more days to get that fucking cash and pay for the change of flight, etc. Or... I could ask for help to the lady. What do I lose if she says no?
 
- Mrs, I have a real problem, and I need help. Anyway, I will truly understand if you are not able to do it, but I'd much appreciated it.
- What happen? 
- I need to borrow 60'000 Bs from you, please, please. I don't have enough to pay for the taxes and my credit cards are completely broken, I didn't think on taxes when spending money on anything else before.
- Don't worry, let's go to the ATM.
 
There. There I go. That completely unknown nice lady helping me to not lose my flight.
 
- But I have to go first to a Internet center to make a transaction online to be able to get cash from the ATM.
- Yeah, of course, I'll go with you- What else could I do?
 
She took the cash off and went together again to the taxes desk. She gave me the money and we both paid. Only 15 or 20 minutes were left for the flight to departure and we were trying to do things fast. Fortunately, we both did it since more cops and soldiers were making inspections just on the airplane's door.
 
When she was on the line I went to the phone booths to make a call home.
 
- Mom, I need you to bring 300 pesos when you go pick me up to the airport. Long story.
- No problem.
 
And the lady was not there anymore, I was unable to see her again (probably because she was on executive or because she was an angel :-). When we landed, I didn't see her again on the plane, in the lines, in the police line, etc. I have no idea how that happened, but it happened.
 
She will be awarded with twins :)
 
She was wearing a David's shield on her neckless, by the way.
 
 

27 November 2005

Tollef Fog Heen: Ccache and configuration

As Benjamin Drieu noted, ccache is a wonderful tool. He complains about the configuration needed, which in the Debian package is really, really small. Just do PATH=/usr/lib/ccache:$PATH in your .bashrc or .zshrc and it will be used for all compilations. Very useful and less cumbersome than creating the links in ~.

Antti-Juhani Kaijanaho: John Ringo: Ghost

John Ringo is known for writing military science fiction. I therefore was a little surprised to find out about Ghost, which, according to what I knew at the time, is a James Bond story, set roughly in the real world. Well, I’ve always liked “special agent” stories, so I read this book. First impressions: Interesting stories; it was more a collection of connected novellas than a novel. Certainly not for everyone: there is a lot of explicit BDSM (read: very rough but consensual sex) and even an explicit aggravated rape scene. Single agent overpowering multiple terrorists. Nuclear explosions (I’ve said it before, a book which depicts a nuclear explosion, cannot be all bad). More than one miracle recovery. A protagonist who certainly is not a good person. An overall first impression was of a former military guy writing out a fantasy, sort of literary self-satisfaction. I didn’t think much good of this book at that time. I later found out that this book was intended to start a new series. Now, I had actually heard of a follow-up book, but I had figured it was more of the same, and I wasn’t interested. Instead, the tone shifts a lot. The Ghost becomes a significant part of the main character’s backstory, but that’s all that it is: backstory. I have now read a part of the sequel, and it has changed my prespective on Ghost. As a standalone book, Ghost is a horrible book, and I would not recommend it, because the brutality in it has no meaning. But as the prequel to a different series, it gets meaning; it becomes a sort of character study of a man who has vicious demons inside him and is barely able to control them, and channel them for doing good (and once loses control of them). So, Mike Harmon is an ex-SEAL, discharged on medical grounds, who is a conservative jerk according to his fellow history undergrads. He likes to stalk young coeds, and one day, as he is doing so, he accidentally witnesses a kidnapping. He follows, and discovers a terrorist plot. He kills the bad guys (most of them, anyway), and follows up on the trail of other, already kidnapped women. He hitches a ride on a plane and ends up … well, I don’t want to spoil it for you. I’ll rate this book 8/10, with the warning that the book contains explicit descriptions of extreme sex and even rape, in addition to the usual jamesbondesque explosions and stuff.

Aigars Mahinovs: Do you want to hear the most incredible "it's not ...

Do you want to hear the most incredible "it's not a bug - it's a feature" story ever?

After shooting hundreds of megs of RAWs with my Canon 350D last couple of weeks, I noticed a very strange thing - importing this large amount of files from my camera into F-Spot took ages. F-Spot ate memory in tens and hundreds of megabytes and never returned it back to the system. Well I blamed it on Mono and went searching for a better way. Then I found out that command-line C program gphoto also take the same horrific amount of memory to import my photos. I saw that to download 900 Mb of photos (~250 photos) photo memory use went up to ~910 Mb (2 Mb were shared). Luckily Linux managed to swap out part of gphoto, so I could finish the download with my 512 Mb of real RAM and a 1 Gb swap file. I googled and founds tens of bug reports on this - first of them as early as December 2004. Ouch.

Well - let's see what the problem is, shall we? Some bugreports reference a bug in gphoto's SourceForge bug tracker where a users reports that downloading a 250 Mb video file takes 250 Mb of RAM and developers reply that unfortunately that is the limitation of current infrastructure and it is very hard to fix. Bumer.

But wait! He says that downloading ONE file takes a lot of RAM. This limit should not exist when downloading multiple files - we should be able to drop information about previous file as soon as we start downloading the next one, right?

Ok, lest see, what really is going on there. Downloading source of gphoto. Looking at it. Seeing a lot of mess. After around 10 minutes I start to understand that there is a table of option names and functions and the real job is doe by command line parser who calls a function as soon as he encounters a proper parameter on the command line. :P After 3 more minutes jumping around the code I finally get to a function that gets called to download a single file. Looks pretty easy:
Looks all fine and dandy so far. However I see the memory use that suggest that this last operation does not happen as it should, so I search for the gp_file_unref() function. I do not find it in gphoto source, but as I soon figure out - it is in libgphoto2. The function is pretty straight forward - the reference count of the structure is reduced by 1 and if it has reached 0, the structure is freed from memory via gp_file_free() function.

Hmm, I wonder what will happen if I replace gp_file_unref() with gp_file_free() in gphoto? After a quick compile and installation (I thank the Gods and all DD's for the wonders of "debuild -us -uc && sudo dpkg -i ../gphoto*.deb") I ran gphoto again. Wow, it now only consumes 8-16 Mb of RAM and not 900. The files downloaded fine, but in the end glibc made a lot of fuss about "double free". What does that mean? It means that someone managed to get a reference to our MemoryFile and didn't give it back. Naughty boy!

We only call three functions using that pointer, so it should not be hard to trace them trough the source to see what they do. The gp_file_new() function looks good, it sets reference count to 1 always. gp_get_file is more complex - I get to crawl through a lot of strange redirects to all levels of gphoto architecture. At one point I get a bit alarmed as I see a local variable called ref_count, but then I see that the code just stores reference count there for safekeeping while data is copied from another object and right after that copy reference count is put back safely. After all that I get to the end of the gp_get_file function, just a couple thing left - cache the result, clean up and return the file. Wait a minute ....

CACHE?!?!?!!

$(&@($^@#$(^@&^$(#&$@#(&$(@#$&!^&$^@*!(&$#(@& !!!!!

It appears that someone thought that it is a good idea to use a gig or so of my RAM for cache, just in case if I would like to download the same photos the second time around in the same program call. IT IS NOT!

Results: one line patch, one NMU building for upload, one *very* long bug in upstream bug tracker, one developer quite upset and not too convinced about the correctness of free software ways any more :P

26 November 2005

Aigars Mahinovs: Mad cosplay


Mad cosplay

More coverage from Latvia's 3rd Animefest coming up.
Todays features were:
* Hellsing - a phenomenally great vampire story. This is actually not a movie, but an anime series of 13 episodes - first 6 were shown today and 7 more will be shown tomorrow. It is not too scary - the good guys are quite good at what they do, but the taste of fun is unmistakeable. Highly recommended! :)
* Armitage III: Double Matrix - if you like the original Armitage III, then you should also see this - very nice action, kawai daughter, just a bit of interplanetary politics.
* Future Police - policemen in future Tokio doing their work in Mecha suits. A very interesting piece of film. It looks like the creators wanted to shine a bit in the glory of "Ghost in the Shell" and the "Law and Order" with a bit of "Numb3rs" thrown in :) Nice music and atmosphere, a simple plot that get stopped at times by politics and red tape, nice fighting and a bit of humor to spice thing up a bit. A little to drawn out in the middle though - the classic sequence of two cops "walking the streets and talking to people" could be a little shorter.
Bunch of new cosplays and cosplayers around. In the evening there was another event in the same cinema and the people that came to that event (in suits and ties) were quite amazed at us waling around there :D
My updated costume got some praise that it damn well deserved! Pics will come up later - after I get a decent sleep :)

Brett Parker: So, this is what you get for talking on a Saturday Afternoon...

17:30 <+quinophex> the pages that really wind me up are the ones which people are saying "we paid 50 grands for these, aren't they great!"
17:30 <+quinophex> and they are more shit than i could do
17:30 < iDunno> hehe
17:30 <+quinophex> ...when i am forced to use a copy of frontpage 97
17:30 < iDunno> and probably aren't accessable ;)
17:30 <+quinophex> on windows 3.1
17:30 < iDunno> quinophex: shudder.
17:30 <+quinophex> with my eyes gouged out with a stick
17:31 <+quinophex> and broken fingers
17:31 < iDunno> quinophex: and an abacus instead of a networked computer?
17:31 <+quinophex> something like that :)
17:31 < iDunno> whilst simultaneously inventing the wheel and deodorant
17:31 < iDunno> and taking a shower.
17:31 <+quinophex> while plugged into the mains :D
17:32 < iDunno> and pro-creating.
17:32 <+quinophex> with a goat
17:32 <+quinophex> and a squid
17:32 < iDunno> at the same time?! crikey.
17:32 < iDunno> that sounds messy ;)
17:33 <+quinophex> with anal bleeding
Conclusion - me and quinophex agree that the web is generally populated by a bunch of broken pages, and most web developers need shooting :)

Next.

Previous.