<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>Nickr5's site</title>
        <link>http://www.byond.com/members/Nickr5</link>
        <description></description>
        <lastBuildDate>Fri, 10 Feb 2012 19:28:57 +0000</lastBuildDate>
        <language>en-us</language>
    
                <item>
            <title>Number Quiz Answer</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=118836</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=118836</guid>
            <pubDate>Tue, 20 Sep 2011 23:01:28 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=118836#comments</comments>
            
            <description>To find the formula, solve the system of equations:&lt;br&gt;
1 = a + b + c + d&lt;br&gt;
7 = 8a + 4b + 2c + d&lt;br&gt;
21 = 27a + 9b + 3c + d&lt;br&gt;
46 = 64a + 16b + 4c + d&lt;br&gt;
And replace a, b, c, and d in the following equation:&lt;br&gt;
y = ax&lt;sup&gt;3&lt;/sup&gt; + bx&lt;sup&gt;2&lt;/sup&gt; + cx + d&lt;br&gt;
&lt;br&gt;
Where y is the xth term in the sequence. I get y = 0.5x&lt;sup&gt;3&lt;/sup&gt; + x&lt;sup&gt;2&lt;/sup&gt; - 0.5x&lt;br&gt;
&lt;br&gt;
(This is in response to &lt;a href=&quot;http://www.byond.com/members/Toadfish?command=view_post&amp;post=118835&quot;&gt;Toadfish's riddle&lt;/a&gt;.)</description>
        </item>
                <item>
            <title>An experiment</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=111479</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=111479</guid>
            <pubDate>Sat, 02 Apr 2011 01:00:46 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=111479#comments</comments>
            
            <description>I've been working on a neat tool lately called &lt;a href=&quot;http://files.byondhome.com/Nickr5/DMSquish.exe&quot;&gt;DMSquish&lt;/a&gt; (.NET 4.0 required). It compresses DM code by removing unnecessary characters. Unlike some similar projects I've seen, it does a pretty good job of not breaking your code in the process (although I haven't tested every single odd syntax DM supports, so it might have trouble if you're doing something strange). Generally it can get rid of about 20% of characters, and up to 50% for files with lots of comments. The idea is to help with contests like the Cartridge Classic (which coincidentally ends today IIRC) and possibly serve as an obfuscator if one ever becomes necessary. There's still room for improvement - I'd especially like to add support for parsing dme files to automatically compress a project - but give it a try and comment if you have any problems!</description>
        </item>
                <item>
            <title>HTTP Post with DM</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=111211</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=111211</guid>
            <pubDate>Sat, 26 Mar 2011 21:24:22 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=111211#comments</comments>
            
            <description>I've released a few new libraries lately. The newest of these is &lt;a href=&quot;http://www.byond.com/developer/Nickr5/n_cURL&quot;&gt;n_cURL&lt;/a&gt;, which is a small wrapper around &lt;a href=&quot;http://curl.haxx.se/&quot;&gt;cURL&lt;/a&gt;. Most notably, this means BYOND developers are no longer stuck with world.Export's GET-only limitation.&lt;br&gt;
&lt;br&gt;
The main caveat is that games using this library must be trusted. This could be fixed to some degree by using call() in combination with &lt;a href=&quot;http://curl.haxx.se/libcurl/&quot;&gt;libcurl&lt;/a&gt; instead of shell(), but I don't plan on doing that any time soon.</description>
        </item>
                <item>
            <title>Remote Procedure Calls</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=110012</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=110012</guid>
            <pubDate>Thu, 24 Feb 2011 21:28:58 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=110012#comments</comments>
            
            <description>&lt;a href=&quot;http://www.byond.com/developer/Nickr5/n_RPC&quot;&gt;n_RPC&lt;/a&gt; is a small library that makes communicating between servers easy. It uses world/Export and world/Topic to let you call procs on other servers with a /connection object:&lt;br&gt;
&lt;div class=&quot;dmcode&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre class=&quot;dmcode&quot;&gt;
&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/connection/server = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;byond://127.0.0.1:9999&amp;quot;&lt;/span&gt;)&lt;br&gt;server.Call(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;say&amp;quot;&lt;/span&gt;, &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Hello, world!&amp;quot;&lt;/span&gt;)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
It also uses a hash (MD5 for now) to prevent anyone else's server from interacting with yours.&lt;br&gt;
&lt;br&gt;
Go take a look at the demo!</description>
        </item>
                <item>
            <title>Pixel-Perfect Collisions</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=107895</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=107895</guid>
            <pubDate>Tue, 01 Feb 2011 23:54:31 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=107895#comments</comments>
            
            <description>I just put a proof of concept &lt;a href=&quot;http://www.byond.com/developer/Nickr5/PixelCollision&quot;&gt;demo&lt;/a&gt; for performing pixel-perfect collision detection onto the hub. I explained how it works in &lt;a href=&quot;http://www.byond.com/developer/forum/?id=773962&amp;view=0&quot;&gt;this thread&lt;/a&gt; and will get the source up soon!&lt;br&gt;
&lt;br&gt;
Edit 2/8: I just found &lt;a href=&quot;https://code.google.com/p/byond-matrix-collision-library/&quot;&gt;this&lt;/a&gt; on Google Code. If you're interested in pixel collision, take a look at it. Anyone know who Albinoamsel is on BYOND?</description>
        </item>
                <item>
            <title>n_Scripting Update</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=107610</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=107610</guid>
            <pubDate>Tue, 25 Jan 2011 22:42:17 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=107610#comments</comments>
            
            <description>I have updated my &lt;a href=&quot;http://www.byond.com/developer/Nickr5/n_Scripting&quot;&gt;scripting library&lt;/a&gt; (for the first time in almost a year!) with a fix to a fairly major bug involving recursion I found a long time ago and was &lt;a href=&quot;http://www.byond.com/members/Nickr5?command=view_comments&amp;post=83738#comments&quot;&gt;reminded&lt;/a&gt; of recently by Toadfish. There are still some features I'd like to add and some parts could probably be designed or written better, but I'm not aware of any other bugs. So with this update it should be plenty ready to use in your project - check it out if you haven't already!&lt;br&gt;
&lt;br&gt;
For those of you that haven't heard of n_Scripting before, it supports two languages (both of which can be added to) out of the box and can be extended to support others. See &lt;a href=&quot;http://www.byond.com/developer/Nickr5/n_Scripting&quot;&gt;the hub&lt;/a&gt; for examples and the &lt;a href=&quot;http://www.byond.com/members/Nickr5?command=view_post&amp;post=84307&quot;&gt;original announcement&lt;/a&gt; for more information. Also, documentation is included.&lt;br&gt;
&lt;br&gt;
Maybe this means I should start working on &lt;a href=&quot;http://www.byond.com/games/Nickr5/Automata&quot;&gt;Automata&lt;/a&gt; again... If only it were &lt;a href=&quot;http://www.byond.com/members/BYONDHelp?command=view_tracker_issue&amp;tracker_issue=992&quot;&gt;possible&lt;/a&gt; to get syntax highlighting working in BYOND...</description>
        </item>
                <item>
            <title>Featured Resources</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=132421</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=132421</guid>
            <pubDate>Sat, 15 Jan 2011 00:12:35 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=132421#comments</comments>
            
            <description>Are featured libraries being chosen manually? It's strange that a library like &lt;a href=&quot;http://www.byond.com/developer/CriticalBotch/libLogs&quot;&gt;this&lt;/a&gt; has been featured (or even listed, really) when it says right on the hub, 'Not for public use.' There are a couple other featured resources of questionable quality I've seen so far, even some that have better alternatives available.</description>
        </item>
                <item>
            <title>Introducing n_Log</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=106327</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=106327</guid>
            <pubDate>Tue, 28 Dec 2010 16:32:32 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=106327#comments</comments>
            
            <description>After reading &lt;a href=&quot;http://www.byond.com/developer/forum/?id=769327&amp;view=0&quot;&gt;this thread&lt;/a&gt; on the forums, I decided to come up with an easy way to write logs and keep track of entries in them. The result is my new &lt;a href=&quot;http://www.byond.com/developer/Nickr5/n_Log&quot;&gt;n_Log&lt;/a&gt; library. The library (by default) writes to an XML file which can then be viewed, sorted, and filtered by the included log viewer application. I'm planning to write a more comprehensive article for Dream Makers some time soon, but for now take a look at the documentation. Feedback is greatly appreciated!&lt;br&gt;
&lt;br&gt;
It's licensed under the &lt;a href=&quot;http://en.wikipedia.org/wiki/MIT_License&quot;&gt;MIT License&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
Edit: Here are some screenshots of the log viewer.&lt;br&gt;
&lt;br&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.byond.com/members/Nickr5/files/map%20Screenshot%20-%2012_28_2010%20%2C%203_40_37%20PM.png&quot; rel=&quot;thumbnail&quot;&gt;&lt;img width=&quot;400&quot; height=&quot;295&quot; src=&quot;http://www.byond.com/members/Nickr5/files/map%20Screenshot%20-%2012_28_2010%20%2C%203_40_37%20PM_thumb.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.byond.com/members/Nickr5/files/map%20Screenshot%20-%2012_28_2010%20%2C%203_41_57%20PM.png&quot; rel=&quot;thumbnail&quot;&gt;&lt;img width=&quot;400&quot; height=&quot;295&quot; src=&quot;http://www.byond.com/members/Nickr5/files/map%20Screenshot%20-%2012_28_2010%20%2C%203_41_57%20PM_thumb.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;</description>
        </item>
                <item>
            <title>Some interface suggestions</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=132715</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=132715</guid>
            <pubDate>Sat, 12 Dec 2009 18:57:59 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=132715#comments</comments>
            
            <description>I'm not sure if this is intentional or not, but right now you can only select text in an input control using the mouse, even with the directional macros removed. In most text boxes, you can select text by holding the shift key and then pressing one of the arrow keys. Would this be possible to add for BYOND skins?&lt;br&gt;
&lt;br&gt;
Also, input controls are annoying in how they handle double quotes. Right now, the best option (other than maybe using client/Command or browser interfaces) for input controls that execute one specific verb is to set the input's command property to something like &lt;tt&gt;say&lt;/tt&gt; . The problem with this is that if the player hits the space bar right away, then a double quote appears at the start of the text box instead of a space. If the first character typed is a double quote, then if another double quote ever appears, then spaces typed by the user are filtered out by BYOND and when they hit enter, the say verb won't be called but instead be replaced by a 'Sorry, the following is not valid' error. Setting the control's command parameter to &lt;tt&gt;say &quot;&lt;/tt&gt; will fix the first problem, but cause any double quotes with at all with text after them to trigger an error. Finally, using the no-command property might fix this entirely, but then the user can't hit enter to submit the text (if a macro has been set for the enter key, it isn't run when an input control has focus).&lt;br&gt;
&lt;br&gt;
One more request: could Click() and DblClick() be called for a couple controls other than maps, grids, and statpanels? Specifically, it would be nice to be able to close a tab when the user middle clicks it.</description>
        </item>
                <item>
            <title>JSON Page Format</title>
            <link>http://www.byond.com/members/Nickr5?command=view_post&amp;post=132716</link>
            <guid>http://www.byond.com/members/Nickr5?command=view_post&amp;post=132716</guid>
            <pubDate>Sat, 12 Dec 2009 00:58:32 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Nickr5?command=view_comments&amp;post=132716#comments</comments>
            
            <description>BYOND's savefile format is nice for retrieving information from within BYOND games, but a more standard format would be helpful to do this from within other applications or websites. Thus, it would be nice if the website provided a format=json option in addition to format=text.</description>
        </item>
            
    </channel>
</rss>


