tag:blogger.com,1999:blog-50403854289325073182024-02-19T11:35:32.542-05:00Internet Brainstorms- Philosophy, Idiocy, Internet Strategy, .Net Development and JavaScript Web DevelopmentMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.comBlogger152125tag:blogger.com,1999:blog-5040385428932507318.post-66068836777290952922011-12-10T10:32:00.002-05:002011-12-10T10:32:44.710-05:00My Thoughts on Bell/Rogers purchasing the Toronto Maple LeafsACC seating will be changed from Platinum/Gold etc. to an even split of Blue / Red and in addition to a general price increase, seat prices will probably increase while at the game for no apparent reason. If you want to switch from the Blue to Red section you’ll have to pay a cancellation fee, and may be forced to sign up for season’s tickets. Arena blackouts will become common in unplug to Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-25776937525716783612011-02-04T23:56:00.003-05:002011-02-05T02:30:55.333-05:00Hack Fix For typeface.js JavaScript Error " 'undefined' is null or not an object"In IE the following JavaScript error is thrown in circumstances where there is no match for an individual character code in your font glyph map (you know that file you generated for your font):Error " 'undefined' is null or not an object"Line: 601 (uncompressed source code).At time of posting I am using typeface-0.14.js.The visual result of this error is the sudden disappearance of all headings Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-75260732642123725432010-06-01T14:03:00.001-05:002010-06-01T14:04:50.697-05:00Need Help Moving Boat June 11th - Cleveland to WellandI need help moving my C&C 40 Centerboard from Cleveland to Welland.Please leave your contact information in a comment (will be moderated so nobody will see except me).Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-71080604869062036322010-02-26T17:10:00.004-05:002010-02-26T17:32:20.867-05:00SharePoint Folder Icon Changer JSON MetaData Provider ControlThis is a follow up to my original post on How To Change Folder Icons in SharePoint MOSS Using JavaScript.I'd encourage you to read that post first so you have at least a basic understanding of the JavaScript involved in actually changing the folder icons.The .Net Custom Control is much simpler. Here is the complete code C# file fully commented:using System;using System.Collections.Generic;usingMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com3tag:blogger.com,1999:blog-5040385428932507318.post-10900319894185710772010-02-26T16:03:00.005-05:002010-02-26T17:35:54.370-05:00Change Folder Icons In MOSS / SharePoint Using JavaScriptI hope you guys find this code useful in changing default folder icons using JavaScript.Before that - I want to point out that many people are of the opinion that Folders should be avoided at all costs in SharePoint. While I appreciate the perspective there, I believe it merely shows there is a gap in the technology platform.I believe that once that gap is filled (EX// through CustomActions, Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-39981622368888003102010-02-20T00:23:00.006-05:002010-02-20T00:51:08.519-05:00JavaScript / C# Hack to For Latency Simulation In ASP.Net Web ApplicationsWhen developing AJAX functionality sometimes a latency simulation can be quite revealing. The following four lines of code serve as an interception point injecting a user specified network delay in serving network resources for UI testing purposes.If you use your imagination a bit, and leverage the power of jQuery selectors, one can quickly build a network latency injector for help in developingMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com8tag:blogger.com,1999:blog-5040385428932507318.post-51405528449486930562010-02-18T15:55:00.004-05:002010-02-18T17:09:04.650-05:00AOP: Aspect Oriented ProgrammingAOP goes like this: If it's not part of your core logic it's an aspect and should in some way be separated from your core algorithm. In a more literal sense, Aspects are application infrastructure components, as a foundation is to a house, Aspects are to a software application. Now how does this differ from OOP?The intention of Aspect Oriented Programming is two fold:Separation of Concern: the Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-5616824750014621852009-11-09T16:37:00.002-05:002009-11-09T16:40:12.745-05:00Uri Extension Method: AbsolutePathNoFile()How often do you want to determine the absolute URI from any url without the specific file reference and without the query string variables. This is especially useful in many SharePoint tasks.Here is a little extension method that can do just that. Pop this in a static class and try calling it on your Uri object:public static UriExtensions { public static string AbsolutePathNoFile(this Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-29957694230038970722009-11-02T10:46:00.003-05:002009-11-02T10:57:09.267-05:00Google Wave Is Here: But I have no FriendsI am online with the Google Wave beta. It is cool, takes a bit of getting use to. But this is NOT going to replace my normal email account anytime soon - This is no Tsunami. I do however hope it does replace my email account ASAP - Especially on my iPhone!The most major thing I don't understand about Google Wave is: How can I message people that do not have Google Wave accounts? Wouldn't Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com1tag:blogger.com,1999:blog-5040385428932507318.post-2975431879319400662009-10-16T21:32:00.001-05:002009-10-16T21:33:12.748-05:00Comments Open To EveryoneAs an experiment I have decided to open my comments to everyone to see if it impacts my site traffic. This will be a fun experiment.Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com2tag:blogger.com,1999:blog-5040385428932507318.post-19149118859371245702009-10-16T15:36:00.001-05:002009-10-16T15:37:23.915-05:00Happy Birthday To MeMy birthday is today, was yesterday, is tomorrow or is at some point next / last week. I wanted to wish myself a Happy Birthday on my blog ... so ... Happy Birthday to me ...Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com1tag:blogger.com,1999:blog-5040385428932507318.post-35569286422819355662009-10-06T11:04:00.005-05:002009-10-06T15:32:51.869-05:00SharePoint Tips: Content Type Visibility on NewMenuI've built a solution with a few custom ContentTypes in a list definition. Now, removing these from the NewMenu has to be easy right? Just add a HideCustomAction definition to your instance file. Not so easy to find the ID's that will be used for those content types is it? Well, here is a solution that will remove the ContentTypes from the NewMenu but allow them to hang around for use in Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-9661109857743080132009-09-18T10:01:00.002-05:002009-09-18T10:05:07.683-05:00Reassign bugs to gays.My project manager sent me the below email which I thought was fairly amusing. Just as a FYI, we do not assign bugs to developers based on sexual preference. This was merely a typo by a Russian developer who doesn't have the best grasp of the English language but nonetheless, when sent to a big enough audience... can be quite amusing...Here is the email, enjoy:Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-11875132309062525152009-08-14T09:28:00.007-05:002009-08-14T10:12:03.787-05:00Clear | Remove Query Strings From Post Backs (ASP.Net, SharePoint)As part of an unorthodox request I was asked to make a TabStrip component SEO friendly. My first thought was to completely rewrite the control to make use of GET requests rather than continuing to POST the data back to the server.Immediately I ran into a problem with this approach as the developers of this site have implemented the majority of these TabStrip controls inside the ASP.Net Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-63524069355770458092009-08-13T11:27:00.006-05:002009-08-13T12:39:36.431-05:00SPJobDefinition Quirks For DevelopersI wanted to write a quick heads up on a couple quirks relating to the SPJobDefinition and wiring up Timer Jobs (may be relevant for deployments where the Timer Jobs are modified). We are building our solutions on Windows 2003 Server with MOSS 2007.To debug SPJobDefinitions attach VS debugger to OWSTIMER.exe process after following install instructions below.OWSTIMER is caching the Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-76986284604134445012009-08-12T13:59:00.004-05:002009-08-12T14:03:33.249-05:00How To: Debug SPJobDefinition in Visual StudioThe solution is remarkably simple.Click Debug -> Attach To ProcessNote: At this point, ensure the checkbox "Select processes from all users" is selected.Select OWSTIMER.EXE from the list.Setup a breakpoint on the Execute override method.Be patient and wait for the timed job to execute.Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-85499106137229704692009-08-06T12:18:00.005-05:002009-08-06T12:44:53.019-05:00My First Zune Badge: A Lesson in mediocrityI finally got my first Zune badge today and with it, a lesson in mediocrity. Microsoft may want to rethink their strategy as to how these badges are issued as I now feel that I listen to a bunch of kindof sortof artists..The Bronze Artist Power Listener award! Wooo Hooo. Are you kidding me? Thanks for this bronze mediocre accomplishment. What if it was a Platinum Artist Power Listener award?Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-26632924571619982152009-06-26T10:29:00.000-05:002009-06-26T10:30:54.006-05:00Setup Visual Studio To Easily Pull PublicKeyTokensInteresting article here: http://blogs.msdn.com/kaevans/archive/2008/06/18/getting-public-key-token-of-assembly-within-visual-studio.aspxThe article explains a couple tricks as to how to get PublicKeyTokens out of your signed assemblies in a quick and simple manner.Enjoy.Over And OutMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-63138688436465019382009-06-18T09:07:00.001-05:002009-06-18T09:09:13.214-05:00Apple Is Spamming MeEvery time I get an email from Apple I:1) Feel like I'm dumb.2) Ignore it.3) Get annoyed and unsubscribe from the mailing list.Only I continue to get at least one email from Apple every two days that I do not want. Has anyone else had this problem? Does anyone know how to make it so Apple never contacts me again?If so, please enlighten me!Over And OutMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-21505954987954465232009-06-17T12:29:00.001-05:002009-06-17T12:33:04.653-05:00Bing.com is Amazing!I’ve been using Bing for one week to see if it can replace Google.I can now say that Bing does 100% replace Google and in many circumstances I’ve found it not only easier to use, but faster, and more relevant.Try switching your search engine to Bing and give it a test – I’d love to see what other people think!Feel free to leave hateful comments, it's all part of the game.Over and OutMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-38337985854701961752009-05-29T08:32:00.002-05:002009-05-29T08:41:37.158-05:00WANTED: Windows Error CollageI need new desktop wallpaper. And you know you're a nerd when you have a vision that this wallpaper should be a collage of all the worst Windows error prompts imaginable.Ideally the collage would have a background with a Windows Blue screen. Then, as if this ask makes absolutely no sense already I want as many verbose Windows Error dialog messages stacked on top of the blue screen as possible.TheMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com0tag:blogger.com,1999:blog-5040385428932507318.post-81040254766566558902009-05-22T09:12:00.003-05:002009-05-22T09:36:15.898-05:00WARNING - DO NOT BUY SOFTWARE FROM: Websupergoo.comI would rec against buying software from this company. I've now logged four bugs in their PDF product.I'm sure it's useful for some things - but it is very inconsistent, buggy and if I had a choice, I'd never use it again. Unfortunately it's the only product on the market that can render SVG inside a PDF - so I'm stuck with it.The following bugs were initially denied by ABCpdf support. I was Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com2tag:blogger.com,1999:blog-5040385428932507318.post-44043608426609329012009-05-06T13:25:00.004-05:002009-05-06T13:35:45.656-05:00.Net Custom Panel Control with Transparent Background (no png's, css hacks, or problems)I'm making a really quick post on how you can wrap the jQuery fadeBack control into a .Net Web Custom Control. If you haven't read the article on the fadeBack control, you will have to go here and grab the source. Save the scripts in a script folder inside your Web Site / Web Application.To use this control you need to add a reference to the Web Server Control project you have built the code inMatt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com2tag:blogger.com,1999:blog-5040385428932507318.post-88238393318448287762009-05-06T10:57:00.006-05:002009-05-06T15:30:55.687-05:00JavaScript: jQuery Plugin to fade Background but not Content: no css hacks, no *.png files, no problems ...UPDATE: the toNum method must be changed to this: function toNum(strNum) { if (strNum && strNum != "") { var i = parseFloat(strNum); if (i.toString() == "NaN") return 0; else return i; } return 0; };I scoured the web in search of a jQuery plugin that allows me Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com7tag:blogger.com,1999:blog-5040385428932507318.post-63537994045068494942009-05-01T14:09:00.006-05:002009-05-01T15:19:39.499-05:00JavaScript: Chaining Cancelable Events - If you're not first, you're lastAnother quick post on cancelable events in JavaScript. An example of a cancelable event is the keydown method. If I return false from a keydown method JavaScript will not allow the action of that keydown event to proceed. For example, I could return false on a document keydown event to cancel the ctrl+c behaviour etc. etc.The following is a nice method I've built and tested only in IE 7 which Matt Starkhttp://www.blogger.com/profile/00340761087445368371noreply@blogger.com2