Mii Transfer progress

I haven’t had a chance to do much work on Mii Transfer this week. but I’ve changed the way I read Mii data to read the entire 750 byte block (+ CRC bytes) into a buffer and then simply copy the requested Mii from the buffer. I also fixed the reported bug where Miis other than the first one will be corrupted.

The new method readMiiData will read that entire block. If you call getMii: without first reading the buffer, it will request a read and return nil, with the gotMii: delegate method getting called when the block is completely read. If the Mii data block is in memory, it will return a pointer to the requested Mii and the delegate method won’t get called.

Writing Miis still doesn’t work, though. You can only write 16 bytes at a time. I’m sure it returns some kind of acknowledgment when the write completes, but I’m not sure how to handle it.

Technorati Tags:
, , ,

links for 2007-03-20

Is Debian doomed?

I was running Debian on my home server for a few years before getting disgusted with the lack of updates and switching to Ubuntu. There still hasn’t been a new Debian release in several years, while there have been two Ubuntu releases since I switched. Many people seem to be defecting from Debian as it continues to stagnate.

Ian Murdock, the founder of Debian who just announced he’s joining Sun, criticized Debian’s lack of progress. Ian describes Debian as “process run amuck” giving rise to a committee mentality where nobody feels empowered to make decisions so no decisions get made.

Since Ubuntu depends on Debian, this is not a good situation. Maybe Ubuntu should split from Debian and no longer use Debian’s upstream repositories.

Technorati Tags:
, ,

More about Miis

I’ve been looking at the code for sending Miis to the remote and I discovered it’s not as simple as receiving a Mii. You can request a single Mii, but you can’t send only a single Mii – you need to send the entire block of 10 Miis with the properly calculated CRC. That means I need to read all of the Miis, overwrite the one I want to send, calculate the CRC and send either only that one Mii + the CRC or the entire block.