<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Batland</title>
    <link>http://batland.de/subdomains/nucleus/Batland.php</link>
    <description>ProFTPd Adminsitrator, perl development, Mac OS X and perl</description>
    <language>en-us</language>           
    <generator>Nucleus CMS v3.64</generator>
    <copyright>©</copyright>             
    <category>Weblog</category>
    <docs>http://backend.userland.com/rss</docs>
    <image>
      <url>http://batland.de/subdomains/nucleus/Batland.php/nucleus/nucleus2.gif</url>
      <title>Batland</title>
      <link>http://batland.de/subdomains/nucleus/Batland.php</link>
    </image>
    <item>
 <title>Second RC for ProFTPd Administrator 1.4.0</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=224</link>
<description><![CDATA[<p>So there were two bugs in the installer which led to an unsuccessful install. These bugs have been fixed. Thanks to <a href="/subdomains/codes/index.php/u/dralec/">Oleksii Druzhchenko</a> for finding them.</p>
<p>These showstoppers lead to an immediate update to the RC, a second RC, which can be found <a href="http://www.batland.de/subdomains/codes/index.php/p/proftpdadmin/downloads/" target="_blank">here</a></p>
<p>- Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=224</comments>
 <pubDate>Tue, 23 Aug 2011 08:01:05 +0200</pubDate>
</item><item>
 <title>Release Candidate for ProFTPd Administrator 1.4.0</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=223</link>
<description><![CDATA[<p>As promised, the RC1 of ProFTPd Administrator has been released totday. You can download the RC <a href="/subdomains/codes/index.php/p/proftpdadmin/downloads/" target="_blank">here</a>. I would be glad for any testing and reports from you. If you find any bugs, have suggestions for possible enhancement etc. please use the <a href="/subdomains/codes/index.php/p/proftpdadmin/issues/" target="_blank">ticket system</a>.</p>
<p><strong>Changes since 1.4.0 Beta</strong></p>
<p><span style="text-decoration: underline;">New Features:</span></p>
<ul>
<li>A installer and upgrade script for the basic setup of ProFTPd Administrator has been added under msic/ </li>
<li>Email notification for the new user when the account is created </li>
<li> Added localization support for the userinterface</li>
<li>Added support to run ProFTPd Administrator using safemode. Of course, this disables some features.</li>
</ul>
<p><span style="text-decoration: underline;">Fixed Bugs:</span></p>
<ul>
<li><a href="/subdomains/codes/index.php/p/proftpdadmin/issues/3/" target="_blank"><span style="text-decoration: line-through;">Bug 3</span></a></li>
<li><a href="/subdomains/codes/index.php/p/proftpdadmin/issues/7/" target="_blank"><span style="text-decoration: line-through;">Bug 7</span></a></li>
</ul>
<p> </p>
<p><strong>Changes since version 1.3.0</strong></p>
<p><span style="text-decoration: underline;">New features:      <br />
 </span> - A installer and upgrade script for the basic setup of ProFTPd Administrator has been added under msic/     <br />
 - Email notification for the new user when the account is created     <br />
 - Added localization support for the userinterface    <br />
 - Added support to run ProFTPd Administrator using safemode. Of course, this disables some features.     <br />
 <br />
 <span style="text-decoration: underline;">Improvements:      <br />
 </span> - Added support for php 5.3    <br />
 - Spanish language file. Thanks to Guillermo Marco    <br />
 - Removed all shorttags so that the webserver doesn't need to be configured to support shorttags    <br />
 - Renamed directory structure admin to admininterface and userView to userinterface     <br />
 - When a user logs into the userinteface for the first time, he is forced to change his password. Either the user can set his own password or one is chosen for him by GWP depending on the admins choice.    <br />
 - A user can change his password anytime per userinterface    <br />
 - changed all newlines from CR LF to LF to be unix complaint</p>
<p><em>Fixed Bugs:</em> <br />
 - Fixed minor bugs    <br />
 - Fixed db_structure.sql to meet a standard setup     <br />
 - Fixed some Bugs in the status section</p>
<p> </p>
<p>Bye,</p>
<p>Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=223</comments>
 <pubDate>Mon, 22 Aug 2011 13:26:26 +0200</pubDate>
</item><item>
 <title>Update on the status of ProFTPd Administrator 1.4.0</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=222</link>
<description><![CDATA[<p>Hi all dear followers of ProFTPd Administrator,</p>
<p>it has been a while since the first Beta of ProFTPd Administrator 1.4.0 has been released. The release was still buggy and had some not so minor glichtes. Furthermore, I didn?t had as much time to work on the project as I liked. But the development has picked up some momentum again and I finished the installer and upgrade script, fixed a bug in the userinterface and did some minor clean ups. The only two task which are open for the relase of 1.4.0 are:</p>
<ul>
<li>Support for safe_mode: Which is being worked on </li>
<li>E-Mail notification: Is being implemented at the moment. </li>
</ul>
<p>Therefore, I am confident to say that an RC will be published in the next 7 to 14 days!</p>
<p>Bye,</p>
<p>Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=222</comments>
 <pubDate>Sun, 14 Aug 2011 17:37:21 +0200</pubDate>
</item><item>
 <title>Choose your tool for your job</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=215</link>
<description><![CDATA[<p>The Unix philosophy is one tool for one job and some people translate this to use always only one tool for one area of jobs. You don’t get me? Let me explain this with a small example. Everyone has it favorite programming language. For small jobs, I like to use Perl cause I am experienced in it and know my way around. So I tend to do a lot of stuff in Perl. This doesn’t mean that Perl may be the best tool for a lot of jobs I use it for. Does it matter? Some would tend to say no as long as I get the job done. But what about time is money and re-usability of code / tools, especially if someone else needs to maintain it. And don’t forget reliability. You think this is wired, let me exemplify: I currently needed to do mass data checks using some blob-format; my first thought was to do it in Perl. So I checked: I could easily get some ORM using one of the famous Perl ORM frameworks and I intended to program some of the checks myself and build some other on existing cpan modules. After 20 to 30 minutes of research (aka googling) and thinking, I thought that I could easily get the job done at the end of the day. So no big deal. But then I re-thought the whole idea, focusing on the three mentioned aspects:</p>
<ul>
<li>Time is money: One work day isn’t such big deal, but first let’s focus on the other topics cause this factor will get some multiplier which is definitely bigger than 1.x.</li>
<li>Re-usability: Perl is definitely not the native choice in my particular case and my working area. Therefore, the chance that running in some bugs (parsing the blob format or on some cpan module) are rather high and furthermore no one else in my team can write bigger Perl programs. In both cases the time factor would increase, either during maintaince-phase or during development cause of some nasty bug. </li>
<li>Using non standard software, where I use non-standard in the meaning that your tool / programming doesn’t support this task / architecture in a well accepted way and, therefore, hasn’t been tested in depth, your solution may work today but what happens if upgrades change the system. How reliable will it work then? This will increase your multiplier for aspect one even more. </li>
</ul>
<p>In the end this means that your fast and inexpensive solution may be not. So where is my point. Going back to my example, I figured out that our software we use to collect our data supports some (wired) SQL dialect and some really nice reporting functionality. So I read up on this in 1-2 h and then coded my solution in another 1-2 h and went to lunch with “mission accomplished” (but the damn aircraft carrier was missing). Does this mean Perl shouldn’t be used? NO!</p>
<p>My point is that choosing your tool may be the most import decision to make, not only on a technical level but one a economical level, too. And there may exist much better tools than you know today. Therefore, don’t (always) rely on your so beloved tools, take a look around, it’s worth it! And I don’t support the argument, never changed a running system. It may not run in a couple of years and then your company can’t pay for your toys anymore ;)</p>]]></description>
 <category>General</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=215</comments>
 <pubDate>Sat, 23 Apr 2011 18:32:53 +0200</pubDate>
</item><item>
 <title>Further Development of ProFTPd Administrator</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=209</link>
<description><![CDATA[<p>Today I wan to explain what my plan is regarding the development of ProFTPd Administrator. First of all, I need to tell you that the development of ProFTPd Administrator 1.4 is a little bit of slow cause I am currently moving and will start a new job in a couple of weeks. But I've used this time to plan the release of version 1.4 and what the plan is after version 1.4. So let's start with 1.4. A beta version has been released before Christmas but I want to add some more features, before releasing it. These features and improvements are:</p>
<ul>
<li>[Feature] A web install script so that the installation process of ProFTPd Administrator isn't a PIA anymore. Basically, as with many other web apps, you will only need to upload the scripts and then execute them from a web browser. These scripts will guide you through the installation. </li>
<li>[Improvement] I want to add support to run ProFTPd Administrator when openbase_dir and safe_mode are in effect.  With the current Version, you see a lot of warnings. </li>
<li>[Fix]: The Status Menu, regarding the OS information, needs some rewriting.</li>
</ul>
<p>This is it. As soon as this is done, I'll release an RC. The biggest part is writing the installer, the rest is a piece of cake.</p>
<p>So where is ProFTPd Administrator going after version 1.4 is going to be released? To tell you the truth, the main part of the source code was written 5 years ago, in a time where ORM and web frameworks were not all that popular. The current version does not use one of these techniques. Therefore, I don't think that putting a lot more development time into the current basis will lead anywhere. So I'll start a complete rewrite of (Pro)FTPd Administrator after version 1.4. The rewrite will focus mainly on two aspects. First of all, I'll use a web framework (supporting MVC pattern) and possibly some kind of ORM (object-relational mapping) to have a modular basis which allows fast and easy integrator of new features. The second aspect is to not only support ProFTPd, but more ftp servers which support storing the user-accounts in a database. That's why the "Pro" part of the name is set in brackets. It'll be called FTPd Administrator 2 from that point on. Parallel to developing version 1.4 I already evaluate web frameworks and ORM libs and designing the new concept.</p>
<p>FTPd Administrator 2 will take some time. After the design / concept is finalized I will implement all features of version 1.4 and after that is done, I'll add support for pure-ftpd (etc.). As soon as this is done, the first stable release of FTPd Administrator 2 will hit the download page. But it will take some time.</p>
<p>All the users of version 1.* don't need to worry, I'll add an easy way to upgrade to V 2.</p>
<p>Bye,</p>
<p>Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=209</comments>
 <pubDate>Fri, 28 Jan 2011 10:36:35 +0100</pubDate>
</item><item>
 <title>Batland&apos;s Code: Export Function working again</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=205</link>
<description><![CDATA[<p>Yesterday I fixed my Indefero setup (<a href="/subdomains/codes/" target="_blank">Batland's Code</a>) so that when watching the source code, the "Download this Version" button doesn't provide a corrupt zip file anymore. Thanks to the help of the indefero irc channel, I tracked the problem with my server setup. <br />
Currently, I am moving so time is limited. After the move I'll blog about how to setup indefero when using safe_mod, open_basedir and strict php settings.</p>
<div><br />
Dennis</div>]]></description>
 <category>General</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=205</comments>
 <pubDate>Thu, 6 Jan 2011 07:31:54 +0100</pubDate>
</item><item>
 <title>Reuploaded ProFTPd Administrator 1.4.0 Beta</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=194</link>
<description><![CDATA[<p>The zip file uploaded on the proftpd administrator project page for the 1.4.0 beta release was corrupt, it couldn't be unzipped. I just uploaded a new archive which works. This error was caused by indefero because the export function of indefero produces corrupt zip files (on my server). I'll look into this problem during the next couple of days.</p>
<p>Bye</p>
<p>Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=194</comments>
 <pubDate>Sun, 26 Dec 2010 06:02:22 +0100</pubDate>
</item><item>
 <title>ProFTPd Administrator 1.4.0 Beta</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=193</link>
<description><![CDATA[<p>Hi,</p>
<p>during December I’ve added some new features to proftpd administrator. This will result in a new version (1.4.0) of proftpd administrator. The new features are:</p>
<ul>
<li>A admin can specify on a per user basis if a user can set his own password or a pasword is automatically chosen  for him. </li>
<li>Reworked the userView part:    
<ul>
<li>When a user logs into the userView for the first time, he is forced to change his password. Either the user can set his own password or one is chosen for him by GWP depending on the admins choice. </li>
<li>A user can change his password anytime per userView </li>
</ul>
</li>
<li> Added support for php 5.3 </li>
<li>Removed all (or at least most) short tags so that apache parses all php files without any additional configuration</li>
</ul>
<p>Additional changes:</p>
<ul>
<li>Fixed some minor bugs </li>
<li>Fixed db_structure.sql to meet a standard setup </li>
<li>Changed CR LF to LF in all .php and .pl files </li>
<li>Added mysql update script for proftpd_admin 1.4.0 </li>
</ul>
<p>I would like to encourage anyone to test this Beta. But <strong>DO NOT</strong> use it in a production system. Wait for a stable release!  If you find any bug, please report them using the <a href="/subdomains/codes/index.php/p/proftpdadmin/issues/" target="_blank">issue system</a>.   All the needed documentation for install / Updating and bug reporting can be found <a href="/subdomains/codes/index.php/p/proftpdadmin/doc/" target="_blank">here</a>. You can download the beta <a href="/subdomains/codes/index.php/p/proftpdadmin/downloads/" target="_blank">here</a>.</p>
<p>Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=193</comments>
 <pubDate>Thu, 23 Dec 2010 14:32:58 +0100</pubDate>
</item><item>
 <title>DBD::mysql on Mac OS 10.6</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=192</link>
<description><![CDATA[<p>Hi,</p>
<p>cause I am working more and more with perl again, I run in some problems. I know how frustrating it can be if google returns no results for your problem, I decided to document any too trivial fix here.  I’ve set up my MacBook Pro to be the new development box for proftpd_admin with Mac OS 10.6. So I installed apache2, proftpd and mysql5 via MacPorts. And then I ran cpan –I DBD::mysql . But the tests on OS X failed, as follows:</p>
<script class="brush: diff" type="syntaxhighlighter">
<![CDATA[
t/76multi_statement.t ....... 1/25 # Testing multicall against SQL_DBMS_VER: 5.1.53
t/76multi_statement.t ....... ok     
t/80procs.t ................. 1/29 DBD::mysql::db do failed: Thread stack overrun:  8120 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld -O thread_stack=#' to specify a bigger stack. at t/80procs.t line 63.
DBD::mysql::db do failed: Thread stack overrun:  8120 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld -O thread_stack=#' to specify a bigger stack. at t/80procs.t line 63.
# Looks like you planned 29 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/80procs.t ................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 25/29 subtests 
t/85init_command.t .......... ok   
t/86_bug_36972.t ............ ok     

Test Summary Report
-------------------
t/80procs.t               (Wstat: 65280 Tests: 4 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 29 tests but ran 4.
Files=40, Tests=813,  8 wallclock secs ( 0.34 usr  0.17 sys +  2.33 cusr  0.50 csys =  3.34 CPU)
Result: FAIL
Failed 1/40 test programs. 0/813 subtests failed.
make: *** [test_dynamic] Error 255
  CAPTTOFU/DBD-mysql-4.018.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports CAPTTOFU/DBD-mysql-4.018.tar.gz
Running make install
  make test had returned bad status, won't install without force
// ]]></script>
<p>The reason is pretty obvious. So you thread_stack size is too small. This can be configured in you mysql config. If you use Macports, the file should be located in /opt/local/etc/mysql5/ and be named my.cnf. Just edit the line thread_stack in the [mysqld] section. I’ve set the size to 515KB which may be too big. But the test failed with 192KB, too, so I just overshot to be on the save side. After you’ve edited the config, don’t forget to restart mysql.</p>
<p>Bye,<br />



 Dennis</p>
<script type="text/javascript">// <![CDATA[
     SyntaxHighlighter.all()
// ]]></script>]]></description>
 <category>Perl</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=192</comments>
 <pubDate>Wed, 22 Dec 2010 06:50:21 +0100</pubDate>
</item><item>
 <title>Batland&apos;s Code: Proftpd Administrator</title>
 <link>http://batland.de/subdomains/nucleus/Batland.php?itemid=186</link>
<description><![CDATA[<p>Hello everyone,</p>
<p>today I've finished the installation of indefero, a project management system, which I'll use for the further development of ProFTPd Administrator and all my other projects. Currently, Version 1.3.0 has been added to the git repository. You can take a look a the project and the source code <a href="/subdomains/codes/" target="_blank">here</a>. <br />
 If you've got any suggests for ProFTPd Administrator or you've found any bugs, please use the issue system so that I can easily track and reply to them instead of using this blog's comment system. I hope that the development will gain some moment ;)</p>
<p>Bye,  Dennis</p>]]></description>
 <category>ProFTPd</category>
<comments>http://batland.de/subdomains/nucleus/Batland.php?itemid=186</comments>
 <pubDate>Sun, 5 Dec 2010 12:20:29 +0100</pubDate>
</item>
  </channel>
</rss>