vote up
0
vote down

reMultiMatch() - Extracting Iterative Regular Expression Patterns In ColdFusion

Regular Expressions are simply amazing; they are one of the sexiest aspects of computer science. However, they can get very complicated very fast. As the complexity of the regular expression increases, so does its power. A complex regular expression
May 13 2010 04:33 AM
vote up
3
vote down

An Early Look At IE9 for Developers

We're just about a month after the Windows 7 launch, and wanted to show an early look at some of the work underway on Internet Explorer 9.  At the PDC today, in addition to demonstrating some of the progress on performance and interoperable
 
ieblog
Nov 20 2009 10:23 AM
vote up
75
vote down

Critical Mistakes Freelancers Make

  Seeing as we are all human (well, presumably whoever is reading this post anyway), we should recognize that mistakes happen. They even have that saying, "To err is human.," which goes to show that it is not only commonplace for us to err once
 
Robert Bowen
Nov 29 2009 02:52 AM
vote up
0
vote down

Service Pack 1 for Telerik Extensions for ASP.NET MVC released

We have just released the first service pack for Telerik Extensions for ASP.NET MVC. Here are the most important changes: The Grid<T>(T item) method has been removed (for good). This means you can no longer use the following syntax:
Dec 11 2009 03:27 PM
vote up
0
vote down

HTML5, Hardware Accelerated: First IE9 Platform Preview Available for Developers

When we started looking deeply at HTML5, we saw that it will enable a new class of applications. These applications will stress the browser runtime and underlying hardware in ways today’s websites don’t. We quickly realized that doing HTML5 right – our
 
ieblog
Mar 16 2010 06:52 PM
vote up
0
vote down

Unobtrusive Ajax Guestbook

Unobtrusive AJAX Guestbook.XML is easy to use ajax and php guestbook application. Guestbook.XML is crossbrower, skinnable guestbook and web 2.0 script. Guestbook.XML features Skinnable script Easy to use admin panel Uses flat file for storing guest
 
alyaspk
Nov 02 2009 01:59 PM
vote up
0
vote down

BlogEngine.Net upgrade & a new look

Decided to give the ol' blog a MUCH needed facelift; wish I could say I had anything to do with the theme, but alas - my sister got all the artistic ability.  Also took the opportunity to upgrade to BlogEngine.Net 1.5 - a solid upgrade to a very
Jan 27 2010 09:43 PM
vote up
30
vote down

Better CSS for everybody [SASS]

Today I ran into an innovation called SASS. This is a technology that puts CSS on steroids and takes it beyond the designers to programmers. SASS is CSS scripting to allow programmers to write CSS in a more elegant and organized manner. You've got
 
Cyril Gupta
Oct 31 2009 10:20 PM
vote up
0
vote down

Challenge: Robust enumeration over external code

