Geeks With Blogs
Tamir Khason Just code Windows
Visual Studio debugger related attributes cheat sheet

There are some debugger-oriented attributes in .Net, however 70% of developers not even know that they exist and 95% of them has no idea what they doing and how to use it. Today we’ll try to lid light on what those attributes doing and how to achieve the best of using it. Keep reading on my blog >>

Posted On Tuesday, April 7, 2009 7:22 PM

How to calculate CRC in C#?
First of all, I want to beg your pardon about the frequency of posts last time. I’m completely understaffed and have a ton of things to do for my job. This why, today I’ll just write a quick post about checksum calculation in C#. It might be very useful for any of you, working with devices or external systems. Keep reading on my blog >> ......

Posted On Monday, April 6, 2009 10:52 PM

Book review: C# 2008 and 2005 Threaded Programming
A couple of weeks ago, Packt publishing asked me to review Gastón C. Hillar book “C# 2008 and 2005 Threaded Programming: Beginner's Guide”. They sent me a copy of this book and today, I’m ready to write a review for it. Keep reading on my blog >> ......

Posted On Friday, March 20, 2009 11:44 PM

Finally I can reveal stuff I working for last half year!
A couple of days ago WordFocus exposed one of our (frankly old :) ) WPF prototypes for in-car energy assistant system, so today I can exclusively show you some of screens from this state of art WPF work. Real time performance of WPF touch screen application, running on low power automotive grade PC, which boots faster, then Nokia phone. Huge respect for all developers and P-defs. Click for screenshots and video on my blog >> ......

Posted On Monday, February 16, 2009 7:20 PM

Quick how to: Reduce number of colors programmatically
My colleague just asked me about how to reduce a number of colors in image programmatically. This is very simple task and contains of 3 (or 5) steps. Keep reading in my blog>> ......

Posted On Monday, February 9, 2009 8:49 PM

Bootstrapper for .NET framework version detector
You wrote your .NET program, that can be used as stand alone portable application (such as it should be for Smart Client Apps), however you have to be sure, that necessary prerequisites (such as .NET framework) are installed on client’s machine. What to do? How to detect .NET framework version installed on target machine before running .NET application. The answer is – to use unmanaged C++ bootstrapper, that invoke your application if correct version of framework is installed. Keep reading in my ......

Posted On Wednesday, February 4, 2009 7:23 PM

Brilliant, yet simple technical questions, can be used for work interview
Few days ago, a friend of mine, sent me set of demonstration questions for 11th grade computer science students from Russia. I throw eye on this exam and decided to use some of those questions to test candidates in my company for hardware engineer position (we’re looking for). If you’re good candidate for this position, you should be able to answer all those questions without even think a minute. You can also try to solve it >> ......

Posted On Friday, January 30, 2009 2:25 PM

Line-Of-Business vs. Beautifulness or two dogmas comparison as exemplified by two Twitter applications
Today I want to speak about two dogmas: design and functional driven programming. As the example of those two approaches, I want to introduce two Twitter clients: *Chirp by thirteen23 and TwitterFox by Naan Studio As you can see, *Chirp is state of art application with outstanding user interface, and well-defined usability studies. While TwitterFox is wacky grey boring kind-of-grid only. However, you cannot judge app by only how it looks like. Let’s try to understand first what’s for you need twitter ......

Posted On Friday, January 30, 2009 10:10 AM

Making TFS better or what is TITS?
Those days me and my team work very hard toward new version of “The System”. This includes massive refactoring of all solutions, hard work with TFS (which not restricted to only adding files, but also deleting, moving, etc. other words, all stuff, which TFS is not really love). Because of this, we need a bunch of handy tools to make our dreams come true and to decrease unnecessary number of clicks inside Team System Explorer and Visual Studio. You do not really think, that we have no tools to make ......

Posted On Tuesday, January 27, 2009 7:45 PM

Windows 7 – dry run or why Intel does not like Microsoft
Finally, I got a couple of free minutes to install Windows 7 x64 on my work machine. I have to admin, that installation was extremely fast. I just put DVD and keep talking with one of our architects near whiteboard. We enough to close only one issue, while Windows was installed and running. Keep reading on my blog >> ......

Posted On Tuesday, January 13, 2009 8:10 PM

