LessThanDot Site Logo

LessThanDot

A decade of helpful technical content

This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.

Playing with PetaPoco

Since Chrissie is playing around with Simple.Data today, I found some time to play with PetaPoco. PetaPoco is a single file micro ORM that uses MSIL generation to do it’s magic. As the name suggests, it works with concrete POCOs, though support for dynamics is also being tested. It is designed to be fast and doesn’t try to reimplement SQL, so double win in my book. PetaPoco was created by Brad Robinson (b | t).

Read More...

Seeing the sql Simple.Data generates

Introduction I’m trying out Simple.Data and one of the things you always want to see from an ORM is what SQL it generates for you. Not that we don’t trust the author but still. In the case of Nhibernate is simple, you just use NHProf. For Simple.Data there is no such thing. But there is an easy way to see it by intercepting the Trace information Mark was so gentle to provide for us.

Read More...

Simple.Data and VB.Net the beginning

Introduction After using NHibernate and Massive there was room for yet another ORM in my life. The ORM is called Simple.Data. Simple.Data was written by Mark Rendle. Setting it up I installed these packages. Simple.Data.SqlCompact40 0.16.1.0 SqlServerCompact 4.0.8482.1 Because those were the packages that were available on Nuget. So I’m gonna test Simple.Data with the SQLserver compact edition. Simple.Data can be used with many other databases as well.

Read More...

Continuous Delivery – Adding Static Analysis

Running static analysis checks can help keep us on track with our standards, identify unused code, identify similar code blocks, and much more. In a manual process, running these tools can be time consuming, costing time to wait for the run complete, more time if we don’t abandon them after the first run and have to maintain a schedule, and even more time if someone has to keep a spreadsheet somewhere to compare the results from run to run.

Read More...

SQL Saturday in Madison – The First

When last weekend rolled around and the first SQL Saturday in Madison was finally ready to open the doors, I sat back for a minute and watched as attendees arrived and registration flowed. While taking that moment, something came to my mind. The best way I can translate that thought to words would be: SQL Saturday events start as an act of kindness to pool skills and knowledge into one destination so it may transfer, transform and recycle.

Read More...

SQL Saturday Speakers – Thoughts when scheduling

A conversation came up today on Twitter regarding speaker evaluations and if they should simply be handed over to the speakers or analyzed by the organizers of the event. I was one of the motivators for SQL Saturday in Madison to hand them over to the speakers. I’ll get that right out there. Now, is there a better way? Probably! In fact, I was reading (while driving, so I had little interaction) some tweets by Kendal Van Dyke (B | T).

Read More...

Be Mindful With Your Code

This post really started over fifteen years ago, if only I had known it then. You see, once upon a time I wrote a piece of code with nonsense variable names and, another time, a bunch of dynamic, inline SQL, and there was that time I tried to write half the program on one line. And lets not even get started on error messages…. Then I got better. But it took a while.

Read More...

SQL Saturday #118 Wisconsin: They Came, They Saw...Did They Tip Cows?

I am constantly awed and humbled by the hard work, dedication, generosity, and selflessness of the people I am surrounded with. The SQL Server community is no exception. A few months ago, I had an idea to bring a SQL Saturday to Wisconsin. Two days ago, that idea became reality with SQL Saturday #118 Wisconsin. It exceeded all my expectations. I did not do it alone, though. Thank you is not big enough for Ted Krueger (b | t), Gina Meronek (t), Leonard Murphy (t), Tim Benninghoff (t), Tony Sebion (t), Matt Cherwin (t), and Steve Novoselac (b | t).

Read More...

SQL Server Developer Tips and Tricks

This blog is to share and highlight some of the tips and tricks that I’ve learned while using SQL Server the last few years. Some of these are code oriented, database design, or performance oriented, while others focus on personal development. Hopefully you’ll learn at least one thig from this blog. You don’t have to type out the columns If you’re using SQL Server Management Studios (SSMS) 2005 or higher, you can tell SSMS to script out select statements for you.

Read More...

Review: Worm: The First Digital World War by Mark Bowden

Worm: The First Digital World War by Mark Bowden Do you still remember Conficker, also known as Downup, Downadup and Kido? Conficker infected between 9 million and 15 million PCs Here are just some examples that I pulled down from wikipedia Intramar, the French Navy computer network, was infected with Conficker on 15 January 2009. The network was subsequently quarantined, forcing aircraft at several airbases to be grounded because their flight plans could not be downloaded.

Read More...