14.03 2010

Becoming an investor

Now is a good time to write about my interest in investing and finance in general. Why now, you ask? Well, this week is the first time my stock portfolio total shows a positive number, calculated roughly from the day this recession we have started. I made my first bigger investments just before the downhill started, so I have been looking at a red summary row the whole time I have been investing, until now. Having had this declining market is not all bad. I lost a lot at the beginning, but I have got the total up to +-0 by heavily investing over the second half of 2009. If I hadn’t believed in the markets I wouldn’t have invested more, and I would still have losses of about 20% today. This means that the market as a whole hasn’t yet fully recovered from the recession, which means that the rest of the recoverement is in other words pure profit to me. Yay.

I think I invest a little bit too heavy for the moment, but I just see great potential in it. I took a course in investing in fall, and one detail that was said on the course really stuck into my mind. That was that you should not invest money that you may need in the near future, 5 years or so, except when you get some very secure/short term investments (state bonds etc.), and only a fraction of all your investments should be in the high risk/volatility sector at all times. This is funny when the most expensive object I have, after my investments, is my TV, and roughly 90% of all my investments are in stocks. I may also need the money in a few years if Katja and I decide to buy our own flat. They say it is good to not worry about the risk so much when investing, but I have a feeling that I sometime neglect it alltogether, which isn’t either good. 

Here’s what my portfolio looks right now. Company names along with their percental weight:

Finnish stocks:

Affecto		10,0%
Elisa            1,0%
Fiskars		 2,6%
Fortum		 6,0%
Huhtamäki        9,4%
Kemira		 0,4%
Neste Oil	 2,1%
Nokia		 7,4%
Nordea Bank	20,4%
Orion		 2,8%
Outokumpu	 7,7%
Panostaja	 1,8%
Pöyry		 9,2%
Rautaruukki	 1,9%

Funds:

India Fund	 3,3%
East-Europe Fund 2,7%
China Fund	 2,9%
Russia Fund	 3,0%
Low yield interest/stock fund 5,3%

Next step in shaping the portfolio is probably to take a deeper look if the stocks are evenly spread out in different industry segments to minimize risk.

I want to stress the benefits of investing to everybody. Only way to get a little extra, and not being so dependant on your payday is to take care of yourself. That, by making sure you have a few other sources of income. “Become financially independent” and “don’t work for money, make your money work for you” as Kiyosaki said in his book ‘Rich dad, poor dad’. A great book - read it if you haven’t yet. Yes, you! However, I really can’t recommend actively investing in stocks to anyone, except if you are ready to get really commited into the whole thing. Funds are so much easier to invest in when there is someone in the banking firm taking care of your money the whole time, for a living. The profits may be a little less because of extra fees but the risk for the portfolio to crash is that way so much smaller. I am bound to sometimes lose money on the stocks because of my dumb decisions. That’s because I simply don’t know enough right now about the dynamics of the markets and the companies I invest in. But I am ready to lose some in order to learn, as you learn from your mistakes. I think the fastest way to learn (but maybe not the most profitable) is to just jump into the game. It is, aditionally, a hobby to me, with it’s own thrills and chills.

Comments
21.02 2010

The Curious World of Java Frameworks: An Introduction

I have felt all my time being a programmer that I don’t know enough of my field of profession. I guess you could call it a healthy curiosity and the need to become a better software engineer. At first, when I started working, I wanted to get a better grasps of the very basics. Learning to use Java efficiently, which is the language I work with, learning nifty programming tricks, coding in an object oriented way, testing, building, refactoring, writing maintainable code etc. I feel that I have gotten a hang of these things now and my curiosity has moved on to other things. My latest interest lies in third party frameworks which have caused a big buzz in the Java community lately. I tout people to use our company’s GUI framework, but at the same time I haven’t bothered to look at other readily available frameworks out there.  I guess that many in the branch too easily just starts to code their projects head first, instead of taking the time to look around for a moment too see what’s available out there. Many of the common project requirements have already been coded a bunch of times, and many end up building their own little framework when there is already many proven and free solutions available for download. I don’t think it is so much of a case of the Not Invented Here -syndrome (NIH), although it could be a factor, but more of not just knowing enough of all the powerful tools that you could add to your toolbox.

I have therefore gathered a list of frameworks that interests me, but of which I don’t really know anything about. The biggest one of these is the Spring framework. Next of the bat comes Maven and the third is db4o. There is a few others too but I won’t go into details right now.

The parts of Spring that I’m most interested in is building more modular applications with its Dependency Injection (DI) and Aspect-Oriented Programming (AOP) capabilities and it’s Object-Relational Mapping (ORM) integration tools to automatically handle connections, transactions, exceptions etc. to the database. I use Hibernate a lot and Spring has Hibernate integration, so I’m interested to see what parts of my own code is already implemented in a more generic solution into Spring. I just got the book ‘Spring in Action‘ by Craig Walls that I’ll start exploring at some point. The downside is that the book is 700 pages and I’m a terrible slow reader. On the plus-side, Spring in very modular in itself and the most important modules are presented in the very beginning of the book. That means that I can take some new features to use after every chapter.

The one that I’m going to look at first, however, is Maven. Maven is first and foremost a build system to easily produce jar:s, war:s and ear:s of your projects. Additionally, it can download other framework jar:s for you and easily plug them into your project. I’m looking into it to simplify project structures and have it help me to handle dependencies between my own projects when there can be up to six different projects depending on each others.

db4o interest me because I want to see what alternatives there are to SQL. Object databases is one of them. I’ve heard that db4o is really simple to use and that would be a great asset to small pet projects.

So those are the frameworks I’m gonna start off with to enlarge my Swiss army knife. I’ll start with Maven as I already have tested out it a little, it is fairly compact and it defines the project’s structure. It’ll be a lot easier to add on the other frameworks to the project when I’ve laid the foundation with Maven.

Let’s see how this starts off..

Comments
23.11 2009

[Blog] Blogging on-the-go

I’m sitting in a car for the moment, on my way to a business trip. I’m listening to music to kill time and I suddenly got an urge to write a blog post about my ambition towards music. But what to do? I have no computer in front of me, and probably at the point when I do, I’ve lost “the right mood” to write the post. I decided to download Tumblr’s own app (Tumblr is where this blog is hosted) for my iPhone and test if it is any good for writing these post. The app seems quite nice, and writing this post hasn’t been an hassle at all. It has the ability to store drafts, so I had the possibility to take a break from the writing too. Only down-side, and this is a big one too, is that it doesn’t support the landscape keyboard. I did a lot of mistakes all the time, but the typing speed was still decent. A spell checker would have been nice too. The next phone I’ll get will probably be a ‘yet to be announced’ android phone with a physical qwerty keyboard. That’ll fix at least the former problem.

On a related note: I dropped my iPhone today for about the 20th or 30th time and this time it shattered in one corner. It however still works perfectly and I’m suprised it lasted flawlessly this long.

By the way, I already forgot all my great ideas for my music-related post, but I’ll at least be prepared the next time I get them.

Comments
3 of 5