Microsoft Tag vs. QR tag
One of Microsoft’s announcements on CES09 was Microsoft Tag. Do you remember last try of Microsoft to create mobile barcodes on Live platform? I remember it. So why Windows Live Barcode was deprecated, while Microsoft creates new one? What the key difference between Quick Response approach, barely adopted by industry and new colorful MS stuff? Let’s try to understand differences and approximate future fail or success on this technology. Key differences: The only information contains inside MS Tag ......

Posted On Friday, January 9, 2009 4:09 PM

Windows 7 beta and Silverlight 2 controls source are available for download

It seemed, that Seattle’s cold influences developer teams. They want us to know how they’re doing. Thus today Windows 7 beta (build 7000) and Source code for Silverlight 2.0 controls were released. Happy downloads.

Posted On Thursday, January 8, 2009 9:51 AM

Audio CD operation including CD-Text reading in pure C#
Recently we spoke about reading radio data in C#, however as in any vehicle we have also CD players. So what can be better, than to have an ability to play CDs while being notified about track name, gathered from CD-Text? So, let’s start. First of all, I want to express my pain with MSDN documentation about CD-ROM structure. Documentation team, please, please, please update it. First of all it is no accurate, then there are a ton of things missing. However, “À la guerre comme à la guerre”, thus I ......

Posted On Wednesday, January 7, 2009 8:47 PM

USB FM radio library was published on CodePlex
I just published a part of my latest project – dynamic library to work with FM receivers on CodePlex under MS-PL. So, feel free do download, test and use it. Note, that this release is preliminary and has a lot of bugs. Also, RDS is not fully implements as well as recording capabilities with Direct Sound. I’m keep working to provide WPF UI for this library to “productize” it. So, what are you waiting for? Download and Spear the word with this news! This is the first and only fully managed library ......

Posted On Friday, January 2, 2009 10:49 PM

Read and use FM radio (or any other USB HID device) from C#
Last time we spoke about reading and decoding RDS information from FM receivers. Also we already know how to stream sound from DirectSound compatible devices. However, before we can do it, we should be able to “speak” with such devices. So, today we’ll spoke about detection and reading information from Radio USB adapters (actually from any Human Input Devices). Let’s start. First, if you want to do it, go and buy such device. The are not a lot of alternatives, but if you’ll seek, you’ll find it very ......

Posted On Tuesday, December 30, 2008 8:42 PM

Capturing and streaming sound by using DirectSound with C#
I already wrote a little about managed way to use DirectX DirectSound. Today we’ll speak about how to get sound from your microphone or any other DirectSound capturing device (such as FM receiver) and stream it out to your PC speakers and any other DirectSound Output device. So, let’s start creating our first echo service by using managed DirectX. First of all we should decide what Wave format we want to use for capturing and recording. So, let’s choose anything reasonable :) var format = new WaveFormat ......

Posted On Thursday, December 25, 2008 6:48 PM

What boots faster – Netbook, powered Windows XP or Nokia E71 mobile phone?
Some days ago, somebody from Microsoft was shocked, when I told him, that I’m planning to run Windows XP (and later Windows 7) as operation system for mission critical automotive device. He even checked with Windows XP embedded team boot times for XP. They told him, that the minimum can be achieved is about 40 seconds cold boot and 30 seconds from hibernate state. I was upset and decided to tweak my system for smallest possible boot time. Here the result video. This is not the limit. I believe, that ......

Posted On Thursday, December 18, 2008 2:09 PM

Reading and decoding RDS (Radio Data System) in C#
RDS or Radio Data System is very common in US and many European countries. It is communication protocol used to send small amount of digital information using regular FM radio broadcast. This protocol is used to "tell" your receiver about alternative frequencies, time, program notifications, program types, traffic information and regular text (such as singer name or genre). Unfortunately in Israel RDS is not very common and there is very limited number of radio stations broadcasts RDS information. ......

Posted On Friday, December 12, 2008 8:46 PM

Programming for Windows 7
Well, Windows 7 is going to be released by the end of next year. This is great news, because it seemed, that Microsoft finally understand how to get the best of Windows Vista and make it to work not only on monster machines. It even works on new brandy my wife's pinky machine. And if it works there and my wife is happy with it, this OS going to be very impressive. But from the other hand, we, as developers should be ready today to developer Windows 7 ready application (by the way, Vista Battery Saver ......

Posted On Sunday, November 9, 2008 7:13 PM

Copyright © tamir | Powered by: