Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Ever heard of AdCycle?

by damian (Beadle)
on Oct 03, 2000 at 07:29 UTC ( #35049=perlquestion: print w/replies, xml ) Need Help??
damian has asked for the wisdom of the Perl Monks concerning the following question:

hi guys, have u ever heard of AdCycle? anybody here had used it? anyway i am currently pondering on how can i diplay random banner ads with adcycle. ex. i have an advertiser with 3 banners, how will adcycle randomly diplay those 3 banners on a sigle HTML page. please help to those who had used AdCycle. thanks

Replies are listed 'Best First'.
RE: Ever heard of AdCycle?
by Maclir (Curate) on Oct 03, 2000 at 21:09 UTC
    Hmmm - I saw the title of the post, and it took me back to the late 1980's and IBM mainframe programming . . .

    I guess we are talking about a different "AD Cycle" here.

    I will go back to my coding sheets and card punch now, boys and girls.

Re: Ever heard of AdCycle?
by c-era (Curate) on Oct 03, 2000 at 15:48 UTC
    If you were writing your own version of AdCycle and ran into some programming problems, people would gladly help you out.
    But if you want advice on a program it would be best to use the chatterbox to ask people, or go to the IRC channel. As a last resort you could post it, but then post it in the discussions area. I hope this helps you find the information you need (and save your experiance in the future).
Re: Ever heard of AdCycle?
by wombat (Curate) on Oct 06, 2000 at 03:50 UTC
    I don't know about the rest of you. But I outright refuse to help anyone asking for assistance with advertising. If they can't figure it out, then that's a good thing for the rest of us. I've got some interesting filters on my home machine, which causes an animated gif of static to appear in about 80% of the banner ads all over the web. Nicely snaps the link in two as well, so I can't accidentally click on it.

    Let's all remember a recent quote from User Friendly. "I don't lie, I market!"

    End of rant.

      You know that's fine. I am reluctant to help someone pollute the world with more advertising myself. But..

      This message was originally written in a time when advertising was abundant and many things in the Internet World were free. When the pinheads finally got the message that there wasn't much gravy in the internet advertising world, a lot of funding dried up, and then a lot of free things started to disappear.

      I'd like to recommend that every regular at PM make it a point to routinely visit the sponsor's ad and navigate around the sponsor site by choosing at least three links. Sponsors of this site annoy me only a little with banner ads. And the whole mass of wrong-headed things that are commonly believed in the advertising industry can wait for another rant (on another more appropriate, site).

      ...All the world looks like -well- all the world, when your hammer is Perl.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://35049]
Approved by root
[Eily]: you could tie a variable into not having the same value each time, if you like to make people who try to debug your code facepalm
[Corion]: perl -wle 'package o; use overload q("") => sub {warn "str"; ""}, bool => sub{warn "bool"; 1}; package main; my $o={}; bless $o => o; print "Yay" if ($o && !length($o))'
[Corion]: But people writing such code should document the objects they construct and why it makes sense for an object to be invisible as string while being true in a boolean context
[hippo]: That's equal parts clever and horrendous.
[Eily]: the overload version wouldn't return true with "$x" && !length $x though, I guess
[hippo]: The more I look at this code, the more $x is a plain old scalar and the more this condition will never be true. I'm calling it a bug at this point.
[hippo]: Thanks for your input which has soothed my sanity (a little)
[Corion]: Eily: Sure - if you force both things into stringy things, then you break that magic. But that would also mean that you changed the expression, as now $x = 0.00 will be true instead of false as it were before
[Corion]: Ah no, at least in my feeble experiments that doesn't change the meaning
[Corion]: We sell sanity in small packages ;)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-07-27 13:42 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (413 votes). Check out past polls.