RSS Feed

Archive for the ‘Technology’ Category

Oracle 06413: Connection Not Open (x64)

February 17, 2010 2 Comments »

Having changed to a 64-bit development machine at work recently I ran in to an Oracle error while trying to generate files using CodeSmith. This error was ORA-06413: Connection Not Open. Assuming it was a connection string error, as I had not ran this particular generation in some time and it was likely that the server or username/password had changed, I proceeded to test the connection from SQL Developer. Success!

After ruling out that the connection was indeed valid I did a quick Google search for the error message. After a few clicks I discovered a very well known (has been around for a few years) Oracle issue; When executing an Oracle command from an application with parentheses or equals — ‘(‘ or ’)’ or ‘=’ — in the path then the specified error message is thrown.

In this particular case CodeSmith had been installed under C:\Program Files (x86)\CodeSmith\ which was causing Oracle to fail. The quickest work around was to simply move CodeSmith from the Program Files (x86) path e.g. in to C:\CodeSmith\. However; there is a patch (5383042) for Oracle 10g, which I believe is also applied to Oracle 11G.

 

Australian Internet Filter: What Can I Do?

February 16, 2010 No Comments »

What is it?

The Australian Federal Government is introducing a mandatory ISP-level filtering of all Refused Classification (RC) rated content. This means all websites (or part-thereof) which have been refused classification under Australia’s classification laws will be blacklisted.

See the Electronic Frontiers Open Internet website for more information.

What can I do?

The simplest thing you can do is sign the EFA’s online petition.

Additionally you can contact your local member of parliament or contact Senator Conroy, the Minister for Broadband, Communications and the Digital Economy.

Take Action!

 

iiNet Vs AFACT: The Verdict

February 4, 2010 3 Comments »

As a lot of people are probably already aware iiNet was taken to court by the Australian Federation Against Copyright Theft (AFACT) for allegedly allowing its customers to illegally download copyrighted material (e.g. movies, music, etc).

This morning Justice Cowdroy has ruled in favour of iiNet stating that “I find that iiNet simply can’t be seen as approving infringement”. His verdict was that the “copyright (infringement) occured as result of use of BitTorrent, not the Internet” and that “iiNet has no control over (the) Bittorrent system and (is) not responsible for (the) Bittorrent system.”

Common sense and Australia’s Internet Freedom prevails, for now (see mandatory Australia Internet Censoring).

 

Win 7 Live Messenger Task Bar Fix

November 26, 2009 No Comments »

Windows 7 Task barFor those of you ‘lucky’ enough to have already updated to the new Windows 7 then you have probably already noticed the major changes to the task bar. Good or bad, you decide. Personally, I like some of the new functionality that it provides but I also enjoy a slim task bar — similar to that of Vista. Fortunately Microsoft provided a “Use small icons” option in the task bar properties (right-click the task bar and select properties) which makes the task bar a similar size to that of Vista.

Changing the task bar to use small icons, however, does not fix the fact that Windows Live Messenger likes to constantly take up a space in the task bar even when the window is not open. Since there does not currently appear to be an option in Windows Live Messenger to display the program in the system tray, instead of on the task bar, we need to use a simple work around.

WLMCompatibility

First, close any current Windows Live Messenger instances. Then open your start menu and locate the Windows Live Messenger shortcut. Right-click the shortcut and select properties. Switch to the Compatibility tab and check “Run this program in compatibility mode for:” and select Window Vista (Service Pack 2)”. Now start Windows Live Messenger and problem solved. You should now see the Windows Live Messenger icon in the system tray. As you would on Vista, XP, etc.

 

Telstra HTC Touch HD — Enable Weather Module

September 3, 2009 2 Comments »

HTC Touch HD Weather ModuleONE of the best features built-into the HTC Touch HD would have to be the weather module. This module allows you to view the current weather conditions, as well as a four day forecast and all in a pretty cool looking interface. However; for some unknown reason Telstra decided to disable the weather module by default, instead opting to include a bunch of somewhat completely useless modules of its own.

There is good news… through a bit of editing you are able to re-enable the weather module and, if you desire, remove the unnecessary Telstra modules. First thing is first; we need to find the file which contains the HTC Touch Flow configuration. The file we are after is 26948339_manila.xml which is located in the Windows directory. Back this original file up. Copy this file on to your storage card, or somewhere you can access it from your computer (alternative you could use an application such as Total Commander to edit the file from your mobile device).

The section we are interested in are the items under the Navigation node and directly under the “root” PageGroup. This section contains a collection of Page elements, which define the items located along the bottom bar of the Touch Flow interface. The one we are interested in is weather.page — this should be commented out and appear similar to the following:

<!--
<Page Order="3" Name="weather.page" PackageName="HTC" Title="[[IDS_WEATHER]]" >
  <ComponentReference Name="page" Mode9Path="HTC\weather.mode9" Component="GizmoRoot" SmartComponent="true"  />
  <ComponentReference Name="icon_normal"   Mode9Path="HTC\icons.mode9" Component="Weather_Off" />
  <ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Weather_On" />
  <ComponentReference Name="icon_preview"  Mode9Path="HTC\icons.mode9" Component="Weather_Preview" />
</Page>
-->

To enable the weather module simply remove the comment blocks (<!– && –>) to end up with something similar to:

