<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>silvermace.com</title>
	<link>http://silvermace.com</link>
	<description>Danushka &#34;silvermace&#34; Abeysuriya</description>
	<lastBuildDate>Thu, 08 Dec 2011 00:36:40 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.2.1" -->

	<item>
		<title>Understanding EXT_separate_shader_objects (OpenGLES 2.0.x)</title>
		<description><![CDATA[Traditionally, an OpenGLES shader-program (SP) consisted of 2 shader-objects (SO) precisely one vertex shader and one fragment shader which get attached and linked into some GPU executable format, if either SO is missing or invalid the SP can&#8217;t be used. More annoyingly, in many situations a common vertex shader is used in combination with different fragment shaders, [...]]]></description>
		<link>http://silvermace.com/2011/11/understanding-ext_separate_shader_objects-opengles-2-0-x/</link>
			</item>
	<item>
		<title>One liner to convert windows line endings to unix</title>
		<description><![CDATA[I was looking for an easy, in place solution to do this and came up with this for OSX &#8211; other OSs YMMV (the sed implementation is a little temperamental on OSX). You can fire this in a single line in terminal and can easily extend the find command to suite your match criteria e.g. find -iname "*.cpp" [...]]]></description>
		<link>http://silvermace.com/2011/07/one-liner-to-convert-windows-line-endings-to-unix/</link>
			</item>
	<item>
		<title>Simple explanations when you look closer</title>
		<description><![CDATA[Say you have a project where you&#8217;re creating a static lib file, and sharing the header files on projects which use this new lib file of yours, with a simple header like this (Foo.h): struct Foo { #ifdef MY_PREPROCESSOR_FLAG int myFlags; #endif int myInteger; int myOtherInteger; }; I know this might seem obvious, but make sure that [...]]]></description>
		<link>http://silvermace.com/2011/06/simple-explanations-when-you-look-closer/</link>
			</item>
	<item>
		<title>iOS Crashlog symbolication</title>
		<description><![CDATA[We recently had to take a look at some crashlogs that only had offsets in them (Symbolication didn&#8217;t happen for whatever reason &#8211; it usually does when XCode&#8217;s Organiser window downloads the logs of the device) Quick command line way of finding is using the atos tool. For our app CubeGame, you cd your way [...]]]></description>
		<link>http://silvermace.com/2011/04/ios-crashlog-symbolication/</link>
			</item>
	<item>
		<title>XCode Header Path Confusion</title>
		<description><![CDATA[XCode&#8217;s search rules for header paths are a strange beast. The most obvious aspects to take into consideration: Correct SDK root &#8220;Header Search Paths&#8221; (Project Settings) &#8220;User Header Search Paths&#8221; (Project Settings) &#8220;Always search user headers&#8221; (Project Settings) But there is one more element that will throw a spanner-of-confusing-impending-doom into the works: Header Maps. This nifty and [...]]]></description>
		<link>http://silvermace.com/2011/03/xcode-header-path-confusion/</link>
			</item>
	<item>
		<title>Qt Creator Debugger Not Displaying QString</title>
		<description><![CDATA[So on MacOS Qt Creator&#8217;s debugger (Qt 4.6) has been driving me nuts because for some reason it refused to display QString&#8217;s and other known internal types properly. After hunting around I found this bug report which refers to the 2010.04 SDK which is the one I have installed. The dylib with the gdb extensions [...]]]></description>
		<link>http://silvermace.com/2010/09/qt-creator-debugger-not-displaying-qstring/</link>
			</item>
	<item>
		<title>Finding UID&#8217;s in MacOS X 10.5/10.6</title>
		<description><![CDATA[Was helping setup a VM/NFS share on a friends OSX machine using all_squash to remap the UID and GID. Unfortunately OSX doesn&#8217;t like using the /etc/group file as traditional linux, doesn&#8217;t provide uid and gid commands or the Netinfo utility. So to cut to the chase, to list the UIDs of the local users: dscl [...]]]></description>
		<link>http://silvermace.com/2010/03/finiding-uids-in-macos-x-105106/</link>
			</item>
	<item>
		<title>Postfix SMTPD with SASL and AUTHMYSQL</title>
		<description><![CDATA[Setting up Postfix can be a bit of a jungle of information, I was left scratching my head wondering why Postfix refused to relay an email to an external address even when provided valid user credentials. The issue seemed to be that Postfix SMTPD wasn&#8217;t paying any attention to the /etc/postfix/sasl/smtpd.conf file (which contained the [...]]]></description>
		<link>http://silvermace.com/2010/01/postfix-smtpd-with-sasl-and-authmysql/</link>
			</item>
	<item>
		<title>Handy VC2008 Macro</title>
		<description><![CDATA[So, if you&#8217;ve ever tried to drag a folder from the filesystem into VS Solution Explorerer, sure it&#8217;ll recursively add all the files, but it wont mirror the folders in the solution, so you end up with every file placed at the root level of whatever &#8220;filter-folder&#8221; you dragged it into. This is very annoying [...]]]></description>
		<link>http://silvermace.com/2009/11/handy-vc2008-macro/</link>
			</item>
	<item>
		<title>Getting FCollada to compile with VC++ 2008</title>
		<description><![CDATA[When trying to build from the converted VC2005 solution file, you will encounter quite a few errors regarding mismatching declaration of _vsnprintf. error C3163: '_vsnprintf': attributes inconsistent with previous declaration the last post in this thread clarifies how this error arrises in common practice. To get it to compile I commented out these lines: FUtils\Platforms.h:145 [...]]]></description>
		<link>http://silvermace.com/2009/07/getting-fcollada-to-compile-with-vc-2008/</link>
			</item>
</channel>
</rss>

