More Books and Reviews

31 January 2007

I finished the last books of January a few days ago. First was J. R. R. Tolkien's The Two Towers. As virtually everyone knows, it seems, that is a great book. The other I finished was another superb book, though not as many know it. Richard Hays' Echoes of Scripture in the Letters of Paul is an excellent treatment of, you guessed it, how Paul uses the Hebrew Scriptures. See the review here, if you are interested.

Though I read both of these a while ago, I also posted a review of Linear B and Related Scripts and of John Stewart's America (The Book).

Comments:0

Finished Books, and Epistemology

25 January 2007

I finished a few more books. First was Wittgenstein's On Certainty (read review). Second was Tolkien's Fellowship of the Ring. So, I updated my reading list. A also added a review for Hume's An Enquiry Concerning Human Understanding.

I do think the questions of epistemology that Hume, Wittgenstein et al. cover are very important. But at the same time I can't get beyond a feeling of the uselessness of a highly skeptical epistemology. I cannot argue with much of what Hume says, for example, but despite its correctness much of it does not ring true to human experience. You can say all you want that our sensory perceptions are not as reliable as we actually think they are in observing and parsing reality, but you will not abandon sensory perception or its input. I still plan on digging in this area. I still need to read Kant (I have read a little, but not nearly enough). I imagine my feeling will grow even stronger, but it is good material to be familiar with given my many crazy interests.

Comments:0

Comment Approval Process Working

25 January 2007

I continue to get a sporadic spray of comment spam, usually for pharmaceutical sites it seems. I'm still manually reviewing them all (so that doesn't take much time), but it obviously working. No more comment span.

Comments:13

53 CSS Techniques

25 January 2007

Unfortunately, now that I'm home I can't remember where I found this link, so I can't give credit where credit is due. But, here it is nevertheless. 53 CSS Techniques You Couldn't Live Without. There's also some other interesting posts on the site. On another post they point out some nicely designed sites. I like looking at these nice sites, even though it reminds me that I'm still just a code monkey, not a fluffy shiny sparkly flashy CSS guru. Maybe one day I'll be cool like that...

Comments:0

ASP.NET Ajax Released

23 January 2007

I've never played with CTP's, betas and RC's of any chunk of software as much as I've played with ASP.NET Ajax. That's probably why I'm so very happy that it is finally released. Yay!!! If you are a .NET web developer and haven't tried it, I highly recommend doing so.

Comments:0

New iPod

20 January 2007

I bought a new iPod yesterday. It is a 30 gig model, black and sleek. I have been using an iPod mini now for at least two years. It has served me well, but the battery stopped charging completely. That obviously makes it much less useful. I would have had to start bringing an extension cord with me to the gym. I wonder how long it would have taken the staff to notice and say something...

I like it mucho. It is thinner than my old mini, but probably close to an inch wider. This makes the screen much more readable, so that's fine. It is also color and plays video, two more things that the mini did not do. It only cost me $25 more than the mini did when I bought it way back, so that's not to shabby either.

But I have two not quite so positive comments. First, I don't like the feel of the wheel as much as I did with the mini. You have to press harder to get it to respond. That's going to take a lot of unlearning. Also, it didn't come with a electric socket charger like my mini did. Apparently they don't come standard anymore. Seems a little cheap. The only way to charge it is through USB...unless you happen to have a wall charger left over from when you had a mini :)

Overall, a big improvement. I'm glad I got it. I briefly considered moving to the Zune, but since I didn't actually know anybody who had one, I didn't want to try it. Maybe one day. 

Comments:0

Macho Programming

19 January 2007

Funny something for geeks.

Comments:0

.NET Dispose and Finalize

17 January 2007

I just found a really nice article on implementing IDisposable and finalization in .NET classes. Very detailed, useful information.

Comments:0

Comment Spam

16 January 2007

I started getting my first comment spam. I think the total is up to 8 spams thus far. On the one hand, this does make me feel a little cool. I am apparenly worth blog spamming. On the other hand, I hate it when people do that.

So, I am now approving/deleting all comments before they appear. It is a useful feature that I've been needing to add to my Pylus project. If you make a comment, you won't see it until I approve it. But that shouldn't take long. And yes, comments can continue to be anonymous.

Comments:13

VMWare Virtual Disk Creator

15 January 2007

If you ever want to use vmware, here is an online utility for creating virtual disks and config files. I found it very handy...

