Archive for October, 2004

2004-10-15 00:23

Friday, October 15th, 2004

Because Velin today was working on zadnik.org, I took his part in the cryptography lecture – authentication algorithms and Diffie-Hellman key exchange, after which I explained PGP. The last explanation wasn’t very good, looks like I’ve forgotten to explain simply, so I had to retell it a few times (and forgot the simple moment that a key can have more than one signatures, which definitely threw into confusion few people (even though it was obvious from the scheme)). For the next lecture I’ll find someone to test it first, and now I’ll be putting one more explanation in the forum.

After the first hour I went to Shiyachki, where it was nice and quiet, and some great brandy showed (desync really liked it :) ), so I only listened to the end of Niki’s lecture on PKI (and I asked a few questions). Then we went to “Toronto”, ate, and I went home.

Tomorrow I’ll be writing some more documentation, and will start with the openfest lecture. I still have no idea how free time will I have and if I’ll be able to help for the putting of the banners through the city, but if someone wishes to help – write to Bobson ( bobson(at)bobson(dot)net) :)

2004-10-15 00:11

Friday, October 15th, 2004

Понеже Велин днес се занимаваше със zadnik.org, аз поех неговата част от лекцията по криптография – алгоритми за аутентикация и Diffie-Hellman key exchange, след което обясних и PGP. Последното обяснение не беше особено добро, изглежда съм забравил да обяснявам просто, та се наложи да го разкажа няколко пъти (и забравих важния момент, че един ключ може да има няколко подписа, което определено обърка няколко човека (въпреки че беше очевидно на схемата)). За следващата лекция ще намеря на кой да я проиграя един път, и ще кача във форума едно допълнително обяснение.

След първия час просто седнах да си почина при Шиячки, където си беше приятно, отнякъде се появи и една страхотна ракия (desync определено я хареса :) ), и чух само края на лекцията на Ники за PKI (където зададох няколко въпроса). После отидохме в “Торонто”, хапнахме, и се прибрах.

Утре ще пиша документация, и ще почна да разписвам и самата лекция за Openfest-а. Още не съм наясно как ще съм с времето, и дали събота и неделя ще мога да помогна за разлепянето на афишите, но ако някой, който чете това, има желание да помага – да пише на Бобсън (bobson(at)bobson(dot)net) :)

2004-10-14 00:07

Thursday, October 14th, 2004

Today I was mostly writing documentation – my hand kept hurting, but I managed to write 4-5 sheets, mostly core stuff. The things left are some details about the encryption of the backup, and to describe some more situations.

IBB followed, where we were just a few – me, Guninski, joejoe, Slavka and knight, and some other guy came, that I didn’t recognize. In “Krivoto” it was nice, I had dinner, we talked about some interesting things, and then I went home.

I caught Velin at the door – he had just come home, too, and we found out that he was missing his zadnik (ass). E.g. the machine zadnik.org is down, and he’s really unhappy, tomorrow he’ll be going to Lirex, to see its problem.

And the cold outside should be outlawed. It still isn’t winter, why are the temperatures so low? Because of this, I found a nice site with satelite pictures – www.sat.dundee.ac.uk – there are some really interesting (and beautiful) ones, they just want registration (and the don’t look like bad people :) ).

2004-10-13 23:22

Wednesday, October 13th, 2004

Днес основно писах документация – пак ме наболяваше ръката, но написах още 4-5 листа, само основните неща. Остава да доопиша няколко подробности за криптирането на backup-а, и да разпишем още няколко ситуации.

Последва IBB, на което бяхме в камерен състав – аз, Гунински, joejoe, Славка и knight, а после дойде и някакъв елемент, който не ми стана ясно точно какъв е. Все пак в “Кривото” беше приятно, хапнах си, поговорихме си за разни интересни неща, и се прибрах.

Засякохме се с Велин на вратата – той също се прибираше, и открих, че му няма задника. Т.е. машината zadnik.org е умряла, и той е адски нещастен, утре ще ходи до Lirex, за да види къде и е проблема.

А студа навън трябва да го забранят със закон. Още не е зима, защо трябва да са такива температурите? Поне намерих интересен сайт за сателитни снимки – www.sat.dundee.ac.uk – има доста интересни (и красиви снимки), само искат регистрация (и не изглеждат лоши хора :) ).

2004-10-12 23:13

Tuesday, October 12th, 2004

Last nigh I reread “Ring world” – I thought that I haven’t read it, but found out ti was the opposite right in the beginning. A nice book, I can understand why Pentchev likes it so much.

I found out that it’s really nice to wake up with punching the bag for a while, then to take a shower :)

The first waking up was before that – Velin tried to kill him self by coughing, and I had the feeling that he’ll cough away the wall. The giving up of the cigarettes and the moment that he’s sick, are combining in a very interesting way :)

