Choose Your Theme
Warren Shea

Archive for the ‘Archives’ Category

Work hard. Have fun. Do both? Be happy.

Wednesday, March 6th, 2013 at 12:45 am

5phl showed me this post recently. I thought I’d share:

I discovered these common, self imposed restrictions are rather insidious, though they start out simple enough. We begin by worrying we aren’t good enough, smart enough or talented enough to get what we want, then we voluntarily live in this paralyzing mental framework, rather than confront our own role in this paralysis. Just the possibility of failing turns into a dutiful self-fulfilling prophecy. We begin to believe that these personal restrictions are, in fact, the fixed limitations of the world. We go on to live our lives, all the while wondering what we can change and how we can change it, and we calculate and re-calculate when we will be ready to do the thing’s we want to do. And we dream. If only. If only. One day. Some day.

Every once in a while — often when we least expect it — we encounter someone more courageous, someone who choose to strive for that which (to us) seemed unrealistically unattainable, even elusive. And we marvel. We swoon. We gape. Often , we are in awe. I think we look at these people as lucky, when in fact, luck has nothing to do with it. It is really about the strength of their imagination; it is about how they constructed the possibilities for their Life. In short, unlike me, they didn’t determine what was impossible before it was even possible.

[…]

If you imagine less, less will be what you undoubtedly deserve. Do what you love, and don’t stop until you get what you love. Work as hard as you can, imagine immensities, don’t compromise, and don’t waste time. Start now. Not 20 years from now, not two weeks from now. Now.

From: http://literaryjukebox.brainpickings.org/post/34546633423

I understand and have understood this paralysis. I still suffer from it. But I’m definitely not the person I used to be. I’m not the dreamer I once was, I believe I’m taking actual steps towards achieving goals. The last few years have been all about improving myself professionally (and professional-personally – that is, improving my dev skills for personal uses). I’m no longer just sitting around as time passes. I’ve been able to feel accomplishment(s). I’ve been blessed with encounters that have inspired and motivated me. And in turn, I feel like I’m doing my part to motivate others. It feels amazing to be a person that inspires others. And it drives me to do more. I want to continue that…

While this post inspired me, someone else I know read that and got depressed by it. I hadn’t even realized that it could be a post that would depress a person. But I suppose a person who’s watched their life pass them by wouldn’t be inspired. It would be a harsh look in the mirror. And I pray that in 10 years, a post such as this does not depress me. I hope that in 10 years, I’ll be able to smile and agree that my life hasn’t been wasted.


I’m burnt out socially. The last 1.5 years, I was incredibly social. Going out a lot. And I’m tired of it. I’m building up my anti-social shell again and to be honest, I’m not only comfortable with that, this is what I desire. Because I know I can be social again – if I want to be. But right now, I’m keepin on the down low. Because to be honest, I really wanna work on my projects. I really wanna work and accomplish something. And not have to “waste” time dealing with social events. Not that it’s a “waste of time”….but I feel I could better use my time. My priorities are different now: I just want to be alone and work. And accomplish things.

There’s one feeling I love more than anything else – being in a working groove and getting a lot done. (and I hate being bothered during this time). I get this feeling with development. And most recently, I’ve gotten this feeling with photography. Working on something for hours, having the time fly by. Taking little steps towards a medium goal. And then taking a bunch of medium goals and turning it into a large goal. That’s why, even when I come home from work exhausted, I can’t wait to do my own project. I think it’s a very special feeling that many people do not understand.

I keep having to decline invites to do social things. Because I want to work. I know people look at me and think it’s lame. Or anti-social. But to me, they just don’t understand. I feel it would time better spent working on my projects than being social. It’s what I’ve decided. As much fun as going out to a bar, drinking and talking is – it’s not really productive. Life is short and it sounds lame to want to work during it, rather than have fun. But this is how I feel. I don’t care if my life is fun. I want my life to be fulfilling.

Cost Co.

Thursday, February 28th, 2013 at 9:13 pm


Sorry everyone. My blog’s a good reference site. So here is something Z and I wanted to post (for our reference).
Gonna compare these prices with other places…

worldofwarren – CSS & PNGs optimized…sorta

Wednesday, February 27th, 2013 at 11:38 am

