<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>XiaTek</title>
	<atom:link href="http://xiatek.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://xiatek.org</link>
	<description>0&#34;; DROP TABLE title_texts;</description>
	<lastBuildDate>Mon, 14 Nov 2011 20:01:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Bit Orchestra</title>
		<link>http://xiatek.org/?p=296</link>
		<comments>http://xiatek.org/?p=296#comments</comments>
		<pubDate>Sun, 13 Nov 2011 20:48:09 +0000</pubDate>
		<dc:creator>drschnz</dc:creator>
				<category><![CDATA[DrSchnz]]></category>

		<guid isPermaLink="false">http://xiatek.org/?p=296</guid>
		<description><![CDATA[Run a C program such as int main() { int t; for (t = 0;;t++) { putchar((t &#62;&#62; 6 &#124; t &#124; t &#62;&#62; (t &#62;&#62; 16)) * 10 + ((t &#62;&#62; 11) &#38; 7)); } } and you&#8217;ll get pseudo-random gibberish, but pipe the output of the same program into a 8-bit 8kHz pcm sound [...]]]></description>
			<content:encoded><![CDATA[<p>Run a C program such as</p>
<pre class="c">int main() {
    int t;
    for (t = 0;;t++) {
        putchar((t &gt;&gt; 6 | t | t &gt;&gt; (t &gt;&gt; 16)) * 10 + ((t &gt;&gt; 11) &amp; 7));
    }
}</pre>
<p>and you&#8217;ll get pseudo-random gibberish, but pipe the output of the same program into a 8-bit 8kHz pcm sound device and you&#8217;ll get something not far from a <a href="http://www.youtube.com/watch?feature=player_detailpage&#038;v=qlrs2Vorw2Y#t=16s">chip-tune symphony</a>. There&#8217;s been a recent <a href="http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html">trend</a> in the demoscene community of making simple, short programs that produce surprisingly complex music. Now, I don&#8217;t have anything for the hardcore demoscene artists who want to fit a techno song in a 12 byte program, but I do have something for those who want to experiment with algorithmic music.</p>
<p><img src="http://i.imgur.com/LbJ7L.png" alt="Bit Orchestra!" /></p>
<p>Bit Orchestra is a tool for quickly testing and prototyping expressions for create interesting noises (and sometimes even music!). It has some helpful music related functions and allows you to hear the output immediately. You can download Bit Orchestra <a href="https://github.com/downloads/dzamkov/Bit-Orchestra/BitOrchestra%20(1.2).zip">here</a> (sorry, Windows only, at the moment at least) or view the (MIT-licensed) source <a href="https://github.com/dzamkov/Bit-Orchestra">here</a>. Once you&#8217;ve download it, load and try out the included samples.</p>
<p>Also look at <a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=tCRPUv8V22o#t=314s">this</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://xiatek.org/?feed=rss2&#038;p=296</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create ZIP archives in C#</title>
		<link>http://xiatek.org/?p=289</link>
		<comments>http://xiatek.org/?p=289#comments</comments>
		<pubDate>Fri, 07 Oct 2011 16:09:26 +0000</pubDate>
		<dc:creator>C0BRA</dc:creator>
				<category><![CDATA[C0BRA]]></category>

		<guid isPermaLink="false">http://xiatek.org/?p=289</guid>
		<description><![CDATA[I was looking for a way to do this not to long ago; I came across some examples that used a third party libary and was over complicated, so I created this class based of one of MSDNs examples. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Packaging; using System.IO; public class ZipSticle { [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a way to do this not to long ago; I came across some examples that used a third party libary and was over complicated, so I created this class based of one of MSDNs examples.</p>
<pre name="code" class="c-sharp">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Packaging;
using System.IO;  

public class ZipSticle
{
    Package package;  

    public ZipSticle(Stream s)
    {
        package = ZipPackage.Open(s, FileMode.Create);
    }  

    public void Add(Stream stream, string Name)
    {
        Uri partUriDocument = PackUriHelper.CreatePartUri(new Uri(Name, UriKind.Relative));
        PackagePart packagePartDocument = package.CreatePart(partUriDocument, "");  

        CopyStream(stream, packagePartDocument.GetStream());
        stream.Close();
    }  

    private static void CopyStream(Stream source, Stream target)
    {
        const int bufSize = 0x1000;
        byte[] buf = new byte[bufSize];
        int bytesRead = 0;
        while ((bytesRead = source.Read(buf, 0, bufSize)) > 0)
            target.Write(buf, 0, bytesRead);
    }  

    public void Close()
    {
        package.Close();
    }
}
</pre>
<p>You can then use it like this:</p>
<pre name="code" class="c-sharp">
FileStream str = File.Open("MyAwesomeZip.zip", FileMode.Create);
ZipSticle zip = new ZipSticle(str);  

zip.Add(File.OpenRead("C:/Users/C0BRA/SimpleFile.txt"), "Some directory/SimpleFile.txt");
zip.Add(File.OpenRead("C:/Users/C0BRA/Hurp.derp"), "hurp.Derp");  

zip.Close();
str.Close();
</pre>
<p>You can pass a MemoryStream (or any Stream) to ZipSticle.Add such as:</p>
<pre name="code" class="c-sharp">
FileStream str = File.Open("MyAwesomeZip.zip", FileMode.Create);
ZipSticle zip = new ZipSticle(str);  

byte[] fileinmem = new byte[1000];
// Do stuff to FileInMemory
MemoryStream memstr = new MemoryStream(fileinmem);
zip.Add(memstr, "Some directory/SimpleFile.txt");

memstr.Close();
zip.Close();
str.Close();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://xiatek.org/?feed=rss2&#038;p=289</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MineViewer 1.6 Update</title>
		<link>http://xiatek.org/?p=265</link>
		<comments>http://xiatek.org/?p=265#comments</comments>
		<pubDate>Thu, 26 May 2011 14:40:25 +0000</pubDate>
		<dc:creator>C0BRA</dc:creator>
				<category><![CDATA[MineViewer]]></category>

		<guid isPermaLink="false">http://xiatek.org/?p=265</guid>
		<description><![CDATA[Added the new block types: Booster TrackPressurePad TrapDoor Bed Web TallGrass DeadShrubs And fixed a bug that stopped you from opening your save while Minecraft is currently running. Download: MediaFire]]></description>
			<content:encoded><![CDATA[<p>Added the new block types:</p>
<ul>
<li>Booster</li>
<li>TrackPressurePad</li>
<li>TrapDoor</li>
<li>Bed</li>
<li>Web</li>
<li>TallGrass</li>
<li>DeadShrubs</li>
</ul>
<p>And fixed a bug that stopped you from opening your save while Minecraft is currently running.</p>
<p>Download:<br />
<a title="MediaFire" href="http://www.mediafire.com/?qud19itno1qt0oi" target="_blank"> MediaFire</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xiatek.org/?feed=rss2&#038;p=265</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>MineViewer Update (finally!)</title>
		<link>http://xiatek.org/?p=239</link>
		<comments>http://xiatek.org/?p=239#comments</comments>
		<pubDate>Tue, 22 Mar 2011 22:44:19 +0000</pubDate>
		<dc:creator>C0BRA</dc:creator>
				<category><![CDATA[MineViewer]]></category>

		<guid isPermaLink="false">http://xiatek.org/?p=239</guid>
		<description><![CDATA[Sorry about the delay, I had (lots) of course work for college, and DrSchnz is working on other things, I was planning on doing it in some free time I had, but I kept procrastinating though, that&#8217;s when I received a message from AndruinGreydawn, he fixed the loading code so all I needed to do was fix the [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry about the delay, I had (lots) of course work for college, and DrSchnz is working on other things, I was planning on doing it in some free time I had, but I kept procrastinating though, that&#8217;s when I received a message from <a href="http://www.youtube.com/user/AndruinGreydawn">AndruinGreydawn</a>, he fixed the loading code so all I needed to do was fix the main menu (Thanks!), which turned out okay</p>
<p>Not much to say, it&#8217;s fixed to support your 1.3 maps, if you wan&#8217;t to open the older &lt; 1.2 maps then you will need the older version of MineViewer, and added the Lua constant for the new repeater block, oh and the menu changed a little too, not a grave deal you should see though, just behind the scenes.</p>
<p>Here is a complimatry image of the new menu:</p>
<p><img class="alignnone" title="New menu" src="http://i.imgur.com/WOpEB.png" alt="" width="385" height="277" /></p>
<p>Download:<br />
<a href="http://filesmelt.com/dl/MineViewer.zip" target="_blank">FileSmelt</a><br />
<a href="http://www.mediafire.com/?wvo0k7dta71hr15" target="_blank">MediaFire</a> (Still has 8 protocol version)</p>
]]></content:encoded>
			<wfw:commentRss>http://xiatek.org/?feed=rss2&#038;p=239</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>A GUI system in OpenTK</title>
		<link>http://xiatek.org/?p=229</link>
		<comments>http://xiatek.org/?p=229#comments</comments>
		<pubDate>Mon, 31 Jan 2011 19:01:09 +0000</pubDate>
		<dc:creator>drschnz</dc:creator>
				<category><![CDATA[DrSchnz]]></category>

		<guid isPermaLink="false">http://xiatek.org/?p=229</guid>
		<description><![CDATA[OpenTKGUI, a GUI library I&#8217;ve made for future projects is now in a stable (kindof) usable state. For the few who are interested, you can download the above demo application here or the library here. I will be updating the wiki with tutorials and information in my spare time.]]></description>
			<content:encoded><![CDATA[<p><img src="http://i.imgur.com/mt0Xa.png" alt="Demo application" /><br />
<a href="https://github.com/dzamkov/OpenTKGUI">OpenTKGUI</a>, a GUI library I&#8217;ve made for future projects is now in a stable (kindof) usable state. For the few who are interested, you can download the above demo application <a href="https://github.com/downloads/dzamkov/OpenTKGUI/LotsOfControls.zip">here</a> or the library <a href="https://github.com/downloads/dzamkov/OpenTKGUI/OpenTKGUI.dll">here</a>. I will be updating the <a href="https://github.com/dzamkov/OpenTKGUI/wiki">wiki</a> with tutorials and information in my spare time.</p>
]]></content:encoded>
			<wfw:commentRss>http://xiatek.org/?feed=rss2&#038;p=229</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MineViewer becomes SMP compatible :D</title>
		<link>http://xiatek.org/?p=201</link>
		<comments>http://xiatek.org/?p=201#comments</comments>
		<pubDate>Thu, 20 Jan 2011 15:37:24 +0000</pubDate>
		<dc:creator>C0BRA</dc:creator>
				<category><![CDATA[MineViewer]]></category>
		<category><![CDATA[minecraft]]></category>
		<category><![CDATA[mineviewer]]></category>
		<category><![CDATA[smp]]></category>

		<guid isPermaLink="false">http://xiatek.org/?p=201</guid>
		<description><![CDATA[MineViewer has been updated to support new blocks in Minecraft beta, sorry about the delay, I was working on getting MineViewer to connect to SMP servers (Don&#8217;t worry server admins, read further down), which I wanted to come with this update, unfortunately it is not complete and is buggy, so use it with caution, transparency is another new feature which [...]]]></description>
			<content:encoded><![CDATA[<p>MineViewer has been updated to support new blocks in Minecraft beta, sorry about the delay, I was working on getting MineViewer to connect to SMP servers (Don&#8217;t worry server admins, read further down), which I wanted to come with this update, unfortunately it is not complete and is buggy, so use it with caution, transparency is another new feature which has been implented.</p>
<p>For server admins who are concerned and do not want MineViewer to connect to their server, add &#8220;-nc&#8221; to the very start of your motd and MineViewer will refuse to connect.</p>
<p>Picture time <img src='http://xiatek.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img src="http://i.imgur.com/VNWtf.png" alt="" /><br />
<img src="http://i.imgur.com/C2I5c.png" alt="" /></p>
<p>(Ill get more screen shots when minecraft.net comes back up)</p>
<p>Oh, just make sure you click the little &#8220;^&#8221; button on the chat form and select force map download, this will move the player around slightly so the server sends us those precious chunks (just make sure you unload the chunks and reload them).</p>
<p><strong>Download</strong></p>
<ul>
<li><a href="http://mineview.minecraft.us/MineView.zip" target="_blank">Minecraft.us</a></li>
<li><a href="http://www.mediafire.com/?qmlhuum1uxl9peq" target="_blank">Mediafire</a></li>
</ul>
<p><a href="http://github.com/dzamkov/MineViewer" target="_blank">Source code on github</a></p>
<p>EDIT: Updated MineViewer to connect with the new launcher.<br />
EDIT 2: Is he doing this on purpose? Fixed auth again.</p>
]]></content:encoded>
			<wfw:commentRss>http://xiatek.org/?feed=rss2&#038;p=201</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
	</channel>
</rss>

