Dancing on the command line
Submitted by Maurice on Sun, 03/06/2011 - 02:24Some dancers (see http://perldancer.org) have expressed the wish to use more of Dancer's features in scripts accompanying webapps (in dancer-users@perldancer.org). To be a little more precise: they wanted to use the config information from a webapp outside the webapp.
- Maurice's blog
- Login to post comments
- Read more
Importing data to Drupal 6.x CCK fields
Submitted by Maurice on Tue, 12/07/2010 - 20:17The task
It's the first time I look into this. I have some data in Excel and want it go into CCK fields. Concrete case: import pictures for the MIMO gallery and create the normal node and CCK fields easily. Of course I could save CSV or import to mysql table if I have to.
Choosing the Module
First glance at 6.x modules indicates that Migrate seems to be most appropriate and ready for use. So, I start testing it on a test server.
Migrate
- Maurice's blog
- Login to post comments
- Read more
rakudo on cygwin
Submitted by Maurice on Fri, 11/26/2010 - 16:23As with every rakudo star release I try to compile it on cygwin. So far, I could never do it. Today, I run into the same problems again as before. This time, i try to write down what happens.
Manifest test tells me that t/tools/install/testlib/phony.exe is missing. The file is actually mentioned in the MANIFEST, but it is missing in my unpacked rakudo star folder.
- Maurice's blog
- Login to post comments
- Read more
PHP5 with cygwin and apache2
Submitted by mokko on Mon, 11/08/2010 - 17:41I want to make my laptop test environment as much as possible look like my server environment, but I do not want to install linux on my laptop. I probably should use a different pc with linux on it. I know.
Nowadays, it is actually relatively easy to install php5.2 via cygports. Just follow directions from cygport and add the following to httpd.conf /etc/apache2/httpd.conf:
LoadModule php5_module "C:/Program Files/php/php5apache2_2.dll"
- mokko's blog
- Login to post comments
- Read more
Beginner's dance class
Submitted by Maurice on Wed, 09/01/2010 - 22:09Beginners' Dance Class: http://www.youtube.com/watch?v=y64Ynur-veU
Perl turned 20 a couple of years ago. It has been with us since the Web has learned to crawl. Long before php, java beans and web application frameworks. There is tons of old perl out there, but there is also new perl code which runs on modern websites. Sometimes it is hard to find what is what.
- Maurice's blog
- Login to post comments
- Read more
Dancer: Avoid session altogether
Submitted by Maurice on Wed, 09/01/2010 - 20:41I found a new toy: Dancer, the minimal effort perl web framework, see http://perldancer.org. Main advantage: easy to start even without any real webapp experience, good learning curve, nice community (still somewhat small) . Dancer code looks good. Some would even say elegant.
Anyways, I just noticed that I don't even need a session. I can just load info in class variable
our $memory_cache;
- Maurice's blog
- Login to post comments
- Read more
The Gramophone Collection of the Phonogram Archive in Berlin on the Web: Samples from nearly every disk available
Submitted by mokko on Sun, 07/18/2010 - 10:54I wrote this little piece in June in a hurry to announce an important event: the publication of more than 2000 audio samples from the music archive of the Ethnological Museum on the DISMARC platform. However, the piece didn't get published as originally intended. While I don't think that this short text constitutes a particularly nice piece of writing, I do think that that the world is slightly better off with than without it, so I thought I put it on my website.
- mokko's blog
- Login to post comments
- Read more
decider.pl
Submitted by Maurice on Tue, 05/18/2010 - 15:20We talked about the decider today. The decider is supposed to select the media resources which shall be published. We agreed to use only one algorithm. By this I mean a relatively complex decision process and NOT a simple mapping rule, as for example:
if string "alpha" in field a then publish this resource to alpha.
- Maurice's blog
- Login to post comments
- Read more
This site was hacked
Submitted by mokko on Thu, 04/22/2010 - 09:09Today, I came back to this site and it was hacked by Woltaj. I wonder why? Probably the outdated way I upload stuff. I really need to get rid of this hosting company. By the way, some images were deleted. Otherwise it looks still okay. I should say that this has been a relatively friendly hacker.
- mokko's blog
- Login to post comments
oaicat's implementation of ListMetadataFormats
Submitted by Maurice on Sun, 03/21/2010 - 12:26Just a little, tiny note: When you run oaicat's demo from war file (version 1.42 or so), you might actually get no response for ListMetadataFormats if parameter is missing. I mean you get an error message that the parameter is missing, while the spec clearly states that the parameter is optional.
It seems that this issue has been fixed since current demo version at http://alcme.oclc.org/oaicat and also the upgraded version (available as jar and source) on my test box responds correctly.
- Maurice's blog
- Login to post comments
