Thursday, July 23, 2009
Harsh economic times... hitting my merchants!
Sure it would be easy to find a such a treat at a local supermarket, but it seems more genuine from a local shop. So we stopped by one across a safeway supermarket and, to my surprise, it had an open sign on the door. Donut shops were closing all over the city and it was hard to find one open when you actually wanted one; some shops close as early as 1:00PM.
Anyway as i walked in, i noticed no customers and a girl reading a physical science textbook and another girl (probably sister) much older. The older one, though a bit younger than myself, quietly walked behind the counter to take our order - it was very awkward because the place was empty and very quiet. It was like a stage was set and we walked right in - it was very difficult to even walk out of the shop because these guys desperately needed some customers! It was very sad and I think both my sisters later agreed that it was hard to see these donut shops continue. That was probably one of the most "rock-bottom" experiences I've had; i knew donut shops were having it tough but seeing it with your own eyes is a tough sight. After I walked out of the shop I wanted to share some ideas that would probably get the shop more attention, since there was no way they could compete with safeway's dozen donuts at half the price! Maybe make it an internet cafe or place for schoolwork / afterschool tutoring? Well i doubt this shop will live very long and i bet the owners are anxious to sell the business... I just hate how they are making their kids do work ... seems so wrong.
The more recent event was with wolf camera, after it has closed most of their store locations, it has partnered with another company to launch an online store. They had some amazing deals during the past month and didn't charge for shipping or tax! So during the 4th of july sale I ordered a camera and till this day i still have not received it! Actually after 45 days paypal will retract the payment if the merchant has not forfill the order and that was exactly the case. I knew going through wolfcamera was risky based on the 1 star reseller rating (bizrate) but man i did not expect it to be this terrible. A lady with an accent called me the other day requesting i "resubmit" my payment since paypal has retracted it - i just plainly said that i was not interested anymore and actually gave them my sympathy instead of complaining to them because i'm sure they've been treated badly by the american public already. It was probably so awkward for them they didn't even know how to respond to my statements; i told them i know they they were having hard times and wished them luck on recovery...
I canceled the order mainly because some newer cameras had features i wanted and the fact that my sister already got a similar point and shoot camera for her birthday.
Wednesday, July 8, 2009
Setting up web-apps on IIS 7.0 (Win2K8)
Well it's official, http://www.heycloud.com/ is launched after a few weeks of planning and researching with different service providers. Fortunately, we had some hook-up deal through Microsoft with some free hosting from DiscountASP.com and the initial stuff was covered with no cost.
But as we moved on we needed security options like SSL and probably bandwidth upgrades later on in the future. But for now it's a new experience working with a cloud platform and figuring out how to work with the new IIS 7.0 that comes with windows 2008 server.
I've been reading around the clock to catch up on the technology i've neglected for some time. The windows server platform is much different than the Apache 2.0 i was familiar with; a lot of trouble is solved with user friendly controls but at the same time a lot must be learned. So far, from what i've seen, IIS seems much more manageable than apache and would be much better to implement off of. I'm sure the performance isn't as great as something like Apache but there seems to be a lot of security options readily available with Microsoft.
Anyway the purpose of this blog was to store some knowledge from my first day's experience with IIS 7.0 on the new windows server 2008. In IIS (all versions) architecture isn't as straight forward as like an Apache where the file system after htdocs is your actual website and subfolders. No, in IIS you need to create a website object and progressively add a new virtual directory or application to the website object. Since i am using asp.net applications i needed to use the latter for deployment which took some time to figure out. So with this structure already present i can tell that Microsoft will enforce a more manageable website over the typical Apache you see. This makes things much easier to enable / disable and also change security roles since every subfolder / application inherits the same settings as the root website unless it is changed manually.
After i got the web app working perfectly on my own system, i was glad i figured it out - but i would later find out that it would be more difficult on the discountasp site because of the lack of settings. The main problem I had was that my web application used an external DLL assembly file msidcrl40.dll. This file is responsible for helping a user login via Microsoft passport - something essential to the entire application. To fix the problem was easy - just impersonate a user (admin) that has access rights to the folder and it should work. But if i uploaded the files to the hosted website, there are no options to impersonate - so the assembly file probably gets a permission denial.
And another thing that was safe was to compile everything based on the .NET framework 2.0 rather than 3.5 - i had some problems running with the newest version.