I’m writing my lecture for the openfest, which for some parts is the same as the documentation of the project – as usual, firstly on paper. The handwriting is a pleasant event, but after pounding on the punching bag it’s a bit painful, and that that I hit the wall once really isn’t helping.

Today’s lecture on network security was very nice, Velin was explaining cryptography, and I think that everybody understood him. After that we went to “Toronto”, where after a hour or more of discussions we wrote a plan for the next few weeks. There were a lot of discussions about for how stupid people should be the lectures prepared, and still got nowhere, I really want a way to check the level of the students…

2004-10-12 23:06

Tuesday, October 12th, 2004

Снощи препрочетох “Пръстенов свят” – мислех си, че не съм я чел, но се убедих в обратното още в началото. Хубава книжка, може да се разбере защо му е любима на Пенчев.

Открих, че е доста приятно за събуждане да поблъскаш боксовата круша, няколко минути занимаване, един душ, и бях готов за деня :)

Първото ми събуждане сутринта не беше това обаче – Велин се опита да умре от кашляне, и имах чуството, че ще събори стената по някое време. Отказването на цигарите и това, че е болен, се комбинират много интересно при него :)

Пиша си лекцията за OpenFest, която донякъде съвпада с документацията на проекта – както обикновено, първо на листи. Да пишеш на ръка е много приятно, само дето след като съм блъскал по боксовата круша е малко болезнено, а това, че един път ударих стената, определено не помага.

Днешната лекция по мрежова сигурност протече много добре, Велин обясняваше за криптографията, и мисля, че всички го разбраха. След това отидохме в “Торонто”, където след около час спорове в крайна сметка направихме план за следващите няколко седмици. Много спорехме по въпроса като за колко тъпи хора трябва да се обяснява, и пак доникъде не стигнахме, дали няма начин да се провери нивото на студентите…

2004-10-11 23:23

Monday, October 11th, 2004

Last day of the fights with the video broadcast. It was so fun, that in the end I hung the punching bag on the wall, and was hitting it for a while. It helped, although my hands hurt a little (some gloves might be a good idea).

So now it will be ffmpeg, and some black magic to make it stay in sync. After a pile of combinations of ffmpeg, transcode, mjpegtools, mencoder/mplayer, liblivemedia, vlc, vls, darwin streaming server, I couldn’t make something that would stream normal video stream through RTSP – the only one working was with ffpmeg with one of the example programs from liblivemedia, the quality was abysmal, and it kept on jagging. The solution for the future (which I’m planning on implementing, or finding someone to do it) is to make some small universal programs that could take any kind of AVI, find out it’s codecs, and send it to Darwin. The other one will be a modular interface to send the live stream frame by frame, to evade the jagging, and a codec that will keep the sound and video in sync without any screw-ups (the last one will be a fun task).

Tomorrow’s the lecture on cryptography and its applications in the network security, let’s see what surprises has Velin for us (not including the one that he’s giving up smoking, I really hope he will make it :) ). We watched “The siege” tonight, a nice movie (although I have some notes on the organization of the attacks).

In a comment in Zhoro Chorbadzhiyski’s blog somebody mentioned a new book by Umberto Eco – the title sounds a bit strange, but I think it will be worth reading.

2004-10-11 23:12

Monday, October 11th, 2004

Последен ден на борбите с video broadcast-а. Дотолкова ми беше забавно, че най-накрая си окачих крушата на стената, и поблъсках малко. Помогна, въпреки че малко ме заболяха ръцете (едни ръкавици може би са добра идея).

В крайна сметка – ffmpeg, и ще правя черни магии да не разсинхронизира. При купчината комбинации от ffmpeg, transcode, mjpegtools, mencoder/mplayer, liblivemedia, vlc, vls, darwin streaming server, не можах да докарам нещо, което по нормален начин да ми засилва видео поток по RTSP – единственото, което сработи, беше ffmpeg с единия пример от liblivemedia, но качеството беше ужасно, и накъсваше по един отвратителен начин. Решението за в бъдеще (което или ще напиша, или ще намеря кой да напише) е да направя малки универсални програмки, които поемат каквото и да е AVI, разпознават го, и го пращат до Darwin. Другото ще бъде модулен интерфейс за подаване на поток на живо frame по frame, за да не се появява накъсването, и кодиране, което да движи звука и картината заедно, без да ги омазва (това последното е бая забавна задача).

Утре е лекцията за криптографията и приложенията в мрежовата сигурност, да видим Велин какви изненади ни е подготвил (освен това, че отказва цигарите, пожелах му успех :) ). С него тая вечер гледахме “The siege”, донякъде интересен филм (имам няколко забележки по организацията на атентатите).

