<?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>The Sapience Society</title> <atom:link href="http://blog.lococobra.com/feed" rel="self" type="application/rss+xml" /><link>http://blog.lococobra.com</link> <description>The advice of a self-proclaimed technological ninjician</description> <lastBuildDate>Thu, 08 Dec 2011 19:41:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Launchpad Advanced Mapping for Traktor 2 (.tsi w/ instructions)</title><link>http://blog.lococobra.com/launchpad-advanced-mapping-traktor-2-tsi-w-instructions</link> <comments>http://blog.lococobra.com/launchpad-advanced-mapping-traktor-2-tsi-w-instructions#comments</comments> <pubDate>Sun, 14 Aug 2011 19:09:57 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[.TSI]]></category> <category><![CDATA[4-Deck]]></category> <category><![CDATA[Launchpad]]></category> <category><![CDATA[LED]]></category> <category><![CDATA[Mapping]]></category> <category><![CDATA[MIDI]]></category> <category><![CDATA[Native Instruments]]></category> <category><![CDATA[Traktor]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=520</guid> <description><![CDATA[Since I originally made my Launchpad mapping, I've done some work on it. I'd like to make that work available, but it comes with a warning... it is MUCH more complicated. If you are a beginner, or don't need advanced functionality like cue type hotswapping.. just stick with the original one. I'll document it in basically the [...]]]></description> <content:encoded><![CDATA[<p>Since I originally made my <a
href="http://blog.lococobra.com/launchpad-4-deck-mapping-for-traktor-tsi-w-instructions" target="_blank">Launchpad mapping</a>, I've done some work on it. I'd like to make that work available, but it comes with a warning... it is MUCH more complicated. If you are a beginner, or don't need advanced functionality like cue type hotswapping.. just stick with the original one.</p><p>I'll document it in basically the same way, but there will be some tricky parts. Just experiment and you'll figure it out.</p><p>Note: This is meant for Traktor 2!</p><p><span
id="more-520"></span></p><h2>Download</h2><p><strong><a
href="http://blog.lococobra.com/wp-content/uploads/2011/08/LaunchpadFullMapping.tsi" target="_blank">Right click here and "Save Link As"!</a></strong></p><p>&nbsp;</p><h2></h2><h2>The Layout</h2><p
style="text-align: center;"><a
href="http://blog.lococobra.com/wp-content/uploads/2010/12/Launchpad_Layout_21.jpg"><img
class="aligncenter size-full wp-image-423" style="margin: 25px;" title="Launchpad Layout" src="http://blog.lococobra.com/wp-content/uploads/2010/12/Launchpad_Layout_21.jpg" alt="Launchpad Layout 21 Launchpad Advanced Mapping for Traktor 2 (.tsi w/ instructions)" width="492" height="492" /></a></p><p>So above you can see the general idea, four decks divided into squares. Deck A is not labeled, but it's where the numbers are.</p><h2>How it works</h2><p>Global keys:<br
/> A: Full screen toggle<br
/> B: Full screen browser (for picking new songs)<br
/> C: Global SHIFT key - holding this down will also press D<br
/> D: Effect toggle key - switch filter buttons (14, 15) to toggle 3/4 instead of 1/2</p><p>Deck controls: (if there is a hyphen it means this is what happens when you hold down SHIFT)</p><ol><li>Set/Jump to cue point 1 - Delete cue point 1</li><li>Set/Jump to cue point 2 - Delete cue point 2</li><li>Set/Jump to cue point 3 - Delete cue point 3</li><li>Set/Jump to cue point 4 - Delete cue point 4</li><li>Set/Jump to cue point 5 - Delete cue point 5</li><li>Set/Jump to cue point 6 - Delete cue point 6</li><li>Set/Jump to cue point 7 - Delete cue point 7</li><li>Set/Jump to cue point 8 - Delete cue point 8</li><li>Set and activate loop - Activate loop (good for loop cue points)</li><li>Decrease loop size - Skip back by loop size</li><li>Increase loop size - Skip forward by loop size</li><li>Sync - Master track selection</li><li>Play - Reset to beginning of song</li><li>Effect 1 ON - Effect 3 ON</li><li>Effect 2 ON - Effect 4 ON</li><li>Monitor cue toggle</li></ol><div>Advanced functionality: (applies to the green labeled buttons on the far right)</div><div>"vol" - "snd B" when pushed activate cue hotswap mode.</div><div>When NOT  in cue hotswap mode:</div><div><ul><li>"vol" - select deck A for cue hotswap</li><li>"pan" - select deck B for cue hotswap</li><li>"snd A" - select deck C for cue hotswap</li><li>"snd B" - select deck D for cue hotswap</li><li>"trk on" - set any tracks that don't have active loops to loop size 16</li><li>"stop" - do the same as "trk on" but with loop size 32</li></ul><div>When in cue hotswap mode:</div><ul><li>"vol" - Change cue type of active deck to type "CUE"</li><li>"pan" - Change cue type of active deck to type "LOAD"</li><li>"snd A" - Change cue type of active deck to type "LOOP"</li><li>"snd B" - Change cue type of active deck to type "GRID"</li><li>"trk on" - Change cue type of active deck to type "FADE-IN"</li><li>"stop" - Change cue type of active deck to type "FADE-OUT"</li></ul><div>Other features:</div><div><ul><li>When the buttons on the right are not active, they will show a master out level</li><li>The play buttons blink when the track is active at that decks tempo</li></ul></div><div>If you're confused.. feel free to ask me what's up here!</div></div><div
class="shr-publisher-520"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/launchpad-advanced-mapping-traktor-2-tsi-w-instructions/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Gigabyte GA-X58A-UD3R (Rev 2.0) Audio Glitching Due to DPC Latency</title><link>http://blog.lococobra.com/gigabyte-ga-x58a-ud3r-rev-2-0-audio-glitching-due-dpc-latency</link> <comments>http://blog.lococobra.com/gigabyte-ga-x58a-ud3r-rev-2-0-audio-glitching-due-dpc-latency#comments</comments> <pubDate>Fri, 01 Jul 2011 07:43:00 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[Audio]]></category> <category><![CDATA[BIOS]]></category> <category><![CDATA[GA-X58A-UD3R]]></category> <category><![CDATA[GTX 460]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=508</guid> <description><![CDATA[Getting intermittent audio glitches while playing games with your GA-X58A-UD3R? Hopefully I can help. I've spent the last few months trying to track down why exactly this is happening. It's been virtually impossible to find the source of the audio glitches because Windows doesn't offer any sort of system performance profiler to tell you where your issues are stemming from. [...]]]></description> <content:encoded><![CDATA[<p><img
class="size-full wp-image-509 alignleft" style="margin-left: 25px; margin-right: 25px;" title="GA-X58A-UD3R" src="http://blog.lococobra.com/wp-content/uploads/2011/07/GA-X58A-UD3R.jpg" alt="GA X58A UD3R Gigabyte GA X58A UD3R (Rev 2.0) Audio Glitching Due to DPC Latency" width="220" height="220" /></p><h3>Getting intermittent audio glitches while playing games with your GA-X58A-UD3R?</h3><p>Hopefully I can help. I've spent the last few months trying to track down why exactly this is happening. It's been virtually impossible to find the source of the audio glitches because Windows doesn't offer any sort of system performance profiler to tell you where your issues are stemming from. What I was able to determine is that these audio glitches are due to "Deferred Procedure Call Latency" or "DPC Lag" for short. DPC allows higher priority tasks to take precedence over non-crucial ones. The problem is, a lot of drivers use this, and some seem to abuse/handle it poorly.</p><p>The recommended steps for finding the cause of DPU Latency is as follows:</p><ol><li>Download a <a
title="DPC Latency Checker" href="http://www.thesycon.de/deu/latency_check.shtml" target="_blank">DPC Latency Checker</a>.</li><li>Disable your devices one by one in the Windows Device Manager (focusing on things like NICs, USB controllers, Audio devices, etc..)</li><li>When the latency goes away, you've found your problem.</li></ol><p>The problem with this for me is... I have half a million devices in there! I spent an entire day going through and disabling literally every device that could be disabled and... NO DICE.</p><h3>Well, you may be in luck.</h3><p>After all that searching I finally found the reason why it was impossible to track down the problem. It appears that it was my motherboard! There's no way around that! Luckily, after updating to the latest beta BIOS it seems the problem is fixed! (Updating your BIOS is dangerous, and using a beta BIOS is especially dangerous.. but if you're anything like me this is a risk you'll be happy to take considering how damn annoying the audio glitching is)<br
/> <span
id="more-508"></span></p><h3>32-Bit or 64-Bit?</h3><p>If you're running a 32-bit version of Windows, then lucky you.. the updating process will be very easy. Simply <a
title="GA-X58A-UD3R BIOS Updates" href="http://www.gigabyte.com/products/product-page.aspx?pid=3449#bios" target="_blank">download the FG1 Beta BIOS</a> and run the update (I can't give any help - I'm running 64-bit and I had to do the following extra work..)</p><p>If you're running a 64-bit version of Windows or you just couldn't get the 32-bit version to work, then you have to go get another tool. The BIOS flasher included in the above FG1 download does not work for 64-bit. Gigabyte makes a different flasher called @BIOS that works though. <a
title="@BIOS Flashing Utility" href="http://www.gigabyte.com/MicroSite/121/tech_a_bios.htm" target="_blank">Download that tool here</a> and install it. Once it's installed, run it from your start menu. You can back up your current BIOS using the button in the application. Once you've got that done, click "Update BIOS from File" and use the file named "X58AUD3R.FG1" from the download up above. Please be aware that this will reset your CMOS (any overclocking/custom BIOS settings will be reset!) unless you uncheck the box labeled "Load CMOS default after BIOS update", though I'd recommend resetting your CMOS because who knows what stuff has changed between versions..</p><h3>Evaluating where you're at now</h3><p>After you've done that, you might want to download that DPC Latency checker and fire up a game or something to see how everything's running. You may get minor latency from other devices, but nothing else seems to measure up against the utter horribleness that occurred in the old BIOS version. I really hope this helps someone else avoid all the frustration that I had to deal with!</p><div
class="shr-publisher-508"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/gigabyte-ga-x58a-ud3r-rev-2-0-audio-glitching-due-dpc-latency/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Shipping Tracking &#8211; UPS and USPS Violate Best Practice PRG Pattern</title><link>http://blog.lococobra.com/shipping-tracking-ups-usps-violate-practice-prg-pattern</link> <comments>http://blog.lococobra.com/shipping-tracking-ups-usps-violate-practice-prg-pattern#comments</comments> <pubDate>Wed, 15 Jun 2011 20:44:00 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[FedEx]]></category> <category><![CDATA[Shipping]]></category> <category><![CDATA[Tracking]]></category> <category><![CDATA[UPS]]></category> <category><![CDATA[USPS]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=502</guid> <description><![CDATA[This is probably just me shaking my fist at the sky, but maybe someone from one of these companies will look at this and fix their code! Both USPS and UPS use POST requests when you enter a tracking number which means that if you refresh the tracking page your browser will most likely ask [...]]]></description> <content:encoded><![CDATA[<p>This is probably just me shaking my fist at the sky, but maybe someone from one of these companies will look at this and fix their code!</p><p>Both USPS and UPS use POST requests when you enter a tracking number which means that if you refresh the tracking page your browser will most likely ask you if you really want to resubmit the form. There are many problems with this, chief among them being the fact that you can't bookmark the page. Also, from a developer viewpoint this way of doing it violates the PRG pattern that is commonly thought of as a best practices technique. PRG can be summarized as follows: (excerpt taken from <a
href="http://www.theserverside.com/news/1365146/Redirect-After-Post" target="_blank">this page</a>)</p><blockquote><p><strong>Never show pages in response to POST<br
/> Always load pages using GET<br
/> Navigate from POST to GET using REDIRECT</strong></p></blockquote><p>Fedex on the other hand, stores the form information (tracking numbers and preferences) in the URL - you can bookmark this url, you can refresh, and it follows best practice guidelines.</p><p>Little things like this surprise me because we are talking about companies worth tens of billions of dollars. They have a very robust web-infrastructures built, and yet they have small problems like this that affect a large portion of their user-base - which could be fixed in an hour or two.</p><div
class="shr-publisher-502"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/shipping-tracking-ups-usps-violate-practice-prg-pattern/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Stanton SCS.1m Mapping Diagram for GEN Passthru DaRouter Preset</title><link>http://blog.lococobra.com/stanton-scs-1m-mapping-diagram-gen-passthru-darouter-preset</link> <comments>http://blog.lococobra.com/stanton-scs-1m-mapping-diagram-gen-passthru-darouter-preset#comments</comments> <pubDate>Mon, 06 Jun 2011 00:49:00 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[Mapping]]></category> <category><![CDATA[MIDI]]></category> <category><![CDATA[SCS.1m]]></category> <category><![CDATA[Stanton]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=490</guid> <description><![CDATA[Let me clarify... If you're looking at this, you're probably one of two people. 1. You want to map your SCS.1m and you already know how, you're just here for the chart. If this is the case then click the image to the left and leave me a comment to say thanks if it's helpful! [...]]]></description> <content:encoded><![CDATA[<h2><a
href="http://blog.lococobra.com/wp-content/uploads/2011/06/SCS.1m-Mapping-Diagram.png"><img
class="alignleft size-full wp-image-491" style="margin-right: 20px; margin-bottom: 20px;" title="SCS.1m-Mapping-Diagram-SMALL" src="http://blog.lococobra.com/wp-content/uploads/2011/06/SCS.1m-Mapping-Diagram-SMALL.png" alt="SCS.1m Mapping Diagram SMALL Stanton SCS.1m Mapping Diagram for GEN Passthru DaRouter Preset" width="250" height="296" /></a>Let me clarify...</h2><p>If you're looking at this, you're probably one of two people.</p><p>1. You want to map your SCS.1m and you already know how, you're just here for the chart. If this is the case then click the image to the left and leave me a comment to say thanks if it's helpful!</p><p>2. You want to make a custom mapping of your SCS.1m for some software.. but can't figure out where to even start. Don't worry, I was in your boat about 10 hours ago! Read on and I'll show you everything you need to know.</p><h4>I thought I knew how to map MIDI devices, but I'm so confused.. where do I even start?</h4><p>Mapping the SCS.1m isn't quite as straight-forward as most other MIDI devices. Here's the bad news: the SCS.1m isn't even a MIDI device at all. The messages it sends to your computer are in some other format, I have no idea what it is, but it's very unlikely you're going to get anything out of them. This means that you must use Stanton's "DaRouter" software. DaRouter takes the signals from the SCS.1m and converts them to MIDI using one of the presets that come with it. The unfortunate thing about these presets is that they come with a lot of built in behavior. Why is that bad? If you want to program your own behavior, these presets will fight you every step of the way. At least most of them will.</p><h4>Passthru Presets - the savior</h4><p>Thankfully, Stanton didn't leave us high and dry. They (only recently) give us "Passthru" presets, which just take the signals from the SCS.1m and make them available as raw MIDI which is exactly what we want for mapping! So what do we need to start custom mapping?</p><ol><li>SCS.1 Firmware Flasher for <a
href="http://www.stantondj.com/downloads/scs1-software/scs1-firmware-updater.exe" target="_blank">Windows</a> OR <a
href="http://www.stantondj.com/downloads/scs1-software/SCS1-firmware-updater.zip" target="_blank">Mac</a> - I'm not sure this is necessary, but it's probably a good idea to be up to date</li><li>SCS.1 DaRouter Installer for <a
href="http://www.stantondj.com/downloads/scs1-software/SCS1_DaRouter1.1.42.exe" target="_blank">Windows</a> OR <a
href="http://www.stantondj.com/downloads/scs1-software/SCS1_DaRouter1.1.42-osx.zip" target="_blank">Mac</a> - You absolutely need this, and the most recent version.</li></ol><p>Install DaRouter and select the "SCS1m GEN Passthru" preset.</p><p>That's it! You're ready to start mapping your SCS.1m using the chart above!</p><div
class="shr-publisher-490"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/stanton-scs-1m-mapping-diagram-gen-passthru-darouter-preset/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How to remove visual ads from Slacker Radio</title><link>http://blog.lococobra.com/remove-visual-ads-slacker-radio</link> <comments>http://blog.lococobra.com/remove-visual-ads-slacker-radio#comments</comments> <pubDate>Wed, 18 May 2011 23:56:43 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Hacks]]></category> <category><![CDATA[Slacker Radio]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=483</guid> <description><![CDATA[I've been really enjoying Slacker Radio recently as an alternative to Pandora. The thing I don't like is their distracting website layout. For free-users it's awful.. but even for premium users it still has an excessive amount of crap that just takes up space. Lets clean that up a bit. First you will need a [...]]]></description> <content:encoded><![CDATA[<p><img
class="alignright" style="margin-left: 20px; margin-bottom: 20px;" title="Slacker Radio" src="http://www.crunchgear.com/wp-content/uploads/2009/07/slacker.jpg" alt="slacker How to remove visual ads from Slacker Radio" width="330" height="199" />I've been really enjoying Slacker Radio recently as an alternative to Pandora. The thing I don't like is their distracting website layout. For free-users it's awful.. but even for premium users it still has an excessive amount of crap that just takes up space.</p><p><strong>Lets clean that up a bit.</strong></p><ol><li>First you will need a Firefox/Chrome plugin called "Stylish" - You can download it <a
title="Stylish for Firefox" href="https://addons.mozilla.org/en-US/firefox/addon/2108/" target="_blank">here for Firefox</a>, or <a
title="Stylish for Chrome" href="https://chrome.google.com/extensions/detail/fjnbnpbmkenffdnngjfgmeleoegfcffe" target="_blank">here for Chrome</a>.</li><li>Open up the options for Stylish and click "Add Style"</li><li>Name it "Clean Slacker" or whatever you want.</li><li>Specify that it "Applies to URLs on the domain slacker.com"</li><li>Enter the following for the "Code"</li></ol><blockquote><pre>body { overflow: hidden; background: black; }
#sitenav { background: none; }
#sitecontent { height: 400px !important; background: none; -webkit-box-shadow: none; }
#highlights { display:none; }
#sitefooter { display:none; }
#sitecopyright { display:none; }
#basicnav { height: 40px; overflow: hidden; }
#basicnav > div:first-child { display: none; }
#webplayer { margin-top: 25px; margin-left:150px; }
#tower { display:none; }
#upgradebanner { display:none !important; }</pre></blockquote><p>Check "Enabled" and "Save" and voila! Nice clean Slacker.</p><p>Plus, check out this page to snag a <a
title="Free month of Slacker Premium Radio" href="http://apps.facebook.com/freepremiumradio/contests/113180" target="_blank">free month of their Slacker Premium Radio service</a></p><div
class="shr-publisher-483"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/remove-visual-ads-slacker-radio/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>AutoIt &#8211; Write functions that know what line they were called from</title><link>http://blog.lococobra.com/autoit-write-functions-line-called</link> <comments>http://blog.lococobra.com/autoit-write-functions-line-called#comments</comments> <pubDate>Thu, 05 May 2011 18:58:09 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Code Magic]]></category> <category><![CDATA[AutoIt]]></category> <category><![CDATA[Debugging]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=468</guid> <description><![CDATA[Kind of a random and ultra-specific thing to write about, but like the other posts on this blog.. I'm writing this so some day when someone else is trying to figure out how to do this, they'll find this post in five minutes instead of smashing their head against a wall for an hour. The [...]]]></description> <content:encoded><![CDATA[<p>Kind of a random and ultra-specific thing to write about, but like the other posts on this blog.. I'm writing this so some day when someone else is trying to figure out how to do this, they'll find this post in five minutes instead of smashing their head against a wall for an hour.</p><h3>The problem</h3><p>You want to write a logging function for your application for debugging/development purposes. It would be helpful if the messages from that function included the line number that they were called from.. but how?</p><h3>The solution</h3><p>The <em>@ScriptLineNumber</em> macro will get you the current line, but how do we get the line number of where the function was called from? As it turns out, default values for functions are set at the time of the function call; this means that you can use <em>@ScriptLineNumber</em> as the default value for a <em>$Line</em> parameter and voila!</p><h3>The example</h3><pre>Func DebugLog($Message, $Line = @ScriptLineNumber)
   If Not @Compiled Then
      ConsoleWrite("(" &amp; $Line &amp; "): " &amp; $Message &amp; @CRLF)
   EndIf
