Technology?A site for testing the new tools I'm building, and a little talk about what I'm learning on the way. |
Joshua dot Perina dot com - Posts - RSSSyndicated content powered by .geographical mediaRSS syndication makes it easy to receive content updates in My Yahoo!, Newsgator, Bloglines, and other news readers. |
Current Feed ContentVGA Planets "Nu" - The official VGA Planets remakeFor those of you who know me well, you'll know I've always had a soft spot for the science fiction video game VGA Planets. In fact, I've been a player for nearly 20 years and so has my Dad. As a software developer I've often thought about making a new version of the game as the game gets older and older and the technology more outdated. A few weeks ago I contacted Tim Wisseman the original creator of the game and asked him what he thought about a web-based remake. He thought it was a great...Sending Email from Amazon EC2There have been a few posts around about the proper way to send email using Amazon EC2. I have found that overall it is not that difficult and Amazon continues to improve their service and fight the spammers. However, as it stands today in order to send email from your Windows or Linux application you will still need to do a number of things to ensure successful email delivery. Configure your email server and assign a new Elastic IP address to itSetup reverse DNS and ask Amazon to remove...Using SSL (https) with Mono HTTPListenerThese steps took me a little while to figure out and didn't seem to be all in one place. Using you GoDaddy or other signed certificate you can get mono httplistener working with ssl. Create the signing request: Create a key file: #openssl genrsa -des3 -out yourdomain.pem 2048 Optionally remove the password: #openssl rsa -in yourdomain.pem -out yourdomain.pem.nopass Create the certificate signing request. Your certificate provider should have some instructions on what goes in each fields,....NET MimeTypes Class in C#This is my quick class for determining the MimeType of a file by its extension. It is very basic. Please post more types if I am missing them so I can keep it updated. using System.Collections.Generic; namespace Lara.Sys { public class MimeTypes { public Dictionary AllTypes; public string GetMimeType(string extension) { if (AllTypes.ContainsKey(extension)) return AllTypes[extension]; else return...Great WordPress PluginsTiny MCE Advanced - Add all TinyMCE functionality back in. Great for enabling tables:http://wordpress.org/extend/plugins/tinymce-advanced/ Members Only - Secure site during construction so only authenticated users can use it:http://wordpress.org/extend/plugins/members-only/Flash IO Error #2038 when Uploading Files in .NETIf you are using a flash uploader to upload files with a progress bar to your .NET application and getting IO Error #2038 you may be hitting the 4MB upload limit on the file uploader. Update your web.config to support larger files: IIS 7 requires a second setting to go above 29MB:Javascript DOM Ready for SSL in IEMany of the existing javascripts snippets you see on the internet to determine whether the DOM is fully loaded do not work properly in Internet Explorer when using the HTTPS secure protocol. The "normal" script is as follows and works great for HTTP but will through unsecure item warnings in IE because it adds a script element to the page. Here is the updated script which works with both secure and unsecure connections: function checkReady() { if (document.addEventListener) {...Javascript Replace All with VariableHere is how you replace all values in a string with another string which is inside of a variable using Javascript: var str = "Please change all the change words in this sentence."; var searchfor = "change"; str = str.replace(new RegExp(searchfor, 'g'), "changed"); The resulting value for str would be: "Please changed all the changed words in this sentence.";New Projects for 2009 with News Statistics and AnalysisIn January we re-launched an old website of ours into our big new project for 2009 and beyond. Something we're very excited about and something I've been working on very hard over the past few months. The new site is based on some concepts of the new and expanding semantic web. Where more and more content is being put on the web in machine readable (rather than human readable) formats. This means that higher levels of analysis and content interconnections can be discovered by content...Google Chrome - it really is a better browserI have to admit, when I heard Google was going to enter the "browser wars" with their new browser Chrome I, like many thousands of other web developers I'm sure, groaned, "Not another browser I have to test my code in." So off I went to download it (get it here) and install it. I read an article on Nettuts which explained some new things they had in mind and looked a bit at Google's site to get a feel for what they thought would be the big differences. First off, I took one look at it and... |