Search This Blog

Tuesday, December 20, 2011

Multiple Firefox Profiles with Custom Icon Packs - Ken Yarmosh

link -> Multiple Firefox Profiles with Custom Icon Packs - Ken Yarmosh:
I wanted to run two concurrent Firefox profiles — essentially a professional and a personal version. There’s lots to read on using Firefox profiles but my case was unique in that I wanted 1) Two profiles running at once. 2) An easy way to distinguish between the two profiles in my Windows Taskbar.
Cool I set this up so I keep my personal gmail loaded in firefox and people don't click on it when we are pairing since it doesn't have the default firefox icon.

Thursday, December 15, 2011

Crosspile Week 5 and 6

In the last two weeks, I downloaded NRefactory and created a playground project where I was able to output some C# code programmatically. After looking at my code, I am not 100% sure it is better than just writing out the C# code manually. What will be cool though is if I can figure out a way to let you write a visitor to change your C# code before it is outputted. This feature might help me eliminate a bunch of manual repetitive changes when importing a large javascript library. When searching on how to get NRefactory to work I found this link for a company called Semantic Designs. I only glanced at their site for a few minutes, but it seems like it is a commercial project that will let you translate your code into some intermediate language and then translate it again to some destination language. This sounds a lot like what I am trying to do except their javascript and c# languages are not really ExtJs specific. Next week is Christmas so not sure how much I will get done. However I at least plan to start working on reading javascript and parsing it into my cross model.

Wednesday, December 14, 2011

Introducing Siesta: A Testing Tool for Ext JS

link -> Introducing Siesta: A Testing Tool for Ext JS:
For us, about midway through our upgrade, we realized that we badly needed a tool to help us verify that what used to work in the Ext JS 3 version still worked in the Ext JS 4 version. Doing the testing manually for each feature and API method would simply have taken way too much of our time. After evaluating a few popular options, we realized that none really fit our needs, so we started to design and write our own tool: Siesta
Looks nice for unit testing where you write the tests programmatically. Not sure how it would work with a recorder and automatically generated IDs. Price tag of $300/developer is steep not to do everything.

Thursday, December 8, 2011

New RSS Feed URLs

Since Google Reader shut down their Note In Reader feature, I decided to import my shared items into this blog and use the BlogThis bookmarklet to share new items.

 Here are my new RSS feed URLs

New Posts Feed: 
Atom 1.0: http://bigleroncode.blogspot.com/feeds/posts/default
RSS 2.0: http://bigleroncode.blogspot.com/feeds/posts/default?alt=rss

Comments-only feed: 
Atom 1.0: http://bigleroncode.blogspot.com/feeds/comments/default
RSS 2.0: http://bigleroncode.blogspot.com/feeds/comments/default?alt=rss

Sunday, December 4, 2011

Crosspile Week 4

Finally got a test to pass this week. I think the next thing to work on is to output some C# from the JsDuck json file. This week I want to research the NRefactory library and try to create an abstract syntax tree from my JsDuck json file and get NRefactory to output the C#. I also noticed that Microsoft released Roslyn which I could use instead of NRefactory. I think I will start out with NRefactory but keep my eye on Roslyn as well just to see if it is worth switching.

Saturday, December 3, 2011

SpecFlow Integration - Matt Ward

link -> SpecFlow Integration - Matt Ward:
The SpecFlow team recently released version 1.7 and with it they included support for SharpDevelop 4.0. SpecFlow is an open source framework that you can use to do Behaviour Driven Development (BDD) on .NET. It allows you to bind business requirements to the code. Let us take a look at how SpecFlow integrates with SharpDevelop.
This looks similar to our customer test parser except instead of using Xml they use the Gherkin language.

Monday, November 28, 2011

Customers learn as well as Developers as product moves along

link -> Growing Objected Oriented Code Guided By Tests
For customers and end users, the experience is worse. The process of building a system forces them to look at their organization more closely than they have before. They’re often left to negotiate and codify processes that, until now, have been based on convention and experience.
I remember working on a system where we were writing automated Acceptance Tests that could be easily read by our PM. This process allowed us to easily show them where they were giving us requirements that contradicted requirements they gave us in earlier iterations. Trying to have the conversation in English made our heads hurt but showing them the two tests side by side got us immediate understanding and earned us the reply "Oh crap I never thought about that".

Sunday, November 27, 2011

Crosspile Week 3

I spent a bunch of hours working on Crosspile this week but did not make much progress. I committed what I did, but the one test I wrote is not passing. I think I tried to get too fancy. I will try to simplify things this week and see if I can actually make some progress.

Sunday, November 20, 2011

Crosspile Week 2

Stuff I got done this week
  • Finished up the blog import tool I was working on which was taking up most of my free time
  • Created a project to test to see if I could use sharpkit to translate from C# to javascript
  • Figured out how to write and run nUnit tests in MonoDevelop
  • Starting writing a test to convert an JsDuckJson class to a Crosspile class
Time and internet access will be limited next week but hopefully I will still make some progress.

Thursday, November 17, 2011

Introduction To Composite JavaScript Apps | ThoughtStream.new :derick_bailey

link -> Introduction To Composite JavaScript Apps | ThoughtStream.new :derick_bailey

Not a big fan of the module pattern, but I like that he separating the different UI pieces into separate pieces of code that can be reused. I also like the way he binds the events together. It reminds me a little of the event stuff they have in DM