Archive for April, 2007

2007-04-09 01:34

Monday, April 9th, 2007

(no, today is not the first of April, this one is serious)

Something got me – the girlfriend is with her parents, I finished re-reading Schvejk, and after the last update my work environment was slow – so I reinstalled the laptop with Ubuntu.

Some words for the Ubuntu itself – I had to hack the installer to work as I needed it (it felt the weird need to reformat the partition that I had, otherwise it refused to install – some grep, strace and editing of python code – turned out that it didn’t recognize ReiserFS), after which it just put a system on the drive and worked. Then there was the normal fight with Xgl and compiz, but in the end it started working normally (there are just a few small bugs remaining). I had also to change the system locale from bg_BG.UTF-8 to bg_BG.CP1251 so I could work with my normal terminal (UTF-8 is AFAIK supported by only gnome-terminal, Konsole and xterm, which are damn slow).

I compiled for myself just trannset-df and gaim (because I can’t stand 2.0, and 1.5 is missing in edgy), made the network setup the same as in Debian, and now everything works. I needed to configure from scratch only evolution. Turned out that in edgy they haven’t broken mrxvt as in Debian.

Definitely the AIGLX that’s in X now is far worse than the Xgl implementation as for speed (although I have the dirty thought that part of the problem in in the schedulers). There’s no flickering while changing workspaces, which helps a lot not to feel like killing your desktop machine :)

I’m going to probably stop using my machine as a guinea pig for whatever comes into my mind, at most I’ll make a chroot with debian unstable for some experiments.

2007-04-09 01:17

Monday, April 9th, 2007

(не, днес не е първи април, това си е съвсем сериозно)

Изби ме нещо – девойката я няма, аз си препрочетох Швейк, а след последния update работната ми среда се движеше гадно – та си преинсталирах лаптопа с Ubuntu.

Няколко думи за самото Ubuntu – инсталатора се наложи да го бърникам да тръгне както аз искам (изпитваше някава странна нужда да ми затърка целия диск, иначе отказваше да се инсталира – малко grep, strace и редактиране на python-ски код – оказа се, че не разпознава ReiserFS), след което изсипа някаква система на диска и запали. Последва прилично количество борене с Xgl и compiz, но в крайна сметка заработи прилично (останаха няколко дребни бъга). Смених и системния locale от bg_BG.UTF-8 на bg_BG.CP1251, за да мога да си работя с моя си терминал (UTF-8 поддържат май само gnome-terminal, Konsole и xterm, които са бавни до смърт).

Изкомпилирах си мои само transset-df и gaim (понеже не понасям 2.0, a 1.5 няма по принцип в edgy), подкарах си мрежата по същия начин като в Debian-а, и сега всичко в общи линии си работи. Наложи се да си конфигурирам наново само evolution-a. Оказа се, че в edgy не са строшили mrxvt както в Debian.

Определено AIGLX-а, който са сложили сега в X е доста по-куц от Xgl реализацията като скорост (въпреки че имам едно мръсно предположение, че голяма част от проблема е в разните scheduler-и). Няма никакво премигване, когато се сменят работните пространства, което доста помага да нямаш желание да си строиш машината :)

Мисля да спра да си ползвам оттук нататъка машината за опитно зайче за каквото ми хрумне, най-много да си направя един chroot с debian unstable за разни експерименти.

2007-04-05 23:52

Thursday, April 5th, 2007

Today I made my most hellish test setup. It includes ISDN, two telecos, 10mbps MAN connectivity through BTC, TDMoE, T.38, NAT, faxes and asterisk. The scheme looks like the intestines of a dead animal.

2007-04-05 23:51

Thursday, April 5th, 2007

Днес направих най-изродския си тестов setup до момента. Включва ISDN, два телекома, 10mbps MAN връзка през БТК, TDMoE, T.38, NAT, факсове и asterisk. Схемата му изглежда като червата на умряло животно.

2007-04-03 23:19

Tuesday, April 3rd, 2007

Yesterday was the wireless datalink and routing protocols lecture, part 1 and part 2 are at the usual place (it went pretty well).

The next lecture is at April the 13th, because of the damn easter holidays – they managed to catch two of our lectures.

I’m getting more and more confident that there’s something wrong with me. Most people, when faced with doing something that they’re not really sure how to do with some software, start playing with it, reading documentation, asking other people. I for some reason am using some kind of brute force method that includes searching through the documentation with google, reading strace dumps, grepping through the source and in the database dump and all kinds of such rough methods… Half an hour ago I was digging in moodle to see how exactly are we going to put the grades in it and in the end found that they need to be into mdl_assignment_submission table (Chorbadzhiyski, you have 30 points on the first test :) ).
I hate the complex systems, but it’s fun to dig in them.

(I still remember how I found the courier-mta configuration option not to bounce messages with bad MIME – grepped through the source, and how much php/perl/python code I’ve debugged with ltrace and strace).

It’s good that I didn’t write some dirty hack inside, as I have that habit. Some day I’ll gather all such patches that I’ve done on some problems, will print them and put them on the wall, to remind me never to do such stuff again.

(Sunday I updated my machine and went from Xgl to X with AIGLX, again with compiz. It lags a lot, should check why.)

2007-04-03 23:08

Tuesday, April 3rd, 2007

Мина лекцията за wireless datalink и routing протоколи, част 1 и част 2 са на стандартното място (доста добре се получи).

Следващата лекция ни е чак на 13 април, поради великденските празници – успяват да ни хванат две лекции.

Аз все повече и повече откривам, че съм повреден. Повечето хора, изправени пред това да направят нещо, което още не им е ясно с някакъв софтуер, се хващат да го цъкат, да четат документация, да питат други хора. Аз по някаква причина използвам някакъв brute force метод, който включва ровене в документацията с google, четене на strace dump-ове, ровене с grep в source и в dump-а на базата нещото и изобщо всякакви такива подмолни груби методи… До преди малко се рових как точно ще стане номера с писането на оценките на студентите в moodle, и накрая стигнах до извода, че в общи линии се озовават в mdl_assignment_submission таблицата (а, Чорбаджийски, имаш 30 точки на първия тест :) ).
Мразя сложните системи, ама ми е забавно да ги ровичкам.

(още си спомням как намерих настройката на courier-mta да не bounce-ва съобщения с проблеми с MIME, с grep в source, и колко php/perl/python код съм debug-вал с ltrace и strace)

Добре поне, че не си дописах някой дребен мръсен hack вътре, какъвто навик имам. Някой ден ще си събера всичките patch-ове, които съм писал за един или друг проблем, ще си ги разпечатам и ще ги залепя на стената, за да ми напомнят да не правя такива работи.

(В неделя си update-нах машината и минах от Xgl на X с AIGLX, пак с compiz. Доста се lag-ва, трябва да го прегледам защо.)