Maugrim McFiriba's Eve Online Journal

Entries from Tuesday, April 15. 2008

Maugrim McFiriba (Pádraic Brady), Caldari Soldier. Read about my adventures in Eve here. More »

Programming during Eve's Downtimes: Do Nots!

April 15. 2008 at 14:08
Posted by Pádraic Brady
Comments (2)
Trackbacks (0)
I have spent the last two hours working on a registration scheme for Cidev members to register accounts on the corporation website (http://crimsonindustries.com. The only problem was that after an exercise in utilising the poorly documented Eve-Online API (took some digging in other sources to locate ALL the API server endpoints needed) to allow anyone confirm their registration using their limited userID and apiKey - my unit tests began failing.

Unit tests, if you're not a programmer, are tests written to assert something I programmed is working as intended.

So 12 failures later I started getting worried that PHP DOM was misbehaving (it's a bit of a complex beast to work with). I pulled apart a class, reran tests, and finally ripped out wget in bash as a last resort to see if a few manual URLs and POSTs would turn up the problem.

I immediately saw "Unexpected failure accessing database." turning up as the error message returned from the Eve Online server in it's XML response code.

Suddenly it hit me. The damn Trinity 1.2 patch was running today! I had been running tests against the offlined server!

I feel a bit of an idiot right about now ;-). I'll try the tests again around 16:00 GMT when hopefully the server is back online.
Bookmark Programming during Eve's Downtimes: Do Nots!  at del.icio.us Digg Programming during Eve's Downtimes: Do Nots! Bloglines Programming during Eve's Downtimes: Do Nots! Technorati Programming during Eve's Downtimes: Do Nots! Bookmark Programming during Eve's Downtimes: Do Nots!  at Furl.net Bookmark Programming during Eve's Downtimes: Do Nots!  at reddit.com Bookmark Programming during Eve's Downtimes: Do Nots!  at NewsVine Bookmark Programming during Eve's Downtimes: Do Nots!  at blogmarks Bookmark Programming during Eve's Downtimes: Do Nots!  at Ma.gnolia.com Bookmark using any bookmark manager!

View as PDF: This month | Full blog « previous page   (Page 1 of 1, totaling 1 entries)   next page »

Calendar

« April '08 »  
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

Quicksearch

Archives

January 2009
December 2008
November 2008
Recent...
Older...

Categories



    All categories

    Syndicate This Blog

    XML RSS 2.0 feed
    ATOM/XML ATOM 1.0 feed
    XML RSS 2.0 Comments
    << Previous

    Next >>

    Comments

    Morph about Eve Online Blog Feast
    Mon, 05.05.2008 22:35
    Ah just noticed the link, than ks for including my blog ;-).


    Pádraic Brady about Eve Online Blog Feast
    Thu, 24.04.2008 08:54
    \o It took me a while to lo cate a lot of these blogs by t racking through blogs, discove ring matching ones throu [...]


    Havohej about Eve Online Blog Feast
    Wed, 23.04.2008 22:50
    o/ Glad to see my blog ment ioned somewhere other than my own site! I've spent the last hour or so reading thro [...]


    Pádraic Brady about Programming during Eve's Downtimes: Do Nots!
    Tue, 15.04.2008 17:05
    Just the site I located, home of the subversioned Killboard application which is two point s above the publicly rel [...]


    James Logsdon about Programming during Eve's Downtimes: Do Nots!
    Tue, 15.04.2008 15:39
    A handy website for the API is http://wiki.eve-dev.net Th ey have a bunch of information on the API and the stat [...]


    Pádraic Brady about Meet Brother Cathbadh!
    Tue, 15.04.2008 13:58
    I have a plan to buy a dozen c heap frigates, locate to a low sec gateway, and spend some ti me getting killed ;-). La [...]


    Sniper about Meet Brother Cathbadh!
    Tue, 15.04.2008 01:11
    Hey Just read a few of ur p osts, ur doin well in eve, i m yself am fairly new (about 8 m onths now) and youve don [...]


    Pádraic Brady about I think I Need To Be Ganked...
    Sat, 12.04.2008 19:54
    Working on those now actually ;-). Plan is to have a full set of +3s this week (that's upwa rds of 60mil ISK) which [...]


    Mavric about I think I Need To Be Ganked...
    Sat, 12.04.2008 15:55
    Something else to speed up tra ining times would be at least a +3 learning implant set. Th ey are relativly cheap n [...]


    Pádraic Brady about CSM: The Council Of Stellar Management Elections
    Wed, 09.04.2008 16:21
    Nah, I know I'm overreacting t o an extent and admitted as mu ch in my last comment. The pro blem is my real world be [...]


    CrazyKinux about CSM: The Council Of Stellar Management Elections
    Wed, 09.04.2008 14:54
    I think you're overreacting Pa draic. If any candidate felt h e was being misrepresented on the EVE CSM site (or not [...]


    Pádraic Brady about CSM: The Council Of Stellar Management Elections
    Wed, 09.04.2008 00:36
    In all honesty it's less that I doubt the value and accuracy of the site, and more than I can't recommend a site c [...]


    Serenity Steeele about CSM: The Council Of Stellar Management Elections
    Tue, 08.04.2008 23:55
    I'm curious to know if you can recommend a more transparent and unbiased representation of the CSM candidates than [...]


    Nuyan about Eve Online Blog Feast
    Tue, 08.04.2008 17:59
    Nice, actually some blogs ther e I hadn't seen before.


    Pádraic Brady about Nemesis Prime: Bringing home the ISK
    Tue, 08.04.2008 17:11
    Let's wait till I can afford a Battleship first ;-). I'm lean ing towards a month or so cool ing period to see if I c [...]


    Respect My Content!

    Creative Commons License - Some Rights Reserved
    Original content in this work is licensed under a Creative Commons License

    Recent Entries

    Eve Online source code leaked...or not?
    Wednesday, April 16 2008

    Programming during Eve's Downtimes: Do Nots!
    Tuesday, April 15 2008

    Meet Brother Cathbadh!
    Monday, April 14 2008

    For A Tech II Fitted Drake!
    Thursday, April 10 2008

    Election Standards and F Bombs
    Wednesday, April 9 2008

    Eve Online Blog Feast
    Tuesday, April 8 2008

    CSM: The Council Of Stellar Management Elections
    Tuesday, April 8 2008

    Nemesis Prime: Bringing home the ISK
    Monday, April 7 2008

    Mining Op Fun
    Saturday, April 5 2008

    Setting my own goals for Eve Online
    Thursday, April 3 2008

    Maugrim's Magnolia Bookmarks

    • Web Bot Battle!
    • Richard Feynman - The Last Journey Of A Genius[1988]
    • Spot the flip up link badges
    • Brilliant Button Maker by LucaZappa.com
    • Kane Rizzel - a Pirates Perspective: The Tourist Part Too
    • Bacon ain't sizzling | StarFleet Comms
    • DevNetwork Forums • View topic - Whats your nick/alias history?
    • Django | Snakes and Rubies downloads
    • Ombeve
    • Mystic Worlds: EVE Online: The High Cost of Mistakes
    (More)

    Last Google Search

    Statistics

    Last entry: 2008-04-16 12:31
    25 entries written
    38 comments have been made

    Powered by

    Serendipity PHP Weblog

    Google Analytics

     

    My PHP Blog | Evolution Alliance | Login | Design by ceejay