Search: in  

Rob Kennedy's Blog

Rob Kennedy is an avid and active .NET software developer who tends to have an opinion about everything. In the windows developer community for over 10 years, he has grown his career and opinions through experience.

August 2007 - Posts

  • My BitVector kicks your BitArray's Ass

    So I was stumbling through the MSDN docs today (because I'm a goob) and came across a gem I had not seen before. BitVector32. Now for those of you who have no need to do any sort of bit manipulation, evaluation, etc. please move on, but for those of us who do/have done serial communications, or binary data manipulation, this is a real nice interface to have.

    The old and busted way (ok, I still use this) was to use operator masks to determine if a bit was flipped or not. For example if I was trying to see if the 3rd bit (going from right to left) was set on I could say isOn = (myBits And 4) and it would return a non-zero value if the bit was on.

    With the BitArray, we could break out our data variable into an array of bits and grab the individual boolean value based on the array index. This would also simplify very large bit masks, but the overhead of a class and dynamic array creation could lead to a performance hit on performance-hungry applications.

    This leads to the BitVector32 structure which is a lightweight toolset to easily manipulate bits programmatically within the confines of a double word (32 bits) which is usually more than enough.

    Check it out if you don't believe me.

    http://msdn2.microsoft.com/en-us/library/system.collections.specialized.bitvector32.createmask(VS.71).aspx

     

    Update: I also wanted to add that after writing this blog, I decided to waste some time and write a 64-bit version of this structure since I could not find an existing library, but did find requests for one on the web.

    Check it out here: http://robkennedy.com/files/folders/web_libraries/entry102.aspx

    Share this post: E-mail My+BitVector+kicks+your+BitArray%27s+Ass | Submit My+BitVector+kicks+your+BitArray%27s+Ass to Technorati | Submit My+BitVector+kicks+your+BitArray%27s+Ass to del.icio.us | Submit My+BitVector+kicks+your+BitArray%27s+Ass to digg.com | Submit My+BitVector+kicks+your+BitArray%27s+Ass to reddit.com | Submit My+BitVector+kicks+your+BitArray%27s+Ass to DotNetKicks | Add My+BitVector+kicks+your+BitArray%27s+Ass to Live Bookmarks
  • No wonder...

    The democrats in congress have the worst approval rating and have done nothing since coming into office. Pelosi has her head up her arse...

    http://www.gop.com/Multimedia/MediaPlayer.aspx?ID=1147&TypeID=2

    Share this post: E-mail No+wonder... | Submit No+wonder... to Technorati | Submit No+wonder... to del.icio.us | Submit No+wonder... to digg.com | Submit No+wonder... to reddit.com | Submit No+wonder... to DotNetKicks | Add No+wonder... to Live Bookmarks
    Posted Aug 28 2007, 03:28 PM by RobK410 with no comments
    Filed under:
  • Maxthon Tagspace Plug-in goes live

    My Tagspace plug-in for Maxthon2 has finally gone live on the maxthon downloads website. Be sure to check it out and download if you're a Tagspace user like me. smile_wink

    http://addons.maxthon.com/post/2007/08/27/tagspaceit

    Enjoy!

    Share this post: E-mail Maxthon+Tagspace+Plug-in+goes+live | Submit Maxthon+Tagspace+Plug-in+goes+live to Technorati | Submit Maxthon+Tagspace+Plug-in+goes+live to del.icio.us | Submit Maxthon+Tagspace+Plug-in+goes+live to digg.com | Submit Maxthon+Tagspace+Plug-in+goes+live to reddit.com | Submit Maxthon+Tagspace+Plug-in+goes+live to DotNetKicks | Add Maxthon+Tagspace+Plug-in+goes+live to Live Bookmarks
  • An interesting way to extend a Vista trial period

    Came across an interesting way to extend your trial period for an inactive copy of Windows Vista. A step by step process can be found at the site below:

    http://joeon.net/archive/2007/08/14/Extending-the-Windows-Vista-Trial-Period.aspx

    Kudos for figuring this one out!

    Share this post: E-mail An+interesting+way+to+extend+a+Vista+trial+period | Submit An+interesting+way+to+extend+a+Vista+trial+period to Technorati | Submit An+interesting+way+to+extend+a+Vista+trial+period to del.icio.us | Submit An+interesting+way+to+extend+a+Vista+trial+period to digg.com | Submit An+interesting+way+to+extend+a+Vista+trial+period to reddit.com | Submit An+interesting+way+to+extend+a+Vista+trial+period to DotNetKicks | Add An+interesting+way+to+extend+a+Vista+trial+period to Live Bookmarks
  • Opera deserves another try

    So I ran across an article that debunked all the usual myths a Firefox fanatic will spout when in conversation and came across several answers that proved that the Opera browser was superior. I have given Opera several tries over the years but never really cared for it's interface and at the time business model (advertisements). After IE got stable in 6, I decided it was my browser of choice in everything.

    Since Opera is now free, I figured I'd give it a shot once again. First impressions are that it is lightweight in design. Similar to a basic Firefox window. I was impressed however by the very intuitive Speed Dial page that appears when I create a new tab... opera_speeddialit will actually allow me to have a set of most visited sites right on the page to quickly access. Brilliant! This really does make browsing a little easier for me as now I can simply double click and click again a common site I want to visit.

    I was also very impressed with the speed of the browser. Pages seemed to just pop up rendered and ready to view whereas in IE the same page would take a little longer to load as images forced text to wrap as they loaded.

    Other features that make this download worth it's weight (Only 5mb btw) is the integrated BitTorrent download capabilities, Content blockers, Download managers, and mouse gestures (which I've grown fond of using Maxthon) The damn thing has a POP and IRC client thrown in as well. Never mind the several little-but-useful features (source syntax color coding, standards compliant, validation) for a developer like myself.

    I will be reaching for this browser instead of Maxthon for the near term to get a feel for it. If it turns out it does everything well, I'll be uninstalling Maxthon for sure! I do suggest others download and give this browser another try as well.

    Technorati Tags: , , ,
    Share this post: E-mail Opera+deserves+another+try | Submit Opera+deserves+another+try to Technorati | Submit Opera+deserves+another+try to del.icio.us | Submit Opera+deserves+another+try to digg.com | Submit Opera+deserves+another+try to reddit.com | Submit Opera+deserves+another+try to DotNetKicks | Add Opera+deserves+another+try to Live Bookmarks
  • Windows Live Writer Test

     This is just a simple test using the final version of Windows Live Writer. This tool will most ultimately be the interface of choice I will be using to write my blog posts. Very easy to use and a very sleek "live" GUI. Nice going Microsoft!

    Check out the sweet screen shot of this window below:

    windows_live_writer_screenshot

    Share this post: E-mail Windows+Live+Writer+Test | Submit Windows+Live+Writer+Test to Technorati | Submit Windows+Live+Writer+Test to del.icio.us | Submit Windows+Live+Writer+Test to digg.com | Submit Windows+Live+Writer+Test to reddit.com | Submit Windows+Live+Writer+Test to DotNetKicks | Add Windows+Live+Writer+Test to Live Bookmarks
    Posted Aug 21 2007, 02:24 AM by RobK410 with no comments
    Filed under:
  • The RK.com CS Theme

    Well I've spent the better part of three hours going through and modifying the CS theme to look pretty much the way the old site looked. Not too difficult, just time consuming to figure out how CS is doing what it does. Not sure why there aren't more fancy themes available since it's a pretty straight forward template engine. mehhhh maybe if I'm bored someday I'll create a theme for the masses... for now, we code!

    preview

    Share this post: E-mail The+RK.com+CS+Theme | Submit The+RK.com+CS+Theme to Technorati | Submit The+RK.com+CS+Theme to del.icio.us | Submit The+RK.com+CS+Theme to digg.com | Submit The+RK.com+CS+Theme to reddit.com | Submit The+RK.com+CS+Theme to DotNetKicks | Add The+RK.com+CS+Theme to Live Bookmarks
    Posted Aug 21 2007, 03:09 AM by RobK410 with no comments
    Filed under:
  • Re-evaluating Development Priorities...

    Well as you can see I am now using community server for this website. I had been using my own homebrewed blogging system for a while but bugs in the comments code and lack of time to fix them has driven away my site visitors and has brought me to the point of deprioritizing the blogging system for now. I have a lot going on in my life and there really is limited time to dedicate to robkennedy.com software projects; the blogging system is on the back burner for now. I am really interested in the project/requirements management tools that I've been designing lately so any time I have at home now (when I'm not racing, dating, etc) will be toward that project. MSSQL Dump is still being supported and I have plans to build that application out into a full featured data-schema documentation/report tool as well... Developing... Wink

    Share this post: E-mail Re-evaluating+Development+Priorities... | Submit Re-evaluating+Development+Priorities... to Technorati | Submit Re-evaluating+Development+Priorities... to del.icio.us | Submit Re-evaluating+Development+Priorities... to digg.com | Submit Re-evaluating+Development+Priorities... to reddit.com | Submit Re-evaluating+Development+Priorities... to DotNetKicks | Add Re-evaluating+Development+Priorities... to Live Bookmarks
    Posted Aug 20 2007, 05:21 PM by RobK410 with no comments
    Filed under:
  • Renters Beware; Tips and warnings from a pissed off renter...

    This post is going to be vent session for me as I just got done a final walk-through with my previous landlord. I suggest people look elsewhere if considering the Arborview/Liriope apartments in the Belcamp / Harford County, Maryland area.

    My Experience

    Their friendly demeanor and attractive apartment neighborhood will entice you but beware. From my perspective, the folks at Arborivew/Liriope Apartments (located in Belcamp, MD) will do whatever they can to ensure you do not get your deposit back. My reasoning for this conclusion is detailed within this article. I would like to also state some helpful tips for those who decide to rent there (or anywhere) as they will be deposit-savers in the end if push comes to shove so to speak.

    I recently moved out of my apartment of 1.5 years and met with the lease manager today for a final lease walk-through inspection. Note that I (with the help of my mother and father) spent nearly 5 hours scrubbing and cleaning the place; but even that wasn't enough for the hawk-eye leasing manager as she and her maintenance man went over every inch of the apartment and found the smallest nick or spot. Whether it was something I did or not; they noted it. I was livid to say the least. Normal wear things like kitchen cabinet stains, etc. they mentioned I would have to pay for if their cleaning lady had to spend extra time on it. One should check their state laws to determine what is to be considered normal wear items, and also be sure to read the lease completely before signing it (rental companies make it a huge legalese document in hopes you do not read it all; just spend the extra hour and read it. It may just be something that will place you in a position where you are signing away most of your rights as a renter.)

    Another thing that rose my blood pressure was that I was told I was holding over on the apartment because I was told (via a letter stuck on the door) to be moved out by July 30th (even though I had paid for the whole month of July) When I arrived to clean clean the place on the 31st, I had found that there were painters in the apartment, I had all my trash thrown in the middle of the floor, and my vaccum was in the back of the painters truck. Apparently they thought it was all junk. That day I spent roughly 5 hours cleaning up the place, scrubbing bath tubs, etc. I scheduled a walk-through on Aug. 1st at the request of the lease manager, since she was busy the 31st. Note that there was no walk-through on the 30th, so the lease manager's premise that I was holding-over 3 days (30th, 31st, 1st according to her) is certainly "fuzzy math"; even for someone like her who loves to quote move-out letter paragraphs and lease sub-clauses. One could probably surmise that the lease manager conned me yesterday to add an additional day to their threat of charging hold-over rent. Again, it appears they will do whatever they can to keep your deposit.

    Pointers for those of you who consider renting

    1. Do not rent at arborview/liriope if in the Belcamp, MD area. There are MANY other options for you for the same RENT. I found several town homes for rent after I had signed a lease in Belcamp, Joppa, and Abingdon in the $1100-$1500/mo range in similar or nicer looking neighborhoods. My liriope rent was roughly $1300/mo for a 3 bed, 2 bath, 3rd floor apartment. You can do better! JUST LOOK AROUND. Also, if you are a day late on rent (due on the last day of the previous month), you will be charged 5% of your rent; and charged erroneous "legal fees" there after. They will only take a certified check after being late 5 days. Be sure to pay your rent on time!!!

       

    2. When looking, don't settle on one place because the neighborhood looks nice or appears to be everything you are hoping to find. Remember they are about illusion (at least that's my opinion about liriope) to get you to sign that lease. If they say, "would you like to sign a lease today?", after their pitch then beware; that's a trigger word for you to say "thanks, but we'll continue our search." You can always go back later if you really want to rent there. An apartment salesperson may give you a b.s. line about availability if you don't sign that second; don't buy it. People are moving in and out all the time; and do you really want to deal with a pushy sales-oriented leasing office? Find a place that's a non-pressure, renter-oriented office. I found a place in Elkton, MD where they would make coffee and cookies/bagels for the renters every morning in their facility kitchen; wish I had rented there now. Be sure to do your research online if possible. Websites like ApartmentRatings.com provide a clear insight into the quality of service from people who actually live or lived in a considered apartment community. I take note that Arborview/Liriope have received very poor reviews on the previously mentioned website.

       

    3. So you signed a lease, picked the apartment, and it's time to do a walk-through. The following will certainly save you some stress when it comes time for your future end-of-lease walk-through. Take a camera with you and take pictures of everything! Insides of cabinets, counter tops, inside of stove, inside of fridge, washer/dryers; heck all appliances. Take pictures of light bulbs, counter tops in bathrooms, faucets, mirrors, fixtures, etc. Window blinds to ensure they're not cracked, fireplace to ensure it is functioning, all windows to ensure no cracks, check all walls and carpet for stains or damage. Check all doors for functioning handles, etc. They may have just painted and coked up the locking mechanisms. Be anal about everything because the littlest scuff mark will be brought up on your inspection when leaving (EXPECIALLY IF YOU RENT AT ARBORVIEW/LIRIOPE, BELCAMP, MD) Please do not be naive like me and assume the damage going into an apartment is noted and they know about it. In my experience with arborview/liriope, they will play none the wiser on your initial walk through. I made note of obvious things that I found on my initial walk-through but didn't write down additional things like scuffs on the cabinets, etc. Also, one thing I suggest you do first thing after you sign a lease is send a certified letter to the leasing office asking them to disclose the previous renter's end-of-lease walk-through damage report. THIS IS PARAMOUNT. You have 15 days to request this in MD and I HIGHLY suggest you do so; this will give you an idea of the damage noted previously and will keep you from being surprised on your own end-of-lease walk-through.

       

    4. Keep every letter and make a log of every communication with your leasing office/landlord. This will help you refresh your memory in case you need to bring up a date or other event that occurred.

       

    5. Be sure to request to see everything before signing the lease; pool, rec. room, and gym conditions (if those things are offered.) They sound great on paper but once you actually visit them you may find that your idea of their facilities and the actual conditions are far from similar. Arborview/Liriope's idea of a gym (2-3 running machines and a universal in a closet sized, non-air-conditioned room) seems like the worst one can offer for such an amenity.

    Hopefully this article will shed some light on the practices at Arborview/Liriope and will offer an insight into just how one can get screwed over by a leasing company. If my suggestions provide any sort of help to anyone, then I can feel a little better about today. Right now, I'm still livid, and will have to wait to see exactly what Arborview/Liriope plan to charge me for. I really do not want to have to take time out of my day for court, and I'm sure they're used to going to court, if they do these practices to everyone who leaves there.

     

    Additional References:

    http://www.rentlaw.com/
    http://www.apartmentratings.com/
    http://www.apartmentreviews.net/
    http://www.ratemyapartments.com/

    Share this post: E-mail Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... | Submit Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... to Technorati | Submit Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... to del.icio.us | Submit Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... to digg.com | Submit Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... to reddit.com | Submit Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... to DotNetKicks | Add Renters+Beware%3b+Tips+and+warnings+from+a+pissed+off+renter... to Live Bookmarks
    Posted Aug 01 2007, 02:05 PM by RobK410 with no comments
    Filed under:
Copyright © 2007, RobKennedy.com.
I reserve the right to beat yo arse if you steal sh!t.
Shat out at you via the CommunityServer.org Engine