A few quizes from bbspot.com

I take some old quizzes from bbspot.com website. Here are results:
You are Amiga OS. Ahead of your time. You keep a lot of balls in the air. If only your parents had given you more opportunities to succeed.
Which OS are You?

Most surprising for me, I used Amiga OS only a few times. I prefer to be classified as *nix OS.

You are .txt The one everybody knows and relies on, but avoids in social settings because you're very boring and nondescript.
Which File Extension are You?

Personally, I want to be a database format. Unfortunately, in this test that kind of answer doesn’t exist.

You are C. You do what you're told, even if you know the result will be bad.
Which Programming Language are You?

I would like to be a C++ or python.

You are wikipedia.org You are a know-it-all.  You are trustworthy, most of the time.  You are  versatile and useful.  You like volunteering.  You are free.
Which Website are You?

Excellent answer. The best one out. Although I remember better connections and relations than raw knowledge. As I always say, I’m not a hash map.

Discussion Join the discussion (0 comments)

Fixing KDE paths after doing an emerge

I’ve decided to upgrade my Gentoo OS. I hadn’t done it before, because I’m using computer on a daily basis and I don’t want have computer frozen for about a day just to have KDE 3.5.5 instead of KDE 3.5.2. So I have to download and compile more than 1.3GB. It is too much for my computer to do it in a single shoot. So I decided to upgrade it within few steps (e.g. one night for X, …). Each evening, I used command (xyz is a package like xorg-server):

[code lang="bash"]
emerge -uN deep xyz; poweroff
[/code]

After one of that nights my kdm doesn’t appear after booting. Instead of it I saw an ugly xdm. Quick lookup to display 1 (Ctrl+Alt+F1) show an error:

[code]
which: no kdm in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.6:/opt/sun-jdk-1.4.2.12/bin:/opt/sun-jdk-1.4.2.12/jre/bin:/opt/sun-jdk-1.4.2.12/jre/javaws:/usr/qt/3/bin:/usr/games/bin)
[/code]

As I noticed there was no KDE paths in it. I guessed correctly that something with /etc/env.d/* has happened. I found on net that there should exist two files related to KDE in this directory:

  • 45kdepaths-3.5
  • 99kde-env

In my file system a file /etc/env.d/*kdepaths* didn’t exist. So I created it.

Content of “/etc/env.d/45kdepaths-3.5″:
[code]
PATH=/usr/kde/3.5/bin
ROOTPATH=/usr/kde/3.5/sbin:/usr/kde/3.5/bin
LDPATH=/usr/kde/3.5/lib
CONFIG_PROTECT="/usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown"
[/code]

Than I ran:
[code]
env-update
[/code]

And after that everything work as usual.

Discussion Join the discussion (0 comments)

Unpublished posts

Recently I have written a few posts, but I haven’t published them. Probably I would never do that. The reason why I decided not to post everything what I written is simple. I don’t want any posts on my site which are messy and/or don’t contain anything valuable. In other words, I don’t like what I have written. Anyway I try to summarize what I was wanting to express.

The first of unpublished article was about my driving exam. It was a kind of situation that I really hate. I need a driving license and the only way I can obtain that document is to take official exam. However the exam itself is testing mostly the knowledge of examiners tricks not a real driving skills. Also the form of exam is far from being fair. For example examinees wait for several hour in a tension that in every second their could be called for practice test. Each of that aspects could be easily solved. Sadly since it is the only organization allowed to make driving exams it is not interested in improving quality of their service. Despite of that, the driving exam centre have some “quality” certificates including well known ISO. Anyway, I passed the exam. The point of that article was that law and certificates is not all, sometimes a good will is also welcomed.

The second post was titled “Have a strategy”. It explains importance of having strategy in our life. It show how to organize work more effectively. Sometimes basic tools such as spreadsheet program could be enough to boost productivity. The main thesis was that being organized require only a little effort in compare to possible benefits.

The last one, unfinished, was about my science camp at ICM. I was doing there some researches about classifying articles using N-gram. It was a kind of workshop that require a lot of coding. It also showed that sometimes trivial formulas gave better results then complex methods. To sum up, it is a good idea to try to find simple solutions first, rather then dealing with special cases.

I hope that my further posts will be good enough to publish them.

Discussion Join the discussion (0 comments)

Setting up internet sharing over bluetooth

Today, I decided to set up internet sharing from workstation to my PPC. As my desktop PC and PDA have bluetooth, I wanted to use it instead of inconvenient USB cable.

Firstly, I look through Gentoo Linux documentation. I found two interesting articles, about bluetooth1 and routing2. I follow them, which mean I rebuilt kernel, emerge a few programs and play for a while with configuration. From PPC side, I simple switch to static addresses and enter them. Everything worked as expected, till I decided to restart my computer. After that, I realised that bluetooth interface (bnep) didn’t have proper IP. The reason of that mistake was that script “/etc/bluetooth/pan/dev-up” hadn’t been execute. I double-checked permissions and name of that file, but it didn’t help. Documentation3 didn’t give me any clue. After some web searching, I noticed people who have the same problem, but unfortunately, I didn’t find solution.

At that moment, I decided to use some messy scripts to do that job. However, I still wondering, why my first method doesn’t work. I hope to figure it out.

  1. Gentoo Linux Bluetooth Guide [back]
  2. Home Router Guide [back]
  3. HOWTO PAN [back]
Discussion Join the discussion (0 comments)