<?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>Tomas Vera&#039;s Thoughts</title>
	<atom:link href="http://www.tomasvera.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tomasvera.com</link>
	<description>You know you want to know!</description>
	<lastBuildDate>Sat, 31 Mar 2012 17:46:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Why I hate Microsoft CRM</title>
		<link>http://www.tomasvera.com/2012/03/why-i-hate-microsoft-crm/</link>
		<comments>http://www.tomasvera.com/2012/03/why-i-hate-microsoft-crm/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 17:46:52 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=337</guid>
		<description><![CDATA[As you may have read in my other post Too Many Changes I recently got a new job. In this new job, I will be the Administrator of an installation of Microsoft Dynamics CRM (Customer Relationship Manager). The Microsoft CRM &#8230; <a href="http://www.tomasvera.com/2012/03/why-i-hate-microsoft-crm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As you may have read in my other post <a title="Too Many Changes" href="http://www.tomasvera.com/?p=333" target="_self">Too Many Changes</a> I recently got a new job.</p>
<p>In this new job, I will be the Administrator of an installation of  Microsoft Dynamics CRM (Customer Relationship Manager). The Microsoft  CRM product is a popular product in which there are not a lot of choices  for larger companies. It has some interesting features. But mostly, it  has been a series of one frustration after another for someone who comes  from a programming background. I do realize that most of my frustration has come because I have not yet learned how to do what I may be wanting to do. But still, there are problems with CRM that are truly problems. Where to start&#8230;..<span id="more-337"></span></p>
<p>At my new company, a consulting group has been in place for over a  year, mapping out the business of the company and how it will be  represented in the CRM system. This consulting group has  built-out a large portion of the implementation of the system. Most of  the pieces are in place and it will be my job to polish things as needed  once the consultants leave.</p>
<p>My problem is that the customizations available to the end users (my  company) are limited to what the CRM can support. Basically, we have to  map the business of the company using tools and concepts that are  supported by CRM. We are not modifying CRM to meet the business model of  the company. That is the first problem:</p>
<p><strong>We&#8217;re adapting our business to suit the limitations of CRM.</strong></p>
<p>Because of this there is no real programming for me to do. This  frustrates me. I did manage to write one plug-in which integrates with  CRM to perform a specific task. I have also had to write some Javascript  modules which interact with the CRM system. But in both of these cases,  the limitations and requirements of developing for this system are  PAINFULLY frustrating. Something that can be coded in a few minutes to the exact requests/specifications of our users takes hours (perhaps days) to implement. Worse the implementation is almost always not exactly what the users want (sometimes, we have to admit that what the user wants can not be done in CRM).</p>
<p>The system that the company used previously was an open source system. So if a custom page/form was needed, it was coded up using normal .NET/ADO code and the user&#8217;s requests were met exactly. Those days are gone.</p>
<p><strong>Basically, I am a power user. Not a developer.</strong></p>
<p>As bad as I feel I have it, my &#8220;pain&#8221; is nothing compared to the pain  felt by the DBA (Database Administrator) with whom I&#8217;m working.</p>
<p>CRM uses a thrid-party tool named Scribe to perform large data  importing / exporting tasks (it&#8217;s not really a third-party tool since it  is also provided by Microsoft as part of the CRM installation). Scribe  can interact with CRM during imports so that CRM events are fired as  data is imported into the system. But Scribe does not appear to be  well-behaved. Often, our database is slow or non-responsive. In every  case, it has been due to Scribe locking up our system or hanging our  server. In fact, the consulting team that is installing our system will  not use Scribe to perform a CRM installation in a sister company.  Instead they will be developing a custom application as a replacement  for Scribe to import data. But still, we will have to suffer with Scribe  to perform our bi-weekly data imports. This will be a painful  experience for our DBA with no relief in sight.</p>
<p><strong>We have been given a tool that doesn&#8217;t work well and which has been abandoned by the consultants who put our current system together.</strong></p>
<p>Is there any solution to my concerns? Of course. I&#8217;m a programmer. Anything you or I can think of can be coded up, given an environment that will support it.</p>
<p>Our current environment consists of several virtual servers onto which Windows Server 2008 software has been installed. The .NET framework is installed on to these servers. SQL Server has been installed onto a supporting server. So everything is in place to support a truly customizable web application to supplement/replace the parts of our CRM installation that just don&#8217;t work well.</p>
<p>In CRM 2011, the bulk of the work is done using web service calls from the client-facing web server to an application server. Were we to replace the bad web application with customized web forms, we would be able to meet our users&#8217; needs completely. All the limitations imposed by the CRM web application could be eliminated. All while using the security provided by CRM.</p>
<p><strong>We <em>could</em> build a custom application that meets the needs of our users. But we can&#8217;t. </strong></p>
<p>Our management team is sold on anything that has the word &#8220;Microsoft&#8221; on its shiny, shrink-wrapped cover. So all my suggestions on how to improve our users&#8217; experience have been cast aside in favor of the &#8220;they will get used to it&#8221; attitude from our IS Director. They have spent several million dollars on consultants to install a system that just doesn&#8217;t work well. They could have spent less money on a team of developers to put together a system that meets all their needs exactly. Instead they chose a shrink-wrapped system that only meets <em>some</em> of the needs of our users.</p>
<p>And I have to make it all better.</p>
<p>A challenge to be sure. Time to get to work. Updates to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2012/03/why-i-hate-microsoft-crm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Too many changes</title>
		<link>http://www.tomasvera.com/2012/03/too-many-changes/</link>
		<comments>http://www.tomasvera.com/2012/03/too-many-changes/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 16:33:37 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=333</guid>
		<description><![CDATA[For the last three years, I&#8217;d been working in Roseville, California. Nothing too unusual there, except for the fact that I&#8217;d been living in Fresno; about three hours away by car. In fact, although I&#8217;d been living in Fresno for &#8230; <a href="http://www.tomasvera.com/2012/03/too-many-changes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For the last three years, I&#8217;d been working in Roseville, California. Nothing too unusual there, except for the fact that I&#8217;d been living in Fresno; about three hours away by car. In fact, although I&#8217;d been living in Fresno for the last 20 years, or so, I&#8217;d been working elsewhere since 2005. The reason for this is that there are a number of limited opportunities in Fresno and for one reason or another none of them were &#8220;right&#8221; for me.<span id="more-333"></span></p>
<p>The job in Roseville was a pretty sweet gig. I was part of a small team that was developing a somewhat cutting edge distributed application that dealt with Futures trading on the Chicago Board of Exchange (you know, the exchange where you can buy Pork Belly futures). But, the client who was paying for this application hit a &#8220;bad patch&#8221; and was no longer able to pay for our services and so my project came to a somewhat sudden halt. Which put me back in the job market once again.</p>
<p>So, I polished up the old resume and updated my profiles on <a title="Dice Job Board" href="http://www.dice.com" target="_blank">Dice</a> and <a title="Monster Job Board" href="http://www.monster.com" target="_blank">Monster</a>. I applied for a bunch of jobs and I managed to get an interview or two with HR people who are young enough to be my kids.</p>
<p><span style="font-family: courier;">NOTE: From my interviews, it is pretty clear that THE skill to have right now is jQuery and AJAX. Not the Microsoft version. But the generic AJAX/jQuery kind. So learn it, know it, be it!</span></p>
<p>Eventually, I landed a gig working for a company in downtown Sacramento. I got the job because I&#8217;d have some passing experience with a prior version of Microsoft Dynamics CRM. That, and because an old-timer like me knows how to interview when the interviewers are not 22 years old.</p>
<p>Downtown Sacramento is interesting. The neighborhood in which my office is located is composed of houses build from the late 1800s through the 1930&#8242;s (more or less). Most of the larger homes have been split into condos, apartments and duplexes. But there are still a handful of homes that are single family dwellings. Most of the people there are of lower/middle income variety, and there seems to be a large concentration of Asian people/families. All &#8211; in &#8211; all your basic working class neighborhood. The only troublesome part is that there are a handful of houses being renovated with high-end features. Which generally means that in about ten to twenty years, most of the people living there now will probably be priced out of theirs homes and apartments.</p>
<p>But I digress&#8230;&#8230;</p>
<p>My new job centers around Microsoft Dynamics CRM (see <a title="Why I Hate CRM" href="http://www.tomasvera.com/?p=337" target="_self">Why I hate Microsoft CRM</a>). This is a very powerful tool that our users abhor and that frustrates me to no end. But our management (more on this in the future) is sold on this product. So I will be struggling to conquer it. But, this position requires virtually no programming which for me is frustrating.</p>
<p>Being as how my job is now 50 miles from my house, I am now a &#8220;commuter.&#8221; What this entails is getting up a half-hour earlier, driving for about an hour in some stop-and-go traffic so that I can be at work at 8 AM. The commute home would be worse, except for the fact that I have discovered a particular surface-street route that saves me twenty minutes of freeway-parking-lot time. This long-ish stop-and-go commute made driving my Ford Mustang expensive and not very enjoyable (more on this later, as well). So I&#8217;ve switched to a new commuter-friendlier Kia Forte. Basic transportation to which I will need perform some upgrades.</p>
<p>And the last straw: a reduction in income. I do realize that in today&#8217;s economy any job is a good one. So I am happy to be working. But, I did have to take a sizable reduction in pay from my last job to this one. We are still doing OK by any standard. But the frustrating work situation coupled with the reduction in pay and increase in responsibility is, once again, frustrating.</p>
<p>So, in the last 90 days, I have undergone a handful of changes which have become a bit of a challenge. So I will be straightening out my tie, lacing up the proverbial boots, and hitting it hard, once again until things change. Hopefully for the better. And hopefully sooner, rather than later.</p>
<p>Enough complaining. Time to get back to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2012/03/too-many-changes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Year, New Problems</title>
		<link>http://www.tomasvera.com/2012/01/new-year-new-problems/</link>
		<comments>http://www.tomasvera.com/2012/01/new-year-new-problems/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 00:54:00 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=329</guid>
		<description><![CDATA[Happy New Year! I finished the year with some big changes. After living for over twenty years at our last location, we&#8217;ve moved to a new part of our home state. There are several reasons, but mostly, we&#8217;re moving to &#8230; <a href="http://www.tomasvera.com/2012/01/new-year-new-problems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Happy New Year!</p>
<p>I finished the year with some big changes. After living for over twenty years at our last location, we&#8217;ve moved to a new part of our home state. There are several reasons, but mostly, we&#8217;re moving to be closer to my work. But there are challenges.<span id="more-329"></span></p>
<p>I&#8217;m the primary income earner in our household. But, the opportunities at our last location were somewhat limited for programmers like me. There are a handful of companies that employ more than one or two programmers. I&#8217;ve worked at one of them. I wouldn&#8217;t work for another. The rest don&#8217;t offer much in the way of a challenge or compensation.</p>
<p>For these reasons, I&#8217;ve been working remotely for five out of the last six years. Living mostly out of hotels, it has been a worthwhile sacrifice because it has allowed us to send our kids to the college of their choice (schools in the University of California system) while incurring minimum debt. For the last three years, I&#8217;ve been working for a company near our new location. So, all things considered, we moved.</p>
<p>And then, (after we sign ALL the documents related to purchasing a home), the client that is paying for the development project that I&#8217;m working on has some financial trouble. Almost overnight, he has stopped paying his bills. Which puts my employer in the tough spot of trying to pay us what he can without going broke himself.</p>
<p>For sure, that has added some stress onto our move. However that is not the worst of it. Worse, than having to worry about where your next paycheck is coming from, is the fact that we are having to make do without&#8230; <strong>television</strong>.</p>
<p>When planning on moving to our new place, our thought was to use the internet as a source for much of our television watching (we only watch a handful of channels anyway), supplemented with over-the-air (OTA) broadcasts of the main television networks.</p>
<p>So, we have set up the HD television (which we are borrowing from our youngest daughter; long story there!) and perform the &#8220;auto-scan&#8221; of channels.</p>
<p>Nothing. As in &#8220;no channels found.&#8221; How can that be? This is one of those new-fangled High Definition digital flat-screen TVs. They get everything, right?</p>
<p>It turns out that our new home is about 100 miles from the transmission towers used by the broadcast stations in this region. To make matters worse, we are in a television &#8220;shadow&#8221; such that most television signals simply pass over the top of our area, without giving the people here a chance to catch the signal. <em>So that&#8217;s why all the neighbors have satellite dishes on their homes</em>.</p>
<p>On the plus side, it has allowed us to find some new shows like <a title="Misfits Television Show" href="http://www.hulu.com/misfits" target="_blank">Misfits</a> and some old ones like <a title="Corner Gas TV Show" href="http://www.youtube.com/user/cornergastvshow?blend=1&amp;ob=4" target="_blank">Corner Gas</a>. Also, since most network shows are available on the networks&#8217; websites, we will still be able to watch <em>most</em> of our shows. Just a day later than most people.</p>
<p>Maybe this will make me read more books&#8230;. Nah!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2012/01/new-year-new-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protests: Occupy Wall Street and UC College Campus</title>
		<link>http://www.tomasvera.com/2011/11/protests-occupy-wall-street-and-uc-college-campus/</link>
		<comments>http://www.tomasvera.com/2011/11/protests-occupy-wall-street-and-uc-college-campus/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 16:11:49 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=325</guid>
		<description><![CDATA[Like many of you, I have been seeing a lot of coverage regarding the Occupy Wall Street (OWS) movement. Although, I sympathize with the main goals of the movement (that the current corporate culture is not constructive toward building a &#8230; <a href="http://www.tomasvera.com/2011/11/protests-occupy-wall-street-and-uc-college-campus/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Like many of you, I have been seeing a lot of coverage regarding the <a href="http://occupywallst.org/">Occupy Wall Street</a> (OWS) movement. Although, I sympathize with the main goals of the movement (that the current corporate culture is not constructive toward building a better, stronger America), I have been put off by the inclusion of some groups that are essentially &#8220;professional protesters.&#8221;</p>
<p>Worse than the protests themselves, has been the police reaction to many of these protesters. In New York city there is corroborated video evidence of  police reaction that was inappropriate in scale and force. <a href="http://www.youtube.com/watch?v=bRc7t6gRkhE">VIDEO</a>.</p>
<p>In the (formerly) great state of California, we have one of the premier public university systems in the nation. The ten campuses in the UC system consistently rank in the top forty in almost every listing with several of the campuses almost always in the top five.</p>
<p>In the last few years, California has hit a speed-bump economically (like most other states). That has resulted in cuts to public education which include, not only the UC, but the wonderful California State University  system, local community colleges and the local school districts.</p>
<p>My children have had the privilege of attending UC Campuses. This is no mean feat, as admission to these campuses is reserved for those students who finish in the top 10% of students within the state. These campuses are research-oriented and employ many distinguished professors in a wide variety of areas of study. To see a Nobel laureate walking across campus is not uncommon.</p>
<p>In the last two years, there has been a 30% increase in tuition for attending these campuses. This is a drastic increase, out of line with the amount of services the state has had to cut elsewhere. To add insult to injury, these increases in tuition have come with increases in pay to chancellors, regents and campus presidents throughout the system.</p>
<p>This is not acceptable. Increases in tuition, should be met with decreases in compensation for the people administering the campus organization itself. But much like the people that OWS is trying to shame (to no avail), the chancellors, regents, and campus administrators seem to have their human sense of shame removed.</p>
<p>Yesterday, on the campus of UC Davis, a student protest was met with a disproportionate police reaction. <a href="http://www.youtube.com/watch?v=WmJmmnMkuEM&amp;feature=share">VIDEO</a>.</p>
<p>But enough is enough. A professor on campus, has sent <a href="http://bicyclebarricade.wordpress.com/2011/11/19/open-letter-to-chancellor-linda-p-b-katehi/">an open letter</a> to the Chancellor Linda P.B. Katehi spelling out in no uncertain terms why she <strong>MUST</strong> resign. I agree wholeheartedly. My students have benefited from the time they spent on this campus. For a Chancellor to put students in harm&#8217;s way, for any reason, is not acceptable.</p>
<p>As an insult to the intelligence of the people who have seen the video of the incident, Katehi has sent out an email that is nothing short of outrageous. <a href="http://i.imgur.com/WZeNW.png">EMAIL</a></p>
<p>Am I advocating for the sort of out-of-control actions that we have seen elsewhere? Absolutely not. But I am advocating for the end of disproportionate response to what was (until then) a truly peaceful protest.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/11/protests-occupy-wall-street-and-uc-college-campus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScriptSerializer example finally updated</title>
		<link>http://www.tomasvera.com/2011/08/javascriptserializer-example-finally-updated/</link>
		<comments>http://www.tomasvera.com/2011/08/javascriptserializer-example-finally-updated/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 05:23:28 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=323</guid>
		<description><![CDATA[A while back I created a page that offered an example of how to parse JSON objects using the .NET JavaScriptSerializer class. It was a mess. It has now been updated.I now use some examples that use generic JSON strings &#8230; <a href="http://www.tomasvera.com/2011/08/javascriptserializer-example-finally-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A while back I created a page that offered an example of how to parse JSON objects using the .NET JavaScriptSerializer class. It was a mess. It has now been updated.<span id="more-323"></span>I now use some examples that use generic JSON strings and a generic parsing function. I have also illustrated an example of how to parse the JSON string directly into a .NET custom class.</p>
<p>Lastly, I have included a small sample application to illustrate the process.</p>
<p>I hope some people find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/08/javascriptserializer-example-finally-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Priceline Hotel Ratings System Need Revamping</title>
		<link>http://www.tomasvera.com/2011/08/priceline-hotel-ratings-system-need-revamping/</link>
		<comments>http://www.tomasvera.com/2011/08/priceline-hotel-ratings-system-need-revamping/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 03:59:40 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hotels]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=316</guid>
		<description><![CDATA[Since 2005, I&#8217;ve spent a lot of time living out of hotel rooms. The programming opportunities where I live are limited. So I&#8217;ve had to take jobs in areas near my home, but far enough away that I usually need &#8230; <a href="http://www.tomasvera.com/2011/08/priceline-hotel-ratings-system-need-revamping/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since 2005, I&#8217;ve spent a lot of time living out of hotel rooms. The programming opportunities where I live are limited. So I&#8217;ve had to take jobs in areas near my home, but far enough away that I usually need to stay in hotels.</p>
<p>For most of that time I&#8217;ve used the Priceline &#8220;Name Your Own Price&#8221; system with good success. That system allows you to specify a &#8220;star level&#8221; that you want and a &#8220;price level&#8221; that you are willing to pay and through some black magic they (often) find a hotel matching your requested star level at your offered price.</p>
<p>But every so often, something goes wrong. Today, what went wrong is that the hotel that I &#8220;won&#8221; is not up-to-snuff with regards to its assigned star level.<span id="more-316"></span></p>
<p>This week, I ended up bidding on 2.5 star hotels. In this area, 2.5 star hotels include hotels such as Marriot&#8217;s Courtyard Inn, Springhill Suites, and Hilton&#8217;s Hampton Inn. But this week, I won a stay at hotel that is not in that league. Not by a long shot. If I were to give this hotel a star rating, it would be a 1 star hotel.</p>
<p>Where did things go wrong? Priceline&#8217;s custom ratings system. If you visit the priceline web site, you will see that they rate hotels:</p>
<blockquote><p>We consider a number of factors in evaluating the quality of  participating hotels such as: amenities, facilities, reputation, brand,  other rating services, customer feedback from guests who have stayed at  the hotel, etc to assign a single star rating.</p></blockquote>
<p>What&#8217;s missing? Quality. A hotel may have a pool, but if you wouldn&#8217;t even fish out that pool why should it count as an &#8220;amenity&#8221;?</p>
<p>This &#8220;1-star&#8221; hotel offers a pool, spa, breakfast and other amenities. However, the quality of those amenities is poor enough that one would not recommend them to anyone else. That is the case with this week&#8217;s hotel. The amenities are of poor quality. But in the Priceline world, the quality of amenities does not seem to be of any importance. Just the number of amenities.</p>
<p>So, next week, I will have to go up a star level and have to pay more, just to know that my chances of getting this hotel again are diminished.</p>
<p>Finally, to add insult to injury, I had to pay $70/night to get this low quality hotel. Whereas, I normally pay $50/night for a much better quality hotel (timing is everything n the Priceline world).  But the &#8220;normal&#8221; price for this hotel is $82/night. So I only saved $12/night. On a normal week, I pay $50/night for a room that goes for $130/night. <em>That&#8217;s </em>a savings worth mentioning.</p>
<p>In a perfect world we all can agree on what a 2.5 star hotel. Until then, we can just hope that some day Priceline begins to fall in line with everyone else.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/08/priceline-hotel-ratings-system-need-revamping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascriptserializer and .NET &#8211; Why the sudden interest?</title>
		<link>http://www.tomasvera.com/2011/05/javascriptserializer-and-net-why-the-sudden-interest/</link>
		<comments>http://www.tomasvera.com/2011/05/javascriptserializer-and-net-why-the-sudden-interest/#comments</comments>
		<pubDate>Sun, 01 May 2011 14:59:21 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=312</guid>
		<description><![CDATA[A while back, I put up a page on my first introduction to the Javascriptserializer class in the .NET library. Specifically, it dealt with how I used to to write a &#8220;hello world&#8221; application for Facebook. But in the last &#8230; <a href="http://www.tomasvera.com/2011/05/javascriptserializer-and-net-why-the-sudden-interest/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A while back, I put up a page on my first introduction to the Javascriptserializer class in the .NET library. Specifically, it dealt with how I used to to write a &#8220;hello world&#8221; application for Facebook. But in the last two weeks, that page has become the most popular page on my site. What happened?<span id="more-312"></span>That page, like all the other pages on this site, is a crisply written, insight into the workings of a .NET programmer. But it focuses specifically on my task. It&#8217;s not a general overview of the Javascriptserializer class.</p>
<p>So, now, I am trying to decide whether to convert that page (and its excellent SEO state) into a more general page that would be useful to more people, or whether to let my page drop down the rankings over time.</p>
<p>Decisions&#8230; decisions&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/05/javascriptserializer-and-net-why-the-sudden-interest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Complete MySQL and iTextSharp Example</title>
		<link>http://www.tomasvera.com/2011/04/complete-mysql-and-itextsharp-example/</link>
		<comments>http://www.tomasvera.com/2011/04/complete-mysql-and-itextsharp-example/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 05:35:22 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[iTextSharp]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=308</guid>
		<description><![CDATA[I present a small sample web application that illustrates how to use iTextSharp to create a PDF document using data derived from a MySQL datasource. Specific workarounds for GoDaddy hosting are implemented. <a href="http://www.tomasvera.com/2011/04/complete-mysql-and-itextsharp-example/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After the umpteenth request for an example of how to generate PDF using MySQL and iTextSharp, I have finally create a tiny sample project that shows how to do just that.</p>
<p>You can download it here:<a title="Sample MySQL PDF Website" href="http://www.tomasvera.com/pdf/SampleMySqlPdfWebSite.zip" target="_blank"> Complete MySQL and iTextSharp Project (C#)</a>.</p>
<p><span id="more-308"></span>This is just a sample / how-to. The code provides no error checking, nor does it provide any optimizations. It simply generates a PDF from a MySQL data source.</p>
<p>Some notes: This project follows the model which we use on a GoDaddy hosted site. Because of this, the MySQL command that we use is a &#8220;Text&#8221; command and not a stored procedure. If we were on almost any other host, we could (and should) use stored procedures to minimize attacks, especially SQL injection.</p>
<p>As for the iTextSharp code, we create some tables for display using the &#8220;long way&#8221;. I create and populate a Table object at a very granular level. A much more elegant way to generate the PDF would be to generate some HTML (suitable for a display/ preview) and then parse that same HTML for use as the content of the PDF.</p>
<p>However, difference in version 4.x and 5.x of iTextSharp have changed HTML parsing. Whereas, the code I present here, will work in 4.x and (hopefully) 5.x.</p>
<p>Again, this is just a simple example project. I&#8217;m sure that your particular application may have some differences that prevent this code from working as-is. But no warranty/guarantee is expressed or implied. So if this doesn&#8217;t work for you, or if you end up wiping your hard drive, it&#8217;s<strong><em> your</em></strong> fault!</p>
<p>I hope that you find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/04/complete-mysql-and-itextsharp-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling iTextSharp for use on GoDaddy</title>
		<link>http://www.tomasvera.com/2011/04/compiling-itextsharp-for-use-on-godaddy/</link>
		<comments>http://www.tomasvera.com/2011/04/compiling-itextsharp-for-use-on-godaddy/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 05:37:57 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[iTextSharp]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=303</guid>
		<description><![CDATA[On this site, I have a page that discusses some of the problems that I encountered while getting a website up and running on GoDaddy servers. Specifically, I had to re-compile some open-source projects to allow them to work in &#8230; <a href="http://www.tomasvera.com/2011/04/compiling-itextsharp-for-use-on-godaddy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On this site, I have a page that discusses some of the problems that I encountered while getting a website up and running on GoDaddy servers. Specifically, I had to re-compile some open-source projects to allow them to work in an environment with Partially Trusted Callers. I have added some <a title="Compiling iTextSharp" href="http://www.tomasvera.com/programming/compiling-itextsharp/ ‎" target="_self">step-by-step instructions</a> on how to perform this task.<span id="more-303"></span></p>
<p>I work as a programmer by day. So downloading source code, modifying it, and compiling it into a usable application is not foreign to me. Nor should it be. After all, I&#8217;m a professional (I still can&#8217;t believe that they pay me to do this!)</p>
<p>Most of the developers who contact me ask pretty normal questions about getting iTextSharp on GoDaddy such as &#8220;Why can&#8217;t I generate any temporary files?&#8221;, &#8220;What is your strategy for cacheing the PDF output?&#8221;, etc.</p>
<p>But I am staggered by the number of contacts that I get from *ahem* <em>professional</em> developers who don&#8217;t know how do any of the tasks mentioned above.</p>
<p>I wrote the new step-by-step instructions after I was contacted by a developer who started out with the normal questions, but who finished by asking me to download the latest source, compile it and provide it to him for use on his site. (I had pointed him to a downloadable version of the DLL which I use on my site; but he insisted that he needed the newer verion of the DLL).</p>
<p>With these new step-by-step instructions, I have done everything except click the mouse and type the code change required for anyone to create their own version of the latest iTextSharp DLL.</p>
<p>We&#8217;ll see what kinds of questions these new step-by-step instructions prompt. &#8220;Winners&#8221; will be posted here!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/04/compiling-itextsharp-for-use-on-godaddy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zatoichi: The Blind Swordsman and Me</title>
		<link>http://www.tomasvera.com/2011/03/zatoichi-and-me/</link>
		<comments>http://www.tomasvera.com/2011/03/zatoichi-and-me/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 22:31:54 +0000</pubDate>
		<dc:creator>-tomas</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[Swords]]></category>
		<category><![CDATA[Zatoichi]]></category>

		<guid isPermaLink="false">http://www.tomasvera.com/?p=265</guid>
		<description><![CDATA[This morning I was getting dressed and I happened to grab an old T-Shirt that I had made at CafePress. It features a picture of Zatoichi the Blind Swordsman and the phrase &#8220;What would Zatoichi do?&#8221; That got me reminiscing &#8230; <a href="http://www.tomasvera.com/2011/03/zatoichi-and-me/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_278" class="wp-caption alignleft" style="width: 160px"><a href="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/shintaro-lg.jpg"><img class="size-thumbnail wp-image-278" title="Zatoichi" src="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/shintaro-lg-150x150.jpg" alt="Zatoichi" width="150" height="150" /></a><p class="wp-caption-text">Zatoichi (from the first movie)</p></div></p>
<p>This morning I was getting dressed and I happened to grab an old T-Shirt that I had made at CafePress. It features a picture of Zatoichi the Blind Swordsman and the phrase &#8220;What would Zatoichi do?&#8221; That got me reminiscing about about the Zatoichi series of movies which starred Shintaro Katsu back in the 60&#8242;s.</p>
<p><span id="more-265"></span>Up until recently, the Independent Film Channel (IFC) showed movies, un-cut. In fact, that was their slogan &#8220;always uncut&#8221; or something along those lines. Now, they&#8217;re just another commercial laden cable channel. But more on that later.</p>
<p>IFC used to have a &#8220;Samurai Saturday&#8221; during which they would show an older Samurai</p>
<p><div id="attachment_279" class="wp-caption alignright" style="width: 160px"><a href="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi25_16001.jpg"><img class="size-thumbnail wp-image-279" title="Drawing his sword" src="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi25_16001-150x150.jpg" alt="Zatoichi Drawing his Sword" width="150" height="150" /></a><p class="wp-caption-text">Drawing his sword</p></div></p>
<p>movie, usually released through Janus Films. Fortunately for me, the Janus film collection apparently includes the Zatoichi series of films.</p>
<p>The quick-n-dirty on Zatoichi goes like this: Zatoichi is a blind swordsman whose other senses have made up for his lack of eyesight. So much so, that he has become and adroit swordsman who uses his skill to write wrongs along Japan&#8217;s countryside. He travels the countryside using the cover story of being a masseuse. We also get to see that he enjoys gambling, sake and a rollicking good time. Often, the local citizenry is besieged by a bad or corrupt crime boss who is bullying the townspeople. Zatoichi, being a defender of the downtrodden, usually comes to the rescue and forces the bad guys to relent to his superior skill with a sword.</p>
<p><a href="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi-kyojo-tabi-original21.jpg"><img class="alignright size-medium wp-image-282" title="zatoichi-kyojo-tabi-original2" src="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi-kyojo-tabi-original21-300x122.jpg" alt="" width="300" height="122" /></a>In the first two movies we see him fall in love with a woman who is subsequently killed. This leaves him unable to truly love another until later in the series when he proposes marriage to a woman who, again, gets killed.</p>
<p><div id="attachment_288" class="wp-caption alignleft" style="width: 310px"><a href="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi_child.jpg"><img class="size-medium wp-image-288" title="zatoichi_child" src="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi_child-300x220.jpg" alt="Zatoichi with Child" width="300" height="220" /></a><p class="wp-caption-text">Zatoichi has a soft spot for kids</p></div></p>
<p>Like any good traveling good guy, Zatoichi has a soft spot for children. In at least one movie, Zatoichi is in charge of a young boy and we see Zatoichi forgo some rice balls so that his charge can get a meal. If there is one thing that we learn, is that Zatoichi loves to eat, so in that scene, we see that his heart truly goes out to that boy.</p>
<p>We also learn, in another film, that he was born with sight, and that he lost his sight when he was about six or eight years old (I&#8217;m writing this from memory, so I may be off a bit here). But that he can&#8217;t really remember &#8220;colors&#8221; anymore, as an adult. It makes one think about the concept of losing something like sight or hearing and later not being able to remember &#8220;color&#8221; or &#8220;sound.&#8221;</p>
<p>Then of course is his iconic &#8220;cane sword.&#8221; Since Zatoichi travels as a masseur he doesn&#8217;t <a href="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi-kyojo-tabi-original31.jpg"><img class="size-medium wp-image-283 alignleft" title="zatoichi-kyojo-tabi-original3" src="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi-kyojo-tabi-original31-300x122.jpg" alt="" width="300" height="122" /></a>want to draw attention to himself. So he carried a straight sword encased in a sheath that looks like a simple, straight walking stick or cane. Everyone is unsuspecting, until trouble starts. Then Watch Out! When he brings the sheath up to his face and begins drawing out the sword, you know that mayhem is coming, and soon!</p>
<p>Since he is blind, Zatoichi uses a unique fighting style in which he often handles the blade in a reverse/inverse fashion. That is, he holds the sword upside-down such that it is pointing down and back with the sharp edge facing front. From this position Zatoichi can swing the blade using what kind of resembles a punch which causes the blade to swing around and strike his opponent. Hard to describe. You need to see it for yourself.</p>
<p><a href="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi_yojimbo.jpg"><img class="alignright size-medium wp-image-284" title="zatoichi_yojimbo" src="http://www.tomasvera.com/thoughts/wp-content/uploads/2011/03/zatoichi_yojimbo-212x300.jpg" alt="" width="212" height="300" /></a>In the end, we see a battle-worn Zatoichi triumphant, yet realizing that he must move on, since the bad guys will be coming for him.</p>
<p>These movies brought me a great deal of enjoyment. The stories are simple: good guy vs. bad army, with the good guy always winning. And on Saturday morning, that&#8217;s a nice thing to wake up to.</p>
<p>You can find the movies on Amazon and elsewhere. I hope that you take the time to see one. Hopefully you will enjoy them as much as I have.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomasvera.com/2011/03/zatoichi-and-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

