<?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>Franklin Dattein &#187; Geek</title>
	<atom:link href="http://dattein.com/blog/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://dattein.com/blog</link>
	<description>My personal blog in English and Brazilian Portuguese.</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:15:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can&#8217;t login after upgrading Wordpress to 2.9.2</title>
		<link>http://dattein.com/blog/cant-login-after-upgrading-wordpress-2-9-2/</link>
		<comments>http://dattein.com/blog/cant-login-after-upgrading-wordpress-2-9-2/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:16:27 +0000</pubDate>
		<dc:creator>fsamir</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://dattein.com/blog/?p=523</guid>
		<description><![CDATA[After upgrading Wordpress to 2.9.2, I wasn&#8217;t able to login at the admin page of this blog.
By disabling all plugins I was able to login again. After that , I have enabled every single plugin, one by one,  until a found out that qTranslate was the cause of this failure. (Google for &#8220;Disabling Wordpress plugins&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading Wordpress to 2.9.2, I wasn&#8217;t able to login at the admin page of this blog.<br />
By disabling all plugins I was able to login again. After that , I have enabled every single plugin, one by one,  until a found out that qTranslate was the cause of this failure. (Google for &#8220;Disabling Wordpress plugins&#8221; if you don&#8217;t know how to do that).</p>
<p>A few hours after Googling for a fix, I couldn&#8217;t find any useful information. However, this error happened with me in the past and it as due to the desynchronization of the &#8220;AUTH_KEY&#8221;  on wp-config.php file and the &#8220;wp_default_secret_key&#8221; in my language file (wp-content/languages/en_US.php).</p>
<p>I went to the en_US.php file and it was ok, the keys were equals. So I deleted this file, just to see what would happens. Voilá! It was working again.</p>
<p>So, the fix is as simple as:</p>
<blockquote><p>rm /&lt;installation folder&gt;/wp-content/languages/en_US.php</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dattein.com/blog/cant-login-after-upgrading-wordpress-2-9-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to produce T-shirts</title>
		<link>http://dattein.com/blog/how-to-produce-t-shirts/</link>
		<comments>http://dattein.com/blog/how-to-produce-t-shirts/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 20:05:29 +0000</pubDate>
		<dc:creator>fsamir</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://dattein.com/blog/?p=474</guid>
		<description><![CDATA[Introduction

I have started thinking about producing some Kiteboarding T-Shirts and perhaps start a small Kite Wear Company about six months ago. As a software developer, I am comfortable with computers and I thought I could do the designs myself, after watching some Illustrators Tutorials on the internet. I quickly realized that I was completely wrong. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p><img class="alignleft" style="border: 3px solid white; margin: 3px;" title="Brother GT541 sample" src="http://farm3.static.flickr.com/2527/4222892102_c652f941f3_m.jpg" alt="" width="240" height="176" /></p>
<p>I have started thinking about producing some Kiteboarding T-Shirts and perhaps start a small Kite Wear Company about six months ago. As a software developer, I am comfortable with computers and I thought I could do the designs myself, after watching some Illustrators Tutorials on the internet. I quickly realized that I was completely wrong. I have no skills neither talent to create artistic designs. Thus, I went to the Auto Tracing Tools, such as Corel Trace and some others.<br />
Their result were even worse than my manually generated designs.<br />
I had no choice, if I wanted to produce high quality t-shirts, I would have to hire a professional designer.</p>
<p>I did some budged estimates and I almost gave up due to the high cost to produce a vector design. It was about U$100,00.  To be honest it is not  that expensive for an established company. However, I don&#8217;t have a company, I was not even thinking about opening one. I was willing to produce small quantities of 5 or 10 different designs. In this case, the U$100,00 for images would be too expensive.<br />
In order to produce T-shirts with good quality and an affordable price, we have to find and talented and affordable  designer and a base image to start.</p>
<p><strong>Requirements</strong></p>
<p>This paragraph is to explain what are the requirements involved in the life-cycle of the t-shirt production, such as tools, prototyping, vectorization, printing, colors, fabric types and cuts.</p>
<p><span id="more-474"></span></p>
<p>- Basic understanding of vectorization tools like Adobe Illustrator or Corel Draw<br />
- A good designer capable of producing vector images<br />
- A way to prototype before producing large quantities<br />
- A good silk screen company<br />
- A good fabric provider<br />
<strong> </strong></p>
<p><strong>Tools</strong></p>
<p>You can&#8217;t use regular images like JPGs to print using silk-screen, this image needs to be converted to the vector format.<br />
The Silk Screen process consists in the separation of every color in an image and printing them one after the other. so, it requires you to provide a way to print every color in separete<br />
There are some tools that can convert an image to vector automatically, such as Coral Trace, but unfortunately the result is almost always with low quality.</p>
<p>I prefer to use Adobe Illustrator because it is user friendly, but keep in mind that most of the silk-screen companies only have Corel.</p>
<p><strong>Finding a good designer</strong></p>
<p>I have no doubt that hiring a consultant designer is the best way to get exactly what you want and with high quality. However, professional designers are usually expensive and not suitable for small projects. I have found consultants charging an average of U$100,00 per job. By job I mean, a complete T-shirt design without review limitations.<br />
So, I started browsing the web for cheap alternatives, as always. In this journey I have passed through several designers, charging from U$5,00 to U$40,00. Most of them are natural from India, China and Russia, Pakistan, etc.</p>
<p><strong>- PGConversion.com: </strong><br />
These guys are amazing. They charge U$26,00 to convert and JPG to vector and U$40,00 to convert and JPG and add their creativity to a complete T-shirt design. They also offer unlimited reviews in this price.<br />
My first try with them was to convert and picture to a vector and that was the result after 2 or 3 reviews:</p>
<div>
<table style="height: 303px;" border="0" width="473">
<tbody>
<tr>
<td style="text-align: center;">
<div class="wp-caption alignnone" style="width: 205px"><img src="http://farm2.static.flickr.com/1384/3270506728_57a3a770b3_m.jpg" alt="" width="195" height="213" /><p class="wp-caption-text">Before</p></div></td>
<td>
<p><div class="wp-caption alignnone" style="width: 208px"><img src="http://farm5.static.flickr.com/4022/4323193486_f3b028dd1c_m.jpg" alt="After" width="198" height="227" /><p class="wp-caption-text">After</p></div></td>
</tr>
</tbody>
</table>
</div>
<p><strong> </strong></p>
<p>In a second try I gave them a more complex image to be converted and asked (and payed more) them to use their creativity. It took about 20 reviews, has cost U$40,00 but the resulting vector was pretty good.<br />
Although the result is very good, it is a JPG to Vector conversion as usual, without many creativity. I had to provide all the elements in the picture:</p>
<p><div class="wp-caption alignnone" style="width: 250px"><img src="http://farm5.static.flickr.com/4014/4332597629_9c2fa0ded3_m.jpg" alt="" width="240" height="180" /><p class="wp-caption-text">Base image</p></div>
<div class="wp-caption alignnone" style="width: 386px"><img src="http://farm5.static.flickr.com/4039/4323193320_e5dbeb05ef.jpg" alt="After" width="376" height="199" /><p class="wp-caption-text">First version. (Nice, but too many colors for a T-Shirt)</p></div>
<div class="wp-caption alignnone" style="width: 321px"><img src="http://farm3.static.flickr.com/2730/4332563056_8b35483f61.jpg" alt="Final result" width="311" height="177" /><p class="wp-caption-text">Final version after about 20 reviews.</p></div>
<p><strong>- RentACoder.com: </strong><br />
ReantACoder is a auction web-site for developers. You can offer you skills and hire skilled developer and designers. They provide a very good interface to add your requirements and instructions on how to get them done well and without frustration.<br />
The main advantage of RaC is the price. You can get vectors as low as U$5,00. Off course you get what you pay for.<br />
I have asked for samples in all my auctions. If you don&#8217;t ask for a sample you might get an &#8220;auto-traced vector&#8221;.<br />
It is worth the try, specially if you image is simple.<br />
The conversion below has a cartoons style and its cost was only U$10,00.</p>
<div>
<table border="0">
<tbody>
<tr>
<td style="text-align: center;">
<div>
<dl style="width: 220px;">
<dt><img class="alignnone" src="http://farm2.static.flickr.com/1011/3270499244_1ddfcc1c90_m.jpg" alt="" width="210" height="240" /> </dt>
<dd>Before</dd>
</dl>
</div>
</td>
<td><img class="alignnone" src="http://farm5.static.flickr.com/4059/4251840336_1be075bfe9_m.jpg" alt="" width="240" height="206" /></p>
<div>
<dl style="width: 208px;">
<dt> </dt>
<dd style="text-align: center;">After</dd>
</dl>
</div>
</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<p><strong> </strong></p>
<p><strong><br />
</strong><strong>Prototyping</strong></p>
<p>The Silk Screen companies usually require you to print a minimum quantity of 20 units. Imagine if there is a small mistake in the entire production. You would end up with 20 brand new pijamas.<br />
Fortunately there are two good ways to prototype. Imaging prototyping and with a Inkjet printer.</p>
<p>The imaging prototyping is simple as putting your art over a clena T-shirt picture in your preferred image editor. You can use this clean pictures: <a href="http://www.flickr.com/photos/frankllin/tags/tshirtbackground/">http://www.flickr.com/photos/frankllin/tags/tshirtbackground/</a> (These are not the best T-shirt color in the world. I would appreciate you someone could provide me other colors)</p>
<p>After that you can print a sample in a  T-shirt Printer and avoid the most common mistakes.<strong> </strong>There is a &#8220;T-Shirt Kiosk&#8221; in a shopping mall closer to my home, which has a Brother GT-541 printer and charges U$12,00 per t-shirt. The result is usually poor, lacks for the white color and the cost is slightly higher than Silk Screen, but the advantage is that you can print a single unit before sending your artwork for production.</p>
<p>These are the mistakes that I look when prototyping:</p>
<ul>
<li>Position and alignment of the image.</li>
<li>If the combination of colors fits well in the fabric.</li>
<li>If my art has more details than a printing can handle.</li>
</ul>
<p>Finally,  a good Silk Screen Company has to provide a sample. If they don&#8217;t provide you samples, find another company. Believe me, without a sample you build a collection of pijamas.<strong><br />
</strong></p>
<p><strong>Printing with </strong><strong>Silk Screen<br />
</strong></p>
<p>A t-shirt is generally printed with silk-screen, which requires every color to be printed separetelly. that is why we need to use vectors and not flat images, so the colors can be separated and printed one by one.</p>
<p>ps. I write this blog in English willing to practice my Eglish writting skills. I will appreciate if you post a comment either with fixes or pieces of advice.</p>
]]></content:encoded>
			<wfw:commentRss>http://dattein.com/blog/how-to-produce-t-shirts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SMS with Java and GSM Modem</title>
		<link>http://dattein.com/blog/sending-sms-with-java/</link>
		<comments>http://dattein.com/blog/sending-sms-with-java/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:31:32 +0000</pubDate>
		<dc:creator>fsamir</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://dattein.com/blog/?p=391</guid>
		<description><![CDATA[This is a quick tutorial about sending and receiving  SMS from/of the computer with a GSM/GPRS modem and Java.
Requirements

A Cellphone with credit and its USB cable
Java version of SMSLib (download of sources here)
Apache Jakarta Commons.Net required by SMSLib
Slf4J also required by SMSLib.

Introduction
It is possible to use a programming language to send Hayes Commands (aka AT [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick tutorial about sending and receiving  SMS from/of the computer with a GSM/GPRS modem and Java.</p>
<p><strong>Requirements</strong></p>
<ul>
<li>A Cellphone with credit and its USB cable</li>
<li>Java version of <a href="http://www.smslib.org/">SMSLib </a>(<a href="http://www.smslib.org/download/java/">download of sources here</a>)</li>
<li><a href="http://commons.apache.org/downloads/download_net.cgi">Apache Jakarta Commons.Net </a>required by SMSLib</li>
<li><a href="http://www.slf4j.org/download.html">Slf4J</a> also required by SMSLib.</li>
</ul>
<p><strong>Introduction</strong><br />
It is possible to use a programming language to send <a href="http://en.wikipedia.org/wiki/Hayes_command_set">Hayes Commands</a> (aka AT commands) through the serial port to a cellphone modem, plugged into a PC . With these commands the cellphone can send SMS.</p>
<p><span id="more-391"></span></p>
<p>We could do the connection with the Serial port and write every AT command programatically. However, it is complex and would require learning the the <a href="http://www.zoom.com/documentation/dial_up/100498D.pdf">AT Commands list</a>.<br />
In order to avoid this complexity you can use the SMSLib, intead of writting it manually.</p>
<p><strong>Installing</strong></p>
<ul>
<li>Configure the Java communication library according to the <a href="http://www.smslib.org/doc/installation/">SMSLib Installation guide</a></li>
<li>The installation guide tells how to build SMSLib with Ant. I prefer building it with Eclipse. Thue, I have imported the sources to a new Java Project inside of Eclipse.</li>
<li>Add a reference to the Slf4j library and Commons.Net library in the recently created Eclipse project.</li>
<li> Connect the cellphone in the computer. You can use USB, BlueTooth, IrD, etc.</li>
<li> Find out what is the COM port associated to the new connection and its baud rate. Keep it in memory.<br />
On Windows: Contro Panel -&gt; system -&gt; Device Manager -&gt; Modens. Right click on the modem, tab Modem and get the value of &#8220;port&#8221;. This value is similar to COM3.</li>
</ul>
<p><strong>Running a sample<br />
</strong>The SMSLib comes with some good samples. The SendMessage class is the simple one. Open it and make the following modifications in the instantiation of SerialModemGateway:</p>
<p>- Change the cellphone number to a valid one.<br />
- Change the COM port and the baud rate with the value you me memorized before.</p>
<p>The result is something like this:<br />
new SerialModemGateway(&#8220;modem.com3&#8243;, &#8220;COM3&#8243;, 115200, &#8220;Sony Ericsson&#8221;, &#8220;W580&#8243;);</p>
<p>If you are looking for a SMS server, the class ReadMessages is a good beginning.</p>
<p><strong>Limitation</strong><br />
A regular GSM modem is slow and can send about 6 messages per minute.</p>
]]></content:encoded>
			<wfw:commentRss>http://dattein.com/blog/sending-sms-with-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boat controlled by Arduino</title>
		<link>http://dattein.com/blog/canoa-controlada-por-arduino-nunchunk/</link>
		<comments>http://dattein.com/blog/canoa-controlada-por-arduino-nunchunk/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 20:26:39 +0000</pubDate>
		<dc:creator>Franklin Dattein</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://dattein.com/blog/canoa-controlada-por-arduino-nunchunk/</guid>
		<description><![CDATA[It is a boat controlled by an Wii Nunchunk plugged in an Arduino.
http://growdown.blogspot.com/2008/07/half-bot-all-boat.html

WPvideo 1.10


Download!

]]></description>
			<content:encoded><![CDATA[<p>It is a boat controlled by an Wii Nunchunk plugged in an Arduino.<br />
<a href="http://growdown.blogspot.com/2008/07/half-bot-all-boat.html">http://growdown.blogspot.com/2008/07/half-bot-all-boat.html</a></p>
<div class="wpv_videoc">
<div class="wpv_self"><a href="http://www.skarcha.com/wp-plugins/wpvideo/">WPvideo 1.10</a></div>
<div class="wpv_video"><object data="http://www.youtube.com/v/viX6kC9C0Yc" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/viX6kC9C0Yc"></param></object></div>
<div class="wpv_titleauthor"></div>
<div class="wpv_download"><a target="_blank" href="http://downthisvideo.com/?url=http://www.youtube.com/watch?v=viX6kC9C0Yc">Download!</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dattein.com/blog/canoa-controlada-por-arduino-nunchunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New domain: dattein.com</title>
		<link>http://dattein.com/blog/agora-e-datteincom/</link>
		<comments>http://dattein.com/blog/agora-e-datteincom/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 19:20:06 +0000</pubDate>
		<dc:creator>fsamir</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[dattein]]></category>
		<category><![CDATA[domains]]></category>

		<guid isPermaLink="false">http://dattein.com/blog/agora-e-datteincom/</guid>
		<description><![CDATA[I am now the proud owner of the Dattein.com domain.
For the trifle of U$50,00 I got the perfect domain for my personal blog.
Ok, I know, you should be saying: &#8220;Who cares?&#8221;
]]></description>
			<content:encoded><![CDATA[<p>I am now the proud owner of the <strong>Dattein.com </strong>domain<strong>.</strong><br />
For the trifle of U$50,00 I got the perfect domain for my personal blog.</p>
<p>Ok, I know, you should be saying: &#8220;Who cares?&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://dattein.com/blog/agora-e-datteincom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
