Friday evening I got an MP3 player from my mother for Sinterklaas(the Dutch equivalent of the Santa Claus).
I chose a Samsung YP-T10. It is quite new and has a great design. It’s able to play mp3’s, video’s and show pictures. You can also listen to FM radio and it has bluetooth support. The screen is 2″ and supports a resolution of 320×240. It supports only two video formats unfortunately and is very strict. Yuu ahve to have these: SVI (MPEG4, MP3 @ 44.1kHz, 128Kbps) and WMV9 SP 320×240 @ 30FPS, otherwise it won’t work. I heard you can use ogg too for audio, but I haven’t tried yet. For transferring files it uses Microsoft’s MTP, and because it’s a new it wasn’t supported in the 0.2.1 version Ubuntu gives in the Gutsy repositories. After a lot of trial and error I downloaded the 0.2.4 version from the Hardy repositories(which has already the newest version) and installed it alongside the old version(it couldn’t replace it nor could the old be removed, since some programs I want to use depend on it). After that I added ‘-bak’ after each old library in /usr/lib and created symlinks to the new one with the old names. Unfortunately Amarok and Rhythmbox still didn’t recognize the player. I downloaded and compiled the program mtpsync, but after I started it, selected the right directories and pressed sync it started to delete all music files that weren’t on the player. I killed to proces before it could remove all my music, but still quite some were gone. Also some other files disappeared and I still don’t get how. The device was clean, the videos which were added in factory were also gone. Then I found out that I had to add the files I wanted to ‘implement’ in the sync process. So after I got the program to detect the player(a lot of unplugging and replugging) I pressed refresh and the music came in a list, the new ones which question marks in front of their names. I pressed the ‘All from local’ button and all the new songs from my computer were added to the transfer list. Now when I pressed sync everything worked smoothly. Only the Album Art wasn’t copied.
I like the player very much, the guide says I can listen for 30 hours music before I have to reload it. Unfortunately that has to be done with an USB cable and computer and takes three hours. The sound quality is great, although I’m not an expert in that things. The screen looks great and is very bright, which can be adjusted.
You’ve probably noticed that I’m back to WordPress. I just couldn’t stand pivot anymore. The errors I got, blank pages, hard to configure, etc.. It just didn’t feel right. I’m glad I’m back to WordPress now. I haven’t got much to say, except that I still need to make a new design for the blog 😉
While I was cycling home from school I was thinking about how md5 gets his strings coded. And what causes that the length is always the same. While I was thinking I thought of an own, completely numerical system. It works like this: All characters get a numerical value, 1 till 9 will be 100 till 900, a will be 110, A will be 120, á will be 111, etc.. The value of the chars will be put in an array, so for ‘aAá’ we’ll get 0 => 110, 1 => 120, 2 => 111. The values will be counted up, with this example we get 341. This value will be multiplied with the encoded number of chars, in this case three, so 300. 300*341=102300. Then we’ll count the zeros at the end, two here and multply the previous result with this number. 3*1023=3069. 3069 is the encoded string of aAá. I’m not an expert in decryption, so I don’t know if it’s hard to get the encoded value back with reverse engineering without too much pain. It can also be used to encrypt texts. Think of a password, and multiply the encoded password with the plain value of the char. If you have the password you can get the text back by dividing it with the encoded password.
Another two examples: ‘fcG1aZ’ f = 220, c = 150, G = 250, 1 = 100, a = 110, Z = 670 , so the total is 1500. There are six chars, so we multiply it with 600. 600*1500=900000. Now we get rid of those zeros at the end. 9*5 is 40. ‘fcG1Z’ f = 220, c = 150, G = 250, 1 = 100, Z = 670 , so the total is 1390. There are five chars, so we
multiply it with 500. 500*1390=695000. Now we get rid of those zeros at
the end. 695*3 is 2085.
You probably noticed that the first example has a much smaller result than the second. One letter added or removed can change the result in a huge way. This can be good, but also bad, since it gives reverse engineers an idea which chars are most used, the ones at the end of the alphabet or at the beginning. I am not very known with de/encryption, so I can’t predict this very good.
Another thing that might happen is that you’ll encode two different strings and get the same result. This is the greatest problem. I’ll demonstrate it with the second example:
Instead of 5 zero’s we think that there were nine zeros at the end. So: 40/9 = 5 5*10^9 = 5000000000 We assume there were five chars: 5000000/500=10000000 And this result can be 100000 ones, but also 50000 two’s, etc. But of course also combinations of chars are possible. Before we can say if this is a good method the probability of getting a double result should be calculated. I’ll do that next time 🙂
After endless search at SourceForge for a project I could join and I liked, I did I desperate last try at launchpad. And Right at the frontpage I found what I was looking for: TangoCMS! So I went to their IRC channel: #tangocms at freenode and asked if I could help. I could help. Now I’ve translated it to Dutch and done some small development. The code that is there at the moment is almost entirely written by Alex Cartwright , the founder of the project. There is even a wiki page, where you can read more about the history of the project.
After the final release I’m going to make the Dutch community site for it. It will be TangoCMS, integrated with phpBB3, but that can’t be on this host, because it doesn’t support PHP5, which is needed for TangoCMS.
Today my Launchpad Beta Testers membership was approved. I am now a member of a Launchpad team that tests the new code for launchpad. I also applied for membership of the Ubuntu Bug Control team, so I can triage bugs better. This is not for Launchpad, but for Ubuntu. I hope I can do something back for the great operating system I’m using. Maybe I’ll once end developing parts of it 😉
If you want to look for me at launchpad, my username there is qense, but you’ll see my normal name.
I also just remembered that this blog still needs a redesign, I completely forgot. Well, I’ll do it, once…
While I was busy creating a new template for WordPress I found it very hard to make it do what I wanted. And I’ve also heard a lot of good things about Pivot and some negative publicity about WordPress I decided to have a look. I liked what I saw and now I’m switched. I’m still learning how it works and it needs a new template, but I already like it.
After the kernel update a few days ago to 2.6.22-13 I restarted and the X server just wouldn’t start up. I tried a lot of things, reconfigured the x server many times, but nothing helped. The weird thing was that I couldn’t find anything in the log files of gdm and Xorg.
Finally I thought I had caused the problem by messing with xorg.conf and some other manual editing, so I installed Feisty again. I wouldn’t lose my data, since I have /home on a different partition. But only alternate CD from Feisty I have is Herd 5, so I would get a lot of updates. I installed it and started to update, immediately to gutsy. But after a restart I got the same problems again. Now I new it was something with Gutsy. Then I finally found something in the log files. I read in syslog that gdm crashed with a sigsev. But when I tried kdm and xdm I got the same problems. And when I looked deeper into the logs I found a sigsev from the gnome-panel, which happened when I started X server with startx in in a tty. When I tried 2.6.20-* I got the same results, and I decided to use feisty again untill the final release. I’ll post something on launchpad tomorrow, or add my experience to an already existing bug report. Unfortunately the log files are lost because of the new installs.
It’s funny how sometimes you don’t know what to do and suddenly you have to/can do a lot of things at the same time. For a long time I didn’t know what to do and played Regnum online the whole day long and now I can choose between several things; re-designing my blog, upgrading the School Theatre Club website to phpBB3, the CMS system I’m working on, a website for Geography project and something for the school website.
At the moment I’m upgrading the blog to WordPress 2.3, the latest version of the blogging tool I’m using. The only things I remember are it’s update notification and native support for tag clouds. When that’s done I’ll create a style on my own to make it more my blog. I’ve found a nice colour matcher, which I’m going to use. I hope it will make my work a bit easier and better.
Oh, maybe you noticed already, but I started to write in English. I will write in Dutch sometimes, but my postings about tech-stuff will be (mainly) in English.
Omdat het nieuwe schooljaar er al weer aankomt, moest ik ook weer een nieuwe schoolagend. Ik wilde graag wat anders dan normaal, dus koos ik voor een PDA(logisch natuurlijk). Ik dacht er al langer over en ik kan het ook wel gebruiken voor andere dingen. Omdat ik niet een heel erg uitgebreide hoef koos ik voor de Palm Z22. Een leker simpele agenda die vooral bedoelt is als agenda. Het zoeken van een goed synchronisatie programma was niet een groot probleem, maar als je niet zo veel van Linux af weet is het niet zo makkelijk. Ik probeerde eerst gnome-pilot, maar dat liep telkens vast. Daarna j-pilot, maar dat werkte niet. Toen probeerde ik kpilot, en daar lukte het me wat programma’s te installeren, maar het deed het nauwlijks. Toen kwam ik erachter dat j-piloit een console programma met de naam pilot-link gebruikt. Nadat ik dat geïnstalleerd had deed j-pilot het erg goed.
Ik gebruik voor mijn cijfers, rooster en huiswerk de software van http://www.aaronweb.nl/.