LOTTERY BOARD | 17 Jun 04:07

survey-devel-list: REF No: UKNL-L/200-26937


UK NATIONAL LOTTERY HEADQUARTERS: 
 P O Box 1010 Liverpool, L70 1NL UNITED KINGDOM
(Customer Services)

         BONUS LOTTERY PROMOTION PRIZE AWARDS WINN NOTIFICATION 

This is to inform you that you have been selected for a cash prize of 
£1,000,000.00 (British Pounds)  held on the 15th of June 2007 in 
London Uk.The selection process was carried out through random selection 
in our computerized email selection system(ess) from a database of over
250,000 email addresses drawn from which you were selected.your e-mail address
emerged as one of two winners in the category \\\\\\\"A\\\\\\\" with the
following winning information: 

REF No: UKNL-L/200-26937 
BATCH No: 2005MJL-01 
TICKET No: 20511465463-7644   
SERIAL No: S/N-00168 
LUCKY No: 887-13-865-37-10-83 

The BRITISH UK. Lottery is approved by the British Gaming Board.To 
begin the processing of your prize you are to contact our fiduaciary 
claims department for more infomation as regards procedures to claim 
your prize.

To file for your claim, please contact the processing agent; 

Agents Name: Dr.Pinkett Griffin
Email:claimsagent_dr.pinkett08 <at> yahoo.co.uk 
(Continue reading)

Joel Palmius | 16 Oct 15:02
Picon
Favicon

survey-devel-list: Two bugs with perl snippets

I've discovered two bugs with perl snippets. While not serious they're 
kind of annoying.

Bug 1. Must somehow escape ">" in display-time perl snippets:

   <TEXT NAME="hello" CAPTION="{\ $session->getValue("hiya"); \}" />

will crash with "TEXT must be immediately terminated", since the "->" in 
the perl expression is interpreted as the termination of the tag. (This is 
because the survey xml markup syntax is parsed before the perl expression. 
In a pre-parse perl this is not a problem).

Bug 2. "..{$.." is not allowed inside a display-time perl snippet:

   {\
      @array1 = @{$session->getArrayValue("array1")};
      @array2 = @{ $session->getArrayValue("array2") };
   \}

first line crashes with "found {$ without $}" since variable expressions 
are interpreted before perl code. Second line works since there's a space 
between the "{" and the "$".

Dunno what to do about these really, they're caused by the document parser 
at the moment.

   // Joel
Skickat av Joel Palmius <joel.palmius <at> miun.se>
till survey-devel

(Continue reading)

Joel Palmius | 11 May 14:55
Picon
Favicon

survey-devel-list: Server down

Yesterday the co-location the modsurvey machine is on had an "electrical 
failure". Since then I have not been able to ping the machine, and 
according to the support staff, there is no screen when powering it on.

My guess is that their "electrical failure" fried my motherboard. The gfx 
is integrated, so there's no separate gfx card that could be in trouble.

If this is indeed the case, we're looking at a few weeks of downtime. I 
don't think they will insert a new motherboard down there, so they'll have 
to send the whole machine back to me so I can repair it in order to send 
it down again.

This means that a) homepage, b) bugzilla, c) SVN repository are down for 
the foreseeable future.

I hope to get some more info during the day. However, it is likely I/we 
have to make a temporary solution for at least the homepage.

   // Joel

Skickat av Joel Palmius <joel.palmius <at> miun.se>
till survey-devel

bugant | 19 Apr 18:40

survey-devel-list: survey path

hi all,
   on my last commit to Document.pm and Submit.pm
I did this:

   build a surveypath, i.e. the path a user is following
   to answer the survey, to invalidate responses which
   are out of the path (but can have values because they've
   been answered but after the user used the back button
   and change its route someway);

I hope you'll find it usefull!
Please, if you can, test it and let me know how it is.

We could use the survey path to implement a survey navigation
mechanism so the user'll be able to jump araund previous questions.

stay tuned,
bugant.
Skickat av bugant <bugant <at> opinioni.net>
till survey-devel

bugant | 14 Apr 17:48

survey-devel-list: Document.pm code clean-up

hi all,
   I've done some code clean-up on Document.pm;

That's the story:

basically all over the code
you can find such a pattern:

if (<I have to set an error>)
{
    $self->{ERROR} = "dooh";
    $self->{ERRORCODE} = 0;
}

if (!$self->{ERROR} && various stuff)
{

}

I think we can just return upon error without any
problem and getting a more readable code (I hope).

I want to commit these but I got:

Transmitting file data .svn: Commit failed (details follow):
svn: Svndiff has invalid header

So... my commit is waiting :) I hope to be able to solve the
problem soon (It could be an svn-db problem, but I've no access
to the svn host).
(Continue reading)

