Wednesday, 31 December 2014

Happy New Year!

And 2014 is over, just like that.


What has happened this year? Too much to really. A grandchild, a wife with a Masters, new friends, old friends...


I wish you all a Happy 2015. May all your wishes come true.


Happy New Year!

Wednesday, 1 January 2014

Predictions for 2014

The New Year is here and lots of people are posting their New Year resolutions. This year I thought I'd try something different. Here are my New Year Predictions.
1. In the area of social media, we will find that all those companies that are gathering our tweets, Facebook posts, G+ shares, etc will finally start providing services that make use of this data. Thanks to Big Data Analytics and Predictive Analytics these companies will provide better discounts, more relevant and interesting advertising AND they will do it in such a way we won't even realize the complexities behind it all.
2. Space exploration will have some privately funded companies looking for new ideas by using crowdsourcing techniques and mass marketing.
3. Looking at DNA for techniques to prolong life has been going on for a while, but I think the next big breakthrough will happen this year. Now beating diseases like cancer is going to become even more important. Please donate to those doing research in these diseases.
4. Advances in cheap disposable computing device like the Pi and Arduino will make more DIY projects more appealing. Watch the big companies start to sweat at having these cheap device take over in the home. Thanks to this, educators will start to focus on technology again, making it more appealing to kids.
5. Google makes Glass more affordable than people currently expect it will be and finally opens it to everyone. In the $150-200 range. (OK that's just wishful thinking.)
Well, that is all I am going to put down for now. Now let 2014 begin!

Tuesday, 31 December 2013

Happy New Year!

It's a brand new year. People will start thinking about the things that they have accomplished and the things they wish they had accomplished.


I know that this past year was a great year. I managed to do so many things and a lot of them wouldn't have happened if it weren't for my wonderful wife.


Happy New Year!

Wednesday, 2 October 2013

Debugging a core? What tools do you use?

Whenever you have an application crash or become unstable and the worse part is that logs don't give you anything useful, what do you do? What tools could you use.

Well, one thing is strace. Running and tracing a process while it's doing its thing is one way. Crashing the process or generating a core with "gencore", gcore (aka gdb core) or something similar is another.

But what do you do when you want to capture the core and its dependencies on another machine to debug? 

On AIX IBM has snapcore. If you don't know this utility, read about it! It's a great tool but there is no equivalent in Linux. 

What can you do?

Well it turns out that gdb can provide a few things that make this easier. For example, gdb can list the libraries that are loaded in memory on the core. This is helpful so that you can gather those to bring in house.

So once you are in gdb you can do a "info sharedlib" and get this list.

Once you do that, you can collect the libraries that you need and use them to debug the core locally by loading them at the same time as you load the core and binary. You need to set some information when you are doing this.

I'll write another post with my way of doing this... and possibly a "snapcore" equivalent for Linux.

-P

Tuesday, 20 August 2013

Home Automation - Is your house smart?

For many years I've wanted to automate things around my house. A long time ago (almost 10 years ago!) I use to use MisterHouse. This was a great application and although I didn't have much in looks, it made my imagination run wild. I was using a few X10 components and though it worked, it was somewhat disappointing in it's performance.

Now, I am planning on embark on a HA project once again. This time, I would like to use something which offers a lot more than Mr House. I've been waiting to see how that project matured and how much development was put in... Though I must admit it's a complex project, I certainly look forward to start it. (If my wife lets me.)

This time, I am going to use LinuxMCE and if you ever go on YouTube, look it up. The demo is quite impressive so it's worth it to look at users' environments. This video/demo I liked above was using a much older version of LinuxMCE. It's capabilities are quite impressive.

Now one thing that is good about HA is that you don't have to invest tons to get started. I'm going to start with a module or two and control a light or two. Once I've got it going, I'll hopefully convince my wife to let me invest in one module a month. (One security camera here, one light module there, another VOIP phone here...)

In short - HA is something that has been available for a while and doesn't take a lot to get started. When are you going to start?

Monday, 8 October 2012

How to tell someone you love them?

I haven't written in a while, not because I haven't had anything to say, but mainly because I haven't felt like putting it down in my blog.

Now, I have something I want to say, but I don't know how to say it.

I love my wife and kids. They are the most important thing to me. I've always thought that what I did was in their best interest. Now, I'm not so sure that is what's happened.

I love my daughter so much that it's gotten to the point where I feel I can't give her anything she deserves anymore and as adult she now makes her own decisions. I feel I can't provide her with what I hoped I would be able to.

I love my son so much that it hurts whenever I think of anything happening to him or of him suffering in any way. 

I love my wife so much ... that I can't find a way of expressing it to her. I want her to be happy. I want her to know how I feel about her and that I've always been in love with her, but simply telling her isn't good enough.

She's always has told me "Actions speak louder than words" and I haven't acted. My actions have always turned out to be the stupidest thing that I could possibly think of. And that wasn't my intent! I REALLY thought that what I was doing was "ok" and it could be explained away. That it would get fixed. I live in a fantasy world where I can dream up the solution to my relationship problems. I always dream that things work out. It never does.

So now I'm stuck. I love my wife so much, but I don't know how to tell her and I don't know what to do.

Any suggestions?

-P


Wednesday, 14 March 2012

Getting Pidgin and Microsoft Lync to work nicely.

In the Windows centric company that I work at we use Office Communicator. Therefore I use Pidgin and the SIPE/SIMPLE plugin to be able to communicate.

Recently, they've started changing the version of OC to the latest Lync version. All of a sudden, my Pidgin would fail logging in. I checked on a Windows system and I still couldn't use the Lync client so I figured things were in transition and I didn't bother too much with it.

However, someone came to ask me about it and when I tried the Window Lync client again, I suddenly was able to log in! I tried Pidgin again and it would tell me that I was using not the right version. So I started searching around. I found that: Microsoft allows administrators to block older version of OC from connecting to the server.

So I started searching a bit more and found that others had the same problem and were looking for a solution. I then stumbled upon a very useful link.

This page describes how to set the user-agent in Pidgin so that you could connect as a certain version of OC. However, when I tried the same version on the post, that version didn't seem to work. So I started searching for a newer version and I found it...

To get Pidgin to work use the following UserAgent:

UCCAPI/4.0.7577.0 OC/4.0.7577.0 (Microsoft Lync 2010)

Tada! I'm able to chat again!

-P