Here is an interesting little problem: public class Program { private static void Main() { foreach (int i in RobustEnumerating(Enumerable.Range(0, 10), FaultyFunc)) { Console.WriteLine(i); } } public static IEnumerable<T>
 
Ayende Rahien
tags: c#
Mar 04 2010 06:35 AM
vote up
0
vote down

Stories of anticipating dead computers: Windows Home Server

Like most geeks, I have a bit of history with dead computers. In the past, I used the "wait until it breaks, and then panic" model, but recently I've begun being a bit more anticipatory, like replacing an old laptop before it actually expires.
 
oldnewthing
Nov 09 2009 11:17 PM
vote up
30
vote down

Airtel's Unlimited Internet Plan is a LIE!

When you get an unlimited internet connection from Airtel don't forget to read the fine print. The plan is not actually unlimited the way you expect it to. Airtel has introduced a 'Fair Usage Policy' which is very unfair to its customers. Under this
 
Cyril Gupta
Oct 31 2009 10:20 PM
vote up
30
vote down

Make apps for Android or iPhone

Smartphones are the big boom in the US and the next big boom in India. With the arrival of 3G there will be compelling reason for mobile users to upgrade to a smartphone. There is a good scope for small players to make little fortunes developing and
 
Cyril Gupta
Oct 31 2009 10:20 PM
vote up
0
vote down

IE9 Platform Preview Feedback

Getting specific feedback directly from developers about their experiences with the platform is super important to us. It’s a critical part of how we optimize for real world performance and real world code patterns. This post is about the changes we’re
 
ieblog
Mar 17 2010 05:29 AM
vote up
4
vote down

Can you hack this out?

I recently had to take a really deep look into how to cheat the CLR, that brought about some interesting discoveries, including the fact that it is, surprisingly, possible to do so. Let us say that you have this code in some 3rd party assembly that you
 
Ayende Rahien
Nov 19 2009 03:06 PM
vote up
0
vote down

How to edit the security attributes of more than one file at a time

In Windows XP, you could select multiple files, right-click them, then select Properties. The resulting property sheet includes a Security page which lets you edit the security attributes of those files. But when you repeat this exercise on
 
oldnewthing
Apr 07 2010 07:06 PM
vote up
0
vote down

Little-known command line utility: clip

Windows Vista includes a tiny command line utility called clip. All it does is paste its stdin onto the clipboard. dir | clip echo hey | clip For the opposite direction, I use a little perl script: use Win32::Clipboard; print Win32::Clipboard::GetText();
 
oldnewthing
Oct 11 2009 08:34 PM
vote up
0
vote down

Hey, is there somebody around to accept this award?

Back in the late 1990s, some large Internet association conducted a survey in order to bestow awards in categories like Best Web server and Best Web browser, and one of the categories was Best Web authoring tool. We didn't find out about this until the
 
oldnewthing
tags: history
Nov 03 2009 08:45 PM
vote up
0
vote down

Microsoft Joins W3C SVG Working Group

As a part of Microsoft’s continued commitment to interoperability and standards support, yesterday we submitted our request to join the Scalable Vector Graphics (SVG) Working Group of the World Wide Web Consortium (W3C). We’re excited to take part in
 
ieblog
tags: w3c
Jan 06 2010 02:52 AM
vote up
0
vote down

Suggestions for a new laptop?

Okay, the previous time I asked this question, I decided that buying a big desktop machine would be preferable, but I am currently traveling and I am pained at the speed of my current laptop. Therefore, I am going to need a new one. I am the happy owner
 
Ayende Rahien
Feb 13 2010 04:34 AM
vote up
1
vote down

Silverlight 4 Beta – A guide to the new features

At the Microsoft Professional Developer (PDC) conference, Scott Guthrie announced the availability of Silverlight 4 Beta. WHAT?! That's right, we've released an early beta of the next version of Silverlight. It's really amazing to think what the team is
Nov 19 2009 09:40 PM
vote up
0
vote down

Introducing IE9’s User Agent String

This post introduces IE9’s User-Agent (UA) String and it builds on previous blog posts and documentation. An important change for site developers to know is that IE9 will send the short UA string by default. This change improves overall performance,
 
ieblog
Mar 24 2010 06:41 AM
vote up
0
vote down

Documenting Standards in IE

This post discusses some of the work we’re doing on the IE team to fulfill our commitment to document our support of web standards. A good starting point is Microsoft’s interoperability principles, something we’ve written about here on this blog before,
 
ieblog
Feb 25 2010 03:33 AM
vote up
1
vote down

When computer programmers dabble in making change

My colleague who dabbled in economics when deciding how many lunch vouchers to buy had a number of other money-related quirks. One of the ones that I remember is that when paying for a purchase, my colleague would double the balance and give the cashier
 
oldnewthing
tags: other
Nov 25 2009 12:04 AM
vote up
2
vote down

Introducing MooTools ScrollSidebar

How many times are you putting together a HTML navigation block or utility block of elements that you wish could be seen everywhere on a page? I’ve created a solution that will seamlessly allow you to do so: ScrollSidebar. ScrollSidebar allows you
Nov 30 2009 07:05 PM
vote up
0
vote down

In which hints become facts: XNA Game Studio 4.0

Today we announced what I've been hinting at this past few weeks: XNA Game Studio 4.0 is coming soon* to a phone near you! Quick summary: New platform Windows Phone 7 Series New features Integrates with Visual Studio 2010 Dynamic audio output Microphone
 
ShawnHargreaves
Mar 10 2010 04:32 AM
vote up
0
vote down

NHibernate vs. Entity Framework 4.0

This is a question that I get very frequently, and I always tried to dodged the bullet, but I get it so much that I feel that I have to provide an answer. Obviously, I am (not so) slightly biased toward NHibernate, so while you read it, please keep it in
 
Ayende Rahien
Jan 05 2010 04:43 PM
vote up
0
vote down

Germans are falling for the same trap as the Japanese: Importing words from English and changing the meaning, but the Germans do it even though the

Languages borrow from each other all the time. English has historically been a happy perpetrator of word-theft, but in recent decades, it has been serving as the source for a lot of theft, too. What I find particularly interesting, though, is when a word
 
oldnewthing
Mar 22 2010 09:52 PM
vote up
2
vote down

Reading Frenzy

I don't usually read non fiction books, I read some tech books, but that is work, more than anything else. I do read a lot, and I thought that I might post what I like, in hope to get recommendations for more stuff. The following list is mixed between
 
Ayende Rahien
tags: books
Dec 04 2009 11:04 PM
vote up
0
vote down

Scala is Unfit for Serious Development

Scala is Unfit for Serious Development (where serious means you want to make money from it, compared to a hobby). Fact. Because it’s object oriented? No. Because it’s functional? No. Because of the complex type system? No. Because of the love
 
stephan
tags: scala
Jul 10 2010 03:18 AM
vote up
3
vote down

How would you learn a new platform?

Here is an interesting problem that I am facing. I have a pretty good working knowledge of computing, and while I can usually manage to get the gist of a new technology in a short amount of time, that is only useful for talking about it, not actually
 
Ayende Rahien
Nov 23 2009 03:00 PM
vote up
0
vote down

Only an idiot would have parameter validation, and only an idiot would not have it

The great thing about parameter validation is that there are people who say that only idiots would have it, and other people who say that only idiots wouldn't. Back in the old days, Windows didn't do parameter validation. If you called a function with an
 
oldnewthing
tags: other
Nov 10 2009 10:11 PM
vote up
1
vote down

Building a recommendation engine in NHibernate

Well, it isn't really a recommendation engine, it is a sample of one, and I strongly recommend not using it, but I am getting ahead of myself. In the 6th episode of the TekPub's NHibernate webcast, me & Rob worked on creating statistical queries with
 
Ayende Rahien
Dec 07 2009 05:08 PM
vote up
0
vote down

What can EF 4.0 do that NHibernate can’t?

I am trying to formulate my formal response to "NH vs. EF" question, and while I have a pretty solid draft ready, I found out that my response is pretty biased. I am not happy with that, so I wanted to pose this as a real question. So far, I came up
 
Ayende Rahien
Dec 24 2009 12:04 PM
vote up
3
vote down

SQL SERVER - A Common Design Problem - Should the Primary Key Always be a Clustered Index

In SQL Server, whenever we create any key, a Primary Key automatically creates clustered index on the same. I like this feature and I use this feature every now and then. The question is does the change of any column as Primary Key should also create a
Nov 23 2009 06:43 AM
vote up
1
vote down

ASP.NET MVC 2 Beta Released

Today at PDC09 (the keynote was streaming live), Bob Muglia announced the release of ASP.NET MVC 2 Beta. Feel free to download it right away! While you do that I want to present this public service message. The Beta release includes tooling for Visual
Nov 17 2009 10:58 PM
vote up
0
vote down

Why Mac Google Chrome is Better

I’m so excited to hear that Google finally released a beta version of Chrome for Mac. I've been using it for a day now and I like it so far. In fact, I have replaced my default browser setting with Chrome. Here are the reasons why I prefer Chrome
Dec 10 2009 03:53 AM
vote up
0
vote down

Responding to how EF is better NH commentary…

My last post caused quite a bit of furor, and I decided that I wanted to respond to all the comments in a single place. EF has a designer, NHibernate does not. This is actually false, NHibernate has multiple designers available for it. Active Writer
 
Ayende Rahien
Dec 25 2009 06:22 PM
vote up
0
vote down

Why did the word Start disappear from the Start button?

Commenter Mike Dunn would like to know why the word Start disappeared from the Start button in Windows Vista. After all, adding the word Start helped new users figure out what they should click first. I don't know but I can guess. To emphasize that these
 
oldnewthing
tags: other
Dec 15 2009 12:06 AM
vote up
0
vote down

How do I determine the processor's cache line size?

When doing high-performance computing, you need to worry about the CPU cache line size in order to avoid issues like false sharing. But how can you determine the processor's cache size? The GetLogicalProcessorInformation function will give you
 
oldnewthing
tags: code
Dec 08 2009 08:53 PM
vote up
2
vote down

Html.RenderAction and Html.Action

One of the upcoming new features being added to ASP.NET MVC 2 Beta is a little helper method called Html.RenderAction and its counterpart, Html.Action. This has been a part of our ASP.NET MVC Futures library for a while, but is now being added to the
Nov 18 2009 11:13 PM