October312012

Asynchronous code

UPDATE: Connectivity has been restored.  While we still recommend you use our asynchronous code - it’ll prevent any future downtime from having an impact on your site - there’s a much easier way of getting it now.  Just log in, go to “My ad boxes” and click on “code”.  We’ll leave this up for reference, but didn’t want to force you with manually editing HTML if you don’t have to. :) 

*** 

We’ve offered asynchronous code for a long time now: it’s an improved version of our basic code that means than when our site goes down, your ads still load quickly.  Even though our site is currently down, you can still convert your older ad box code to the asynchronous version that won’t hold up your site.  

First, look at the PW code already in your page source.  It may have these lines:
d.projectwonderful_adbox_id = “#####”;
d.projectwonderful_adbox_type = “#”;

Or it may have this lines:
s += “src = http://www.projectwonderful.com/gen.php”;
s += “?id=#####&type=#”;

In either case, make note of the numbers marked by ##### and #. 
* ##### is a three-to-five digit number, which is your ad box’s ID
* # is a number between 1 and 7, which indicates the ad box type (square, leaderboard, and so on)

There are two blocks of code to replace your old one with.  The first is the same for every ad box, and begins the process of contacting our server for the winning bids:

<!— Project Wonderful Ad Box Loader —>
<script type=”text/javascript”>
   (function(){function pw_load(){
      if(arguments.callee.z)return;else arguments.callee.z=true;
      var d=document;var s=d.createElement(‘script’);
      var x=d.getElementsByTagName(‘script’)[0];
      s.type=’text/javascript’;s.async=true;
      s.src=’//www.projectwonderful.com/pwa.js’;
      x.parentNode.insertBefore(s,x);}
   if (window.attachEvent){
    window.attachEvent(‘DOMContentLoaded’,pw_load);
    window.attachEvent(‘onload’,pw_load);}
   else{
    window.addEventListener(‘DOMContentLoaded’,pw_load,false);
    window.addEventListener(‘load’,pw_load,false);}})();
</script>
<!— End Project Wonderful Ad Box Loader —>

The second block should be pasted immediately below the first, and will display the ad box in your page once our server has sent a response.  (That’s the part that will prevent your whole page from hanging if our servers go down.)

<!— Project Wonderful Ad Box Code —>
<div style=”text-align:center;”><div style=”display:inline-block;” id=”pw_adbox_#####_#_0”></div></div>
<!— End Project Wonderful Ad Box Code —>

Note, the ##### and # in that second block.  Those are the spots where you’ll fill in the numbers you retrieved from your old code.

Generally you can simply grab the code from the “Publishing -> My ad boxes -> Code” page.  Even though the site is down, we’re still available to help you at  service@projectwonderful.com if you run into any problems.  Thanks for your patience - we’re working on getting connectivity restored!

October302012

Hurricane Sandy update

Hello,

Many of Project Wonderful’s servers are located in NYC, right there on Manhattan island. Before hurricane Sandy hit, we, along with our on-site hosts, took standard emergency preparedness procedures: making sure generators were on-site and fueled, making sure we had emergency contacts in place with our suppliers, and so on.

It’s helped, but we’re not out of the storm yet.

Before Sandy hit, we had enough diesel on site to ensure they could run 65 hours without needing more fuel.  At around 8pm last night power was knocked out to one of our data centers and we switched over to diesel without interruption.  Unfortunately, this data center then experienced severe flooding a few hours later, which has submerged and destroyed the pumps used to send fuel up to the generators, held above flood level.  Here’s the notice we got:

The flooding has submerged and destroyed the site’s diesel pumps and is preventing fuel from being pumped to the generators on the mezzanine level. The available fuel reserves on the mezzanine level are estimated to support customer loads for approximately 5-7 hours. Once this fuel supply has been exhausted the generator will no longer be able to sustain operation and critical customer power loads will be lost.

The building itself is being evacuated and no remote hands support will be available to assist in any equipment shutdown. Life safety is our number one priority and we are making plans to completely exit the facility. No customer access to the building is possible at this time either. Due to the evacuation, Internap will not be able to provide any exact updates on when the fuel will be exhausted and critical customers loads lost, but as noted, we believe it will take place in approximately 5-7 hours from now.

