public inbox for [email protected]  
help / color / mirror / Atom feed
Problem with survey code
4+ messages / 3 participants
[nested] [flat]

* Problem with survey code
@ 2007-10-23 19:21  Josh Berkus <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Josh Berkus @ 2007-10-23 19:21 UTC (permalink / raw)
  To: pgsql-www

Team,

Low priority issue:

When one adds a new survey to wwwmaster, it gets added to the Survey History 
whether it is activated or not.  As a result, we now have a bunch of 0 
results surveys already in the history:

http://www.postgresql.org/community/survey.49
http://www.postgresql.org/community/survey.52

These will get results once we rotate them into the limelight, but it's a 
little disconcerting right now.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Problem with survey code
@ 2007-10-23 20:09  Stefan Kaltenbrunner <[email protected]>
  parent: Josh Berkus <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Stefan Kaltenbrunner @ 2007-10-23 20:09 UTC (permalink / raw)
  To: Josh Berkus <[email protected]>; +Cc: pgsql-www

Josh Berkus wrote:
> Team,
> 
> Low priority issue:
> 
> When one adds a new survey to wwwmaster, it gets added to the Survey History 
> whether it is activated or not.  As a result, we now have a bunch of 0 
> results surveys already in the history:
> 
> http://www.postgresql.org/community/survey.49
> http://www.postgresql.org/community/survey.52
> 
> These will get results once we rotate them into the limelight, but it's a 
> little disconcerting right now.

hmm - just commited a small change to exclude all the ones that have
zero results  in them - should go live on the next sidebuild.


Stefan



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Problem with survey code
@ 2007-10-23 21:02  Robert Treat <[email protected]>
  parent: Stefan Kaltenbrunner <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Robert Treat @ 2007-10-23 21:02 UTC (permalink / raw)
  To: pgsql-www; +Cc: Stefan Kaltenbrunner <[email protected]>; Josh Berkus <[email protected]>

On Tuesday 23 October 2007 16:09, Stefan Kaltenbrunner wrote:
> Josh Berkus wrote:
> > Team,
> >
> > Low priority issue:
> >
> > When one adds a new survey to wwwmaster, it gets added to the Survey
> > History whether it is activated or not.  As a result, we now have a bunch
> > of 0 results surveys already in the history:
> >
> > http://www.postgresql.org/community/survey.49
> > http://www.postgresql.org/community/survey.52
> >
> > These will get results once we rotate them into the limelight, but it's a
> > little disconcerting right now.
>
> hmm - just commited a small change to exclude all the ones that have
> zero results  in them - should go live on the next sidebuild.
>

This means to activate a survey you have to vote in it, right? 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Problem with survey code
@ 2007-10-24 06:52  Stefan Kaltenbrunner <[email protected]>
  parent: Robert Treat <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Stefan Kaltenbrunner @ 2007-10-24 06:52 UTC (permalink / raw)
  To: Robert Treat <[email protected]>; +Cc: pgsql-www; Josh Berkus <[email protected]>

Robert Treat wrote:
> On Tuesday 23 October 2007 16:09, Stefan Kaltenbrunner wrote:
>> Josh Berkus wrote:
>>> Team,
>>>
>>> Low priority issue:
>>>
>>> When one adds a new survey to wwwmaster, it gets added to the Survey
>>> History whether it is activated or not.  As a result, we now have a bunch
>>> of 0 results surveys already in the history:
>>>
>>> http://www.postgresql.org/community/survey.49
>>> http://www.postgresql.org/community/survey.52
>>>
>>> These will get results once we rotate them into the limelight, but it's a
>>> little disconcerting right now.
>> hmm - just commited a small change to exclude all the ones that have
>> zero results  in them - should go live on the next sidebuild.
>>
> 
> This means to activate a survey you have to vote in it, right? 

this means that a survey needs to have at least one vote to show up in
the "Other surveys" listing.
Afaiks there is no real "this survey is actived" flag/indication in the
code - only "this is the survey that is running now" so looking at the
number of votes is the only hint we can use for generating a list of
"surveys that ran in the past".


Stefan




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-10-24 06:52 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-23 19:21 Problem with survey code Josh Berkus <[email protected]>
2007-10-23 20:09 ` Stefan Kaltenbrunner <[email protected]>
2007-10-23 21:02   ` Robert Treat <[email protected]>
2007-10-24 06:52     ` Stefan Kaltenbrunner <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox