Tag | Windows Live Writer Posts

OK this is just a first post to see how Windows Live Writer works. I’m sure as I become more familiar with it the easier it will be.

I am new to the world of contracting and am finding it very similar to my permanent roles I’ve had. Anyone have any advice for a new contractor in the software development and/or software configuration management role?

 

Thanks,

DC

Over the past few months we have been tweaking the usability of the Geekswithblogs.net Admin Tool for editing posts. We definitely suggest using Windows Live Writer for publishing you blogs due to the awesome plugins and support of image uploads, we understand the need for a non-Windows editor for posts or updates. One of the bugs submitted to us in the usage of our text editor was reformatting of posts when you publish from WLW and then make changes from the admin tool. The tool was eating up all ...
In my search for a way to allow readers to tweet post that I put on GWB I have come across the TweetMeme plug-in for Windows Live Writer. It automatically puts a twitter button at either the top or bottom of your post depending on how you configure it. It comes with a warning that it does not work with blog servers that strip out script from posts which I made me afraid it was going to make it incompatible with GWB. This turned out to be the case so I figured we would need either an upgrade to the ...
I ran into a frustrating scenario today, while working with SharePoint 2010’s Managed Client Object Model. My application queries a SharePoint document library using the file’s name (the FileLeafRef field). Given that this field is unique, I was expecting only one result with the following code: 1 CamlQuery qry = new CamlQuery(); 2 3 //filter the results to only get back the item with the filename we're looking for 4 qry.ViewXml = string.Format( 5 "<Query><Where>... ...
Ahhh, the beauty of having Windows Live Writer on the mac again, I love it. So when I bought this machine, I said I would never run Boot Camp, Parallels, or Fusion on it because it only has 2GB of ram that is not upgradeable and who can run a VM with under a 1GB ram dedicated? Well the answer is Windows 7 Starter Edition. How did I come to that conclusion, trial and error. We are prepping for a big event at TechEd 2011 (the announcement will be coming soon) and I needed Windows Live Writer on my ...
First entry in a new neighbourhood . Whether it be cheating or whatever I’m giving Windows Live Writer a try as an editor interface for this new blog. In the process I’ll also give these plug-ins a try: Source Code Formatter Amazon Book Linker Insert Code for Windows Live Writer Syntax4Writer For Alex Gorbatchev’s SyntaxHighlighter Paste As Visual Studio Code Twitter Notify ...
I have written about adding support for specifications to NHibernate’s ISession type. Shortly afterwards Paul Stovell moaned on twitter that no one had demonstrated how to mock ISession. Since my implementation relied upon an extension method (QueryBySpecification) I googled how to mock extension methods – and discovered that you can’t. What I did find was Daniel Cazzulino’s post about converting extension methods to methods that return a Func that exposes your extension method. That way you can ...
Recently I wrote about JavaScript class patterns, and in particular, my favourite class pattern that uses closure to provide encapsulation. A class to represent a person, with a name and an age, looks like this: var Person = (function() { // private variables go here var name,age; function constructor(n, a) { name = n; age = a; } constructor.prototype = { toString: function() { return name + " is " + age + " years old."; } }; return constructor; })(); var john = new Person("John Galt", 50); console.log(john.toString()); ...
Even when using an ORM, such as NHibernate, the developer still has to decide how to perform queries. The simplest strategy is to get access to an ISession and directly perform a query whenever you need data. The problem is that doing so spreads query logic throughout the entire application – a clear violation of the Single Responsibility Principle. A more advanced strategy is to use Eric Evan’s Repository pattern, thus isolating all query logic within the repository classes. I prefer to use Query ...
I recently described some of the patterns used to simulate classes (types) in JavaScript. But I missed the best pattern of them all. I described a pattern I called constructor function with a prototype that looks like this: function Person(name, age) { this.name = name; this.age = age; } Person.prototype = { toString: function() { return this.name + " is " + this.age + " years old."; } }; var john = new Person("John Galt", 50); console.log(john.toString()); and I mentioned that the problem with this ...
To write object-oriented programs we need objects, and likely lots of them. JavaScript makes it easy to create objects: var liam = { name: "Liam", age: Number.MAX_VALUE }; But JavaScript does not provide an easy way to create similar objects. Most object-oriented languages include the idea of a class, which is a template for creating objects of the same type. From one class many similar objects can be instantiated. Many patterns have been proposed to address the absence of a class concept in JavaScript. ...
To write object-oriented programs we need objects, and likely lots of them. JavaScript makes it easy to create objects: var liam = { name: "Liam", age: Number.MAX_VALUE }; But JavaScript does not provide an easy way to create similar objects. Most object-oriented languages include the idea of a class, which is a template for creating objects of the same type. From one class many similar objects can be instantiated. Many patterns have been proposed to address the absence of a class concept in JavaScript. ...
One performance issue i faced at a recent project was with the way that our constraints were being managed, we were using Subsonic as our ORM, and it has a useful tool for generating your ORM code called SubStage – once configured, you can regenerate your DAL code easily based on your database schema, and it can even be integrated into your build as a pre-build event if you want to do this. SubStage also offers the useful feature of being able to generate DDL scripts for your entire database, and ...
I receive daily newsletters from DotNetSlackers regarding various .NET topics. Today I read an article from an apparent Microsoft employee who gave some insight to the organizational culture within the company. Always on the lookout for new tools and technologies I noted that he used Windows Live Writer for editing and managing his blog content. I thought I’d give it a try. Let’s try adding a picture and adjusting it’s placement within this blog post relative to this text. … Adding the image is quite ...
Introducing Functional Decomposition Before I begin I must apologise. I think I am using the term ‘functional decomposition’ loosely, and probably incorrectly. For the purpose of this article I use functional decomposition to mean the recursive splitting of a large problem into increasingly smaller ones, so that the one large problem may be solved by solving a set of smaller problems. The justification for functional decomposition is that the decomposed problem is more easily solved. As software ...
This blog post has moved:http://gruffcode.com/... ...
The new WLW 2011 has been a shock to the system. I am used to having my history/drafts and and plug-ins at the ready down the right side of the window. Plug-ins are now under the insert tag on the ribbon. The history and drafts are now under a drop-down file menu in the ribbon. I’ll have to see if this configuration works for me. There doesn’t seem to be an option for a “classic” setup so I may end up looking for a new blog editor that is more efficient for me. I realize to some people these may ...
There are several ways to chain demux IC’s to get more outputs than the ones that a single IC can get you. In these posts I’ll explore the ones I could find and use successfully. The first one has to do with the differences of inverting and non-inverting IC’s. In this video, I have 2 iC’s driving 16 LEDs. With this configuration I could drive as much as 64 LEDs with these 2 IC’s. I simply didn’t have the patience to connect them all: 16 LEDs with 2 IC’s In my previous post I mentioned that the 74HC138 ...
In my previous post I used a lot of transistors (not very successfully, I might add) to drive 4 LEDs with 2 digital GPIO pins from a Netduino. I mentioned that there are Integrated Circuits (ICs) that may be used for that. In this post I’m going to use one of those ICs (specifically, a 74HCT138) to do the exact same thing. First, here is how it looks: Very simple prototype of the use of a 74HCT138 The code I’m using is exactly the same as before. I have the Encoder class, which will receive a single ...
WARNING: I’m probably doing something terribly wrong here. In my last post, I mentioned that using transistors you can do boolean logic. This is the fundamental basis for computers to work. I wanted to test the concept. In that article, I was using a single Netduino digital output to drive two LEDs. In this experiment, I’m using two digital outputs to drive four LEDs, using some transistors. Here’s the video: Driving 4 LEDs from 2 pins using transistors You can see the LEDs turning on in order when ...
My coworker John Sonmez had a great blog post recently illustrating how to refactor a switch statement. In short, he outlined how to take a switch statement covering all known values of a C# Enumeration and convert it into a Dictionary “map” object allowing you to quickly determine what action to take given any valid enumeration value. I really like this approach as I think it leads to more readable code. The one thing that’s always bothered me about enumerations though is that they can change with ...
JavaScript was created to add interactivity to Netscape 2.0 back in 1995. A consequence of this limited scope is that the language was given only a minimal standard library. Should you ever try to solve a significant problem with JavaScript you will quickly feel the need for more advanced library methods than what JavaScript provides. Underscore.js Underscore.js is a library of utility functions for JavaScript. Most of the functions add functional capabilities to JavaScript. Simply add a script reference ...
Be warned: this will be very basic. I find it amazing nonetheless. As a newbie, I went out and bought a 5V led to be used in an output port in the Netduino. This will of course not work, as the output ports of the Netduino are 3.3V. “No problem”, I thought, “I’ll just use some resistors”. The only problem is that resistors don’t work that way. You can take 5V to 3.3V by using resistors (although you could take 5V to a 3.3V led). I ended up giving the led to a friend who does very cool led projects, ...
These days it seems that everyone has a crush on Ruby. I presented two sessions at this year’s Adelaide Code Camp: BDD with StoryQ and I Am IronRuby. After the standard IronRuby demonstration (creating a new project and scaffolding) I showed off some of what I like about Ruby. I started with a file containing Ruby comments describing nice features of the language. Then I worked my way through the script writing the Ruby to demonstrate each feature. The result is similar to my JavaScript Koans, but ...
Chris Nicola left this excellent comment on Justin Etheredge’s blog: Even with a competitive way to do SSJS [(server-side JavaScript)] on the Windows platform, I just have to ask... why would anyone? Server-side JavaScript means that the server portion of a web application is written in JavaScript. Personally, I believe that server-side JavaScript will be the next big advance in web development. If I were Microsoft I would be looking to hit a touchdown out of the ball park with server-side JavaScript, ...
Michael Minutillo posted the texas hold ‘em coding challenge to the oz alt.net mailing list. The challenge is to write a program that can take poker cards as input and return information about what hands players have and who is the winner. Solving this problem in my 9-to-5 language (c#) is not interesting to me, so I chose to do it with my beloved CoffeeScript. Compiling CoffeeScript The first challenge I faced was one that I have been working on for months – how to compile CoffeeScript on Windows. ...
IMPORTANT: Before reading this post open this link and let it play. This is my response to the 2nd Developer Blog Banter. The question asked is How do you organise your tests. Do you separate your unit tests, integration tests and UI tests into separate projects? Do you do anything specific to keep track of your tests? What naming conventions do you use? Do you run them before a check in or is that what the build server is for? The first developer blog banter was about technology stack. I organise ...
I received (by chance, mostly) a Netduino last tuesday. Netduino is an open-source hardware project based on Arduino and the .Net Micro Framework. And it’s extremely cool. I’m a C# developer and I was always interested in electronics. This is an excellent tool to start to understand that incredible world. I was about to buy an Arduino when the Netduino fell on my lap, so I was really happy about it. Netduino has various disadvantages over Arduino (for starters, it’s more expensive, not all the shields ...
Technorati Tags: blogging,blogging Client,windows live writer,Live Writer I just tested the windows live writer to use as blogging client. It worked well. It is simple and easy to use for blogging. It work with many blog engines including the subtext. installation and configuring is very simple as many windows applications (Next, Next, Next …Finish) :-) Step to follow. download the windows live client from http://explore.live.com/win... Install the windows live writer by following ...
I have waged and long and bloody battle to find a way to work with CoffeeScript on Windows – and now I finally have! The first step is to get CoffeeScript from github. You can either pull the source with git or download an archive after some hardcore archiving action. The CoffeeScript compiler is written in CoffeeScript and provided in compiled JavaScript form. Therefore, we need a server-side JavaScript environment to execute the compiler and transform our CoffeeScript scripts into JavaScript that ...
Windows Live has had many lives. It started as a single page at www.live.com, where you could set up various widgets in a tiled configuration. The widgets mostly consumed RSS feeds and the idea was that you could have a home page where the content updated dynamically; i.e. where the content was “live.” I remember when the service was still in Beta and called Start.com; Robert Scoble, then a Microsoft employee, was hawking it pretty hard. It was kind of cool for its time, but it petered out, as did ...
Another butt-kicking, and before 6:30 AM to be exact. I (obviously) like to write… well, maybe not so much that an editor is going to be reviewing my work, but if I’m doing my own editing, I can go on and on. So my solution to ‘Status Reports’ is to start the weekly report on Monday, and keep it open as a draft, typing in thoughts, problems, solutions… more of a journal than Status. Then at quitting-time on Friday, I send my boss and me both a copy. Since I’m my own boss for now – hey, a plus – see ...
The usual starting point for automapping is to tell NHibernate to map all of the types from a particular assembly. From there we may filter the set of types that are mapped by providing a predicate. The common pattern looks something like this: AutoPersistenceModel.MapEnt... .Where(type => type.Namespace == "Acme.Domain"); If we want to exclude a particular type within the namespace that is easy: AutoPersistenceModel.MapEnt... .Where(type ...
Increasingly I find myself building web applications that rarely, if ever, reload the page. Ajax is used to communicate with the server and to update parts of the page as required. After much trial and error I have come upon a technique for organising the javascript on such pages. Consider an application that has three buttons: red, yellow and green. When one of the buttons is clicked an rectangle is coloured according to the selection. The UI design will be as follows: Here is the demo. The basic ...
I am working on a project testing some cool features and stuff that have to be done on a Mac. While I have been back and forth with MacBook Pros, this time I decided I should expand and extent my testing to the stuff that I do on a daily basis. Blogging is a challenge, tools available are not really all that flexible or feature rich. I have MarsEdit and Blogo. I do think Windows Live Writer is the best thing since ... sliced bread, seriously, I love that tool! But in order for this to work I had ...
I read somewhere that Kent Beck likes to apply a strategy of taking a technique that works and exaggerating it, to see if the results are likewise exaggerated. He found that specifying the behaviour of components prior to implementation, and in small increments, produced good design, so he exaggerated it and now we have TDD. He found that strong engineering practices, rich communication and delayed decision making was a good way to run projects, so he exaggerated it and now we have Extreme Programming. ...
My rule of thumb for storing configuration settings is: if it does not need to change hard code it if it needs to change but the user of the application can’t change it, store it in the configuration file if the user can change it, store it in a database This post discusses configuration data stored in the configuration file. To make my applications robust and testable I like to write a service that wraps appSettings. What I mean by robust is that it provides useful error data in the event that the ...
Just because I like to build things, and I like to learn, I have been working on a keyboard shortcut reference site. I am using this as an opportunity to improve my ruby and rails skills. The first few days were frustrating. Perhaps the learning curve of all the fun new toys was a bit excessive. Finally tonight things have really started to come together. I still don’t understand the rails built-in testing support but I will get there. Interesting Things I Learned Tonight RubyMine IDE Tonight I switched ...
Visual studio supports relatively advanced string manipulation via the ‘Quick Replace’ dialog. Today I had a requirement to modify some html, replacing line breaks with unordered list items. For example, I need to convert: Infrastructure<br/> Energy<br/> Industrial development<br/> Urban growth<br/> Water<br/> Food security<br/> to: <li>Infrastructure<... <li>Energy</li> <li>Industrial development</li> <li>Urban growth</li> ...
After more time than I care to admit I have finally released a rudimentary Http Handler for serving compiled CoffeeScript from Asp.Net applications. It was a long and painful road but I am glad to finally have a usable strategy for client-side scripting in CoffeeScript. Why CoffeeScript? As Douglas Crockford discussed in detail, Javascript is a mixture of good and bad features. The genius of CoffeeScript is to treat javascript in the browser as a virtual machine. By compiling to javascript CoffeeScript ...
Rake is a ruby internal DSL for build scripting. With (or without) the help of albacore rake makes an excellent build scripting tool for .NET projects. The albacore documentation does a good job of explaining how to build solutions with rake but there is nothing to assist with another common build task – updating configuration files. The following ruby script provides some helper methods for performing common configuration changes that are required as part of a build process. class ConfigTasks def ...
Garage Sale Code The term “Garage Sale Code” came from a post by Scott Hanselman. He defines Garage Sale Code as: Complete – It’s a whole library or application. Concise – It does one discrete thing. Clear – It’ll work when you get it. Cheap – It’s free or < 25 cents. (Quite Possibly) Crap – As with a Garage Sale, you’ll never know until you get it home if it’s useless. With the code I’ve posted here, you’ll get all 5 of those things (with an emphasis on crap). All of the projects listed below ...