Choose Your Theme
Warren Shea

Archive for September, 2010

What’s next (for me in web development)?

Thursday, September 16th, 2010 at 5:54 pm

So, the last few days I’ve learned a couple of things
1. My fundamentals suck. I don’t read any books, other than the ASP.NET one that I’m “currently” reading. I never read any html, asp, css, javascript book or anything. Everything I’ve done, everything I’ve learned my entire web career has been self taught or looked up, ie: I look up what I want to do, do it, and learn that “method” and use it elsewhere. For example, if I wanted something to loop, I would look it up.
Learn about for, while, do while. Make my change that needs the loop. And down the road, apply my knowledge to something else.

What this means is
a) I’m strong because I’ve looked a lot of things up.
b) I’m strong because I’m good at thinking outside the box…because I’m able to apply what I know creatively to get something accomplished. And if I can’t think of a solution like that, I look it up and add to my knowledge base.
c) I’m weak at fundamentals. I don’t know the “right way” (by that, I mean, the shortest, most efficient way) to do things because I find creative workarounds to accomplish the same thing. Like when I built a calendar from scratch. A feat in itself but time wasted when I could have used a control or other source code available.
For example: I didn’t know what display: block did. I thought it was just the opposite of display: none. I thought everything was inherently display: block’ed unless you specified display: none, which would hide it. I never learned what display: block was, I just guessed it’s functionality based on some use and the difference between that and display: none.

Conclusion: I will begin my re-education and buy/read some books on: CSS2.
I will learn CSS3 and HTML5 from a book so I get my fundamentals down. From there, I’ll continue learning what/how I currently learn….which brings me to my next point.

2. I’ve often wondered if I should move away from front-end web development and move to back-end. I’m good at both, stronger on front-end (that’s my job). But front-end does get kind boring in the way of “deep” thinking, something I really love. I thought I’d learned enough about front-end to try something more complicated…but because of 1 (above), I realize I’m not as strong as I thought, maybe there’s still room to stay in the front-end side. The thing is, with CSS3 and HTML5, where HTML5 is fundamentally different from HTML 4.01 and XHTML 1.1, there’s still a lot to learn. I imagine HTML5 will bridge the front-end and back-end development sides…but since I don’t know too much about HTML5, I can’t confirm that statement.

Conclusion: I will continue what I’m doing, both front-end and back-end. I will try to learn CSS3 and HTML5 early and decide whether or not it’s enough to satisfy my “deep” thinking. I will start working on something more complicated to fulfill my back-end need…which brings me to my next point.

3. I’m getting bored with warrenshea.com. Not in terms of blogging, but in terms of updating the site, creating themes, in terms of content/difficulty. I’ve launched 2 themes in the last week, I probably should have staggered myself, but there isn’t/wasn’t any challenge in doing my gmail theme. The idea was fun, the design was okay (like always), but the development was tedious. There are 4 themes I want to do still but currently have no motivation to do any of them. They all include a little “quirk” which would make the development interesting…but not interesting enough.

Conclusion: I think I’ll take a break from warrenshea.com for a bit (again, not the blogging aspect). I’m going to spend more nights re-re-re-re-catching up with ASP.NET….and planning the “EPIC SITE” site I want to build.

I know I write that ever 2 months but THIS TIME I MEAN IT :@

GMAIL theme launched

Wednesday, September 15th, 2010 at 2:52 am

Rushed a theme…didn’t completely test everything….but it’s available

http://www.warrenshea.com/gmail/

idea: today
design: today
development: today
launch: today

I wanted to do a GMAIL theme and yesterday at work, we were looking at this website: http://whichloadsfaster.com/. I tested my site against other sites and, not surprisingly, it got killed.
There’s tons of JavaScript, tons of php logic, tons of images on other themes. That’s the price you pay for coding that can take care of everything….it’s not done cleanly.

So I did this theme…which has a total of 10 images to it, 6 of them being those little icons on the right. The other 4, the title, the icon, and 2 background images of 1 color. It was my intention to create a faster loading theme to counter the slow, image intensive Naruto one released a few days ago. Pretty kool how this whole theme and all the work put into it only took 1 day :) I think I’m most proud of that. And I’m least proud of quality control, having not tested IE8 and Safari, despite being a few clicks away. I’ll leave that for tomorrow…no one’s gonna look at the site in the meantime…except maybe YOU.

