Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

fireartist (6128)

fireartist
  (email not shown publicly)
http://www.fireartist.com/

Journal of fireartist (6128)

Tuesday September 16, 2008
06:38 AM

Thank you, Test::Aggregate authors!

HTML-FormFu test suite: 326 files, 1781 tests.

As of svn revision 1205, the runtime has dropped from 50 seconds to 8 seconds.

In a word, "thankyou" :)

Wednesday August 20, 2008
03:18 AM

YAPC::EU auction booty - komodo IDE

I've been using the free komodo editor for the past few months - since I finally got too frustrated with the slow memory-hog that is Eclipse/EPIC (and this is /after/ recently upgrading to a new 2.2GHz dual-core 2GB ram machine).

I managed to buy one of the perl Dev-Kits that were auctioned off in Copenhagen last week.

There must have been a bit of confusion, as it was advertised as "including komodo", which it wasn't - but ActiveState were good enough to let me have a license for the Komodo IDE instead of the Dev-Kit, as that was what I was really interested in.

Within about ten seconds of loading the IDE up, I was grinning, and very happy with my purchase.
The subroutine select-menu, the code browser, svn integration, DOM browser - this is what eclipse/EPIC tries to be - but this fast!

Granted, I only paid 300 DKK, not the usual 295 USD - but now that I've seen the product and started working with it - I'll certainly be getting my $work to buy any upgrades that come out.

Friday April 06, 2007
01:52 AM

buggy firefox / trackpad

After weeks of frustration with firefox randomly scrolling back through the page history when I tried to use the trackpad on this Dell laptop - I've discovered the magic incantation to fix it.

about:config

mousewheel.horizscroll.withnokey.action = 0

Wednesday June 28, 2006
10:27 AM

problem solved: fedora 5, vsftpd, cannot change directory

"500 oops: cannot change directory"

Trying to ftp in to a Fedora Core 5 box using a local username. Password is accepted, but the connection is then closed with this error message.

This is because of SELinux's policies. To fix it, issue (as root):

setsebool -P ftp_home_dir=1

The -P flag ensures the value is saved after reboot.

keywords: Fedora Core 5 linux, vsftpd, SELinux, connection failure

Wednesday May 03, 2006
08:00 AM

Been shopping at "Club 24 Honours"?

If you find a transaction in your bank statement from a company called "Club 24 Honours LEEDS. GB" and you think you've never done business with a Club 24, never mind been to Leeds; don't waste money getting your bank to dispute the transaction, it's actually from "Honours Student Loans".

Of course.

Hopefully google will now lead others to the truth!

Monday October 17, 2005
04:23 AM

problem solved: par, mingw win32, compilation failure

Compilation of PAR 0.89 fails with this error message:

>dmake
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_
SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX  -I"C:\usr\local\perl\lib\CORE" s
tatic.c
In file included from c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/
fcntl.h:20,
                 from mktmpdir.h:3,
                 from mktmpdir.c:1,
                 from static.c:8:
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/io.h:162: 39: macro "mk
dir" requires 2 arguments, but only 1 given
dmake:  Error code 129, while making 'static.o'
dmake:  Error code 255, while making 'subdirs'

Solution: Near the top of the PAR file "myldr/static.c" change this:

#ifdef WIN32
# include <process.h>
# define mkdir(file, mode) _mkdir(file)
#endif

to this (just add the io.h line):

#ifdef WIN32
# include <io.h>
# include <process.h>
# define mkdir(file, mode) _mkdir(file)
#endif

keywords: PAR, mingw, perl, windows, win32, mkdir, compilation failure

Reference: http://www.mail-archive.com/par@perl.org/msg01904.html

Friday August 19, 2005
01:56 PM

problem solved: PAR, pp, Wx, window immediately closes

This is because PAR seems to fork a new child process, then immediately close. This causes the unless (caller) condition in the app.pl file to always be false.

in the main app.pl file, change:

unless(caller){
    my $app = myApp->new();
    $app->MainLoop();
}

to this:

my $app = myApp->new();
$app->MainLoop();

keywords: PAR, pp, WxGlade, Wx, wxperl, perl, windows, win32

01:54 PM

problem solved: PAR, pp, Wx, "Unable To locate Component"

This application has failed to start because wxbase26u_gcc_custom.dll was not found. Re-installing the application may fix this problem.

Add the .dll using the -l argument to pp. Specify the full path to the .dll, build the .exe again and repeat.

I had to add:

-l c:\\Perl\\site\\lib\\auto\\Wx\\wxbase26u_gcc_custom.dll
-l c:\\Perl\\site\\lib\\auto\\Wx\\wxmsw26u_adv_gcc_custom.dll
-l c:\\Perl\\site\\lib\\auto\\Wx\\wxmsw26u_core_gcc_custom.dll

keywords: PAR, pp, Wx, wxperl, activestate, perl, windows, win32

01:52 PM

problem solved: PAR, pp, Wx, window immediately closes

Run the .exe from a command prompt, so that you can see the error messages. If it's not finding modules, add them to your pp argument list using the -M flag. Build the .exe again and repeat.

I had to add:

-M Wx::DND
-M Wx::DocView
-M Wx::FS
-M Wx::Grid
-M Wx::Help
-M Wx::Html
-M Wx::MDI
-M Wx::Print
-M utf8

keywords: PAR, pp, Wx, wxperl, perlapp, activestate, perl, windows, win32

01:40 PM

problem solved: perlapp, Wx, window immediately closes

Run the .exe from a command prompt, so that you can see the error messages. If it's not finding modules, manually add them to the "Added Modules" list in perlapp.

I had to add:

Wx::DND
Wx::DocView
Wx::FS
Wx::Grid
Wx::Help
Wx::Html
Wx::MDI
Wx::Print
utf8

keywords: perlapp, Wx, wxperl, activestate, perl, windows, win32