В един коментар на блога на Жоро Чорбаджийски се споменава за нова книга на Умберто Еко – заглавието ми звучи странно, но предполагам, че ще си струва да се прочете.

2004-10-11 01:23

Monday, October 11th, 2004

I hate the Sunday, I’m always dying of boredom and laziness. Because I had nothing to do, I cleaned the dust from the library.

I played some more with the video broadcasting software, and the final conclusion is, that to make something work OK over RTSP, I’ll have to bite the bullet and write something based on the demo programs in the liblivemedia (from live.com), using the not-really-loved-by-me language C++. This leads to the direct conclusion that I can’t have something like it working and reliable at the openfest…
All this video broadcasting stuff is a real mess, and to make it prettier, ffmpeg shits the synchronization of the audio and the video, and I’m starting to think about the way ‘record one hour, use mencoder on it, and upload it to server somewhere’, no live performances…
(of course, some temporary pessimism helps sometimes)

Velin is home, and looks like half-healed, he’s not getting away from the lecture this Tuesday :)

2004-10-11 01:18

Monday, October 11th, 2004

Мразя неделята, умирам от скука и мързел. От нямане какво да правя по едно време се хванах да избърша праха от библиотеката си.

Поиграх си още малко с видео-конферентния софтуер, и финалния извод е, че да направя нещо да работи добре по RTSP, ще ми се наложи да се хвана и да напиша нещо на база демонстрационните програми на liblivemedia (от live.com), на не-много-обичания-от-мен език C++. Това директно води до извода, че до openfest-а е абсурд да го докарам до нещо, на което мога да разчитам…
Изобщо отвратителна мазаница е цялото това нещо с video broadcast-а, най-малкото защото ffmpeg-а осира синхронизацията на звука и картината, и започвам да мисля по въпроса ‘снима се един час, пише се с mencoder, и се качва на сървър за да се гледа’, никакви live неща…
(е, малко временен песимизъм понякога помага)

Велин се прибра, и изглежда полу-излекуван, няма да му се разминат лекциите тоя вторник :)

2004-10-10 02:09

Sunday, October 10th, 2004

An important conclusion: if you’re implementing some kind of system, stick to the stable versions of the components you use. If you don’t do that, expect a lot of unpleasant surprises, like ffmpeg that dies with SIFPE somewhere in the FFT (fast Fourier transformation).

Another interesting thing to note is the time that it takes to compile the damn ffmpeg, and some strange thing is it, like it’s urge to keep all the received feed somewhere on the disk…

So now I have one working way to do video broadcast, that I don’t like too much because it’s based on TCP, which is bad, the protocol isn’t good for this. Tomorrow I’ll work a bit on the way to send a stream with ffmpeg to the darwin streaming server, and to use it to broadcast, but I’ll have to find clients that have good RTSP support (vlc comes to mind).

Today I again went to the usual anime meeting, saw some very drunk people, in the cheers we broke one tankard… After that I went for a few hour long walk with an acquaintance, and now I really have to go to bed, my legs hurt. There was some rain a while ago, I hope it keeps on, it helps the going to sleep.

(and because Velin is sick, looks like I’ll do his lectures on the cryptography this tuesday and thursday, I’ll have to read a lot)

2004-10-10 02:01

Sunday, October 10th, 2004

Важен извод: ако ще подкарвате някаква система, придържайте се към стабилните версии на компонентите и. В противен случай ви очакват много неприятни изненади, като например ffmpeg, умиращ със SIGFPE някъде във FFT (fast Fourier transformation).

Други интересно за отбелязване е времето за компилация на проклетия ffmpeg, както и някои странности в него, като например острото му желание да държи целия feed, който е получил някъде по диска…

В крайна сметка имам един вариант за video broadcast, който обаче не ми харесва поради това, че се базира на TCP, което е неприятно, протокола не е подходящ за целта. Утре мога да помисля върху варианта с ffmpeg да подавам поток на darwin streaming server, и от него да се разпръсква, само дето трябва да намеря клиент, който поддържа добре RTSP (може би vlc).

Днес ходих за малко на редовната аниме среща, видях някои хора колко бяха зле, в наздравиците строшихме една чаша, в общи линии забавна работа. След това се разхождах с една позната няколко часа, и сега има остро желание да си легна, краката определено ме болят. Навън валеше преди малко, ако продължава, ще помогне на заспиването:)

(А понеже Велин е болен, се очертава да поема неговите лекции за криптографията този вторник и четвъртък, имам да чета доста)

2004-10-09 02:50

Saturday, October 9th, 2004

I’m getting precompiled. Either I’m crazy, or the way to the video broadcast under linux is covered with a lot of bodies of tired to death compilers, and degenerate and mutant build systems (I have the feeling that the one for the Darwin Streaming server is made especially to annoy the users). I haven’t compiled so much since the making of the cross-compile environment…