Comments:0

Gollum and Smeagol Sing Barry White

12 January 2007

Funny. Watch it.

Comments:0

Using ASP.NET Ajax in a Non ASP.NET Site

11 January 2007
So I saw a question on the forums about how to use the ASP.NET Ajax libraries outside of an ASP.NET application. I decided to write one. As it turns out, it is really simple to use at least part of them.

Steps:
1. Install all the ASP.NET Ajax libraries. At the very least you will need the main Ajax install. If you want to use the js in the preview library (CTP), you should install it as well. These files should show up somewhere around here: C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\MicrosoftAjaxLibrary\System.Web.Extensions\1.0.61025.0\Release
2. Create an html page.
3. Make a reference to the scripts.
4. Write whatever html you want to write that you would use the javascript code.
5. Write the javascript code.

You're done. Here is an example using the preview library code that I've posted about before. All you need to run this is this html and the javascript libraries previously mentioned. The first two lines in the function "hideThatDiv" use MicrosoftAjax.js. The rest use PreviewScript.js and PreviewGlitz.js. Note the complete lack of any ASP.NET code in this...

   1:  <html>
   2:      <head>
   3:          <script language="javascript" src="MicrosoftAjax.js"></script>
   4:          <script language="javascript" src="PreviewScript.js"></script>
   5:          <script language="javascript" src="PreviewGlitz.js"></script>
   6:          <script language="javascript">
   7:              function hideThatDiv()
   8:              {
   9:                  var element = $get('targetDiv');
  10:                  var target = new Sys.UI.Control(element);
  11:                  
  12:                  var fadeAnimation = new Sys.Preview.UI.Effects.FadeAnimation();
  13:                  fadeAnimation.set_target(target);
  14:                  fadeAnimation.set_duration(1);
  15:                  fadeAnimation.set_fps(25);
  16:                  fadeAnimation.set_effect(Sys.Preview.UI.Effects.FadeEffect.FadeOut);
  17:                  fadeAnimation.play();
  18:              }
  19:          </script>
  20:      </head>
  21:      <body>
  22:          <div id="targetDiv" style="background-color: Black; width: 200px; height: 200px;">
  23:          </div>
  24:          <input type="button" onclick="hideThatDiv();" value="Hide the div" />
  25:      </body>
  26:  </html>

 There is a lot more there than this, but this is a basic example of how to use some of the scripts.
Comments:0

ASP.NET Ajax Preview Script Loading Error

08 January 2007

Here is a little tip of you're playing around with the "Futures December CTP". If you have been using earlier version of the preview code, you might end up putting this in your ScriptManager to load the preview scripts:

   1:  <asp:ScriptReference
   2:       Assembly="Microsoft.Web.Preview" 
   3:       Name="PreviewScript.js" />
   4:  <asp:ScriptReference 
   5:       Assembly="Microsoft.Web.Preview"
   6:       Name="Microsoft.Web.Resources.ScriptLibrary.PreviewGlitz.js" />

Bad idea. If you'll do this you'll get either of the following error messages:

1. Assembly 'Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not contain a Web resource with name 'Microsoft.Web.Resources.ScriptLibrary.PreviewGlitz.js'
2. Assembly 'Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not contain a Web resource with name 'Microsoft.Web.Resources.ScriptLibrary.PreviewScript.js'

To fix this, just remove the "Microsoft.Web.Resources.ScriptLibrary." from the "Name" attribute. Was having this problem. Noticed the fix here.
Comments:2

Comments on the Blog and Tinymce

06 January 2007

The commenting capabilities of the site have been functional, but not very nice. Html comments were not allowed, as one of you noticed, and the text entry was obviously basic.

I have now spiffied it up. You will notice that you now have the write comments that are very html-ish. Feel free to do so. The text entry control is called tinymce, and it is distributed under the GPL. It is very easy to setup for use on your blog/website. So far I am happy with it. Check it out.

Comments:12

New Pages

06 January 2007

I added a couple new pages to the site. At the advice of a friend I am now keeping a running list of everything I read. It can be found here.

Also, a credits page for the images and code I use on the site that do not originate from my own work. It can be found here.

I also added a link to my aStore. I like the idea of the aStore, but navigation is horrible. Not sure what I can do about that other than write my own :)

Comments:0

Happy New Year!

01 January 2007

Yay! I guess. Happy new year!

Comments:0