Ugly J(tt)Z logo

Novodex NET Wrapper Page

August 28th 2005                     Farewell to Flipcode

Wow, Flipcode is dead. It's been in its death spiral for awhile, but I was hoping it would be reborn again. Flipcode was by far my favorite coding site. It's articles and resources were some of the best out there. Also, it used to have the most helpful forums you could find....well before it turned into a troll fest because of a few jerks. I'm sure Kurt got tired of devoting so much spare time to his hobby site and getting little in return besides headaches. Many people will miss Flipcode.

August 7th 2005               Novodex NET Wrapper Update

I put up the latest work I've done on my Novodex NET Wrapper. Go to the wrapper page to see what's new.
Novodex NET Wrapper Page

July ? 2005              Why Credit Card Companies Suck

I have a credit card with Chase. One day looking at my bill I noticed a charge for $8 from Chase Fraud Detector. Easy to notice because I had few other charges. That pissed me off, but I continued opening my mail. I had a letter from the Chase Fraud Detector department notifying me of the service I "signed up" for. Hmm....I don't remember signing up for that. Actually, I explicitly remember declining the service when some pushy telemarketer called me twice to sign up for that service a couple weeks earlier. I called up the fraud detector department to complain about fraud from their own department. The Fraud Detector department wasn't too interested in researching fraud originating from their department caused by a sleazy telemarketer working on commission. I was barely able to get them to promise to remove their fraudulent charge from my account. After I was done with the fraud detector department I called the normal number to report a fraudulent charge on my card. Once again Chase wasn't too interested in researching fraud on their part. Besides being from them it was below a certain dollar amount meaning there is no investigation at all. So kids, remember when stealing money from people just charge a couple bucks to a couple thousand accounts and it's all good.