<Page Order="3" Name="weather.page" PackageName="HTC" Title="[[IDS_WEATHER]]" >
  <ComponentReference Name="page" Mode9Path="HTC\weather.mode9" Component="GizmoRoot" SmartComponent="true"  />
  <ComponentReference Name="icon_normal"   Mode9Path="HTC\icons.mode9" Component="Weather_Off" />
  <ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Weather_On" />
  <ComponentReference Name="icon_preview"  Mode9Path="HTC\icons.mode9" Component="Weather_Preview" />
</Page>

You could now also go and comment out the modules you do not wish to appear on the Touch Flow interface.

Once finished editing the file save it and replace the original file under the Windows directory (if you aren’t editing it directly) with this edited file. Restart the mobile device. You should now be able to see the weather module button on your Touch Flow interface. Enjoy.

Do not be alarmed if you incorrectly edit the xml file as the Touch Flow interface will simply not load, but you will still be able to use your mobile device. Simply go back and replace the file with the original back-up, or attempt to fix the issue.

 

See Code, See CodeRun

June 19, 2009 2 Comments »

Merbla wrote a short post today about a site he came accross, CodeRun. The site is an online code respository, with the added advantage of an online IDE include on the site which allows you to see the code and run / debug it as it is. After signing up with a free account you can create your own projects (AJAX, ASP.NET, PHP and WPFAJAX and ASP.NET also have support for facebook applications) which you can develop, store and run all from their website.

The concept is brilliant — everything from start to go can be done online via your standard web browse (currently only supports Internet Explorer and FireFox) and publishing of your source code is as simple as a right-click and a left-click. Once source has been published other people can freely go and search for source code in the repository and open it directly in the browser, make modifications and run them all from within the browser.

CodeRun Online IDE

However; The actuall implementation of it so fair (while still very impressive) is significantly lacking from a development perspective. Although it is possible to do the majority of thing you can do in Visual Studio, it is a little cumbersome and slow at times and does have a few limitions. For example, there is no toolbar — and therefore no drag and dropping of controls (which Microsoft presentations always seem to contain a lot of ;-).

Although the site seems to be focused on web applications some features are also unavaliable in the online IDE. You do not have the ability to create folders with underscores in them, and there does not seem to be anyway of creating the special ASP.NET folders such as App_Data or App_Themes… not such a big deal. Designer files are not automatically created and if you try to create one an exception is thrown saying the file already exists.

The biggest problem however is the speed. Perhaps it is just my machine or my internet connection, but the online IDE is very slow to use and navigate. Menues and and prompts tend to hang the browser for a couple of seconds before they load and the intellisense (ctrl+space) does not allows function correctly. Code highlighting, although not important or required, is lacking from the Visual Studio equivalent and take a signifant amont of time to process and display.

Copying and pasting from Visual Studio in to the online IDE also seems to be out of question, as it seems to past the text multiple times; Copy and paste from within the online IDE works fine.

All that being said the online IDE is quite feature rich and imitates Visual Studio very well. You are able to apply breakpoints and step through code, attach to processes (only online applications — not system processes), watch variables, etc. There is also an option to open a project from a zip file — which works great, providing you zip the project from the root of the project folder (it must not be under a sub folder).

In the end (as Merbla suggested in his post) something like this teamed up with StackOverflow, for the purpose of displaying simple solutions to problems with working example would be brilliant! However as far as online development goes I think there is a long way to go.

See running example: Hello World!

 

iPhone, iPod Touch, Google Android and Blackberry Storm Compatible

March 18, 2009 1 Comment »

tim.bellette.net is now compatible with the iPhone, iPod Touch, Google Android and Blackberry Storm. If you visit the site from any of the aforementioned devices it will automatically detected that you are connecting from said device and display a mobile friendly version.

 

Lightroom Plugin: Metadata Wrangler

March 4, 2009 No Comments »

Metadata Wrangler a great plugin by Jeffrey Friedl which allows you to automatically control the metadata which is included (or excluded) from your exported lightroom photos. The plugin works by stripping the metadata from your plugins when you export them from Lightroom. Prior to exporting the images you can specify what data you would like to keep, and what data you would like to exlude. This could particular be useful for stock / pro photographers who only want to keep the IPTC block (i.e. copyright details and keywords). Once you have set up a preset the same preset will be remembered the next time you do an export, making managing metadata extremely easy.

 

Lightroom 2.3

Adobe has release version 2.3 of Lightroom which includes a number of bug fixes. Some of the big fixes include a memory leak while processing files with local adjustments, failure to burn to disc on windows machines and undo (ctrl+z) on windows could a series of previous actions to be undone. The upgrade is free for all Lightroom 2.x users, with 1.x users required to purchase an upgrade disc (which if you haven’t already done, is definitely worth it with all the changes since version 1.x).

Update for Windows or Update for Mac.

 

Firefox 3 And Colour Management

February 19, 2009 1 Comment »

I recently come across an article by Datacolor (the company who make the Spyder range of monitor / printer calibrators) which explains how to enable ICC profiles in Firefox 3. It is a very simple boolean (true/false) property which you need to change in the ‘hidden’ Firefox configuration.

In Firefox enter about:config in to the address bad and press enter. A warning message will show up saying “This might void your warranty!” ignore this and click “I’ll be careful, I promise” (don’t worry you don’t have warranty anyway ;-). Next, in the filter bar type in gfx.color_management.enabled. There should now only be one option in the list of configuration options, and it should be set to false by default. Simply double click this option to change it to true (it should now be bold, indicating it is no longer the default value). Restart Firefox and you should be up and running with ICC profiles.

Check out the original post by Datacolor for more information and for two images which will indicate if your browse supports ICC profiles.