So unless access can be restored, we may lose some servers in the next few hours.  In addition, another one of our datacenters, while still running off of diesel, has had power interrupted twice overnight: this was responsible for the slowdowns and sometimes unresponsiveness that you may have seen from Project Wonderful between 3 and 6 this morning.  The databases in that datacenter have been now restored to full functionality and should be fine going forward, but if there is another power interruption you may see similar slowdowns until the machines are brought back up to speed.

Currently, 7 of our 9 webservers are fully operational, and our database cluster is operating as expected.  We have enough redundant servers that losing a few of them does not impact performance, and as long as we can keep those servers up, you should not notice any issues with your Project Wonderful account.  If anything seems wrong, please let us know in our service email, and be sure to follow us on Twitter for up-to-the-minute status updates.

Thanks for your understanding! 

UPDATE OCT 30  11:07 AM: No further issues have been encountered, however, the datacenter with the fuel tank underwater and fuel pump destroyed is on the edge of shutting down:

Our DC Ops personnel are actively engaged in sourcing fuel supplies from vendors in the local area. As of now we continue to run on the available fuel reserves on the mezzanine level could stop supporting customer load at anytime. Once this fuel supply has been exhausted the generator will no longer be able to sustain operation and critical customer power loads will be lost.  

We’ve elected to keep things up as long as possible, and we may be able to keep running even if this data center goes dark by shifting load to other centers.  However if we are unable to continue serving ads, then we will suspend charging until we can recover, so nobody will be forced to pay for service that is not being reliably provided. 

Unlike most other advertising networks, we offer a more robust asynchronous code option.  This causes our ads to load in parallel to your site.  That way, if anything affects us, your sites don’t slow down at all.  It’s now the standard code we provide, but some of our older members may still be using non-asynchronous code.  You can update your code by logging in, going to “My ad boxes” and selecting “code”.

UPDATE OCT 30 11:59 AM: Those generators have now failed, but load has been shifted to other datacenters.  Project Wonderful remains up.

UPDATE OCT 31 6:00 AM: Two datacenters that provide fiber connectivity to the datacenter we’ve got our database machines in have lost power, which means we’re currently offline.  We’re working hard to get things back up and will post as soon as service has been restored.

UPDATE OCT 31 1:00 PM:  The servers are up, but we’re still working on getting a signal through to them.  More information will be posted when we have it, and again we apologize for the downtime.  If you find your site is loading slowly, we’ve put up a post on how to switch to the asynchronous code during this downtime that will remove any impact this service interruption has on your site.

UPDATE OCT 31 2:00 PM:  Connectivity has been restored to the servers.  Two servers are still offline, but we’ve build enough redundancy into the network that this isn’t a problem.  We are back online!

UPDATE OCT 31 3:08 PM:  One of our two currently-offline servers has been restored.  These missing servers have had no negative impact to Project Wonderful, but they do add redundancy to the network.  It’s nice to have them back :)

UPDATE OCT 31 3:23 PM:  And now, all servers are back up and running!  We’re back.  We’re still running on diesel, but we’ve got enough fuel to last us.  Hopefully there will be no more unexpected interruptions.  Thank you for your patience and understanding so far.

UPDATE NOV 5 7:00 AM:  All servers but one are off generator power and running on utility power again.  We anticipate no further interruptions, but will post here when the final server has been taken off generator power.  This may take several days.

UPDATE NOVEMBER 9 11:30 PM: All servers are now back on utility power.  Hooray!

October232012

New content classification level

Time was, there was no content rating on Project Wonderful, but then people would say things like “I don’t want NSFW content on my site” and we said “Yes that is entirely reasonable” and made three rating tiers:

  • C = safe for children
  • SFW = safe for work
  • NSFW = not safe for work 

The NSFW tier didn’t include adult content though, mainly because we use PayPal as our payment processor and they put certain limits on what is allowable.  This was unfortunate, because we have some amazing publishers who do more adult stuff, like Oglaf, and we had to have weird unfortunate compromises like “only put the ad boxes on pages where you can’t see the following body parts”.  It was a difficult situation that didn’t really make anyone happy. 

