А в Минске-то интели орудовали, не иначе.

Интели не гангстеры, это отчаявшиеся люди, патриоты... У них одна задача - расшевелить это болото. Любыми средствами. Дать этому городу хоть какую-нибудь цель, заставить его оторваться от корыта... Они жертвуют собой, понимаете? Они вызывают огонь на себя, пытаются возбудить в городе хоть одну общую для всех эмоцию, пусть хотя бы ненависть...


Tutorial on NetBSD 4.0 i386 setup in kvm.

Create a 10G disk image:

qemu-img create -f qcow2 netbsd-4.0-i386.qcow2 10G

Avoid hangup on boot with --no-acpi and the default network card timeout by trying out a different card, e.g. -net nic,model=ne2k_pci:

kvm -hda netbsd-4.0-i386.qcow2 -cdrom i386cd-4.0.iso --no-acpi -net user -net nic,model=ne2k_pci

Walk through the installer.

Install additional packages with pkg_add:

export PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/packages/4.0/i386
pkg_add vim ctwm firefox wget

Include them in path:

echo "PATH=$PATH:/usr/pkg/bin" >>/etc/profile
. /etc/profile

Install the latest stable pkgsrc:

wget ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2008Q1/pkgsrc-2008Q1.tar.gz
tar xzf pkgsrc-2008Q1.tar.gz -C /usr

Make sure that pkgsrc fetches binary packages for dependencies, when possible:

echo ".ifdef BSD_PKG_MK
.endif" > /etc/mk.conf

Configure pkg_online to be able to search for packages

cd /usr/pkgsrc
cvs -d:pserver:anonymous@pkgsrc-wip.cvs.sourceforge.net:/cvsroot/pkgsrc-wip login
cvs -z3 -d:pserver:anonymous@pkgsrc-wip.cvs.sourceforge.net:/cvsroot/pkgsrc-wip checkout -P wip
cd /usr/pkgsrc/wip/pkg_online
unset PKG_PATH
make package DEPENDS_TARGET=bin-install

Search for additonal packages

pkg_online_find :s:pptp

P.S. Thanks to Aleksey Cheusov <vle@gmx.net> for implementing and making available pkg_online.

Attack on the tax calculation: it is the law, dude!

I must admit that I was wrong in my previous stance over the tax calculation issue. Apparently, The Ministry of Finance has nothing to do with such a strange calculation process. It is prescribed by the law.

Article 134 CIR 92

§ 2. La quotité du revenu exemptée d'impôt est imputée par contribuable 
sur les tranches successives du revenu, en commençant par la première.

What I took for ingenuity was plain stupidity.


A man-in-the middle attack on tax calculation in Belgium

I am probably missing some background knowledge, but the salary calculation process in Belgium looks like it has been subverted by Ministry of Finance officials.

This is better seen by example

The so-called key formula for the tax prepayment calculation (précompte professionnel) for the year 2008 (income year 2007) states that the first 5220 EUR are exempt from taxes.

Now, let us work by example. We will do the calculation for someone called Jacques who earned 10000 EUR in 2007. We proceed by subtracting 5220 EUR from his earning and we pay taxes on the rest, that is, the 4780 EUR.

This amount falls entirely within the lowest tax range, that has the tax rate of 26,75 %.

4780*0.2675 = 1278.65

So Jacques supposedly has to pay 1278.65 in taxes. Right? Wrong!

The calculation procedure is defined by the Ministry of Finance as follows

First, Jacques calculates his taxes on the total of his earnings. 10000 EUR are split in two ranges. The first 7550 EUR is taxed at the rate of 26,75%. Everything over 7550 EUR up to 10250 EUR of earnings is taxed at the rate of 32,1%.

7550*0.2675 + 2450*0.3210 = 2806.08

Second, Jacques subtracts from the result the amount that he would have paid if the first 5220 EUR were taxable at the lowest tax rate, that is

2806.08 - (5220*0.2675) = 1409.73

The difference between both calculations is