Sunday, July 21, 2013

Playing paintball

Today I went for paintball first time with Yann and Ian, two canadian interns.
Few lessons learnt:
1. Wear full sleeves and cap. It really hurts when you are hit on the head. Receding hair does not help.
2. It is difficult to play in a summer day with glasses on. The sweat and vapor makes you blind. Add paints on the mask with it.
3. You can buy a small pack of paint. 500 paintballs is sufficient for a day.
4. You get game-bans for not wearing mask inside the net. They are quite strict.
5. You might loose the barrel cover. Pay special attention or loose 5$.
6. You might wait for some time, it is the end game that is easier.
7. Probably laser tag is easier. It does not hurt. :)

Thursday, July 18, 2013

ten books from my childhood

1. Chacha chaudhary and Gaja
http://issuu.com/pawmeen/docs/chacha-chaudhary-aur-gaja
2. Ajab desher roopkatha
3. Ek chatak bhut
4. Baro bhuter golpo
5. Anderson er golpo
6. Buddhiramer ajob kando
7. Ek bag shankar
8. Shanku
9. Phanton
10. sei aaschorjo barita
11. francis
12. nakugama
13. sagartire
14. Jules verne
15. sera aaschorjo, seta bsimay
16. o henry
17. bhuter mukhe ramnam: books from train

Friday, July 12, 2013

Learning C#

Namespace:
Are used to avoid conflict of class names.
You can define namespace Arindam and call some function me by calling Arindam.me();
Using Namespace helps for calling other functions in other namespaces.

public static void main:
public: any code can call it
static: a global process thus no need to instantiate

printing:
System.Console.Writeline

interface, class, objects, constructors
Remember class as structure+functions
for normal functions just use static, however for other functions use class-based functions, it is easier to use.

Interface is a group of methods with empty body. A class implements interface. Many class can implement an interface.

$\LaTeX$

Wednesday, July 10, 2013

Using Gurobi

For my project recently I am using gurobi, it has excellent LP and MIP solvers.

Here are the steps for using gurobi:
just download and install gurobi
go to examples->build->project 2012->MIP.cs and modify and enjoy

If you want to run it in another directory, you need to check "reference" of MIP.cs in solution explorer and add those in the new location. Then also make sure to modify the program runs for "x64" machines instead of all machines.

Happy Gurobi-ing!