Hurlman.Tech

/* Blogging when the NDA allows */

Move along

No Need to Click Here - I'm just claiming my feed at Feedster



Creative Commons License This work is licensed under a Creative Commons License.

Found via the Powertoys Weblog, a seamless add-in for Visual Studio.Net from Colin Coller that formats your source code as HTML, embeds the CSS into the code, and copies to the clipboard.  Just paste it into an HTML file (or blog entry), and enjoy.

Microsoft Word (or anything else) not required.  This took me 2 seconds and 2 clicks to produce:

 61: private DataTable
   GetLatestDataTable(params object[]
   args)
 62: {
 63:  DataSet ds = new DataSet();
 64:  
 65:  OracleConnection conn = new OracleConnection(
 66:  "User Id=username;Password=password;
   Data Source=server;");
 67:  OracleCommand cmd = new OracleCommand(
 68:  "Select * from NotReallyATable",
   conn);
 69:  OracleDataAdapter adapt = new OracleDataAdapter(cmd);
 70:  adapt.Fill(ds);
 71:  
 72:  return ds.Tables[0];
 73: }

Awesome.  Go get it.

- G



Creative Commons License This work is licensed under a Creative Commons License.

From Reuters:

Microsoft Corp. on Tuesday agreed to require only a single license for server software that runs on computers powered by a new generation of chips that squeeze multiple processors into a single package. [...] Microsoft said its server software that currently licenses on a per-processor basis will continue to be licensed that way.

This is a big win for the chip manufacturers and indeed the end users.  I guess MS woke up and realized that multicore processing is how we will see additional power in the years to come, so to their revenue model, it shouldn't look much different from the usual Moore's Law-ifying of server power.

- G



Creative Commons License This work is licensed under a Creative Commons License.

Found via cwinters.com:

Dear Mr. Architect:

Please design and build me a house. I am not quite sure of what I need, so you should use your discretion. My house should have somewhere between two and forty-five bedrooms. Just make sure the plans are such that the bedrooms can be easily added or deleted. When you bring the blueprints to me, I will make the final decision of what I want. Also, bring me the cost breakdown for each configuration so that I can arbitrarily pick one.

And so on... an oldie but a goodie.

- G



Creative Commons License This work is licensed under a Creative Commons License.

Now, I haven't investigeted this all that deeply since the ALCS is on, but I got a call today from a friend, letting me know that my blog was spitting out random garbage characters - not so much as an <HTML> tag, just garbage.

Lo and behold, I come to find out that it's only happening when looking at the output cached version of the front page.  So, I've turned off output caching for the moment, and all appears to be well.

Has anyone else come across this problem?  I'm not that concerned, since next to noone hits the blog via a web browser unless they're hitting a particular article, but I am curious.

- G



Creative Commons License This work is licensed under a Creative Commons License.