This is just a spot to keep miscellaneous links. It also shows you what a geek I am.
Monday, December 27, 2010
Kill That Util Class!
Saturday, December 11, 2010
The protocol-relative URL
<img src="//domain.com/img/logo.png">
If the browser is viewing that current page in through HTTPS, then it'll request that asset with the HTTPS protocol, otherwise it'll typically* request it with HTTP. This prevents that awful "This Page Contains Both Secure and Non-Secure Items" error message in IE, keeping all your asset requests within the same protocol."
Thursday, December 09, 2010
Algorithmia Source Code released on CodePlex - Frans Bouma's blog
The undo/redo looks intriguing.
Saturday, December 04, 2010
CODE Magazine - Article: Behavior-Driven Development
Wednesday, November 24, 2010
Naïve Bayesian Classification Using C# and ASP.NET
To understand and code for the na ve Bayesian algorithm, we will do some math to understand the procedure. The primary equation for the Bayes rule is:
P(A|B) = (P(B|A) * P(A)) / P(B)"
There's also this: http://nbayes.codeplex.com/
and this: Inference in Belief Networks - CodeProject
InfoQ: Testing Techniques for Applications With Zero Tests
InfoQ: How To Do Large Scale Refactoring
Tuesday, November 23, 2010
InfoQ: Fulfilling the Promise of MVC
Monday, November 22, 2010
So You Want to Interview for a Senior Developer Position…. « If & Else
Saturday, November 20, 2010
10 Steps To Become Better .NET Developer - Blog - CQRS and Cloud Computing
Friday, November 12, 2010
Thursday, November 11, 2010
Jurassic - A Javascript Compiler for .NET
Jurassic is an implementation of the ECMAScript language and runtime. It aims to provide the best performing and most standards-compliant implementation of JavaScript for .NET. Jurassic is not intended for end-users; instead it is intended to be integrated into .NET programs. If you are the author of a .NET program, you can use Jurassic to compile and execute JavaScript code.
Features
- Supports all ECMAScript 3 and ECMAScript 5 functionality
- Simple yet powerful API
- Compiles JavaScript into .NET bytecode (CIL); not an interpreter
- Deployed as a single .NET assembly (no native code)
- Basic support for integrated debugging within Visual Studio
- Uses light-weight code generation, so generated code is fully garbage collected"
Wednesday, November 10, 2010
Building iPhone Apps with HTML, CSS, and JavaScript
Monday, November 08, 2010
Scrum Alliance - New to User Stories?Written for the Scrum Alliance. A CSP’s perspective on user stories, requirements, and use cases
Sunday, November 07, 2010
Ultimate Guide to Website Wireframing
Saturday, November 06, 2010
Git Source Control Provider
FsCheck: A random testing framework
Wednesday, November 03, 2010
Saturday, October 23, 2010
Test with Windows Live Writer
Everyone is telling me that this tool is really the cat’s meow. So far – about 20 words into it – it’s really not half bad.
Let’s insert a photograph, even though this blog isn’t so much of a blog as a glorified collection of bookmarks.
Hmmm, kinda cool!
I wonder if this would work with ScrewTurn Wiki? (Although I would tend to doubt it, but you never know.)
Saturday, October 16, 2010
A few thoughts on jQuery templating with jQuery.tmpl | Encosia
Overall, jQuery.tmpl is a great step in the right direction. It’s small, it’s simple, and it’s fast. Overloading append() to allow the append(Template, Data) syntax is phenomenal. That approach feels more like idiomatic jQuery than anything else I’ve used, including jTemplates."
Monday, October 11, 2010
Teach Visual Studio Your Own Language -�Easy! - Journal - Rinat Abdullin
BDD, Fluent Interface Generator, and a new .NET 3.5 Parser generator
Tuesday, October 05, 2010
Javascript Libraries and ASP.NET: A Guide to jQuery, AJAX and Microsoft - Articles - MIX Online
NET jQuery Extensions at GitHub
Highlights include:
"Templating – Previously referred to as jQuery.tmpl or jQuery-tmpl, the jQuery Templating feature was Microsoft’s first foray into working with the jQuery team and community. Though its inclusion in jQuery isn’t planned until jQuery 1.5 is released, you can begin using it in plugin form immediately. That plugin is currently available on GitHub: http://github.com/jquery/jquery-tmpl"
and
"Data Linking – The next feature that may be a precursor to more official things to come is the jQuery-datalink plugin, which is also available on GitHub: http://github.com/nje/jquery-datalink. With this plugin, you can “link” JavaScript objects together so that they remain synchronized when changes are made to one or both of them. The canonical example of this is linking a JavaScript object’s properties to corresponding fields in a form, to eventually automate tasks such as change tracking and submission."
More from Scott Guthrie:
"jQuery Templates
The jQuery Templates plugin enables you to create client templates. For example, you can use the jQuery Templates plugin to format a set of database records that you have retrieved from the server through an Ajax request.
You can learn more about jQuery templates by reading my earlier blog entry on jQuery Templates and Data-Linking or by reading the documentation about it on the official jQuery website. In addition, Rey Bango, Boris Moore and James Senior have written some good blog posts on the jQuery Templates plugin:
When the next major version of jQuery is released -- jQuery 1.5 -- jQuery Templates will be included as a standard part of the jQuery library."
Monday, October 04, 2010
Sunday, October 03, 2010
Thursday, September 09, 2010
jQuery Grid Recommendations - Stack Overflow
jQuery Grid Recommendations - Stack Overflow: "The best entries in my opinion is Flexigrid and jQuery Grid (1st & 2nd in list). The others are included for completeness.
Flexigrid: http://flexigrid.info/
jQuery Grid: http://www.trirand.com/blog/
jqGridView: http://plugins.jquery.com/project/jqGridView
Ingrid: http://reconstrukt.com/ingrid/
SlickGrid http://github.com/mleibman/SlickGrid
I like the jQuery Grid (#2 above) better than Flexigrid mostly because it supports editable cells, and has very good documentation and samples on the website."
Saturday, August 28, 2010
How to
"How to make engineers write concisely with sentences? By combining journalism with the technical report format. In a newspaper article, the paragraphs are ordered by importance, so that the reader can stop reading the article at whatever point they lose interest, knowing that the part they have read was more important than the part left unread.
State your message in one sentence. That is your title. Write one paragraph justifying the message. That is your abstract. Circle each phrase in the abstract that needs clarification or more context. Write a paragraph or two for each such phrase. That is the body of your report. Identify each sentence in the body that needs clarification and write a paragraph or two in the appendix. Include your contact information for readers who require further detail.
-- William A. Wood (email), September 8, 2005"
Monday, August 23, 2010
The Marvels of Monads - Yet Another Language Geek - Site Home - MSDN Blogs
Thursday, August 19, 2010
Mastering the 960 Grid System | Nettuts
Don’t let jQuery’s $(document).ready() slow you down | Encosia
Thursday, August 12, 2010
Fiddler Extension – Request to Code | Chad Sowald
Tuesday, August 10, 2010
Scott Hanselman - How to Post Code To Your Blog and other Religious Arguments
Saturday, August 07, 2010
Commonly Confused Bits Of jQuery
Tuesday, July 27, 2010
Sunday, June 27, 2010
Thursday, June 17, 2010
Six Things Every jQuery Developer Should Know
Friday, June 11, 2010
Cookieless Session Problems in ASP.NET
Cookieless Session Problems in ASP.NET
Thursday, June 10, 2010
Git Reference
Git Reference
Tuesday, June 08, 2010
Parameterized unit tests using Pex - reducing code written
Friday, May 21, 2010
Thursday, May 06, 2010
Debugging classic ASP web application with Visual Studio 2010
Why, oh why, do people still use classic ASP?
Wednesday, May 05, 2010
Custom Configuration Section Handlers : Steve Smith's Blog
Custom Configuration Section Handlers : Steve Smith's Blog
Steve Smith is the guy who brings you Hudson Software Craftsmanship, who meet once a month in Hudson, OH.
Monday, May 03, 2010
Thursday, April 29, 2010
Using .NET: Tame Your Software Dependencies for Flexible Apps
This uses Castle Windsor and Binsor, a Boo (!) DSL for wiring up dependencies.
Using .NET: Tame Your Software Dependencies for Flexible Apps
Sunday, April 25, 2010
Silverlight 4 Training Kit - ScottGu's Blog
Silverlight 4 Training Kit - ScottGu's Blog
Wednesday, April 21, 2010
Git autocrlf problem revisited -- and solved!
The following commands, issued in a row, will work:
git add -u
git config core.autocrlf false
git reset
git config --unset core.autocrlf
This assumes that you've got
core.autocrlf
normally on by default in the global settings file. If you do not, then replace the last line with the following:git config core.autocrlf true
Or, to consolidate in one command, the first version is:
git add -u && git config core.autocrlf false && git reset && git config --unset core.autocrlf
while the second is:
git add -u && git config core.autocrlf false && git reset && git config core.autocrlf true
MSLinqToSQLGenerator fails when there's a partial class having a Using at the top of the file | Microsoft Connect
MSLinqToSQLGenerator fails with partial class having a Using at the top of the file | Microsoft Connect: "If you add a partial class declaration to a Linq-To-SQL Data Classes context object, and then put a 'using' statement at the top of the file outside the namespace declaration, the following error occurs when you run the custom tool:
'The custom tool 'MSLinqToSQLGenerator' failed. Unspecified error'
Also, Visual Studio will then delete the corresponding '.designer.cs' file for your data context and nothing will compile after that point."
Thursday, April 01, 2010
Belarc Advisor - Free Personal PC Audit
Tuesday, March 30, 2010
Jeffrey rambles about Rx, .NET and programming in general. : Time flies like an arrow in Script#
Jeffrey rambles about Rx, .NET and programming in general. : Time flies like an arrow in Script#: "Time flies like an arrow in Script#
As kouPhax requested this on the Rx forum, I decided to post a port to Script# of the Time flies like an arrow sample that ships with Rx for JavaScript.
Rx for JavaScript already ships with a binding for Script#, so that will make our lives a lot easier (you can find the binding in \Redist\ScriptSharp\RxJs.dll)"
Sunday, March 28, 2010
How to share data between stored procedures
Very cool article. Gives a table summarizing the methods.
Friday, March 19, 2010
Tsung
The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications. You can use it to do load and stress testing of your servers. Many protocols have been implemented and tested, and it can be easily extended. WebDAV, LDAP and MySQL support have been added recently (experimental).
It can be distributed on several client machines and is able to simulate hundreds of thousands of virtual users concurrently (or even millions if you have enough hardware ...).
Tsung is developed in Erlang, an open-source language made by Ericsson for building robust fault-tolerant distributed applications.
Tsung is supported by Process-One"
Wednesday, March 17, 2010
Create a self-signed SSL certificate with IIS 6.0 Resource Kit SelfSSL
Wednesday, March 10, 2010
[#LOG4NET-27] Rolling files on date/time boundaries doesn't support a maximum number of backup files. - ASF JIRA
[#LOG4NET-27] Rolling files on date/time boundaries doesn't support a maximum number of backup files. - ASF JIRA
Tuesday, March 09, 2010
Why won't my ASP pages work in IIS 6.0?
Why won't my ASP pages work in IIS 6.0?
Wednesday, March 03, 2010
Introducing SelectorGadget: point and click CSS selectors
Introducing SelectorGadget: point and click CSS selectors: "SelectorGadget is an open source bookmarklet that makes CSS selector generation and discovery on complicated sites a breeze. Just drag the bookmarklet to your bookmark bar, then go to any page and press it. A box will open in the bottom right of the website. Click on a page element that you would like your selector to match (it will turn green). SelectorGadget will then generate a minimal CSS selector for that element, and will highlight (yellow) everything that is matched by the selector. Now click on a highlighted element to remove it from the selector (red), or click on an unhighlighted element to add it to the selector. Through this process of selection and rejection, SelectorGadget helps you come up with the perfect CSS selector for your needs."
Tuesday, March 02, 2010
Glimmer: a jQuery Interactive Design Tool - Home
Glimmer: a jQuery Interactive Design Tool - Home: "Without having to touch a piece of JavaScript code, harness the power of the jQuery. With Glimmer: a jQuery Interactive Design Tool, easily create interactive experiences and use the tool to discover ways to add animation and other effects to your site in new and unexpected places. Glimmer is a Windows application which generates jQuery, XHTML and CSS. If jQuery is the “write less, do more” JavaScript library, then Glimmer is the “write none, do more” jQuery design tool."
Quick and Dirty Guide to Configuring Log4Net For Web Applications
private static readonly ILog Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
Quick and Dirty Guide to Configuring Log4Net For Web Applications
My code:
private static readonly ILog Log { get; set; } static ClassConstructor() { Log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); log4net.Config.XmlConfigurator.ConfigureAndWatch(new FileInfo(HttpContext.Current.Server.MapPath("~/log4net.config"))); }
Monday, March 01, 2010
The Kayak Framework: An easy way to speak HTTP with .NET
The Kayak Framework: An easy way to speak HTTP with .NET: "Kayak is a lightweight HTTP server for the CLR, and the Kayak Framework is a utility for mapping HTTP requests to C# method invocations. With Kayak, you can skip the bulk, hassle, and overhead of IIS and ASP.NET. Kayak enables you to do more with less syntax, and is easy to configure to work in any way you care to dream up."
Sunday, February 28, 2010
Integrating .NET and Erlang using OTP.NET - Nauman Leghari's Blog
Thursday, February 25, 2010
Rich Internet Application Screen Design | UX Magazine
- Make It Direct
- Keep It Lightweight
- Stay in the Page
- Provide Invitations
- Use Transitions
- React Immediately"
Wednesday, February 24, 2010
Flapjax
Flapjax: "Flapjax is a new programming language designed around the demands of modern, client-based Web applications. Its principal features include:
- Event-driven, reactive evaluation
- An event-stream abstraction for communicating with web services
- Interfaces to external web services
F# Web Tools | Projects | TomasP.Net
Looks interesting. There's a commercial product similar to this whose name escapes me at present.
Object Oriented JavaScript Class Library in C#/.NET Style - CodeProject
This is a really good guide on C# coding style in Javascript! He shows how to make classes, public, private, event handlers, enums, etc. Smart guy!
Wednesday, February 17, 2010
Converting between Base 64 and binary in SQL Server 2005
Implementing secure, unique “single-use” activation URLs in ASP.NET (C#)
Sunday, January 31, 2010
Upgrade causes loss of f5 networks host plugin
Why F5 Network didn't fix it, I don't know...
To install it :
- download the urhostplg.xpi file
- rename it in urhostplg.zip and unzip it
- change the version limit in 'install.rdf' file :
From :3.1.*
To : 3.5.*
- zip and rename to urhostplg.xpi
- drag and drop the .xpi on Firefox to install it"
Pushing to a Git repository using the wrong case causes peculiar behavior (maybe involves --forcing)
Unpacking objects: 100% (3/3), done.
From github.com:sidecut/Quest-Paperless
+ 22b4432...7d00da0 TRY-remove-LLBLGEn -> origin/TRY-remove-LLBLGEn (forced update)
error: Ref refs/remotes/origin/TRY-remove-LLBLGen is at 7d00da03b4a76116ffbaf89a4b5f6d54aeba9810 but expected 22b4432207570926a71d969a7ff8da821bf68354
! 22b4432..cddedc1 TRY-remove-LLBLGen -> origin/TRY-remove-LLBLGen (unable to update local ref)
As evident from gitk, the remote branch refused to advance farther, but I could continue to push to that branch from the office. (Notice the git fetch output mentioned a forced update. I don't remember, frankly, whether I pushed it in that way from the office
The culprit was hiding in plain site: the error message showed that the branch names that differed only in case:
TRY-remove-LLBLGEn
TRY-remove-LLBLGen
The solution? Dropped the branch
TRY-remove-LLBLGEn
and recreated it using the proper case:git push origin :TRY-remove-LLBLGEn
git push origin TRY-remove-LLBLGen
Monday, January 25, 2010
Web Service Functional Testing - Tips and Tricks Login Security - soapUI
Friday, January 22, 2010
Youssef Moussaoui's WCF blog : How to Change .NET Configuration Files at Runtime (including for WCF)
One of the most common issues people run into with WCF configuration, and .NET applications in general, is that configuration files appear to be fixed. You only have one configuration file for an executable, and you can’t use different configuration files as your exe.config while the application is running. Of course, you can always shut down the application, change the configuration, and then restart it with the new configuration file, but that’s tedious and oftentimes undesirable. In this blog post, I’ll show you how to easily get around this limitation."
Wednesday, January 20, 2010
SharpTemplate � Xtreem Geek
Converts HTML into C# that gets compiled by Script#
Benefits from strong typing for all variable / API references that occur within the HTML
Generated HTML templates are super efficient due to compile time pre-processing that helps avoid regex matching in JavaScript unlike many other templating engines
Familiar templating syntax (based upon Asp.Net)
If you are not already using some sort of compile time HTML templating with Script# then you must definitely give this a try and see the productivity boost for yourself.
SharpTemplate has Script# as its prerequisite.� It can work in VS2008, VS2010 and Visual C# express."
Thursday, January 14, 2010
[ANN] DC ALT.NET – 1/27/2010 - Clojure
[ANN] DC ALT.NET – 1/27/2010 - Clojure: "Simply put, Clojure is a dynamic general purpose programming language that targets both the Java Virtual Machine as well as the .NET CLR. This language, which is a dialect of Lisp, combines the ease of an interactive development scripting language with something that makes it stand out, which is a robust concurrency infrastructure. Parts of the concurrency story that are interesting is both a software transactional memory (STM) system as well as a reactive agent system much like the Mailboxes we’ve covered here in F#. What also makes Clojure interesting is that it is predominantly a functional language with a rich set of immutable data structures.The Clojure site is the best place to get started which includes the language features reference, basic tutorials, screencasts and more. For those who wish to get Clojure working on the CLR, there are great instructions at the Git repository for ClojureCLR. In the future, I’ll cover more of the language, but these two references should be enough to get you started."