jump to navigation

Delphi XE 2 Upgrade Deal Extended January 19, 2012

Posted by kevinbe71 in Delphi.
add a comment

Looks like Embarcadero have extended the deal to the end of January… Upgrade from any version of Pro for $499. I’ve also just finished moving over most of my projects from BDS 2006 to XE 2… A little bit of a challenge but not too bad. The biggest problem was dealing with the Unicode string and char types the were introduced along the way. Haven’t moved anything to 64-bit though… I’d imagine that will be quite a challenge!

Forced “Get Latest” Using Git January 11, 2012

Posted by kevinbe71 in SCM Tools.
Tags:
add a comment

If you’re used to other version control packages you may be familiar with “Get Latest” or forced checkouts etc. Well, Tortoise doesn’t seem to map this type of function… So you’ll have to delete the folder in question, drop to the Git bash command prompt and then type “git reset –hard HEAD” (there are actually 2 dashes here even though it may look like one!). That will make sure you have what’s in source control without any local changes.

GWT Error: “No source code is available for type x.y.z; did you forget to inherit a required module?” December 22, 2011

Posted by kevinbe71 in GWT.
add a comment

“No source code is available for type x.y.z; did you forget to inherit a required module?” Check to make sure x.y.z is actually in the “client” package. GWT doesn’t allow you to use java source files from other packages when the code involved is client code- quite logical when you think about it, but the error isn’t that helpful in explaining this!

Delphi XE 2 – good time to upgrade December 20, 2011

Posted by kevinbe71 in Delphi.
add a comment

There’s a really good deal going on for Delphi upgrades right now. Check it out if you’re looking to upgrade or buy… It is only on until the end of December.

Degree Symbol on iPhone December 18, 2011

Posted by kevinbe71 in iOS.
add a comment

The degree symbol is a little hard to find on the iPhone keyboard: hold down the zero key on the numeric keyboard and you’ll see it shown after a few seconds. It’s that simple!

Flex Errors #2000 and #2035 December 7, 2011

Posted by kevinbe71 in Development, Flash, Flex, Uncategorized, Web Development.
add a comment

If you run either of these errors the following problem may be the cause…

I ran into this problem when using the htmlText property and inadvertently not encoding some HTML (including a reference to a non-existent image src) under certain conditions.  I was not expecting the encoding to be the issue so I’d been looking at some of the other code that had changed recently.

One confusing aspect about this was that I initially got the #2000 error that was accompanied by the “Security Error: Error #2000: No active security context” text.  This error wasn’t very helpful.  Then I discovered that a different browser gave me the “Error #2044: Unhandled IOErrorEvent: text=Error #2035: URL Not Found” error.  This error was much more helpful.  Why the different errors from different browsers?!  Different Flash plugin versions!  The #2000 error was produced by 10.2 while the more helpful error was generated by 10.3.

Hope someone finds this useful.

Windows Tray Area Network Icon Cross December 2, 2011

Posted by kevinbe71 in Vista.
add a comment

For a while my laptop has been showing a red cross over the LAN connection icon in the Windows tray area. I’m constantly connected via a wireless adapter so my physical LAN connection is not used. It appeared to be the latter that was causing the X to display over the network icon but I couldn’t figure out why until yesterday. Turns out that my network connection associated with my LAN was set to “public” while the wireless was set to “private”. The solution was as simple as switching from “public” to “private” and the ugly X icon went away… Still not sure why it behaves that way though!

Visual Studio 11 Dropping Macros? December 1, 2011

Posted by kevinbe71 in Visual Studio.
add a comment

Every IDE I’ve used has had some kind of record and playback macro capability but apparently that is about to change… VS 11 preview doesn’t have this capability and it seems that is the final decision on the matter according to Microsoft. Please comment on this post if you find macro recording and playback useful in the IDE you’re using (not that I expect this to reach a large audience but I’d just like to hear other developer’s thoughts on the matter).

Windows 8 IE 10 Metro Disabled by Firefox November 16, 2011

Posted by kevinbe71 in IE.
Tags: , , , ,
add a comment

I recently installed Firefox 8 on my Windows 8 Developer Preview system and subsequently IE started playing up. The metro shortcut went gray and would no longer launch IE metro- instead it resorted to launching IE classic! It turned out that the problem was related to the default browser setting. The fix is “easy”- make IE the default. This may or may not be a showstopper for you and that’s why I put easy in quotes! Hopefully Microsoft changes this behaviour by the time they release W8.

iTunes, MP3 Album Art and ID3 Tag Versions October 21, 2011

Posted by kevinbe71 in iTunes, MP3, Music, Winamp.
add a comment

If you think iTunes is embedding all of your album art into your MP3s you may be surprised when you try play them in another player like Winamp.  Here’s an explanation…

  1. Album art can only be stored in MP3s if they have a tag version > 2 (1.0 and 1.1 cannot have album art).
  2. iTunes respects your ID3 tag version and won’t change it.
  3. Downloaded album art doesn’t get embedded in the files.
  4. When you restore from an iTunes backup using the “external hard drive” method it doesn’t restore the downloaded album art, so you have to use “Get Album Artwork” again.
#2 sounds like a good thing, but if you’re not aware of this you may have the impression that the effort you’re going through is resulting in MP3s embedded with cover art… then you’ll be irritated no end to discover that the cover art just isn’t there!  This problem can be rectified by changing your ID3 tag version and then updating the album art- use “Covert ID3 Tags” in iTunes for this.
Note: I was using iTunes 10.5, so the issue I noticed in #4 above may not be the case for other versions.
Follow

Get every new post delivered to your Inbox.