Raba - Defend your code RSS 2.0
# Saturday, December 08, 2007

While trying to run a Windows-application with a private DB (SQL Server 2005 Express Edition) on a client machine (Window Vista), I have regard with a problem entering the master DB.

After a few seconds I've found this one: http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx
Download and Install SQL Server 2005 SP1, that should solve the problems.

Update 1:

  • Pay attention that the sp1\sp2 don't need an SQL Server to be installed - it hold the whole package within.

Update 2:

  • Windows Vista have strict privileges within its program files directory, so while deploying the DB There it holds it as a read-only DB.
    Put your DB in the SQL Server Directory to solve this problem.
Saturday, December 08, 2007 5:34:49 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
SQL Server 2005

Try this out, I might admit I waste half an hour before Google-it-up: http://www.supuzzle.com/supuzzle.html

I hope you will succeed it.

Saturday, December 08, 2007 12:42:23 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Life | Software Development

# Wednesday, November 28, 2007

Here at Doron's post about Object Initializers he raised a question about the IL generated from the compiler while generating Object Initializer.

            //Object Initializer
           GeoPoint point1 = new GeoPoint() { 
                             CoordinateSystem=GeographicCoordinateSystem.Wgs84 };
            //Associative Init
            GeoPoint point3 = new GeoPoint();
            point3.X = 22.555;
            point3.Y = 36.444;
            point3.CoordinateSystem= GeographicCoordinateSystem.Wgs84;

That two samples are not the same, this is because of not having an atomic assignment possibility at the second piece of code.
you can have further reading at Bart's blog post.


Wednesday, November 28, 2007 6:08:08 AM (GMT Standard Time, UTC+00:00)  #    Comments [2] - Trackback
.Net 3.5 | C#3.0 | LINQ

# Saturday, November 24, 2007

Esri published the last service pack for 9.2 versions. as far as I know the next publish will be the 9.3, at the beginning of 2008.
I've found out that most of the people are either afraid of the service packs or just installing them without reading.
So, take a break, drink your coffee and start here: The full story behind the Service Packs
But for those of you that are too lazy to read, maybe this short interesting_features_for_my_team can also help you.

At my team we use the ArcGis Server, with two types of clients: ArcGis Explorer and Web Application(WebADF.net) and we are also have a little use of the Editor products. So if your team is like mine you can use this partially-feature-list, anyway my team-mates can probably found this post useful.

