User Accounts
October 6, 2008 at 11:38pm
For any wondering, I removed the user section of the site, I decided that maintaining user accounts was a little overkill. Your comments are still there, and you can still comment, the creation of a profile just has been removed, if you have any thoughts, let me know.

Okay, We Are Back!
March 15, 2008 3:15am in tech

Okay, after a 3 day downtime from a damning configuration error, darkernemesis.com is back.

For anyone that is interested, the problem I was having was that URLs weren't being read properly so individual entries, albums, and photos, and a schloo of other pages weren't working properly. I kept getting an error that simply said "No Input File Specified". Descriptive, isn't it. I thought so. After 3 days of using Google and support forums to try to solve my problem, I figured out that I needed to set one variable in the php.ini file.

So, if anyone is experiencing the same issue (PHP5 as CGI) and are using the php explode() function to parse their URLs to make them more search engine friendly, and are frustrated with not being able to figure out what is causing the problem, add the following line to your php.ini file:

cgi.fix_pathinfo = 1

Not that anyone cares, but it solved my problem, hopefully it could theoretically fix yours too.


Tags: life, website, thoughts, help, cgi, php

0 Comments

IE8: Initial Impressions
March 11, 2008 12:43am in tech

First off, I want to preface this with the fact that the current build of Microsoft Internet Explorer is still in beta, so any issues I have found could very well be caused by the instabilities inherent with beta software.

Okay, now that that's done with, on to the good (or bad) parts. When I first heard that IE8 was going to be standards compliant I was impressed with Microsoft for actually doing something that myself, and I'm sure many others have wanted for some time now. Am I right? When the first beta was released, I decided to give it a try figuring I had nothing to lose by trying it out.

The first thing I was curious about, and rightfully so, is how does my website look under IE8 in "standards compliant" mode? I figured, "hey, my website looks fine in Safari, Firefox, Opera, even IE7, so this should be fine." Yeah, easier thought than to believe. In the default setting in IE8, the title looks like this:

Now this could very well me making a mistake in my HTML/CSS coding, I'm not the most experienced HTML/CSS coder out there and I know that, but then why does my site look normal, or should I say, like it's supposed to, how I want it to in every other browser I tested it in (IE7, Safari, Firefox, Opera, & Konquerer). It's just a table aligned to have both my picture and title text below the upper blue line. If anyone has any idea as to why its doing that and wants to give me a hint, please let me know, I'll be thankful.

One nice feature that IE8 has is particularly nice for developers. IE8 has the ability to emulate IE7 rendering. So for those wanting to see how the page would look like in IE7 need only press a button to go into IE7 emulation mode.

When you click this, IE is going to prompt you to restart Internet Explorer for the changes to go into effect.

This kind of surprised me as I was figuring that all it would really require to make the switch to IE7 emulation mode would be a page refresh. It's kind of annoying to have to restart IE to switch display modes (you do have to restart again to switch back). But I will say that I'm probably just nitpicking right now. I did notice that the switch often times did cause IE8 to crash, but I can attribute that to it only being a beta so I won't hold it against IE8...yet.

So now I'm in IE7 emulation mode, so I navigate back to my page to see how it looks with this mode. What do you know, just like in IE7, it shows up the way its supposed to.

Again, I could very well be doing something wrong so I can't hold this too much against IE8, but it just strikes me as odd that everything renders fine in the other browsers. And again, if you have any ideas, please let me know. I have noticed other minor oddities in other websites in terms of alignment, but nothing too major.

Another thing I was curious about was how Internet Explorer 8 did with system resources. With 1 tab open and at my site, resources did seem a bit heavy for what my site is, but not too out of the ordinary:

With 4 tabs open (my site, Digg, Mixx, and Space.com), the memory and VM usage went up considerably:

From what I remember checking before with IE7, it does seem a bit better, but with Firefox 2 clocking in with 65MB of memory usage with 47MB in virtual memory, IE7 and 8 are both considerably higher. But I will say its a step in the right direction and who knows, maybe the final release will be even better. One can only hope.

One thing Microsoft seems to be getting more into is social networking. The What's New in Internet Explorer 8 page lists Facebook, StumbleUpon, and Windows Live as "cool" places to get started at. There's a page menu that will even allow you to translate a page, send a page to a friend, and blog, all of course with Windows Live tools.

