<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>ryara</title>
	<link>http://blog.ryara.net</link>
	<description></description>
	<pubDate>Fri, 11 Jul 2008 23:47:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
	<language>en</language>
			<item>
		<title>Compiling SDL_gfx (2.0.17) on Visual Studio 2008 (VS9)</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/</link>
		<comments>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 23:47:07 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Programming/Technology]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/</guid>
		<description><![CDATA[Sadly there are no officially provided binaries for SDL_gfx (unlike most other SDL_* libraries), and so I had to compile it myself. SDL_gfx, however has just about no documentation telling you how to do this - and the methods provided doesn&#8217;t even work.
Since it took me a while to get this working, so I thought [...]]]></description>
			<content:encoded><![CDATA[<p>Sadly there are no officially provided binaries for <a href="http://www.ferzkopp.net/joomla/content/view/19/14/">SDL_gfx</a> (unlike most other SDL_* libraries), and so I had to compile it myself. SDL_gfx, however has just about no documentation telling you how to do this - and the methods provided doesn&#8217;t even work.</p>
<p>Since it took me a while to get this working, so I thought I&#8217;d write it down for future reference. </p>
<p>1. Download and unpack the source package.<br />
2. Rename *.c to *.cpp. This is to solve what seems to be <a href="http://support.microsoft.com/kb/166513">this bug</a>, that supposedly was fixed in VS6.<br />
3. Extract sdlgfx.vcproj from &#8216;Other Builds\VisualC7.zip&#8217; into the source directory and open it, and go through the Conversion Wizard.<br />
4. Remove the source files from the project, and then add the *.cpp files and the *.h files to the project. This is needed because the paths in the original project file are incorrect.<br />
5. Change target to Release.<br />
6. Add SDL.lib to Linker -> Input -> Additional Dependencies in the project properties.<br />
7. Add BUILD_DLL to C/C++ -> Preprocessor -> Preprocessor Definitions.<br />
8. In SDL_gfxPrimitives, replace<br />
<code><br />
#ifdef WIN32</p>
<p>__inline long int<br />
lrint (double ftl)<br />
{<br />
  int intgr;<br />
  _asm<br />
  {<br />
    fld flt<br />
    fistp intgr<br />
  };<br />
  return intgr;<br />
}</p>
<p>#endif<br />
</code><br />
with<br />
<code><br />
#define lrint(x) (floor(x+(x>0) ? 0.5 : -0.5))<br />
</code><br />
(As per <a href="http://www.wormux.org/wiki/howto/en/compile_under_visual.php#SDL_gfx">this site</a>)<br />
9. Compile, and save the solution somewhere when asked to.<br />
10. There should be 4 compilation errors, all of which can be solved by using static_cast&lt;&gt;():<br />
SDL_rotozoom.cpp (Line 501) becomes:<br />
<code>pc = static_cast&lt;tColorRGBA*&gt;(dst->pixels);</code><br />
SDL_rotozoom.cpp (Line 657) becomes:<br />
<code>pc = static_cast&lt;tColorY*&gt;(dst->pixels);</code><br />
SDL_gfxPrimitives.cpp (Line 3105) becomes:<br />
<code>sab = sqrt(static_cast&lt;double&gt;(a2 + b2));</code><br />
SDL_gfxPrimitives.cpp (Line 4289) becomes:<br />
<code>currentFontdata = static_cast&lt;const unsigned char*&gt;(fontdata);</code><br />
11. Compile. The project should now compile correctly, and you will find sdlgfx.dll and sdlgfx.lib in the Release sub-folder of your source directory.</p>
<p>Now, this is all good, but I would really prefer either official binaries, *or* fixes to the code problems, and instructions that are actually up to date.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash cycler</title>
		<link>http://blog.ryara.net/2008/06/15/flash-cycler/</link>
		<comments>http://blog.ryara.net/2008/06/15/flash-cycler/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 23:22:14 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Programming/Technology]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/06/15/flash-cycler/</guid>
		<description><![CDATA[Since I had a some time on my hands I decided to make a web page that cycles through a collection of flash movies and shows each one for a specified amount of time.
It should work in most modern browsers - I&#8217;ve verified with Opera and Firefox (Internet Explorer doesn&#8217;t work).
You can find the source [...]]]></description>
			<content:encoded><![CDATA[<p>Since I had a some time on my hands I decided to make a web page that cycles through a collection of flash movies and shows each one for a specified amount of time.</p>
<p>It should work in most modern browsers - I&#8217;ve verified with Opera and Firefox (Internet Explorer doesn&#8217;t work).</p>
<p>You can find the source of the page <a href='http://blog.ryara.net/wp-content/uploads/2008/06/flash-cycle.zip' title='Flash cycle'>here</a>, and a sample of it in use <a href="http://wrya.net/~tobbez/flash-cycle.php">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/06/15/flash-cycler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Super smash bros: Brawl (USA) on PAL Wii</title>
		<link>http://blog.ryara.net/2008/04/17/super-smash-bros-brawl-usa-on-pal-wii/</link>
		<comments>http://blog.ryara.net/2008/04/17/super-smash-bros-brawl-usa-on-pal-wii/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 11:48:21 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Programming/Technology]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/04/17/super-smash-bros-brawl-usa-on-pal-wii/</guid>
		<description><![CDATA[I finally got SSBB working, and here&#8217;s how. But let&#8217;s start with what does NOT work.
First, my setup:
PAL Wii with latest firmware (Bought on the release date)
WiiKey (Firmware 1.9s)
Try 1 (No go):
Enabling update blocker on the WiiKey:
Doesn&#8217;t work, from reading a litte on the net I found out that you have to enable dev mode [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got SSBB working, and here&#8217;s how. But let&#8217;s start with what does NOT work.</p>
<p>First, my setup:<br />
PAL Wii with latest firmware (Bought on the release date)<br />
WiiKey (Firmware 1.9s)</p>
<p>Try 1 (No go):<br />
Enabling update blocker on the WiiKey:<br />
Doesn&#8217;t work, from reading a litte on the net I found out that you have to enable dev mode as well.</p>
<p>Try 2 (A bit better):<br />
Enabled dev mode as well as the update blocker on the WiiKey. The disc loads correctly, but when you try to start it you just get a black screen.</p>
<p>Try 3 (Almost there):<br />
Got a tip to try it in 50hz mode. Did that, and&#8230; it works. However the game runs awfully slow, and you get audio artefacts from some sounds which means it&#8217;s not really playable.</p>
<p>Try 4 (Success!):<br />
Decided to try FreeLoader for Wii. I disabled update blocker and dev mode on the WiiKey, and changed back to 60hz.<br />
First I went to the disc screen and inserted the FreeLoader disc and waited for it to load (you may see some graphic artefacts during this time). Then I ejected the FreeLoader disc and inserted my SMBB disc and started it. And it worked fine.</p>
<p>If you get a white screen saying the disc can&#8217;t be read after the &#8220;Loading&#8230;&#8221; message you&#8217;re propably suffering from a bad burn.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/04/17/super-smash-bros-brawl-usa-on-pal-wii/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Self Injury</title>
		<link>http://blog.ryara.net/2008/03/05/self-injury/</link>
		<comments>http://blog.ryara.net/2008/03/05/self-injury/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 00:51:20 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Society]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/03/05/self-injury/</guid>
		<description><![CDATA[Posting this since it&#8217;s relevant to past experiences, and because I think it&#8217;s important to know about it. I strongly encourage you to read it.
]]></description>
			<content:encoded><![CDATA[<p>Posting <a href="http://www.enotalone.com/article/3002.html">this</a> since it&#8217;s relevant to past experiences, and because I think it&#8217;s important to know about it. I strongly encourage you to read it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/03/05/self-injury/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby&#8217;s GNU readline module</title>
		<link>http://blog.ryara.net/2008/02/25/rubys-gnu-readline-module/</link>
		<comments>http://blog.ryara.net/2008/02/25/rubys-gnu-readline-module/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 18:36:23 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Programming/Technology]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/02/25/rubys-gnu-readline-module/</guid>
		<description><![CDATA[One thing I really don&#8217;t like is libraries that lacks documentation. Which, incidentally, is exactly what ruby&#8217;s readline module does.
Happily, however, I found this post which explains at least the basic usage - thank you, Adam!
]]></description>
			<content:encoded><![CDATA[<p>One thing I really don&#8217;t like is libraries that lacks documentation. Which, incidentally, is exactly what ruby&#8217;s readline module does.</p>
<p>Happily, however, I found <a href="http://adam.blog.heroku.com/past/2008/1/22/using_rubys_readline_library/">this post</a> which explains at least the basic usage - thank you, <a href="http://adam.blog.heroku.com/">Adam</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/02/25/rubys-gnu-readline-module/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bits and pieces</title>
		<link>http://blog.ryara.net/2008/02/07/bits-and-pieces/</link>
		<comments>http://blog.ryara.net/2008/02/07/bits-and-pieces/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 14:43:10 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Random stuff]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/02/07/bits-and-pieces/</guid>
		<description><![CDATA[These are some interesting links I&#8217;ve picked up during the past months. Some of them are quite old, so don&#8217;t be surprised if you&#8217;ve already seen some of them.
Let&#8217;s begin with how robots could be looking at humans.
And then a pair of personality related articles: a few things you should know about introverts (that&#8217;s me). [...]]]></description>
			<content:encoded><![CDATA[<p>These are some interesting links I&#8217;ve picked up during the past months. Some of them are quite old, so don&#8217;t be surprised if you&#8217;ve already seen some of them.</p>
<p>Let&#8217;s begin with how robots could be <a href="http://baetzler.de/humor/meat_beings.html">looking at humans</a>.</p>
<p>And then a pair of personality related articles: a few things you should know about <a href="http://briankim.net/blog/2007/10/top-5-things-every-extrovert-should-know-about-introverts/">introverts</a> (that&#8217;s me). And also <a href="http://blog.eod.com/post/18462877">a comparison</a>, if you will, of the Wide/Deep personality types.</p>
<p>I found <a href="http://www.holyjuan.com/2007/05/10-attributes-of-really-lazy-people.html">10 Attributes of Really Lazy People</a> quite entertaining.</p>
<p>And <a href="http://benbrown.com/says/2008/01/02/if-all-your-friends-jumped-off-of-a-bridge/">some reasons</a> as to why I will never get an facebook account. Another, less serious, but still valid <a href="http://www.little-gamers.com/index.php?comicID=1728">view</a> on the same topic.</p>
<p>If you feel like you have too much time on your hans you could always do what this guy did: write a <a href="http://www.superjer.com/pixelmachine/">ray-tracing renderer</a> from scratch.</p>
<p><a href="http://www.stsc.hill.af.mil/CrossTalk/2008/01/0801DewarSchonberg.html">Here</a>&#8217;s some interesting views on today&#8217;s CS education, though I&#8217;ve not personally seen all those changes where I&#8217;m studying. It also presents a few things that are important for CS students to learn (more specifically in the programming area).</p>
<p>And at last, a nice <a href="http://www.shirky.com/writings/situated_software.html">explanation</a> as to why writing general applications isn&#8217;t always the right choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/02/07/bits-and-pieces/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blog challenge: Hovie clip</title>
		<link>http://blog.ryara.net/2008/02/03/blog-challenge-hovie-clip/</link>
		<comments>http://blog.ryara.net/2008/02/03/blog-challenge-hovie-clip/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 03:09:07 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Random stuff]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2008/02/03/blog-challenge-hovie-clip/</guid>
		<description><![CDATA[So, I&#8217;ve been challenged by Linnea with finding a clip from a movie whose name starts with the letter &#8216;H&#8217;, so here you go.
Now I challenge ozamosi, and YOU to find a clip from a movie that starts with the next letter in the alphabet, namely &#8216;I&#8217;. The ones you challenge will have to find [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been challenged by <a href="http://dory.nu/index.php/2008/01/16/den-efterfragade-filmsnutten">Linnea</a> with finding a clip from a movie whose name starts with the letter &#8216;H&#8217;, so <a href="http://www.youtube.com/watch?v=Fw6mAR3JR7U">here you go.</a></p>
<p>Now I challenge <a href="http://flukkost.nu/blog">ozamosi</a>, and YOU to find a clip from a movie that starts with the next letter in the alphabet, namely &#8216;I&#8217;. The ones you challenge will have to find clips from movies that start with the letter after that (&#8217;J'), and so on.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2008/02/03/blog-challenge-hovie-clip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Music and&#8230; music</title>
		<link>http://blog.ryara.net/2007/12/14/music-and-music/</link>
		<comments>http://blog.ryara.net/2007/12/14/music-and-music/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 17:46:32 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2007/12/14/music-and-music/</guid>
		<description><![CDATA[Lunar released his album Wall of Sound just a few days ago - have a listen if you haven&#8217;t already. Personally I think this album is even better than Hybrid Awakening, his first album. And as of now both albums are available as free downloads too  
Also on the music front: thesixtyone, a radio [...]]]></description>
			<content:encoded><![CDATA[<p>Lunar released his album <a href="http://www.lunarmusic.net/wallofsound/">Wall of Sound</a> just a few days ago - have a listen if you haven&#8217;t already. Personally I think this album is even better than Hybrid Awakening, his first album. And as of now both albums are available as free downloads too <img src='http://blog.ryara.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also on the music front: <a href="http://www.thesixtyone.com/">thesixtyone</a>, a radio service you can use to find new music to listen to. I think this works much better than last.fm - it plays music I like more oftenly, but this could just as well be because of my music preferences. A big difference from last.fm however is that you can choose what tracks you want to listen to - and do it as many times as you like.</p>
<p>So check both out <img src='http://blog.ryara.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2007/12/14/music-and-music/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ryara.net v3</title>
		<link>http://blog.ryara.net/2007/12/02/ryaranet-v3/</link>
		<comments>http://blog.ryara.net/2007/12/02/ryaranet-v3/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 00:33:56 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Programming/Technology]]></category>

		<category><![CDATA[Random stuff]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2007/12/02/ryaranet-v3/</guid>
		<description><![CDATA[I&#8217;ve yet again remade my website (second time this year), and I think it looks better than the older two.
New for this version is a new PHP backend for the portfolio part, which I&#8217;m quite happy with. Eventually I&#8217;ll probably release the source for it, too.
I&#8217;d also like to thank Andreas Viklund for the template [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve yet again remade my <a href="http://ryara.net">website</a> (second time this year), and I think it looks better than the older two.<br />
New for this version is a new PHP backend for the portfolio part, which I&#8217;m quite happy with. Eventually I&#8217;ll probably release the source for it, too.</p>
<p>I&#8217;d also like to thank <a href="http://andreasviklund.com/">Andreas Viklund</a> for the template I used, and friends of mine for help with a few design decisions.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2007/12/02/ryaranet-v3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Boredom yields creativity</title>
		<link>http://blog.ryara.net/2007/10/15/boredom-yields-creativity/</link>
		<comments>http://blog.ryara.net/2007/10/15/boredom-yields-creativity/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 01:10:29 +0000</pubDate>
		<dc:creator>tobbez</dc:creator>
		
		<category><![CDATA[Random stuff]]></category>

		<guid isPermaLink="false">http://blog.ryara.net/2007/10/15/boredom-yields-creativity/</guid>
		<description><![CDATA[Well, sometimes at least. A couple of days ago when I was bored I entertained myself with &#8220;enhancing&#8221; a crossword from a newspaper, and here&#8217;s the result:

I think it looks quite interesting, but I think I&#8217;ll try to use a bigger crossword next time (if it comes).
]]></description>
			<content:encoded><![CDATA[<p>Well, sometimes at least. A couple of days ago when I was bored I entertained myself with &#8220;enhancing&#8221; a crossword from a newspaper, and here&#8217;s the result:<br />
<img src='http://blog.ryara.net/wp-content/uploads/2007/10/enhanced_crossword.png' alt='“Enhanced” crossword' /><br />
I think it looks quite interesting, but I think I&#8217;ll try to use a bigger crossword next time (if it comes).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryara.net/2007/10/15/boredom-yields-creativity/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.777 seconds -->
<!-- Cached page served by WP-Cache -->
