<?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>ThePizzy.net/blog &#187; database</title>
	<atom:link href="http://thepizzy.net/blog/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://thepizzy.net/blog</link>
	<description>Solving the complex in 140 characters or less...</description>
	<lastBuildDate>Mon, 02 Jan 2012 15:55:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Program a Human &#8211; Part 2: Emotions</title>
		<link>http://thepizzy.net/blog/2010/06/how-to-program-a-human-part-2-emotions/</link>
		<comments>http://thepizzy.net/blog/2010/06/how-to-program-a-human-part-2-emotions/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 16:36:45 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Thought Experiments]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[artificial intelligence]]></category>
		<category><![CDATA[biology]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[emotion]]></category>
		<category><![CDATA[emotions chips]]></category>
		<category><![CDATA[mobile trust sharing]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[psychology]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=573</guid>
		<description><![CDATA[Have you ever considered why it is people have emotions? What are emotions really comprised of? What triggers them, what determines their intensity? What causes the same stimuli to be...]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-631 alignright" title="Robotic Emotions" src="http://thepizzy.net/blog/wp-content/uploads/2010/06/281259_f4961-300x237.jpg" alt="" width="300" height="237" />Have you ever considered why it is people have emotions? What are emotions really comprised of? What triggers them, what determines their intensity? What causes the same stimuli to be interpreted in two different ways, by two different observers?</p>
<p>I&#8217;ve put some thought into this during a discussion about the creation of an emotions chip and how one would go about programming emotional responses into a computer or robot.</p>
<p>Consider this hypothetical humanoid example:</p>
<blockquote><p>John and Matt are friends &#8211; they&#8217;ve been friends since they were little kids. They like to rough-house, have insult contests to see who can come up with the most insulting quip, and have generally different preferences in women.</p>
<p>While running down the city sidewalk, John takes a physical jab at Matt, Matt reacts with a friendly reciprocal jab. During the horseplay, a bystander gets run into, and also jabbed. The bystander yells out some profanity and insults, and fumes about it the rest of the day.</p></blockquote>
<p><span id="more-573"></span>What psychological forces are in play here? We have John and Matt who are happy and playing, there is a certain level of trust between them that indicates anything John or Matt does to the other is going to be in jest, in accordance with how they&#8217;ve each understood the personality of the other. The bystander, however, is not keen on the intentions and understanding of the two boy&#8217;s personalities, and considers their horseplay to be rude, disrupting, and inappropriate.</p>
<p>Now, if we were going to mimic this same scenario, but Matt is a robot named M477, we&#8217;d need a few things in the computer to interpret and record this data. Here&#8217;s the same scenario, but using M477 as John&#8217;s childhood toy:</p>
<blockquote><p>John has owned his robot M477 since he was a child. Over time, M477 has observed and taken note that John likes to rough-house, try to come up with the most creative insults, and likes a particular type of woman.</p>
<p>While running down the city sidewalk, John takes a physical jab at M477, and M477 receives the jab, calculates the perceived force intended (taking into consideration the momentum of the fist and the time at that momentum, the subsequent pull-back of the fist before actually making contact and the time taken to pull-back, and the velocity they were moving down the sidewalk :: v((m*t&#8217;) &#8211; (p * t&#8221;)) = r) and reciprocates with an equally playful jab back. &#8230;</p></blockquote>
<p>What about the Bystander? If you consider the bystander as a robot, BY574ND3R, he is not inherently privy to the trust-factor that M477 and John have between each other, nor does he contain the data that M477 has about John&#8217;s personality.</p>
<blockquote><p>&#8230;During the horseplay, BY574ND3R gets run into, and also jabbed. As programmed, when encountering an unexpected result (getting ran into with force, and jabbed, without a display of consideration from the offending party), a calculation is performed (taking into account the current system morale, the inherent non-zero initial level of trust between the offending parties and BY574ND3R, the force of the encounter, and the apparent level of disregard for BY574ND3R&#8217;s right to exist in a particular point of space-time :: m * t * f * d = a) the anger emotion triggers &#8211; with the intensity gauged by all the variables of the equation, as well as a decrease in BY574ND3R&#8217;s system morale.</p></blockquote>
<p>That&#8217;s just two emotions: Comradery and Anger. In this same way, other emotions, and even variables could be affected. For the sake of example, if there were a situation in which exclusivity was promised to a particular computer system for a task, and the Promiser was discovered to be using other systems to perform the same tasks, it would result in a decreased trust level, and a negative value factor applied to the system&#8217;s overall morale, and to the system&#8217;s certainty of understanding what it&#8217;s owner&#8217;s desires and expectations are.</p>
<p>And if such a situation would arise that caused the system&#8217;s overall morale to drop to a negative value, the system&#8217;s performance would be hindered, or stop altogether. Conversely, an increase in system morale would increase the system&#8217;s performance. Alternatively, if the system morale was low, and yet a neutral-morale gesture (i.e. John &amp; M477&#8242;s playful jabs) were to take place, the response from M477 could be neutral or even negative towards John.</p>
<p>It&#8217;s my position that even something as complex as emotions could be represented with an artificially intelligent machine, a database of previous experiences with the user, a running variable of user trust, system morale, and the ability to measure the world around them indirectly, keeping such measurements in virtual memory to be recalled if needed, or discarded after a period of time.</p>
<p>Of course, some of the limitations that humans have with regard to trust and experiences with other human could be overcome in the world of robots. If they were all connected with 4G or better type communications devices and the ability to share their trust levels with regard to humans they have come into contact with (similarly to the word-of-mouth reputation some humans share amongst themselves) via something like &#8220;<a href="http://www.roboearth.org/" target="_blank">RoboEarth</a>&#8221; then perhaps there would be a less intense response from BY574ND3R when he was run into. He would have been told by M477 that this was expected behavior, and nothing malicious was intended by it &#8211; it&#8217;s just his personality. This shared trust factor would then be weighted based on the length of time the reporting robot has spent with the human in the report.</p>
<p>The issue of human privacy would come into question, since this broadcast would also include personality traits to accompany the level of Trust &#8211; otherwise it would be a meaningless number. I&#8217;d be inclined to suggest that this is not really an issue, unless the robot knows of things you do that you do not want others to know you do &#8211; but then it would be no different than having a human in the room with you while you do those things.</p>
<p>This thought experiment could suggest that having emotions is what makes us &#8220;human&#8221; &#8211; in that there are actions and thoughts we have, and the ability to have them would be passed to robots and machines. I&#8217;m inclined to believe then that the ability to harbor the capacity for emotion is then not solely a human characteristic. However, this would obviously create problems in the world productivity, if machines were as susceptible to fluctuations in output as humans are based on environmental conditions. Thus, this is not to say that robots should be permitted to have emotions chips &#8211; but merely to conjecture that such a thing could exist given enough storage and experience with the particular user.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/AI' rel='tag' target='_blank'>AI</a>, <a class='technorati-link' href='http://technorati.com/tag/artificial+intelligence' rel='tag' target='_blank'>artificial intelligence</a>, <a class='technorati-link' href='http://technorati.com/tag/biology' rel='tag' target='_blank'>biology</a>, <a class='technorati-link' href='http://technorati.com/tag/computers' rel='tag' target='_blank'>computers</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/emotion' rel='tag' target='_blank'>emotion</a>, <a class='technorati-link' href='http://technorati.com/tag/emotions+chips' rel='tag' target='_blank'>emotions chips</a>, <a class='technorati-link' href='http://technorati.com/tag/mobile+trust+sharing' rel='tag' target='_blank'>mobile trust sharing</a>, <a class='technorati-link' href='http://technorati.com/tag/Programming' rel='tag' target='_blank'>Programming</a>, <a class='technorati-link' href='http://technorati.com/tag/psychology' rel='tag' target='_blank'>psychology</a>, <a class='technorati-link' href='http://technorati.com/tag/robots' rel='tag' target='_blank'>robots</a>, <a class='technorati-link' href='http://technorati.com/tag/technology' rel='tag' target='_blank'>technology</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2010/06/how-to-program-a-human-part-2-emotions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TweetSuite, TweetBacks, and Ping.fm WordPress plugin (Update)</title>
		<link>http://thepizzy.net/blog/2009/04/tweetsuite-tweetbacks-and-pingfm-wordpress-plugin-update/</link>
		<comments>http://thepizzy.net/blog/2009/04/tweetsuite-tweetbacks-and-pingfm-wordpress-plugin-update/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 14:34:23 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[TweetSuite]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ping.fm]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tweetback]]></category>
		<category><![CDATA[tweetbacks]]></category>
		<category><![CDATA[webhost]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=356</guid>
		<description><![CDATA[Well, I sent off my plugin code to Dan Zarrella, and got the Ping.fm developers API Key approved, and got WordPress.org to approve the plugin, and have been running it...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Twitter Logo" src="https://s3.amazonaws.com/twitter_production/profile_images/1125794203/at-twitter.png" alt="" width="128" height="128" />Well, I sent off my plugin code to Dan Zarrella, and got the Ping.fm developers API Key approved, and got WordPress.org to approve the plugin, and have been running it on my blog since its original announcement &#8211; but have run into a possible issue&#8230;</p>
<p>My webhost says it is creating a lot of &#8220;sleeper&#8221; processes on the database server, and using up a lot of the processor resources. My account was even suspended until I fixed it.</p>
<p>SO &#8211; I am going to be rewriting the whole thing, pretty much from scratch now, and it will only be loosely based on Dan&#8217;s version&#8230; <span id="more-356"></span></p>
<p>Currently, the code will run through the database of posts, and find those that have shortened URLs stored for them, run a twitter search, and return/parse/store/display the resulting tweetbacks. And it does this every 5 minutes.</p>
<p>However, that sucks up a lot of processing power to do that, especially if you have a big blog, popular blog, or both. The Answer: A Rewrite. This one is going to run a single Twitter search for every shortened url in the database, return ALL the results once, and parse them out, store them in the database, and associate them to their respective parent posts.</p>
<p>So, there&#8217;s the update for why this hasn&#8217;t been released yet.</p>
<p>I&#8217;m also working on trying to get the retro-active TweetThis buttons working on old posts &#8211; but something isn&#8217;t working right &#8211; either it&#8217;s the original code that isn&#8217;t comparing what&#8217;s in the database to the conditional statement correctly (if <em>this.url</em> = &#8220;&#8221;, then <em>make new ones</em>), or something. It&#8217;s going to take some more testing on my own test database, since my webhost is getting antsy with all the processes I&#8217;m using.</p>
<p>I&#8217;ll keep everyone updated as it moves along. Thanks.<br />
<a href="http://twitter.com/neotsn"><img class="size-full wp-image-583  aligncenter" title="twitter.com/neotsn" src="http://thepizzy.net/blog/wp-content/uploads/2010/08/twitter-wordpress-neo12.png" alt="twitter.com/neotsn" width="350" height="125" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/api' rel='tag' target='_blank'>api</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/MySQL' rel='tag' target='_blank'>MySQL</a>, <a class='technorati-link' href='http://technorati.com/tag/Ping.fm' rel='tag' target='_blank'>Ping.fm</a>, <a class='technorati-link' href='http://technorati.com/tag/plugin' rel='tag' target='_blank'>plugin</a>, <a class='technorati-link' href='http://technorati.com/tag/Programming' rel='tag' target='_blank'>Programming</a>, <a class='technorati-link' href='http://technorati.com/tag/tweetback' rel='tag' target='_blank'>tweetback</a>, <a class='technorati-link' href='http://technorati.com/tag/tweetbacks' rel='tag' target='_blank'>tweetbacks</a>, <a class='technorati-link' href='http://technorati.com/tag/TweetSuite' rel='tag' target='_blank'>TweetSuite</a>, <a class='technorati-link' href='http://technorati.com/tag/webhost' rel='tag' target='_blank'>webhost</a>, <a class='technorati-link' href='http://technorati.com/tag/Wordpress' rel='tag' target='_blank'>WordPress</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2009/04/tweetsuite-tweetbacks-and-pingfm-wordpress-plugin-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TweetSuite WordPress Plugin + Ping.fm (Preview)</title>
		<link>http://thepizzy.net/blog/2009/03/tweetsuite-wordpress-plugin-pingfm-preview/</link>
		<comments>http://thepizzy.net/blog/2009/03/tweetsuite-wordpress-plugin-pingfm-preview/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 16:41:23 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Ping.fm]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Thought Experiments]]></category>
		<category><![CDATA[TweetSuite]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[dan zarrella]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[syndication]]></category>
		<category><![CDATA[tweetbacks]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=319</guid>
		<description><![CDATA[A couple weeks ago, I found out that Twitter had a Search feature that showed real-time tweets for a keyword. I gave it a little thought, considered what it would...]]></description>
			<content:encoded><![CDATA[<p>A couple weeks ago, I found out that <a href="http://twitter.com" target="_blank">Twitter</a> had a <a href="http://search.twitter.com" target="_blank">Search feature</a> that showed real-time tweets for a keyword. I gave it a little thought, considered what it would take to actually write the software &#8211; and then wised up, and decided to see if someone already did the hard work.</p>
<p>Sure enough, <a title="@danzarrella" href="http://twitter.com/danzarrella" target="_blank">Dan Zarrella</a> over at <a href="http://danzarrella.com/" target="_blank">danzarrella.com</a> had. He wrote one for <a href="http://danzarrella.com/tweetbacks-beta.html" target="_blank">Tweetbacks</a>, and then expanded on it with <a href="http://danzarrella.com/beyond-tweetbacks-introducing-tweetsuite.html" target="_blank">TweetSuite</a>. So I gave them a shot.</p>
<p>I started with Tweetbacks on the <a href="http://freeformfrog.com/blog" target="_blank">FreeformFrog.com Blog</a> and everything seemed to be working fine &#8211; until one day when the Tweetbacks stopped. It just stopped finding them &#8211; even though I knew they were getting tweeted &#8211; because I was using <a href="http://ping.fm" target="_blank">Ping.fm</a> to syndicate my blog posts to the appropriate social networks.</p>
<p>I gave it a couple weeks, and then decided I was going to fix it. I was tired of not having my TweetBacks working &#8211; especially during my efforts pushing a Social Networking campaign at job.</p>
<p>So, I added @danzarrella, and asked&#8230;</p>
<blockquote><p><span class="entry-content">@<a href="http://twitter.com/danzarrella">danzarrella</a> do you have plans to integrate ping.fm posting in TweetSuite? If not, mind if I take a crack at it?<br />
from @neotsn at <a class="entry-date" rel="bookmark" href="http://twitter.com/neotsn/status/1350750034"><span class="published">4:32 PM Mar 18th</span></a> from web</span></p></blockquote>
<p><span class="entry-content">A few minutes later, I got a response&#8230;</span></p>
<blockquote><p><span class="entry-content"><span class="entry-content">@<a href="http://twitter.com/neotsn">neotsn</a> go to town<br />
from @danzarrella at </span><span class="meta entry-meta"><a class="entry-date" rel="bookmark" href="http://twitter.com/danzarrella/status/1350761852"><span class="published">4:34 PM Mar 18th</span></a> from <a href="http://www.tweetdeck.com/">TweetDeck</a> <a href="http://twitter.com/neotsn/status/1350750034">in reply to neotsn</a></span></span></p></blockquote>
<p><span class="entry-content"><span class="meta entry-meta">Excellent&#8230;now I had his blessing to hack his codes. And so I have&#8230;<br />
</span></span></p>
<p><span class="entry-content"><span class="meta entry-meta"><span id="more-319"></span><br />
</span></span></p>
<h2><span class="entry-content"><span class="meta entry-meta">The download is coming soon</span></span></h2>
<h3><span class="entry-content"><span class="meta entry-meta">I have to get my Ping.fm API Key approved before anyone but me can install the plugin.<br />
</span></span></h3>
<p><span class="entry-content"><span class="meta entry-meta">And now I present to you a general overview of what I wanted to accomplish, and how I did it. (<strong>Please note, this is a GENERAL overview with some examples</strong> &#8211; it&#8217;s not meant to be a how-to, so don&#8217;t try to just copy/paste the samples &#8211; there is much more to do than can be explained here). Let&#8217;s get started&#8230;</span></span></p>
<h2><span class="entry-content"><span class="meta entry-meta">Objectives&#8230;</span></span></h2>
<ol>
<li><span style="text-decoration: underline;"><strong>Make it post through Ping.fm</strong></span> &#8211; I syndicate all my stuff through <a href="http://twitterfeed.com" target="_blank">twitterfeed.com</a> and it pushes everything out through Ping.fm for me. Upon further investigation, I noticed that TweetSuite used its own publishing code to push out the updates &#8211; after it created its own shortened urls and attached them. So of course it would never find my updates &#8211; it didn&#8217;t know what urls to search for, because it didn&#8217;t create them.</li>
<li><span style="text-decoration: underline;"><strong>Make it find my tweets that were pushed through Ping.fm</strong></span> &#8211; After realizing that it stopped searching for blog titles and started searching for the shortened urls as the unique identifier on the web, I realized that I needed it to create my urls and push them out with my Ping.fm update text. That was the only way to let TweetSuite know that there were tweets out there about my blog, and obtw here&#8217;s the link.</li>
<li><span style="text-decoration: underline;"><strong>Clean up some of the things that were a little messy</strong></span> &#8211; Once I got poking around in the code, I noticed that it some parts of it were written a little redundantly, and in order for me to maintain understanding of what was going on, I needed to clean it up a little.</li>
</ol>
<h2>Let&#8217;s Code&#8230;</h2>
<p>Well, for starters, to accomplish #1, I had to write a function that would validate the user&#8217;s app key with Ping.fm:<br />
{code type=php}<br />
/* [[Neo]] */<br />
//BEGIN Ping.fm functions<br />
function pingfm_verify() {<br />
	// request app key verification<br />
	$ch = curl_init();<br />
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);<br />
	curl_setopt($ch, CURLOPT_POST, true);<br />
	curl_setopt($ch, CURLOPT_URL, &#8216;http://api.ping.fm/v1/user.validate&#8217;);<br />
	curl_setopt($ch, CURLOPT_POSTFIELDS, Array(<br />
		&#8216;api_key&#8217; =&gt; get_option(&#8216;tweetsuite_ping_api_key&#8217;),<br />
		&#8216;user_app_key&#8217; =&gt; get_option(&#8216;tweetsuite_ping_app_key&#8217;)<br />
	));<br />
	$output = curl_exec($ch);<br />
	// update database with response<br />
	if (preg_match(&#8216;/OK/&#8217;, $output)) {<br />
		echo &#8216;	&lt;strong&gt;Your key has been verified.&lt;/strong&gt; Your can now post to your<br />
				&lt;a href=&#8221;http://www.ping.fm&#8221; target=&#8221;_blank&#8221;&gt;Ping.fm&lt;/a&gt; account.&#8217;;<br />
		update_option(&#8216;tweetsuite_ping_keyVerified&#8217;, 1);<br />
	} else {<br />
		echo (&#8216;&lt;strong&gt;Your key could not be verified.&lt;/strong&gt;.&#8217;);<br />
		update_option(&#8216;tweetsuite_ping_keyVerified&#8217;, 0);<br />
		return false;<br />
	}<br />
}</p>
<p>// END Ping.fm Functions<br />
{/code}<br />
Just your basic <span style="font-family: 'Courier New'; line-height: 18px; white-space: pre;">curl</span><span style="font-family: Georgia; line-height: 19px; white-space: normal;"> function to contact </span><span style="font-family: 'Courier New'; line-height: 18px; white-space: pre;">http://api.ping.fm/v1/user.validate</span><span style="font-family: Georgia; line-height: 19px; white-space: normal;"> and pass the api_key and user_app_key to the api, per the <a href="http://groups.google.com/group/pingfm-developers/web/api-documentation?pli=1#user.validate" target="_blank">API Documentation</a> on <strong>user.validate</strong>. Depending on the response, store it to the database, and display the appropriate message.</span></p>
<p><span style="font-family: Georgia; line-height: 19px; white-space: normal;">Next, I had to implement the fields to make that happen. We&#8217;ll start with the database&#8230;</span><br />
{code type=php}<br />
/* [[Neo]] */<br />
//ADDED:<br />
	add_option(&#8216;tweetsuite_ping_api_key&#8217;,&#8217;333333333333333333333333333333333&#8242;);<br />
	add_option(&#8216;tweetsuite_ping_app_key&#8217;,&#8221;);<br />
	add_option(&#8216;tweetsuite_use_ping&#8217;,0);<br />
	add_option(&#8216;tweetsuite_ping_keyVerified&#8217;,0);<br />
//END ADD<br />
{/code}<br />
This sticks those fields into the wordpress database table &#8220;wp_options&#8221; where all the config values go. My developer&#8217;s api key, a blank user application key, a field for the checkbox &#8220;Do you want to use Ping.fm?&#8221; and one for whether or not the user_app_key successfully verified.</p>
<p>Then I create the user interface for those fields (as well as rearrange the rest of the fields since these have to flow right to make sense&#8230;<br />
{code type=php}<br />
/* [[Neo]] */<br />
//ADDED:<br />
	update_option(&#8216;tweetsuite_ping_app_key&#8217;, $_POST['tweetsuite_ping_app_key']);<br />
//END ADD</p>
<p>//tweetsuite_use_ping<br />
($_POST['tweetsuite_use_ping']) ? update_option(&#8216;tweetsuite_use_ping&#8217;, 1) : update_option(&#8216;tweetsuite_use_ping&#8217;, 0);<br />
{/code}</p>
<p>That part allows the database to be updated with the data from the fields below&#8230;<br />
{code type=html}<br />
&lt;!&#8211; /* [[Neo]] */ &#8211;&gt;<br />
&lt;!&#8211; BEGIN ADD &#8211;&gt;<br />
&lt;tr valign=&#8221;top&#8221;&gt;<br />
	&lt;th scope=&#8221;row&#8221;&gt;Ping.fm :: Use Ping.fm to publish new posts (via your default method)?:&lt;/th&gt;<br />
	&lt;td&gt;&lt;INPUT TYPE=CHECKBOX NAME=&#8221;tweetsuite_use_ping&#8221; &lt;?php if(get_option(&#8216;tweetsuite_use_ping&#8217;)) { echo &#8220;checked&#8221;; } ?&gt;&gt;<br />
		&lt;br /&gt;&lt;b&gt;["Send a Tweet when you publish" is required for this to work]&lt;/b&gt;<br />
	&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr valign=&#8221;top&#8221;&gt;<br />
	&lt;th scope=&#8221;row&#8221;&gt;Ping.fm :: Your Ping.fm &lt;a href=&#8221;http://ping.fm/key/&#8221; target=&#8221;_blank&#8221;&gt;Application Key&lt;/a&gt;:&lt;/th&gt;<br />
	&lt;td&gt;&lt;INPUT TYPE=text NAME=&#8221;tweetsuite_ping_app_key&#8221;  value=&#8217;&lt;?php echo get_option(&#8216;tweetsuite_ping_app_key&#8217;); ?&gt;&#8217; /&gt;&lt;br /&gt;&lt;?php if(get_option(&#8216;tweetsuite_ping_app_key&#8217;)) { echo pingfm_verify(); } ?&gt;<br />
	&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;!&#8211; END ADD &#8211;&gt;<br />
{/code}<br />
This is below the checkbox for &#8220;Send a Tweet when you publish a post?&#8221;&#8230;if that is checked, then if you check &#8220;Use Ping.fm to publish new posts (via your default method)?&#8221; and fill out the next field for &#8220;Your Ping.fm <a href="http://ping.fm/key/" target="_blank">Application Key</a>&#8221; then it will send your post details on Publish through Ping.fm instead of Twitter itself, appending the tinyurl associated with the post to your Ping.fm message. All this is done by editing the function that sends the tweets&#8230;<br />
{code type=php}<br />
function tweetsuite_send($msg) {<br />
	/* [[Neo]] */<br />
	//REMOVED:<br />
	//$prefix = urlencode(get_option(&#8216;tweetsuite_prefix&#8217;).&#8217; &#8216;);<br />
	//REPLACED:<br />
	$prefix = (get_option(tweetsuite_use_ping) and get_option(tweetsuite_ping_keyVerified)) ? get_option(&#8216;tweetsuite_prefix&#8217;).&#8217; &#8216; : urlencode(get_option(&#8216;tweetsuite_prefix&#8217;).&#8217; &#8216;);<br />
	$msg = $prefix.$msg;</p>
<p>	/* [[Neo]] */<br />
	//ADDED<br />
	if(get_option(tweetsuite_use_ping) and get_option(tweetsuite_ping_keyVerified)) {<br />
		$ch = curl_init();<br />
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);<br />
		curl_setopt($ch, CURLOPT_POST, true);<br />
		curl_setopt($ch, CURLOPT_URL, &#8216;http://api.ping.fm/v1/user.post&#8217;);<br />
		curl_setopt($ch, CURLOPT_POSTFIELDS, Array(<br />
			&#8216;api_key&#8217; =&gt; get_option(&#8216;tweetsuite_ping_api_key&#8217;),<br />
			&#8216;user_app_key&#8217; =&gt; get_option(&#8216;tweetsuite_ping_app_key&#8217;),<br />
			&#8216;post_method&#8217; =&gt; &#8220;default&#8221;,<br />
			&#8216;body&#8217; =&gt; $msg)<br />
		);<br />
		$output = curl_exec($ch);<br />
	} else {<br />
		//END ADD<br />
		$username = get_option(&#8216;tweetsuite_twitter_username&#8217;);<br />
		$password = get_option(&#8216;tweetsuite_twitter_password&#8217;);<br />
		if(($username) and ($password))  {<br />
			$url = &#8216;http://twitter.com/statuses/update.xml&#8217;;<br />
			$curl_handle = curl_init();<br />
			curl_setopt($curl_handle, CURLOPT_URL, &#8220;$url&#8221;);<br />
			curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);<br />
			curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);<br />
			curl_setopt($curl_handle, CURLOPT_POST, 1);<br />
			curl_setopt($curl_handle, CURLOPT_POSTFIELDS, &#8220;status=$msg&#8221;);<br />
			curl_setopt($curl_handle, CURLOPT_USERPWD, &#8220;$username:$password&#8221;);<br />
			$buffer = curl_exec($curl_handle);<br />
			curl_close($curl_handle);<br />
		}<br />
	/* [[Neo]] */<br />
	//ADDED<br />
	}<br />
	//END ADD<br />
}<br />
{/code}<br />
This starts off by swapping out the original <strong>urlencode()</strong> function for a conditional statement deciding if this is a ping.fm post or a twitter post. If it&#8217;s a ping.fm post, then we don&#8217;t want to <strong>urlencode()</strong> the prefix, because it sticks + signs where there should be spaces in the prefix to the title. However, if we don&#8217;t want to use ping.fm, then don&#8217;t mess with the original code.</p>
<p>Following that, it splits which method we used to post, based on the same criteria &#8211; make sure the checkbox is true for &#8220;tweetsuite_use_ping&#8221; and that the user&#8217;s app key is verified in &#8220;tweetsuite_ping_keyVerified&#8221;. If that&#8217;s the case, then post it through ping.fm &#8211; if any of that is not met, then go ahead and try to post it through twitter. If there is no username and password supplied on the options page, then we just won&#8217;t post anything.</p>
<p>Now&#8230;about the whole $msg &#8211; that part got skipped in the logic of everything. This was the tricky part, for me. Originally, I stumbled across an API Documentation page for the ping.fm method &#8220;url.shorten&#8221; and that was the very thing I needed &#8211; something to grab a ping.fm url, without passing it through ping.fm yet. However, I found out, after much frustration, that this method was mysteriously &#8220;depreciated&#8221; (which should be read as &#8220;edited off the page, and 404&#8242;d when you try to use it). But, I found <a href="http://groups.google.com/group/pingfm-developers/browse_thread/thread/e6bf14bd63fdb7df/e59e3c16424ad20f?lnk=gst&amp;q=url+shortening#e59e3c16424ad20f" target="_blank">another solution</a> in the knowledgebase at Ping.fm&#8230;<br />
{code type=php}<br />
function ts_send_tweet($postID) {<br />
	global $wpdb;<br />
	if(!is_int($postID))<br />
		$postID = $postID-&gt;ID;</p>
<p>	$table_name = $wpdb-&gt;prefix . &#8220;shorturls&#8221;;<br />
	$line = $wpdb-&gt;get_row(&#8220;select * from $table_name where postID=$postID&#8221;);<br />
	if($line-&gt;postID==$postID) {<br />
		/* [[Neo]] */<br />
		// ADDED: &#8220;*&#8221;.<br />
		$shorturl = &#8220;*&#8221;.$line-&gt;tinyurl;<br />
		$post = get_post($postID);<br />
		if(get_option(&#8216;tweetsuite_send_posts&#8217;))<br />
			tweetsuite_send(trim($post-&gt;post_title).&#8217; &#8216;.$shorturl);<br />
	}<br />
}<br />
{/code}<br />
The article said you can prepend a <strong>* </strong>to the front of a url and it would not shorten it (in addition to the fact that they said they wouldn&#8217;t re-shorten any URLs 24 characters or smaller). So, I went with the * solution, because we&#8217;re already providing short URLs, but don&#8217;t want to risk the functionality in future updates to allow for custom url shortening services.</p>
<p>And that accomplishes both #1 and #2. We have the TweetSuite posting its updates through the Ping.fm API, and pushing a shortened url out with the post. TweetSuite then becomes aware of this url at publish, and stores it in its database. Then the cron job that runs every 5 minutes searches on any version of the URL that was stored and pulls back all the entries from the search.twitter.com Atom feed &#8211; parses them, and updates the database with them.</p>
<p>The rest of the stuff I did in the plugin was merely cleaning up&#8230;for example, reading the shortened urls from the Atom feed. The original code was:<br />
{code type=php}<br />
if(stristr($tweet, &#8216;http://bit.ly&#8217;)) {<br />
	if(strstr($tweet, $bitly)) {<br />
		$add = true;<br />
	} else {<br />
		$add = false;<br />
	}<br />
}<br />
{/code}<br />
Because the urls are using alphanumeric sequences to track what link is what &#8211; and the url&#8217;s are case-sensitive, it was returning links that were not related to the post. For example, I got <a href="http://twitter.com/lukebuchanan/statuses/1332713478" target="_blank">someone&#8217;s tweet about Rush Limbaugh</a> because the bit.ly url (&#8220;http://bit.ly/fyhz&#8221;)was the same letters, but in a different case then my original &#8220;http://bit.ly/FyhZ&#8221;. So I changed the order of the search, did it for all the services currently supported, and cleaned up the code a little:<br />
{code type=php}&#8230;<br />
if(strstr($tweet, &#8216;http://bit.ly&#8217;)) { $add = (stristr($tweet, $bitly)) ? true : false; } else {<br />
&#8230;<br />
{/code}<br />
The function<strong> strstr() </strong>is <strong>not</strong> case-sensitive, and that&#8217;s ok for a search on the domain name &#8211; we want anything that looks close to &#8220;bit.ly&#8221; to return positive. However, once it does, it&#8217;s imperitive that we use the case-sensitive <strong>stristr()</strong> function to return a positive result only if the full url matches what we have in the database case-for-case.</p>
<h2>Wrapping up&#8230;</h2>
<p>I made a couple more additions to the code beyond that, some of them required for functionality, some of them for cosmetics. I&#8217;ve submitted my plugin version to Ping.fm to approve it, and take my Developer&#8217;s Key out of &#8220;Pending&#8221; status. Once that&#8217;s done, I&#8217;ll send it off to Dan Zarrella to take a look and see how he wants to move forward. Then I&#8217;ll be able to post the plugin for download (definitely here, but also on the WordPress Plugin directory.</p>
<h2>Continuing on&#8230;</h2>
<p>I have read through the comments on Dan&#8217;s blog from the people, and have taken note of the things that they are asking for. After reading the code, he had already been working on some of the features. There are 5 main ones that people are asking for, and I&#8217;ve already done one of them in this release:</p>
<ol>
<li><span style="text-decoration: line-through;">TweetThis link opens in a new window.</span></li>
<li>AutoUpgrade via WordPress Plugin Directory</li>
<li>Allow customized URL Shortening Services</li>
<li>TweetThis links for pre-installation posts</li>
<li>TweetThis links on the home page.</li>
</ol>
<p>I&#8217;ll be looking more into the other options and see what I can do.</p>
<h2>One More Thing&#8230;</h2>
<p>This post was syndicated through the TweetSuite + Ping.fm plugin <img src='http://thepizzy.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/beta' rel='tag' target='_blank'>beta</a>, <a class='technorati-link' href='http://technorati.com/tag/dan+zarrella' rel='tag' target='_blank'>dan zarrella</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/internet' rel='tag' target='_blank'>internet</a>, <a class='technorati-link' href='http://technorati.com/tag/MySQL' rel='tag' target='_blank'>MySQL</a>, <a class='technorati-link' href='http://technorati.com/tag/PHP' rel='tag' target='_blank'>PHP</a>, <a class='technorati-link' href='http://technorati.com/tag/Ping.fm' rel='tag' target='_blank'>Ping.fm</a>, <a class='technorati-link' href='http://technorati.com/tag/site' rel='tag' target='_blank'>site</a>, <a class='technorati-link' href='http://technorati.com/tag/syndication' rel='tag' target='_blank'>syndication</a>, <a class='technorati-link' href='http://technorati.com/tag/tweetbacks' rel='tag' target='_blank'>tweetbacks</a>, <a class='technorati-link' href='http://technorati.com/tag/TweetSuite' rel='tag' target='_blank'>TweetSuite</a>, <a class='technorati-link' href='http://technorati.com/tag/twitter' rel='tag' target='_blank'>twitter</a>, <a class='technorati-link' href='http://technorati.com/tag/Wordpress' rel='tag' target='_blank'>WordPress</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2009/03/tweetsuite-wordpress-plugin-pingfm-preview/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Version of tsn, under-way</title>
		<link>http://thepizzy.net/blog/2007/12/new-version-of-tsn-under-way/</link>
		<comments>http://thepizzy.net/blog/2007/12/new-version-of-tsn-under-way/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 08:57:45 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[The-Spot.Network]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[forum software]]></category>
		<category><![CDATA[forum structure]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[tsn]]></category>
		<category><![CDATA[tsnX]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=94</guid>
		<description><![CDATA[Yes, you heard it right, there is a new version of the-spot.net being put up as you read this. The folks over at www.phpbb.com have released version 3.0.0 of their...]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-1181 alignleft" title="the-spot.net logo" src="http://thepizzy.net/blog/wp-content/uploads/2008/04/Untitled-2-150x150.png" alt="" width="150" height="150" />Yes, you heard it right, there is a new version of the-spot.net being put up as you read this.</p>
<p>The folks over at www.phpbb.com have released version 3.0.0 of their forum software, and it has all the functions and features that we used in tsnX built-in to it, and everything works right out of the box. So I have gone through and done the conversion of the database, and am in the processing of setting up the permissions and fixing up the forum structure to make get most of it back to the way it was, and some of it optimized and combined for fewer forums.</p>
<p>I&#8217;ll have another follow-up post about what&#8217;s different that I changed during the conversion, and there will be a forum for things that changed because of the upgrade for everyone to post in.</p>
<p>The only drawback for now is that there is no My Spot page until I get it written again.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/conversion' rel='tag' target='_blank'>conversion</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/forum' rel='tag' target='_blank'>forum</a>, <a class='technorati-link' href='http://technorati.com/tag/forum+software' rel='tag' target='_blank'>forum software</a>, <a class='technorati-link' href='http://technorati.com/tag/forum+structure' rel='tag' target='_blank'>forum structure</a>, <a class='technorati-link' href='http://technorati.com/tag/phpbb' rel='tag' target='_blank'>phpbb</a>, <a class='technorati-link' href='http://technorati.com/tag/tsn' rel='tag' target='_blank'>tsn</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnX' rel='tag' target='_blank'>tsnX</a>, <a class='technorati-link' href='http://technorati.com/tag/upgrade' rel='tag' target='_blank'>upgrade</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2007/12/new-version-of-tsn-under-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: New RSS Code in the works.</title>
		<link>http://thepizzy.net/blog/2007/05/update-new-rss-code-in-the-works/</link>
		<comments>http://thepizzy.net/blog/2007/05/update-new-rss-code-in-the-works/#comments</comments>
		<pubDate>Mon, 28 May 2007 21:20:38 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[bbcode]]></category>
		<category><![CDATA[bbcodes]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=91</guid>
		<description><![CDATA[Earlier I posted on the RSS Code that I&#8217;m working on. I&#8217;ve done quite a bit of work on it so far &#8211; learning about the various functions that PHP...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1181" title="the-spot.net logo" src="http://thepizzy.net/blog/wp-content/uploads/2008/04/Untitled-2-150x150.png" alt="" width="150" height="150" />Earlier I <a title="New RSS Code in the works" href="http://thepizzy.net/blog/2007/05/new-rss-code-in-the-works/">posted on the RSS Code</a> that I&#8217;m working on. I&#8217;ve done quite a bit of work on it so far &#8211; learning about the various functions that PHP offers. Most of what I thought I was learning while setting up the forums was not actually PHP&#8217;s functions, they were phpbb functions. And knowing the basis of the actual language is helping a lot.</p>
<p>I&#8217;ve gotten the posts and post data sync&#8217;d to the other database when posts are made, and right now I&#8217;m working on filtering out the BBCode that gets inserted into all the posts. I&#8217;ve so far gotten out the bold, underline, italics, and url codes. Next I have to figure out how I want to format the quote code so that it makes sense when it&#8217;s read in RSS. After I get a few more BBCodes filtered out, I&#8217;ll figure out what I want to do with the smilies, and then implement it into the site.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/bbcode' rel='tag' target='_blank'>bbcode</a>, <a class='technorati-link' href='http://technorati.com/tag/bbcodes' rel='tag' target='_blank'>bbcodes</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/phpbb' rel='tag' target='_blank'>phpbb</a>, <a class='technorati-link' href='http://technorati.com/tag/post' rel='tag' target='_blank'>post</a>, <a class='technorati-link' href='http://technorati.com/tag/RSS' rel='tag' target='_blank'>RSS</a>, <a class='technorati-link' href='http://technorati.com/tag/site' rel='tag' target='_blank'>site</a>, <a class='technorati-link' href='http://technorati.com/tag/url' rel='tag' target='_blank'>url</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2007/05/update-new-rss-code-in-the-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: tsnX – Site is useable again!</title>
		<link>http://thepizzy.net/blog/2006/06/update-tsnx-site-is-useable-again/</link>
		<comments>http://thepizzy.net/blog/2006/06/update-tsnx-site-is-useable-again/#comments</comments>
		<pubDate>Fri, 16 Jun 2006 12:23:28 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[The-Spot.Network]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[myspot]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tsnX]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=65</guid>
		<description><![CDATA[For those just stopping by, the-spot.net is now useable like it was in the past. There are still some updates to the database and site code that I am working...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1181" title="the-spot.net logo" src="http://thepizzy.net/blog/wp-content/uploads/2008/04/Untitled-2-150x150.png" alt="" width="150" height="150" />For those just stopping by, the-spot.net is now useable like it was in the past. There are still some updates to the database and site code that I am working on, but everything works as it should for the regular users.</p>
<p>I&#8217;m currently working on the first theme for the site, named tsnX-lite. It is available for you to use as your own, simply change the setting in your Profile. Once the theme is mostly complete, I&#8217;ll begin work on coding the MySpot page.</p>
<p>The MySpot page will be making use of some AJAX techniques, as well as customizeable options, like the presence of certain content boxes. There will be more to come on the MySpot page as the time gets closer.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ajax' rel='tag' target='_blank'>ajax</a>, <a class='technorati-link' href='http://technorati.com/tag/content' rel='tag' target='_blank'>content</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/myspot' rel='tag' target='_blank'>myspot</a>, <a class='technorati-link' href='http://technorati.com/tag/Profile' rel='tag' target='_blank'>Profile</a>, <a class='technorati-link' href='http://technorati.com/tag/site' rel='tag' target='_blank'>site</a>, <a class='technorati-link' href='http://technorati.com/tag/theme' rel='tag' target='_blank'>theme</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnX' rel='tag' target='_blank'>tsnX</a>, <a class='technorati-link' href='http://technorati.com/tag/update' rel='tag' target='_blank'>update</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2006/06/update-tsnx-site-is-useable-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: tsnX Database Movement</title>
		<link>http://thepizzy.net/blog/2006/06/update-tsnx-database-movement/</link>
		<comments>http://thepizzy.net/blog/2006/06/update-tsnx-database-movement/#comments</comments>
		<pubDate>Fri, 09 Jun 2006 07:17:02 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[The-Spot.Network]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[conversions]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[forums]]></category>
		<category><![CDATA[pizzy]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql code]]></category>
		<category><![CDATA[tsn]]></category>
		<category><![CDATA[tsnV]]></category>
		<category><![CDATA[tsnX]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=63</guid>
		<description><![CDATA[I&#8217;m backing up the tsnX.3 Beta&#8217;s Database (with the posts, forums, and accounts) and going to start moving the tsnV database into the tsnX site. The site is going to...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1181" title="the-spot.net logo" src="http://thepizzy.net/blog/wp-content/uploads/2008/04/Untitled-2-150x150.png" alt="" width="150" height="150" />I&#8217;m backing up the tsnX.3 Beta&#8217;s Database (with the posts, forums, and accounts) and going to start moving the tsnV database into the tsnX site. The site is going to be down for a bit, while I do this, and iron out the kinks of auth-access, and conversions. If things don&#8217;t go properly after a bit, I&#8217;ll restore the tsnX.3 database, and continue working on converting tsnV to tsnX again. There are some things that I can&#8217;t test just by looking at the SQL Code, and that I have to implement for it to be tested.</p>
<p>So check the pizzy for updates if the forums aren&#8217;t working. If, in the meantime, the server goes down for some reason, and you can&#8217;t get to thepizzy or tsn, then go to http://tsnblog.blogspot.com to fing out why.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/beta' rel='tag' target='_blank'>beta</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/conversions' rel='tag' target='_blank'>conversions</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/forums' rel='tag' target='_blank'>forums</a>, <a class='technorati-link' href='http://technorati.com/tag/pizzy' rel='tag' target='_blank'>pizzy</a>, <a class='technorati-link' href='http://technorati.com/tag/server' rel='tag' target='_blank'>server</a>, <a class='technorati-link' href='http://technorati.com/tag/site' rel='tag' target='_blank'>site</a>, <a class='technorati-link' href='http://technorati.com/tag/sql' rel='tag' target='_blank'>sql</a>, <a class='technorati-link' href='http://technorati.com/tag/sql+code' rel='tag' target='_blank'>sql code</a>, <a class='technorati-link' href='http://technorati.com/tag/tsn' rel='tag' target='_blank'>tsn</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnV' rel='tag' target='_blank'>tsnV</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnX' rel='tag' target='_blank'>tsnX</a>, <a class='technorati-link' href='http://technorati.com/tag/update' rel='tag' target='_blank'>update</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2006/06/update-tsnx-database-movement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: tsnX Database Conversion @ 50%</title>
		<link>http://thepizzy.net/blog/2006/06/update-tsnx-database-conversion-50/</link>
		<comments>http://thepizzy.net/blog/2006/06/update-tsnx-database-conversion-50/#comments</comments>
		<pubDate>Tue, 06 Jun 2006 21:29:30 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[The-Spot.Network]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[alpha phase]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database conversion]]></category>
		<category><![CDATA[database structure]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[forums]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[subSilver]]></category>
		<category><![CDATA[tsnV]]></category>
		<category><![CDATA[tsnX]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[user accounts]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=62</guid>
		<description><![CDATA[Ok, so I&#8217;m converting the tsnV database into one that will work with the tsnX database structure. What this will do is bring our posts, user accounts, and forums over...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1181" title="the-spot.net logo" src="http://thepizzy.net/blog/wp-content/uploads/2008/04/Untitled-2-150x150.png" alt="" width="150" height="150" />Ok, so I&#8217;m converting the tsnV database into one that will work with the tsnX database structure. What this will do is bring our posts, user accounts, and forums over from the old site and make it work with the mods and settings of the new site. It&#8217;s something I have not done before, but is apparently going rather smoothly.</p>
<p>I spent all night working on it, and then another 3 hours today already, and am going to take a break from it. But once the database conversion is finished, and I revisit the bugs in the code, I&#8217;ll load the database, and start working on the site design.</p>
<p>The theme that I&#8217;m going to be working off of is just going to be a re-coded subSilver theme. If you want to use the theme as I build it, to be one of the first to experience the tsnX feel, then feel free to do so. However, the theme is going to be in the alpha phase, which will guarantee nothing as far as it&#8217;s ability to function is concerned. So if I&#8217;m working on something, and the theme breaks, and it&#8217;s not something that I can fix immediately, then you will most likely be SOL until I get it fixed, as far as using the site is concerned.</p>
<p>For this purpose if you wish to create a separate user on the site and use the settings for it to work with everything beta, then that will be acceptable. Just name your user account _beta so that you can distinguish which is which, and we&#8217;ll still know who you are.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/account' rel='tag' target='_blank'>account</a>, <a class='technorati-link' href='http://technorati.com/tag/alpha' rel='tag' target='_blank'>alpha</a>, <a class='technorati-link' href='http://technorati.com/tag/alpha+phase' rel='tag' target='_blank'>alpha phase</a>, <a class='technorati-link' href='http://technorati.com/tag/beta' rel='tag' target='_blank'>beta</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/database+conversion' rel='tag' target='_blank'>database conversion</a>, <a class='technorati-link' href='http://technorati.com/tag/database+structure' rel='tag' target='_blank'>database structure</a>, <a class='technorati-link' href='http://technorati.com/tag/design' rel='tag' target='_blank'>design</a>, <a class='technorati-link' href='http://technorati.com/tag/forums' rel='tag' target='_blank'>forums</a>, <a class='technorati-link' href='http://technorati.com/tag/site' rel='tag' target='_blank'>site</a>, <a class='technorati-link' href='http://technorati.com/tag/subSilver' rel='tag' target='_blank'>subSilver</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnV' rel='tag' target='_blank'>tsnV</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnX' rel='tag' target='_blank'>tsnX</a>, <a class='technorati-link' href='http://technorati.com/tag/update' rel='tag' target='_blank'>update</a>, <a class='technorati-link' href='http://technorati.com/tag/user' rel='tag' target='_blank'>user</a>, <a class='technorati-link' href='http://technorati.com/tag/user+accounts' rel='tag' target='_blank'>user accounts</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2006/06/update-tsnx-database-conversion-50/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: tsnX Coding @ 100%</title>
		<link>http://thepizzy.net/blog/2006/06/update-tsnx-coding-100/</link>
		<comments>http://thepizzy.net/blog/2006/06/update-tsnx-coding-100/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 05:21:04 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[The-Spot.Network]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[forums]]></category>
		<category><![CDATA[progress]]></category>
		<category><![CDATA[Spot]]></category>
		<category><![CDATA[tsnV]]></category>
		<category><![CDATA[tsnX]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=61</guid>
		<description><![CDATA[Well, I finished updating the basic forums to work with what I want and what people expect in the-spot.net. It&#8217;s taken about a month and a half, with some restarts...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1181" title="the-spot.net logo" src="http://thepizzy.net/blog/wp-content/uploads/2008/04/Untitled-2-150x150.png" alt="" width="150" height="150" />Well, I finished updating the basic forums to work with what I want and what people expect in the-spot.net. It&#8217;s taken about a month and a half, with some restarts in coding, and lots of frustration and a couple feature scale-backs.</p>
<p>What&#8217;s next on the list, is debugging some of the beta problems&#8230;then converting the tsnV database to work with the tsnX database, and then working on the design of the forums.</p>
<p>Once that is done, I&#8217;ll start the work on the My Spot page, and the design for that page. So it&#8217;s coming together, and people can start coming back soon&#8230;and within the next couple days, everyone will be able to log back in as before.</p>
<p>More updates to come, as more progress is made.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/beta' rel='tag' target='_blank'>beta</a>, <a class='technorati-link' href='http://technorati.com/tag/Coding' rel='tag' target='_blank'>Coding</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/design' rel='tag' target='_blank'>design</a>, <a class='technorati-link' href='http://technorati.com/tag/feature' rel='tag' target='_blank'>feature</a>, <a class='technorati-link' href='http://technorati.com/tag/forums' rel='tag' target='_blank'>forums</a>, <a class='technorati-link' href='http://technorati.com/tag/progress' rel='tag' target='_blank'>progress</a>, <a class='technorati-link' href='http://technorati.com/tag/Spot' rel='tag' target='_blank'>Spot</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnV' rel='tag' target='_blank'>tsnV</a>, <a class='technorati-link' href='http://technorati.com/tag/tsnX' rel='tag' target='_blank'>tsnX</a>, <a class='technorati-link' href='http://technorati.com/tag/update' rel='tag' target='_blank'>update</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2006/06/update-tsnx-coding-100/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>N3: winkydo.net/blog, tsnX, Spotcasting</title>
		<link>http://thepizzy.net/blog/2006/04/n3-winkydonetblog-tsnx/</link>
		<comments>http://thepizzy.net/blog/2006/04/n3-winkydonetblog-tsnx/#comments</comments>
		<pubDate>Fri, 21 Apr 2006 15:37:28 +0000</pubDate>
		<dc:creator>[[Neo]]</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[the-spot.net]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[winkydo.net]]></category>
		<category><![CDATA[Adsense]]></category>
		<category><![CDATA[billy miner]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[Fort Worth]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[graphic redesign]]></category>
		<category><![CDATA[Neo]]></category>
		<category><![CDATA[nerd night]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[Spotcast]]></category>
		<category><![CDATA[sundance square]]></category>
		<category><![CDATA[teck]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[winkydo]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thepizzy.net/blog/?p=44</guid>
		<description><![CDATA[Tonight, we work on winkydo.net/blog and /teck&#8230;continue working on tsnX&#8217;s new features and code modifications, preparing it for graphic redesign, and Spotcasting with video. Nerd Night @ Neo&#8217;s is brought...]]></description>
			<content:encoded><![CDATA[<p>Tonight, we work on winkydo.net/blog and /teck&#8230;continue working on tsnX&#8217;s new features and code modifications, preparing it for graphic redesign, and Spotcasting with video.</p>
<p>Nerd Night @ Neo&#8217;s is brought to you by Google Adsense (click the ads, plz &#8211; help pay for this crap), and by Beef Jerky (get your Jerk on). <span id="more-44"></span></p>
<p>We are going to work on winkydo.net/blog and /teck because the WordPress auto-update that I have on the server is, in my opinion, not going to work properly. When wizard changed his blogs from /blog (teck news) and /Jeromy (person) to /teck and /blog, respectively, the file that shows what is installed on the server did not update. This was because he did the switch by hand with the database, and file system. Now, the data file that shows what is installed can’t find /Jeromy, but it does see /blog, because that directory never changed. However, the database associated with that directory is not the same as it was…so if I were to update /blog it would change the teck database it was created with, and the /blog files that it references – causing an updated DB for the /teck journal, and updated files for the /blog journal – but not the files and DB for the other, respectively. So we’ll be backing up both blogs, reinstalling them from scratch, and re-uploading the database for each to get things in the right order.</p>
<p>Also, I’m going to be working on tsnX and getting the last 3 code changes done before I have to start writing my paper, and preparing for final exams. We’re also probably going to give Podcasting a shot, and call it The-Spotcast (for being in a different spot each time, possibly). We’ll probably do the recording in Downtown Fort Worth. We gave things a test-run at Billy Miner’s in Sundance Square. We found a couple good spots, the only problem is the noise, but I believe we’ll be able to do better this time. We’ve not decided on what all we want to discuss just yet, but when we get together, there is always teck news and ideas that spew forth.</p>
<p>When we get our spotcasting under way, I’ll start a link collection here on thepizzy.net as well as in the-spot.net/forums. There is going to be a Podcasting icon in the profile of each user to get their latest podcast. I’ll be setting one up for us. There are so many directions we can go with it, and we haven’t thought of them all yet – but it’s been a project that we’ve wanted to do for about a year now, and finally have all the equipment…including a video recorder.</p>
<p>That’s the jist of what’s going down this Nerd Night @ Neo’s.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Adsense' rel='tag' target='_blank'>Adsense</a>, <a class='technorati-link' href='http://technorati.com/tag/billy+miner' rel='tag' target='_blank'>billy miner</a>, <a class='technorati-link' href='http://technorati.com/tag/blog' rel='tag' target='_blank'>blog</a>, <a class='technorati-link' href='http://technorati.com/tag/database' rel='tag' target='_blank'>database</a>, <a class='technorati-link' href='http://technorati.com/tag/directory' rel='tag' target='_blank'>directory</a>, <a class='technorati-link' href='http://technorati.com/tag/Fort+Worth' rel='tag' target='_blank'>Fort Worth</a>, <a class='technorati-link' href='http://technorati.com/tag/google' rel='tag' target='_blank'>google</a>, <a class='technorati-link' href='http://technorati.com/tag/graphic+redesign' rel='tag' target='_blank'>graphic redesign</a>, <a class='technorati-link' href='http://technorati.com/tag/Neo' rel='tag' target='_blank'>Neo</a>, <a class='technorati-link' href='http://technorati.com/tag/nerd+night' rel='tag' target='_blank'>nerd night</a>, <a class='technorati-link' href='http://technorati.com/tag/news' rel='tag' target='_blank'>news</a>, <a class='technorati-link' href='http://technorati.com/tag/Podcasting' rel='tag' target='_blank'>Podcasting</a>, <a class='technorati-link' href='http://technorati.com/tag/Spotcast' rel='tag' target='_blank'>Spotcast</a>, <a class='technorati-link' href='http://technorati.com/tag/sundance+square' rel='tag' target='_blank'>sundance square</a>, <a class='technorati-link' href='http://technorati.com/tag/teck' rel='tag' target='_blank'>teck</a>, <a class='technorati-link' href='http://technorati.com/tag/video' rel='tag' target='_blank'>video</a>, <a class='technorati-link' href='http://technorati.com/tag/winkydo' rel='tag' target='_blank'>winkydo</a>, <a class='technorati-link' href='http://technorati.com/tag/Wordpress' rel='tag' target='_blank'>WordPress</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://thepizzy.net/blog/2006/04/n3-winkydonetblog-tsnx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

