I might just do alright in a stenopool. From the Typequick online typing test:
Number of words typed: 208
Test duration: 3 min
Speed: 69.3 words/min. (346 keystrokes/min.)
Error penalty: 8
Accuracy: 96.2%
[ree-geek-uh-fi-key-shuhn]
Noun.
1. The act of geekifying
2. The result of geekifying or being geekified
See also: De-managerization
I might just do alright in a stenopool. From the Typequick online typing test:
Number of words typed: 208
Test duration: 3 min
Speed: 69.3 words/min. (346 keystrokes/min.)
Error penalty: 8
Accuracy: 96.2%
Posted by BigEasy at 9/19/2007 10:42:00 PM 1 comments
Just in time for Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows
Of course now I have a dozen tools to download and try out. Sigh.
[Listening to: Glenn Miller - Juke Box Saturday Night]
Posted by BigEasy at 8/24/2007 11:14:00 PM 0 comments
Has it been a year already? Amazing. Scary. Sad. So sad.
I suppose I should back up a bit.
Just under a year ago I was promoted to my level of incompetance. Not that I mind, I rather enjoy the people side of things. I knew I would miss being a techie, but hey, progress is progress.
Fortunately I was given the opportunity last May to review John Robbins' stellar new book: Debugging Applications for Microsoft .NET and Microsoft Windows
That helped me feel like I was keeping my fingers in the geek-pie.
By the time my reviewing duties were done I was completely out of the techie side. Again, I was fine with that. I've always felt that a geek who has any kind of leadership skills has a duty to use them. This is born of having too many managers who had no such skills.
I would occassionally geek around at home, but the motivation was already gone. Hell, I have even fell out of the habit of reading blogs.
I didn't really realize just how much I missed the techie stuff until I attended Devscovery in Redmond the week before last.
I spent most of the time in John's sessions since they interested me most, but I did get to see some useful tracks on Orcas/.NET 3.0, ASP.NET 2.0 Gems, Silverlight, WCF, ...
That was almost enough to envigorate me into getting back into it.
Of all things, the final straw happened on the drive back from Redmond as I was listening to some old podcasts that I never got around to before. As you would expect, they were about a year out of date, talking about a new bit of technology, the Composite UI Application Block.
The podcast basically outlined all of the requirements and difficulties we're having with our current product.
That's when it really hit me. I wanted to geek again. I figured I'd start nerding. I'd like to say every day or for entire days, but life (and my day job) still happens. I figure if I can do something useful at least 2-3 days per week.
I'm not planning on diving into something big. Not yet at least. Just an overall geekiness that was missing. The podcasts are a good start. I cracked out some old books of mine and started reading them. I borrowed the king of all software books from a friend at work and started reading that one too.
I just downloaded Orcas and am in the process of installing it now.
Just today I watched a view videos on Acropolis Videos which seems to be the next generation of the Composite UI Application Block
At the very least it was worth dusting off this blog, giving it a different look and new title.
I imagine I'll have some trouble deciding what to work on first, but deciding that might end up being the fun part.
[Listening to: Blind Melon - Galaxie]
Posted by BigEasy at 8/24/2007 08:37:00 PM 0 comments
Back on track. Or at least I hope so.
In part 1 my goals are:
sqlcmd -S BUBBAPC\BUBBA01 -U sa -P sabubbaNow, dump in the following script:
use master
go
create database nhibernate
go
create login [BUBBAPC\BUBBA] from windows
go
use nhibernate
go
create user [BUBBA] for login [BUBBAPC\BUBBA]
go
exec sp_addrolemember 'db_owner', 'BUBBA'
go
sqlcmd -S BUBBAPC\BUBBA01Wow, fancy.
1> select count(*) from sysobjects
2> go
-----------
1762
(1 rows affected)
1> quit
1 using System;
2
3 namespace NHibernateTest
4 {
5 public class Customer
6 {
7 #region ID
8 private int m_ID;
9 public int ID
10 {
11 get { return m_ID; }
12 set { m_ID = value; }
13 }
14 #endregion
15
16 #region Name
17 private string m_Name;
18 public string Name
19 {
20 get { return m_Name; }
21 set { m_Name = value; }
22 }
23 #endregion
24 }
25 }
1 <?xml version="1.0" encoding="utf-8" ?>
2 <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
3 default-lazy="false">
4 <class
5 name="NHibernateTest.Customer, NHibernateTest"
6 table="Customer">
7 <id name="ID" column="ID" type="Int32">
8 <generator class="identity" />
9 </id>
10 <property name="Name" column="Name" type="String"
11 length="50"/>
12 </class>
13 </hibernate-mapping>
Column Name | Data Type | Allow Nulls | |
ID | int | No | |
Name | varchar(50) | No |
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <configSections>
4 <section name="nhibernate"
5 type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
6 </configSections>
7
8 <nhibernate>
9 <add key="hibernate.connection.provider"
10 value="NHibernate.Connection.DriverConnectionProvider"/>
11 <add key="hibernate.dialect"
12 value="NHibernate.Dialect.MsSql2000Dialect"/>
13 <add key="hibernate.connection.driver_class"
14 value="NHibernate.Driver.SqlClientDriver"/>
15 <add key="hibernate.connection.connection_string"
16 value="Server=BUBBAPC\BUBBA01;initial catalog=nhibernate;Integrated Security=SSPI"/>
17 </nhibernate>
18 </configuration>
1 using System;
2 using System.Diagnostics;
3 using System.Reflection;
4
5 using NHibernate;
6 using NHibernate.Cfg;
7
8 namespace NHibernateTest
9 {
10 class Program
11&;;nbsp; {
12 static void Main(string[] args)
13 {
14 try
15 {
16 Configuration cfg = new Configuration ();
17 cfg.AddAssembly (Assembly.GetExecutingAssembly ().GetName ().Name);
18
19 ISessionFactory factory = cfg.BuildSessionFactory ();
20
21 using (ISession session = factory.OpenSession ())
22 using (ITransaction transaction = session.BeginTransaction ())
23 {
24 Customer customer = new Customer ();
25 customer.Name = "Joseph Cool";
26
27 session.Save (customer);
28
29 transaction.Commit ();
30
31 Debug.WriteLine ("Success! ID=" + customer.ID);
32 }
33 }
34 catch (Exception e)
35 {
36 Debug.WriteLine (e);
37 }
38 }
39 }
40 }
Posted by BigEasy at 8/08/2006 11:52:00 PM 1 comments
Okay, slight wrinkle. I spent the better part of the last 2 days just getting back into working order. My version of SQL Server 2005 wasn't getting along with my version of Visual Studio 2005. Specifically, SQL Server wouldn't connect. I figure I'd re-install, and from there things went downhill.
After several uninstall/reinstall/repair cycles it finally dawned on my that my CTP of SQL Server 2005 couldn't possibly play nice with Visual Studio as it was compiled against a beta of the .NET framework. D'Oh. That explains, of course, why SQL Server 2005 kept trying to install a beta of Visual Studio.
So, SQL Server 2005 Express it is then.
Oh well, now that the bitterness has passed I'm ready to move on again.
I'm happy to say that my app works flawlessly. And here it is:
1 using System;
2
3 namespace NHibernateTest
4 {
5 class Program
6 {
7 static void Main(string[] args)
8 {
9 }
10 }
11 }
Posted by BigEasy at 8/07/2006 01:03:00 AM 0 comments
Ok, maybe I'm just dumber than the average bear, but I just couldn't get NHibernate working.
I tried several beginner level tutorials, but still nothing.
Mind you I was trying the lastest alpha release (1.2.0 alpha 1).
And I was trying to hook up to Access 2003 as a back end which adds it's own complexity.
So, I figured I'd go back to First Principles. All of the tutorials use SQL Server 2005 which I have as part of Visual Studio 2005 Standard.
I still wanted to stick with the alpha, not sure why, but hey, I am a geek afterall. Fortunately I found a link with some of the magic.
Next, I figured I'd dumb it right down. 1 table, 2 columns. If I can't get that working then I probably should've gone into a different line of work.
That's enough for the preamble. Next, I'll actually start cutting some code.
[Listening to (via Pandora): Garbage - When I Grow Up]
Posted by BigEasy at 7/06/2006 10:01:00 PM 0 comments
I found lots of examples of verifying checkin comments using Subversion commit hooks but nothing which showed me how to validate the contents of the file.
In my case I want to make sure that I'm not checking in any unit test files that have classes decorated with [CurrentFixture]. FYI I use MbUnit for my unit tests.
Using perl or shell scripts would be relatively easy but I wanted to do things the batch file way. Not sure why. Something repressed from my childhood no doubt.
I'm "sure" there's an easier way even using batch files but here's what I came up with. In the hooks directory in your Subversion repository edit the pre-commit.bat file like so:
set REPOS=%1
set TXN=%2
set FIXQUOTES=c:\util\FixQuotes
set PROJECTROOT=G:\Projects\VolMan
for /F "usebackq tokens=2" %%f in (`svnlook changed -t "%TXN%" "%REPOS%"`) do (
for /F "usebackq" %%x in (`%FIXQUOTES% %%f`) do (
for /F "usebackq" %%g in (`findstr /LM "[CurrentFixture]" %PROJECTROOT%\%%x`) do (
if not x%%g==x (
echo Cannot check in a file containing a class decorated with [CurrentFixture] 1>&2
exit 1
)
)
)
)
Posted by BigEasy at 4/26/2006 06:29:00 PM 0 comments
Ever since I "found" del.icio.us I have had nothing to blog about. Well, that and my never before heights of laziness.
All of my old "ditto" blog entries ended up just getting tagged instead of blogged about. Not that there's really anyone who reads this (at least yet [fingers crossed]).
I have however recently dusted off my compiler and fired up my last project. Naturally it has nothing to do with Hookup as I'm pretty sure that Windows Workflow Foundation has put an end to my aspirations.
No, I'm heading along a much more reasonable path to world domination (I'd settle for domination of my basement mind you.)
I'm writing a simple app to maintain volunteer information for a race since I know a bit about that.
Hopefully this lasts.
Damn you del.icio.us
[Listening to (via Pandora): Pantera - It Makes Them Disappear]
Posted by BigEasy at 4/26/2006 06:20:00 PM 0 comments
Joe Duffy has a post on avoiding and surviving rude AppDomain unloads. This is a useful post and all, but the highpoints are the following 2 quotes:
... if you piss SQL Server off by taking too long in one of your finally blocks (for example), it will get a tad snippyand:
It uses a great method RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup located in the System.Runtime.CompilerServices namespace. We call it SRCSRHECWGC—pronounced “shreek shreck woogy-cuck”—for short around here.Mmmm shreek shreck woogy-cuck.
Posted by BigEasy at 10/03/2005 01:45:00 PM 0 comments