xnera: Icon captioned "Geek". (geek)
Bot is fixed. New Net::Oscar did the trick. My apologies for the downtime.
xnera: Icon captioned "a woman bracing herself." (bracing)
My bots appear to be broken. :/ they're not responding to commands via private IM. Woe.

Guess I'll be wading through code tonight, then.
xnera: Icon captioned "Geek". (geek)
A building visitor stopped me in the corridor to ask me where the ladies' room was. We were standing right in front of it. :D To her credit, she started her approach to me before she had actually come to the door, so I don't blame her for missing it. But dude, talk about timing!

Random kisses to the people on my friends list who have been putting their memage posting behind LJ-cuts. <3!

Thought #1: Harry Potter RPG Quote Deathmatch! Yea/Nay? Could be fun!
Thought #2: Program the bots to do mini-deathmatches of, say, ten quotes at a time. Could be fun!
Thought #3: Keep stats of the mini-deathmatches so we can find the winningest quote over time, a la Kittenwar.

Hell, it's been a while since I've hacked the ol' perl code. I think I am overdue.
xnera: Icon of Draco Malfoy, captioned "I'm rather empowered." (I'm rather empowered.)
I rule!
xnera: Icon of Draco Malfoy, captioned "I'm rather empowered." (I'm rather empowered.)
Greetings from my "NEW" computer! *bounces*

It's fast. I like! Though I'm rather irked that I have soooo much to reinstall. I'm especially irked that my backup disc of perl & bot is faulty. Don't worry--I have bot backed up in 43516 other places. But perl... NSM. It's going to be a royal pain to get perl reinstalled, because of all the modules. Oi! I'm working on it now, but it might take another day or so. I'm afraid I'm not going to last much longer tonight because of lack of sleep. I plan to be in bed by 9:00. Joy.

But! "NEW" COMPUTER! YAY! INTERNET AT HOME AGAIN!! YAY!!! Am so, so relieved.

I really, really want to test out the DVD burner. But I'd have to reencode video, likely. And the stuff I want to burn? PGSM, which means figuring out how to letterbox it so the titles don't get cut off. Gah.

First things first. Bot is first, of course. I will work on perl & bot, and then maybe tomorrow I will burn something.

In other news, I am finally getting around to sending out evites for my SHINY! SERENITY! SHINDIG! on October 1st. If you want an evite and haven't previously expressed an interest, reply here or via email. Userinfo address is good.
xnera: Icon of Lucius Malfoy leaving the Death Eaters to perform karaoke  (TIN ROOF!!! RUSTED!!!)
I linked [livejournal.com profile] kenboy to the IM prank site. First thing he does? Pranks bot! )
xnera: Icon captioned "Geek". (geek)

  • I did some structural updates to the database bot uses for quotes. Random testing shows that it's working fine, but do let me know if you have problems with the !addquote or !quote commands.
  • New [livejournal.com profile] storge_space characters have been added to bot's list of character names, so you can now use !lu, !comments, and the quote commands for them.
  • Going forward, all chat topics are now being logged. !quote topic will return a random previously-used topic for the chat you're currently in.


Let me know if you encounter any wonkyness with the above. I'm always open to suggestions for new bot features.
xnera: Icon captioned "Geek". (geek)
Doing some maintenance and upgrades to bot this weekend. Expect large amounts of offline-ness until completed. I'll let you know when we're all good. My apologies for the downtime, but I think it will help with future performance.
xnera: Icon captioned "Geek". (geek)
Somebody's going to be programming a new bot soon. w00t!

Not fandom related, and possibly only of interest to me. It will be announced here when it is complete.
xnera: Icon of Draco Malfoy, captioned "I'm rather empowered." (I'm rather empowered.)
Just finished my reread up OOTP. Pretty much skimmed the last third of the book.

I've set my alarm for 8:00. Gonna get up early, do a bit of housework and maybe some exercising, and then dig in to HBP. Thoughts posted (with LJ-cuts) at the end of each chapter.

Don't forget--spoilerchatbot awaits your IM if you're looking to chat about the book with others. Just IM him with "spoil me" and he'll send you an invite. Pass it on!

Okay, a bit of Boggle for me and then it's to bed.
xnera: Icon of Harry Potter. Caption reads "Yeah, I like Draco. Got a problem with that?" (Harry Potter: Gay and proud.)
So, I woke up really early this morning, took a shower, and checked my email--to find out Amazon had sent HBP via UPS.

*headdesks* I was afraid of this. Because it'd be just my luck that they'd try to deliver while I was taking Raina to the vet or I was out at session.

Raina did wonderfully at the vet. Was only gone a half hour, and immediately checked the front door to see if there was a sticky or (better yet) a box. Nope to both. Left a half hour later--but I left a note on the door, telling UPS that I authorize them to leave the box if they came while I was gone.

Came home from session two hours later. No sticky or box. Hooray! This means they will come later, and I'll be home to get it. :D Not upset that I'm getting it late in the day, because I'm still rereading OOTP.

On a whim, I went and created spoilerchatbot. If you IM the bot with "invite me" or "spoil me", you'll be invited to an AIM chatroom where you can discuss the book to your heart's content. I am making this a free-for-all, open to everyone, so feel free to join in and pass the word around. Do NOT come crying to me if you get spoiled for the book while in chat, though. In other words, enter at your own risk.

I am not reading my friends page today. I was going to, but a quick glance told me that while people ARE using LJ-cuts, they aren't being as careful as I'd like. So no reading of the friends list until I finish HBP. I will clearly mark all HBP plot posts as spoilers, and will not indicate even the emotion I had while I was reading outside of a cut, because even THAT can be a spoiler.

Looking forward to chatting with you all! Have fun with the bot, and let me know if you have any troubles with it. It's a quick-and-dirty implementation based off the NA bot, so my apologies if it starts babbling about [livejournal.com profile] nocturne_alley.

edit 2:29 p.m.: IT'S HERE!!! Looks like Amazon did a special arrangement between UPS and USPS, because UPS delivered it to the USPS, who delivered it to me. It came in a special box that was stamped with the title and the words "DO NOT DELIVER BEFORE JULY 16th." Cool!

Now, do I continue my re-read of OOTP, or jump right to HBP? I still have half of OOTP left. Decisions, decisions.
xnera: Icon of Lucius Malfoy leaving the Death Eaters to perform karaoke  (TIN ROOF!!! RUSTED!!!)
OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6 OMG I HAVE MARS #6!!!!!!!!!!!!!!!!!!!!!!

I have only been looking for it for about six weeks at the local Borders, and it was finally there last night and of course I had to stay up late to read it (not that manga takes long to read, but most of the night was spent talking with [livejournal.com profile] tabiji on the phone, rude bitch that she is) and so I didn't get enough sleep and am drinking Iced Mocha from downstairs which was almost a peppermint mocha from Starbucks but I didn't want to spent $18 on a coffee, not that the ones downstairs are cheap (they are $3!) but they are HUGE and OMG I NEED CAFFIENE BECAUSE OMG NO SLEEP!!!!!!!!!

But! MARS #6! I want to frolic in the fields flinging flowers over the joy that is Mars, because OMG, it is a beautiful, beautiful thing. LOVE the art. So very pretty. But the story... GUH. Just absolutely wonderful. It just keeps getting bigger and bigger. Actually, it reminds me a lot of all the advice in Writing the Breakout Novel (which I still need to write an essay about for [livejournal.com profile] warped_pearl, dammit) so I guess Mars is a breakout manga.

This week has been insanely busy. Have been working on the same report all week at work, which is -.-. But I am not longer as stressed about work as I was, so that's all good. Still, it would be nice to stop dreaming about spreadsheets... Have been so busy, though, that I haven't really have time to read all the posts by you lovely people, so I have no clue what is going on in the world. Have also not had time to update bot for the wibblechat reunion, like I hoped to do. Hopefully tonight. Yes. Tonight will be bot stuff so that he'll be all ready to go for the wibblechat reunion, which I am uber excited about, still. WHEEEE!!!!!!

Back to struggling with the report I go. My Catholic guilt is kicking in, though, because I never emailed the one person with updates on the report, like I should have done. She had wanted it yesterday, and I tried, really I did (I even worked some overtime) but there was no way it was happening. Hopefully today, but that doesn't help her, as she only works MTW. Oh well. I tried.
xnera: Icon used for wibble-ing. (*wibble*)
I should add "spamming [livejournal.com profile] lazy_daze about the wibblechat reunion" as an interest.

So I've just gone and read all 55 memorized posts (plus three!) about [livejournal.com profile] nocturne_alley. Well, I didn't read The Outing, but I'll probably do that at home later. I'm just so hyped up for this chat. You have no idea.

This is not to say I'm no longer excited about the [livejournal.com profile] storge_space player/watcher chat tonight. I am excited, and will be there, at least for a little while. But it's just not the same. [livejournal.com profile] storge_space is an amusement, but [livejournal.com profile] nocturne_alley was my life, and my canon. It's still pretty much my canon, though I've grown very fond of [livejournal.com profile] dracoisyourking, who is brilliant in a way entirely different than [livejournal.com profile] potterstinks was. Never falls to make me laugh. But seriously, what is it with Dracos from RPGs? I seem to have a weakness for them.

I still wish I had thought up bot earlier, but I also wish wibblechatting had started sooner, too. Because it felt like as soon as it started, it was over. It just wasn't enough time, man.

Well, that's enough nostalgia for now. I need to figure out this report, so off I go to do so. (ooo, lots of two letter words ending in o!)
xnera: Icon of Draco Malfoy, captioned "I'm rather empowered." (I'm rather empowered.)
My McAfee VirusScan expired.

Am thinking of letting it lapse for a while and use one of the free ones on this list of free utilities.

Thoughts?

We had a snowstorm last night, so of course I choose that night to go grocery shopping. Actually, the snow didn't start until I got to the store, and I didn't even know we were due for a storm, anyway. But it just kinda made sense to go shopping last night. The store was on my way home, so I wouldn't have to go out of my way today to go shopping, and I was out of soda anyway. And soda was required as I was having a serious case of Programmer Brain, and Programmer Brain does not function without soda. Plus, I would think it would be better to go grocery shopping in one inch of newly fallen snow rather than 4-7 inches of snow that's been sitting overnight.

Anyway, the lines at the grocery store were outrageous--the worst I've seen at that store in a long time. So I had to wait longer than I expected, which means I missed the 6:45 bus by, like, two minutes. But lo! A Starbucks is RIGHT NEXT TO THE BUS STOP, so I went in and got myself a peppermint mocha once I was sure I had missed my bus, and wandered back out to the stop just a few minutes before the next bus came, which made me giddy. Yes, catching busses without having to wait long makes me giddy. Deal with it.

So that was a good start to the evening, I think. Actually, the good start to the evening probably started around 2:00, when I had a conference call with someone who I thought was just a regular old FA but who turned out to be the new Team Lead of my sector. She is ubernice, and was very concerned at the issues I've been having, so wants me to write up a report on what I think I need help with so we can make sure I get the help I needed. This makes me very happy, because I no longer feel I'm out there on my own. I finally feel like part of a team. So yay!

So I got home from grocery shopping, fed Raina who was noisy (as she always is when I come home late), read a few chapters in the romance novel I picked up for a quarter at the library last week, then wandered over to the computer, where I appeased Programmer Brain by fixing "invite me" so it sends a REAL CHAT INVITATION now (and had some soda, naturally). The rest of the evening was spent t00bing about and talking with friends. Very pleasant.

I could have forced myself to stay up later, but I decided to go to bed at midnight. I'm glad I did, because I was able to sleep well and get up before my alarm even went off. It was a very pleasant waking, too. I was ubercomfy and my mind was dreaming away (my nephew made a guest appearance), and I slowly, slowly woke up until I felt ready to rise. That's always nice.

Today's going to be busy, but should be good. Session at 11:00, but that means leaving the house at 9:30 so I can catch the right busses. Am going to stop at Walgreens in between the two busses to see if I can get some Powerade. And I always go to the library before session, so maybe I will find more stuff in the booksale. And then it's home EARLY in the afternoon, just in time for lunch (yay!) followed by The Return of Programmer Brain! Fun!

ETA: Jean just called. Her ten o'clock is not going to be in, which means I can have my session early today, which means I will get home earlier, which means MORE TIME FOR PROGRAMMER BRAIN! Sweet!
xnera: (I AM CAPITALISING AT YOU)
[livejournal.com profile] storge_space/[livejournal.com profile] spacecadets chat on Monday.

I am feeling this insane need to spruce up [livejournal.com profile] spacedbot like woah. Because of course it's all gotta be about me--except it isn't, in this case, is it? It's about the players and the watchers, not the bot. But still, I find myself biting my nails that [livejournal.com profile] spacedbot will go down and no one will be able to connect.

Tell me not to panic? Because it's not about me (or bot, who is practically me anyway).

Hoorayness

Jan. 16th, 2005 11:03 am
xnera: Icon captioned "Geek". (geek)
The bots are back up. Hooray!

The problem? ONE STINKIN' LINE OF CODE!!! Yes, ONE. You know how you can reformat your screenname, to change spacing or capitlisation? Well, the call to the function that does that was making bot unhappy. Once I commented out that line, everything was fine.

Yeah, I'm rather pissed that it was just one line, and that it took so long to find it. Technically it WAS a problem with the protocol, but the offending line was in bot's code, which took a while to figure out. *grumbles* But hey, they're back up, so I'm happy.

Also, this post puts a smile on my face. People not so bad after all.

:(

Jan. 15th, 2005 09:58 pm
xnera: Icon used for wibble-ing. (*wibble*)
So the same day that LiveJournal goes down, so does bot.

LiveJournal is back up now, but bot still won't come online.

I am crying.
xnera: Icon captioned "Geek". (geek)
I spent the majority of the past 36 hours tinkering with bot's code. Managed to solve the dilemma by using a MySQL database, which is why it took so long to get this working because I had to get Perl and MySQL to play nicely together.

But, it's working now! Which means NEW BOT COMMANDS!!!

Ladies and gentlemen, we have a Random Quote Generator!


!quote -- Random RPG quote
!quote character -- Random RPG quote made by character
!addquote character: quote -- Add a quote to the list


So, for example, !addquote harry: AVADA SHUT UP. adds the quote, and !quote harry returns a random quote made by Harry.

Both commands are bot-specific, which means if you talk to wibblebot you'll get [livejournal.com profile] nocturne_alley quotes, and if you talk to [livejournal.com profile] spacedbot you'll get [livejournal.com profile] storge_space quotes. There is also support for additional bots/games, if (gods forbid) I should decide to make a bot for yet another RPG.

Quotes are limited to 475 characters, as the limit that AIM can handle is 512, and I want extra space just in case.

Right now there's only one quote added, but that will likely change soon. :D Feel free to add some. If there's a lot you want to add, either send them to me as an email, or post them here and I'll add them. Please list them in the form of character: quote text, one per line.

Go forth! Add quotes! Generate random ones!

Have fun!

edit: okay, I have to include this because I am on a bot high right now. :D


bot is !love
xnera: Icon captioned "Geek". (geek)
A good majority of you will want to skip over this message. :)

I am writing a !quote command for bot, which will return favorite quotes said by RPG characters. I want to limit this so that if I do !quote name, it will return a random quote said by that character.

Right now my quotes are stored as an array, in the form of "character: witty quote". I use perl's split to separate the character and quote, and do a test to see if the random quote generated matches the character given by the command's argument, and loop if it does not. This, of course, is an unbounded loop and has the potential to be very inefficient. It would be much better to get a list of quotes said by that character only, and then do a random on that list.

While I do have database experience, I haven't really worked with database programming yet. I suspect this might be more efficient as a hash rather than an array, but I don't know much about hashes. First, is it possible to tell perl that I only want to work with hash items that have a key that matches my command's argument? If so, how would that be done? And then the next problem is returning a random hash item. I have no clue if this is possible. Anyone know?

If you know how to work with hashes in another language, insert that language's code or explanation below. I can then figure out how to translate it to perl. It's not so much the perl knowledge I need right now, but the
hash knowledge. Would also appreciate any better suggestions on how to implement this. I can imagine the list of quotes might get rather large; maybe it would be best to implement a real database like mysql in this case?

edit mere seconds later: Google to the rescue! It looks like what I can do is store my items in the hash, and then do @values = values %myhash; to return an array of quotes by own character only. And then I can do a random on that array to get my finalised quote! Easy peasy!

See, I knew a hash would be the answer! I are smart!

edit 10:26 a.m. Wait. Can a hash have non-unique keys? Or am I really going to need a hash of hashes, or an array of hashes instead? That might be more work to do the initial setup. Hmm. Must google some more.

edit 11: a.m. Am thoroughly confused. Asked for help from the Hatrack experts.
xnera: Photo of my cat sniffing a vase of roses  (Default)
[livejournal.com profile] spacecadets, the fan comm for [livejournal.com profile] storge_space, now has a bot of their very own. Woo!

Wasn't [livejournal.com profile] call_62442 supposed to start today? I should check on it. Been rather busy with all the coding, and haven't gotten around to read it yet.

Profile

xnera: Photo of my cat sniffing a vase of roses  (Default)
xnera

Reading Filters:

June 2017

S M T W T F S
    123
45678910
1112131415 1617
18192021222324
252627282930 

Most Popular Tags

Syndicate

RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 23rd, 2017 08:30 pm
Powered by Dreamwidth Studios