EDIT: i wonder how long i can leave this on my screen at work w/o arousing suspicion that it’s my personal site. let me tell you, you can spot that i’m not doing work when it’s on my mega man theme in like, 5 seconds.

…not that gmail is work but at least it’s more acceptable than my favorite 8-bit blue bomber :D

DC Universe Online adware destroys my PC

Tuesday, September 14th, 2010 at 12:28 am

This post was original written last Tuesday (Sept 7, 2010).

So, a couple of days ago, I try to sign up for the BETA for the DC Universe Online MMORPG (I swore never to play another MMO…but I’m too tempted with the superpowers of flight and superspeed…I don’t plan to play it much, just want to experience their powers a little).

There’s a PS3 and PC opt-in, on their official site. I did both. For the PC version, you have to create some Sony account….when I enter in my custom username, I’m hit with an AVG (Free + Awesome Anti Virus software) alert saying some of my files have been infected.

W. T. F.

Anyways, I purge the error and continue with the registration (inputting an on-the-spot random password and one of my spam email accounts)…looks successful (and I think/hope it is).

I do a random restart a couple days later and there’s an error: It can’t find one of the virus-infected files. I’m thinking “good, because I purged it”…but as I find out, there’s still some traces of it in the registry as well as my system32 (which is why the error occurred – the registry was looking for the infected file to start). I stop/kill process run32.dll or whatever…and delete a reincarnating registry entry upon booting my Win7 in safe mode.

Everything looks clean, my registry, my msconfig startup, it looks all good.

This morning, I’m greeted with an error saying files are infected. I remove the files and it crashes my computer (AVG gives you a warning that removing infected, system files causing instability and possibly crash…so I’m not scared). I boot my computer and it can’t find the boot drive. Now I’m scared.

I restart and luckily, I’m able to boot in Safe Mode. I do so and copy my “Users”, “Program Files”, and “Program Data” folders to my external drive…I’m going to have to (and I don’t mind) doing a reinstall. But it sucks cuz I was planning to work from home tonight but it looks like I’ll have to stay in the office to get my stuff done. Boourns. So, because my Win7 is currently in safe mode, I couldn’t check the internet/weather like I usually do in the morning. I walk to work and get rained on. That must be the God that I don’t believe in, pouring salt on my wound. Jerkface.

So my plan is to do a Reinstall of Windows 7…possibly start tonight or whatever.

It’s funny, I’ve probably gone through at least 60 reformats/windows installs throughout my years. When I was younger, I would install Windows 95 and Windows 98 upgrade…and if you connected to the internet, w/o Anti Virus software, you’d get like, viruses….just streaming into your comp. At least that’s how I remember it…so I’d say about 50 of the reformat/reinstalls were 95/98….once I moved to 2000 and XP, it became less of an issue. It was still an issue…because in my process of learning about computers, I’d often change this, download that, try doing other stuff….and it’d often have dire consequences, always resulting in a reformat/reinstall. I’m pretty good now, it rarely happens…I’m also prepared. Like Batman. All my files on are on other partitions/external drives and I do a full backup to DVD(s) every couple years. I have a list for what I need to do in my GMAIL drafts folder. Granted, it needs updating:

Back up
Fonts (c:\windows\fonts\)
Files and Folders (All Users, Program Files, Program Data)
Bookmarks

Restoration
Install Windows
Defrag
Install AVG – Anti Virus software
Install WoW (not in C Drive)
Defrag
Install Steam and Install Counter Strike Source/Plants VS Zombies
Install Warcraft 3
Defrag
Install Adobe stuff
Get updated Flash Player
Firefox
Chrome
Nero
ATI Drivers
Ultramon (Dual Monitor tool)
Vent Client /Server – for WoW
WinRar
iTunes
utorrent
Codecs (CCCP)
Logitech G11 and SetPoint – custom keyboard/mouse settings for WoW
.NET Framework
SQL Management Studio Express
Set up PC/PS3 Media Server

