Wellcome and enjoy.

I would like to welcome you on my blog and thank for time you spend reading it I hope you will enjoy.It is personal creation of me, Lukas Tencer, and it will map my professional success as well as my personal interests.

Saturday, February 26, 2011

White Kinect exists!

I have see some polemics about the color of Microsoft Kinect. If there will / will not be white Kinect. And the answer is much more closer.

It seems that white Kinect already exist and is used by guys in Microsoft research. Proof  you can see on this video. Notice behind the speaker device positioned on green box. Device is really similar to Kinect, just in white color. Also there is this green box, which looks like Kinect box. So deducting from this we can assume, that white Kinect exists, and even in box version, what means, that it can be ready to ship by Microsoft.

Friday, February 25, 2011

Academia vs. Industry

I was, and I am, facing this dillemma. I have talk to a lot of people, think long night. Those people were from both areas. Some of them shift from academia to industry, others shift the other way.

I have already shift once. And as I am looking back about results of my decision. I can honestly say, if I wont make this decision, it will bother me until end of my days. So, what are the results of my research on topic academia vs. industry?

This question usually comes with the beginning of  PhD. studies. More people tell me, that PhD. can open you many doors. And I agree. PhD is usefull not just in academia, but also in any kind of research activity. For example IBM is hiring for research positions people only with PhD. degree. 

The other thing is, what you want. Is it money? forget about PhD. If money is you primary motivator, don't do PhD. Interesting work can be in academia and also in industry. In academia you have large amount of freedom, in industry it is a bit more tight, but good idea is never lost. If you want your work to have real impact, go for industry. If you have many crazy ideas, which you want to realize, go for academia. Well the truth is, academia is all about freedom. Like one wise (academia) man said to me, what holds me in this place is the freedom of what you can do. 

Don't forget, whatever is your decision, you can always switch if you don't like it. So try PhD. write few articles, teach students, do research, realize your ideas. Try industry, go to work, use agile development techniques, cooperate, see impact of your work, have money.

So what is the result? One can not exactly say what is "better". You can just make decision what is better for you. It is like 2 equation, one for academia, one for industry. And you are the variable. Put yourself into those equations and then compare result. 

So bye for now. It is time for me to do some Math.

P.S.: Here is an example, that one can found his true path, even if he is professor on Harward.

Leaving IBM

So it is (almost) official. My 11 months contract ends on 20. march and there is no hiring in software development in Dublin, so unfortunately it is time to say bye to IBM.

I have some great time here and I have the honor to get to know really good and professional people here. I have also learn a lot of stuff about software development. Whatever it is automated testing, DOJO widget development, HTML5, Xpages, IBM Connections, REST services, SOA, JavaScript or Mobile Web, all that knowledge will be hopefully useful to me.

Currently I don't know, where my next steps will lead, I really enjoy these big companies, so possibly it will be Google, Microsoft or event Facebook. To get to each of them will be a big challenge, but I hope, that my new knowledge will help me with that.

I would like to say to all my colleagues, that I enjoy time working with you and hopefully we will met sometimes in the future again.

Be well and prosper.

P.S.: I have just noticed rounded corners around highlated words in Google translate. I like it.

Effective Xpages development or how to use OpenNTF

 Hello, from my last blog post you can deduce, that my current work occupation has changed a bit. The truth is, that currently I am participating on development of controls for Xpages. Xpages is IBM technology for very rapid web development and it shares pretty much ideology of everything server side. So is you are REST based person, this wont be for you. But still you can use REST inside Xpages, so its not so much separated. Not just REST but support for many other things can be found inside Xpages. There are some basic components in core of Xpages, but if you would like to do sth. more with it, I strongly recommend to use Xpages Extension Library. 

It can be found here and everything you will need is Eclipse, IBM Domino server, Lotus notes client and SVN client. Currently there is few project running simultaneously under name of extension library. It is:connections, domino, features, group, mobile, oneui and sametime. I am currently working on mobile components, so in the future, there could be even more mobile support for Xpages. Even now you can build nice native looking application in xpages, with ability to assign custom skins to it, so it can have different look on android iphone or any other device.

I also recommend to take a look on examples, which can be found in XPagesExt.nsf. Dont be fooled by welcome screen. There is much more of examples, you just need to use specific path to .xsp file to access them. For example myserver.com/XPagesExt.nsf/Mobile_Test.xsp , which will give you demo of currently existing mobile components.

Also notice, that OpenNTF connections gives you nice ability to integrate your Xpages application with your IBM Connections. Fortunately connections features REST API so you can connect with it almost from anywhere. This allows you to automatically post things on your profile wall or create/delete communities, activities or anything you want. Also there is great search API which could be really handy.

OpenNTF become in last years for IBM and Xpages one of the main deployment platforms especially because of the ability to deploy immediately without big testing effort (off course testing is done, but not in such a big scale). It is really great to see IBM to give out sth. free and open, hopefully this will last for longer. 

But OpenNTF is not just about Xpages and extension library, you can find there many more usefull IBM stuff, for example Lotus Quickr widgets, which are also some, on which I have been working on. So enjoy OpenNTF and if you have some time, send a nice mail to those folks for all the great work they are doing, why deserve it. Also it can persuade IBM about meaningfulness of this effort.

Monday, February 7, 2011

Why I have left my PhD. studies in Slovakia?

Recently I have got this interesting question, so let me please share answer on this question with you.

