<?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>Pete Shanahan&#039;s Shack</title>
	<atom:link href="http://www.petesh.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.petesh.com</link>
	<description>If it wasn&#039;t for carbon-14, I wouldn&#039;t date at all</description>
	<lastBuildDate>Mon, 23 Jan 2012 22:52:06 +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>Posting from the WordPress application on the iPad</title>
		<link>http://www.petesh.com/archives/2012/01/posting-from-the-wordpress-application-on-the-ipad/</link>
		<comments>http://www.petesh.com/archives/2012/01/posting-from-the-wordpress-application-on-the-ipad/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 14:30:09 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Testing]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.petesh.com/?p=734</guid>
		<description><![CDATA[This is just a simple little test of the WordPress application for the iPad. It seems quite nice and easy to work with. Hopefully it will prompt me to post more than once a year.]]></description>
			<content:encoded><![CDATA[<p>This is just a simple little test of the WordPress application for the iPad. It seems quite nice and easy to work with. Hopefully it will prompt me to post more than once a year.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2012/01/posting-from-the-wordpress-application-on-the-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raw data</title>
		<link>http://www.petesh.com/archives/2012/01/raw_data/</link>
		<comments>http://www.petesh.com/archives/2012/01/raw_data/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 22:19:28 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Complaints]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=720</guid>
		<description><![CDATA[Most of the times you experience data it has been massaged, interpreted and analyzed. This is a side effect of having so much data to process, and also having an agenda. We see papers regularly, with attached shiny graphs and tables. ehmmm, yeah, nice shiny graphs; pretty distracting, but not actually revealing the underlying information. [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the times you experience data it has been massaged, interpreted and analyzed. This is a side effect of having so much data to process, and also having an agenda.<br/><br />
We see papers regularly, with attached shiny graphs and tables. ehmmm, yeah, nice shiny graphs; pretty distracting, but not actually revealing the underlying information.<br/><br />
What I want is a link under every one of those damned graphs linking to the raw data.<br/><br />
Not much to ask for &#8211; raw unfiltered research data. I mean really??</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2012/01/raw_data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhones, activation and identifiers</title>
		<link>http://www.petesh.com/archives/2011/11/iphones_activation_and_identif/</link>
		<comments>http://www.petesh.com/archives/2011/11/iphones_activation_and_identif/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 22:26:56 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Apple iPhone]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=719</guid>
		<description><![CDATA[As I was talking to my mother on my phone this evening it was literally taken from my hand. My sister is currently in hospital, and I was reassuring her that things were going to be OK. When the phone was stolen, she literally was about to have a heart attack until I could get [...]]]></description>
			<content:encoded><![CDATA[<p>As I was talking to my mother on my phone this evening it was literally taken from my hand. My sister is currently in hospital, and I was reassuring her that things were going to be OK. When the phone was stolen, she literally was about to have a heart attack until I could get to a phone and call her back to reassure her that nothing had happened.<br />
<br/><br />
It was an iPhone. You cannot use an iPhone without activating it with Apple.<br/><br />
I want it to scream to the world that it was stolen. Every time it is able to make a data connection it should recognize that it is stolen and say &#8216;fuck you, I&#8217;m not working until you return me to my proper owner&#8217;. That&#8217;s what I want.<br/><br />
If a developer ever finds an iPhone 4S that returns a device identifier of efd79415f51aa99472c5149aa46b0897def18f9b, then know that it is stolen, and that they should return it to a cop-shop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2011/11/iphones_activation_and_identif/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>portable UI tip #1</title>
		<link>http://www.petesh.com/archives/2011/04/portable_ui_tip_1/</link>
		<comments>http://www.petesh.com/archives/2011/04/portable_ui_tip_1/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 08:44:25 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Complaints]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=715</guid>
		<description><![CDATA[if there is a blinking caret in the field then show a keyboard. There is nothing more annoying than having to &#8216;repick&#8217; the text field that is currently active, with the blinking caret what are you thinking android? focus is something explicit, not implicit. You do not have to have an active control on a [...]]]></description>
			<content:encoded><![CDATA[<p>if there is a blinking caret in the field then show a keyboard. There is nothing more annoying than having to &#8216;repick&#8217; the text field that is currently active, with the blinking caret<br />
<br/><br />
<br/><br />
what are you thinking android? focus is something explicit, not implicit. You do not have to have an active control on a form at all times. that and the fact that the keyboard is very tough to get rid of when you want to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2011/04/portable_ui_tip_1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu netbook edition&#8230; Not for amateurs</title>
		<link>http://www.petesh.com/archives/2011/03/ubuntu_netbook_edition_not_for/</link>
		<comments>http://www.petesh.com/archives/2011/03/ubuntu_netbook_edition_not_for/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 15:59:36 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Complaints]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=714</guid>
		<description><![CDATA[So this afternoon I was at a friend&#8217;s house trying to get his ubuntu netbook working with a broadband dongle. It just refused to connect, and on failure displayed a notification dialog that basically read &#8216;did not work&#8217;. Once this dialog appears, the only way to reattempt a connection is to unplug and replug the [...]]]></description>
			<content:encoded><![CDATA[<p>So this afternoon I was at a friend&#8217;s house trying to get his ubuntu netbook working with a broadband dongle. It just refused to connect, and on failure displayed a notification dialog that basically read &#8216;did not work&#8217;. Once this dialog appears, the only way to reattempt a connection is to unplug and replug the broadband dongle, as &#8216;networkmanager&#8217; disables the connection when it fails.<br/><br />
There were logs &#8211; the fine syslog.log file, which is almost completely useless for diagnosing the failure in the connection &#8211; it seems to be telling me that the connection succeeded, but then was immediately disconnected. About as useful as a slap in the face with a wet haddock.<br/><br />
armed with my iPhone I first attempted to ensure that the connection details were correct. The management tool added the settings, so I immediately did not trust them. Google pointed out some options, but every time the connection failed there was another 30+ second delay unplugging, replugging and reentering the PIN (it ignored the pin option in the network manager configuration).<br/><br />
I fired up my laptop running Windows. It installed the management tool, I looked at the settings, shouted at both the Internet and the ubuntu configuration, both of which were telling complete lies about the settings. Here&#8217;s a hint for all you mobile broadband providers &#8211; make the settings easily findable using google &#8211; there is a lot of outdated and completely invalid information out there that makes this an issue.<br/><br />
so, ultimately, a problem that I struggled with for quite a while under ubuntu was solved in less that 30 seconds under windows, and yet another reason why I think that NetworkManager is a thing of satanic horror that makes using computers under Linux a complete pain in the arse. This &#8216;solution&#8217; is probably the singularly worst example of dumbing down configuration to the point when something goes wrong, it is practically impossible to diagnose or fix the problem.<br/><br />
In this case, I will have to say&#8230; progressive disclosure is a good potential solution to complicated user interfaces. The complete excision of all forms of configuration into the magical tool of automagic only works if it works all the time, and as a friend is fond of saying &#8220;If you design a system that it cannot fail then the first thing that happens is that it will.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2011/03/ubuntu_netbook_edition_not_for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securely loading libraries (Linux)</title>
		<link>http://www.petesh.com/archives/2010/08/securely_loading_libraries_lin/</link>
		<comments>http://www.petesh.com/archives/2010/08/securely_loading_libraries_lin/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 22:39:47 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=709</guid>
		<description><![CDATA[Now that I&#8217;ve said loading libraries in Linux is insecure, let&#8217;s just cursorily examine how that is&#8230; I require a digitally signed .so. Being a decent sort of chap, I&#8217;ve decided to allow it to exist in a foo.so.signature file, alongside the library foo.so. it means that I don&#8217;t need to add it to the [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I&#8217;ve said loading libraries in Linux is insecure, let&#8217;s just cursorily examine how that is&#8230;</p>
<p>I require a digitally signed .so. Being a decent sort of chap, I&#8217;ve decided to allow it to exist in a foo.so.signature file, alongside the library foo.so. it means that I don&#8217;t need to add it to the binary in another section of the .so. This generally complicates signature checking &#8211; you need to check the signature of the binary, while excluding the section containing the signature, which could itself be a mechanism for getting code into the system. This can be ameliorated by enforcing a size restriction on the signature section, but have you seen some of the code these days? it&#8217;s really fricking small.</p>
<p>the standard mechanism for loading foo.so, is to use the dlopen() call. Once you have completed this call any .init section of the library has been executed. you are pwned.</p>
<p>You need to open() the file, open() the signature. Compare the signature to the content of the file (you can use mmap(MAP_PRIVATE) to ensure that changes to the underlying file do not affect the contents of your memory. Then you re implement dlopen(), alowing it to take either a file descriptor or a raw handle to memory and a size&#8230; it&#8217;s your call</p>
<p>Feckers, not making linux secure by default&#8230; oh, wait, this has existed since before linux&#8230;</p>
<p>Security is an ever developing process. the APIs need to evolve with the threats.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2010/08/securely_loading_libraries_lin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is that a DLL in your pocket&#8230;</title>
		<link>http://www.petesh.com/archives/2010/08/is_that_a_dll_in_your_pocket/</link>
		<comments>http://www.petesh.com/archives/2010/08/is_that_a_dll_in_your_pocket/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 22:10:23 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Complaints]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=708</guid>
		<description><![CDATA[Shock! Horror! Bug found where Windows applications will open DLLs that are in the current working directory of a process! Except it&#8217;s not a bug. It&#8217;s by design, and it&#8217;s existed since NT. Microsoft is being smacked in the head by a required feature of Windows due to the initial weakness of the LoadLibrary call. [...]]]></description>
			<content:encoded><![CDATA[<p>Shock! Horror! Bug found where Windows applications will open DLLs that are in the current working directory of a process!</p>
<p>Except it&#8217;s not a bug. It&#8217;s by design, and it&#8217;s existed since NT.</p>
<p>Microsoft is being smacked in the head by a <b>required feature</b> of Windows due to the initial weakness of the <a href="http://msdn.microsoft.com/en-us/library/ms684175%28VS.85%29.aspx">LoadLibrary</a> call. If you don&#8217;t specify a path to the file to load, it uses the <a href="http://msdn.microsoft.com/en-us/library/ms682586%28v=VS.85%29.aspx">standard library search path</a>.</p>
<p>Dear god, you would think that this was news. It is not news, nor has it been since the goddamned operating system shipped. Granted, the issue is severe, but the fact of the matter is if an application is executed using a working directory that isn&#8217;t under your control, then what can you do? if there are libraries in the same directory that launched the program that happen to share the name of system libraries then you&#8217;re hosed.</p>
<p>Hey, guess what asshole, if you link a linux binary with a search path containing &#8216;.&#8217;, then you get the same problem. It&#8217;s just as well that nobody links their binaries with -R. &#8230;. eh?</p>
<p>The documentation is blatant in this regard. I&#8217;ve known it was a security issue since I first learned of the LoadLibrary call, as any even half decent developer should have known when they started using the damned function.</p>
<p>The rule is simple. Resolve the full path to a library before you load it. Validate that it &#8216;looks right&#8217; at that point. Then load it.</p>
<p>BTW .init section in .so files &#8211; so totally a security hole. You can&#8217;t dlopen a file to determine if it&#8217;s good without executing the .init code. Game over man, game f**king over!</p>
<p>My .init code does a setenv(&#8220;LD_LIBRARY_PATH&#8221;, &#8220;.&#8221; + getenv(&#8220;LD_LIBRARY_PATH&#8221;)) &#8230; now piss off and write secure code for once&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2010/08/is_that_a_dll_in_your_pocket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controller or Mouse?</title>
		<link>http://www.petesh.com/archives/2010/08/controller_or_mouse/</link>
		<comments>http://www.petesh.com/archives/2010/08/controller_or_mouse/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 17:40:44 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Consoles]]></category>
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=707</guid>
		<description><![CDATA[Following the purchase of a shiny new Xbox360, I transferred all the licenses and state from my old one to this one. This was accomplished using a 16GB USB stick (a feature added in the last xbox update which is great IMHO). Everything seemed to transfer without a hitch and I was up and using [...]]]></description>
			<content:encoded><![CDATA[<p>Following the purchase of a shiny new Xbox360, I transferred all the licenses and state from my old one to this one. This was accomplished using a 16GB USB stick (a feature added in the last xbox update which is great IMHO). Everything seemed to transfer without a hitch and I was up and using the new system almost immediately. I&#8217;ve been enjoying the blessed quiet of the new system, and the larger capacity hard drive allows the adding of an almost unlimited number of game images, which speeds up loading significantly.</p>
<p>Then I fired up Halo 3 &#8211; before you laugh, I still haven&#8217;t finished it. My single player save game was in some crazy state where upon loading I was immediately booted back to the startup screen. I had to restart the game from scratch, which is not pleasant to say the least.</p>
<p>Replaying the game has been a chore &#8211; mind you a lot of things that were difficult first time round are significantly simpler this time &#8211; it simply is by virtue of the fact that I&#8217;m replaying it.</p>
<p>The issue I have is the messy inaccuracy of the controller as a targeting device. I must simply not really be used to it or something, as I find it cumbersome and generally significantly less accurate than the mouse and keyboard options that I use on the PC.</p>
<p>Does anyone have any advice on the topic? Should I just be trying harder, or is there an option where I can use a mouse and keyboard with the 360? Or will I have to simply suck it up and practice until my hands bleed?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2010/08/controller_or_mouse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is it just me&#8230;.</title>
		<link>http://www.petesh.com/archives/2010/07/is_it_just_me/</link>
		<comments>http://www.petesh.com/archives/2010/07/is_it_just_me/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 18:56:29 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Apple iPhone]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=706</guid>
		<description><![CDATA[Or did Apple make a colossal blunder releasing the iPhone 4 before it had been completely tested? The more details of issues that are being reported seems to lead me to this conclusion. Of course I have absolutely no evidence that this is the case, merely having a hunch that this may be the issue. [...]]]></description>
			<content:encoded><![CDATA[<p>Or did Apple make a colossal blunder releasing the iPhone 4 before it had been completely tested? The more details of issues that are being reported seems to lead me to this conclusion. Of course I have absolutely no evidence that this is the case, merely having a hunch that this may be the issue. There is a good chance that the lost iPhone caused the acceleration of the schedule for it&#8217;s release, preventing a lot of the &#8216;fit and finish&#8217; work that usually comes with apple products.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2010/07/is_it_just_me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New toys..</title>
		<link>http://www.petesh.com/archives/2010/05/new_toys/</link>
		<comments>http://www.petesh.com/archives/2010/05/new_toys/#comments</comments>
		<pubDate>Sat, 01 May 2010 19:13:53 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.petesh.com/wp/?p=705</guid>
		<description><![CDATA[Woohoo! This new toy is awesome - Posted using BlogPress from my iPad Location:Forest Lawn Ave,Stamford,United States]]></description>
			<content:encoded><![CDATA[<p>Woohoo! This new toy is awesome <img src='http://www.petesh.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
- Posted using BlogPress from my iPad
<p class='blogpress_location'>Location:<a href='http://maps.google.com/maps?q=Forest%20Lawn%20Ave,Stamford,United%20States%4041.068743%2C-73.551179&#038;z=10'>Forest Lawn Ave,Stamford,United States</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.petesh.com/archives/2010/05/new_toys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.591 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-20 20:43:13 -->
<!-- Compression = gzip -->
