DCSIMG
March 2008 - Posts - Pavel's Blog
Sign in | Join | Help

Pavel's Blog

Pavel is a software guy that is interested in almost everything
software related... way too much for too little time

March 2008 - Posts

Looking for new job

Published at Mar 31 2008, 10:10 PM by pavely

 

לאחר יותר מ-6 שנים אני עוזב את חברת הסטרטאפ (MentorWave Technologies (a.k.a. Quiksee, שאני גם ממקימיו, מסיבות שונות המערבות פוליטיקה, כספים ודברים רעים אחרים, שזה לא המקום לפרטם. החברה עוסקת בבניית סיורים וירטואלים אינטרקטיביים (www.quiksee.com). שם מילאתי שורה של תפקידים, החל ממפתח ראשי (ובהתחלה יחיד) דרך ראש צוות, מנהל פיתוח תוכנה ועד CTO. בכל התפקידים תמיד הקדשתי איזשהו אחוז מהזמן לכתיבת קוד. בנוסף אני עוסק בהדרכה דרך מכללת היטק ומשמש ראש תחום פיתוח שם.

בכל מקרה, אני מנצל את הבמה הזו כדי לומר שאני פתוח להצעות (אין צורך להסתער). אם יש פרויקטים מעניינים בעולם של COM, .NET (רצוי .NET 3.0 ומעלה) אשמח לשמוע. גם משרה מלאה כ-CTO או תפקיד דומה (חייב להיות בעל נגיעה בטכנולוגיה ולא רק ניהול) אפשרית.

אני מצרף את קורות החיים שלי (שאתמול טרחתי לכתוב אותם לאחר זמן רב למדי) (הפעם באנגלית).

שינויים מניעים את העולם!

Cleaning Vista SP1 Unneeded Files

Published at Mar 24 2008, 11:01 AM by pavely

If you've installed Vista SP1 and are satisfied, you can get rid of the old Vista files and free valuable disk space. The only catch is, you won't be able to uninstall SP1.

The process takes less than a minute. On my Vista x64 machine I gained almost 2GB! not bad for less than a minute's work... 

Here's how to do it:

Open the system32 folder and run vsp1cln.exe . Just answer Y and you're on your way to some free space and permanent SP1!

 

 

Tip (I think): Using Silverlight 2 XAP files with IIS based web sites

Published at Mar 10 2008, 10:49 AM by pavely

 Last night I wanted to try working with the new Silverlight 2 control. Sounds reasonable, isn't it? I created a new Web Site based on IIS, then I created a separate Silverlight application with some simple content. I inserted the SL control on a page and set the Source property to the resultign XAP file (which was conveniently copied to my web site).

However, this didn't work - the SL content was not shown, although the generated HTML looked ok. First I thought (as this is almost always true in this situations) security; permissions and all that stuff. I tried everything I could think of, even allowing everyone full control - please just work! Nothing.

Then I tried a different approach. I created a new SL project and let the wizard create for me a web site and embedded the SL control in there, and it worked! So, my SL installation is definitely ok. The difference was this site was run by the VS Web Site Development Server (not the real IIS). It must be this difference.

Eventually, I figured it out. The XAP extension was not defined as a MIME type (the SDK installation didn't do that) and IIS 7 on my Vista machine simply treated the file as hostile. I manually added the extension as a MIME type, and presto - it works!

Maybe this could spare someone the 2 hours i spent on this... 

Installing the Silverlight 2 Beta 1 Tools for VS 2008

Published at Mar 06 2008, 09:43 AM by pavely

I've discovered a small hitch while trying to install the newly released components: If you want the VS tools, install silverlight_chainer.exe, but do NOT install the Silverlight SDK. If you do install it before the tools, the VS tools will complain that one of 5 things is wrong, but it isn't really. Just don't install the SDK - it will be installed as part of the VS 2008 tools for Silverlight 2 Beta 1.

To those installing the MVC framework preview 2, be sure to read the Release Notes, as there are breaking changes from the first preview.

 

Gary Gygax Dies (creator of D&D)

Published at Mar 05 2008, 09:56 AM by pavely

 

ידיעה מצערת שקראתי זה עתה, Gary Gygax נפטר. Gygax יחד עם Dave Aronson יצרו את התופעה הזו שנקראת Dungeons & Dragons (D&D) בשנות השבעים, מזה נוצרו ספרים, סרטים ומשחקי מחשב. הידיעה גרמה לי להזכר בימים בהם גם אני שיחקתי ב-D&D (וכן, הייתי Dungeon Master, היה כיף לשסות מפלצות שונות בדמויות המסכנות...).  המשחק הפעיל את הדמיון ללא מחשב, ללא גרפיקה, רק דמיון ואינטרקציה בין אנושית. כמה הדברים הקטנים האלו השתנו מאז.

הנה לינק לכתבה ביאהו.

 

Upcoming Courses/Events in which I'm in...

Published at Mar 03 2008, 04:32 PM by pavely

The Visual Studio 2008/Windows Server 2008/SQL Server 2008 open day at Hi-Tech College is on the 13th of this month. I'll be doing 2 sessions, one on using LINQ with C# and the other about the ASP.NET MVC framework (hopefully with the update coming at the time of MIX). Check out Hi-tech College's web site for more details.

Next, I'm going to give a 3-day course titled "Advanced .NET with C# 2.0" on the 17-19 of this month (course 4151) at Hi-Tech College. This course drills down to the essence of the CLR and its basic services, such as threads, synchronization, interoperability, garbage collection, reflection and others. A very intense course (at least according to past participants).

And, of course, last and certainly not least, the Tech-Ed Israel event (April 6-8), where I'll be doing a session of all that is ASP.NET AJAX... ("Optimizing and Extending ASP.NET AJAX, or Who's afraid of JavaScript?"), hopefully interesting and fun stuff.

Hope to see some of you out there...

Free, Multi-language Parsing System

Published at Mar 02 2008, 09:22 AM by pavely

 

כל מי שניסה לכתוב Parser (למשל לשפת תכנות פרטית או איזשהי מערכת SCRIPT  פנימית) יודע שהדבר אינו טריביאלי, בלשון המעטה. השיטה הקלאסית (אבל המיושנת) היא להשתמש בכלים LEX ו-YACC המיתולוגיים ליצירת tokenizer ו-parser או בגרסאת המחודשות שלהם FLEX ו-BISON (משחק מילים שכזה, יאק הוא בעל חיים...).

ניתן לכתוב PARSER בשתי מתודולוגיות עיקריות:  (recursive descent parser (top-down parsing ו-(LALR (Look-Ahead Left-to Right, bottom-up parsing. השיטה הראשונה מתאימה לכתיבת PARSER ידנית ללא עזרה חיצונית מכיוון שהשיטה אינטואיטיבית למדי. השיטה השניה מתאימה לעבודה עם כלים אוטומטיים (כגון YACC. (YACC מייצר קוד C טהור ולא ממש קריא.

כלי נחמד המאפשר לכתוב PARSING יחסית בקלות נקרא GOLD (עובד ב-LALR). הוא בנוי על עקרון של הגדרת שפת המקור ב-BNF וביצוע סוג של קומפילציה עליו לקבלת קובץ בפורמט בינארי שניתן לקריאה על ידי כל שפה. האתר מספק מימושים בכל השפות הנפוצות, החל מ-C, C++ ועד לשפות .NET ומי שממש רוצה גם ASSEMBLY של ה-x86.

והכל בחינם, שווה לבדוק!