I was trying to find an example of how to “UPSERT” data the other day, and could not find anything half-way decent. After doing some research into some of the capablities of SQL Server 2005 (since that is what I was writing the script for), I came up with this solution:
Continue reading…
Archive for July, 2009
Startup Themes
Brad, Bill, Joy, and I were in Appleton, Wisconsin over the weekend, and stopped by Guitar Center to see what was going down (I haven’t been to any music shops since we were in Michigan; it’s been killing me!). Brad and Bill ended up over by the keyboard section (Bill was making some excellent jams), so I wandered over to see what was up. There was a keyboard next to them, and it was set up with this exact sound. Video after the jump.
Make Google Notifier More “Push”-Like
I recently installed Prowl on my iPhone to receive push notification from, well, just about everything. One of the things that was excited was that I could setup a faux-Gmail Push System. After setting everything up, I noticed that the Google Notifier was only checking every 15 minutes (sometimes longer it seemed). After doing a little digging, I came across a forum post over at macosxhints. Luckily, it was quite easy to fix:
- While holding Command and Option down on the keyboard, select the Google Notifier Gmail icon and select preferences. This will generate a pop-up dialog.
- In the dialog box, enter AutocheckInterval as the key, and for the value enter 1 (for number of minutes to check).
- Hit set and you’re done!
After applying this fix, it’s just like having push Gmail (as long as my computer is on)! Thank you jonnygozy!
C# Interfaces: Under (No) Construction?
Why can’t C# allow for a constructor definition in an Interface? For example, say you have this interface:
namespace ValidationServices.Customers
{
public interface ICustomer
{
// Properties
ValidationRequest Request{ get; set;}
// Methods
ValidationResponse ValidateOrder();
//....
// and so on
//....
}
}WordPress: Remove Stuck Maintenance Message
If your WordPress site is stuck at the maintenance screen (“Briefly unavailable for scheduled maintenance. Check back in a minute.”), this tip will clear the issue up really quick. Continue reading…
XMLUrlResolver: Using Embedded XSLT Resources in C#
Over the last week or so, I have been searching for a method to properly include XSL files via xsl:include within a .NET embedded resource. Apparently, using GetManifestResourceStream() (via an Assembly) wasn’t good enough (it wouldn’t follow the xsl:includes, simply ignoring them). Luckily, I came across a (semi-)working solution over at Signs on the Sand. Now, the concepts behind this were right, it just wasn’t working for my particular situation. Here’s the scoop:
What I’ve Learned So Far
So far, my internship has been going great! I’ve had many opportunities to work in a new environment, and I’ve been able to tap into one of my more underused skills: programming. Since I’ve been working for Independent, I’ve been able to learn a lot of new concepts; not only in programming, but in some of the operations of a business. Here is a brief overview of some of the things I have learned, or am learning.
Recent Comments