SP4 changes:

  • NIM007093 - Hebrew strings are not in Right-to-Left reading order when typing Hebrew characters in attribute table under editing mode for Hebrew locale.
  • NIM011253 - ArcGlobe: If you rename a layer based on an ArcGis Server globe service, your change isn't always persisted, and the original default layer name returns. For example, when you open an ArcGlobe globe document from the ArcGis Online Web site, the layer names are the full service names, not the more user-friendly layer names used when the documents were published.
  • NIM011449 - A problem was discovered with network dataset route and service area solutions after an upgrade of spatial reference to 9.2 high precision. Particular route solutions derived in the high precision ArcSDE geodatabase network dataset if the accepted tolerance and xy domain that were chosen were different after a network rebuild then the results in the low precision feature dataset.
  • NIM011532 - The IFeatureEdit and IFeatureEdit2 methods do not produce correct results when editing in projected space.
  • NIM011551 - Under some circumstances the RecordSet class isn’t correctly propagating the errors raised by calling ICursor::NextRow on the wrapped table. This can cause client code to mistakenly assume operations have been performed successfully (such as serializing the RecordSet to XML).
  • SP 3 changes:

  • NIM007055 - Enhance the OverviewMap control to have a static image mode so that the OverviewMap image is not requesting a new image on each extent or scale change.
  • NIM012292 - Memory leak in ArcSOC.exe process when doing many Identify requests over time.
  • NIM009324 - The Geometry1.Distance(Geometry2) method throws out exception when geometry1 or geometry2 is a polyline or a polygon.
  • SP 2 changes:

  • NIM006387 - Unable to update the scale bar image in a callback.
  • NIM006657 - Zooming in to a very large scale will eventually fail the zoom out map action.
  • NIM007046 - Add support for rotated map resources to the Web ADF.
  • NIM004867 - The Web ADF Map control does not work within .NET Web parts.

    Two more errors I am expiriencing and not sure about their state:

  • There are times that the ArcGis Server manager application show the well-known "we are sorry ..." . and no one knows what to do, but refreshing it again and again.
  • The ArcGis Server produce 404.3 error code because its cache files have no extenssion and it cannot access them from the ArcGis Explorer (which: 1) slowing down the requests. 2) cause a lot of errors on server).
  • Have a great coding, Till the next release...

    Saturday, November 24, 2007 11:03:43 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
    GIS | ArcGis Server

    Great post by Nati Dobkin on Extending the Caching of the Service Operations.
    I didn't test it yet, but I like the simplicity in the usage...

    Good job, Enjoy the code.

    Saturday, November 24, 2007 8:46:06 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
    WinFX | WCF

    # Monday, November 12, 2007

    I found out that while using the VS2008 I can't access the Page method ProcessRequest.

    Watch This image...

    Isn't it strange? {while building -> it will succeed}.
    I might admit that it took me some time (at home) to figure it out, after all at work I remember that it has the auto complete (I think that it work there because of the ReSharper).

    So I made my "Go To Definition" operation and found this out:
    // Summary:
    // Sets the intrinsics of the System.Web.UI.Page, such as the System.Web.UI.Page.Context,
    // System.Web.UI.Page.Request, System.Web.UI.Page.Response, and System.Web.UI.Page.Application
    // properties.
    // Parameters:
    // context:
    // An System.Web.HttpContext object that provides references to the intrinsic
    // server objects (for example, System.Web.HttpContext.Request, System.Web.HttpContext.Response,
    // and System.Web.HttpContext.Session) used to service HTTP requests.
    public virtual void ProcessRequest(HttpContext context);


    Monday, November 12, 2007 9:51:13 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
    .Net 2.0

    # Sunday, October 14, 2007

    I am not sure what this thing is all about, but I am proud to be member in such talented group with such great people.

    So after I've read Pasha's post about the Scrum Clan, I've even more confused than I was at the first place. But I am pretty sure I'll understand it on the go.

    here are some of my last posts about Scrum\Agile\TDD:

    Improve your scrum Environment
    Scrum methodology - the scrum master
    Trying to manage the team-pace better (or- Entering to Scrum For TeamSystem Template)
    TDD- from beginner to pro (#2)

    And now I think that I have the honor to choose a new Scrum Clan (Oren\Pasha: If not you cancel my vote).
    ... I would choose ... Avi Wortzel, which was the one to start the Scrum at my office, and left us after doing a great job, He also wrote some great posts about it, and doing even more Scrum in his new home.

    Avi, Welcome to the clan.

    Sunday, October 14, 2007 12:00:10 AM (GMT Daylight Time, UTC+01:00)  #    Comments [2] - Trackback

    # Thursday, October 04, 2007

    My team have been using the Scrum for Team-System template for the Team foundation Server
    First, I must recommend this template to anyone who use Both scrum methodology and TFS as its source control.
    Second, I would like to share with you new features we thought that would help us perform better.

    I adopt the way of writing requirements from the Scrum4TS Forum:

    As a <role> I want to <goal> so that <reason>.

    Feature 1:
    As a product manager,
    I want to have the ability to create User stories in TS,
    So that we can manage our user stories there instead of manual cards.
    ** Some may say that the Product Backlog Items also can be used as User-Stories - but I think they lack some important fields.

    As a scrum master\product manager,
    I want to have an automated task board view at the TFS,
    So that we can manage our tasks visually on screen instead.
    of duplicating tasks both in TS and by hand on boards

    Feature 3:
    As a manager\scrum master\programmer
    I want the ability to see the current sprint tasks (also current sprint stories or current sprint products,
    So the programmers can easily watch only the given sprint tasks.
    (how? we may create fields for the given tasks which holding its dates)

    Feature 4:
    as programmer,
    I want the ability to see the prioritization of my tasks and not only the prioritization of the product backlogs,
    So I should now from where to start

    Let me know what you think about the lack of those features.

    Thursday, October 04, 2007 4:34:11 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] - Trackback
    Scrum | Team Foundation Server

    For the last few weeks I read a lot on how to improve my team's Scrum environment and on how to create a more Agily workspace. I might also add here that we Scrumming for 9 months (on each month we change something else, improving, destroying, thinking again, etc...).

    Collecting and reading great posts, I will share them with you:

    Those few Samples cause me think about how can I upgrade our environment, And I'll Explain my changes:

    Programmer environment - better productivity
    Upgrading the Programmer environment to a more productive workplace - Thanks to Yossi
    , we have two screens for each programmer. Now everyone can code on once and test on the other screen Or maybe can code on one and read the Design Requirements on the other, etc.

    Cork board 
    I've found out that most a the programmers do not really understand what everyone telling at the daily-standup-meeting, which cause them to dislike the meeting or maybe even forget the importance of this meeting.
    The Cork-Board will help us to see (visualization) and understand(movement-at-realtime) the actual point of the team in the current sprint.

    People are different, This is a good fact, and we should understand it.
    You need every one in your team understand what the Team want from him only his best. But when we can't explain ourself, someone can understand things not properly as we meant them, this will cause anger and disappointment.
    Create a short document explaining what is Done - so everyone will be coordinated.
    (Some types for Tasks that need to be Done: Writing Story Cards, Updating documentation, Coding, Bug-fixing. each one of those need to be fully Done)

    Testing (not TDD yet)
    For me, one step before TDD-ing, the team must have a solid tests and a good understanding about the difference between integration, functionality and unit.
    After understanding the logic, you must have a solid framework for testing and a daily notification about your operations, so you and everyone else could see that you are working as we expect you to work.
    So we create the Continuous-Integration workspace using the CC-Tray so everyone could know whether their friends are helping them or preventing from them to work properly.

    The Imporatnce of testing:
    After having this simple understanding, and this framework, everyone will finally understand that his testing methods are important.
    And everyone will understand that unit-testing are part of the Done statement.
    Moving to TDD-ing:
    From here I believe that we could move toward TDD-ing.

    Daily Scrum Standards
    Right on time meeting, Every one standing, Only one people talking, Exactly 15 minutes, clarifications questions only.
    Selecting the leading watch - everyone has its own watch, the team should understand which-watch is the one to set the scrum time. (I should buy an Egg-Watch, I am still looking for a funny one).

    Setting Punishments (Penalties)
    They should be a funny penalties, so everyone will like it (everyone but the one who doing it, of course).
    like bringing the milk, or making coffee for everyone.
    I see those punishments for a few fields:
    a) destroying the build(errors and warnings)
    b) checking-in tests that fail
    c) decreasing the Code-Coverage,
    d) late for Daily-Scrum

    Here are some pictures from the new environment

                                                My Agile Workspace 

                                               Two Scrum Boards

                               The new Cork-Board (still empty, till the next sprint)

    Things To Be Done, {Till the end of the year}:

    1. Find a funny (noisy) Egg-Watch
    2. Create a field_penalty_list
    3. Moving toward a TDD-ing sessions
    4. Decide about the best period for the sprint (today we decide about two weeks, I am start thinking this one is too short)
    5. Find the Product-Owner (This one may sounds funny, but we still did not find him\her, no one can take this position for now)

    Scrum is not only the things you are saying and doing, it is more about what you (and your team) are feeling.
    Scrum should be part of everyone in the team, so it will succeed.


    Thursday, October 04, 2007 2:41:11 PM (GMT Daylight Time, UTC+01:00)  #    Comments [2] - Trackback
    Agile | Scrum | TDD

    # Saturday, August 18, 2007

    I thought about the time we all spend on reading some well known patterns. I found this strange reading again and again the same logic. We all know the pattern but we doing it to be sure we use all the best practices.

    Inspired by the book: Head First - Design Patterns, I rewrite the two basic patterns of Strategy and Observer. and create a snippets for your own use. so next time you won't need to get to Google it up.

    Here are the snippets, for your own use: (right click & download)

    More to come on the next posts.

    Remark: There could be a lot of variation for those patterns, those I wrote here were taken as a combination of the books samples and a few best practices I found out.
    Saturday, August 18, 2007 5:33:24 PM (GMT Daylight Time, UTC+01:00)  #    Comments [3] - Trackback
    .Net 2.0 | Design Patterns

    # Wednesday, August 15, 2007

    Hello to my new visitors from ArcExperts.net.

    A little background about me you can read here.
    I am Blogging about .Net(2.0, 3.0), Team Foundation server, Agile, Scrum and all this stuff spiced up by the ESRI's applications (ArcGis Server, ArcGis Explorer etc.)

    Thanks to Dave Bouwman for letting me publish my thought to the ArcExperts.net community.

    Wednesday, August 15, 2007 11:38:48 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] - Trackback
    GIS | My Site

    There is a new version of ArcGis Explorer (410).

    I only made one test for simple old version of one of my tasks, it still works.
    It looks lie they almost didn't changed the templates of creating new tasks.

    API Changes (didn't test it yet, only read about it):

    • RemoveLayerCache(Layer) - delete the cahe of a given layer, this one is great!
    • CacheType - {Permanent, Session, None} - indicates the way ArcGis Explorer caches the layer.

    I will keep checking and update you ASAP.

    Wednesday, August 15, 2007 11:29:41 PM (GMT Daylight Time, UTC+01:00)  #    Comments [1] - Trackback

    A few weeks ago Matan & I had the honor to participate in  a panel discussing pros&cons of the Team Foundation Server, This panel hosted by Sela & Microsoft at Microsoft buildings (Ra'anana).

    Here are some of our thoughts:

    • The Centric approach of get all the items (tasks, bugs, impediments, sprints, backlog) in one place and can easily connect to your code, and easily generate graphs from the already entered details - is a great approach and make life easier.
    • Adding tests to your code, using the VSTS is easier. Also adding simple automated build and integrate your tests to run on your nightly builds.
    • We are now implementing in two separated sites on the same code, and we doing the synchronization by our self.
      Orcas Gonna solve the disconnected server problem.

    I am not telling you that this tool is perfect, it is absolutely has its weaknesses but I think that this is a good decision to choose it.

    Wednesday, August 15, 2007 11:18:49 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] - Trackback
    Microsoft Products | Team Foundation Server

    <December 2007>

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright 2015
    Shani Raba
    Sign In
    Total Posts: 146
    This Year: 0
    This Month: 0
    This Week: 0
    Comments: 97
    Cool Stuff
    Add to Technorati Favorites
    Pick a theme:
    All Content © 2015, Shani Raba
    DasBlog theme 'Business' created by Christoph De Baene (delarou)