Archive for October, 2008

Identifying files for a hot fix/patch

We (occasionally!) have to issue hot fixes for our product and do this by reissuing the affected files directly rather than with a new installer. The product has a large number of pieces, some managed code, some unmanaged.

Currently development flags which build artifacts (exes, dlls) need to be shipped in a hot fix. We'd like to be able to identify these automatically by comparing them to the previous build. A simple binary diff doesn't work since the version numbers on all the files have changed as stamping the files with a new number if part of the build.

Are there any tools that will do a more intelligent comparison and decide which files should be included? We'd still have a developer check the list, this is more to catch files the developer didn't think of than the other way around.

(Note: changing the hot fix/build process is not an immediate option, whether or not we should be shipping individual files is a different discussion!)

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

Convert .doc to html in php

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

Workaround for UpdateSourceTrigger LostFocus on Silverlight Datagrid?

I have a Silverlight 2 application that validates data OnTabSelectionChanged. Immediately I began wishing that UpdateSourceTrigger allowed more than just LostFocus because if you click the tab without tabbing off of a control the LINQ object is not updated before validation.

I worked around the issue for TextBoxes by setting focus to another control and then back OnTextChanged:

Private Sub OnTextChanged(ByVal sender As Object, ByVal e As TextChangedEventArgs)
    txtSetFocus.Focus()
    sender.Focus()
End Sub

Now I am trying to accomplish the same sort of hack within a DataGrid. My DataGrid uses DataTemplates generated at runtime for the CellTemplate and CellEditingTemplate. I tried writing the TextChanged="OnTextChanged" into the TextBox in the DataTemplate, but it is not triggered.

Anyone have any ideas?

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

Cookies on IE6 Standalone on Windows server 2003?

I cant seem to get IE6 and IE7 running alongside each other on my Windows Server 2003 VPC.

I have tried both: http://browsers.evolt.org/?ie/32bit/standalone and: http://tredosoft.com/Multiple_IE , and yes, I tried putting the Wininet.dll in my standalone path.

The browser works, but cookies does not! Any help would be greatly appreciated.

Also, I am aware of the VPC Microsoft has supplied, but i am trying to avoid that solution as well, since I am developing on another VPC (and this is not something thats about to change, one reason being that these VPCs are time-limited), and I would like to keep the benefits of developing on the same machine I am testing on, ie: I dont want to redeploy my entire solution every time I want to check my updates.

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

Who sells the cheapest EV SSL certificate?

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

Does the D programming language have a future?

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

sending mail with php & escaping hotmails junk folder

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

Best Programmer Calculator for iPhone

What is the best programmer's calculator application for the iPhone?

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

Can I serve RSS in JSON?

I am writing an RSS feed (for fun) and was looking at the spec here.

RSS is a dialect of XML. All RSS files must conform to the XML 1.0 specification, as published on the World Wide Web Consortium (W3C) website.

Obviously this means that I am not serving 'pure' RSS if I choose the JSON option. That said, if I conform to the rest of the spec, is it likely that (customised) readers will be able to parse it?

To put it another way, if I conform to the spec, but using JSON instead of XML is it a usable RSS feed?

edit I am not sure I made myself clear. There is no XML involved. I want to write something akin to RSS (which is XML) using JSON instead. Obviously the readers of such a feed would need to be written to understand the JSON format. I was wondering if this had been done already. Are there services that serve a feed this way? Are there programs that can aggregate/understand this format. Is the RSS spec (sans the XML part) a useful spec to conform to in this case?

rg

{
"title":"example.com",
"link":"http://www.example.com/",
"description":"Awesome news about junk",
"items":[
    {
        "title":"An article",
        "link":"http://www.example.com/an-article",
        "descrition":"Some sample text here",
        "pubDate":"2008-10-27 11:06 EST",
        "author":"example author",
    },
    {
        "title":"Second",
        "link":"http://www.example.com/Seond",
        "descrition":"Some sample text here",
        "pubDate":"2008-10-25 23:20 EST",
        "author":"author mcauthor",
    },
    {
        "title":"third article",
        "link":"http://www.example.com/third-article",
        "descrition":"Some sample text here",
        "pubDate":"2008-10-25 23:18 EST",
        "author":"some other author",
    }
]
}

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

What are the Conventional GEM PATHS for Ruby under OS X 10.5?

Read the original question at Top Questions - Stack Overflow.

Leave a Comment