Here is quick insight into science in Slovakia:
GDP of Slovakia is 87.84 billion USD, expenditures for science and research are around 0.3% of this, what is 260 mill USD, what is spread across 13 universities and multiple research centres. In next 5 years they will decrease funding for science and research by 30%. Most of this money are support from European Union.

These money are assigned to scientific institutions in 2 ways. By fixed amount for 1 employee and using grants. Fixed amount for 1 employee covers wage and some basic spendings related to his existence in this institution. So main source are grants. Grants are assigned based on a project proposal, what is specification, which needs to have around 300 pages. If you have well written project, you have around 30% probability to get funding.  This probability is much higher, if you are willing to pay 30% of project money as bribe for officials. 30% is amount, if you know someone close to officials, if not, the share could be even 50%. During my stay on PhD. studies I have cooperate on 3 grants, all of them get refused. So few months work of 10+ people just disappear (you can not resubmit the same project). Problem 1. minimal support for science and high level of corruption.

This is macroscopic (state) point of view. Let`s zoom a bit closer. On University/Faculty level. One would expect, that at least university/faculty will make everything to support science and research. Well reality is a bit different. About grants, if you are even the one lucky and you get a grant, there is great financial system, which just does not allow you to access your money first and last month of year, so you are pretty limited in conference choice, when you have to pay fees etc. Also, if you are buying some equipment, everything goes through this system, and it is not surprising, when you request some book and you wait 1-2 months for them. Well there is next interesting informational system, for study agenda, to keep track on grades and stuff. Students complain about it, lecturers complain about it, even some secretaries complain about it, but someone buy it, so there is no other option, than just live with it. Just to mention in short state of building and equipment of our university. Recently (1 year ago), part of the building collapsed, so far university is looking for money to fix it. Temporary measure is to deny access there. Problem 2. non-existence of dialogue between University/Faculty and its employees/students and poor (in term of material) environment.

Let's zoom a bit more, on student level. Well, when one is for example mathematician, he don't need fancy environment and tons of money for equipment, paper and pen are enough for him. So how doctoral research itself is supported? As doctoral student in Slovakia one get around 400 Euro a moth as support. Price for 1 bedroom apartment is around 350 a month. What gives you option to stay on college together with cockroaches, mold in shower and throwing up student in toilet (one toilet for 10-30 people). Other option is let parents support you. Lunch costs around 5€, if you are humble and can cook, you can get in 7€ a day for food. As you can see, financial situation of doctoral student in Slovakia is really not shining. But let's forgot about money and concentrate on research. For research one need articles, books and equipment. Both of the is a bit a problem. University has some subscriptions, but if you need article from other source (I desperately needed some from SpringerLink) you can buy it for your own, or ask friend working on foreign university to get it for you (this could get pretty wrong, if you ask him 1-2 times every week). Books are available in university/faculty library, commonly in number of pieces 1 and some of them you can not take away from library, so you can just scan parts of them. Off course, if you need latest edition of books, in many cases e-books are your only option, often illegally acquired (but at least it is for good thing, research). Equipment is primary problem. If you can not fit your equipment into grant, or you don't have enough money, your only option is to ask someone, if he does not have some money left in his grant. I needed few cameras and couple of graphic cards, I participate on 2 grants to get money for it, none of them was approved. Total cost of it was around 1500 €. Problem 3. Life of doctoral student is close to surviving with little (material) support for his existence and research.

This is just few problems, not mention high level of bureaucracy, clerks who scream on you and are always right, even if they are not... Despite all this, intellectual environment on faculty was really great and stimulating. All the people there are truly professionals and some of them has great publications on world best conferences. I have learn a lot from them. I really admire them, especially when they can do science in any conditions available. I am kind of person, which can take a lot, but if someone (as we say in Slovakia) constantly "throws logs under your feet", one can not expect me just to smile and keep walking.

Also, I am not the only one, who take this path, to abandon original PhD. study on our faculty and start elsewhere. It is more of us. They have more or less the same reasons like me. Personally I know few people from our department who started on our university and then switch, also after PhD. some of them return back. One past colleague, former PhD student on our university, switched to Japanese university, others migrate mostly to Germany, Austria, England and recently on friend of mine, who was in 3. year of his PhD. switched to MIT.

I think that, so much excuses is enough, perhaps behind it all is some part on my subconscious, which just does not wants to be there any more. I will see results of my decisions when I will be older, with some time distance between their execution and my judgement.

Wednesday, November 24, 2010

Bye HTML5 and Quickr, Welcome Xpages and Vulcan

So where one project end another begins, I have developed some nice features for Lotus Quickr like HTML5 upload (same as Google has for Gmail), nice facebook-like chat using web-sockets and other nice (mostly GUI) features. But its over.

And where saga ends, saga begins.

So here we go for Xpages extension library and project Vulcan, what seems to be also nice things to be working on.



OpenCV issue

So quick one post. If you are getting OpenCV error:
warning: error opening file (c:\user\vp\ocv\opencv\src\highgui\cvcap_ffmpeg.cpp:452)
where is the problem?

There could be 2 main causes:
1. You need to have build highgui WITH cv_ffmpeg, but before rebuilding check:
2. You dont have resources in right directory.

For Visual Studio (I am using 2008) it is directory in which is your .cpp file, but of course if you have build it and want to run it, it is also directory where is your .exe file, so debug or release directory, depending on what are you building.

I hope this helps.