<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/"> 
 <channel> 
  <title>xero's b10g</title> 
  <link>http://the.fontvir.us/b10g/</link> 
  <description>xero's blog</description> 
  <ttl>50</ttl> 
   <image> 
    <title>xero's b10g</title> 
    <description>this is the public blog of xero harrison (alias the.fontvir.us). here yew will find a mix of code, tweaks, examples, linx, downloadz, and other random thoughs i may have.</description> 
    <url>http://the.fontvir.us/b10g/img/logo.gif</url> 
    <link>http://the.fontvir.us/b10g/</link> 
    <width>100</width> 
    <height>100</height> 
   </image> 
  <language>en-us</language> 
  <item> 
   <title>LSDJ keyboard tutorial</title> 
   <pubDate>Tue, 19 Jan 2010 08:23:31 -0600</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=126</link> 
   <guid>http://the.fontvir.us/b10g/?id=126</guid> 
   <description>
   <![CDATA[
 <a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-14.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-14.jpg" alt="LSDJ keyboard with prosound gameboys" border="0"/></a><br/>so, making music for LSDJ is fun. but after a while you start to wish you could <em>"play"</em> the gameboy software as a musical instrument as opposed to composing music in its tracker style interface. that's where the LSDJ keyboard comes in. the idea is, the keyboard sends messages though the gameboy linkport to LSDJ. the commands that can be sent vary from playing/stopping notes or chains or tables, un/muting channels,  in/decreasing octives, switching instruments, navigating the LSDJ screens, and more. <br/>here's what the <a href="http://wiki.littlesounddj.com/KeyboardInterface" target="_new">LSDJ wiki</a> says about the keyboard.<br/><br/><strong>things we'll need for the mod:</strong><br/>mini-din / ps2 keyboard<br/>gameboy link cable<br/>soldering iron<br/>solder<br/>flux<br/>wire stripper<br/>screw drivers<br/>heat-srink tubling / electrical tape<br/><br/><strong>finding the right gameboy link cable:</strong><br/>there are a few diffrent types of gameboy link cables, in the most general of sences there are "classic" gameboy cables and gameboy "advance" cables. obviously we will need a classic cable. for this mod to work we will need to power the keyboard, so you'll need a powered gameboy link cable. you can cut off the cable end from a gameboy 4-player link adapter (model# DMG-07), like i did, or you can use the correct powered cable. otherwise you will need to add a +5v external power source. nonfinite sells both <a href="http://www.nonelectronics.com/catalog/index.php?main_page=product_info&cPath=8&products_id=10&zenid=1829a677d9d350c5bc6e8d5eae5846d3" target="_new">powered link cables</a> and <a href="http://www.nonelectronics.com/catalog/index.php?main_page=product_info&cPath=8&products_id=67&zenid=1829a677d9d350c5bc6e8d5eae5846d3" target="_new">4 player adapters</a> at his shop <a href="http://nonelectronics.com/catalog/" target="_new">nonelectronics.com</a>.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-01.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-01.jpg" alt="the ancient keyboard in question" border="0"/></a><br/>the first thing you need is an old keyboard. for this mod you need a mini-din, aka a ps2 (not playstation 2), keyboard. i used an old hp ibm keyboard i pulled out of a dumbster at work. <strong>step one</strong> is testing it. plug it into you computer, open a text editor, and press all the keys. try tapping them very fast and see how often they actually fire. the responsiveness of the keys in this setting will be <i>realitive</i> to their sensitivity in LSDJ.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-02.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-02.gif" alt="popping off the keys"/></a><br/><strong>step two</strong> is popping off all the keys. use a flat head screw driver and stick it in the ridge beside the key then push the screw driver up like a lever. the key should just pop right off. repeat this process for all the normal keys. when you get to the spacebar and some of the other odd shaped keys, like enter, you might find springs or metal wires pressing two points to the keyboard. try and take note of their posisoning, because you will need to put them back that way.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-03.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-03.jpg" alt="pile of keys" border="0"/></a><br/>now you should have a piles of keys and a bare keyboard. throw all the keys in a bag, so you don't loose any, and flip the keyboard over. <strong>step three</strong> is unscrewing the keyboard, prying open and removing it's plasic covering.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-05.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-05.jpg" alt="unscrew the daughterboard" border="0"/></a><br/>carefully keep taking the keyboard apart. every model is slightly different, so pay attention so you can reassemble it. eventually you will see a small silicon daughter board with the cable attached. <strong>step four</strong> is removing the daughter board. unscrew the board from the inards of the keyboard and set it somewhere safe, like in an anti-static bag.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-06.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-06.jpg" alt="plastic removed" border="0"/></a><br/>now that you have all the plastic removed,  seperate all the diffrent parts and note how they were oriented in the casing.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-07.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-07.jpg" alt="cleaning" border="0"/></a><br/><strong>step five</strong> is cleaning everything up. i just used air duster and some glass cleaner on a paper towel. clean out all the little dirty recesses between and in the keys. if your keyboard is old like mine was, this step can take a while ;D <br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-08.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-08.jpg" alt="art shot of gameboy and keyboard circuits" border="0"/></a><br/>some of the plasic circuits can get a little dirty or folded, clean them as well and make sure they will align correctly when you put everything back. if you have never taken apart a keyboard before, it's very interesting...<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-09.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-09.jpg" alt="wire color etchings" border="0"/></a><br/>now take a look at the daughter board from the keyboard. if your lucky, like i was, each of the wires leading to the cables from the board will be labled. if they are not labled, your going to have to cut the end of the mini-din connector off and look at what color wire attaches to which pin number.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-10.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-10.jpg" alt="paint the keys with paint marker" border="0"/></a><br/><strong>step six</strong> is painting they keyboard. <em>this step is optional</em>. i used regular spray paint on the exterior plastic casings. i painted it all one coat of green, then splattered it slightly with a darker green. for the keys i wanted to make sure they had a less tacky feel, so i painted them with paint-markers. you can get them at an art/craft store or at some office supply stores, i like the "<a href="http://www.elmers.com/products/default.aspx?sectionid=4&catid=39" target="_new">painters</a>" brand. i painted the piano keys white and black and the LSDJ interface keys i painted green.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-11.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-11.jpg" alt="prep your tools for soldering" border="0"/></a><br/><strong>step seven</strong> is preping your tools for soldering. clean your soldering iron with some steel wool, set it to medium/low heat. you'll need flux, wire strippes, and somthing to wrap your wiring with. you can use heat-scrink tubing, electrical, or duct-tape. <strong>step eight</strong> is cutting the wires from both your gameboy link cable and the keyboard. then peel apart each of the wires and strip about 1/8" off each wire. use an xacto knife to peel back the cable shielding.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-diagram.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-diagram.jpg" alt="LSDJ keyboard wiring diagram" border="0"/></a><br/><strong>step nine</strong> is reviewing the wiring diagram. <a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-diagram.jpg" target="_new">click here</a> to download it. you will be connecting data, clock, power, and ground wires from both the keyboard and the gameboy link cable.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-12.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-12.jpg" alt="wires soldered and wrapped" border="0"/></a><br/><strong>step ten</strong> is soldering the wires. wrap the wires from each cable together and dip them in flux. then add a tiny dab of solder from your iron to connect them. after all your wires are attached, wrap each of them individually, then wrap the entire bundle of wires.<br/><a href="http://photo.xero.nu/lsdj.keyboard/lsdj.keyboard-13.jpg"><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-13.jpg" alt="interface complete" border="0"/></a><br/><strong>using the keyboard</strong><br/>step one is actually syncing the keyboard to LSDJ. insert the link cable you hacked onto the keyboard into the gameboy and load LSDJ. press SELECT+UP and go to the PROJECT screen. move the cursor down to the SYNC dialog, and press A+RIGHT until you selection is KEYBD. notice just to the right of PURGE SEQUENCER an integer prefixed by an "I" appears. if nothing is synced to LSDJ/the gameboy this will display I00. once a device is successfully synced, this will be a larger integer (e.g. I01, I02). my keyboard oddly enought syncs as I06. <br/><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-16.gif" alt="LSDJ project screen"/><br/><strong>making some noise</strong><br/>to get some sounds to play when pressing keys on the keyboard, the sequencer must already be running. (press START) the notes you play will be played back on the next step in the phrase sequencer. if you need to get faster responce timings, use a faster groove for the phrase you are playing.<br/><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-17.gif" alt="LSDJ song screen"/><br/>an important feature of LSDJ, that is easly  overlooked, is when the sequencer is running  the notes and instruments playing for each channel are displayed on the top right of the SONG screen. this can help a lot when your playing around and press the octave or instrument buttons up and down a bunch of times looking for something, and you get lost in the menus. this brings me to the one negative about the LSDJ keyboard interface. every once in a while the instrument your playing will jump up or down like ten positions. i think the problem is related to  pressing multiple keys too rapidly. i am not the only person to report this problem. technically the gameboy's z80i sound chip is playing each channel one note at a time in such a rapid succession it <i>"tricks"</i> the ear into thinking it's hearing them simultaniously. that's just how gameboy music works. and i think smashing keys on the keyboard can sometimes send multiple input messages per cycle in LSDJ and glitches it, but that diagnosis is purely conjecture. and that random issue happens so rarely it's not a big deal. the interface is not perfect, but it's an easy mod, hacky, fun, and adds a new twist to LSDJ.<br/><img src="http://the.fontvir.us/b10g/img/lsdj.keyboard-15.jpg" alt="LSDJ keyboard key layout"/><br/><strong>key mapping</strong><br/>SPACE play using custom table<br/>F1/F2 octave down/up<br/>F3/F4 instrument down/up<br/>F5/F6 select custom table to assign to SPACE<br/>F8 change pulse instrument playback channels (PU1, PU2, PU1+2)<br/>F9-F12 toggle channel mute (switches on key press)<br/>CTRL + (F9-F12) tap channel mute (switches on key press and release)<br/><br/>demo video<br/><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/-E8tgvJJlU4&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-E8tgvJJlU4&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> 
]]>   
</description> 
   <category>modz</category> 
   <category>LSDJ</category> 
   <category>tech</category> 
   <category>rawk</category> 
   <category>nintendo</category> 
   <category>h4x</category> 
   <category>tutorial</category> 
  </item> 

  <item> 
   <title>SQL clone / copy and swap database tables</title> 
   <pubDate>Fri, 14 Aug 2009 11:14:23 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=125</link> 
   <guid>http://the.fontvir.us/b10g/?id=125</guid> 
   <description>
   <![CDATA[
 have you ever had a database table that you needed to clone? you can use any number of convoluted methods such as:  manually coping and pasting rows in the database manager, running lots of queries/stored procedures, or writing a script to cycle though each row copying data from one table to the next. all of these methods are inferior and far more complex then the method im going to show you. <br/><br/><strong>introducing the select into query...</strong><br/>this method should be used if the table you want to clone exists, but the new table douse not. the select into query will create the new table for you, copying all the column names, properties, and data. if you want to make an exact clone of the table you can select * into the new table. but if you only want a few specific columns, you can declare only the ones you want. the syntax is elegantly simple...<ol><div>SQL procedure</div><pre><li><code>SELECT *</code></li><li><code>INTO [new-table]</code></li><li><code>FROM [old-table]</code></li></pre></ol><br/>this is a great solution for cloning a table. it's fast and lightweight since its all executed on the database end, not straddled between middleware.<br/><br/>now here's another situation...<br/>let's say we have a simple web-form that is submitting 4 pieces of data: username, date, value1, and value2. this form has been collecting data for a long time, and all of a sudden you realize that somehow your save procedure has swapped the data for value1 and value2! some people might just dive into the table and start modifying rows. but <em>im paranoid</em>. i like to validate my SQL procedures before i destroy an entire table's worth of data. we can use the same clone table technique above to make a copy of the table, but we can go a step further and also swap the data in value1 and value2 in the same procedure.<br/><br/><ol><div>SQL procedure</div><pre><li><code>SELECT *</code></li><li><code>INTO [new-table]</code></li><li><code>FROM [old-table]</code></li><li><code>   </code></li><li><code>DECLARE @temp AS decimal</code></li><li><code>UPDATE [new-table]</code></li><li><code>SET @temp=value1, value1=value2, value2=@temp</code></li></pre></ol><br/>basically we have 2 SQL statements in one here. the first will clone old-table into new-table. the second declares a temporary variable and uses the temp var to switch the data in value1 and value2 in the new-table.<br/><br/> if you only need to switch values for a smaller portion of the dataset, say all rows with an id value less than a certain number, you can simply add a where clause to the end of your statement.<br/><br/><ol><div>SQL procedure</div><pre><li><code>SELECT *</code></li><li><code>INTO [new-table]</code></li><li><code>FROM [old-table]</code></li><li><code>   </code></li><li><code>DECLARE @temp AS decimal</code></li><li><code>UPDATE [new-table]</code></li><li><code>SET @temp=value1, value1=value2, value2=@temp</code></li><li><code>WHERE id < 806</code></li></pre></ol><br/>this will copy the entire table into the new one, but only swap the values for ids less than 806. all other values will be cloned exactly.  
]]>   
</description> 
   <category>code</category> 
   <category>database</category> 
   <category>SQL</category> 
  </item> 

  <item> 
   <title>R4-DS - homebrew revolution</title> 
   <pubDate>Fri, 10 Jul 2009 13:40:49 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=124</link> 
   <guid>http://the.fontvir.us/b10g/?id=124</guid> 
   <description>
   <![CDATA[
 <a href="http://photo.xero.nu/r4-ds/r4-ds.00.jpg" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.00.gif" width="500" height="200" alt="R4-DS" border="0"/></a><br/>the nintendo ds is an awesome portipal gaming system. i have the ds lite, its thin, weights under a pound, has two super bright backlit screens, pretty sweet integrated speakers, the classic nintendo <i>plus</i> d-pad, four front buttons, and two sholder buttons. the bottom screen is touch sensitive, which makes for some awesome gameplay. the touch screen is sick, but a lot of people can be put off by it. so tons of games let your switch between the touch motion and d-pad motion. another thing i love about the ds lite is it's backwards compatable with gameboy advance. the new nintendo ds-i however is NOT backwards compatable, which i think is rediculious. <br/><a href="http://photo.xero.nu/r4-ds/r4-ds.01.jpg" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.01.jpg" width="500" height="200" alt="nintendo ds lite" border="0"/></a><br/>so the R4-DS is a revolution in homebrew/emulation/mod chip technology. the cart is what i like to call a "hack loader". basically during the normal boot sequence the data being read executes an exploit  that allows the user to run any custom code they want. this affords many interesting possibilitys. for instance custom operating system and interface graphics, running homebrew applications, or running roms/archival copys of games. the official site is <a href="http://www.r4ds.cn/" target="_new">here</a>. but i bought mine on <a href="http://www.amazon.com/DS-Revolution-R4/dp/B0026PKWVE/ref=sr_1_1?ie=UTF8&s=miscellaneous&qid=1247249675&sr=8-1" target="_new">amazon</a>.<br/><a href="http://photo.xero.nu/r4-ds/r4-ds.02.jpg" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.02.jpg" width="500" height="200" alt="r4-ds chrono trigger cart size comparision" border="0"/></a><br/>as yew can see, the r4-ds is the same size as a regular ds cartridge. the game shown is <a href="http://na.square-enix.com/ctds/" target="_new">chrono trigger</a>, which is a revamp of a classic super nintendo rpg, its one of my favorite games of all time. but the r4 has a tiny sd-micro slot on the back. the size of the sd card supported varies depending on which model of the r4 yew have. i have the r4-ds sd-hc version, which supports the maximum of 32 gigabytes. i suggest you get the sd-hc version, the R4-III only supports up to 2gb, which is a huge difference.<br/><a href="http://photo.xero.nu/r4-ds/r4-ds.03.jpg" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.03.jpg" width="500" height="520" alt="r4-ds game select" border="0"/></a><br/>the main interface can be customized to look how ever you want. the developers of the r4 dont provide you with a tool to customize it with themeselves, but someone else has created a program called <a href="http://dxe22.wordpress.com/r4tc/" target="_new">alice</a>. its a freeware gui application that tells your all the necessarly file sizes and resolutions for each of the images, as well as help you create layover, transparency, and rollover effects for menus. <br/><a href="http://cr4p.xero.nu/modz/R4DS.theme.(circuit.board)/" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.04.jpg" width="500" height="385" alt="r4-ds circuit theme by xero" border="0"/></a><br/>here's the theme i made for my r4-ds. i call it circuit board. <a href="http://cr4p.xero.nu/modz/R4DS.theme.(circuit.board)/" target="_new">download it here</a>. the three buttons on the bottom left screen are the three main options of the r4. the first is ds emulations, this allows yew to play archival copies of games. the center icon is the media player moonshell. it can play mp3s and a custom ds video codec. the final option is to boot to slot-2 (gameboy advance slot). this however will not play regular gba games (you have to remove the r4 to do that) this option is for booting legacy gba hackloaders.<br/><a href="http://photo.xero.nu/r4-ds/r4-ds.04.jpg" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.05.jpg" width="500" height="200" alt="r4-ds emulating metroid pinball" border="0"/></a><br/>playback of emulated games is <i>flawless!</i> the speed, the sounds, the graphics, everything looks exactly the same. even games with multiplayer functionality work perfectly. whats great about the r4 is yew can grab an 0-day rom of a new game and check it out. if it sux, yew just delete the rom and forget about it. and if yew find out its awesome, then yew can buy the game and feel assured what its gonna be all about. i think if nintendo allowed yew to download demo roms directly to an sd card on the hardware to "try before yew buy" people would go crazy, and the ds scene would explode.<br/><a href="http://photo.xero.nu/r4-ds/r4-ds.05.jpg" target="_new"><img src="http://the.fontvir.us/b10g/img/r4-ds.06.jpg" width="500" height="200" alt="metroid reflection DS" border="0"/></a><br/>so now, yew might be asking...<blockquote><div class="top"> </div><div class="box">"so xero, what can you play on this? and where can i get it???"</div><div class="bot">   </div></blockquote>a very good question. first off the obvious answer is DS ROMs. and there are tons of sites out there to get them from. my favorite <i>public</i> site is the <a target="_new" href="http://www.devils-shadow.com/forums/nintendo-ds-roms/">devil's shadow</a>. but if you google it, there are tons more. the other main application type is homebrew. and this is a very broad area. so, homebrew apps can be anything from data organizers, media players, emulators or homemade games. some of my favorites are <a target="_new" href="http://www.ds-xtra.com/Lameboy">Lameboy</a> (original gameboy/color emulator. *LSDJ anyone?*), <a target="_new" href="http://www.workingdesign.de/projects/jenesisds.php">jEnesisDS</a> (a sega genesis emulator), <a target="_new" href="http://www.dragonminded.com/?loc=ndsdev/DSOrganize">DS Organize</a> (calendar, address book, todo list, graphics app, file browser, calculator, irc client, webbrowser, rss feed reader.), <a target="_new" href="http://www.ds-xtra.com/MoonShell">MoonShell</a> (a massive media player), <a target="_new" href="http://www.ds-xtra.com/SvSIP">SvSIP</a> (VoIP/SIP client), and finally <a target="_new" href="http://www.glitchds.com/">glitchDS</a>/<a target="_new" href="http://www.glitchds.com/about/cellsds/">cellsDS</a> (a fun suite of  graphical music composing tools). and there are tons of other consoles emulated for the DS. zophar's domain has <a target="_new" href="http://www.zophar.net/consoles/nds.html">a great list here</a>. 
]]>   
</description> 
   <category>nintendo</category> 
   <category>gamez</category> 
   <category>tech</category> 
   <category>h4x</category> 
   <category>1337</category> 
   <category>downloadz</category> 
   <category>linx</category> 
   <category>LSDJ</category> 
  </item> 

  <item> 
   <title>3 new chip-tune albums to rock out!</title> 
   <pubDate>Tue, 16 Jun 2009 16:10:24 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=123</link> 
   <guid>http://the.fontvir.us/b10g/?id=123</guid> 
   <description>
   <![CDATA[
 <a target="_new" href="http://www.iimusic.net/catalog/2009/06/nectar"><img src="http://the.fontvir.us/b10g/img/nectar.gif" alt="phlogiston - nectar" style="float: left; padding: 5px;" border="0"/></a><a target="_new" href="http://www.iimusic.net/catalog/2009/06/nectar">nectar</a> by <a target="_new" href="http://www.8bitpeoples.com/discography/by/phlogiston">phlogiston</a> – nectar is 2 EPs in one. part one, <i>Croquel Adventure</i>, continues in the chip-tune tradition of short, fun, pure NES songs. while part two, <i>HEAT</i>, transports you to an 80’s vision of the distant future. the album is a tour through a vast dystopian cityscape where high-tech low-life roam the streets. and the lines between man and machine have been washed out.<br/><br style="clear: both;"/><a target="_new" href="http://nonfinite.bandcamp.com/"><img src="http://the.fontvir.us/b10g/img/southbridge.gif" border="0" alt="nonfinite - southbridge" style="float: left; padding: 5px;"/></a><a target="_new" href="http://nonfinite.bandcamp.com/">southbridge</a> by <a target="_new" href="http://www.nonelectronics.com/">nonfinite</a> – southbridge combines triumphant melodies with though provoking harmony and infection head-rocking beats. like <a target="_new" href="http://the.fontvir.us/b10g/?id=108">northbridge</a>, each track has a unique feel to it. and will peak your interest to the last bleep! you can listen to the entire album online but it's not free. 25% of all proceeds will benefit "<a target="_new" href="http://chip-in.com/">chip-in</a>" a group of 8-bit people trying to help out.<br style="clear: both;"/><br style="clear: both;"/><a target="_new" href="http://www.8bitpeoples.com/discography/8BP099"><img src="http://the.fontvir.us/b10g/img/starscream.gif" border="0" alt="starscream - future, and it doesnt work" style="float: left; padding: 5px;"/></a><a target="_new" href="http://www.8bitpeoples.com/discography/8BP099">future, and it doesn't work</a> by <a target="_new" href="http://www.8bitpeoples.com/discography/by/starscream">starscream</a> - in the not so distant future awaits the election of the first third party candidate to the white house- they will hail from the <i>space party</i>, a political coalition founded by astrophysicists, former democrats and ex-NASA employees. starscream tells a tale of victory, science, and potentially catastrophic foreign policy.<br style="clear: both;"/> 
]]>   
</description> 
   <category>1337</category> 
   <category>downloadz</category> 
   <category>linx</category> 
   <category>LSDJ</category> 
   <category>nintendo</category> 
   <category>rawk</category> 
  </item> 

  <item> 
   <title>vegan chocolate chip cookie recipe</title> 
   <pubDate>Tue, 28 Apr 2009 15:57:31 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=122</link> 
   <guid>http://the.fontvir.us/b10g/?id=122</guid> 
   <description>
   <![CDATA[
 <img src="http://the.fontvir.us/b10g/img/vegan-choco-chip.jpg" alt="vegan chocolate chip recipe"/><br/>start with a small container of margarine<br/>(like 7.5oz of promise or smart balance)<br/><br/>blend in some sugar.<br/>i use about 1/3 brown sugar, 1/3 white sugar, and 1/2 a cup of confection [powdered] sugar.<br/><br/><strong>*optional*</strong><br/>you can also use 1 table spoon of honey and/or agave nectar.<br/><br/>stir until creamy.<br/><br/>add 1 tea spoon vanilla and stir.<br/>add flour. <br/>(i like to mix 1/2 cup of whole wheat flour and 1+1/2 cup of white flour.)<br/><br/><strong>*NOTE*</strong><br/>if you used honey / agave nectar you'll need and extra 1/2 cup of flour.<br/><br/>add 1 tea spoon of salt.<br/>add 1 tea spoon of baking soda.<br/>add 1 tea spoon of baking powder.<br/><br/>you want the dough to be stiff not sticky. if necessary, add more flour.<br/><br/>then stir in a small bag of semi-sweet chips. (i use the dark chocolate minis.)<br/><br/>shape the dough into walnut sized balls.<br/> put on a cookie sheet and flatten slightly.<br/>bake at 350 degrees for 12-14 minutes.<br/><br/>getting the dough the right consistency is crucial. if your first batch is coming out too thin or flat, you need to add more flour. the dough shouldn't stick to your hands when rolling then into balls. just keep adding a small amount of flour at a time until they don't feel so sticky.<br/><br/>let cool.<br/>enjoy! 
]]>   
</description> 
   <category>tutorial</category> 
   <category>random</category> 
   <category>nina</category> 
   <category>1337</category> 
  </item> 

  <item> 
   <title>2 new free video game fonts!</title> 
   <pubDate>Sat, 10 Jan 2009 15:10:44 -0600</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=121</link> 
   <guid>http://the.fontvir.us/b10g/?id=121</guid> 
   <description>
   <![CDATA[
 <a href="http://fontvir.us/?x=fontz&xx=NARPASSWORD00000" target="_new"><img src="http://the.fontvir.us/b10g/img/metroid-font-NARPASSWORD00000.jpg" alt="download the metroid font" border="0"/></a><br/><br/>i have been wanting to make a <a href="http://en.wikipedia.org/wiki/Metroid" target="_new">metroid</a> font for a long time now. <a href="http://fontvir.us/?x=fontz&xx=NARPASSWORD00000" target="_new">NARPASSWORD00000</a> is made from the classic nintendo NES game metroid's password screen. the font also includes some dingbatz made from the games sprites. but i decided to go the extra mile and create the rest of the full international character set. the fonts name is a reference to a special backdoor password hidden in the game. <a href="http://fontvir.us/?x=fontz&xx=NARPASSWORD00000" target="_new">click here to download</a>.<br/><br/><a href="http://fontvir.us/?x=fontz&xx=ghouls.ghosts.and.goblins" target="_new"><img src="http://the.fontvir.us/b10g/img/font-ghouls-ghosts-goblins.jpg" alt="download the ghost and goblins font" border="0"></a><br/><br/>my next new font is a capcom classic. <a href="http://fontvir.us/?x=fontz&xx=ghouls.ghosts.and.goblins" target="_new">ghouls ghosts and goblins</a> made from sprites ripped directly from the NES rom chip. the game has had many incarnations over the years, like <a href="http://en.wikipedia.org/wiki/Ghosts_'n_Goblins" target="_new">ghosts 'n goblins</a> and <a href="http://en.wikipedia.org/wiki/Ghouls_'n_Ghosts" target="_new">ghouls 'n ghosts</a>. so i named the font a combination of the two. this font contains the full set of A-Z, digits, special characters, and some 8bit dingbatz. <a href="http://fontvir.us/?x=fontz&xx=ghouls.ghosts.and.goblins" target="_new">click here to download</a>. 
]]>   
</description> 
   <category>fontz</category> 
   <category>gamez</category> 
   <category>downloadz</category> 
   <category>nintendo</category> 
  </item> 

  <item> 
   <title>TK and the Pens!</title> 
   <pubDate>Tue, 06 Jan 2009 11:31:45 -0600</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=120</link> 
   <guid>http://the.fontvir.us/b10g/?id=120</guid> 
   <description>
   <![CDATA[
 <img src="http://www.fontvir.us/the/b10g/img/TK-and-xero.jpg" alt="tyler kennedy and xero harrison"/><br/>so the other day nina, will, and i went to a <a href="http://penguins.nhl.com/" target="_new">pittsburgh penguins hockey</a> pratice. i got to meet TK! (aka #48 tyler kennedy) i couldnt belive that he was only a little bit taller then me, but he's carved out of solid rock! GO PENS! 
]]>   
</description> 
   <category>blog</category> 
   <category>random</category> 
   <category>winter</category> 
  </item> 

  <item> 
   <title>gameboy prosound mod</title> 
   <pubDate>Mon, 10 Nov 2008 11:12:29 -0600</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=119</link> 
   <guid>http://the.fontvir.us/b10g/?id=119</guid> 
   <description>
   <![CDATA[
 <a href="http://photo.xero.nu/prosound/01-clear.gameboy.jpg"><img src="http://the.fontvir.us/b10g/img/prosound01.jpg"/></a><br/><br/>today’s mod is for the original gameboy. if you want to get serious about chip tunes, whether your using <a href="http://littlesounddj.com" target="_new">lsdj</a> or <a href="http://nanoloop.com/" target="_new">nanoloop</a>, the sound quality of your instrument is a priority. the stock nintendo gameboy is equipped with a single headphone jack. and if you have ever tried recording anything from that, it sounds pretty bad. thus the prosound modification was invented. <a href="http://trash80.net" target="_new">trash80</a> was first credited with this technique, but i will be using a mix of tutorial's published by both <a href="http://lowgain-audio.com/GBclassicmod.htm" target="_new">lameboy</a> and <a href="http://filefreakout.com/animal-style/modifications.html" target="_new">animalstyle</a>. this mod adds a new line-level-out jack to the device, while keeping the headphone functionality intact.<br/><br/><a href="http://photo.xero.nu/prosound/02-parts.jpg"><img src="http://the.fontvir.us/b10g/img/prosound02.jpg"/></a><br/><br/>things we'll need for the mod:<br/><br/>DMG-01 gameboy<br/>1/8" (3.5mm) stereo phone jack<br/>soldering iron<br/>solder<br/>flux<br/>thin gauge wire<br/>wire stripper<br/>jewelers screw driver<br/>triwing screw driver<br/>awl<br/>dremel or drill<br/>pliers<br/><br/><a href="http://photo.xero.nu/prosound/03-screws.jpg"><img src="http://the.fontvir.us/b10g/img/prosound03.jpg"/></a><br/><br/>the triwing screw-driver is an integral part of this mod. nintendo uses a nonstandard screw on the 6 found on the outside of the case. but all the screws on the inside of the gameboy are a normal mini-philips head. i got my triwing on <a href="http://search.ebay.com/search/search.dll?satitle=triwing+screwdriver" target="_new">ebay</a> for like $2.00, but you can get them <a href="http://www.google.com/products?q=tri+wing+screwdriver" target="_new">other places</a> if you <a href="http://www.google.com/search?&q=triwing+screwdriver" target="_new">look</a>.<br/><br/><a href="http://photo.xero.nu/prosound/04-triwing-and-gameboy-guts.jpg"><img src="http://the.fontvir.us/b10g/img/prosound04.jpg"/></a><br/><br/>step one is to remove the screws. like i said before, there are six triwings on the back of the DMG. four are visible, and two are hidden under the batter compartment. make sure you dont loose the screws, or you can just replace them with regular minis.<br/><br/><a href="http://photo.xero.nu/prosound/05-gameboy.display.cable.jpg"><img src="http://the.fontvir.us/b10g/img/prosound05.jpg"/></a><br/><br/>now you need to disconnect the display cable. <strong>BE VERY CAREFUL!</strong> the ribbon  cable that connects the dot matrix display to the gamboys motherboard is very thin. the cable has minimal metal on the leads at the end. so if you scrape any of it off by pulling it out too hard you can expect some dead pixels. just pull it straight down.<br/><br/><a href="http://photo.xero.nu/prosound/06-clear.gameboy.guts.jpg"><img src="http://the.fontvir.us/b10g/img/prosound06.jpg"/></a><br/><br/>now take a moment to check out the guts of the gameboy. pretty cool. in the image above you can see the 3 points on the board we're going to be soldering two. <a href="http://photo.xero.nu/prosound/06-soldering.scheme.jpg">check out the wiring diagram</a>.<br/><br/><a href="http://photo.xero.nu/prosound/07-clean.it.jpg"><img src="http://the.fontvir.us/b10g/img/prosound07.jpg"/></a><br/><br/>the next step is optional. but its normally necessary. clean it up. all you need is the highest percent alcohol you can get (i use 98%) and some cue-tips. just get into those little recessed areas and get any dust or grime out of there. make sure you do the batter terminals also if they have any corrosion on them.<br/><br/><a href="http://photo.xero.nu/prosound/08-sound.jack.jpg"><img src="http://the.fontvir.us/b10g/img/prosound08.jpg"/></a><br/><br/>to fix the jack into the case you'll need to made a little more room. use a mini-philips head screw-driver to remove the audio daughter board with the headphone jack on it. <br/><br/><a href="http://photo.xero.nu/prosound/09-bent.the.capasators.jpg"><img src="http://the.fontvir.us/b10g/img/prosound09.jpg"/></a><br/><br/>now take your screw driver an place it between the board and the capacitors. very carefully bend the leads so the capacitors lay flat against the board. <br/><br/><a href="http://photo.xero.nu/prosound/10-gameboy.sound.jack.flush.jpg"><img src="http://the.fontvir.us/b10g/img/prosound10.jpg"/></a><br/><br/>now screw the board back into place. make sure it still lays flush inside the case. dont force it to fit, just carefully rebend them until you get it correctly. if you accidently break one of the leads from bending them too much you'll have to resolder them.<br/><br/><a href="http://photo.xero.nu/prosound/11-prosound.jack.placement.jpg"><img src="http://the.fontvir.us/b10g/img/prosound11.jpg"/></a><br/><br/>now that we got the space in the case decide where your going to mount the 1/8" jack. you dont have a lot of room to work with, so get the jack as far on the edge of the case as you can.<br/><br/><a href="http://photo.xero.nu/prosound/12-press.awl.jpg"><img src="http://the.fontvir.us/b10g/img/prosound12.jpg"/></a><br/><br/>now use your awl to mark where you are going to drill your hole. press the awl in the center of the jack, about where the cord will be inserted, until you have a deep dent in the plastic.<br/><br/><a href="http://photo.xero.nu/prosound/13-clear.gameboy.awl.mark.jpg"><img src="http://the.fontvir.us/b10g/img/prosound13.jpg"/></a><br/><br/>you dont have to actually break the plastic, but make a groove in it. this will help you a lot when drilling. the grove gives the drill or dremel a place to start at so all you need to do is press.<br/><br/><a href="http://photo.xero.nu/prosound/18-safty.to.humans.jpg"><img src="http://the.fontvir.us/b10g/img/prosound14.jpg"/></a><br/><br/><strong>safty to humans!</strong> when drilling the hole in the gameboy lots of plastic chips will go flying. so make sure you wear goggles. unless you like hard, hot plastic in your eyes.  i also like to wear a mask or a bandanna over my face when soldering. the hot flux and solder emit a nasty smell, and kill brain cells.<br/><br/><a href="http://photo.xero.nu/prosound/15-vice.grip.jpg"><img src="http://the.fontvir.us/b10g/img/prosound15.jpg"/></a><br/><br/>to keep the gameboy steady when dremeling i put it into a table mounted vice. it was a hard decision weather long or short way was the best position. but i decided long way was more stable, and gave me a bit more visibility to see what i was doing.<br/><br/><a href="http://photo.xero.nu/prosound/14-dremel.time.jpg"><img src="http://the.fontvir.us/b10g/img/prosound16.jpg"/></a><br/><br/>i used the dremel XLR with the sand grit cone bit. you can use a standard hand drill with a stepping bit, but i feel more comfortable with my dremel. use a medium speed and a little bit of force and you will go right through. <br/><br/><a href="http://photo.xero.nu/prosound/16-gameboy.prosound.hole.jpg"><img src="http://the.fontvir.us/b10g/img/prosound17.jpg"/></a><br/><br/>after your first pass you should have a small hole in the case of the DMG. the edges will be rough and uneven. but that's ok for now.<br/><br/><a href="http://photo.xero.nu/prosound/17-prosound.jack.mounted.jpg"><img src="http://the.fontvir.us/b10g/img/prosound18.jpg"/></a><br/><br/>now stop the dremel. and unscrew the end of the 1/8" jack. try and fit it into the hole you just made. if its a little small, turn the dremel on a low setting and go over the edges again, and keep checking until the jack fits tightly in the hole. by going over the edges again you will also get a nice smooth finish.<br/><br/><a href="http://photo.xero.nu/prosound/19-preheat.soldering.iron.jpg"><img src="http://the.fontvir.us/b10g/img/prosound19.jpg"/></a><br/><br/>now is a good time to plug in your soldering iron. it will start getting hot while your doing the prep work for the next stage.<br/><br/><a href="http://photo.xero.nu/prosound/20-wire.stripper.jpg"><img src="http://the.fontvir.us/b10g/img/prosound20.jpg"/></a><br/><br/>get your three wires ready, and strip both ends of each wire. i left one end of the wire a little longer for the jack, and the other end very short for attaching to the board.<br/><br/><a href="http://photo.xero.nu/prosound/21-tin.the.wires.jpg"><img src="http://the.fontvir.us/b10g/img/prosound21.jpg"/></a><br/><br/>after that i suggest you tin the wires. dip you iron in a little flux to clean it off, then get a tiny drop of solder on the ends of each wire. this will make attaching them a lot easier.<br/><br/><a href="http://photo.xero.nu/prosound/22-hook.the.wires.jpg"><img src="http://the.fontvir.us/b10g/img/prosound22.jpg"/></a><br/><br/>now take the longer stripped ends of the wire and wrap them around the end of a flat head mini screw-driver. this will make a little "hook" at the end of the wire (thats why we made them a bit longer). then take the wires and hook one on the end of each of the prongs of the 1/8" jack.<br/><br/><a href="http://photo.xero.nu/prosound/23-jack.soldered.jpg"><img src="http://the.fontvir.us/b10g/img/prosound23.jpg"/></a><br/><br/>now that the wires are hooked on the jack, take your screw-driver and flatten the hooks so they dont move as much. now just take a tiny dab of solder and attach the wires to the jack.<br/><br/><a href="http://photo.xero.nu/prosound/24-wires.wrapped.jpg"><img src="http://the.fontvir.us/b10g/img/prosound24.jpg"/></a><br/><br/>to avoid any cross talk that might possibly occur between the wires wrap them up. either use some heat shrink tubing or some electrical tape around the edges. <br/><br/><a href="http://photo.xero.nu/prosound/25-prosound.jack.mounted.jpg"><img src="http://the.fontvir.us/b10g/img/prosound25.jpg"/></a><br/><br/>now mount the jack in the gameboy case. put the end of jack into the hole we drilled. then screw the end piece back on.<br/><br/><a href="http://photo.xero.nu/prosound/26-tighten.the.jack.jpg"><img src="http://the.fontvir.us/b10g/img/prosound26.jpg"/></a><br/><br/>now take a pair of pliers and tighten the end of the jack as much as possible. just be careful not to scratch the exterior of the case's plastic when doing so.<br/><br/><a href="http://photo.xero.nu/prosound/27-wire.routing.jpg"><img src="http://the.fontvir.us/b10g/img/prosound27.jpg"/></a><br/><br/>the next step is very important. getting the wires ready to solder onto the board. lameboy suggested pushing the wires down into the crevasse under the main board, then pull it over to the three point we're soldering to.<br/><br/><a href="http://photo.xero.nu/prosound/28-measure.length.jpg"><img src="http://the.fontvir.us/b10g/img/prosound28.jpg"/></a><br/><br/>but on my second try i actually made the wires a lot shorter. this made the process of closing the case at the end a lot easier. once you get the wires in the right place tape them down. just remember the old saying, measure twice solder once. i like to double that, just in case.<br/><br/><a href="http://photo.xero.nu/prosound/06-soldering.scheme.jpg"><img src="http://the.fontvir.us/b10g/img/prosound35.jpg"/></a><br/><br/>the wireing is pretty simple. there's 5 solder points that connect the potentiometer to the gameboys board. the top 2 we're gonna ignore. they are volume into the pot. the next 2 are the left and right  audio out of the pot then finally the ground.<br/><br/><a href="http://photo.xero.nu/prosound/29-soldered.board.jpg"><img src="http://the.fontvir.us/b10g/img/prosound29.jpg"/></a><br/><br/>when it comes to solder, less is more. this is true for both heat and actual metal. the amount  of solder to use varies from gameboy unit to unit. some have a moderate amount, so you can just heat up whats already there and use your pre-tinned wires. but some have a huge blob there already. in those cases i suggest you remove the existing solder with some desoldering braid then use a tiny amount to connect your wires.<br/><br/><a href="http://photo.xero.nu/prosound/29-clear.soldered.board.jpg"><img src="http://the.fontvir.us/b10g/img/prosound30.jpg"/></a><br/><br/>when doing this take your time. make sure your connecting the correct prongs to the right pins on the board. the pinout diagram should be on the packaging for the actual jack.<br/><br/><a href="http://photo.xero.nu/prosound/30-reconnect.display.jpg"><img src="http://the.fontvir.us/b10g/img/prosound31.jpg"/></a><br/><br/> now carefully reconnect the display cable. put your fingers under the edge on the ribbon cable and push it up into place. dont try and rock the cable back and forth to get it into place. this could rub off some of the metal on the leads. the photo is the cable fully inserted. notice how much metal is still showing.<br/><br/><a href="http://photo.xero.nu/prosound/31-close.it.up.jpg"><img src="http://the.fontvir.us/b10g/img/prosound32.jpg"/></a><br/><br/>the final step is closing the case. this can be tricky. make sure none of the prosound jack's wires are sticking out or stuck between the edges of the case when closing it. <br/><br/><a href="http://photo.xero.nu/prosound/32-prosound.moded.jpg"><img src="http://the.fontvir.us/b10g/img/prosound33.jpg"/></a><br/><br/> now your gameboy is prosound modified! the added 1/8" jack should reduce background noise when recording and actually increase volume and give you added bass. now pop in your favorite 8bit music application and make some chip tunes! <br/><br/><a href="http://photo.xero.nu/prosound/33-lsdj.waveform.jpg"><img src="http://the.fontvir.us/b10g/img/prosound34.jpg"/></a><br/><br/> 
]]>   
</description> 
   <category>modz</category> 
   <category>LSDJ</category> 
   <category>tech</category> 
   <category>rawk</category> 
   <category>nintendo</category> 
   <category>h4x</category> 
   <category>tutorial</category> 
  </item> 

  <item> 
   <title>inline SQL statements</title> 
   <pubDate>Fri, 31 Oct 2008 13:48:58 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=118</link> 
   <guid>http://the.fontvir.us/b10g/?id=118</guid> 
   <description>
   <![CDATA[
 the world of database programming can be a dark and treacherous journey. when you first set out, your quest seems manageable. but as time progresses your start to realize you need more queries, more tables, etc, etc, to achieve your goal. well today im going teach you a little trick that might help you need one less stored procedure then you thought...<br/><br/>sometimes its true, you actually do need two queries to get the job done. but other times you can circumvent this by using something like a "join" or "inner join" query to merge two tables together and pull your results from both. <br/><br/>but still, sometimes this isnt enough...<br/><br/>so lets say you need to first get an automatically generated ID number from a table and you need two parameters to get this data. then you need a subsequent query to update that record.<br/><br/>historically, i probally would have said that you need to run two separate SQL procedures to achieve this goal. but if i would say that now, id be a liar...<br/><br/>take a look at this:<br/><ol><div>SQL stored procedure</div><pre><li><code>CREATE PROCEDURE [dbo].[TESTING-UPDATE]</code></li><li><code>   (@who            [nvarchar](50),</code></li><li><code>    @which          [nvarchar](50)) </li></code><li><code> </code></li><li><code>AS UPDATE [dbo].[table-name]</code></li><li><code>SET someValue = 'new value'</code></li><li><code>FROM (</code></li><li><code>        SELECT TOP 1 (autoid) as nuID </code></li><li><code>        FROM [dbo].[table-name]</code></li><li><code>        WHERE name = @user AND num = @which</code></li><li><code>        ORDER BY autoid DESC</code></li><li><code>      ) as tested</code></li><li><code>WHERE autoid = tested.nuID</code></li><li><code>GO</code></li></pre></ol><br/>as you can see, im actually running two queries in one!<br/>the traditional FROM [table-name] statement has been replaced by an "inline SQL query". what happens is the database will see the FROM () parenthetical notation, and immediately execute the syntax between them. that statement then returns its result set into a named object (in this case its called "tested"). then the rest of the procedure will execute as normal, but with the additional data we got from our inline query. <br/><br/>this technique can be extremely powerful! i just learned about it this week and i have already removed 10 now unnecessary SQL queries from the database for a project at work. so keep that one in you SQL lexicon for later ;D 
]]>   
</description> 
   <category>code</category> 
   <category>database</category> 
   <category>SQL</category> 
  </item> 

  <item> 
   <title>3DSM abstract render tutorial</title> 
   <pubDate>Fri, 03 Oct 2008 09:34:00 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=117</link> 
   <guid>http://the.fontvir.us/b10g/?id=117</guid> 
   <description>
   <![CDATA[
 this is a tutorial i posted on the <a href="http://igraphixz.com" target="_new">igraphixz</a> forums under my alias <a href="http://0x000000.nu/" target="_new">0x000000</a><br/><img src="http://the.fontvir.us/b10g/img/abstract_render_tutorial.jpg"> 
]]>   
</description> 
   <category>tutorial</category> 
  </item> 

  <item> 
   <title>papervision3D - PQ torus</title> 
   <pubDate>Tue, 16 Sep 2008 16:07:47 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=116</link> 
   <guid>http://the.fontvir.us/b10g/?id=116</guid> 
   <description>
   <![CDATA[
 <a href="http://the.fontvir.us/pv3d/PQtorus/" target="_new"><img src="http://the.fontvir.us/b10g/img/PQtorus.jpg" border="0"/></a><br/> here we go again, another <a href="http://blog.papervision3D.org/" target="_new">papervision3D</a> demo featuring math permeated lines. this time im working with a classic piece of code known as the PQ torus. the vague idea is that you have 2 numbers (P + Q) that are used in the algorithm to define the knot. in general, given P + Q mutually prime, the line wraps meridionally around the torus P times and wraps the longitudinally around it Q times.  i was having some trouble grasping exactly how this was going to be achieved, until i read <a href="http://www.blackpawn.com/texts/pqtorus/" target="_blank">this article</a> on <a href="http://www.blackpawn.com/" target="_blank">blackpawn</a>’s website. he really breaks down the algo to a very simplistic level...<br/><ol><div>calculus</div><pre><li><code>r = .5 * (2 + sin(Q * &#934;))</code></li><li><code>x = r * cos(P * &#934;)</code></li><li><code>y = r * cos(Q * &#934;)</code></li><li><code>z = r * sin(P * &#934;)</code></li></pre></ol><br/>simple right? lol.<br/>so Φ (or phi in my code) is basically a variable that is definded by change. in this case, im simply incrementing phi + .02 every frame. this seeds the math and gives you the cool visual effect.<br/><br/> anyway, after getting a handle on the math, writing the demo code was a snap. i took the existing code i wrote from the <a href="http://the.fontvir.us/b10g/?id=109">3D object tracer</a> and the <a href="http://the.fontvir.us/b10g/?id=107">lorenz attractor</a> and combined them. (i also found  + fixed an error for computing the line gradient color) i started out by allowing the users to only select values for PQ and that actually made sense.<img src="http://the.fontvir.us/b10g/img/PQtorus.5-3.jpg"><br/><img src="http://the.fontvir.us/b10g/img/PQtorus.7-4.jpg"><br/><br/>but after some experimentation i found that using some unorthodox values for P+Q could net some very interesting results. take a look at some of these...<img src="http://the.fontvir.us/b10g/img/PQtorus.5-16.jpg"><br/><img src="http://the.fontvir.us/b10g/img/PQtorus.40-25.jpg"><br/><img src="http://the.fontvir.us/b10g/img/PQtorus.25-50.jpg"><br/><img src="http://the.fontvir.us/b10g/img/PQtorus.33-50.jpg"><br/><br/><a href="http://the.fontvir.us/pv3d/PQtorus/" target="_new">click here to view the demo</a><br/><a href="http://the.fontvir.us/pv3d/PQtorus/srcview/" target="_new">click here for the source code</a> 
]]>   
</description> 
   <category>demo</category> 
   <category>code</category> 
   <category>actionscript</category> 
   <category>flex</category> 
   <category>flash</category> 
   <category>papervision3D</category> 
   <category>mxml</category> 
  </item> 

  <item> 
   <title>wave bubble - DIY portable RF jammer</title> 
   <pubDate>Fri, 12 Sep 2008 16:12:44 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=115</link> 
   <guid>http://the.fontvir.us/b10g/?id=115</guid> 
   <description>
   <![CDATA[
 <a href="http://www.ladyada.net/make/wavebubble" target="_new"><img src="http://the.fontvir.us/b10g/img/wavebubble.jpg"></a><br/> i just got clued in on a new project from one of the members of the cDc (<a href="http://cultdeadcow.com/" target="_new">cult of the dead cow</a>), a notorious hacker group from way back in the l0pht days. the wave bubble is a self-tuning, wide-bandwidth portable RF jammer. an internal lithium-ion battery provides up to 2 hours of jamming (two bands, such as cell) or 4 hours (single band, such as cordless phone, GPS, WiFi, bluetooth, etc). the battery is rechargeable via a mini-USB connector or 4mm DC jack (a common size). alternately, 3 AAA batteries may also be used. self-tuning is provided via dual <a href="http://en.wikipedia.org/wiki/PLL" target="_blank">PLL</a>, therefore, no spectrum analyzer is necessary to build this jammer and a single wave bubble can jam many different frequency bands - unlike any other design currently available! to reconfigure the RF bands, simply plug it into the USB port of your computer and type in the new frequencies when prompted. multiple frequency ranges can be programmed in, each time the device is power cycled it will advance to the next program in memory.<br/><br/>its capable of jamming a few different frequencies:<br/><br/><strong><u>cellular bands:</u></strong><br/>GSM/PCS broadband 1900 downlink – (us standard)<br/>GSM 850 downlink – (us rural areas)<br/>GSM 900 downlink – (original and most common in Europe)<br/>GSM 1800 downlink – (gaining popularity in Europe)<br/><br/><strong><u>other Bands:</u></strong><br/>cordless phones – (900-930 mhz frequency) <br/>blue tooth – (2400-2483 mhz frequency)<br/>802.11b/g wifi - (2400-2483 mhz frequency)<br/>zigbee – 868 (Europe) 915 (usa) & 2400-2483 mhz<br/>GPS – 1575.42 (civilian) and  1227.6  (military)<br/><br/><strong>WOW!</strong><br/>this thing can block just about anything you can come up with!<br/>for more info, including circuit diagrams, schematics, building instructions, parts lists, and firmware available from the inventers website <a href="http://www.ladyada.net/make/wavebubble" target="_new">http://www.ladyada.net/make/wavebubble</a> 
]]>   
</description> 
   <category>tech</category> 
   <category>h4x</category> 
   <category>linx</category> 
   <category>1337</category> 
  </item> 

  <item> 
   <title>NYC</title> 
   <pubDate>Mon, 08 Sep 2008 08:29:46 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=114</link> 
   <guid>http://the.fontvir.us/b10g/?id=114</guid> 
   <description>
   <![CDATA[
 <a href="http://photo.xero.nu/nyc/city.scape.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-sky.scape.jpg"></a><br/>i was just on vacation in NYC. the crew was myself, nina, and our friend nik. nina wanted to check out fordum university, and visit our friend john who lives in yonkers. not to mention that she had never been to the big apple before. we spent four days in the city, spending 75% of our time in museums, 15% in restaurants, and the remaining 10% walking/riding public transport. but when the sun went down we had a shofer. john (aka <a href="http://www.myspace.com/jazejuce" target="myspace">jaze juce</a>) is a native new yorker, who nina met at school. jaze is a rapper, a life gaurd, and all around man about town. we saw a lot of the city from in the car at night, wich was awesome.<br/><a href="http://photo.xero.nu/nyc/urban.vs.rural.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-urban.vs.rural.jpg"></a><br/><a href="http://photo.xero.nu/nyc/manhattan.skyline.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-manhatten.jpg"></a><br/><a href="http://photo.xero.nu/nyc/up.the.fire.escape.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-fire.escape.jpg"></a><br/><br/>so day one we went to the guggenheim museum, they were camera-nazis so no photos from there. the place was filled with basically nothing but sexual art. lots of giant slabs of stone carved into mountains of phallises, boob caverns illuminated with red lights, and servered scrotums suspended from the ceiling. and then out of nowhere... the top floor had like 20 of these werid little rooms made out of old doors. some where blank, some had names of people, businesses, all with cracked paint and rusty hinges. you could peer in threw the few doors that had windows to view uber creepy scenes streight out of a serial killer's childhood memories. <strong>*shivers*</strong> the building architecture was cool parking garage meets modern adobe. but on the way there we stopped in front of a random office building and found these giant hello kitty metal sculptures!!!!<br/><a href="http://photo.xero.nu/nyc/hello.kitty.nyc.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-metal.hello.kitty.jpg"></a><br/><a href="http://photo.xero.nu/nyc/metal.hello.kitty.nyc.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-giant.hello.kitty.jpg"></a><br/><br/>the next day we went to the museum of modern art (MOMA) witch was amazing! the place was 5 stories high, and was filled wall to wall with art! there was a lot of stuff i wasn't allowed to photograph, like the entire floor of picasso paintings/sculptures, or the HUGE salvador dali exhibit featured on the top floor! they had 250 of his painting, tons of props, backdrops and other stuff from his films. and they were playing ALL movies he made, including a DISNEY FILM he animated! <br/><a href="http://photo.xero.nu/nyc/crazy.art.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-moma.jpg"></a><br/><a href="http://photo.xero.nu/nyc/do.not.climb.on.art.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-dont.climb.art.jpg"></a><br/><a href="http://photo.xero.nu/nyc/water.tower.photography.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-water.towers.jpg"></a><br/><a href="http://photo.xero.nu/nyc/nina.moden.art.museum.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-nina.madness.jpg"></a><br/><a href="http://photo.xero.nu/nyc/locust.tank.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-locust.tank.jpg"></a><br/><br/>after that we went to a museum of modern architecture and design. you really weren't supposed to take any photos there, but there were a few i just couldn't resist!<br/><a href="http://photo.xero.nu/nyc/recycled.plastic.archetechture.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-recycled.plastic.architecture.jpg"></a><br/><a href="http://photo.xero.nu/nyc/recycled.plastic.art.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-recycled.plastic.art.jpg"></a><br/><a href="http://photo.xero.nu/nyc/fabric.wall.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-fabric.wall.jpg"></a><br/><br/>the last museum that we went to was the museum of natural history. which was really cool, but very busy. a lot of my photos from here didn't turn out as i hoped, so here's a few of the good ones.<br/><a href="http://photo.xero.nu/nyc/asteroid.closer.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-asteroid.jpg"></a><br/><a href="http://photo.xero.nu/nyc/crazy.hindu.statue.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-hindu.statue.jpg"></a><br/><a href="http://photo.xero.nu/nyc/crystal.closer.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-crystals.jpg"></a><br/><a href="http://photo.xero.nu/nyc/giant.totem.poles.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-giant.totem.pole.jpg"></a><br/>and they had a REDICULOUS amount of dinosaur bones!<br/><a href="http://photo.xero.nu/nyc/triceratops.close.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-tricaratops.jpg"></a><br/><a href="http://photo.xero.nu/nyc/dino.rawr.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-dino.rawr.jpg"></a><br/><a href="http://photo.xero.nu/nyc/non.mastadon.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-mamoths.jpg"></a><br/><br/>so, they don't let you inside the statue of liberty anymore. so what's the point of going to that tiny super crowed island just to try and look up lady libery's dress. so instead, we went to liberty park in new jersey to check out the statue. <br/><br/><blockquote><div class="top"> &nbsp; </div><div class="box">"lady liberty is just like any new yorker, she hates jersey!<br/> just look at the statue, shes farting on us!"</div><div class="bot"><br/><a href="http://www.myspace.com/jazejuce" target="myspace">jaze juce</a></div></blockquote><br/><a href="http://photo.xero.nu/nyc/lady.libery.has.a.nice.ass.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-statue.of.libertys.ass.jpg"></a><br/><a href="http://photo.xero.nu/nyc/liberty.park.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-liberty.park.jpg"></a><br/><a href="http://photo.xero.nu/nyc/the.nyc.crue.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-jaze.nik.nina.jpg"></a><br/><br/>as aforementioned, we saved a lot of money by walking places. at one point we took a shortcut through central park, and i took these photos along the way.<br/><a href="http://photo.xero.nu/nyc/central.park.tunnel.inside.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-central.park.tunnel.jpg"></a><br/><a href="http://photo.xero.nu/nyc/central.park.turtels.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-central.park.turtle.jpg"></a><br/><a href="http://photo.xero.nu/nyc/central.park.castle.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-central.park.castle.jpg"></a><br/><br/>if you didn't hear, there was also a tornado while we were there. luckily we were in jersey when it hit manhattan, so we were ok. but we did get stuck in some <i>"classic"</i> NYC traffic.<br/><a href="http://photo.xero.nu/nyc/nyc.traffic.jpg" target="_new"><img border="0" src="http://the.fontvir.us/b10g/img/nyc-traffic.jpg"></a><br/>right after i took this photo the traffic started to move again. john was freestyling to the beat about bustin' a nut like a glock shot, then there was an random gun shot sampled into the beat. we all laughted, then there was a huge <strong>*BANG!*</strong> a few seconds later we had a flat tire (on route 89, a really busy road). john states that we're screwed because he dousnt think he has a doughnut. i was like, "this is a honda dude, are yew sure theres not one in the secret compartment?" and he was like, "uhh... what secret compartment?"... <strong>*sigh*</strong> we took all the crap out of his trunk in the pouring rain, pulled up the carpet on the floor of the trunk, and revealed not a doughnut, but a new spare tire. the tire jack was diffrent from the one i had in my honda all those years ago, so we had some trouble with that. nik sarcastically asked me...<br/><br/><blockquote><div class="top"> &nbsp; </div><div class="box">"xero, how come yew can build and program computers<br/>but cant figgure out how to use a new tire jack?"</div><div class="bot"><br/>nik</div></blockquote><br/>eventually we figgured it out. and we got the old tire off and the new one on in just a few minutes. i told john the tire looked low, and we needed to put some air in it. we got to the gas station and he revealed to me that he didnt know how much air his tires needed. <strong>*sigh*</strong><br/><br/>we had an awesome time. john was an great host. and we saw some sweet shit. and i think nik and i got double our yearly exercize on the trip ++LOL! <br/><br/><a href="http://photo.xero.nu/nyc/" target="_new">view all the photos</a> 
]]>   
</description> 
   <category>blog</category> 
   <category>vacation</category> 
   <category>photoz</category> 
   <category>quotes</category> 
   <category>friendz</category> 
   <category>nina</category> 
   <category>rain</category> 
   <category>driving</category> 
  </item> 

  <item> 
   <title>poultrygeist – a night with lloyd kaufman</title> 
   <pubDate>Fri, 08 Aug 2008 11:24:42 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=113</link> 
   <guid>http://the.fontvir.us/b10g/?id=113</guid> 
   <description>
   <![CDATA[
 <a href="http://photo.xero.nu/troma" target="_new"><img src="http://the.fontvir.us/b10g/img/nina.xero.lloyd-kaufman.jpg" border="0"></a><br/>to kick off the <a href="http://www.pittsburghlive.com/x/pittsburghtrib/news/mostread/s_530761.html" target="_new">pittsburgh zombie film festival</a>, lloyd kaufman and the <a href="http://www.troma.com/" target="_new">troma crew</a>, made the venture down to the iron city to premiere their new film <a href="http://www.poultrygeistmovie.com/" target="_new">poultrygeist</a> at the <a href="http://warhol.org/" target="_new">andy warhol museum</a>. my <a href="http://photo.xero.nu/troma/tromaville.smaller.jpg" target="_new">buddy smitty</a> and his girlfriend <a href="http://photo.xero.nu/troma/tromaville.smaller.jpg" target="_new">amanda</a> decided that they would accompany nina and i. we didnt want to miss the show, so i <a href="http://www.warhol.org/calendar/events_detail.php?eventID=1225&dateYear=2008&dateMonth=8&dateDate=1" target="_new">preordered our tickets on the internetz</a>. ok, so the other reason i preordered the tix was because i love just walking into a venue, and saying <i><strong>"im on the guestlist..."</i></strong> ++lol. anyway, so the cats that run the warhol's website posted the time wrong :P we misses the first hour of the movie. but for anyone who as ever seen a troma film, we just missed one horrifically bloody death scene. after the movie, we got to listen to lloyd talk about the state of troma, and whats in the works for 2009. after that he just hung out in the hallway and signed autographs, <a href="http://photo.xero.nu/troma/lloyd.kaufman.jpg" target="_new">took photos</a>, chatted up the horde, and hit on all the ladies. man, mr. tromavision was a mach and a half! he almost got nina and amanda to <a href="http://photo.xero.nu/troma/tromaville.smaller.jpg" target="_new">make out</a>! ok, im exaggerating... after getting <a href="http://photo.xero.nu/troma/" target="_new">these flix</a>, we just walked around the warhol for a few hours. then met up with my main man <a href="http://www.myspace.com/seanpmccarthy" target="_new">mccarthy</a>, and hit the bar. it was a blast! 
]]>   
</description> 
   <category>blog</category> 
   <category>random</category> 
   <category>moviez</category> 
   <category>friendz</category> 
  </item> 

  <item> 
   <title>we went to florida</title> 
   <pubDate>Wed, 06 Aug 2008 08:31:06 -0500</pubDate> 
   <link>http://the.fontvir.us/b10g/?id=112</link> 
   <guid>http://the.fontvir.us/b10g/?id=112</guid> 
   <description>
   <![CDATA[
 <a href="http://photo.xero.nu/flordia/" target="_new"><img src="http://the.fontvir.us/b10g/img/blog.light.house.jpg" border="0"/></a>i guess im a little late on this post. my grandparents moved to flordia a few years ago, and every since, the rest of my family have slowly been moving there. my <a href="http://photo.xero.nu/flordia/uncle.mark.jpg" target="_new">uncle mark</a> lived there already, then my <a href="http://photo.xero.nu/flordia/aunt.joan.jpg" target="_new">aunt joan</a> moved there shortly after. then my cousin, then her mom... yeah, so like that whole side of the fam. so needless to say, we were due for a visit. my dad is dr. paranoia, and couldn't fly down there. and i in no way wanted to ride with him, my mother, nina and his road rage. nor did i want to drive there myself with nina a my road rage. so we opted to hop with the jet set. the flight was so short i barely beat metroid fusion on the plane ride there and back with 98% completion. we had a party thrown for our arrival, at my cousin ashley's house. i got to see all my relatives and meet my cousin's new baby <a href="http://photo.xero.nu/flordia/angelina.jpg" target="_new">angelina</a>. she's a lil cutie. for the next few days we just hung out and went to beaches. <blockquote><div class="top"> &nbsp; </div><div class="box">"its not a vacation unless there's a beach right?"</div><div class="bot"><br/><a href="http://photo.xero.nu/flordia/xero.metal.guy.jpg" target="_new">xero</a></div></blockquote><br/> we spent one of the days in a town called <a href="http://photo.xero.nu/flordia/jupiter.lighthouse.sign.jpg" target="_new">jupiter</a>. the <a href="http://photo.xero.nu/flordia/jupiter.beach.jpg" target="_new">beach</a> was very nice, the sand smooth, the water warm. and my uncle knew about this cool <a href="http://photo.xero.nu/flordia/jupiter.lighthouse.angled.jpg" target="_new">lighthouse</a>. there was a sweet <a href="http://photo.xero.nu/flordia/banyan.tree.jpg" target="_new">banyan tree</a> out side. the lighthouse was 7 stories and had a sweet <a href="http://photo.xero.nu/flordia/spiral.stairs.jpg" target="_new">spiral</a> <a href="http://photo.xero.nu/flordia/spiral.stairs.2.jpg" target="_new">staircase</a>. we saw some <a href="http://photo.xero.nu/flordia/nina-weird.organ.statue.jpg" target="_new">crazy</a> <a href="http://photo.xero.nu/flordia/weird.organ.statue.behind.jpg" target="_new">stuff</a> at the bass museum. <a href="http://photo.xero.nu/flordia/our.connection-statue.jpg" target="_new">weird stuff</a>... after a few nights of sleeping at my cousin's house on an air mattress, we decided to spend our final night at a <a href="http://photo.xero.nu/flordia/random.hotel.art.jpg" target="_new">hotel</a>. we stayed at a place in miami called the <a href="http://www.bluemoonhotel.com/" target="_new">blue moon</a>. it had this <i>old 50's but still in good shape</i> feel, but with a touch of modernism. <a href="http://photo.xero.nu/flordia/xero-csi.miami.jpg" target="_new">the carpet</a> was awesome. Good times were had by all.<br/><br/><a href="http://photo.xero.nu/flordia/" target="_new">more photos</a> 
]]>   
</description> 
   <category>blog</category> 
   <category>vacation</category> 
   <category>photoz</category> 
   <category>quotes</category> 
  </item> 

 </channel> 
</rss> 

