It’s Purple Again!!! XD

Finally!!! I did it!!! I got the Twentyten theme to NOT crash the server. =^-^=

Dunno what exactly was going on, but, it was a frigg’n mess.  Plus, I was too lazy to really deal with it.  But, after I tried to set up a NextGen album, things went all haywire with the site. (>_<)

Even after I got the site working again, the database got all screwed up and all kinds of funky values were getting thrown into the layout.  I finally found some stuff to delete which got it all worked out. =^-^=

Anyway…

I been quiet a while, ain’t I?  (o.o)

I been lazy and work has kind of gotten really fun… Odd match, that. (O.o)

Anyway…

Work has kind of gotten really fun.  I’ve been messing with more projects using Raspberry Pi and Arduino boards.  I spent some time in Japan translating some VB.Net code so that we could re-use some software one of our customers created.  And, I been working with a WinCE box for a while, finding ways to break it. (^_^)

SL has gotten really quiet.  Well, kind of quiet.  NCI is still busy and slightly dramaz laden.  I’m keeping my classes alive and doing what I can to keep it all a community driven system.  (^_^)

I think I’ve pretty much come to terms with the inworld friends I screwed up on over the past couple years. (>_<)

Though, I seem to have drifted into an earlier bed time lately. Like, 7pm kind of early. (._.)

Oh, and I kind of almost got my house broken into during the holidays.  I was home and I saw them through the curtains.  I was able to ID them and get them arrested.  Even went to court to testify as a witness and all. =^-^=

Jeebus criminal… I’ve gone quiet for a long time, ain’t I?  (O.o)

Well… I’m still here. =^-^=

 

OH!!! XD

Check this out.  Das Keyboard is coming out with a new plank of clickey goodness.  My main reason for NOT getting a Das for work was that the keyboard I do have has a built in volume knob that’s really convenient and Das ain’t got one.  Well, now, the new one does! XD

So, yeah, I totally pre-ordered it.  Got the Ultimate with brown switches to be quiet for the office.  It’ll ship at the end of the month. (^_^)y

Posted in Uncategorized | Leave a comment

See Plusplus! See Plusplus run! Run Plusplus run! (>_<)

Hey! Smart people! My luck has run out. MSDN, cplusplus, StackOverflow, and various other sites can’t seem to help me. (>_<)

Here goes: I have bitmap resources embedded in my x86 executable. I have them properly defined as resources. I have very similar code in another project for WinCE6. But, when I try to load my image resources, I keep getting error 1814(0×716)! (._.)

resources.rc

#include "resources.h"

IDB_BITMAP1 BITMAP "tpcn.bmp"
IDB_BITMAP2 BITMAP "red.bmp"
IDB_BITMAP3 BITMAP "blu.bmp"
IDB_BITMAP4 BITMAP "grn.bmp"
IDB_BITMAP5 BITMAP "pat.bmp"

resources.h

#ifndef RESOURCES_H
#define RESOURCES_H

#ifndef IDC_STATIC
#define IDC_STATIC      -1
#endif

#define IDI_CSICO       101

#define IDB_BITMAP1    201
#define IDB_BITMAP2    202
#define IDB_BITMAP3    203
#define IDB_BITMAP4    204
#define IDB_BITMAP5    205

#endif // RESOURCES_H

