# Austrija

## I left my money in ATM...

Today happened very dumb thing for me: I left my money in ATM. I put my card into ATM, entered the PIN code, selected the amount of money I want to withdraw, then pressed Withdraw, took my bank card and... Well, then I just went out of the bank. On my way back home I understood, that I took my bank card, but I forgot the money. So, I went back to the ATM - there were no money. I thought, that (probably) ATM take my money back. Then I spoke with the officials of bank - they said "no problem". When we'll open ATM, you'll get your money back.

## C#. Object -> Dictionary -> Object

I have the fallowing situation. I have an object. I need to make a Dictionary, which contains all the properties (and it's values) of the object. Then send this Dictionary over the network.

## Makefile example

Some time ago I created my first Makefile. Now I have an Embedded Linux lecture. And the first task is to create a Makefile for the program.

## Short introduction into Slovakian food

I was in Bratislava on 21st May and tried some Slovakian meals. I stayed alive so I can tell what you can eat in Slovakia :) I tried three things:
• Čepovana kofola. It's like Coca-Cola only different version. It's black drink with boubles and, as for me, it tastes better than Coca-Cola. Atleast - during hot day :]
• Kapustnica s klobasou. Soup of cabbages. It includes water, cabbages and potatoes. As for me it looked spicy, but it's only my opinion.
• Bryndzove halašky so slaninou.  It's boiled rolls of flour (as I understood).

## Point multiplication in Elliptic Curves

I was browsing the web for information about the binary multiplication (also known as "left-to-right multiplication") in Ellipti curves. I wrote a demonstration of the algorithm. Unfortunately, it's very brief version, but it might be interesting for someone :) This demonstration generates the right point multiplication sequency in binary multiplication of point. First - very short theory. Point multiplication is the operation: Q = k∙P. Point multiplication is the combination of point doubling and point addition.

## Compare two bignum'bers

If you're working with bignum'bers, you'll probalby need to compare those two - are they equal, bigger, smaller etc.

## FMOD Ex-based sound system for game project

We (I and the members of my project team) are creating a game for our Project work lecture. I'm creating sound system :) I went to FMOD website and took a FMOD Ex package. There were some examples for C# :) If you want to create a sound system with C# and FMOD you need to copy at least fmod.cs file from <FMOD Ex installation directory>\api\csharp. But if you did that, also grab fmod_dsp.cs and fmod_errors.cs. They might be useful latter :) And also include in your project <FMOD Ex installation directory>\api\fmodex.dll. My not finished sound system can play sounds in multiple channels :) Right now I am thinking, should I create a universal sound playing and stopping method (something like Play(string song)), but I'll see :)

## Prezidento rinkimai: vaizdas iš užsienio

Laikinai gyvenu Austrijoje. Vakar gavau LR Prezidento rinkimų biuletenį. Pažymėjau biuletenyje savo balsą, įdėjau į mažą voką, pasirašiau rinkėjo pažymą ir įrašiau datą, mažą voką su rinkėjo pažymėjimu įdėjau į dar didesnį voką, šį į voką su LR Ambasados adresu ir pašto ženklu (toks buvo laiške iš ambasados, tad neteko klijuoti savo), užrašiau savo adresą, nunešiau į pašto dėžutę. Balsas įskaitytas :) Bet aš ne apie tai. Lietuvos naujienas seku tiek, kiek rašo Lietuvos interneto portaluose. Tikrai sunkiai galiu pasakyti, kad vyksta Prezidento rinkimų kompanija.

## XNA. Change resolution & set full screen

I am creating a game with the XNA framework and I needed to change the resolution for XNA game. So, that's how it's done: public class MyCoolGame : Microsoft.Xna.Framework.Game // Code... // GraphicsDeviceManager graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = Width; graphics.PreferredBackBufferHeight = Height; graphics.ApplyChanges(); Another very useful property is IsFullScreen - boolean variable, which sets game to full screen or not (do not forget to call graphics.ApplyChanges().).

## How to recognise a tourist in Austria

He/she:
• Has a big backpack (possibly with weird stickers).
• Looks at everything around.
• Turns/spins around very fast (keep in mind that - be careful).
• Uses camera everywhere.
• Tries to take lots of photos.
• Speaks in foreign language.
• Wears a hat with the text "Austria" on it.
So, like me :D