<?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>Ptocheia.net &#187; Programming</title>
	<atom:link href="http://ptocheia.net/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://ptocheia.net</link>
	<description>Android Hell is a Real Place</description>
	<lastBuildDate>Sun, 20 May 2012 16:59:15 +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>How I got around a WordPress code injection</title>
		<link>http://ptocheia.net/2012/05/20/how-i-got-around-a-wordpress-code-injection/</link>
		<comments>http://ptocheia.net/2012/05/20/how-i-got-around-a-wordpress-code-injection/#comments</comments>
		<pubDate>Sun, 20 May 2012 16:59:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[code injection]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=477</guid>
		<description><![CDATA[<p>A friend recently had her WordPress site hacked. Viewing the source code revealed a &#60;div style=&#8221;display: none;&#8221;&#62;&#60;/div&#62; tag in the header, with a bunch of spammy links <a href="http://ptocheia.net/2012/05/20/how-i-got-around-a-wordpress-code-injection/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>A friend recently had her WordPress site hacked. Viewing the source code revealed a &lt;div style=&#8221;display: none;&#8221;&gt;&lt;/div&gt; tag in the header, with a bunch of spammy links within that div. I took a look at both the code and the database, but as I haven&#8217;t had much experience in looking for injection (and the Google research I did was less helpful than it could have been) I didn&#8217;t really find much. There might have been some sort of SQL injection somewhere, which inserted javascript such that it always displayed in those divs. The links would change on page refresh, and every once in awhile there were no links, just that div tag, so my assumption is javascript.</p>
<p>As I mentioned, I never found a way to actually remove the script itself, since I couldn&#8217;t find the script. But, I did surgically remove the script from the template, as it were. Pretty basic, actually, once I narrowed things down a bit. I just went into the part of her template setup that was generating the page headers, and found wp_head in that code. Rather than having it print the entire thing, I exploded wp_head, splitting it at the &#8220;&lt;div&#8221; and &#8220;&lt;/div&gt;&#8221; tags. There&#8217;s no legitimate reason any plugin would stick div tags in a header, so it&#8217;s unlikely there&#8217;d ever be more than that one set in there. Now, the template prints everything before the &#8220;&lt;div&#8221; and after the &#8220;&lt;/div&gt;&#8221;, but nothing in-between, thus removing that injected code from the front-end display of her site.</p>
<p>I also gave her some advice on how to make her WordPress install a bit secure. Unfortunately, whatever that code is is still in her install somewhere. I&#8217;m crossing my fingers that all it&#8217;s capable of doing is grabbing spammy links, so hopefully there won&#8217;t be any more troubles with her site in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2012/05/20/how-i-got-around-a-wordpress-code-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>403 errors and SSL Certificates using IIS7 on Windows 2008</title>
		<link>http://ptocheia.net/2012/05/08/403-errors-and-ssl-certificates-using-iis7-on-windows-2008/</link>
		<comments>http://ptocheia.net/2012/05/08/403-errors-and-ssl-certificates-using-iis7-on-windows-2008/#comments</comments>
		<pubDate>Tue, 08 May 2012 21:14:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=474</guid>
		<description><![CDATA[<p>Through the will of the gods, I somehow ended up as a client&#8217;s sysadmin for their Windows Server. Their site had an SSL certificate that I managed <a href="http://ptocheia.net/2012/05/08/403-errors-and-ssl-certificates-using-iis7-on-windows-2008/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Through the will of the gods, I somehow ended up as a client&#8217;s sysadmin for their Windows Server. Their site had an SSL certificate that I managed to get installed. However, there were a few folks that kept getting these pesky 403 errors when they tried to view any page with the SSL certificate in https. Specific systems, too &#8211; mostly on Windows behind some kinda firewall.</p>
<p>As, despite what I&#8217;m doing, I am no Windows sysadmin, I was at a loss for what the heck was going on, and ended up harassing Network Solutions about it. Turns out we needed an upgraded certificate, as some older systems would not recognize the discount (or &#8220;Xpress&#8221;, if grammatically incorrect branding is your thing) certificate. So we got a sweeter one, and installed it. Yet, the errors persisted.</p>
<p>The big problem for me was that I could not replicate the error. All seemed fine in Virginia&#8217;s Internet Land. Most of the issues were coming from Australians (which sent me down a brief and incorrect path of thinking it was a freaky cookie issue, something I dealt with before with timezones and a SSO about half a year back). Anyhow, &#8220;403&#8243; is pretty generic. So, I went into the IIS manager dealio and set the 403 errors so that non-local browsers would get a detailed view. And, got someone who was actually getting the error to send me a screenshot. Turned out it was, in fact, a 403.13 error. Something about IIS trying to find a revoked certificae list and failing. And, apparently, if you&#8217;re looking at the site from behind a firewall with proxies, this&#8217;ll fling 403 errors all up on your junk and such.</p>
<p>Cause, I revoked that initial &#8220;Xpress&#8221; certificate when I added the new one. Anyhow, apparently the solution was to turn off the option in Windows 2008 that checks for a revoked certificate list (CertCheckMode). Course, there was no easy way to do it, I had to get all down and dirty in the Registry for that bastard. Boo! Anyhow, that fixed the situation, so all is good in the land of SSL certificates.</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2012/05/08/403-errors-and-ssl-certificates-using-iis7-on-windows-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sudo lets me edit all kinds of nutty things!</title>
		<link>http://ptocheia.net/2012/01/12/sudo-lets-me-edit-all-kinds-of-nutty-things/</link>
		<comments>http://ptocheia.net/2012/01/12/sudo-lets-me-edit-all-kinds-of-nutty-things/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 18:59:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[notes to self]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=466</guid>
		<description><![CDATA[<p>Still learning how to do as many things as possible from the command line here, am writing this down for future reference for myself. If I try <a href="http://ptocheia.net/2012/01/12/sudo-lets-me-edit-all-kinds-of-nutty-things/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Still learning how to do as many things as possible from the command line here, am writing this down for future reference for myself. If I try to edit a file, and I&#8217;m all like &#8220;vi filename&#8221; and I do my edits and am all like &#8220;:w&#8221;, and it&#8217;s all like &#8220;no, you need to use a !&#8221; to save! And so then I&#8217;m all like &#8220;:w!&#8221; and it&#8217;s all like &#8220;E212: Can&#8217;t open file for editing.&#8221; That&#8217;s when I need to edit that sucker as root. Which means I shoulda typed in &#8220;sudo vi filename&#8221; and then my password, and then I can edit that file like no one&#8217;s business!</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2012/01/12/sudo-lets-me-edit-all-kinds-of-nutty-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the jQuery clone() method with a lightbox</title>
		<link>http://ptocheia.net/2012/01/04/using-the-jquery-clone-method-with-a-lightbox/</link>
		<comments>http://ptocheia.net/2012/01/04/using-the-jquery-clone-method-with-a-lightbox/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 19:30:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[flexslider]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[lightbox]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=464</guid>
		<description><![CDATA[<p>So I&#8217;m using Flexslider, which is a jQuery slideshow with some great touch capabilities. However, it only displays one slide at a time, so I hacked at <a href="http://ptocheia.net/2012/01/04/using-the-jquery-clone-method-with-a-lightbox/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m using <a href="http://flex.madebymufffin.com" onclick="pageTracker._trackPageview('/outgoing/flex.madebymufffin.com?referer=');">Flexslider</a>, which is a jQuery slideshow with some great touch capabilities. However, it only displays one slide at a time, so I hacked at it until I got it to display 3. Of course, only later did I realize that someone already forked it on Github like 2 months ago and did this before me, oops. Anyhow, Flexslider uses the clone() method to pad out slides at the end of the slideshow, and, with the modified script, these cloned slides get displayed.</p>
<p>So I&#8217;m using Lightbox (the Lightbox2 module for Drupal 6, to be specific) and it&#8217;s not liking those cloned slides. Nope, not at all. Doesn&#8217;t work. Have no clue why, and couldn&#8217;t really find anyone else with that problem on the internets. What I did figure out, though, is when you call clone, if you call it with the parameter of true: clone(true). And that seems to work, as my cloned slides now open in lightboxes. So, yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2012/01/04/using-the-jquery-clone-method-with-a-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distraction is the name of the game, kids</title>
		<link>http://ptocheia.net/2011/11/20/distraction-is-the-name-of-the-game-kids/</link>
		<comments>http://ptocheia.net/2011/11/20/distraction-is-the-name-of-the-game-kids/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 23:00:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[nanowrimo]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=459</guid>
		<description><![CDATA[<p>Nanowrimo is in full swing, and I totally hit 35,000 today. It&#8217;s so much easier to write (for me, at least) choose your own adventure books than <a href="http://ptocheia.net/2011/11/20/distraction-is-the-name-of-the-game-kids/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Nanowrimo is in full swing, and I totally hit 35,000 today. It&#8217;s so much easier to write (for me, at least) choose your own adventure books than regular books. No more deciding which direction to take, I can just go in every direction! The story&#8217;s pretty meandering so far &#8211; I like trying to tie in details from each path with other paths, so that characters can still get pretty fleshed out. And, so, a decision you make will influence decisions other characters make as well. But, I&#8217;m afraid that&#8217;s for later. I&#8217;m kinda short on endings so far &#8211; my main character (named &#8220;Mary Sue&#8221;, haha) has been killed once, hospitalized once, and had a few romantic encounters, but that&#8217;s about it. When I first started this endeavor, I had all sorts of lofty ideas about doing literary tie-ins with non-main characters (mostly because Snow Crash is the Best Book Ever and so I wanna gonna slip in Hiro and YT somewhere, and then branch off in other fun ways) but so much for loftiness. I started off with characters that reminded me of pop culture references (an Anthony Michael Hall a la John Hughes kid, along with a Rickie from My So Called Life character). But then everything sort of started devolving when I started naming new love interests after Colorado Rapids team members. And somehow added in Jersey Shore people as well. Hah! It&#8217;ll get cleaned up later, I&#8217;m just trying to pump out the content. Writing is rather like making pottery. The first draft is really just piling a giant lump of clay on the wheel, the real work is in the editing. </p>
<p>Am headed to LA for Turkey week, that should be fun. I will be paying a big chunk of Stupid tax to the local Apple store during that time, where my Mac shall sit for that duration having it&#8217;s keyboard repaired. Though it means NaNoing on my teeny netbook, I&#8217;m looking forward to not having a laptop for awhile, as it will make it near impossible to do work for my job. Considering I haven&#8217;t had a sick day where I didn&#8217;t have to still work, and I was crouched in the corner at the HP theme park in FL last spring, supposedly on vacation, doing work, it&#8217;ll be nice to have absolutely no way to do work. I am struggling with some serious burnout issues, and am really hoping that this break (along with my upcoming week in Richmond) will help.</p>
<p>Speaking of that week in Richmond, I&#8217;m not going to insanely plan it like I have other trips. This is because I want to be lazy, and it&#8217;s not like I have a car to use (not really looking to rent a car for the week, and the trips mostly to see my parents, who I haven&#8217;t seen since last September, anyhow).</p>
<p>Not too much else going on. Now that I&#8217;m writing more, I find that I&#8217;m reading more. Which is a good thing. Am kinda cracked out on sleep, which sucks. I look at this laptop and my phone too close to bed, which messes me up. So I&#8217;m trying to shut them off earlier, and read before bed. But now I&#8217;m waking up an hour before I need to, and then dozing off again 10 minutes before my alarm. I just want a decent night of sleep, but that&#8217;s been proving challenging. It&#8217;s even more frustrating when my body doesn&#8217;t cooperate on the weekends as well, as I super depend on weekends to try catching up. Oh well. </p>
<p>I need more time. I want to learn Ruby, and then rails. Possibly Python as well. Every day I am reminded of how many things I don&#8217;t know, and it drives me maaaaaaad. I mean, I guess it&#8217;s good, if I knew everything what would be the point of getting up. I just feel like unless I&#8217;m actively learning new things and producing new things, I fall behind, which is super stressful.</p>
<p>I need to go skiing or snowboarding. I got pants to do so, and have yet to experience either. If needed, I&#8217;ll look for a Meetup group that&#8217;s doing the beginner&#8217;s version of one or the other, with hopefully a carpool involved. I&#8217;ve been rear-ended once up in those mountains, and my little car is mountain-shy still!</p>
<p>On a final note, I ate all of the chocolates and now have none. Dang!</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2011/11/20/distraction-is-the-name-of-the-game-kids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla on Windows Server 2008 running IIS 7.5: &#8220;could not instantiate mail function&#8221;</title>
		<link>http://ptocheia.net/2011/10/25/joomla-on-windows-server-2008-running-iis-7-5-could-not-instantiate-mail-function/</link>
		<comments>http://ptocheia.net/2011/10/25/joomla-on-windows-server-2008-running-iis-7-5-could-not-instantiate-mail-function/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 17:17:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[mail()]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=457</guid>
		<description><![CDATA[<p>I hate it when I do a google search and can&#8217;t find what I need, so I&#8217;m mostly posting this so the next time I get this <a href="http://ptocheia.net/2011/10/25/joomla-on-windows-server-2008-running-iis-7-5-could-not-instantiate-mail-function/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I hate it when I do a google search and can&#8217;t find what I need, so I&#8217;m mostly posting this so the next time I get this error, I can do a google search and find the post I made about this error in order to fix it. Yay internet.</p>
<p>Should the error &#8220;could not instantiate mail function&#8221; pop up when using Joomla and doing something that requires using php mail(), and you happen to be using a Windows server (2008, running IIS 7.5 in my particular case), there&#8217;s a good chance you (or I, as the case may be) restarted IIS at some point and your SMTP server never bothered to restart itself. If you&#8217;re like me, you had to set up SMTP in IIS 6 for some bizarre reason, so open up the IIS 6 Manager, check if your SMTP Virtual Server is running, and if not, start it!</p>
<p>To test if it&#8217;s running without filling out a form or whatever, either put together a sweet little php file that spits out &#8220;yay&#8221; if email sends or &#8220;nay&#8221; if not, or just try &#8220;Forgot Password&#8221; in Joomla and see if you get an email.</p>
<p>Yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2011/10/25/joomla-on-windows-server-2008-running-iis-7-5-could-not-instantiate-mail-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla: How to get a user&#8217;s K2 group</title>
		<link>http://ptocheia.net/2011/09/09/joomla-how-to-get-a-users-k2-group/</link>
		<comments>http://ptocheia.net/2011/09/09/joomla-how-to-get-a-users-k2-group/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 17:18:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[k2]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=452</guid>
		<description><![CDATA[<p>Joomla&#8217;s been driving me crazy lately, I&#8217;m sticking this code here for future reference so I can find it again, and in case someone else needs it <a href="http://ptocheia.net/2011/09/09/joomla-how-to-get-a-users-k2-group/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Joomla&#8217;s been driving me crazy lately, I&#8217;m sticking this code here for future reference so I can find it again, and in case someone else needs it for whatever reason. Use this to grab the K2 user group that a user is in with a Joomla install (works for 1.5, not sure about older/newer versions).</p>
<p>Enjoy!</p>
<pre style="font-size: 90%">
$user =&#038; JFactory::getUser();
//name of K2 user table
$k2usertable = 'nua_k2_users';
$userId = $user->get('id');
// get user Group
$db =&#038; JFactory::getDBO();
$query = "
  SELECT ".$db->nameQuote('group')."
    FROM ".$db->nameQuote($k2usertable)."
    WHERE ".$db->nameQuote('userID')." = ".$db->quote($userId).";
  ";
$db->setQuery($query);
$userGroup = $db->loadResult();

//the user group's id
echo $userGroup;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2011/09/09/joomla-how-to-get-a-users-k2-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jurors, Food, Work, Life, Etc..</title>
		<link>http://ptocheia.net/2011/07/17/jurors-food-worklife-etc/</link>
		<comments>http://ptocheia.net/2011/07/17/jurors-food-worklife-etc/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 21:59:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=450</guid>
		<description><![CDATA[<p>I feel pretty awful for the jurors of the Casey Anthony case, and am looking forward to this whole thing dropping out of the spotlight sometime soon. <a href="http://ptocheia.net/2011/07/17/jurors-food-worklife-etc/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I feel pretty awful for the jurors of the Casey Anthony case, and am looking forward to this whole thing dropping out of the spotlight sometime soon. For those that don&#8217;t know, I was on the jury for a murder trial a few years back. It was a fairly short trial, 3 1/2 days including deliberation. Both educational and difficult, and I hope I&#8217;m never on a murder trial ever again. My wooziness to blood/wounds made it very difficult to not get lightheaded and pass out during the part where photographic evidence was being detailed to us. Anyhow, we were pretty sure the accused was guilty. However, the defense was relying way too much on forensics and completely ignoring other things, and in the end we could not say beyond a reasonable doubt that he was guilty. So we went with the verdict of &#8220;not guilty.&#8221; And, it was so awful to leave that courtroom while seeing and hearing the victim&#8217;s family&#8217;s reaction to our verdict. But, it would have been so much worse if the accused actually was innocent, and we&#8217;d decided he was guilty. Being on a jury is tough, and I&#8217;m sure so much more so for a high profile case, so people really need to cut those jurors some slack.</p>
<p>So. I&#8217;m living in a motel right now. Some who read this know, some don&#8217;t. Drew and I broke up over a month ago. I&#8217;m moving into an apartment in Capitol Hill in about a week and a half, incidentally on the same day that Carolyn will be flying out to visit for the weekend. Things have been&#8230;weird. Sad. Strange. Am still dealing with it, and likely will be for awhile. People have been very supportive though, and I really appreciate that.</p>
<p>I miss having a kitchen. I got to use Jonathan and Jill&#8217;s kitchen a week back and have a sushi party with them, which was fun. Got some really good salmon, here&#8217;s a shot of some of the salmon rolls:</p>
<p><img src="http://desmond.yfrog.com/Himg740/scaled.php?tn=0&#038;server=740&#038;filename=u0zto.jpg&#038;xsize=640&#038;ysize=640" alt="sushi" /></p>
<p>Work&#8217;s going OK, though I&#8217;ve been staying up late a few more nights than I&#8217;d like dealing with the persnicketiness of HTML emails. HTML emails are definitely one of the lesser appealing things that I do. One thing that I&#8217;ve been doing lately that I hope to do more of is developing for mobile websites.  There&#8217;s a great Drupal module called Mobile Tools that will switch your theme based on mobile device detection, and with that plus playing with the JQuery Mobile theme, I&#8217;ve been working on the mobile version of my work&#8217;s website. There are of mobile design is so new, I think there&#8217;s lots of opportunities to do cool stuff. I&#8217;ve also been dying to actually contribute a Drupal module to the Drupal community, and am hoping I can find something good to contribute involving mobile.</p>
<p>Am hoping to do some packing today, I&#8217;m trying to get rid of stuff I just don&#8217;t use &#8211; I hate having lots of stuff, and moving it is a big pain, so I&#8217;m trying to better justify the things I own. Super fun times.</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2011/07/17/jurors-food-worklife-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incompetency. Or, WYSIWYGs are the Devil.</title>
		<link>http://ptocheia.net/2010/10/14/incompetency-or-wysiwygs-are-the-devil/</link>
		<comments>http://ptocheia.net/2010/10/14/incompetency-or-wysiwygs-are-the-devil/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 04:59:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[things that annoy me]]></category>
		<category><![CDATA[wysiwygs]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=425</guid>
		<description><![CDATA[<p>I don&#8217;t like WYSIWYGs. This is because the &#8220;I&#8221; stands for &#8220;isn&#8217;t&#8221;. The specific ones that cause me angst these days are the ones designed for CMSs <a href="http://ptocheia.net/2010/10/14/incompetency-or-wysiwygs-are-the-devil/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t like WYSIWYGs. This is because the &#8220;I&#8221; stands for &#8220;isn&#8217;t&#8221;. The specific ones that cause me angst these days are the ones designed for CMSs and email builders, which supposedly allow non-coders to build fabulous looking pages and emails with no knowledge of code whatsoever. And this wouldn&#8217;t necessarily be a problem, if WYSIWYGs were nice and paired down to the basic necessities of &#8220;add a link&#8221; and &#8220;add a picture&#8221; and &#8220;stick an ordered list here&#8221; and other really simple choices to help fill out the content of an already nicely designed site. Or, if in the case of the disgusting behemoth WYSIWYGs like TinyMCE(AKA the in-browser Second Coming of Frontpage), the content editor simply ignored all the superfluous buttons and stuck to what is safe.</p>
<p>But no, they have stacks and stacks of mostly unnecessary formatting, all sitting there just itching to make whatever you&#8217;re trying to build just a little bit uglier. And the problem is that those who do not know the evil of a WYSIWYG think it gives them power to create mighty, complex, and beautiful layouts. Then, when their beautiful layout turns to gobbledygook, they hand it off to someone else to fix. Incidentally, content editors who either know some html or are willing to learn are awesome. They&#8217;re more likely to know better then to dump table into table and format text over and over until there&#8217;s approximately 123127836 nested span tags, then try to &#8220;fix&#8221; the formatting mess by copying and pasting some stuff from MS Word. What really bugs me, though, are those who treat the idea of using HTML like an upper manager treats the idea of using a copy machine. Faked incompetency is crap.</p>
<p>If a text editor is really necessary, stick a simple one in there that inserts the HTML tags for you, like the &#8220;html&#8221; tab on this here WordPress text editor. What I&#8217;m really hoping is that this is just a temporary technological gap, and it&#8217;s just a matter of waiting until either someone makes a WYSIWYG that actually works properly (hah!) or writing basic HTML becomes as common as cursive used to be.  </p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2010/10/14/incompetency-or-wysiwygs-are-the-devil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hoo Boy do I suck at updating this thing!</title>
		<link>http://ptocheia.net/2010/08/16/hoo-boy-do-i-suck-at-updating-this-thing/</link>
		<comments>http://ptocheia.net/2010/08/16/hoo-boy-do-i-suck-at-updating-this-thing/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 01:00:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Foodstuffs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[bhakti chai]]></category>
		<category><![CDATA[clubbing]]></category>
		<category><![CDATA[illness]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[wysiwygs]]></category>

		<guid isPermaLink="false">http://ptocheia.net/?p=408</guid>
		<description><![CDATA[<p>I am so tired, like giant sponge tired. See, we went to this club this past Friday. I&#8217;m all like &#8220;Goth night at a gay club, I&#8217;m <a href="http://ptocheia.net/2010/08/16/hoo-boy-do-i-suck-at-updating-this-thing/"  >&#187;&#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I am so tired, like giant sponge tired. See, we went to this club this past Friday. I&#8217;m all like &#8220;Goth night at a gay club, I&#8217;m there!&#8221; I start sneezing uncontrollably after one too many inhales of the ole fog machine. The next day, it&#8217;s still going, except I have a headache. While I have my doubts as to if one can catch colds from fog machines, I&#8217;m pretty sure one can catch colds by being in the vicinity of drunk and sweaty people. The nose has calmed down a bit, but I&#8217;m stuck with this headache and some of the worst kind of fatigue. </p>
<p>How convenient, I suppose, that my temp job has slowed to nothing? I&#8217;m due to come back in at *some* point to fix something, and then there&#8217;s still hope of future projects, but it&#8217;s pretty sporadic, which is unfortunate for those of us who like paychecks. I&#8217;m trying to take advantage of my time off, at least. Last week that mostly involved too many cookies and a serious time investment into the long-forgotten Civ III. There were progress nuggets buried in there somewhere, though, mostly consisting of continued work on the Pak&#8217;ma&#8217;ra painting, plus some planning for the (hopefully) visionary new Salami Day site. We&#8217;ll see.</p>
<p>A chunk of Drew&#8217;s relatives came to visit last weekend, and left in their wake a vast array of uneaten Indian food. My new favorite thing is Korma. At this point, I&#8217;ve only had Lamb Korma, but I&#8217;m sure all of the other varieties are just as delightful. My Other New Favorite Thing is Bhakti chai, which I desperately need to write a tastyniblets post about at some point. It is everything chai should be and more. I apparently need to seek out a Natural Grocers where they sell Bhakti chai ice cream, it sounds incredibly magical. </p>
<p>So I really hate WYSIWYG editors. I need to find one that works for Drupal, though, as for some bizarre reason people who don&#8217;t know html really like them. I&#8217;m all like &#8220;learn html!&#8221; and they&#8217;re all like &#8220;no way!&#8221;. Sigh. I&#8217;ve crushed through the rather-generic one titled WYSIWYG, it looked messy and did little for me. Then I switched to WIZZYWIG, which I had high hopes for. Unfortunately, the admin panel was limiting, with poorly written textfields where the max size was far shorter than one needs. I poked the js to get around this, which was fine up until the point I realised I needed the ability to upload PDFs. On to CKeditor! Testing that out now, I&#8217;m hoping it&#8217;s the editor that will make all of my fantasies come true.</p>
]]></content:encoded>
			<wfw:commentRss>http://ptocheia.net/2010/08/16/hoo-boy-do-i-suck-at-updating-this-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