Restore necessary files from
Users, Program Files, Program Data including
My Documents folders
WoW Screenshots (saved into c:\program files\world of warcraft\screenshots\
FTP information stored within Dreamweaver and FireFTP (Firefox)

Delete backup copies of Users, Program Files, Program Data

EDIT: Thursday (Sept 9, 2010).
I did my reinstall last night. Formatting and reinstalling Windows is so much faster and less painless than before. The time consuming part is installing all the programs, etc…I think I’m pretty much up to speed.

EDIT: Monday (Sept 13, 2010).
My computer’s back up to speed…well, it’s been up to speed for a while. I just installed Visual Studio 2010 that I got from the UWaterloo MSDN. With that installation, my 60GB System Partition was almost filled up. Yesterday, I did some partitioning…merging, deleting, etc. I couldn’t increase the size of the system partition because other partitions had gotten in the way so what I did was move all my files from the other 2 partitions to my 2TB external, and then did a format/partition deletion. From that point on, I repartitioned the drive back to 3 with revised numbers.


Click for larger image

It’s pretty awesome how Windows 7 can partition…no need for Partition Magic. It can’t merge or anything but with my solution, copying files to my external/copying it back, partition merging can be accomplished through other means.

OCD
If you see my partition’d drives, you’ll notice a lot of them are “perfect numbers”. If I can, I try to have the numbers come up to nice numbers, 100.00 GB, 300.00 GB, 50.00 GB. You have to convert them from MB so if I want 100GB, it’s 100×1024 = 102400 MB…I figure out those numbers and dump the rest of the space into another partition. Something about having the number just so. I like things in simple numbers if I can help it.

/my computer is organized so well right now! :D that makes me sleep better at night. it really does.

It started with a kunai….

Sunday, September 12th, 2010 at 2:50 am

Naruto theme launched! (it’s ironic that if you’re on the Naruto theme, you can’t click this link…more on that later)

I’ve launched a new theme (finally). It took about 3-4 days/nights of work and about 6 months of procrastination. Now THAT’S being proactive :D

Let’s see…how did this theme come about?
I knew when I developed the website, which launched April 4, that Naruto would be my third theme. I’ve had this idea in my head for a whole half a year but had been busy with other stuff that I couldn’t get to designing/developing this theme until recently. I’d started to see the usefulness of PNGs and I wanted to work with that. I had a desk theme in my head with a kunai stabbing it; its shadow cast over the content. That’s how the idea started…

Awesomeness of this theme:
1) The scroll (which I gotta say I LOVE). I absolutely LOVE the effect it has when you scroll up and down on the page. It’s not apparent on a long page like the homepage/blog but if you go to any other page and scroll to the end, you see it’s interestingness.
2) The photos/shuriken (ninja stars). Basically, I had to figure out WHERE this desk was…originally I didn’t want to show any Naruto characters on the site, I didn’t want one of those “image of person on the screen for no reason other than design” themes. But the photos work itself out so that you can still see characters, without being taken out of the scene. Originally, I had the idea to just have the kunai as a prominent, constant image, as well as some shuriken. Giving it some more thought, I decided to randomly organize the desktop. It literally changes on every screen/refresh. 3 possible combinations/rotating items, around 12 or so different images for each (w/o repeating 2 on the same page). What’s the math for that? 12x11x10 (trying to figure out how to write that in permutations/combinations…but it’s been a long time) 12!/9! ?? <insert cry for help>

