ws page 35 - Dave's Blog

Search
My timeline on Mastodon

Featured Windows Download: vmcNetFlix Streams Watch Now Videos to Your Xbox 360

2008 Jun 13, 12:52Stream NetFlix's on demand movies to your Vista Windows Media Center and all extenders including Xbox 360.PermalinkCommentsvia:dotjosh lifehacker movies vista xbox plugin mce windows netflix movie

Regex Tester - RegexPal

2008 Jun 12, 3:24A nice in browser regex tester. Give a sample string and a regex and the matches are highlighted.PermalinkCommentsregex javascript programming development

Not My Job: Astrophysicist Neil deGrasse Tyson: NPR

2008 Jun 12, 2:33NPR show 'Wait Wait...Don't Tell Me!' talks to Neil Tyson about Pluto, impending asteroid impact, and then quizes him on the "long-delayed Guns and Roses album, Chinese Democracy". Did you see him on TDS or Colbert Report? He does fun interviews!PermalinkCommentsnpr audio quiz guns-and-roses neil-degrasse-tyson astrophysicist pluto asteroid humor

Firefox Mobile Concept Video on Vimeo

2008 Jun 12, 10:45Neat stuff for a Mobile Firefox concept: "A demo of an experimental UI for Mobile Firefox by Aza Raskin, Head of UX for Mozilla Labs. See azarask.in/blog/post/firefox-mobile-concept-video for more information."PermalinkCommentsbrowser interface video firefox mobile ui phone

Jane Kim: From Inventing To Implementing IE Features | WM_IN | Channel 9

2008 Jun 11, 12:45Channel9's Women in Technology interviews Jane Kim, the PM for one of my features.PermalinkCommentsjane-kim microsoft video interview

Headlines (Page One)

2008 Jun 9, 4:23Humorous mistakes in newspaper headlines. Lots of funny stuff in here.PermalinkCommentshumor news newspaper headlines

How Windows PowerShell Works

2008 Jun 8, 10:48Lots of diagrams and things about the PowerShell.PermalinkCommentsmsdn powershell shell microsoft windows reference

Creating Applications that Use a Custom Host

2008 Jun 8, 10:47Howto replace the GUI portion of the PowerShell.PermalinkCommentshowto msdn reference shell windows powershell microsoft

TiltViewer

2008 Jun 6, 3:36A neat little flash thing that shows you flickr photos with 3d tilting and zooming.PermalinkCommentsvia:ethan_t_hein flickr flash mashup visualization

Bar Requests 10 Year Disbarment for Jack Thompson | Game | Life from Wired.com

2008 Jun 6, 2:41"After finding him responsible for 27 separate instances of professional misconduct, the Florida Bar has requested that controversial Miami attorney and anti-gaming activist Jack Thompson be disbarred for 10 years, reports GamePolitics."PermalinkCommentsgame news wired jack-thompson justice finally awesome legal law

Mao (game) - Wikipedia, the free encyclopedia

2008 Jun 2, 12:57A card game where 'new players are often told only "the only rule you may be told is this one."'. '...the game being a parody of life in the People's Republic of China during the Cultural Revolution, where the laws changed secretly..."PermalinkCommentscard history politics game legal parody

Generating N-D Tetris Pieces

2008 Jun 1, 7:27

When I woke up this morning for some reason I was thinking about Polytope Tetris, my N-D Tetris game, and specifically generating Tetris pieces in various number of dimensions. When I first wrote PTT I thought that as the number of dimensions increased you could end up with an infinite number of non-equivalent crazy Tetris pieces. However this morning I realized that because you only get four blocks per piece there are only a possible three joints in a single Tetris piece which means that you only need three dimensions to represent all possible distinct N-D Tetris pieces.

Below is the table of the various possible pieces per number of dimensions and sorted by the number of joints in the piece. Notice that the 'J' and 'L' become equivalent in 3D because you can rotate the 'J' through the third dimension to make it an 'L'. The same happens for 'S' and 'Z' in 3D, and 'S+' and 'Z+' in 4D.

