Tag Archive for 'software'

Page 3 of 11

Cool text editor plugin

I love this zen coding plugin that expands css classifiers into html template text. Fantastic idea.

So you type this:

div#name.one.two

And the plugin expands to this

<div id="name" class="one two"></div>

Now I just need to find someone write the plugin for Notepad++, VS2008 or jEdit.

Outlook add-in new explorer hook bug

Found this over on Noam Lampert’s blog, originally form monologue.

I remember running into this bug when writing a rather trivial outlook add-in that registered a toolbar on all new explorers. At the time I was so far under time pressure that I just caved and changed the toolbar installer to install it on all toolbars by default (worked around the bug). I didn’t think that it might be a garbage collection issue. Good spot by Noam and co.

Short version: Any new explorer callbacks will get garbage collected unless you actually create an explicit reference to the Application.Explorers that you manage in your add-in.

So you would replace this:

Application.Explorers.NewExplorer += new ExplorersEvents_NewExplorerEventHandler(Explorers_NewExplorer);

with this:

Explorers explorers = Application.Explorers;
explorers.NewExplorer += new ExplorersEvents_NewExplorerEventHandler(Explorers_NewExplorer);

Microsoft AJAX CDN

Over on ScottGu, this announcement about Microsoft setting up a CDN for ASP.Net Agax and jQuery.

Free for commercial and non-commercial use. A great idea for sites that heavily use jQuery or ASP.Net Ajax.

Monotouch for iPhone goes 1.0

According to miggie, Monotouch for iPhone goes 1.0.

This enables you to use a static version of .Net (actual mono) with native C# bindings of the iPhone API, so no Compact Framework concepts for iPhone just yet. I agree with this decision, since people developing for the iPhone want their apps to look like they were developed for the iPhone.

PHP Toolkit for ADO.Net Data Services

Found this interesting link on this post over on monologue.

Basically it’s a PHP toolkit to get access to the data exposed by ADO.Net Data Services, which exposes data in a RESTful manner.

Managed Port of Sqlite

Over on Miggie’s blog, a post about a line-by-line port of Sqlite to C#.

It obviously takes a performance hit (something like 5 times slower) but think of all the opportunities it opens up. I’m thinking mainly about Windows Phone development using Compact Framework and no longer needing the external Sqlite dll linkage (figuring out which one to use was a nightmare).

Miggie mentions using it in Silverlight apps, which is an awesome idea, or in medium trust ASP.Net servers. The Silverlight use will have to wait till they pull all the P/Invokes out of it, which doesn’t seem to be too far off, as is the possibility for some performance improvements by capitalising on the .Net Framework features instead of being a line-by-line port from C.

Transitioning from XHTML to HTML5 the easy way

Cool, some what slow-going comic about all the different xhtml/html versions floating around and how to go from xhtml to html 5.

So long as you’re not using any of the new features of html 5 (since it’s not yet a standard) the easiest way to go from xhtml to html 5 is replacing the doctype. So you would be going from this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

to this:

<!DOCTYPE html>
<html>

Originally found on mojoportal blog.

The difference between a manager’s day and a developer’s day

Over on boing boing, a link to an interesting article on the difference between a manager’s day and a developer’s (the maker’s) day, and how a 1 hour meeting can have a devastating impact on a developer’s day.

It’s rare that I get to make anything in terms of development these days, but I also consider setting team strategy and process and ensuring execution on that strategy a “making” activity. I do this all the time and can confess to having the same feelings as Paul Graham, relishing in days that are appointment free, and sometimes going so far as booking out a whole day to make sure I don’t get interrupted.

Link to actual article, a very interesting read, Maker’s Schedule, Manager’s Schedule.

Silverlight 3 released

Over on Scott Gu’s Blog, Silverlight 3′s release has been announced.

Highlights include better font support, accelerated video and 3D support and bit-stream manipulation allowing you to right custom codecs. As well Silverlight 3 now supports H.264, MPEG-4 video and AAC audio.

Silverlight 3 also sports out-of-browser capabilities as well as a whole plethora of new UI controls, and whole lot more business application development focused features.

Microsoft extends community promise to ECMA C# and CLI

First seen over on monologue, Miguel writes to say that Microsoft has extended it’s Community Promise (around patents etc.) to the ECMA standardised C# and CLI components.

Quote from the announcement by Peter Galli at MS:

It is important to note that, under the Community Promise, anyone can freely implement these specifications with their technology, code, and solutions.You do not need to sign a license agreement, or otherwise communicate to Microsoft how you will implement the specifications.

The Promise applies to developers, distributors, and users of Covered Implementations without regard to the development model that created the implementations, the type of copyright licenses under which it is distributed, or the associated business model.

Under the Community Promise, Microsoft provides assurance that it will not assert its Necessary Claims against anyone who makes, uses, sells, offers for sale, imports, or distributes any Covered Implementation under any type of development or distribution model, including open-source licensing models such as the LGPL or GPL.

Full Community Promise over at Microsoft.

Note: as Miguel says in his post, mono implements a whole bunch of .Net technology above and beyond ECMA C# and CLI and those parts (ASP.Net ADO.Net etc) aren’t currently covered by this promise.