Showing posts with label devesh. Show all posts
Showing posts with label devesh. Show all posts

Tuesday, May 18, 2010

Quick Update: Linux or CE6

 

As promised, I’ve got a quick update about the system. I got my board CE6 on the Mini2440out and flashed a build of Windows CE 6.0 that I had lying around. I’m currently evaluating how well CE6 would work for my idea. At this point of time I’m rather inclined towards throwing in a build of Linux like Qtopia or OpenEmbedded and avoid the whole .NETCF thing I had planned. One of the reasons for that is, I’m unable to get a good driver for my OV9650 based CMOS camera module, and I don't want to use the (slow) C# I/O to write a new one. I do already have a driver and DLL written in eVC++ for the module but that is giving me erratic results in CE6 (works great in CE5), so I reason: If I’m using C++, I’d rather use it with Linux than CE6.

So now the question, Qtopia (I think it’s being called QTextended now)or OpenEmbedded? The answer is also a question, which has better community support? Hmmm…

That’s all for now folks. As always, leave your comments, it makes my day. Wave

Sunday, November 9, 2008

The heights of geekiness

Geek noun \ˈgēk\: Geek  Used in a nice way it is someone who seems to know everything there is to know about computers.

If I were to define myself as a geek, I would say:

   1:    -----BEGIN GEEK CODE BLOCK-----
   2:    Version: 3.12
   3:    GED/J d-- s:++>: a-- C+++(++++) 
   4:    ULU++ P+ L++ E---- W+(-) N+++ 
   5:    o+ K+++ w---  O- M+ V-- PS++>
   6:    $ PE++>$ Y++ PGP++ t- 5+++ 
   7:    X++ R+++>$ tv+ b+ DI+++ D+++
   8:    G+++++ e++ h r-- y++**
   9:    ------END GEEK CODE BLOCK------



(don't understand the above? refer to The Geek Code v3.12, Yup, we have one) smile_nerd


Even as a geek, there comes a point, where you need to draw the line. One such point came today. I found myself facing a dilemma, unable to decide, "How to get bored today". After much deliberation I found that I simply could not decide between five things to do. Under these circumstances I decided a coin toss would be ideal. This of course brought up another question how best to decide between 5 choices using a coin. At that time a brilliant geeky idea came to me, and I decided to whip together a "Random Choice Maker"


Screenshot


Took me 20 minutes to whip together this simple utility, I wrote a simple RNG function it went like:



   1: class myRandomizerClass
   2: {
   3:     public int generateRandomValue(int uValue)
   4:     {
   5:         int millisecondsNow = DateTime.Now.Millisecond, breakIndex = 1000/uValue;
   6:         return millisecondsNow/breakIndex;
   7:     }
   8: }



It uses a simple uValue for checking quantile density.


So, that's it. Once again I ended up prooving that "Once a geek, always a Geek"


Cheerio. smile_tongue