Problems with the theme:
1) Glaring problem which I’m well aware of: The kunai.png is on the “top layer”, over the content. What this means is that if you click on a link in the content, there’s a chance you could be clicking on the kunai.png which basically renders the click ineffective. NO WAY AROUND THIS given the effect I want. To be honest, I don’t care. This theme is done for the visual aspect, not the usability.
2) The width of the content is really tiny. I’ve been resizing all my images for a 450 width…that would be my smallest content size. Unfortunately, not all my content fits that, despite trying…sometimes it goes out of the scroll.
3) There’s less content on the right than there used to be for the Naruto theme. The reason is that I didn’t want that content to scroll, on a desk, it didn’t make sense so I cut out a lot of the content but made it static on the page.
4) On a smaller resolution, like 1200×800, the scroll height at the top is far too large. Minimizing the height requires a LOT of work….and not something I’m interested in doing right now. So my apologies on that, I had done the scroll before testing a resolution of that height and well, it was too late to change! >_< Things I've learned: 1) You can do so much (more) with PNGs compared to everything else. Well, I'm still an old school animated gif maker...but I LOVE PNGs. It's like a Photoshop layer...on the web. 2) My site, even 6 months ago, was coded VERY WELL. The framework for CSS possibilities was totally done well, the need for editing the actual code on this page was minor. CSS DOES IT ALL. The difference between my megaman, blogger and naruto themes: all CSS/JavaScript. I'm a bit embarrassed to say that I used quite a bit of JavaScript on this page http://www.warrenshea.com/common/naruto/scripts.js
(At least I commented it :D I -almost never- do that!)
Originally, much of the image placement relied on the size of the user screen, something I need to determine with JavaScript. That actually changed today….so hmmm, maybe I can eliminate some JavaScript. I’ll give that some thought, the load time of this page is a bit much….

One note: I’m an awesome cross browser developer !
I had been developing this site in Chrome and Firefox…and actually launched it without testing IE8 or Safari…but once I launched it, I tested those 2 (had to download Safari -_-;). The page works flawlessly on:
FireFox 3.6.9
Google Chrome 6.0.472.55
Safari 5.0.2
Internet Explorer 8.0

Naruto Part 1:
Oh yeah….I chose Naruto Part 1 (pre-time jump) over Part 2 because…well, frankly I like Part 1 better. The characters are developed, interesting, everything is new and the ideas they introduce are awesome. Almost a decade later and Naruto’s got some nice fights, some interesting backstories…but overall I don’t have the same excitement from it that I did when Part 1 was going on. I’m excited to see new manga but not as excited as I see the fans of One Piece, which I believe has gone on longer than Naruto. I gotta start that, everyone just raves about it….Bleach also is kinda meh for me lately too…despite it looking like it’ll be over in the next few weeks/months. We’re at the final battle but it’s still meh.

Anyways, that’s it for now, take a look at the theme and provide feedback.

Post Compilation – Busy with Naruto theme

Wednesday, September 8th, 2010 at 3:16 am

I spent literally all day yesterday working on my Naruto theme and no time today, working on it…despite wanting to. Web developer as a profession can sometimes be a demanding mistress.

Here are some old posts, combined into one. They’re recent ones I’ve combined with older posts or posts I post, and then delete…

I don’t want to blog for a few days….and focus my time entirely on the Naruto site so I hope this will tide my readers over for the short while…

Remember those “I rejoined WoW” posts? well….

*guilty look*…

…turns into *mischevious grin*

…turns into *uncontrolled urination EPIC LAUGH*

(that’s me, pretending like I joined WoW, but then…not holding in the secret and then laughing) – “MWHAHAHAH”

Anyways…can you believe it’s been NINE MONTHS since I quit WoW. NINE! and I have no plans to replay, even resisting the mighty temptation of addicting games such as StarCraft II and World of Warcraft: Cataclysm. I suck at RTS games anyways…unless it’s building towers (HeeeLLO TOWER DEFENSE: PLANTS VS ZOMBIES + Flash Element TD)

What was I saying? oh yeah…quitting WoW in early January…building and launching website in early April…consistently tweeting, blogging, facebooking, learning about .NET and photography, having one of the busiest summers I’ve ever had….life is certainly being uh…lived right now, by me.

Time to take a nap.
JUST JOKING, time to LIVE LIFE TO THE FULLEST, or to the highest possible comparison to that of a normal person.

How Chandler Escaped



She tries about 6+ times…her 7th and final escape occurs around 1:30 if you wanna skip 1.5 minutes of cuteness!

Dreams

I consider myself lucky to dream more often than not, or more precisely, to remember my dreams well and be able to remember them after I wake up.

