<?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>just keep tryin&#039; ta get a little better</title>
	<atom:link href="http://hancic.info/feed" rel="self" type="application/rss+xml" />
	<link>http://hancic.info</link>
	<description>thoughts by Jan Hančič</description>
	<lastBuildDate>Sat, 24 Dec 2011 11:31:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Open Source Software and Me</title>
		<link>http://hancic.info/open-source-software-and-me</link>
		<comments>http://hancic.info/open-source-software-and-me#comments</comments>
		<pubDate>Sat, 24 Dec 2011 11:31:29 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=349</guid>
		<description><![CDATA[I&#8217;m a big fan of open source software, my job would be totally different if it wouldn&#8217;t exist. So I am really super excited because my boss granted me 4 hours a week to work on any OS project I find interesting. The plan here is for me to learn some team work and to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of open source software, my job would be totally different if it wouldn&#8217;t exist. So I am really super excited because <a title="Tine Koloini" href="http://koloini.net/" target="_blank">my boss</a> granted me 4 hours a week to work on any OS project I find interesting. The plan here is for me to learn some team work and to give back to the community that has given <a title="Popcom d.o.o." href="http://www.popcom.si" target="_blank">us</a> so much.</p>
<p>Yesterday was the first day of my endeavor. And it didn&#8217;t went exactly as I&#8217;ve planned or thought it would go. My plan was to head to <a title="GitHub" href="http://www.github.com" target="_blank">GitHub</a> pick a PHP project (because I know it the most) then pick some open ticket, do some coding, commit &amp; do a pull request. Well the first and second part turned out to be a bigger problem than I thought. I just couldn&#8217;t find any suitable project to get my feet wet, and when I did there ware no simple tasks for me to tacke with. In the end <a href="https://github.com/codeguy/Slim/pull/197" target="_blank">this pull request</a> is the only thing I have to show for. And it&#8217;s a bloody documentation addition, no code &#8230;</p>
<p>I&#8217;m probably approaching this the wrong way, I should probably try to get involved with projects I&#8217;m using (PHP, jQuery, Sphinx, &#8230;). But I don&#8217;t feel like I&#8217;ve got the skills to make any meaningful contribution there. Until next friday, when I&#8217;ll be diving in to the world of open source again, I&#8217;ll search for projects that would be suitable so when friday comes I&#8217;ll just start coding and hopefully crunch out some useful commits.</p>
<p>So this is the sort term plan; work on small PHP/JavaScript projects to familiarize myself with how all this things work from the management side of things and then, once I&#8217;m comfortable, move on to projects made in other technologies (Python, node.js, Ruby, &#8230;). That will give me a bigger pool of projects to choose from and I&#8217;ll finally start to learn something other than PHP again.</p>
<p><center><img title="Open Source" src="http://hancic.info/wp-content/uploads/2011/12/288px-Opensource.svg_.png" alt="Open Source" width="288" height="259" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/open-source-software-and-me/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SimplePageCheck</title>
		<link>http://hancic.info/simplepagecheck</link>
		<comments>http://hancic.info/simplepagecheck#comments</comments>
		<pubDate>Sat, 25 Dec 2010 15:24:06 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=342</guid>
		<description><![CDATA[I forgot to write about this. I&#8217;ve made a simple PHP5 class that you can use to check web pages if they contain various string(s) (you can also use regular expressions).
I&#8217;ll just copy/paste the description from the project&#8217;s github page:
I often build a &#8220;debug&#8221; sub-page on my projects that list various things about the state [...]]]></description>
			<content:encoded><![CDATA[<p>I forgot to write about this. I&#8217;ve made a simple PHP5 class that you can use to check web pages if they contain various string(s) (you can also use regular expressions).</p>
<p>I&#8217;ll just copy/paste the description from the project&#8217;s github page:</p>
<blockquote><p>I often build a &#8220;debug&#8221; sub-page on my projects that list various things about the state of the web page (memcache keys, memory usage, &#8230;). And it got boring to check the page every now and then by hand to see if everything is OK. So I&#8217;ve built this class that does the work for me (I just put it into a cron job). One of my usage examples is: I output some contents of a memcache key on my debug script, if one string is not present something is wrong, and this is where this class comes in.</p></blockquote>
<p>You can grab the code <a href="https://github.com/janhancic/simplepagecheck" title="SimplePageCheck">here</a>.</p>
<p>And a simple example so you can better imagine what this class does:</p>
<pre name="code" class="php">Include ( 'SimplePageCheck.php' );

// initialize a new SimplePageCheck object
$spc = new SimplePageCheck ();

// tell SimplePageCheck to send errors to your@email.com and to send one email with all errors
$spc->ReportToEmail ( 'your@email.com', false );

// tell SimplePageCheck to output errors to the standard output
$spc->ReportToOutput ( true );

// add some checks
$spc->AddCheck ( 'http://www.example.com', null, 'page by typing' );
$spc->AddCheck ( 'http://www.example.org', null, 'Section 3test.' ); // this will fail
// this too will fail
$spc->AddCheck ( 'http://www.example.org', 'http://www.example.org', '/You (.*) ttt/is', true );

// run all the added checks
$spc->RunChecks ();</pre>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/simplepagecheck/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Announcing SimpleBugz.com</title>
		<link>http://hancic.info/announcing-simplebugz-com</link>
		<comments>http://hancic.info/announcing-simplebugz-com#comments</comments>
		<pubDate>Sun, 17 Oct 2010 16:08:59 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=337</guid>
		<description><![CDATA[There was a thread on Hacker News recently that captured my attention. User secos suggested that we make November &#8220;launch an app month&#8221;. The idea is that you *have to* create a new application or launch one that you are already working on, by the end of November. The premise being that a lot of hackers work [...]]]></description>
			<content:encoded><![CDATA[<p>There was a <a href="http://news.ycombinator.com/item?id=1773398" target="_blank">thread on Hacker News</a> recently that captured my attention. User <a href="http://news.ycombinator.com/user?id=secos" target="_blank">secos</a> suggested that we make November &#8220;launch an app month&#8221;. The idea is that you *have to* create a new application or launch one that you are already working on, by the end of November. The premise being that a lot of hackers work on some great idea but never release it because it&#8217;s , in their mind, never quite finished yet, and stating publicly that you will launch gives you motivation and pressure to actually do so.</p>
<p>I, at the time, wasn&#8217;t working on anything (though I had some ideas lurking around), but then I decided it&#8217;s time to make something and try myself in a different field for a change (software as a service in this case). I&#8217;ve decided I&#8217;ll build a bug tracker that small teams would actually want to be using. A bug tracker that is not cluttered with features you just don&#8217;t need.</p>
<p>So far I&#8217;m very early in the development process and all the details haven&#8217;t been ironed out just yet, but I will do my best to meet the (arbitrary) goal of launching by the end of November.</p>
<p>I have made a <a title="SimpleBugz.com - simple bug tracker" href="http://www.simplebugz.com/" target="_blank">landing page</a>, where you can drop your email and I&#8217;ll email you when <a title="SimpleBugz - the bug tracker you'll enjoy using" href="http://www.simplebugz.com" target="_blank">SimpleBugz.com</a> launches.</p>
<p><center><a href="http://www.simplebugz.com"><img title="SimpleBugz.com - hosted, simple, easy, smart and intuitive bug tracker" src="http://hancic.info/wp-content/uploads/2010/10/simplebugz_com.png" alt="SimpleBugz.com - hosted, simple, easy, smart and intuitive bug tracker" width="400" height="205" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/announcing-simplebugz-com/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FuglyDo5 on GitHub</title>
		<link>http://hancic.info/fuglydo5-on-github</link>
		<comments>http://hancic.info/fuglydo5-on-github#comments</comments>
		<pubDate>Mon, 11 Oct 2010 21:05:18 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=330</guid>
		<description><![CDATA[I&#8217;ve created a GitHub repository for my 10k Apart challenge entry FuglyDo5 (more about that in my previous post). You can find/fork the repository here.

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a <a href="http://www.github.com" target="_blank">GitHub</a> repository for my <a href="http://10k.aneventapart.com/" target="_blank">10k Apart challenge</a> entry <a href="http://10k.aneventapart.com/Entry/85" target="_blank">FuglyDo5</a> (more about that in my <a href="http://hancic.info/10k-apart-challenge" target="_blank">previous post</a>). You can find/fork the repository <a title="FuglyDo5 on GitHub" href="http://github.com/janhancic/fuglydo5" target="_blank">here</a>.</p>
<p><center><img title="FuglyDo5" src="http://hancic.info/wp-content/uploads/2010/10/fuglydo5.png" alt="FuglyDo5" width="300" height="200" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/fuglydo5-on-github/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome extension bug</title>
		<link>http://hancic.info/google-chrome-extension-bug</link>
		<comments>http://hancic.info/google-chrome-extension-bug#comments</comments>
		<pubDate>Sun, 03 Oct 2010 17:09:33 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=323</guid>
		<description><![CDATA[I&#8217;m working on a new extension for chrome, which will add, now missing, functionality to Facebook.
The extension uses a &#8220;content script&#8221; which is only run on URLs that match a certain pattern and it also loads a CSS file which has some styles for the elements I inject into the page.
But I had a problem that the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a <a title="FB photo comments" href="http://github.com/janhancic/fb-photo-comments" target="_blank">new extension for chrome</a>, which will add, now missing, functionality to <a href="http://www.facebook.com" target="_blank">Facebook</a>.<br />
The extension uses a &#8220;content script&#8221; which is only run on URLs that match a certain pattern and it also loads a CSS file which has some styles for the elements I inject into the page.<br />
But I had a problem that the CSS simply did not load and no amount of googling helped me resolve the issue, it seems as if no one had ever had a problem like this. I knew that with the majority of internet users connecting through reliable broadband services from providers such as <a href="http://www.o2.co.uk/broadband/" target="_blank">O2</a> and Verizon that the problem was unlikely to be connection based. However, I was still struggling to work out why the CSS did not load. Only after trying everything I could imagine have I found the cause of the problem. Well it was actually dumb luck.<br />
I had my &#8220;matches&#8221; pattern set like &#8220;http://www.facebook.com/album.php?*&#8221; and after removing the question mark the CSS magically loaded.</p>
<p>I suspect that this is a bug in Chrome as there is no mention of question mark having any special meaning in relation to CSS files (or anything else for that matter) in <a href="http://code.google.com/chrome/extensions/match_patterns.html" target="_blank">documentation</a>.<br />
I have filled a <a href="http://code.google.com/p/chromium/issues/detail?id=57423" target="_blank">bug report</a> that is currently marked as &#8220;unconfirmed&#8221;, but I suspect that nobody has looked at it yet. I wrote this so that if somebody has the same problem, he won&#8217;t waste his time on <a href="http://www.google.com" target="_blank">google</a> and <a href="http://stackoverflow.com/questions/3825292/chrome-extensions-css-is-not-loaded" target="_blank">stackoverflow</a>, as there is no solution out there (besides this one now:)</p>
<p><center><img src="http://hancic.info/wp-content/uploads/2010/10/bug.png" alt="bug" title="bug" width="330" height="338" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/google-chrome-extension-bug/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HN Unread Comments</title>
		<link>http://hancic.info/hn-unread-comments</link>
		<comments>http://hancic.info/hn-unread-comments#comments</comments>
		<pubDate>Sun, 26 Sep 2010 13:25:04 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=318</guid>
		<description><![CDATA[I often have problems keeping up with the huge amount of comments on Hacker News submissions, so I developed a simple Google Chrome extension that shows which comments are new. It works on individual items and on the &#8220;threads&#8221; page.
You can install the extension from the Google Chrome extensions page.
I&#8217;ve also decided to put the code on [...]]]></description>
			<content:encoded><![CDATA[<p>I often have problems keeping up with the huge amount of comments on <a title="Hacker News" href="http://news.ycombinator.com/news" target="_blank">Hacker News</a> submissions, so I developed a simple Google Chrome extension that shows which comments are new. It works on individual items and on the &#8220;threads&#8221; page.</p>
<p>You can install the extension from the <a title="HN Unread comments" href="https://chrome.google.com/extensions/detail/fpndmkcfggkffpablcooicmihgcgalil" target="_blank">Google Chrome extensions page</a>.</p>
<p>I&#8217;ve also decided to put the code on GitHub so feel free to fork and improve the extension. You&#8217;ll see that it&#8217;s really simple, only 39 lines of code including comments at this point. See the project <a title="HN Unread Comments on GitHub" href="http://github.com/janhancic/hn-unread-comments" target="_blank">here</a>.</p>
<p>Please let me know if there are any bugs or if you have suggestions on how to improve the extension.</p>
<p><center><a href="https://chrome.google.com/extensions/detail/fpndmkcfggkffpablcooicmihgcgalil" target="_blank"><img title="HN Unread Comments" src="http://hancic.info/wp-content/uploads/2010/09/screen1.png" alt="HN Unread Comments" width="400" height="251" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/hn-unread-comments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first github repository</title>
		<link>http://hancic.info/my-first-github-repository</link>
		<comments>http://hancic.info/my-first-github-repository#comments</comments>
		<pubDate>Wed, 22 Sep 2010 15:27:15 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=313</guid>
		<description><![CDATA[I&#8217;ve decided to open a GitHub account so I can keep track on what&#8217;s happening with my favourite projects. I&#8217;ve also decided to create some projects of my own there. So here it is my first GitHub repository: Chrome badge animator. It&#8217;s just a simple JavaScript class you can use if you are building Chrome [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to open a <a href="http://github.com/" target="_blank">GitHub</a> <a title="Jan Hančič on GitHub" href="http://github.com/janhancic" target="_blank">account</a> so I can keep track on what&#8217;s happening with my favourite projects. I&#8217;ve also decided to create some projects of my own there. So here it is my first GitHub repository: <a href="http://github.com/janhancic/chrome-badge-animator" target="_blank">Chrome badge animator</a>. It&#8217;s just a simple JavaScript class you can use if you are building Chrome extensions. I have already <a href="http://hancic.info/badge-animator-for-chrome-extensions" target="_blank">posted about it</a> some time ago. Nothing special, just something to get me started with this social coding thing.</p>
<p>Off course I&#8217;m planning on adding more projects in the future (I think I have one or two laying around) and I hope that this will encourage me to start something new and release it to the wild.</p>
<p><center><a href="http://github.com/" target="_blank"><img title="GitHub - social coding" src="http://hancic.info/wp-content/uploads/2010/09/logov3-hover.png" alt="GitHub - social coding" width="100" height="45" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/my-first-github-repository/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10K Apart challenge</title>
		<link>http://hancic.info/10k-apart-challenge</link>
		<comments>http://hancic.info/10k-apart-challenge#comments</comments>
		<pubDate>Fri, 13 Aug 2010 17:08:53 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=308</guid>
		<description><![CDATA[An Event Apart has put together a 10K Apart challenge in which participants must write a fully functional HTML5 application while using only 10K. I had to take part, so I&#8217;ve made a simple, totally unoriginal and ugly todo app called FuglyDo5 (I&#8217;ll appreciate a vote).
It uses some new HTML5 tags some basic CSS3 and localStorage so that data [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aneventapart.com/" target="_blank">An Event Apart</a> has put together a <a href="http://10k.aneventapart.com/" target="_blank">10K Apart challenge</a> in which participants must write a fully functional HTML5 application while using only 10K. I had to take part, so I&#8217;ve made a simple, totally unoriginal and ugly todo app called <a href="http://10k.aneventapart.com/Entry/85" target="_blank">FuglyDo5</a> (I&#8217;ll appreciate a vote).<br />
It uses some new HTML5 tags some basic CSS3 and localStorage so that data is persistent across browser sessions. You can export/import your data and you can undo if you mark a item as completed or deleted.</p>
<p>I haven&#8217;t spent as merely enough time on it as I wanted, but I have a tendency to give up on a project if I don&#8217;t have a pretty design to work with. And since I have no artistic skills what so ever, the design isn&#8217;t much (hence the name) and I lost interest as soon as all functionality was complete. I hope I&#8217;ll at least get a book out of this, aiming for anything more would be unrealistic as some of the entries are simply amazing and I really can&#8217;t compete with that. Maybe if I had a better idea and somebody to do the design for me. Well, maybe next year.</p>
<p>On a related note: there is also the <a href="http://js1k.com/home" target="_blank">JS1k contest</a>, in which you have to build a cool JavaScript demo using only 1K of code. Check it out.</p>
<p><center><img title="FuglyDo5" src="http://hancic.info/wp-content/uploads/2010/08/Thumbnail.png" alt="FuglyDo5" width="300" height="200" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/10k-apart-challenge/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I may, or may not, be incompetent</title>
		<link>http://hancic.info/i-may-or-may-not-be-incompetent</link>
		<comments>http://hancic.info/i-may-or-may-not-be-incompetent#comments</comments>
		<pubDate>Fri, 04 Jun 2010 16:11:53 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=303</guid>
		<description><![CDATA[By I, I mean we, and by we, I mean me and my boss. And by me and my boss, I mean everybody who manages other people or their experiences of whatever sort.
For example, you walk into a groceries store and immediately see 10 things that are just wrong or plain old stupid. And you think: &#8220;if I ran this I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>By I, I mean we, and by we, I mean me and my boss. And by me and my boss, I mean everybody who manages other people or their experiences of whatever sort.<br />
For example, you walk into a groceries store and immediately see 10 things that are just wrong or plain old stupid. And you think: &#8220;if I ran this I&#8217;d be so much better&#8221;. For instance, I would open the second (and the third), cash register when there are 20 people queuing behind one that is open (and operated by an old lady whose source of joy, it seems, is making other people wait indefinitely).</p>
<p>And then there is me, co-managing <a title="Mojvideo - prva slovenska video skupnost" href="http://www.mojvideo.com" target="_blank">many</a> <a title="Igre123 - največja slovenska igralnica" href="http://www.igre123.com" target="_blank">online</a> <a title="mojalbum" href="http://www.mojalbum.com" target="_blank">communities</a> thinking that all is well and fair. But there are still countless people complaining constantly about this and that.</p>
<p>So, either I&#8217;m a incompetent fool, or they are. The catch is that I simply don&#8217;t know.<br />
When I&#8217;m in my &#8220;customers&#8221; shoes, everybody else is incompetent. And when I&#8217;m the boss of my &#8220;customers&#8221; it seems, to me, that they are the fools (dear customer, if you read this: I love you).</p>
<p>I see no way of resolving this right now. So, sadly, no advice here, just food for thought.</p>
<p><center><img src="http://hancic.info/wp-content/uploads/2010/06/Untitled.png" width="150" height="151" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/i-may-or-may-not-be-incompetent/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Knowledge is a tricky business</title>
		<link>http://hancic.info/knowledge-is-a-tricky-business</link>
		<comments>http://hancic.info/knowledge-is-a-tricky-business#comments</comments>
		<pubDate>Thu, 01 Apr 2010 19:51:43 +0000</pubDate>
		<dc:creator>Jan Hančič</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hancic.info/?p=300</guid>
		<description><![CDATA[Working in IT, I&#8217;m painfully aware that technology I learn about today can, and most probably will, be obsolete tomorrow. And I&#8217;m quite happy with that as it gives me reason to learn new stuff constantly. But recently I was reminded that even stuff that you think you know and generally doesn&#8217;t change can &#8230; well change, [...]]]></description>
			<content:encoded><![CDATA[<p>Working in IT, I&#8217;m painfully aware that technology I learn about today can, and most probably will, be obsolete tomorrow. And I&#8217;m quite happy with that as it gives me reason to learn new stuff constantly. But recently I was reminded that even stuff that you think you know and generally doesn&#8217;t change can &#8230; well change, some APIs change constantly and you have to re-learn them all the time. But that usually isn&#8217;t a problem as you will be reminded of the change by your program not working (and by the yelling of your customers, off course). The problem is when something changes in a way that the old way still works but is suddenly extremely inefficient, and you simply don&#8217;t know that something changed.</p>
<p>I was also recently reminded that I might have to re-learn some of the stuff I already know and hasn&#8217;t changed. I was reading a book called <a href="http://oreilly.com/catalog/9780596003067" target="_blank">High performance MySQL</a> (it was sitting on my shelf for almost a year now) and it shook the foundations of my knowledge that I base my code on. I learned that VARCHAR can be longer than 255 chars. Where did I pick that limitation up I don&#8217;t know (probably from CHAR, now that I have re-read the documentation), but I&#8217;ve been designing my schemas all this years with this limitation in mind and it never occurred to me that, in reality, I can define VARCHAR to be 65,535 chars long. I always used TEXT (or some variation) when it was required to store longer text.<br />
This case by itself is no big deal, but I&#8217;m now trying to figure out what else I&#8217;ve also learned the wrong way in my early days as a programmer (I started to learn MySQL almost right from the start). The problem is that there&#8217;s simply no easy way to find out. I&#8217;d have to re-read every manual for every technology I use, and since I kinda need to sleep I think I won&#8217;t be doing that. What I will do, however, is open the manual every time I start using something that I take for granted so I will find out if there is anything rotten in my knowledge on that particular topic.</p>
]]></content:encoded>
			<wfw:commentRss>http://hancic.info/knowledge-is-a-tricky-business/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

