<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>TSF Aware : random</title><link>http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx</link><description>Tags: random</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Crypto History</title><link>http://blogs.msdn.com/tsfaware/archive/2008/07/11/crypto-history.aspx</link><pubDate>Fri, 11 Jul 2008 20:01:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721675</guid><dc:creator>Eric Brown</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tsfaware/comments/8721675.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tsfaware/commentrss.aspx?PostID=8721675</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tsfaware/rsscomments.aspx?PostID=8721675</wfw:comment><description>&lt;p&gt;David LeBlanc wrote an excellent &lt;a href="http://blogs.msdn.com/david_leblanc/archive/2008/07/03/office-crypto-follies.aspx"&gt;overview&lt;/a&gt; of encrypted documents in Office.&amp;#160; A long, long time ago, I worked on the Word conversions team (it wasn’t even called Office then).&amp;#160; As part of my job, I wrote a document encryption filter.&amp;#160; &lt;/p&gt;  &lt;p&gt;More specifically, I wrote (around 1990 or so) a document obfuscation filter.&amp;#160; I say ‘obfuscation’ because one of the requirements was that the password had to be stored with the (encrypted) document.&amp;#160;&amp;#160; Of course, that rendered any possible security null and void, but the customer needed to be able to recover documents with forgotten passwords.&lt;/p&gt;  &lt;p&gt;When David talks about XOR obfuscation, I believe that the incredibly weak security was a ‘feature’, not a bug – quite a few companies wanted to be able to prevent casual snoopers from reading their documents, but also wanted to be able to recover from a forgotten password.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Data_Encryption_Standard"&gt;DES&lt;/a&gt; was a standard in 1990 (it didn’t really fall until 1998), and I know the Office devs had an implementation around to use, as my manager wrote a real encryption filter using DES a couple of months after I wrote my obfuscation filter.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8721675" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx">random</category></item><item><title>What Isn’t TSF good for?</title><link>http://blogs.msdn.com/tsfaware/archive/2008/06/25/what-isn-t-tsf-good-for.aspx</link><pubDate>Wed, 25 Jun 2008 21:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8652639</guid><dc:creator>Eric Brown</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tsfaware/comments/8652639.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tsfaware/commentrss.aspx?PostID=8652639</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tsfaware/rsscomments.aspx?PostID=8652639</wfw:comment><description>&lt;P mce_keep="true"&gt;Well, for one thing, it’s not that great for grabbing the current selection in the foreground application.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;There are several problems here:&lt;/P&gt;
&lt;P&gt;1) You have to get your text service loaded into the target application. This can be slow.&lt;/P&gt;
&lt;P&gt;2) Once your text service is loaded, you can only really work with TSF-enabled applications, which, sadly, are few and far between.&lt;/P&gt;
&lt;P mce_keep="true"&gt;What do I recommend?&amp;nbsp; There aren’t any really good solutions.&amp;nbsp; MSAA doesn’t have good text support.&amp;nbsp; UI Automation doesn’t have good native support (although it works very nicely in managed applications, and has good text support).&amp;nbsp; You can use the clipboard, but users tend to be somewhat attached to their clipboard contents.&amp;nbsp; (Saving &amp;amp; restoring the clipboard is possible, but can be tricky – application vendors will often register private clipboard formats that contain pointers which get invalidated when the clipboard changes.&amp;nbsp; When you put the clipboard back, you will crash the application.&amp;nbsp; Most vendors don’t do that, but it’s something you should be aware of.)&lt;/P&gt;
&lt;P&gt;If you do decide to use the clipboard, then &lt;A href="http://www.clipboardextender.com/?page_id=6"&gt;this guy&lt;/A&gt; has implemented a pretty fancy &lt;A href="http://www.thornsoft.com/" mce_href="http://www.thornsoft.com/"&gt;clipboard manager&lt;/A&gt;, and has a good discussion of various traps &amp;amp; pitfalls with the clipboard.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8652639" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tsfaware/archive/tags/tsf/default.aspx">tsf</category><category domain="http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx">random</category></item><item><title>Steam Trek: The Moving Picture</title><link>http://blogs.msdn.com/tsfaware/archive/2007/06/15/steam-trek-the-moving-picture.aspx</link><pubDate>Fri, 15 Jun 2007 20:02:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3315716</guid><dc:creator>Eric Brown</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tsfaware/comments/3315716.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tsfaware/commentrss.aspx?PostID=3315716</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tsfaware/rsscomments.aspx?PostID=3315716</wfw:comment><description>&lt;p&gt;&lt;embed src="http://www.youtube.com/v/6Y39gHihP74" width="425" height="350" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/p&gt; &lt;p&gt;I don't have anything better to blog about right now (I'm in the middle of reviews and designs), so I thought I would share a bit of whimsy&amp;nbsp;- notably, this steampunk version of Star Trek. If you're familiar with &lt;a href="http://en.wikipedia.org/wiki/A_Trip_to_the_Moon"&gt;&lt;em&gt;A Trip to the Moon&lt;/em&gt;&lt;/a&gt;, you will find this deeply funny.&amp;nbsp; Hat tip to &lt;a href="http://www.grotto11.com/blog/"&gt;BT&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;(If you do have suggestions, please contact me.)&lt;/p&gt;&lt;/embed&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3315716" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx">random</category></item><item><title>LOLCode</title><link>http://blogs.msdn.com/tsfaware/archive/2007/05/31/lolcode.aspx</link><pubDate>Thu, 31 May 2007 22:37:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3012022</guid><dc:creator>Eric Brown</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tsfaware/comments/3012022.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tsfaware/commentrss.aspx?PostID=3012022</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tsfaware/rsscomments.aspx?PostID=3012022</wfw:comment><description>&lt;p&gt;I suppose while I'm sending out the random link propagation, I should also mention &lt;a href="http://lolcode.com/home"&gt;LOLCODE&lt;/a&gt;&amp;nbsp;- the programming language for really leet coders.&amp;nbsp; I think it's related to the (deservedly) esoteric language &lt;a href="http://catseye.tc/projects/valgol/doc/valgol.html"&gt;valgol&lt;/a&gt;, from the 80's.&lt;/p&gt; &lt;p&gt;Update:&amp;nbsp; on second thought, some examples might be useful. :)&lt;/p&gt; &lt;p&gt;Hello World (in LOLCODE):&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.lolcode.com/examples/hai-world"&gt;HAI WORLD&lt;/a&gt;: &lt;pre&gt;HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE&amp;nbsp;&lt;/pre&gt;&lt;font face="Verdana"&gt;A small example of valgol:&lt;/font&gt;&lt;pre&gt;LIKE, Y*KNOW (I MEAN) START&lt;p&gt;IF PIZZA =LIKE BITCHEN AND&lt;p&gt;   GUY =LIKE TUBULAR AND &lt;p&gt;   VALLEY GIRL =LIKE GRODY**MAX(FERSURE)**2 THEN&lt;p&gt;  FOR I =LIKE 1 TO OH*MAYBE 100&lt;p&gt;      DO*WAH - (DITTY**2);&lt;p&gt;      BARF(I)=TOTALLY GROSS(OUT)&lt;p&gt;  SURE&lt;p&gt;  LIKE, BAG THIS PROGRAM;&lt;p&gt;  REALLY;&lt;p&gt;  LIKE TOTALLY(Y*KNOW);&lt;p&gt;  IM*SURE &lt;p&gt;GOTO THE MALL&lt;/p&gt;&lt;/pre&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3012022" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx">random</category></item><item><title>Desktop Tower Defense</title><link>http://blogs.msdn.com/tsfaware/archive/2007/05/31/desktop-tower-defense.aspx</link><pubDate>Thu, 31 May 2007 17:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2990629</guid><dc:creator>Eric Brown</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/tsfaware/comments/2990629.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tsfaware/commentrss.aspx?PostID=2990629</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tsfaware/rsscomments.aspx?PostID=2990629</wfw:comment><description>&lt;P&gt;Enough about TSF for a while. :)&lt;/P&gt;
&lt;P&gt;I found this amazingly addictive game the other day called &lt;A class="" href="http://www.handdrawngames.com/DesktopTD/" target=_blank mce_href="http://www.handdrawngames.com/DesktopTD/"&gt;Desktop Tower Defense&lt;/A&gt;.&amp;nbsp; It's sort of the reverse of Lemmings - instead of saving all the lemmings, you need to squash them all.&amp;nbsp; There's an insane number of levels, and it gets really challenging really fast.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Highly recommended.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2990629" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx">random</category></item><item><title>Trek can has Cheezburger, too</title><link>http://blogs.msdn.com/tsfaware/archive/2007/05/04/trek-can-has-cheezburger-too.aspx</link><pubDate>Fri, 04 May 2007 23:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2414976</guid><dc:creator>Eric Brown</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tsfaware/comments/2414976.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tsfaware/commentrss.aspx?PostID=2414976</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tsfaware/rsscomments.aspx?PostID=2414976</wfw:comment><description>&lt;P&gt;And now for something completely unrelated to TSF, or dictation:&lt;/P&gt;
&lt;P&gt;I'm going to pile onto the incredibly funny Star Trek/&lt;A class="" title=lolcat href="http://en.wikipedia.org/wiki/Lolcat" mce_href="http://en.wikipedia.org/wiki/Lolcat"&gt;lolcat&lt;/A&gt; &lt;A class="" title=LolTrek href="http://granades.com/2007/05/02/loltrek/" mce_href="http://granades.com/2007/05/02/loltrek/"&gt;spoof &lt;/A&gt;at granades.com.&amp;nbsp; If you haven't seen it yet, it's pretty darn funny.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2414976" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tsfaware/archive/tags/random/default.aspx">random</category></item></channel></rss>