It’s time I tried something new. Wish me luck.
Category Archives: technology
Linq to File System
I just finished watching DimeCast
#15. It completely blew my mind. Part of me really likes the elegance
of the syntax of using Linq to query the FS. The rest of me can’t imagine the
performance of joining files to directories in such a manner would be efficient.
I need to dig in and do some side by side comparisons and get to the bottom of this.
Sounds like the makings of an in-depth blog post.
Errata Update
Yesterday I posted about
my experience with the Errata submission process at Wrox. I promised an update
and this is it.
Within an hour of my submission, I received an email reply from someone in the customer
service department. It turns out that my observation about the missing figure
had already been noticed. If I would have looked harder, I would have found
the replacement figure in the form of a JPG file in the downloads section for the
book. I still believe that it should have been listed in the errata section
- after all it IS an erratum.
I also received an email from Jim Minatel.
It seems that the comment functionality of my blog was down so he emailed instead.
I was very satisfied ith the service I got from everyone involved and am happy to
say that I have had my faith in Wrox restored. I’ll continue to buy books from
them when I have an opportunity and I will continue to hold them to a high standard
of excellence – as I do with everyone I recommend.
Errata
Let me preface this by saying that I understand people make mistakes. I make
them all the time. I expect mistakes in technical books. This is NOT a
rant about the quality of any particular book or technical books in general.
Today I was reading a particularly interesting section in a technical book and ran
into a figure that was clearly incorrect. After making sure it wasn’t simply
a case of the figure reference being off by a number or two, I decided to take a browse
over to the Wrox site for the book and check out the Errata page. This is where
my journey becomes very frustrating.
Problem #1 – When I search for a book using the exact title, I expect it to be the
FIRST hit, not the fourth.
Ok, so I find the title, bring up the book’s page, and click on the Errata link.
So far so good. I’m a little troubled by the fact that the book has only a few
items listed – I know I’ve run into more errors than this and I’m only in Chapter
2. Either I’m the only person reading the book or something is broken with the
errata process. I click on the “errata form” link. I expected to get to
a page that clearly indicated that I was submitting an errata for a particular book.
Instead I’m at a generic “ask a question” page. I thought this was strange enough
that I went back and searched for a completely different book to see if the link itself
was broken. Nope – all the books take you to this generic page.
At this point I’m starting to see the issues with the Errata submission process.
I’m imagining some English major doing an internship getting an email and yelling
at her screen something like “I’m glad that you noticed that ‘obtuse’ was misspelled
on page 578, but IN WHICH F**ING BOOK?”. So, I try to help the intern out and
provide the book’s title and printing number along with my errata submission in the
“ask your question” box.
I move on to the next *required* section which requests that I enter a category.
I eventually find an option for “figure error” which seems to fit the bill.
Selecting this enables a text box where I can put in the book’s title and ISBN number.
The text boxes are empty.
Problem #2 – Don’t make me enter data which you have no excuse for not knowing.
I clicked on a link on your website that contained all the information you are requesting.
Don’t make me do your work for you.
Problem #3 – x1000 when we’re dealing with a web development book. Perhaps you
should read some of your own books from time to time – you may learn how to make a
website that doesn’t suck.
Deep Breath.
Now, I click the submit button. Feeling rather pleased with myself that I took
the time to report the errata in spite of all the challenges. Oh, what is this
- they want me to create an account? This is optional right? Nope.
They want my address and phone number to submit a freaking errata? Fail.
Problem #4 – When someone is trying to help you out, you should be thankful and appreciative.
This should not be viewed as an opportunity to pad your marketing database.
Against my better judgment, I filled out the silly little account creation form.
I didn’t give any real information except for my email address. Submit.
We’re finally done, right? Wrong.
I get redirected to yet another page that gives me some troubleshooting steps that
I can perform myself before submitting my question. The first on the list -
Have you checked the Errata page for this book? Congratulations – you just bought
yourself a blog post. Epic Fail.
I did get an email saying that I’ll hear from someone in “support” within 24 hours.
I’ll update if/when my submission ever makes it to the errata page.
Updated here.
Firefox 3
I just installed the Release Candidate of Firefox 3 on my MacBook and my Vista bootcamp partition. My first impression is that it looks very shiny, but I’m not sure I can last log without a google toolbar version that is compatible.
Attack of the Killer Ns
Over the past two weeks, I’ve been adding a bunch of new tools to the old toolkit. First was Ninject,
which I decided to take out for a spin after seeing Nate‘s
excellent talk at the Cleveland Day of .Net. That started me down a grand path
of goodness. I had been using xUnit in
yet another attempt to get unit testing off the ground. I had tried in the past,
but kept failing when it came to doing anything complex. It turns out I was
trying to do dependency injection by hand – and failing miserably at it. With
Ninject, a lot of the resistance to developing for testability is removed and writing
testable code and the unit tests that go along with them are easy/fun/addictive -
you pick the adjective.
With my new found passion for unit testing, I looked for other tools that could help. NCover was
a natural fit – not only am I striving to always have green unit tests, they need
to have a high level of code coverage. Fast forward a couple days and I discover NDepend -
quite by accident – and fell in love with the extremely detailed and insightful metrics.
The most recent addition to the toolkit is testdriven.net. It brings all the
tools together in a nice convenient right-click package. I’ll have to re-evaluate
things once ReSharper 4.0 goes RTM and xUnit supports it, but for now, my toolbox
overflows with goodness and programming is fun again.
ReSharper 4.0 Beta Candidate
Hopefully this is a sign that ReSharper 4.0 is getting closer to release. Build 804 is listed as a “Beta Candidate”.
found via Simone
Chiaretta
Cleveland Day of .Net Impressions or Why a Free Conference May Be The Most Expensive Conference I Have Ever Attended
Today I attended the Cleveland Day of .Net. Well, to be more accurate, I attended
the first half, leaving during lunch to head home. The three talks I made it
to were really very good.
Joe O’Brien started the day with a good introduction
to Ruby. I had seen ruby a little bit while looking at rails for my current
work project, but his talk really made things gel a little bit. Also, the insight
into how IronRuby is being developed was quite interesting.
The second talk, was Alan Stevens presentation on
TDD. He used the ASP.NET MVC as part of the demonstrations – something which
I am very interested in and would have been the technology of choice for my work project
if it was released. Again, I’ve read quite a bit about TDD in the past, but
Alan helped the concepts to gel. He is a very dynamic speaker, and if you have
a chance to catch one of his talks, you should make sure to attend.
Finally, Nate Kohari gave a talk about something that
was almost completely new to me – Dependency Injection/Inversion of Control with Ninject.
Nate did a great job. I wouldn’t have guessed that this was his first talk in
front of a large group. He kept the attention of the audience, finished right
on time and completely kept his cool when the projector broke down mid-way through
the talk. Interesting to note – it was Alan who “refactored” the power connection
to the projector on the fly and got it back up and running without blowing the bulb.
When I got home, I downloaded the Ninject bits and spent a few hours getting it to
work in some of the unit tests that I’m working on for my day job. So, in an
ironic turn of events, Nate may be working for Merge again, just without getting paid
for it
I have a long way to go before I grok Ninject, but I’m looking forward
to giving it a go, and having fun blogging about it along the way.
One of the most surprising thing to see at a .Net conference was that all three of
these speakers gave their presentations with MacBooks. Seeing
and Leopard running on a sleek black MacBook got my juices flowing and now I’m very
close to buying one of my own. I just have to have what all the cool kids have.
Cleveland Day of .Net
I’m planning on attending, assuming I can get domestic clearance. My former colleague Nate
Kohari will be speaking. My former employer is
a sponsor. It should be interesting.
