Якщо помітите помилку на цій сторінці, будь ласка, виділіть її вказівником миші та натисніть Ctrl+Enter. Зробімо наше мовлення чистішим!
2007-02-24
Laziness can save us!
The ATI has just released new version of their video drivers, so I pretended to install them. But then I newly discovered that the driver isn’t installed under linux-2.6.20. The problem was much more severe this time, so I just refused to dig down any more. I downgraded the kernel to the previous version, and everything went just smoothly.
How much time would I save if I did this when I was installing the previous version of drivers?..
2007-02-23
How I applied for information
Yes, it’s very easy, every kyiv man knows it’s nesessary to call 09 and to ask a phone girl. So did I when I took on the bus:
—Would you please tell me where is a military store?
—Which street is it situated on?
—I’d like you to tell me that.
—Sorry, I can’t help you...
But because I was speaking loudly enough, two passengers turned to me and prompted politely exactly what I wanted. Next time I shan't call the 09 at all, I’d rather just ask people around me.
2007-02-20
Think global
Hi there! Recently I've been looking for the suitable way to connect to the internet. Actually, I've been already using gprs connection for two months, but the way I did it was very awful. First, I logged in as a root than in console I typed wvdial umc. And finally, when the connection was established i copied /etc/ppp/resolv.conf to /etc/resolv.conf to use just received DNS nameservers' addresses.
But this approach completely contradicts to my developer's nature: I'm lazy (in a good sense of the word), that is my credo is "It's better to spend an hour and reach in five minutes". So when I digged deeply into system configuration, I discovered that there were a simple way just from the beginning. I just had to use the system network configuration utility (it's called system-config-network), add new ppp connection, configure dialling parameters and that's it! Now to connect to the internet, I just launch another system utility that's called Network Device Control, choose desired connection (ppp0) and click on the Activate button. All this operations are performed from within my usual user account. And what is the most important, the DNS resolver gets configured automatically, I don't need to do any dangerous manipulations on the system manually.
The conclusion from the story was for me to think sometimes as usual user, to think global and to regard the system as the whole ignoring its parts.
2007-02-19
Dancing with teachers
I really like dancing with teachers! They treat me very carefully, just like my mother does. The fear of failure goes away when I'm dancing with a teacher, so the dance become much more clear and fluent. Tonight I liked dancing with Anya (the teacher of NY) very much, just can't recover my sense!
Dancing with tambourine
This little story tells, how I installed driver for ATI Radeon Xpress 1100 under Fedora Core 6.
Well, everything worked just fine primarily with the generic open source driver called radeon. The universal linux test for OpenGL glxgears showed that my new laptop processes near 450 fps, that's to say there was no hardware acceleration at all. Offensively. So I went to the ati.com, downloaded their native driver. It doesn't matter that the 'radeon xpress 1100' doesn't even appear in the list of supported hardware, the driver is as generic that it can work with many others. It turned out also that there were the only driver suite for any configuration, and I had to download near 60 MB.
So I became a happy owner of a copy of new ATI hardware driver with version number 8.33.6. Very well, we begin shortly. First I have to confess that I've just customized my linux kernel and installed the newest version available at that time, that was 2.6.20. Actually, this let me have spent MUCH MORE time getting the driver to work.
1) Launch
$ ati-driver-installer-8.33.6-x86.x86_64.run --listpkg
showed that my system distribution should be well supported.
2) But when I tried to build RPM packages, I got first surprise:
ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg Fedora/FC6
....
(lots of compilation errors go here)
The short look at the messages revealed that the version 2.6.20 of the linux kernel isn't supported by the driver. Actually, there were no macros _syscallX() anywhere. But deep investigation in the web found out that that problem can easily be solved by defining missing macros either in the source file where they're used or in the kernel source. In my case the latter was more suitable.
3) I tried to build desired RPM packages again. The second problem prevented me from success, it appeared that my system lacks the fireglcontrolpanel application. The web helped me again: the source of the program can be extracted from the driver package and compiled manually. It appeared that to do so, one must solve some easy programming puzzles ;-)
4) At last, I succeeded building RPMs for my system:
$ ls *.rpm
ATI-fglrx-8.33.6-1.fc6.i386.rpm
ATI-fglrx-control-panel-8.33.6-1.fc6.i386.rpm
ATI-fglrx-devel-8.33.6-1.fc6.i386.rpm
kernel-module-ATI-fglrx-2.6.20-19.02.2007-8.33.6-1.fc6.i386.rpm
$ su
# rpm -ivh *.rpm
5) At this point everything seemed to be ready to restart X Window system, so I pressed ctrl + shift + backspace. The X server started, but nothing interesting happened. The glxgears showed the same 450 fps, fgl_glxgears refused to start.
That was the best time to look at /var/log/Xorg.0.log. There were errors!
So I disabled the option AIGLX in the section "ServerLayout" of /etc/X11/xorg.conf.
6) And that was the turning point! The glxgears printed out that my system was able to produce 2000 fps, almost four time increase!
Enough about computers. I spent for that process near 24 hours, two times I decided to give it all up. But every time I came back and tried again. This insistency made my success, so I can safely say: "Never give up!"
2007-02-02
Dangerous thoughts
Be careful with your even non-dangerous thoughts, aspecially when you're going to share them. I've posted a notice about women cloths on a web forum. I just supposed those cloths were reused from another performance... I didn't even had time to turn around, as I was plied with stones. It doesn't matter that I appreciate "reusing" in life very much... So I had to beg pardon.
2007-01-30
Ski season 2007 opening
The winter has come to us at last. So I prepared my nordic ski, and just tried out the snow coat.
After long summer season, I've lost knack, and it took me near an hour to wash out the previous season klister (it'd be much more better if I did this in the previous year!), and to apply new ski wax. But I was endowed for my effort with very smooth skiing experience.
A small distance (but enough for the first time) showed out that my skiing skills and power remain on the good level, so I'm going to more interesting hillycountry tomorrow.
2007-01-28
Welcome back to Ukraine!
The last five days in Hungary passed very quickly, because it was very interesting. The days was spent for excursions, nights for dancing and getting home. I slept only few hours every night, but nevertheless I felt very fresh. I used the Hungarian for communications if I know how to express myself, the English was used otherwise. It appeared that Hungarians are very friendly people, they speak very good English, German, sometimes Russian.
I've found a female friend, we danced together. I've taughted her to dance the Los Angeles style of salsa, she showed me the night city, presented young wine of her own production. I adore her!
2007-01-23
It happend indeed!
I danced salsa with Tanya Yur'yeva today. As long as she is my teacher, the fact itself is something like a ceremony of initiation for me. Actually, I've been trying to catch her for two last months, but she was too busy to visit salsa parties. "The ambition of an idiot" became true ;-)
2007-01-21
Magyarországra megyek!
Hi there! "Who can do something does it, but who can't teaches",-- I heard today. It appears that my next dream is becoming a reality, yes, the day after tomorrow I'm going to Hungary. Hurray!
2006-12-11
Experience is a big deal!
To gain dancing experience, I went to the "Luxor" night club the last Saturday. I knew no one, and no one knew me there. Nevertheless, (almost) every experienced girl I was dancing with determined that I'm learning in the Salsa club. Moreover, one of them guessed my teacher's name. I was very astonished, how they all could know that! It appeared that every school has its own features and habits in leading, and my partners knew and distinguished them.
2006-11-20
Training in Koncha-Zaspa
Yesterday, my friends and I were training in Koncha-Zaspa, a well-known reserve near Kyiv. Having returned, upset Eugene, which ran into a drunk hunter, told us: 'Evidently, the word "заказник" (reserve) hasn't come from the old slavic "заказ" that means "prohibition", but from the new slavic "заказ", which means "order"!'
2006-11-13
The way to the freedom
When you find the richness, you loose the conscience. When you find a woman, you loose the reason. When you find the truth, you loose the faith. And only when you loose everything, you find the freedom.
2006-11-09
Octal numbers
I always wondered who were using octal numbers at all? It appeared, that dentists do!
— Here, look at your 37-th tooth!
— But, I've always thought that I had only 32.
— So we number them by sections...
2006-11-08
2006-10-30
About surzhyk
I've discovered for myself, which kind of surzhyk rapes my ears. It was so evident that I don't understand why I haven't remarked it yet. The formula is very simple: the product of the disgust to the simplicity (use rate) of the word is a constant. That is, they are reverse proportional.
For example, I can stand if I hear: `Коли закінчиться ця бєсконєчна історія?' But something like: `Єслі ти будєш дома, подзвони подрузі', `Вибирай: я ілі пиво.' shocks me.
To be honest, I have a weak suspicion, that this rule has its own exceptions.
2006-10-26
The right way
I heard a very interesting thought by Tanya Yuryeva yesterday. She said: `If you want to know if an experienced girl let you dance with her, don't ask how long she's been dancing before, but just say her that you're a tee-pot, and you've been dancing for only two months. Then ask if she wants to try with you.'
The sentence can easily be generalized for any other relation.
2006-10-25
Developing the `Universal machine'
Hi!
I've tried to solve very interesting task from the icfp. They propose to implement an interpreter of the byte-code for the specified `universal machine'.
Well, I thought, such a program is a very easy to solve in C++, and what if I try to do it in Haskell?
Said is done. But the result doesn't promise as much as I expected.
First, the code is simple and clean indeed.
Second, it works indeed. When I ran the benchmark by it, only simple tests passed, the other consumed too much memory.
I wonder if there's a person who could help me out to tune the program...
2006-10-19
Підписатися на:
Дописи (Atom)