<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	
	<channel>
		<title>Yet Another Blog...</title>
		<link>http://gm.stackunderflow.com/blog/index.php</link>
		<description>...</description>
		<language>en</language>
		<managingEditor>gm@stackunderflow.com</managingEditor>
                <copyright>Copyright 2010</copyright>
		<generator>Pivot Pivot - 1.40.4: 'Dreadwind'</generator>
		<pubDate>Thu, 08 Jul 2010 14:22:50 +0930</pubDate>
		<ttl>60</ttl>
		
		
		
		
		<item>
			<title>The Godzilla Diaries</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=153</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=153#comm</comments>
                        <description><![CDATA[ My Dad and I will be doing a blog when we're over in Japan. We're leaving tomorrow, and you can follow it at: <a rel="external" href="http://godzilladiaries.underflownetworks.com/" title="">http://godzilladiaries.underflownetworks.com/</a>. That is all. ]]></description>
			<guid isPermaLink="false">153@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Thu, 08 Jul 2010 14:22:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>GTX470 vs GTX275: some benchmarks...</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=152</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=152#comm</comments>
                        <description><![CDATA[ GTX275 and E8500 at 3.3GHZ:<br />
3dMark Vantage: 13480 3dMarks, 34158 CPU, 11216 GPU<br />
3dMark 06: 14839 3DMarks, 6828 SM 2.0, 7545 SM 3.0, 2988 CPU<br />
Fur<s>ry</s>Mark: 1920x1200 Fullscreen, 60000ms, MSAA off: 4037 points<br />
X-Plane 9: Extreme res, 3x1680x1050 multihead, 15nm visibility: ~20fps<br />
<br />
GTX470 and E8500 at 3518MHZ:<br />
3dMark Vantage: 16790 3dmarks, 38769 CPU, 14122 GPU<br />
3dMark 06: 16268 3dMarks, 6969 SM 2.0, 9103 SM 3.0, 3127 CPU<br />
FurMark: same as above: 4177 points<br />
X-Plane 9: ~25FPS, same settings, but I think it's actually achieving 15nm. This is without Nvidia <s>eyefinity</s>... i mean surround.<br />
Reboot test: All 3 screens work, every time :D<br />
<br />
Only annoyance is that I actually bought the GT220 because the fan in the card it's replacing is annoyingly loud, but MSI Afterburner allows you to adjust it down a bit. ]]></description>
			<guid isPermaLink="false">152@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Thu, 01 Jul 2010 21:25:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>New Hardware :)</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=151</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=151#comm</comments>
                        <description><![CDATA[ Bought a GTX470 and a GT220 to replace the GTX275 and FX540 in my desktop. I am installing 3DMark06 and 3DMark Vantage at the moment to see how much faster the new card is. It must be good, there's <a rel="external" href="http://www.dansdata.com/gz106.htm" title="">a fighter jet on the box.</a><br />
<br />
If you haven't been following, the GTX275 is a Gigabyte one... <a rel="external" href="http://gm.stackunderflow.com/blog/pivot/entry.php?id=133" title="">which I have covered before...</a><br />
<br />
In other news, the StackBook project is sadly dead, but the board lives on, it's attached to a two way radio as a RSSI meter, a job for which it works nicely :) ]]></description>
			<guid isPermaLink="false">151@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Thu, 01 Jul 2010 18:51:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>SSD install in MacBookPro</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=150</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=150#comm</comments>
                        <description><![CDATA[ http://www.overclockers.com.au/news.php?id=882855<br />
<br />
Yay I frontpaged OCAU (Overclockers Australia) with my SSD install in my MacBookPro :) ]]></description>
			<guid isPermaLink="false">150@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Wed, 23 Jun 2010 21:48:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>BF+++ code release and spec.</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=149</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=149#comm</comments>
                        <description><![CDATA[ It's up in SVN now: <a rel="external" href="http://svn.stackunderflow.com/svn/public/bf+++/bfint.py">bfint.py</a><br />
<br />
Known bugs: <br />
Only one TCP socket can be open, and they are all treated the same<br />
Parsing will return uncaught errors if invalid code is used<br />
Memory space is still fixed...<br />
File handles are not implemented well yet<br />
... and many others.<br />
<br />
I'll post example code soon with comments.<br />
<br />
<br />
<br />
<br />
This file is accessible as <a rel="external" href="http://svn.stackunderflow.com/svn/public/bf+++/spec.rtf">spec.rtf</a>. <br />
-------------------------------<br />
<br />
+	add to current cell<br />
+(n)	add n to current cell<br />
+(*n)	add value of cell n<br />
+(&n)	add value of cell relative n<br />
+(s)	add value of cell named s<br />
<br />
-	subtract from current cell<br />
-(n)	subtract n from current cell<br />
-(*n)	subtract value of cell n<br />
-(&n)	subtract value of cell relative n<br />
-(s)	subtract value of cell named s<br />
<br />
<	go left one cell<br />
<(n)	go left n cells<br />
<(*n)	go left value of cell n<br />
<(s)	go left value of cell named s<br />
<br />
>	go right one cell<br />
>(n)	go right n cells<br />
>(*n)	go right value of cell n<br />
>(s)	go right value of cell named s<br />
<br />
<br />
^	go to cell of current address<br />
^(n)	go to cell n<br />
^(*n)	go to value of cell n<br />
^(s)	go to cell named s<br />
<br />
v(*n)	copy current mem address into cell<br />
v(s)	name current cell<br />
<br />
c	set current cell to 0<br />
c(n)	set current cell to n<br />
c(*n)	set cell n to 0<br />
c(s)	write string to cell (not cell name!)<br />
<br />
[	jump past ] if the value under the current cell is 0<br />
]	jump back to ] if the current cell value is nonzero<br />
<br />
.	output current cell under pointer<br />
.(*n)	output current cell to file handle in cell n<br />
!	output current cell as number<br />
!(n)	output current cell as number<br />
,	read in current cell to pointer<br />
,(*n)	read in from file handle in cell n<br />
<br />
<br />
'(*n)	open file handle at string starting at s<br />
"(*n)	open file handle to hostname and port in string at n<br />
<br />
{	define procedure numbered with current cell value<br />
}	return to program<br />
<br />
:	jump to procedure numbered in current cell<br />
:(s)	jump to procedure numbered in named cell<br />
<br />
j	jump to pointer in current cell<br />
j(n)	jump n instructions<br />
<br />
@	exit with current cell as exit value ]]></description>
			<guid isPermaLink="false">149@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Wed, 12 May 2010 22:33:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>BrainF**k+++ reasons for existance</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=148</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=148#comm</comments>
                        <description><![CDATA[ Goals of BF++:<br />
1. Language must still be innately recognisable as BrainF**k. It must feel like coding BrainF**k.<br />
<br />
2. Remove all the tedious bits. Yes, we know you can put 81 +es in a row. Yes, we know you can factorize the number and use ++++++++[>+++++<-].  You couldd also look the number up on http://esolangs.org/wiki/Brainfuck_constants. Yes, it is tedious - but tediousness at such a low level is not what this is about - there are better things to get stuck on how to implement. Hello World is now simpler to implement, but you could have generated all the +-[]ing with a program.<br />
<br />
3. There are plenty of BrainF**k derivatives that make it harder to code, like BoolF**k like where you only operate on bits. This is not the goal here.<br />
<br />
4. Add things that make it almost but not quite usable. If you just can't implement something reasonably, nobody will try. But it's more fun to just have it sitting right on the edge such that it's almost easy... but just that little bit harder than you want to go. Tempt people in with strings and sockets... but trap them in the rest. Programming is like a challenge now. So this means adding string support.<br />
<br />
5. Also add stuff that makes it possible to write serious apps in it. Console IO is just not enough. So there's file I/O and network sockets.<br />
<br />
6. Finally, make the expense of 3 + signs worth it, as someone has already made BrainF*ck++, and this adds more. And annoys people when what looks like line noise spits out the HTML source to their homepage. ]]></description>
			<guid isPermaLink="false">148@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Wed, 12 May 2010 21:07:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>Pictures that were promised earlier</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=147</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=147#comm</comments>
                        <description><![CDATA[ (for those not following, my RTL8187 wireless card came with these:)<br />
<img src="http://gm.stackunderflow.com/stuff/cd.jpg"><br />
<img src="http://gm.stackunderflow.com/stuff/instr1.jpg"><br />
<img src="http://gm.stackunderflow.com/stuff/instr2.jpg"> ]]></description>
			<guid isPermaLink="false">147@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Sat, 23 Jan 2010 21:11:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>Something else for a change - RTL8187 USB devices in Kismet on OS X</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=146</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=146#comm</comments>
                        <description><![CDATA[ Firstly, the StackBook project is no further than it was. StackOS needs a rewrite to make it behave better (you learn how to do these things after it's too late). I still haven't found a suitable hinge either... must get to that.<br />
<br />
Anyway, I decided to get my hands on a <a rel="external" href="http://dealextreme.com/details.dx/sku.28787~r.45363994">RTL8187 USB card</a> and a <a rel="external" href="http://dealextreme.com/details.dx/sku.22418~r.45363994">"9"dbi antenna</a> (9 is in quotes because I know a manufacturer who makes a similar one, and they claim it is a 7) to go with it. Entertainingly, this card comes with a pressed BackTrack 3 CD... and Chinese instructions for such. <s>I will post some pictures later</s>. <a rel="external" href="http://gm.stackunderflow.com/blog/pivot/entry.php?id=147">Pictures are here</a>.<br />
<br />
The card works fine with the RTL8187 drivers in KisMac. And it works with Kismet on Debian running on my EEE 701SD. Kismet on OS X, however, does not support this device. To fix that, I have created rtl8187_tuntap. This is a daemon that drives the USB card using KisMac's userspace USB driver framework, and passes the packets out over a tap interface.<br />
<br />
At the moment it uses IOKit to talk to the card over USB. It should theoretically be possible to port it to use libusb and make it crossplatform (the ObjC code doesnt do anything particularly nonportable - and the CoreFoundation stuff could be replaced). On Linux, this is not terribly useful, as there already exists monitor mode drivers for these cards. But on Windows, the possibility is there. Yes, you heard me - monitor mode on Windows - but it is not a high priority. Go and install Linux. <br />
<br />
To get it to run, build it with XCode, and ensure the UsbVendorsRTL8187.plist file is in with the built binary. It's in the Build/Debug folder. Cd into the directory and run it as root (sudo ./rtl8187tuntap).<br />
<br />
If you don't have the OS X tun/tap installed, <a rel="external" href="http://tuntaposx.sourceforge.net/">install it</a>.<br />
<br />
If all goes right, you should see an iteration of all your USB devices, and then:<br />
<tt><br />
2010-01-23 20:32:11.167 rtl8187tuntap[2050:e07] Start capture<br />
2010-01-23 20:32:14.751 rtl8187tuntap[2050:e07] Capture started<br />
2010-01-23 20:32:14.893 rtl8187tuntap[2050:e07] Now recieving frames<br />
</tt><br />
<br />
At this point, it then is reading packets and reporting them out via tap0. <br />
<br />
Now for the Kismet side: You need at least revision 3010 of the SVN development sources. Compile and configure it with the source interface tap0 (it will autodetect the source type).<br />
<br />
<b>To Do</b><br />
<ul><li>Why doesn't signal strength work? It is being reported in the header...</li><br />
<li>Write as a Kismet plugin.</li><br />
<li><b>Implement channel hopping - at the moment you can change channel by writing a number to /tmp/rtl8187_channel - and i suggest using cat &gt; not echo as the pipe can only be opened once (must fix that). This will come with it being a kismet plugin.</b></li><br />
<li>Clean up the log outputs...</li><br />
<li>Tun/Tap on Mac OS X does not have an option to change the DLT (data link type) - and as a result no other software besides Kismet will behave right because it is told that the header format is a standard ethernet packet. I am told that Dragorn attempted to correct this, but the developers were not interested.</li><br />
</ul><br />
<br />
Now for the important bit: <a rel="external" href="http://gm.stackunderflow.com/stuff/rtl8187tuntap_4.zip">Download rtl8187tuntap v4</a>.<br />
<br />
Any bugs etc - leave me a comment. ]]></description>
			<guid isPermaLink="false">146@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Sat, 23 Jan 2010 20:56:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>StackBook Part 8 - Keyboard</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=145</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=145#comm</comments>
                        <description><![CDATA[ <img src="http://gm.stackunderflow.com/pictures/screen1.jpg"><br />
<br />
After a lot of point-to-point soldering on both boards, I have the main LCD working on the soldered StackBook board. That is - after finding the hanging wire :)<br />
<br />
After coding a basic shell and an IRC client... <br />
<br />
<img src="http://gm.stackunderflow.com/pictures/screen2.jpg"><br />
<br />
(sorry for the short posts, there'll be more later). ]]></description>
			<guid isPermaLink="false">145@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Wed, 30 Sep 2009 01:01:00 +0930</pubDate>
		</item>
		
		
		
		<item>
			<title>StackBook Part 7 - Keyboard</title>
			<link>http://gm.stackunderflow.com/blog/pivot/entry.php?id=144</link>
			<comments>http://gm.stackunderflow.com/blog/pivot/entry.php?id=144#comm</comments>
                        <description><![CDATA[ (this post is disproportionately short for the amount of time this took)<br />
<br />
Ok, so after soldering a 4-pin connector onto the Stackbook's board, I interfaced a PS/2 keyboard to it.<br />
<br />
The keyboard was <a rel="external" href="http://www.dealextreme.com/details.dx/sku.1846~r.45363994">this one</a> from DealExtreme. <br />
<br />
<img src="http://gm.stackunderflow.com/pictures/keyboard1.jpg"><br />
<br />
So let's open it up...<br />
<br />
<img src="http://gm.stackunderflow.com/pictures/keyboard2.jpg"><br />
<br />
After this, I stripped it down and replaced the PS/2 connector with an IDC header.<br />
<br />
A PS/2 driver was written using an interrupt pin for the clock, however, for some reason it didn't behave right - much much messing around was had with this.<br />
<br />
Using a combination of:<br />
http://www.atmel.com/dyn/resources/prod_documents/DOC1235.PDF and<br />
http://code.google.com/p/ps2keypolled/source/browse/trunk/ps2keypolled.c<br />
<br />
a polling-based driver was written instead.<br />
<br />
<img src="http://gm.stackunderflow.com/pictures/keyboard3.jpg">. ]]></description>
			<guid isPermaLink="false">144@http://gm.stackunderflow.com/blog/pivot/</guid>
			<category>default</category>
			<pubDate>Wed, 30 Sep 2009 00:55:00 +0930</pubDate>
		</item>
		
		
		
	</channel>
</rss>