I think the most fulfilling part of my dreams is spending time with people I no longer have in my life. I don’t mean the deceased…I mean people that have been part of my life in the past and aren’t now. Dreams are timeless, they can reflect the people or situations you’re in now or they can take you to a different time, a different life. There are people that you don’t regularly think about, people that you may have been close to once which might as well have been a lifetime ago. I find quite a bit on enjoyment in spending time with these people in my dreams. It’s not so much during the dream, where you’re doing/trying to do some random thing that seems to make sense to your dream self, in your dream. It’s when you wake up and think: “I haven’t thought of this person in so long, why was he/she in my dreams last night?”. Putting the rapidly fading memory of the dream into order to try to solve the puzzle of why. Why am I consciously or subconsciously thinking about this person. I like that my subconscious is giving my conscious things to think about. Why it does so, I don’t know. Maybe it’s hinting at something I want, maybe it’s hinting at something I lost and can never reclaim, maybe it’s giving me a world that can never be. It’s always giving me a reality that isn’t my actual reality.

What I remember about a dream isn’t the specifics, what I was doing, where I was. It’s who I was with. And the relationship with a person that’s no longer shared.

There’s a person I knew a few months ago. She told me that she wouldn’t remember specific events in her life, specific visual details. She wouldn’t remember when something occurred or why. She would remember the way she felt.

I thought it was a bit bizarre, I’d never heard of anything like that. But after a few months, I realize that this is how I remember my dreams. With a feeling. An indescribable feeling….one that carries with it memories of a previous relationship, an imaginary new dynamic, and a feeling that something is different…but not really.

I’m so confused as I write this, describing what I would call an indescribable feeling.

What also interests me is that: if I’m dreaming and these people are entering my head, who out there is having a dream with me in their dream? And I know this is a complete unrealistic possibility but, is it possible we’re in the same dream, meeting in the dream, in some level of subspace (damn you Scott Pilgrim for giving this location a name….). If you haven’t seen Scott Pilgrim, I imagine this place of meeting within the same dream is “limbo”, from Inception. I know the idea is absurd but when I wake from a dream and start thinking about it….sometimes the idea entertains me.

You know…this post was really difficult to write. Years ago, I wouldn’t have understood what I was talking about but I’ve been analyzing my dreams lately and….I don’t know, I imagine someone out there is feeling the same way. Someone who understands what I’m talking about….someone who knows the feeling I’m feeling. Like a connection…when one never existed. Like something of a dream.

I hate people. They suck.

Every now and then, the people I trust or let down my guard with disappoint me. I’m fortunate that I have some/enough good friends who never disappoint. But the majority of people I meet/know don’t live up to my expectations and piss me off.

I hate when pathetic people look down on me when their lives are such a joke. They laugh at the stuff I’m doing or the interests I have. They look down at me from upon a pedestal of immaturity and insecurity. I’m too nice to point that sh!t out back at them, I let them carry out their demeaning talk and hold in all the terrible, hurtful things I could/should? say.

My life is a bit odd, yes. I’m a nerd and geek and people with an inferior intellect or a closed mind look down on that. They don’t take a moment to grasp things that are different, whatever isn’t what they think is normal, isn’t normal. It’s annoying as hell. Talking to close minded people.

You know, you go to elementary school and there are people like that. Hey, it’s elementary school. You go to high school and there are people like that. They’re set in their ways, it’s tough to change. You go to university and there aren’t people like that. The people around you are generally more like you than anyone else you’ve been around. You start to believe all adults are like that. That people are growing up. That people are mature, that people are intelligent, that there are people you respect and who respect you. And then you go to the work force and it’s like coming back to high school. The weeding process for the work environment is much more lenient than the weeding process in university. You get the same immaturity, the same stupidity. You also get mature adults, those who have grown up, those who may have been jerks in highschool but no longer act that way. And then you get the people that have just never changed. Socially/emotionally/intellectually stunted.

ARGH.

Sometimes I can’t figure out if deep down, I’m a nice guy or if deep down, I’m a hater. I try to be nice, I think I can pull off a fake “naturally nice”. But I’m not really that nice. I’m actually a bitter ol’ hater. Not because I just am, but because some of the people around me have made me so. There are just so many “highschool kids” out there and so few “university kids”…the geeks/nerds are always outnumbered and bullied.

ARGH.

/end rant.