Sunday, February 22, 2009

Quick checkout lanes

I'm in rant mode right now after what just happened. You know those "8 or less items" check out lanes at No Frills? Well those are for if you have 8 items or less. How many times do I go there strictly to buy a bag of chips, or a case of pop, to find myself waiting behind 3-4 people with carts filled with 200 bucks of groceries. Now some people have the courtesy of letting me ahead considering I only have 2 items but today was a bit different.

I had 2 18 packs, and made the mistake of wearing mitts so it was tricky to carry and was slipping. Here I am standing in front of this lady with a cart full, and I spot my aunt with a few items in front of her so I go up to say hi and start talking. Now being ahead I just lay the pop on the conveyor to give my arms a rest while talking with my aunt and uncle, and I figured may as well just quickly go through at same time as them. This lady comes up to me "weren’t you at the end? You arrogant prick!" So I stare at her cart that's filled to the top but I should have pointed to the "8 or less items" sign, and mention I only have 2 items and that I was let through. She starts spazing out, so I just let her go before she turns into incredible hulk or something. But come on, learn to read, and practice math! 8 items is not going to fill a whole cart up to the top. Use the other lanes if you're stocking up for a nuclear war.

Passing in front is one thing, but failing to read signs that clearly say "8 or less items" is another. I see people do this all the time too. I think no frills and any other store who has such lane should actually enforce it. If they see you have more then 8 items, they'd tell you to go to next lane. They could also set it up where you can't fit a cart through. Problem is customers would retaliate, leave their cart right in middle of the place and go to another store. People can be pricks like that. But if every store enforces it, people will be forced to actually use that lane only if they have 8 items. (or whatever the number says).

Anyone else hate these people who abuse that quick check out lane? It's one of those things that just drives me nuts.

Thursday, February 5, 2009


So I'm working on converting RunUO to SQL, at this point I'm just studying the existing save system so I can know line per line what goes on during a world save. To make this task easier I decided to wipe the entire data set and just start over, so I can add debugs and stuff and only save a few items instead of hundred of thousands.

So it prompts me for my admin account, I create it, but then I realized I wrote a cleanup script that kills empty accounts! Oops!

Self ownage FTW.

There's a way around that though, the accounts are saved in a XML file so I can just go edit it.

Meanwhile, my cat seems to enjoy this wireless keyboard that's not mine. (hope the customer is not allergic to cats)

"I think part of the bed just sinked"

"Drugz are goooood"

More cat pics:

Now for some snow:

Some people totally freak out at a few inches, what you see here is totally normal for us. If anything, before global warming and all that, we used to get twice as much.

To code from scratch or not...

Been studying more in depth the core RunUO code which powers AoV. It's not my code, and I keep seeing stuff that I would have done differently.

Here's a major downfall of this program, while good for debugging, makes it hard for coding complex architectures:

It is a core + script type application. So the core is an exe file, which compiles the scripts, then loads them as part of the app. The core has all the networking and data loading stuff in it and of course the script compiler. The scripts contain all the "Extras" like all the mobile scripts.

This is where it gets complicated:

I'm redesigning the data loader to use mysql, which will need to know how to load data for stuff that is, you guessed it, in the scripts. But within the core code, the script classes are completely out of scope! In fact, it's simply impossible to reference a script.

So this begs the question, is it just easier to code this thing from scratch? This is not the only issue I've run into, there are tons of others as well.

Coding from scratch has it's cons though, I have to completely reinvent the wheel. On the other hand, I start with a nice, clean slate.