Joints Name 1D 2D 3D +
1 I I I I I
2 J J J J
L L
3 O O O O
T T T T
S S S S
Z Z
T+ T+ T+
S+ S+ S+
Z+ Z+
Total 1 7 8 7

As a consequence of not realizing there's a finite and small number of N-D Tetris pieces, I wrote code that would randomly generate pieces for a specified number of dimensions by wandering through Tetris space. This consists of first marking the current spot, then randomly picking a direction (a dimension and either forward or backward), going in that direction until hitting a previously unvisited spot and repeating until four spots are marked, forming a Tetris piece. However this morning I realized that continuing in the same direction until reaching am unvisited spot means I can't generate the 'T+' piece. I think the better way to go is keep the list of all possible pieces, pick one randomly, and rotate it randomly through the available dimensions. Doing this will also allow me to give distinct pieces their own specific color (like the classic Tetris games do) rather than picking the color randomly like I do now.

PermalinkCommentspolytope tetris tetris

How to stop an ActiveX control from running in Internet Explorer

2008 May 30, 1:36Killbits: "This article describes how to stop an ActiveX control from running in Microsoft Internet Explorer and in Windows Internet Explorer. You can do this by modifying the data value of the Compatibility Flags DWORD value for the Class identifier (CLSPermalinkCommentssecurity ie killbit msdn microsoft windows browser reference

Scott Hinsley's WebLog : Windows Server Longhorn: Server Core

2008 May 30, 9:49Blog post on Windows Server Core, what it is and setting it up: "Server core is a minimal installation option for Windows Server "Longhorn" providing a minimal environment supporting specific server roles."PermalinkCommentswindows blog msdn server scott-hinsley os

Update: Why is NBC Flagging Digital TV Programs - and Why is Microsoft Obeying It? | Electronic Frontier Foundation

2008 May 18, 12:15'...he was recording Raleigh's HDTV channel WNCN-DT1 on his Vista machine when a popup stating that "restrictions set by the broadcaster...prohibit recording of this program" appeared.'PermalinkCommentstv vista mce microsoft television video windows nbc via:boingboing

TED talk: Joshua Klein's vending machine for crows - Boing Boing

2008 May 16, 2:12Joshua trains crows to give him coins. "Joshua Klein's TED presentation about how he taught crows to drop coins into a peanut vending machine of his own design..."PermalinkCommentshack crow ted video presentation joshua-klien

PdfMeNot.com - a nicer way of linking to PDFs

2008 May 13, 3:59Displays PDFs using Flash. Is Flash really the lesser of the two evils?PermalinkCommentspdf flash browser web

Cirque du Soleil in Marymoor Park

2008 May 11, 7:28

[sprague's photo of Corteo in Maryland]Sarah and I went to Cirque du Soleil's Corteo this past Wednesday. Its in Marymoor Park quite near the main Microsoft campus. They setup large circus tents in the park including a gift shop, overpriced concession stands, and long lined porta-potties. Despite all this the show was very entertaining and quite enjoyable. The show is like a circus directed by Terry Gilliam or Tim Schafer and otherwise I'm not sure how to describe it, but I do recommend it.

PermalinkCommentscirque du soleil nontechnical

Font embedding on the Web - Wikipedia, the free encyclopedia

2008 May 9, 9:32"The CSS2 specification adopted Microsoft's @font-face rule as the standard method for embedding fonts. However, Safari is the only browser other than Internet Explorer that supports @font-face, and it supports TrueType fonts instead of EOT fonts."PermalinkCommentsfont text web webdesign microsoft browser safari ie css

Microsoft Typography - Font embedding for the Web

2008 May 9, 9:31"In 1997, we released the preview version of Microsoft Web Embedding Fonts Tool (WEFT), which allows you to create font objects that can be linked to your Web pages."PermalinkCommentsmicrosoft msdn font web webdesign text
Older EntriesNewer Entries Creative Commons License Some rights reserved.