Monday, September 17, 2007 : 8:03 PM
- (0 comments)
Well it's one answer anyway. Joseph Albahari, the author of LINQPad, challenges you to learn LINQ by getting rid of SQL Server Management Studio for a week and use LINQPad instead.
After being prompted for a license agreement he posted this short agreement:
"The copyright holder, Joseph Albahari, grants you the right to download and run LINQPad free of charge. LINQPad comes with no warranties, and no liability is accepted for direct or consequential damages. LINQPad is not an open-source product and is protected by standard copyright laws; nonetheless you are free to disassemble the executable to satisfy your curiosity (and for this, I suggest Lutz Roeder's .NET Reflector)."
Check out this interesting tool, LINQPad. I think I've found my way to break into LINQ.
Tuesday, September 11, 2007 : 7:17 AM
- (0 comments)
I don't know about you, but styling is both a passion and a sore spot to me. I love to get it to look right, but sometimes the trouble of doing so is sooooo hard. Enter this blog post by Shaun Inman on Styling File Inputs with CSS and the DOM.
Very very clever.
It solves a problem I've encountered before making File Inputs look good. I'll be using this next time I'm creating a file input page. It works well across platforms too. IE 5.5+, Firefox 1.5+, Safari 2.0+ all work well and looks like it could be modified to work in Opera and older versions of IE.
Here's the html:
<input type="file" class="file" />
And the css that drives it:
background: url(btn-choose-file.gif) 0 0 no-repeat;
.SI-FILES-STYLIZED label.cabinet input.file
Check out the article for the complete explanation.
Thursday, September 6, 2007 : 2:01 PM
- (2 comments)
Slashdot posted a story about our favorite sea creature. It seems that some eels have 2, count 'em, 2 sets of jaws to devour their prey.
That's a moray! - Thanks to "Barefoot and Andy" (Sung to the tune of Dean Martin's "That's amore")
There's a thing on the reef, with big shiny white teeth - it's a Moray
If he's big and he's mean, and he's slimy and green - it's a Moray
Put your hand in the crack and you won't get it back - It's a Moray
When you're movin' your hands, best take care where they land - Watch for Morays
When some teeth catch your eye. and an eel wriggles by - It's a Moray
when something, bites your fin, and throws off your trim - It's a Moray
Keep your fingers in tight and you won't have a fright - It's a Moray
When you're moving by feel and then up pops the eel - It's a Moray
When an eel bites your thigh, as you're just swimming by - It's a Moray
When you scream, and you beg, but it still bites your leg - It's a Moray
Watch you don't get a shark, When you search, after dark - for amore
When you're out of your depth, and you run short of breath - that's amore air
When he's fanning his gills, Better head for the hills - It's a Moray
when your light, in the night, gets swallowed out of sight, - It's a Moray
When your horse munches straw, And the bales total four - That's some more hay.
When you're down and it's dark, Over there - that a shark?, No - It's a Moray
When you ace your last test, Like you did all the rest - That's some more "A"s!
When your boat comes home fine, And you tie up her line - That's a moor, eh?
When you've had quite enough, Of this daft rhyming stuff, that's "no more!", eh?
Tuesday, September 4, 2007 : 3:54 PM
- (0 comments)
I've been a Mac user for many years, but have always done ASP and ASP.Net development professionally. This disparity has been a conflict in choosing a home machine. Now, I've done all of my Windows development on a Mac for the last 10 months. With BootCamp, Parallels Desktop, and VMware Fusion, it's never been easier to run Windows on a Mac either natively or virtualized.
I've run all three and they have their strengths and weaknesses. With BootCamp, of course, you have to reboot. That's OK if you are looking for full throttle performance. Both Parallels Desktop and VMware Fusion allow you to use the BootCamp partition as the source of your virtualized machine. Very helpful.
I am currently using an instance of XP Professional with 512 Meg under VMWare Fusion on my 17" MacBook Pro. I have installed: SQL Server 2005, Visual Studio 2003, Visual Studio 2005, Office 2003, IIS, VPN client and various other utilities. It runs great!! It benchmarks faster than my last Dell box (2.8 gHz P4, with 512 Meg of RAM). There are a few slowdowns usually when switching between OS X and the XP virtual machine while doing something that is disk based in the background.
I find that Fusion runs a bit more stably and leaves more of the Macs resources untouched until needed. At this moment I have in the virtual machine Outlook, Excel, Visual Studio, Internet Explorer and SQL Server Management Studio 2005 all loaded and the CPU runs smoothly at about 12%. That's with a bunch of OS X apps running on the Mac like Safari, TextMate, Mail, iCal, Address Book, Xcode, Adium and iTunes. Twelve Percent!! Parallels in a similar configuration was always taking about 30%. But I have found that Parallels makes many incremental improvements while it looks like VMWare has a more lengthy development and testing cycle. Parallels currently has a new Release Candidate of Parallels Desktop for Mac that may address some of these performance issues.
I find this setup very convenient for testing web apps. It's easy to load multiple OS's on my Mac and test with different browsers and all of their versions and flavors.
What's your development and testing setup?