It also includes the standard options you'd see in other browsers as well. Wait, what the hell is Windows Live? It's still around? Does anyone actually use it? Okay, I apologize for that, I just never really saw that much potential in Windows Live, and with Google's Blogger, guess I'm just surprised people don't used Blogger, which I personally feel is a pretty decent platform for those who just want to blog and not have to worry so much about maintaining their own site. But at the same time I guess, setting it as the default option will get plenty of basic users to join as they may not know about other options, anyway, I digress.

In short, while except for my issue with my website and HTML/CSS rendering, I did see some slight improvements over IE7, overall, there's really not much that has changed. The UI is basically the same minus a few extra buttons:


(Click to view larger)

And it really just doesn't bring anything to the table to make it stand out over my preferred browsers, Safari and Firefox. Personally, I'd say that if you're a Firefox, Opera, or Safari user, you're fine where you are now. What I see so far brings me no closer to switching back to Internet Explorer as my primary browser, and not to sound too much like a Microsoft hater, IE8 beta 1 does not impress me at all really, and I don't see anything that the final release could possibly bring to make me change my mind on that.

So would you even consider going back to IE, or are you now enjoying the web with one of the other browsers?


Tags: reviews, thoughts, microsoft, internetexplorer, web

0 Comments

Web Development: One Thing I Would Like to See
February 20, 2008 11:38am in tech

Anyone who has ever really gotten into web design I'm sure knows all the fun that comes from making their website cross-browser compatible. This meaning, your website looks the same in both IE6, IE7, Firefox, Safari, Opera, and any other browser. For the most part, Safari, Opera, and Firefox all work about the same so there isn't always the need to change things to make it render the same in those browsers. Microsoft's Internet Explorer on the other hand brings about a challenge sometimes.

Microsoft is known for pushing for it's own standards, the biggest one now being OOXML (Office Open XML) but that's a different story. W3C created the HTML, CSS standards so that web developers and designers would have a good guide and of course a good standard for building sites. With few exceptions all the browsers follow these, even Microsoft to an extent. What mostly annoys me about IE is how Microsoft incorporates a few differences in the way IE renders compared to lets say Firefox. The biggest one I've run into is say the width of a box. In Firefox and the W3C standards, padding is added on to the width, in IE it's incorporated into the width of the box. So lets say you want a box with a total width of 500 pixels and a padding of 5 pixels. In Firefox, you would want to set the width to 490 pixels and then set the padding to 5 pixels (490 + 5 + 5 = 500). In Internet Explorer, all you would need to do is set the width to 500 pixels and the padding to 5 pixels. Here is what I mean:

Now I will say that I kind of like IE's way of doing it better, at least in a case like this, but I would much rather have ONE standard than have to worry about tweaking things for the different browsers.

There are work-arounds to avoid this issue, but the annoyance of having to do so is still a pain. I'm hoping the reports that IE8 passes the ACID2 test are true because that would indicate a change for the better in my opinion, but I guess only time will tell.

I'm still not as experienced a web developer as many others out there so I'd be curious as to how they handle the problems caused by the slight differences in how IE handles things as compared to the other browsers, or what other differences even exist. I'm not trying to hate on Microsoft with this post, I just think having a set standard that ALL browsers follow would make the job of a web developer so much easier rather than having to test things out and tweak things just so they render properly across all the browsers.

This definitely shows us why standards are good to have.

So web developer gurus, what other bugs have you found that exist between browsers?


Tags: webdevelopment, ie, firefox, browsers, html, css

0 Comments

Version 3
February 15, 2008 11:08am in life

So I think pretty soon I'm gonna get started on the next redesign of Darker Nemesis. After looking into a lot of things, I have a list of items I want to add to the site. Not all of them I know how to do, but that's where the fun lies, learning new ways of doing things and getting them all to work together. Photoshop is probably going to be somewhat involved in this as I want to give the site less of a blocky feel and thats not so easy to do with just CSS. I also have a list of other things to add and modify.

I started last night trying to see if I could set up bugzilla on my server to try to create a list of things that I want to do for the new version. Might be a little overkill but it would help me track what I wanted to do as well as bug reports for the current version.

I also now have visual studio and Microsoft SQL Server set up to start preparing to build my media datatbase site. I'll be using ASP.NET and SQL Server for that one instead of PHP/MySQL.

On a completely different note, it has now been 2 weeks since I've had a working XBOX 360, hope Microsoft gets me mine back soon before Rainbow Six Vegas 2 comes out.


