<?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>Jory&#039;s blog &#187; Computing</title>
	<atom:link href="http://blog.jorygeerts.nl/category/computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jorygeerts.nl</link>
	<description>Just another WordPress weblog, or something like that</description>
	<lastBuildDate>Tue, 09 Aug 2011 19:40:56 +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>A year on Ubuntu</title>
		<link>http://blog.jorygeerts.nl/2011/08/a-year-on-ubuntu/</link>
		<comments>http://blog.jorygeerts.nl/2011/08/a-year-on-ubuntu/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 19:40:56 +0000</pubDate>
		<dc:creator>Jory</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.jorygeerts.nl/?p=103</guid>
		<description><![CDATA[As I was closing tabs in Firefox, I noticed a had my Twitter profile opened. When I saw the page, I was reminded of the fact that I&#8217;ve been using Ubuntu for over a year now. I wish I could &#8230; <a href="http://blog.jorygeerts.nl/2011/08/a-year-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As I was closing tabs in Firefox, I noticed a had my Twitter profile opened. When I saw the page, I was reminded of the fact that <a href="http://twitter.com/#!/jorygeerts/status/22544100630">I&#8217;ve been using Ubuntu for over a year now</a>. I wish I could add &#8220;exclusively&#8221; to the end of that sentence, but alas, my PC at work has Windows on it.</p>
<p>I&#8217;ve gone trough some changes with Ubuntu in the year. I started with Xubuntu 10.04. In time, I moved away from XFCE to KDE then then quickly to Gnome. Somewhere in between I also upgraded to 10.10, but I&#8217;m not sure about the chronology. With Ubuntu 11.04 came Unity, which I have a fair chance for about 2 weeks. Not really liking it, I have Gnome 3 / Gnome Shell a try. Anybody who gave Gnome Shell a try knows its not anywhere near as customisable as Gnome 2 was. That&#8217;s okay they, &#8217;cause it rocks as-is. <img src='http://blog.jorygeerts.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jorygeerts.nl/2011/08/a-year-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid limitations</title>
		<link>http://blog.jorygeerts.nl/2010/10/stupid-limitations/</link>
		<comments>http://blog.jorygeerts.nl/2010/10/stupid-limitations/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 16:26:38 +0000</pubDate>
		<dc:creator>Jory</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.jorygeerts.com/?p=96</guid>
		<description><![CDATA[Today at work, I was tasked to move a website from an external hosting, to one of our servers. They gave me the FTP username and password, so I started to download the whole website. I then grabbed the database &#8230; <a href="http://blog.jorygeerts.nl/2010/10/stupid-limitations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today at work, I was tasked to move a website from an external hosting, to one of our servers. They gave me the FTP username and password, so I started to download the whole website. I then grabbed the database info from the configuration, and made an export of the database as well. Uploaded everything to our server, restored the database, and voila, almost everything worked.</p>
<p>The website in question is a news website. Its content is basically text+images. The text, obviously, was in the database. The images where, obviously, on the filesystem. So logic would suggest that transferring the files and database would do the trick, right? (Ignore the DNS for a moment, okay?)</p>
<p>And sure, normally it would. And all the files where there, except for the images. Taking a closer look, it turned out a part of the images (the first 1998 to be exact) where. in fact, there. Taking an even closer look made me notice that a part of the response text when doing an FTP LIST of the images directory was &#8220;TRUNCATING RESULT AT 2000 MATCHES&#8221;. Pretty fucking awsome, right, they limited their FTP LIST to 2000 items (&#8216;.&#8217; and &#8216;..&#8217; being 1 and 2).</p>
<p>I called the support phonenumber, but they couldn&#8217;t help me &#8211; apparently increasing that 2000 would be bad for server performance. They suggested I grab 2000 files, delete them on the server and then get the next 2000. Nice idea, except that&#8217;d mean the website would be broken while I&#8217;m getting the files. (The actual switch will be monday/thuesday, so removing all but 2000 images now is not an option.)</p>
<p>Long live FTP access though &#8211; I wrote a small PHP script that would list (links to) all the files in the directory, install the firefox plugin &#8216;download them all&#8217;, and about two hours later, I had all the files sitting on my harddrive nicely. <img src='http://blog.jorygeerts.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (And I&#8217;m sure the 14.000 HTTP requests where a much bigger hit on their server then allowing me to grab them trough FTP would have ever been.)</p>
<p>So, in the end, this was just a dumb limitation that (in this specific case) did more harm then good.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jorygeerts.nl/2010/10/stupid-limitations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updates that bite</title>
		<link>http://blog.jorygeerts.nl/2010/08/updates-that-bite/</link>
		<comments>http://blog.jorygeerts.nl/2010/08/updates-that-bite/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 09:57:22 +0000</pubDate>
		<dc:creator>Jory</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scouting]]></category>

		<guid isPermaLink="false">http://blog.jorygeerts.com/?p=83</guid>
		<description><![CDATA[Every year, there is the JOTI (See http://www.joti.org/en/index.html and http://jota-joti.scoutingrijen.nl/en/home ) event. We (Scouting Rijen, the local Scouting branch) join the event every year. The last 4 years, I was a part of the team organising that. (But I stopped &#8230; <a href="http://blog.jorygeerts.nl/2010/08/updates-that-bite/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Every year, there is the JOTI (See http://www.joti.org/en/index.html and http://jota-joti.scoutingrijen.nl/en/home ) event. We (Scouting Rijen, the local Scouting branch) join the event every year. The last 4 years, I was a part of the team organising that. (But I stopped after last year, as the work that I find interesting is all done.) Simple put, we have about 30 workstations, and a bunch of systems that act as servers for one thing or another. (<a href="http://jota-joti.scoutingrijen.nl/nl/joti/netwerk/">Diagram</a>)</p>
<p>Since we&#8217;re working with kids, and there are always kids that try to screw something up, we want to be able to stop that kid, before we&#8217;re kicked off of the servers by the people who manage things world wide. (Which can happen if you spam to much, swear, that type of thing.) But to stop the kid, we need to know he&#8217;s screwing up. And with 30 kids at a time and just 4 of us, you can&#8217;t do that unless you can centralise everything.</p>
<p>So, thats where I came in. In a few iterations over the years, we started with a simple C program that dumped all the outgoing IRC messages to a console, and ended up with a Java program that scans the outgoing IRC messages, nickname changes, etc. on our gateway server, gives it a spam score based on some criteria, and stores it in a MySQL database on a different server. The second server is a simple LAMP (Fedora to be exact), plus that is has two screens on which we see the newest outgoing messages, colour coded based on the spam score that was given. This happens on a different server, because in our situation (with a budget of €100~€150 a year, mostly relying on donations of hardware) our internet gateway server isn&#8217;t the most powerfull machine, and we can&#8217;t get a more powerfull machine, but we can get another not so powerfull machine. So different things get different servers. (These are SRS1 (gateway) and SRS3 (LAMP) on the diagram.)</p>
<p>So, that was last year. Everything worked without a problem, traffic logging happened the way we wanted it to, and it proved to be a very usefull tool for us. This year, the guys wanted to change some things. To see if they didn&#8217;t break anything, they wanted to first build up the network as it existed last year. Everything looked like it worked, but as soon as the Java program needed to log something, it crashed with a database connection exception. They double-checked the config, they tried again, and it crashed again. Then, they called me. Since I didn&#8217;t have anything better to do (this was last night) and I wanted to head over to where they where anyway, as they where going to a bar afterwards, I came over to see what was wrong.</p>
<p>So, I took a look. The Java program was running correctly, it was indeed an issue connecting to the database. Going to that server, the database was running. The output was working properly, I could look into the database using phpMyAdmin, everything was fine. The configuration for the Java program was fine, as well. In fact, nothing had changed, except for one thing: The harddisk of SRS3 was moved to a new system that was much smaller <em>and</em> more powerfull. But the system was running without an issue.</p>
<p>Oh, yea, and it installed some updates. Well, if you start a system for the first time in about 10 months, you can expect a few updates. What we didn&#8217;t expect, was that one of those updates would cause the firewall to stop letting traffic trough on port 3306 (which MySQL uses). Problem solved. <img src='http://blog.jorygeerts.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (And luckily it wasn&#8217;t somewhere in a production environment &#8211; not that I&#8217;d use Fedora there.)</p>
<p>Bah, this was supposed to be short.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jorygeerts.nl/2010/08/updates-that-bite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usability</title>
		<link>http://blog.jorygeerts.nl/2010/07/usability/</link>
		<comments>http://blog.jorygeerts.nl/2010/07/usability/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 20:56:56 +0000</pubDate>
		<dc:creator>Jory</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.jorygeerts.com/?p=78</guid>
		<description><![CDATA[jory@jory-xubuntu:/$ htop The program &#8216;htop&#8217; is currently not installed.  You can install it by typing: sudo apt-get install htop jory@jory-xubuntu:/$ sudo apt-get install htop Setting up htop (0.8.3-1ubuntu1) &#8230; jory@jory-xubuntu:$ htop And people say Linux isn&#8217;t user friendly.]]></description>
			<content:encoded><![CDATA[<address>jory@jory-xubuntu:/$ htop<br />
The program &#8216;htop&#8217; is currently not installed.  You can install it by typing:<br />
sudo apt-get install htop<br />
</address>
<address>jory@jory-xubuntu:/$ sudo apt-get install htop</address>
<address>Setting up htop (0.8.3-1ubuntu1) &#8230;</address>
<address>jory@jory-xubuntu:$ htop</address>
<p>And people say Linux isn&#8217;t user friendly. <img src='http://blog.jorygeerts.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jorygeerts.nl/2010/07/usability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