EndFunc   ;==&gt;DebugLog</pre><p>That's it!</p><div
class="shr-publisher-468"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/autoit-write-functions-line-called/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Microsoft&#8230; I Want My Money Back</title><link>http://blog.lococobra.com/microsoft-money</link> <comments>http://blog.lococobra.com/microsoft-money#comments</comments> <pubDate>Mon, 28 Feb 2011 19:24:07 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Rant]]></category> <category><![CDATA[Suspended]]></category> <category><![CDATA[XBox LIVE]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=461</guid> <description><![CDATA[I got an email today, stating that due to the offensive language used in my XBox Live profile's "bio", my account had been suspended for an unspecified amount of time. The text in question was a quote from an Elliott Smith song I like, which contained the word "Fucked". In order to find out how much time [...]]]></description> <content:encoded><![CDATA[<p>I got an email today, stating that due to the offensive language used in my XBox Live profile's "bio", my account had been suspended for an unspecified amount of time. The text in question was a quote from an Elliott Smith song I like, which contained the word "Fucked". In order to find out how much time the suspension was for, I had to try to log in on my XBox.</p><p>-Tries to log in to XBox-</p><blockquote><p>You have been suspended from XBox LIVE.<br
/> You will not be able to sign in to XBox<br
/> LIVE until 3/1/2011</p></blockquote><p>It's February 28th. I have been suspended for A WHOLE DAY. I want my money back.</p><p>Here's what I'm confused about. If Microsoft had a problem with foul language being used in profiles, why not just disallow any profile text that had those words in te first place? It's not like I somehow slipped it past them, and I didn't try to obscure the letters by adding "Leet" or anything (it wasn't "Fu(k3d"). Plus, if they have a problem with language, why do they allow voice chat? Live is notorious for being full of horribly racist and lingually insensitive people, and yet as far as I know, those people do not get their accounts suspended.</p><p>Jokes on you Microsoft.. I've had that offensive language in my profile for a year and a half!</p><div
class="shr-publisher-461"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/microsoft-money/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>It&#8217;s shit like this M-Audio&#8230;</title><link>http://blog.lococobra.com/m-audio-midisport-2x2-os-issues</link> <comments>http://blog.lococobra.com/m-audio-midisport-2x2-os-issues#comments</comments> <pubDate>Fri, 14 Jan 2011 10:26:37 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[Customer Service]]></category> <category><![CDATA[Issues]]></category> <category><![CDATA[M-Audio]]></category> <category><![CDATA[MIDISport]]></category> <category><![CDATA[problems]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=443</guid> <description><![CDATA[For the last couple days I've been battling through the process of getting my mixer set up as a MIDI controller using an M-Audio MIDISport 2X2 Anniversary Edition. The problem is somewhat complex, you can read about it here. I was rather annoyed at the complete lack of any way to phone/email/contact M-Audio. Fed up [...]]]></description> <content:encoded><![CDATA[<p><img
class="alignleft" style="margin-right: 20px; margin-bottom: -25px;" title="MIDISport 2X2 Anniversary Edition" src="http://www.dv247.com/assets/products/53237_l.jpg" alt="53237 l Its shit like this M Audio..." width="251" height="251" /></p><p>For the last couple days I've been battling through the process of getting my mixer set up as a MIDI controller using an M-Audio MIDISport 2X2 Anniversary Edition. The problem is somewhat complex, you can read about it <a
href="http://forums.m-audio.com/showthread.php?25994-MIDISPORT-2X2-Anniversary-Edition-Problems-with-MIDI-out-on-Mac-OS-X-10.6.6">here</a>. I was rather annoyed at the complete lack of any way to phone/email/contact M-Audio. Fed up with trying to troubleshoot the problem on my own I decided to post on their forum. I wrote out as descriptive post as I could, and submitted it. Annoyingly enough, new threads have to be confirmed to get posted on that forum!</p><p>Ten hours later the thread is posted. Less than 24 hours later, there is a post from their "Audio QA Test Manager" stating that they've released an update which may help.</p><p>Nope, didn't fix anything - I reply.</p><p>Almost immediately, he writes back saying that he's going to forward the information over to the dev team that works on those drivers, and says "Thanks for the feedback. It is very helpful."</p><p>So what's the point of this post? Well, say what you will about M-Audio. Say they're overpriced, poorly constructed, buggy... whatever. At least they took my problem seriously and are dealing with it in a timely manor, and that's really all it takes.</p><p><strong>UPDATE 1</strong></p><p>He had me do some testing to see if I could help nail down the problem. The results were inconclusive so in order to fix it, he said that they ordered a Behringer DDM 4000 so they could do in-house testing. M-Audio just blew $400 to fix a minor bug!</p><div
class="shr-publisher-443"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/m-audio-midisport-2x2-os-issues/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Korg nanoKONTROL Traktor 4-Deck 4-Effect Mapping</title><link>http://blog.lococobra.com/korg-nanokontrol-traktor-4-deck-4-effect-panel-mapping</link> <comments>http://blog.lococobra.com/korg-nanokontrol-traktor-4-deck-4-effect-panel-mapping#comments</comments> <pubDate>Tue, 04 Jan 2011 21:33:47 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Music]]></category> <category><![CDATA[.TSI]]></category> <category><![CDATA[Korg]]></category> <category><![CDATA[Mapping]]></category> <category><![CDATA[MIDI]]></category> <category><![CDATA[nanoKONTROL]]></category> <category><![CDATA[Native Instruments]]></category> <category><![CDATA[Traktor]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=421</guid> <description><![CDATA[The Korg nanoKONTROL is a great little MIDI controller. It's got loads of buttons and knobs, but if you want to use it with Traktor you're going to need a mapping that lets you do everything you want with it. For me, since I already have my Launchpad running track control (play/loops/cues/monitor/sync), I wanted to [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://blog.lococobra.com/wp-content/uploads/2011/01/nanoKONTROL.jpg"><img
class="aligncenter size-full wp-image-430" title="nanoKONTROL" src="http://blog.lococobra.com/wp-content/uploads/2011/01/nanoKONTROL.jpg" alt="nanoKONTROL Korg nanoKONTROL Traktor 4 Deck 4 Effect Mapping" width="478" height="139" /></a></p><p>The Korg nanoKONTROL is a great little MIDI controller. It's got loads of buttons and knobs, but if you want to use it with Traktor you're going to need a mapping that lets you do everything you want with it. For me, since I already have my Launchpad running track control (play/loops/cues/monitor/sync), I wanted to use my nanoKONTROL to run effects. Specifically four effect panels. Also, normally I would have a mixer for controlling things like track volume, etc... but it's in the shop, so I also need the nanoKONTROL to do all of that.</p><p>Many hours of mapping later, here we are. When done you'll have two mappings.</p><p><strong>The first:</strong> Control any two effects panels at a time<br
/> <strong>The second:</strong> Four track mixing control, and one effect panel at a time<br
/> <span
id="more-421"></span></p><h4>First thing's first</h4><p>You need to do is download the Korg Kontrol Editor. This program allows you to change the MIDI CC/Notes for each control on the nanoKONTROL. You need it because my mapping does not use the default MIDI layout.</p><p>Here's a <a
href="http://www.korg.co.uk/products/software_controllers/nano/sc_nano.asp" target="_blank"><strong>link to the page that has the software</strong></a>. Once there, click on "nano Software" on the right and download the Korg Kontrol Editor for whatever OS you're running.</p><h4>Some information about that KnK (Korg nanoKONTROL) you have</h4><p>Before we get to remapping, I'd just like to explain a couple of things. This stuff is important!</p><p>First, you should know that the "scene" button in the lower left of the pad is actually not a MIDI control at all. When you click that button, it changes the <em>entire midi mapping</em> to four different preset "scenes". Why is this important? Well it means that we can have those pages do completely different things and Traktor (or any other program) will not get confused about what you're doing.</p><p>Secondly, the KnK does <strong>NOT</strong> support MIDI out. Unlike my Launchpad mapping, which lets you know exactly what's going on by updating the colors of the LEDs, you can never have Traktor tell the KnK what to light up. This imposes some really annoying restrictions on what you can and can't do when mapping. It also means if we want to have controls that visually toggle (lighting up the LED for the button), we have to do that at the hardware level not through software. This brings us to the next bit..</p><h4>Remapping your KnK using Korg Kontrol Editor</h4><p><strong>WARNING!!</strong> Remapping the MIDI settings for your KnK means overwriting the default settings. I will explain how to backup your settings, and it's easy to restore them. Just know that any mapping you did before will not line up with the new mapping and therefor will not work until you restore the defaults.</p><ol><li>Download my <a
href="http://blog.lococobra.com/wp-content/uploads/2011/01/KnK-Mapping-by-Lococobra.nktrl_set.zip">KnK Mapping by Lococobra.nktrl_set</a> file</li><li>Plug in your KnK</li><li>Open Korg Kontrol Editor, by default it will show you what MIDI CC numbers have been assigned to each control. I don't have the defaults at all anymore, but I remember it was a mess; random numbers everywhere. Lets fix that.</li><li>If you would like to back-up the existing settings you can do that by clicking File -&gt; Save As.</li><li>Go to File -&gt; Open and select my mapping file. Hey look.. everything is in order now. You may wonder how my mapping works at all, since all of the MIDI CCs are the same for every scene.  Well, if you click the upper left button with "---" on it, you'll see it says "Scene MIDI Channel" is set to 1. For Scene 2 this is 2, and so on for scenes three and four. This makes each scene operate completely separately while still having the same numbers. If none of that makes any sense to you, don't worry you're fine... everything will still work exactly as you're used to.</li><li>Click "Scene 1" up at the top</li><li>Now click Communication -&gt; Write Scene Data</li><li>Repeat step 6 and 7 for each of the other scenes.</li></ol><p>Voila! Your KnK is remapped. If you want to change the order of the scenes you can always do so by dragging the scene buttons around at the top.</p><h4>Map your KnK in Traktor - Twice</h4><ol><li>Download the following mappings - <a
href="http://blog.lococobra.com/wp-content/uploads/2011/01/korgKONTROL-4FX.tsi_.zip">korgKONTROL 4FX.tsi</a>, <a
href="http://blog.lococobra.com/wp-content/uploads/2011/01/korgKONTROL-4D-2FX.tsi_.zip">korgKONTROL 4D 2FX.tsi</a></li><li>Open Traktor Pro/Scratch/S4</li><li>Open preferences, go to the Controller Manager</li><li>Add -&gt; Import each mapping</li><li>Make sure the In/Out ports are set for both mappings</li></ol><p>That's it! You're good to go. All that's left is...</p><h4>Check out the documentation of the mappings:</h4><p>It took me like an hour to write this up, I hope it's good enough. The mappings are kind of complex, but just play around! You won't hurt anything by messing around. I definitely recommend running these with four decks and four effect panels.</p><p><a
href="http://blog.lococobra.com/wp-content/uploads/2011/01/KORG-nanoKontrol-Traktor-Mapping-Documentation.pdf">KORG nanoKontrol Traktor Mapping Documentation</a></p><p><strong><em>That's it! Please comment if you have any questions/comments/find this useful. I don't make money on this, the only thing I earn is the encouragement I get from comments...</em></strong></p><div
class="shr-publisher-421"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/korg-nanokontrol-traktor-4-deck-4-effect-panel-mapping/feed</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Dynamically Self-Calling PHP Functions/Methods (For Recursion)</title><link>http://blog.lococobra.com/dynamically-self-calling-php-functionsmethods-for-recursion</link> <comments>http://blog.lococobra.com/dynamically-self-calling-php-functionsmethods-for-recursion#comments</comments> <pubDate>Fri, 31 Dec 2010 06:06:28 +0000</pubDate> <dc:creator>Jeff</dc:creator> <category><![CDATA[Code Magic]]></category> <category><![CDATA[Call]]></category> <category><![CDATA[Calling]]></category> <category><![CDATA[Dynamic]]></category> <category><![CDATA[Function]]></category> <category><![CDATA[Method]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Recursion]]></category> <category><![CDATA[Self]]></category> <guid
isPermaLink="false">http://blog.lococobra.com/?p=414</guid> <description><![CDATA[Okay, I know this is silly, and I doubt anyone will even get into the situation where they'd need to do this. (And if they do find themselves needing it.. I'm guessing they could figure it out on their own) ANYWAYS.. I have a function that calls itself recursively, I was going to rename the [...]]]></description> <content:encoded><![CDATA[<p>Okay, I know this is silly, and I doubt anyone will even get into the situation where they'd need to do this. (And if they do find themselves needing it.. I'm guessing they could figure it out on their own) ANYWAYS..</p><p>I have a function that calls itself recursively, I was going to rename the function which of course meant I would also have to change all self-calls. This caused me to wonder.. Can this be done dynamically?</p><p>Ten minutes of googling later, nothing found. Time to cobble some random ideas together!</p><pre class="brush: php; gutter: true; title: ; notranslate">$self_caller = __FUNCTION__;
$self_caller($args); //For functions
$this-&gt;$self_caller($args); //For methods</pre><p>That's it! I'm not sure I would recommend doing this at all, seems hackish... but all concepts used here are documented on the php.net site: <a
href="http://php.net/manual/en/functions.variable-functions.php" target="_blank">Variable functions</a>, <a
href="http://php.net/manual/en/language.constants.predefined.php">Magic constants</a></p><div
class="shr-publisher-414"></div>]]></content:encoded> <wfw:commentRss>http://blog.lococobra.com/dynamically-self-calling-php-functionsmethods-for-recursion/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Dynamic page generated in 0.818 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-06 10:52:55 -->