Tags: website, thoughts

0 Comments

Tips for Starting Up A Website
February 11, 2008 4:30pm in tech

I started this website back in July or August sometime, I honestly forget which month, but that doesn't matter. Initially it was just to help me learn CSS, PHP, and MySQL, but since it has become much more than that. Over the last 6-7 months, I have learned many things about web design and how to get it off the ground so I figured I'd share some of the things I've learned. These tips and suggestions are in no particular order of importance.

1.) Start Off Small

If you're just starting out a website, don't try to do too much at once. Start off small and add to it along the way. Trying to do too much can cause problems, especially when you realize that in order to solve one problem, it causes you to overhaul a lot more. By starting off small, you can piece things together as needed and in my opinion, get a better understanding of what the best way to piece in the next part of your site.

2.) Use Templates or Include Files When You Can

I should have done this from the beginning, but didn't think of it until it was too late. The sidebar and top bar are the same on every page of the site. Initially I just copied and pasted the code for the bars in every page. It worked, but if I needed to change something, I would have to go into each and every page and change the piece individually. I have since switched over to using the php include() function so I can simply create 1 file for the top bar, and 1 for the side. I would then simply include them in the file. This in itself may sound obvious, but for a newcomer, it can solve a lot of time and trouble.

3.) Use a Good Color Scheme

Choosing a good color scheme is very important to any website, however coming up with one that you like isn't always the easiest thing. Too many times people want to use 20 different colors on their site without realizing that it makes those who view it's eyes bleed. You want to find a good color scheme to use. Once you have one, using it isn't that hard, you really just have to decide what you like.

4.) Try to Plan Ahead

Let's face it, your initial design probably is going to eventually undergo at least some changes whether adding, deleting, modifying pages and files. One thing to try to do is to plan ahead and try to build for easy additions and not make everything based off of one component you don't plan on keeping.

5.) Be Dynamic

Databases are your website's best friend. My site is almost purely based off of a MySQL database. It allows for you to grab data, entries, many things and use them without having to constantly cut and paste. PHP ties very nicely into MySQL, and ASP.NET ties in nicely with Microsoft SQL Server. There are plenty of resources online to help you out with this.

6.) Find a Good Way to Back Up Your Code

Hardware failures happen, with technology that is pretty much a give-in. Find a good way to back up your code often. This can be simply copying it to a thumb drive, burning it to DVD, placing it on an external hard drive, or if you're a little crazy like me, set up a subversion repository for it on a separate computer and use that. Subversion (SVN) is nice because you can use it as a place you can sync files between separate computers, you can revert back to previous versions of the file easily if you realize that what you just did screws everything up, and you can just bring in all the files if you needed to reformat your machine for whatever reason.

7.) Don't Be Afraid to Experiment

If you want to try something new but are afraid you might screw something up, don't be. Experiment a little, see if your new changes would work or do what you want them to do. Just make a copy of whatever file you're working on and make your changes on that. If you later realize it can't be done, delete the copy and just use the original. You then at least get the satisfaction of realizing you tried. If you get it all working, replace the original and go with the new one. You'll never realize what all you can do if you're unwilling to try something new.

8.) Layout is Important

This one may sound pretty obvious, but here it is anyway. Creating a good layout is important for any website. Users should be able to find your content without having to search all over your page. Have your imporant links easily able to be found. No one is going to spend a lot of time trying to find something, so make it easy for them.

9.) Use a Pencil and Paper

One thing that I found that helped me out was before I made my site, i drew a sketch of what I wanted my site too look like. I could then build my CSS and layout around it.

10.) Search Engine Optimization

Make sure to use the keyword and description meta tags on your website to help search engines find your site. A site map is also a good thing to have. I myself don't have a lot of experience with this, so I would suggest looking into this yourself to help you out.

11.) Don't be Too Graphics, Flash, Javascript Intensive

Don't use too much Flash, Javascript or too many large images with your site. Users want to be able to access your site with some speed and adding these things only slows down the load time. Users tend to just close the window or tab if your site is taking too long to load. This is not to say use absolutely no graphics, Flash or Javascript, just keep these things in mind.

I know I am not the best web developer in the world, but I figured I'd share some of the things I've learned over my time working on my website. Hey, if this post helps just one person, I'll be happy.

So what about it? Anything else you'd like to add?


Tags: webdevelopment, website, help, tips, php, html, css

0 Comments