Joonas Kirsebom
- The World From A Kirsebom Perspective

Ti kamerater spiste middag sammen på restaurant hver dag. Regningen kom alltid på 1.000 kroner totalt.

Siden det var stor forskjell i inntekt og formue hos de ti, ble de enige om å dele regningen på samme måte som skattesystemet. De fire fattige slapp å betale. Den femte betalte kr. 10, den sjette kr. 30, den syvende kr. 70, den åttende kr. 120, den niende kr. 180 og den tiende og rikeste skulle betale kr. 590.

Alle var fornøyd med ordningen inntil restauranteieren en dag tilbød dem rabatt. De var stedets beste kunder, så han tilbød et avslag på kr. 200,- per middag. Fortsatt ville gruppen dele regningen etter skattemodellen, så de fire fattigste skulle ikke betale. Spørsmålet var hva som skulle skje med de seks andre, hvordan skulle rabatten fordeles?

Kr. 200 delt på seks ble kr. 33,33 i avslag. Det betød at person fem og seks ville få betalt for å spise, og det var klart urimelig. Restauranteieren foreslo å redusere regningen omlag likt for alle, og ville utarbeide et forslag. Det innebar at også den femte fikk spise gratis, og den sjette skulle betale kr. 20, den syvende kr. 50, den åttende kr. 90, den niende kr. 120, mens den rikeste fikk redusert regningen fra kr. 590 til kr. 520. Alle fikk lavere pris og ingen kom dårligere ut enn før.

Utenfor restauranten begynte de imidlertid å sammenligne hva de hadde spart.

Jeg sparte bare en tier, mens han sparte kr. 70 sa sjettemann og pekte på den rike tiendemannen.

Akkurat, sa femtemann, som også fikk kr. 10 i avslag. Han er rik, men fikk likevel syv ganger så mye som jeg. Hvorfor skal de rike alltid få mest, ropte den syvende, som fikk kr. 20 i rabatt. Og vi fikk jo ingenting, ropte de fire fattigste i kor. Dette systemet utnytter de fattigste.

Stemningen ble rask så hatsk at de ni banket opp tiendemann. Neste kveld kom han ikke på middagen, så de spiste uten ham.

Da regningen kom oppdaget de noe enda viktigere. Det manglet 520 kroner.

Kilde: debatt på dn.no

Related Posts

  • No Related Post

The mighty N900 gets an update. I have waited a long time for this, and finally it is coming :)

It starts today with UK, and the rest of the world tomorrow.

http://conversations.nokia.com/2010/05/25/nokia-n900-software-update-release-1-2/

Tags:

The Visual Studio 2010 where launched some weeks ago, and as a user of VS2009 I really wanted to try the new version. I downloaded it from msdn, and installed it. I really like the new look of Visual Studio. But I have to admit that I haven’t used it much, because of the the Media Center SDK is not fully supporting VS2010 yet. So I will be waiting for the next MC SDK update before I will move my development over to VS2010.

So, to you all that are developing Media Center application I will suggest you wait for a new SDK version before you swap to VS2010.

I don’t know when the next version of MC SDK is coming out, but the version which is out today is SDK6 (8/19/2009).

I have been quite unhappy with the lack of support for launch conditions on 64bit applications. I used Visual Studio 2008 for a long time with this problem. I hoped that Microsoft would fix this problem when they released Visual Studio 2010, but as I can see, they have not done anything with this problem.

UPDATE v2

New version uploaded here (msi64v2).

The new version allows you to have multiple Registry Searches in Launch Conditions. It will also allow you to differ between 64bit and 32 bit searches.

All you have to do is to name your 64bit Registry Searches so they are ending on “_X64″. Ex SERVICEINSTALLED_X64.

Put msi64v2 file in your solution(!) folder. Open your solution explorer and find your Setup and Deployment (x64) project. Find the property called PostBuildEvent and fill inn

"$(ProjectDir)..\msi64v2.js" "$(BuiltOuputPath)"

and set RunPostBuildEvent to “On Successful build”.

Now you are ready to go :)

Old v1

After much googling i found a way to fix this efficiently. First you will need to download this JScript. Put this JScript in your Solution/Project directory.

You have to edit the .js file and search for “SERVICEINSTALLED”, change this name to your search property name.

Open your solution explorer and find your Setup and Deployment (x64) project. Find the property called PostBuildEvent and fill inn “..\..\msi64.js <output_file_x64>.msi” and set RunPostBuildEvent to “On Successful build”.

This will edit your msi file so it searches the x64 bit registry.

PS: if you got an error on compiling, the path might be wring, try only using ..\msi64.js

I have written a blog post about this earlier, but it only worked for the RC version. This is just an update so you can find the right url for the RTM version.

To enable multiple simultaneous users, follow this link.

Tags:

I got some problems with the map loader and the N900. The problem accur when using Windows 7 64bit. What is needed on the pc is:

Pc suite: http://www.nokia.no/support-og-programvare/programvare/nokia-pc-suites

Map Loader: http://www.nokiausa.com/get-support-and-software/product-support/maps-support/compatibility-and-download#/default/

If you get an error with the map loader when you have connected the N900, try this. This did the trick for me:

- Run terminal and type: cp /home/user/MyDocs/.qf /home/user/MyDocs/qf
- Connect the N900 to PC in PC Suite Mode
- Open Map Loader and load your maps!

Tags:

I got my N900 in from the post man, and I am ready to check it out. I will be back with more.

Tags:

It’s really easy to get all disc in the system by using the .Net framework. And if you will you can sort out the right type of disc by using this code.

string[] discs = Environment.GetLogicalDrives();
for (int i = 0; i < discs.Length; i++)
{
        System.Management.ManagementObject diskObj = new System.Management.ManagementObject("win32_logicaldisk.deviceid=\"" + discs[i].Replace(":\\", "") + ":\"");
        string DriveType = diskObj["DriveType"].ToString();
        switch (DriveType)
        {
                case "0":
                        //DriveType = "Unknown";
                        break;
                case "1":
                        //DriveType = "No Root Directory";
                        break;
                case "2":
                        //DriveType = "Removable Disk";
                        break;
                case "3":
                        //DriveType = "Local Disk";
                        break;
                case "4":
                        //DriveType = "Network Drive";
                        break;
                case "5":
                        //DriveType = "Compact Disc";
                        break;
                case "6":
                        //DriveType = "RAM Disk";
                        break;
                default:
                        //DriveType = "Unknown";
                        break;
        }
}
Tags: ,

Check out the teaser video of Fallout: New Vegas!

Tags: ,

If you are working on a MCML(Windows Media Center) solution and you are using more than one project for this, you might have got this error when debugging in media center.

Could not load file or assembly ‘XXX’ or one of its dependencies. The system cannot find the file specified.

The problems seams to be that the support/class project is not being loaded in the GAC. The thing you need to do is to edit your DevInstall.cmd file so it will install both projects to the GAC.

To the unregister part add a line which fits your system projects under Remove the DLL

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" /u "Support_project_name"



And add two lines to the register part under Copy the binaries and Register the DLL

copy /y "..\Project\bin\%ReleaseType%\Support_project_name.dll" "%ProgramFilesPath%\%CompanyName%\%AssemblyName%\"

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" /if "%ProgramFilesPath%\%CompanyName%\%AssemblyName%\Support_project_name.dll"


Powered by Wordpress
Theme © 2005 - 2009 FrederikM.de
BlueMod is a modification of the blueblog_DE Theme by Oliver Wunder