Ubuntu upgrade to 12.04 LTS

May 5th, 2012 No comments

I upgraded Ubuntu to 12.04 LTS. After reboot GRUB complained of “no such partition”. I fixed it by booting using Ubuntu 12.04 Live CD and running Boot-Repair.
After that I was able to start Ubuntu and Windows 7 (I have dual boot), but Ubuntu does not want to work with external display. It hangs when I try to attach HDMI display.

Categories: Uncategorized Tags: , ,

Interest Rates

April 10th, 2012 No comments

There are different types of interest rates that are vital for derivatives desk. These are used in derivative valuations, cash flow calculations and projections and beyond. Read more…

Categories: Uncategorized Tags: ,

Team Foundation Server (TFS)?

November 30th, 2011 No comments

TFS? No, thank you….
I prefer Git\Svn + NUnit + Cruise Control

Forward Contract Tenor and Futures Deliery Month Symbols

November 25th, 2011 No comments

What Does Tenor Mean?
The amount of time left for the repayment of a loan or contract or the initial term length of a loan. Tenor can be expressed in years, months or days.
Investopedia explains Tenor:
For example, if a bank loan is initially extended with a five-year tenor, after three years, the loan will be said to have a tenor of two years.

Tenor is sometimes used interchangeably with “maturity”, although tenor is not often used to describe the terms of fixed-income instruments such as government bonds and corporate bonds. Instead, non-standardized contracts like insurance policies and bank loans tend to be described in terms of tenor.
Read more…

Ubuntu update 11.10 Oneric

October 15th, 2011 1 comment

Today KUbuntu informed me that it is ready to update up to 11.10:

ubuntu update 11.10

It is going to download almost 1.3Gb and remove 22 packages. I hope that after that everything will still be working…

Categories: Uncategorized Tags: , ,

Hoppity hop! Facebook puzzle solution

September 23rd, 2011 No comments

Hoppity Hop puzzle description

Hoppity Hop! is the simplest Facebook puzzle.

Input specifications

The input file will contain a single positive integer (in base 10) expressed as a string using standard ASCII text (e.g. for example, the number “15″ but without the double quotes). This number may or may not be padded on either side with white space. There will be no commas, periods, or any other non-numeric characters present within the number. The file may or may not terminate in a single new line character (“\n”). An example input file is below:

15

Output specifications

The program should iterate over all integers (inclusive) from 1 to the number expressed by the input file. For example, if the file contained the number 10, the submission should iterate over 1 through 10. At each integer value in this range, the program may possibly (based upon the following rules) output a single string terminating with a newline.

For integers that are evenly divisible by three, output the exact string Hoppity, followed by a newline.
For integers that are evenly divisible by five, output the exact string Hophop, followed by a newline.
For integers that are evenly divisible by both three and five, do not do any of the above, but instead output the exact string Hop, followed by a newline.

Example output (newline at end of every line):

Hoppity
Hophop
Hoppity
Hoppity
Hophop
Hoppity
Hop

Read more…

GPS Generator PRO – a must-have for all developers of GPS-related hardware and software

July 12th, 2011 No comments

If you are developing a program or device that uses satellite GPS data, you definitely need a reliable and stable source of this data. Apparently, you can use an actual GPS receiver, but what if you can’t? For instance, if your office is located in an area with bad or no reception at all, efficient development of a product that relies on accurate GPS coordinates may be quite problematic. Fortunately, there is a solution for this problem that will help you keep working even if no satellite signal is available. Read more…

Solar 3D printer

June 30th, 2011 No comments

In a world increasingly concerned with questions of energy production and raw material shortages, this project explores the potential of desert manufacturing, where energy and material occur in abundance.
In this experiment sunlight and sand are used as raw energy and material to produce glass objects using a 3D printing process, that combines natural energy and material with high-tech production technology.
Read more…

Categories: Uncategorized Tags: , , ,

Connecting from Ubuntu to Cisco VPN

June 16th, 2011 No comments

On Windows I work remotely using Cisco VPN Client. I tried Cisco Client on Linux but was unable to build and install it. So I decided to use alternative way: VPNC.
First of all, I installed VPNC using this command:

$ sudo apt-get install vpnc

When you try to connect to a cisco VPN by typing :

$ sudo vpnc

vpnc will look for the files /etc/vpnc.conf or /etc/vpnc/default.conf. If it does not find such files, vpnc will default to the interactive mode.
However, vpnc can support different configuration files and be called with the name of the file as an argument. For instance, if you create the configuration file /etc/vpnc/myconf.conf, you will be able to call vpnc like this:

$ sudo vpnc myconf

I already had office.pcf file with all required settings and I found out that I can convert this Cisco Client profile file to *.cfg file for VPNC. It can be performed by pcf2vpnc script. Steps to run it:

Download cisco-decrypt file which will be used to decrypt the group password from your pcf file:

$ wget http://www.unix-ag.uni-kl.de/~massar/soft/cisco-decrypt.c
$ sudo apt-get install libgcrypt11-dev
$ gcc -Wall -o cisco-decrypt cisco-decrypt.c $(libgcrypt-config --libs --cflags)
$ chmod +x cisco-decrypt
$ sudo cp cisco-decrypt /usr/bin

After these steps we have cisco-decript compiled. Next we need to download pcf2vpnc to convert pcf files into vpnc configuration format:

$ wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
$ chmod +x pcf2vpnc
$ sudo cp pcf2vpnc /usr/bin

Now we have cisco-decript and pcf2vpnc in /usr/bin. Let’s convert existing pcf file to conf:

$ pcf2vpnc office.pcf > office.conf
$ sudo cp office.conf  /etc/vpnc/

Now we can connect to office VPN:

$ sudo vpnc office

To disconnect enter:

$ sudo vpnc-disconnect

Unfortunately, there is problem with resolving hosts by names (DNS), so I have to connect by IP addresses.

Categories: Uncategorized Tags: , , , ,

Kamikadze ice creem & grapes

June 6th, 2011 No comments

Would you like some ice creem?

kamikadze ice creem

kamikadze ice creem

 

Grapes

Grapes

Categories: My Pictures Tags: