Monthly Archive for February, 2009

On Passwords

My mom asked me eariler what a good way to make a secure password was, and I had all kinds of ideas, including shocking nonsense, rot13, acronyms of random phrases, and so forth.

Personally, I prefer the randomly-generated approach – real random, of course. I’m not talking about frand here. Here’s what you do:

Find yourself an ordinary deck of playing cards (or several): 52 cards, no jokers. Shuffle well and draw some cards.

Use the following conversions to turn it into a string of lower-and upper-case letters (feel free to rearrange the suits – it doesn’t matter):

Key: Suit – A 2 3 4 5 6 7 8 9 10 J Q K

Spades – A B C D E F G H I J K L M
Clubs – N O P Q R S T U V W X Y Z
Diamonds – a b c d e f g h i j k l m
Hearts – n o p q r s t u v w x y z

So for example, I’m going to generate one now. I just drew 9S, QH, 9H, 4H, 2D, 6D, 9C, 6C. That converts to “IyvqbfVS”

For added entropy you can adopt a different rule and draw some more cards:

Color: A 2 3 4 5 6 7 8 9 10 J Q K

Black: ` 1 2 3 4 5 6 7 8 9 0 – =
Red: ~ ! @ # $ % ^ & * ( ) _ +

After doing this, I drew JS, AC, 2S, 2H, which would be “0`1!”

So just by drawing 13 cards from a deck, I generated the ludicrously complex password “IyvqbfVS0`1!”

Now, maybe you can’t remember something like that, but if you can, it vastly beats the crap out of “myspace1″ or “password”.

OCIv2 and Arcana: Ressurected

Arcana is my attempt at a virtual card game for SL, inspired by Magic: The Gathering. Arcana is a lot simpler than Magic, but it draws from it conceptually in some ways. I’ve been using OCIv2 for its structural components. The HUD doesn’t use Cardinal (as I had originally intended), but it might at some point. Frankly, it doesn’t seem worth it right now. Cardinal would save me a lot of work on Arcana, but it requires so much work of its own that it would just bog the project down. Cardinal will have to wait until I’m rich and famous, or at least bored of Arcana development.

Arcana is an ambitious project, but I think I can accomplish something neat with it if I keep my nose to the grindstone.

Very few of you will be familiar with OCI. The OASiS Component Interface was something I developed out of upset over LSL’s complete lack of the incredibly useful “import” or “include” concept. I have since expanded the idea considerably and have, in the process, come up with something that resembles a shared object (Windows developers would call it a DLL).

Technical details of OCI follow.

Continue reading ‘OCIv2 and Arcana: Ressurected’

Oasis Dead Again

Remember when my graphics card died? Those were good times. No they weren’t.

I fixed the problem by installing a new graphics card as well as a “new” PSU, pilfered from my brother’s old computer.

Now that, too, is dead. I’m going to Fry’s tomorrow to try to track down a replacement – preferably one which will last longer than this one did.

I’m also going to invest in a goddamn surge protector; I think that was the culprit in this case, as the power had gone out earlier in the day and we had had a few brown outs too.

In better news, I took the opportunity to convince SL to run on my laptop (in your face, minimum system requirements!) by blacklisting whichever OpenGL extension the viewer refers to as “j”. Apparently Intel 945 GMA doesn’t support that and it was causing the viewer to hang.

I’ve also ressurected and revamped my OCI and Arcana projects. I’ll make a separate post about those.

That’s all for now.