In the time since then, we’ve been able to have a few conversations with PayPal, and we’ve been able to expand the sort of content we accept.  There’s now four rating tiers:

  • C = safe for children
  • SFW = safe for work
  • NSFW = not safe for work
  • ADULT = sexy stuff

First off: by default, all existing ad boxes are set NOT to accept adult content.  This is something you need to explicitly opt in to.  Without opting in, nothing adult will ever show up on your site. To opt in, you need to log in, go to “My ad boxes”, click on “Edit”, and change your approval settings.

If you do choose to opt in, you should know that not ALL adult content is allowed on Project Wonderful.  There’s other networks for that.  We’re not allowing things like cam sites, picture dumps, chat sites, etc.  What we’re specializing in is illustration and stories: drawings, comics, ebooks, along with some other kinds of content.  Be sure to check out our ratings guidelines to see exactly what’s allowed.

As always, thanks for making Project Wonderful so awesome! 

October102012

Project Interview: Alex Vigil, Buffet of Lies

Hi, tumblr! This is our first interview post here. We like to interview creators about the things they make and how they use Project Wonderful to advertise it. This week we talk to Alex from Buffet of Lies!

Hi, Alex! Can you tell me about Buffet of Lies? Is it all cross country canoe races between Ted Danson and Kelsey Grammar?

I started Buffet of Lies about a year and a half ago, partly as a way to get out of a creative rut I’d been in. The first comics I made were gag comics, with no real focus, just some stuff I made for fun. But as I kept doing them, occasional characters that had been created for a one-time appearances seemed to have a greater depth to them. I started putting them in followup comics, and then into bigger stories. Lately, I’ve been wanting to turn the setting of the comic into a fully realized universe, which was/is one of my intention with the canoe race story. I chose to name the town they live in after american treasure Ted Danson, mostly because I think he’s got a big funny face. And I mean, I like Cheers. Who doesn’t like Cheers?


Cheers is indeed a great treasure of our generation. How have you advertised your comic until now? As you move into a more defined universe do you think your advertising strategy will change?

So far I’ve just been going down the relatively unintuitive route of buying space on comics I like, when I have the money to do it. I mean, these are all things that have informed my sense of humor, so it makes sense that people who like ‘em might like Buffet of Lies!
And I don’t think my ad strategy, or really even the ads themselves, are going to change too much. I’ve always made it a point to be at least a little enigmatic with my ads. Oftentimes I’ll see a lot of ads that try to spell out the premise of their comic, like, “A comic about a lawyer and a  gamer living, learning, loving and trying to MAKE it in this crazy world. Oh,and did I mention there’s a TALKING GUINEA PIG?” and I’m like, man, I stopped reading that halfway through! So usually I’ll just put what I think to be a good-looking or enticing image up there with very minimal text, usually just the title. There’s a joke quote from my friend on one of them, but that doesn’t really let on to the nature of the comic itself. It’s more fun when you discover what something’s all about for yourself anyway, I think.


It sounds like you’re all about discovery! Is there anything else about your current work or using Project Wonderful you’d like to talk about?

All I think I have left to say is that if you’re using project wonderful to advertise comics, make at least one Sweet Bro and Hella Jeff-style ad to put under Sweet Bro and Hella Jeff. They are super fun to make and a pretty big percentage of people click on them! Also make sure your comics are good and you are having a lot of fun making them! I like reading comics like that and so do others, probably!!!

Thanks, Alex! If you’re interested in his comic, go to Buffet of Lies!

Tumbl Alex

Tweet Alex

Get started on Project Wonderful today! Make advertising awesome!

September102012

Hello!

We used to have our own Wordpress blog, but it didn’t really have the community aspect we were going for.  So, yay Tumblr!

Advertising online is kinda terrible, and Project Wonderful is trying to change that.  We’re an ad network that doesn’t suck.  We’ll be updating this tumblr with our progress and sneak peeks on new features!

Page 1 of 1