So when I built worldofwarren.com, I thought it’d be a great idea to use 1 CSS file (in PHP), and pass the theme as a parameter into the “css” file via querystring and have the php figure out what to output. I guess the + side is that the php would do server-side compilation of the code. So I thought maybe it was faster. Also, I’d only have to maintain 1 css file and I wouldn’t have that much css duplication in the php file because styles that could apply to 2 themes could go under the same if statement.

But…I realized…that was probably incorrect, in terms of optimization. Because each time a user requested the “css” file, the server would have to serve up different php compiled code, based on the querystring. I don’t think such a file can be cached as well (can php be cached? it likely changes all the time…)…and cache without the need for server-side code is probably the fastest method to achieve quick load times.

So I’ve created separate CSS files, 1 for each theme, to improve load.


I’ve also re-optimized my PNGs. Someone told me about a site, http://tinypng.org/ that greatly reduces PNG size, while keeping the quality relatively similar. I’ve cut down the images on warrenshea.com from 6MB to 2MB. It was like shopping at a closing Zellers: HUGE SAVINGS!

I guess I’m learning more and more about the web and thought it’d be good to apply these optimization methods to my sites. One of my interview questions is “How would you optimize page load of a site” so if anyone ever asks me that, I not only want to be prepared, I want practical experience!

I’ve also been doing quite a bit of photography lately. I’m at 13/43 statues. From 1/8 to 1/3 done :) I’m getting there…

(Almost) all my sites are migrated!

Friday, February 22nd, 2013 at 12:25 am

(mt) = Media Temple

Decided to combine everything into one compact email for reference purposes. I may need to remember the stuff I’ve done here…so good to document it all.

horderockcafe.com
Migrated domain to (mt), migrated content to (mt), changed nameservers to (mt), recoded to PHP

warrenshea.com
Migrated domain (pending due to domain transfer lockout), migrated content to (mt), changed nameservers to (mt)

seasaltfishandchips.com
Migrated domain to (mt), migrated content to (mt), backed up WordPress/mySQL DB from IXWebhosting, restored WordPress/mySQL DB on (mt), editing WordPress Config File, changed nameservers to (mt)

kotobishoujo.com
Migrated domain to (mt), migrated content to (mt), backed up WordPress/mySQL DB from IXWebhosting, restored WordPress/mySQL DB on (mt), editing WordPress Config File, changed nameservers to (mt)
kotobishoujo.com Post Migration: many pages didn’t work due to how my 404/permalinks is set up.
Thankfully, I made my own post: Tutorial: Setting up WordPress permalinks without index.php on IIS server which reminded me what I had done. I had to replicate my changes but rather than use IIS/CMS, I used the .htaccess file
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

worldofwarren.com
Migrated domain to (mt), migrated content to (mt), backed up WordPress/mySQL DB from IXWebhosting, restored WordPress/mySQL DB on (mt), editing WordPress Config File, changed nameservers to (mt)

mySQL Backup
For all backup purposes, I used phpMyAdmin to back up the SQL to a .sql file.
To restore the file, I used BigDump which is a script that runs your .sql file (because you can’t upload a .sql file over 10MB) and creates everything. I did run into an error: It failed due to 3000+ lines of commands. To fix this, I simply changed
define (‘MAX_QUERY_LINES’,300);
to
define (‘MAX_QUERY_LINES’,999999);
Not sure if that’s the “best” way to fix it, but it worked. So I’m happy!

And I wrote all this for next time…so I remember :)

Hopefully the migration went well. I still have to test/debug and check everything. Probably be a couple days of fixing things…

warrenshea.com – Migrated!

Thursday, February 21st, 2013 at 5:53 pm

2 websites (horderockcafe.com & warrenshea.com) migrated. 3 to go…all the others, seasaltfishandchips.com, kotobishoujo.com, worldofwarren.com, have wordpress on them.

So they need a mySQL database export…and import. I’ve only done that once so far…but I’m sure by the end of the night (if I do it tonight) and do all 3, I’ll be proz.

That is all. The new server seems awesomes so far.


EDIT 6:45PM : seasaltfishandchips.com has been migrated !
Only kotobishoujo.com, worldofwarren.com left!