bloggin' it since August '03 RSS 2.0
# Wednesday, December 17, 2008
Yes, I am redoing my work site. ColdFusion 5 to ASP.NET 3.5, so there is lots of potential for improvement. One such improvement is localization. The last time I tried localization I was on ASP.NET 1.1 I think, and it seems some improvement was made in ASP.NET 2.0/VisualStudio 2005 (and it all still works with 3.5/2008).

CodeProject: Globalization and localization demystified in ASP.NET 2.0. Free source code and programming help:
Globalization and localization are two important processes which every developer should be aware of while creating global products or applications. Though there are many articles which explain the subject well, I did not find a single resource which explains all important concepts regarding globalization/localization, practically and comprehensively. This article aims to provide practical step-by-step approach to globalizing a web application in ASP.NET 2.0.
Relatively painless so far, though I am taking shortcuts by only using language and not culture, so I'm not going to be changing symbols or currency markings, etc. Plus I'm not tackling support for RTL languages, I'll worry about that later...
Wednesday, December 17, 2008 4:55:07 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
.net
# Tuesday, December 16, 2008
So I'm converting an Excel Spreadsheet to a SQL script and I forgot to escape the single quotes before surrounding all of the data with single quotes, which won't run in SQL of course. Usually I just start over, today I took it upon myself to determine how I can find these offending single quotes with a vim RegEx. Voila:

/[(,']\@<!'[,')]\@!

The only ones this misses is single quotes at the beginning or end of a field, like: ''Bobby Smith'', which should be escaped '''Bobby Smith''', but these are much easier to hunt down with all other cases taken care of with a simple :g//s//''/g knowwhatimean?

Tuesday, December 16, 2008 10:34:29 AM (Eastern Standard Time, UTC-05:00)  #    Comments [2] -
work
# Wednesday, December 10, 2008
Prison cops in five-hour Muslim riot | The Sun |News:

A FIVE-hour rampage by young Muslim prisoners armed with hammers and chisels was broken up by a riot squad yesterday.

Dozens of inmates barricaded themselves into a workshop and grabbed tools including saws.

Riot police and 100 specially-trained prison officers — kitted out with body armour, shields and helmets — were called in.

When negotiations failed, the officers moved in and overpowered the prisoners — many of whom were teenagers.

No injuries to staff were reported but there was said to be “considerable damage” to the workshop.

Some of the rioters suffered minor bruises.

It is believed the rampage at Aylesbury Young Offenders’ Institution started after inmates celebrated the Muslim festival of Eid which marks the end of Ramadan.

Commenter "Bettymac":
When are they going to stop calling this the "Religion of peace"?
Because, of course, criminals are known to be the exemplar of following rules...
Wednesday, December 10, 2008 3:50:09 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
islam | sarcastic
# Tuesday, December 09, 2008

Mac is just *nix under the covers, so this was a bit odd that these two popped up next to each other on Twitter:

And I haven't changed anything, I'm Even Steven!
Tuesday, December 09, 2008 5:33:56 PM (Eastern Standard Time, UTC-05:00)  #    Comments [3] -
odd | technology
# Thursday, December 04, 2008
Authorities Shut Down Major Spam Ring - NYTimes.com:
“This will send some real shock waves through the spamming industry, but even if these guys were running a substantial botnet of compromised computers, there are always spammers looking to take their place,” said Graham Cluley, a senior technology consultant at Sophos, a spam-fighting security firm. “It wouldn’t be a surprise if people don’t notice any difference in their in-box tomorrow morning.”
My GMail spam folder now holds about 1/4 the spam I had become accustomed to. The only reason I even read this story is when I remarked on that fact, and was tipped off by mexijew and sspenguin on Twitter.
Thursday, December 04, 2008 7:38:06 PM (Eastern Standard Time, UTC-05:00)  #    Comments [1] -
www
# Wednesday, December 03, 2008

Now that Za is on the TV/Game room TV much of the day, I've been DS and iPod Touch gaming a lot more. iPod Touch mostly for Cross Word Puzzles, and my DS has been destroying Castlevania, but I'm just about done with that so what's next? Looks like some DS PoP action, please.

Wednesday, December 03, 2008 11:24:00 AM (Eastern Standard Time, UTC-05:00)  #    Comments [1] -
games
# Tuesday, December 02, 2008

Tuesday, December 02, 2008 9:34:12 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
rant
Official Google Reader Blog: Is Your Web Truly World-Wide?:
Believe it or not, the web truly is world-wide. That means there is a lot of interesting content out there in languages other than your own. You might have missed out on this content in the past, but now, with automatic translation in Reader, you don't have to miss a thing!

Next time you find an interesting feed in another language, just subscribe to it as normal in Reader. When you view the feed in Reader, check off "Translate into my language" in the feed settings, and (voila!) the feed will be immediately translated for you. Also, this setting will be saved so you can always view this feed in your own language.

Now I can get the gist of my wife's blogs, mostly written in Bahasa Indonesia which I'm still a neophyte in. I probably already know what they say, since we do live together and all, however regardless of that, thank you Google, bawk bawk!

Tuesday, December 02, 2008 10:33:54 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
www
# Sunday, November 30, 2008
Official DC EID Site:

New DC Convention Center  (Hall C)

801 Mount Vernon Place, NW
Washington, DC 20001

Entrance on 7th and L Street NW

 

Eid Prayers

7:30am - 1st prayer and Khutba

8:30am – 2nd prayer and Khutba                  

9:45am – 3rd prayer and Khutba

11:00am – 4th prayer and Khutba

Sunday, November 30, 2008 12:23:30 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
islam
# Monday, November 24, 2008

Can Oracle 10g Express do SOAP calls?

I may have to generate some sample code for accessing a web service I publish using Oracle, and I don't want to get too far in if I can't do it from the free version. (I.E. if it costs money, I want to budget first, learn later...)

So, are you an Oracle guru? Can 10g Express do direct calls to a SOAP based web services (that is without relying on some other middle layer like PHP, Java, or .NET - unless of course that is the "official" way to support calls out of Oracle...)

Thanks!

Monday, November 24, 2008 12:05:43 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
question
Forms Authentication, Identities and Roles from a Database:
One of the most useful and perhaps most misunderstood authentication schemes built in to the ASP.NET runtime is Forms Authentication. Useful, because it is highly extensible and flexible (as we'll see in a moment). Misunderstood, because most developers don't get past the default setup described in the documentation and therefore never find out how to extend and customize it.
I still don't understand why I have to roll my own Forms auth with Roles, I would expect that everyone would want to use roles, but oh well...
Monday, November 24, 2008 10:58:07 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
.net
Archive
<December 2008>
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions.

© Copyright 2009
David Kearns
Sign In
Statistics
Total Posts: 1273
This Year: 39
This Month: 0
This Week: 0
Comments: 1755
Themes
Pick a theme:
All Content © 2009, David Kearns
DasBlog theme 'Business' created by Christoph De Baene (delarou)