bugant | 13 Apr 17:51

survey-devel-list: data and meta-data

hi all,
   it's been a long time since the last post here!
I hope all of you're ok ;)

I've just committed my latest work on trunk svn
repository; it's about data and meta-data clarification.

The short story is: mod_survey uses a large amount of memory
when accessing data module. My goal has been to partially reduce
these by properly divide meta-data (i.e. variable's data)
and data (i.e. survey cases).

Before these changes both meta-data and data shares the same
data-structure, i.e. meta-data was replicated so many times!

Now data are rappresented by pairs composed by a name and a
value; take a look at DateEntry.pm for details.

Meta-data store information about variables as the snippet below
states (MetaEntry.pm):

my ($self) = {};

$self->{TYPE}            = $type;
$self->{NAME}            = $name;
$self->{ISNUMERIC}       = $isnumeric;
$self->{VARIABLECAPTION} = $varcap;
$self->{TAGNO}           = $tagno;
$self->{ELEMENT}         = $elno;
$self->{POSSIBLEVALUES}  = $posval;
(Continue reading)

Joel Palmius | 29 Mar 12:52
Picon
Favicon

survey-devel-list: Testing

Just testing if list server is up.

   // Joel

Skickat av Joel Palmius <joel.palmius <at> miun.se>
till survey-devel

Joel Palmius | 8 Mar 10:24
Picon
Favicon

survey-devel-list: mod_survey patch for multipage surveys over HTTPS (fwd)

Doh!

I wonder why no-one has reported this earlier. It's pretty obvious. :-)

Bug confirmed, patch confirmed. I have applied it to the stable SVN. It 
should appear in the next daily snapshot and the next release.

   // Joel

---------- Forwarded message ----------
Date: Wed, 8 Mar 2006 15:26:45 +1100
From: Ross Richardson <Ross.Richardson <at> utas.edu.au>
To: Joel.Palmius <at> mh.se
Cc: Nick.Grundy <at> utas.edu.au
Subject: mod_survey patch for multipage surveys over HTTPS

Multipage surveys in mod_survey fail on servers which only support HTTPS
because 'http' is hard-coded in Submit.pm

Attached is a patch (against version 3.2.4-pre1) which _might_ fix
this - I've not had a chance to test it!

Hope this helps.

Regards,
 	rlr
--

-- 
Ross L Richardson               <URL:mailto:Ross.Richardson <at> utas.edu.au>
Senior Systems Administrator                  Phone : +61 (0)3 6226 6233
Information Technology Resources                Fax : +61 (0)3 6226 7171
(Continue reading)

Joel Palmius | 4 Mar 14:48
Picon
Favicon

survey-devel-list: Concerning 3.2.4-pre1

I changed <p> to <div> in page generation for this release, and had to fix 
some of the theme stylesheets. This is not very well tested, for example I 
haven't checked how it looks in windows. Help with testing is appreciated.

   // Joel

Skickat av Joel Palmius <joel.palmius <at> miun.se>
till survey-devel

Joel Palmius | 14 Feb 10:40
Picon
Favicon

survey-devel-list: Reminder: IRC today

15.00 CET, #modsurvey, irc.freenode.net.

   // Joel

Skickat av Joel Palmius <joel.palmius <at> miun.se>
till survey-devel

Joel Palmius | 13 Feb 10:16
Picon
Favicon

survey-devel-list: patch to get mod_survey produce XHTML compliant pages (fwd)

Got an update to some xhtml-compat issues. Looks fine to me, although I 
haven't tested it.

Only thing I've seen it can break is the "name" in "form", which I do not 
use personally. Maybe there is a better (xhtml-compatible) way of doing 
this than what we are currently doing?

   // Joel

---------- Forwarded message ----------
Date: Sun, 12 Feb 2006 17:52:11 +0100
From: Bart Van Loon <bbbart <at> kotnet.org>
Reply-To: bbbart <at> ulyssis.org
To: joel.palmius <at> miun.se
Subject: patch to get mod_survey produce XHTML compliant pages

Hi Joel,

I'v been using mod_survey for some time now on a testing machine and am 
thinking about moving it into production, but for that we need XHTML compliant 
pages produced.

I hereby send you a patch that fixes most of the mistakes I could find in the 
last stable release (3.2.3). You mught want to review it thoroughly before 
applying it though, as I might have broken some of you coding styles or other 
ideas. Changes are pretty basic though, and work fine here, providing me with 
fully XHTML 1.0 output.

I tried to subscribe to the developers mailinglist through majordomo <at> mh.se, but 
didn't get any reply...
(Continue reading)


Gmane