old page 4 - Dave's Blog

Search
My timeline on Mastodon

Nighty Night | Amanda Palmer

2011 Apr 27, 4:10PermalinkCommentsmusic download amanda-palmer ben-folds neil-gaiman damian-kulash ok-go mp3

Patterns for using the InitOnce functions - The Old New Thing - Site Home - MSDN Blogs

2011 Apr 8, 2:32"Since writing lock-free code is issuch a headache-inducer,you're probably best off making some other people suffer the headachesfor you. And those other people are the kernel folks, who have developedquite a few lock-free building blocks so you don't have to. For example, there's a collection of functions for manipulatinginterlocked lists.But today we're going to look at theone-time initialization functions."PermalinkCommentstechnical windows programming raymond-chen lock thread-safety

TED Blog | The greatest TED Talk ever sold: Morgan Spurlock on TED.com

2011 Apr 6, 3:49 PermalinkCommentshumor video morgan-spurlock ted advertising ad

IE9 Document Mode in WebOC

2011 Apr 4, 10:00

Working on GeolocMock it took me a bit to realize why my HTML could use the W3C Geolocation API in IE9 but not in my WebBrowser control in my .NET application. Eventually I realized that I was getting the wrong IE doc mode. Reading this old More IE8 Extensibility Improvements IE blog post from the IE blog I found the issue is that for app compat the WebOC picks older doc modes but an app hosting the WebOC can set a regkey to get different doc modes. The IE9 mode isn't listed in that article but I took a guess based on the values there and the decimal value 9999 gets my app IE9 mode. The following is the code I run in my application to set its regkey so that my app can get the IE9 doc mode and use the geolocation API.



        static private void UseIE9DocMode()
{
RegistryKey key = null;
try
{
key = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION", true);
}
catch (Exception)
{
key = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION");
}
key.SetValue(System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName, 9999, RegistryValueKind.DWord);
key.Close();
}
PermalinkCommentsweboc fck ie document mode technical ie9

New Device Desirable, Old Device Undesirable | The Onion - America's Finest News Source

2010 Dec 27, 2:38"I feel a strong urge to purchase the new device. Owning the new device will please me and improve my daily life."PermalinkCommentsnews humor onion

"Programming Windows Phone 7" by Charles Petzold

2010 Dec 6, 8:01PermalinkCommentsbook development ebook technical

Berners Street Hoax - Wikipedia, the free encyclopedia

2010 Dec 6, 12:17Ye olde DoS: "The Berners Street Hoax was perpetrated by Theodore Hook in the City of Westminster, London, in 1809. Hook had made a bet with his friend, Samuel Beazley, that he could transform any house in London into the most talked-about address in a week, which he achieved by sending out thousands of letters in the name of Mrs Tottenham, who lived at 54 Berners Street, requesting deliveries, visitors, and assistance."PermalinkCommentshumor history prank

Google Launches 'The Google' For Older Adults | The Onion - America's Finest News Source

2010 Sep 8, 4:11Unfortunately it looks like TheGoogle.com is not available...PermalinkCommentshumor google search technical

YouTube - Ben Folds, Nick Hornby, & Pomplamoose VideoSong!!!!

2010 Aug 31, 7:35PermalinkCommentsmusic video youtube ben-folds pomplamoose music-video

Daft Punk Tron Mashup

2010 Aug 4, 2:37
Daft Punk music videos, Tron, and Tron Legacy video mashup from Eclectic Method.
PermalinkCommentsdaft-punk tron video mashup music avlater

Gamers beat algorithms at finding protein structures

2010 Aug 4, 2:29Using games for good! Foldit players are solving real biochemistry problems. "Scientists have turned to games for a variety of reasons, having studied virtual epidemics and tracked online communities and behavior, or simply used games to drum up excitement for the science. But this may be the first time that the gamers played an active role in producing the results, having solved problems in protein structure through the Foldit game."PermalinkCommentsvideogame game biology science research

MSDN content is also available as a Web service - The Old New Thing - Site Home - MSDN Blogs

2010 Jul 26, 6:56"But in addition to all the views, you can go directly to the back-end that drives all the data: The MSDN/TechNet Publish System (MTPS) Content Service. With that interface, you can request the back-end data and format it any way you like."PermalinkCommentsmsdn web microsoft reference webservice technical

Millions of routers vulnerable to new version of old attack

2010 Jul 20, 6:45Hack based on DNS rebinding plus home router's web front end.PermalinkCommentssecurity technical web router dns dns-rebinding hack

The Curious History of Uniform Resource Names - IETF Journal

2010 Jul 1, 10:51"Sometimes it’s hard to judge whether an engineering effort has been successful or not. It can take years for an idea to catch on, to go from being the butt of jokes to becoming an international imperative (IPv6). Uniform Resource Names (URNs), which are part of the Uniform Resource Identifier (URI) family, are conceptually at least as old as IPv6. While not figuring in international directives for deployment, they-and the technology engineered to resolve them-are still going concerns."PermalinkCommentsietf urn uri history technical internet url

Securely Overwrite Files with a Built-in Command Line Trick

2010 Jun 25, 2:58"... all you need to do is specify the /W switch and the file or folder you want to overwrite—after you have already deleted it. cipher /W:C:\Path\To\Folder"PermalinkCommentstechnical cmd privacy security windows cipher delete

Animated GIF From Wedding

2010 Jun 13, 3:47From Angie's photos of my wedding there's a sequence of four photos where everyone's holding still except me. Of course I turned this into an animated GIF using GIF Make, to produce my animated wedding GIF. I don't embed the image in the HTML because it is really irritating.PermalinkCommentswedding animated photo personal gif

Syyn Labs: High Voltage Debauchery

2010 Jun 6, 4:55
Syyn Lab's website -- the team that did the Rube Goldberg machine for the OK Go This Too Shall Pass video.
PermalinkCommentssyyn-labs video art engineering

FORA.tv - Adam Sadowsky: Music, Machines & Life

2010 Jun 6, 4:39
Adam Sadowsky of Syyn Labs presents at Maker Faire about how Syyn Labs produced the Rube Goldberg machine for the OK Go This Too Shall Pass video.
PermalinkCommentsadam-sadowsky ok-go music video maker-faire

Ben Folds covers  Elliott Smith | Music | A.V. Undercover | The A.V. Club

2010 May 14, 8:19
PermalinkCommentsmusic video ben-folds elliott-smith say-yes

INTERCAL -- the Language From Hell

2010 May 10, 5:21An old article by Charles Stross on INTERCAL the satirical programming language. It contains great features such as 'come from' the inverse of 'goto'.PermalinkCommentsc programming humor technical language software charles-stross intercal goto
Older EntriesNewer Entries Creative Commons License Some rights reserved.