My favorite reason for hating credit card companies comes from when I had my own merchant account. One day my merchant account was hacked into (on the credit card gateway company's side) and someone made dozens of one cent charges using my account (before it was frozen) to verify if their list of stolen credit cards were still active. See I got that one cent, but the criminal got to know if the card was valid or not. About 1 in 3 charges went through. Well when I discovered this I called up the gateway company and reversed those one cent charges. What's great is I got charged 35 cents for each attempt to verify a card and they wouldn't refund that money. Okay that pissed me off but this is where the evil comes in. I asked if they could contact the people whose cards were stolen. Nope, that wasn't any of their concern, or the credit card company's concern. Now that is customer service.

July ? 2005                   A Letter from The Blank Factory

Some time ago my finacee's computer got infected with all sorts of horrible spyware. Obviously it was her fault for going to those sleazy wedding invitation sites. It took me two days to fully clean all the crap out. Normally I can clean off spyware in no time at all, but this crap was evil and robust. It had processes all over the place which kept copying and renaming themselves. Even with a registry monitor they kept setting themselves to run at startup and couldn't be totally removed in safe mode because there were also corrupted windows files. What finally allowed me to kill those malicious programs was to rename the running evil executables and then copy my own executable over those files. I made a windows application which just returned from WinMain() immediately so when it ran it wasn't noticed at all. Once I copied my blank executable over the evil executables everything was okay because the evil couldn't be respawned.

Oh yeah, here's the best part about the malicious spyware/adware. It popped up advertisements to "legitimate" companies alongside the usual porn and gambling ads. I noticed ads from a major credit card company and a major chain restaurant whose name ends with "Factory" so I emailed them this: "I'm writing to complain about your marketing techniques. Over the weekend my fiancee's computer was hijacked by spyware and she began to get pop-ups from sleazy online gambling and porn sites....oh and from you. I do not appreciate that you paid an "advertising" company to essentially break my fiancee's computer. I wasted an entire weekend fixing the problems which you are partially responsible for because you chose to turn a blind eye to your "advertising" partner's business ethics. I would of found a flyer rubber banded to a brick and thrown through my window less offensive and costly than to have a computer hijacked. Because of this I do not plan on patronizing your business anymore."

A couple days later I got a response from "The Factory". It sounds like they passed it to their legal department because they thought I might sue them. I would post that response but it's "confidential". Basically they just say they can't be held responsible for the actions of their advertisers. Yes, just look the other way. You have no power over what companies you contract for services.

June 23rd 2005                   Web Wizardry and Dial-Up

Yikes, I need to look into finding a better way to update this place. Manually building the page is getting tiring. I should also look around at other websites for formatting ideas to steal.
What makes super-cyber-information-autobahn-wizardy more difficult is using an evil dial up connection supplied through a more evil company. I'll be glad when I get my broadband back next week so I can cancel my free "evaluation" and rid my computer of the evil software. Luckily I have 'Startup Monitor' to help keep that horrible software from hijacking my computer.

June 23rd 2005                    Novodex NET Wrapper

Well I updated my wrapper from 2.1.2 to 2.2. It wasn't as trivial as I thought it would be. It took me about 2 full days to get everything switched over. A few things had major changes (like materials and the D6 joint) and a lot of things had slight changes. Just enough so I had to touch a lot of code. I'm assuming that for a native application it wouldn't of been such a hassle to update. It took me longer to kick this out the door because I wanted to write a sample program showing how to use stuff but I was busy with other work.

June 7th 2005                                Phoenix

Mmm....the heat. I'm visiting my fiancee Wannie in Phoenix for a bit. I've been here for about a week now. I'm actually pleasantly surprised that it isn't horribly intolerable like I thought it would be.
While in town I've been giving Wannie driving lessons. Yikes, that was scary at first. Teaching someone to drive is one of the most terrifying things I've experienced. If only I had one of those sweet dual drive cars. I'd be driving that sucker from the right side just for fun.
So what else to say about Phoenix... It's hot, it's sprawling, and crawling with the man. A couple days ago I was getting into my car at Walmart and two undercover police knocked on my window and wanted to talk to me. (They were dressed as golfers for some reason) They thought I was some serial shoplifter. I fit the description of "thin build and glasses." Hey, I think I saw that guy watching Star Wars. I'm cool with the Policia but I was offended to be stopped on such a superficial resemblance.

June 1st 2005                            End to my Hiatus

Finally I'm back to programming. Last month I was preoccupied with recouping from an injury and taking a vacation with my fiancee. I finally got around to doing some of the touristy stuff in Colorado Springs which I've avoided in all the years I've been here. Woo hoo, look me and my fiancee in a big hole.
(Whoa, from dictionary.com a "fiance" is man and a "fiancee" is a women.)

Cave of the Winds

April 18th 2005                   Managed Incompatibilities

Microsoft is trying to make Managed DirectX as difficult to distribute as possible. Microsoft has been renaming and changing features from version to version without deprecating out-dated classes, methods, and variables like you would see with Java. Stuff is just dropped or added with seemingly no concern for compatibility. I know managed DirectX is fairly new, but it's not like it's in an alpha state. .NET has some of the same problems. Let's see if my demo compiled under 2.0 will run on 1.1 even though it compiles under both.

April 18th 2005                        C# Novodex Demo

This is a simple physics demo showing off the C# wrapper I wrote for Novodex. Once complete I'll release the wrapper. This demo is built upon an editor which I've been making. For simplicity I've stripped the editor down, but there is some editor functionality left. That's what differentiates this phsyics demo from the usual 'knock the box pile over' demo. Of course you can still knock box piles over, but you can also create and manipulate objects well enough to build your own stuff to play with. The renderer is pretty slow. Using a simple renderer with D3D is rather slow, it's not as tolerant to ugly unoptimized data like openGL is.
Wrapping Novodex was much more difficult than I thought. At first I was hoping to just call functions and methods directly from the Novodex DLLs but that wasn't really feasible. I ended up writing a C interface wrapper to talk with Novodex. Even with the extra layer it was difficult passing some of  the more complex structures back and forth because it was impossible to get the C# structures to be bitwise identical to the C++ structures, even using LayoutKind.Explicit. I resorted to manually passing lots of parameters. In the end that is probably better because it will be more compatible with future Novodex DLLs where the structures probably won't be laid out identically.

Click for larger picture

If you don't have .NET installed or the April DirectX you can get them here.
.NET 2.0 redistributable (24MB) (I'm not sure if .NET 1.1 is compatible or not)
DirectX April 2005 redistributable (35MB)
Woo, only 60MB of bloat for a 820KB program if you don't already have them.

Christmas 2004                                    RoboSapien

My brother Jeremy got me a RoboSapien for Christmas. It is fun for about an hour and then it pretty much becomes a paperweight. Before becoming a forgotten toy I had high hopes for this little guy. I armed him with a pocket knife (look closely in the right hand) in hopes of him becoming a machine of death. My hopes for my very own kill-bot were dashed when he was incapable of walking more than a few steps without dropping his weapon.

August 18th 2004                                SPAMJAM

Wow, the greatest restaurant I've ever seen! I don't remember if this was at Mega Mall in Manila, or the Ayala Mall in Makati. How is this relevant to anything? Well, I just started this page and I needed some filler.


Copyright © 2005 Jason Zelsnack. All Rights Reserved