(Addition: finding the problem in a broken compilation at 2:52 is a work for young programmers. I’m going to sleep.)

2004-10-09 02:47

Saturday, October 9th, 2004

Изкомпилира ми се душата. Или аз съм побъркан, или пътя към video broadcast-а под linux е осеян с труповете на бая изтощени компилатори, и на изродени build системи (имам чуството, че тази на Darwin Streaming server-а е правена специално за да дразни потребителите). Такова компилиране не съм правил от инсталирането на cross-compile средата…

(Добавка: да откриеш проблем в гръмнала компилация в странен header в 2:52 е работа за млади програмист. Лягам си.)

2004-10-08 23:13

Friday, October 8th, 2004

An interesting day – we did some tests of the emergency shutdown and fixed the boot procedure of the machines. There is something amusing in giving a signal, and making the room quiet in a moment :)

Almost all of my work on the project is done, so I’ll probably work on the Openfest’s video broadcast this weekend – some diversity will be nice :)

There was a really interesting coincidence tonight – Velin is sick, and I found in the mailbox an advertisement of a funeral home :) The people are thinking about us :)

And the funniest moment of the day was when Heth asked me when has “When the Bogomils were virus writers” happened, and was it really written in the papers… The inability to differentiate between this and the real news speaks volumes about what the ‘real’ news actually are.

2004-10-08 23:08

Friday, October 8th, 2004

Забавен ден – правихме тестове на emergency shutdown-а и оправях boot процедурата на машините. Има нещо забавно в това да подадеш сигнал, и изведнъж в стаята да стане тихо :)

В общи линии работата ми по проекта е завършена, така че мисля да се заема с видео broadcast-а на OpenFest-а тази събота и неделя – малко разнообразие няма да ми се отрази зле :)

Много интересно съвпадение се получи тая вечер – Велин е болен, а в пощенската кутия имаше реклама на погребално бюро :) Хората мислят за нас :)

А най-забавния момент в деня беше, когато Heth ме попита “Когато богомилите бяха вирусописачи” кога се е случило и наистина ли са го писали по вестниците… Неспособността да се различи това от реални новини говори много интересно за това какви са ‘реалните’ новини всъщност.

2004-10-08 02:18

Friday, October 8th, 2004

Something that has to be read – When the Bogomils were virus writers by Ivan Popov. Damn interesting, and at the end it made me laugh out loud, this guy writes in an amazing way :)

I finished reading “Fools Errant”,”Fool me twice” (in bulgarian the title is translated to something like “Filidor, the dwarf and the arhont”) by Matthew Hughes, it’s nice and has some interesting moments, but after I.Popov it’s just weak…

2004-10-08 02:18

Friday, October 8th, 2004

Нещо, което си струва да се прочете – Когато богомилите бяха вирусописачи на Иван Попов. Адски интересно, а накрая ме накара да се смея с глас, този човек пише направо невероятно :)

Изчетох и “Филидор, джуджето и архонта” (адски странен превод на оригиналното заглавие, “Fools Errant”,”Fool me twice” (две книги в една са)) на Матю Хюз, бива, има интересни моменти, и е доста забавна, ама след като прочетох разказа на И.Попов, ми се видя слабо…

2004-10-07 22:02

Thursday, October 7th, 2004

The first of my lectures on Network security is in the past, and it went pretty well – I was told that I didn’t speak too fast, but I didn’t fill the whole two hours … It was fun, I think the people there liked it (although someone had asked “When will the serious lectures start” :) ). Next week it’s cryptography, so I’ll have time to rest and prepare the Datalink layer and TCP/IP.

Now I’m looking for information on the things that I spoke about today – I’d like to find out if the first mention of SPS (small penis syndrome) in this area is in the opermyths.txt file from the ircd package :) After that I’ll correct a bit the “How to write a course paper…”, some students found mistakes, and in the next month we’ll be giving the assignments.

2004-10-07 21:58

Thursday, October 7th, 2004

Мина първата ми лекция по мрежова сигурност, и се получи в общи линии добре – казаха ми, че не съм говорел много бързо, и все пак не запълних 2 часа … Беше забавно, мисля, че и на хората им хареса (въпреки че е имало въпрос “Кога ще има по-сериозни лекции” :) ). Следващата седмица ще е криптографията, та ще мога да си почина и да си подготвя Datalink layer и TCP/IP.

Сега събирам материали за нещата, които говорих днес – специално искам да разбера дали първото споменаване на SPS (small penis syndrome) в тая област е в opermyths.txt от ircd пакета :) След това ще се заема да пооправя “Как се пише курсова работа …”, намериха ми няколко грешки, а следващия месец ще даваме проектите.