The snippet of code that fails. (T_T)

	HBITMAP image = (HBITMAP)LoadImage(NULL, MAKEINTRESOURCE(IDB_BITMAP1), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
	if (image == NULL) printf("Failure Loading Bitmap %i", GetLastError());

I’m using GNU GCC as my compiler. It does compile. It does run. But, it does always print that “Failure” line I stuck in there. (._.)

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

Asking The Stack XD

So, I’m sitting around at work and chiseling away at some C# code for a quick little compatibility routine I got.  Yeah, I’m bored. =^-^=

Anyway, the way this device throws data back is as a simple unsigned word value.  Well, almost simple.  It actually does include values starting at 0xFFFF for the value of -1 and going down from there. (>.>)

Did that make any sense? XD

I figured I’d use the KISS method to turn this friendly little mess into a signed integer.   My little snippet of code is as seen here:

int GotSlope = gotData[0] + (gotData[1] << 8);
if (GotSlope > 0×8000) GotSlope = -(0xFFFF – GotSlope);

It does the job. =^-^=

But, as usual, I get curious.  I wonder if there are more readable and/or efficient ways of doing it.  I Google “positive to negative in C#” and one of my top results leads to my favourite site… StackOverflow.com! =^-^=

This is where the LOLs start coming in.  Someone did legitimately ask this question back in 2009 and the responses go from the serious to the idiotic to the hilarious real quick. XD

This should be community wiki, for its entertainment value as well as for its being a cautionary tale on the dangers of having a head made of Legos.

Pretty much sums it up.  XD

It gave me the laugh I needed in what was an otherwise boring morning. (^_^)y

 

 

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | 1 Comment

No Such Atrocity. =^-^=

Madness… MADNESS, I tell you!!! XD

If you haven’t seen this… What rock are you under!? (O.o)

So, the get-all-up-in-you-stuff spy agency is getting all up in our SL stuff now!?  I can’t imagine that being any more hilarious.  Though, it’s fun to see that SL still gets a little bit of spotlight once in a while. (^_^)

So, what is their quest? (o.o)

If properly exploited, games could produce vast amounts of intelligence, according to the NSA document. They could be used as a window for hacking attacks, to build pictures of people’s social networks through “buddylists and interaction”, to make approaches by undercover agents, and to obtain target identifiers (such as profile photos), geolocation, and collection of communications.

I LOL like I’ve never LOL’d before. XD

Really… Okay… Seriously…  What does this say about the state of surveillance and the things to come?  I mean, there is a chance to find unsavoury communications everywhere.  Does that mean we need an agency around every little bit and byte of data we’re dumping out?  And, of all places, SECOND LIFE!!!?  I could understand watching the L$ market for money laundering and such, but, profile pictures and approaching people inworld is no way to even grasp what kind of person you’re dealing with. (=_=)

My real problem with the NSA is that they come across as the blind leading the deaf.  It’s like, they are so uninformed about what or who they’re looking for that they’re looking everywhere “just in case”.  (>_<)

And, they’re so totally reactionary.  They focus on what one person has already done and do everything possible to prevent what already happened… As if it’s bound to happen again.  Yet, they miss the mark every time.  They take away nail clippers, someone loads a bomb into their shoe.  They scan shoes, find nothing, yet other weapons still make it on to planes.  They ethnically discriminate, the next terrorist may be so whitebread that nobody will believe what happens is true. (=_=)

Heck… This blog now has a few keywords that’ll probably dump my site into their radar.  What are they gonna find?  My pixel butt, that’s what!  Will it be worth the time and tax dollars?  Of course not… Though, some may say I have a pretty nice butt. =^-^=

 

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 5 Comments

Yup… I broke it. (._.)

So, like, yeah… (._.)

The blog looks different, don’t it? (>_<)

Something went all wacky when I was trying to get my Nextgen gallery plugin to be more prominent on the front page.  Seems the best I could get out of it was everything go boom! (>_<)

Still here, though.  Just decorating my sim for no good reason. =^-^=

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

The option (>.>)

So, I had a friend chime in on group chat the other day wondering where her chat-line teleport history went…

If you don’t know, it has been a feature in SL clients to leave an SLURL of where you teleported from as an aid to know where you’ve been.  It could be used to return to your prior place or even used as a time-stamp, logging when you’ve hopped over. (^_^)

But, now, it’s gone… As of SL version 3.6.10. (>_<)

I asked about it on the forum to see if anyone else knew about what was going on and eventually someone posted a reference to a maintenance Jira entry.  It followed a request to remove “long distracting messages in nearby chat”.  It was also mentioned that it was a rather small piece of code and any TPV or self compile could add it back in. (^_^)

But, that’s the thing.  It’s something that LL has been quite bad at.  The users will request something and LL delivers that something, all or nothing.  They don’t seem to take into consideration that some people still like how something works.  So, like above… What was “distracting” was probably helpful to others in one way or another. (>_<)

Remember the big blue popups of the old V1 clients?  I remember complaining about how cumbersome and distracting they were.  I remember when V2 came out, missing out on announcements and popups since they were made so small and unobtrusive that they were practically invisible. (>_<)

Here’s the thing…

When people ask for something; we’re usually asking for THE OPTION to have that something.  Now, I know that the preferences menus are already quite complex.  But, that’s not reason enough to add an option here or there.  In this case, it could have been a Chat option “Include SLURLs In Chat History” or something of the sort.  Don’t just bloody kill the thing. DX

LL almost got it right with the 3-side dockable buttons thing.  It helped my faith in their dev skills that they made something with nearly universal configurability.  But, they kinda just stopped right there.  (>_<)

Oi, Lindens… There were people who didn’t like that feature and wanted it gone, yes.  But, there were also people who liked it.  Give us the option to have one or the other without dropping the bomb on a function… (=_=)y

 

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment