What is so scary about DLINQ?

I read an interesting piece by Jon Galloway titled "LINQ looks good, but DLINQ scares me", which was intriguing from the outset.

Why is DLINQ scary I wondered?

All manner of visions came to mind, I admit.

On a surface level, his concerns were mostly centered around code maintainability.

But looking deeper into code sample, I discovered something truly frightening.

Take a close look here and see if you can find it:

DLINQ - Simple Select example
// DataContext takes a connection string 
DataContext db = new DataContext("c:\\northwind\\northwnd.mdf");

// Get a typed table to run queries
Table<Customer> Customers = db.GetTable<Customer>();

// Query for customers from London
var q =
      from c 
in Customers
      where c.City == "London"
      select c;

foreach (var cust in q)
      Console.WriteLine("id = {0}, City = {1}", cust.CustomerID, cust.City);

 

AJAX website allows surgeons to work from home

[This just came through from my strange friend Gaksloope, who -- as you know -- lives in an alternative-reality cubicle, fourteen minutes into the future]

thanks Gaks! I'll be watching for that one here too.

(Note I hadto de-activate the links in Gaks' message, to avoid any trans-dimensional corruption of the universal fibril, as it scares my cat.)

 

Infinity LIMITed

Here's an interesting discussion about "Paging" (as in "please sir, may i have the next page of my result set?") in SQL Server.

I, for one, am very jealous to discover that MySql has a built-in clause called 'LIMIT' which says, basically, 'Get me fifty records, starting at record number 351. Please.'

How bout you yukon? You gettin THAT?? If not, then, well, you're just a stupid head.

Meanwhile, how cool is drew mclellan's blog design? And to think that people once scoffed at the suggestion of wearing an armadillo on the head.

(Here's a really good Code Project article discussing the performance of different paging techniques in sql server. Wow. I'm glad I don't have time to do that kind of research.)

(Some other comments about paging in sql server can be found on jospeh lindsay's blog)

 

recycling the mental cache

Placing an anti-procrastination tool on the internet is like hosting an alcoholics anonymous meeting inside a brewery.


Macintosh is to Wintel as Girlfriend is to Mother


smart client: newspeak for fat client.


had to get those thoughts out of the way before they spilled out of my ears.

 

Tough Crowd

Some of the criteria that didn't make it onto our job ad:

  • Minimum 12 years experience developing asp.net 2.0 solutions.
  • Must have single-handedly invented the internet.
  • Must be able to defuse a rocket with one hand, while flying a jet plane with the other.
  • Sense of humour a must. Interview will include an impromptu standup comedy performance at the local women's prison.

Let me stress again, these are not requirements of the job. You do not need to meet these criteria in order to apply. The actual criteria are listed on our website.

 

Eric Sink deserves the Garry Kasparov Medal of Strategic Brilliance!

Summary: Eric unveils Teamprise to bring VSTS (Visual Studio Team System) to the world of Mac/Unix/Eclipse. Sourcegear (the parent company) now has high-return bets both for and against Visual Studio Team System.

This is hedging at its best!

When 'Team System' was first announced, there were murmurs of doom for Eric Sink's flagship product, "Vault". Vault exists in a niche market, relying on the badness of source-safe to attract new customers. Now that source safe is being replaced with the source control components of Visual Studio Team System, it seemed that Vault's niche market would dissappear. The worry was evident when Eric invested some of his time in trying to escape the whole source-control rat race.

But Eric's a smart guy, loves to play games, thinks a lot, and knows a lot about strategy.

So he's done a Miyagi.

In karate kid, when someone threw a punch at Mr Miyagi, he'd step aside and use the power of that punch to throw his opponent to the floor.

Eric's looked at the situation and he's wondered something like: "How can we use the power of team system to inflate us, rather than defeat us?" (i'm paraphrasing here... sorry eric... i can't read minds, actually)

In economics (and gambling) they call this "hedging". Here's the hedging strategy, expressed as a code snippet:

if (MicrosoftTeamSystem.isSuccessful) {

  //Teamprise brings the goodness of VSTS to Mac/Unix/Eclipse
  Teamprise.isSuccessful = true;

} else {

  //Vault is an alternative to sourcesafe *and* an alternative to VSTS
  Vault.isSuccessful = true;

}

And there you have it. I'm just gobsmacked at the simplicity and the brilliance of the move. If the people from skype don't win the next poker world championship (could you keep a straight face while bluffing for 2 billion dollars?), then e.sink is a shoe-in.

 

Brisbane .NET Developer Position

We need a .Net developer for a permanent position in Brisbane

We need a .Net developer for a permanent position in Brisbane!

Requirements for this position

  • You have lots of experience developing in .Net (C# or Visual Basic)
  • You have experience using a source control tool
  • You have the permanent legal right to work in Australia
  • You have excellent presentation and inter-personal skills
  • You have excellent written and spoken English
  • You are willing to live in Brisbane, Australia
  • You are willing to code exclusively in C#

    Preferred but not absolutely required

  • You have experience developing numerous applications
  • You have a tertiary qualification in IT/Engineering
  • You have an MCAD, MCSD or can demonstrate deep knowledge of .Net

    Intangible criteria

  • You are a developer, not a programmer
  • You are passionate about coding
  • You are a self-directed learner

    Do NOT apply if

  • Your idea of multi-tiered development is to drag and drop database connections onto a form (lb:That's my favourite bit!)
  • You need to be spoon-fed ideas

    Advantech was founded in 2002. We try to make Advantech Software the best place a developer can work. (lb: This is true! They do a great job of this!)

    The company is profitable and growing. Advantech supports workplace diversity and does not discriminate on the basis of race, religion, gender, or any of the other things people should not use for discrimination.

    To apply, please email your resume to us using the following address jobs@advantechsoftware.com.au or call (07) 3852 5811 for more information.

    (Recognise the advert? It's based on one from eric sink's blog, and some ideas from the aus dot net mailing list.)

     
  • This Comptometric Age

    No I'm not a religious man.

    But God bless the 65535 row limit in Excel.

    God bless intellisense. God bless spell checkers, to.

    God bless really nerdy board games.

    And God bless Jason Looney's snack cakes for links program.

    So often we rush through life, never pausing to notice the little things. The taste of a flower. The feel of wet mud against the roof of your mouth. The sound of one foot clapping.

    But it is these trivial things that make life worth living. Plus money, sex and liquor.

    So, gentle reader, go softly into that warm inkernet. Tread lightly on the toes of your inner child. Be thinking, always thinking, as you are linking and wondering. Stay off the brown acid. Don't drink your bath water. And never lose your sense of wonder.