Adding CakePHP to my repertoire…

I got tired/confused (omg learning curves!) with Symfony. I will eventually pick it up (since I am a Drupal developer-extraordinaire, heh) but for now, for what I need to do/test/play with, I need something a little bit more rapid, for that, I took a closer look at CakePHP.

When I first started learning how to use frameworks and PHP in general, I used Joomla (right when it forked from Mambo).

oh my, this is great! now I don’t have to learn to code!

Sooner rather than later (and after numerous catastrophes), I realized that some frameworks limit what you can do on your own project. So, I moved on to learn PHP & SQL.

I learned MySQL on my own, then learned MSSQL a.k.a meh, then learned PL/SQL – the Oracle query language thingy… and it made my knowledge of MySQL too legit… (too legit to quit)

I stopped using frameworks and wrote terrible exploitable code, learned lessons along the way and then learned Java.

When I learned Java, I understood classes, methods vs functions, the differences b/w abstract and static and, all that jazz – but what really set everything in stone for me was learning what Object-Oriented programming meant.

viva la polymorphism!

Then I learned Python and was blown away. No longer could I just type a bunch of spaghetti code and call it a day. Nope, things have to be sooo preeeeety, so precise, so well tabbed, so well spaced, so well amazing; and I loved it.

I learned Python via proxy. I used Django and picked up Python with it. What I should say here is that I learned the MVC architecture.

Anyways, back to the topic at hand – I’ve learned that the only reason I know as much as I do is because I know how to move on or try other methods of writing code. Programming itself is not really that impressive (you can easily make a program write a shitty program, make it write itself, etc – but you can’t make it think – you can only tell it how to think) – what is impressive about the people that program is their ability to think in procedural steps. Programming teaches you how to think and how to solve problems objectively (bitch at the computer all you want, YOU still have to fix that stack overflow, etc).

Long story short: I’m learning some cake, I’m liking it so far, lets see where it leads.

So many tangents within this post, so little time… (vaguely reminded of sohcahtoa and other bs I had to learn with math; did you know I can recite the first 20 elements of the periodic table? and I can write all of it WITH their abbreviations? even potassium - THE special K?)

Something About Diptychs

I always seize the opportunity to use words with the -tych suffix.

Your design has two panels? Why not diptych?

Your design has three panels? Why not triptych?

Your design has four panels? Why not quadriptych?!

Got more than one column? Let’s polytych this thing! How many panels you got? How many quadrants you want? ¿Por qué no los TYCH EVERYTHING!!!

 

That is all :)

Getting Started with Symfony 2.x

Symfony Logo

So, I thought it’d be about time to do some research on a new MVC framework to use. I normally use CodeIgniter, but it seemed as if the project is dead. I need a framework that keeps up with the tech changing around it – we’re at PHP 5.4, good ol’ CodeIgniter is still 5.2 stable… I’ve gotta move on. Whatever MVC framework shall I use?! (more…)

…and it’s back!

For a web developer (and sometimes designer when the insomnia hits), shalltell.com is always ugly. It seems as if everything moves at the speed of light – this time last year, I would constantly debate whether or not to use responsive development, now I can’t work on a personal project that isn’t responsive.

Over the next months, my portfolio will be featuring things that I’ve worked on that reflects my current set of skills (and not items I worked on a long log time ago).

With that said, shalltell.com is back! It’ll have ALL the posts from the last iteration of shalltell.com (now with the ability to comment), and posts I’ve had on a drive years ago that I never published – they will be postmarked according to their original date.

Also, less use of ellipses, this post has none!

.htaccess www, non-www, subdomains & vice-versa

Redirect example.com to http://www.example.com (ignore *.example.com, focus on http://www.example.com)

RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} !\.([a-z-]+\.[a-z]{2,6})$ [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Redirect http://www.example.com to example.com (ignore *.example.com, this should only redirect www.example.com)

RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteCond %{HTTP_HOST} !\.([a-z-]+\.[a-z]{2,6})$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]

much ado about something (maybe)

Can’t believe it’s been over 6 months since I wrote last! It feels like yesterday. Then again, so much has happened.

I’ve lived, learned, loved, lost, gotten a new family member… but learned oh so much!

Things I’ve been dabbling in include:

  • responsive development (some design, but mostly concurrent on development)
  • sql snippets (whatchu’ mean I can’t partition AND use foreign keys on an InnoDB table, willis?)
  • kitten caretaker (her name is rascal lee, I’ll add photos of her in due time — she’s getting spayed on the 14th — poor rascal)
  • baking a motherboard (unsuccessfully, it’s the journey that counts, not the destination)
  • painting — I found my acrylic paints, old paintings, old brushes, pretty much all my painting supplies from visiting my little storage unit place. I can’t believe I just stopped painting. They aren’t kidding: you will slowly loose the skill (no matter how mediocre) if you don’t use it.
  • partying like it’s 1989 — wooohooo!
  • watched all of arrested development, battlestar galactica, baka and test, fashion king, switched at birth… yeah, partying like it’s 1989
  • fell in love with Amy Winehouses’ Me & Mr. Jones — “What kind of… fuckery is this?”

*sigh* I’m updating this site, it’s so… bleh

I miss UI designing

And I shall promptly design again in my spare time. Come to think of it… I have designed many “ideas” of mine, maybe I shouldn’t design and make those “ideas” come to fruition.

But then again, I do miss designing stuff :(

why I went back to netflix :(

I went back to netflix because my dad wanted to watch movies. All day he watches movies on my hulu account and continuously wants to watch movies only available via h+ (hulu plus).

Long story short: netflix is easier for my dad to use and ends the “it won’t let me see ‘Four Dragons’, it only shows for a couple of minutes!” debacle.

I believe netflix knows this too, only that fact would give a company the cojones to raise prices by 60% during a recession and record quarter profits.

I am not 100% happy about my service because my old instant queue got deleted. I only left for two months (they promised to keep the queue for 2 years). Unsuprisingly, they didn’t delete my old credit card info.

Is greed good? Maybe. But definitely not at 60% and not at a cost of customer disrespect. I mean, ‘quikster’(sp? quickster? quickstar? quikstar? wtfomgbbq?)… come on! That is sooooo 1980s, ask Coca-Cola.

…and it does pain me to write this. Cold. Catarrh. Headache. I hope a bug doesn’t fly into my mouth as I breathe through it :(

the words. the words. the words.

Taking a programming hiatus for NaNoWriMo. I’m writing a story about a super smart gal; and I am constantly reminding myself that I am allowed to write gibberish.

I did not write my 1,667 words yesterday, so my goal is to write at least 3,500 words tonight. Let’s see what the caffeine drags in :)

What is NaNoWriMo?

learning without obligations

It does a body good.

I figured I learn most of the lyrics to songs while driving, why not learn about marketing while driving too? And so I am (and so I did). iTunes U is so nice for that :)

(I’m still a PC).

really, really bees(y)

Working exclusively on SalesBakery in my spare time :)

Learning to pin my focus on one thing at a time. Multi-tasking is art & the art of completion is science.

Paint me Einstein.

chrome userscript / greasemonkey-esque

I just wanted to look up some lyrics… this may change in the future, but this is a quick solution for now.

Add jquery source to the top, then add:

$(function (){
	host = window.location.hostname;
	if(host=='songmeanings.net'|| host=='www.songmeanings.net')
	{
		$("body").html($("#artits_wdgt").html());
		$("body").css({'width':500, 'margin':'0px auto', 'font-size':'10px'});
		$("div.box_gray_inner div:first, div.box_gray_inner div:last").remove();
	}
});

Save as ‹filename›.js then drag & drop unto chrome and install. Voila! All flavor, no bite.
(contemplating making this paginated… and adding comments, but the end shall tell… )

Running out of ideas? Never!

Time to work on Autowhale.com. I listed the domain for sale using zowly.com, but now… I think I want to start working on it.

Initially it was set to be similar to autotrader.com + ebay motors… but I don’t have that much time on my fingers.

So, now… it is going to be something else. Another monster. And with time, depending on how it goes, I will open it up for third party, etc etc

The day I run out of ideas…? haha

Finally, shalltell.com is revamped!

I had about four designs I played around with for the new shalltell.com. I was happy with the final revision. It was perfect. A little color mixed in the black background… an image behind the grid; an image of the forest; a nice green.

But as heaven would have it, my computer gave me the BSOD. I restarted it and shrugged it off; this would have been the perfect time to commit these files… but, as usual, it’s they are my files so I took my time… stuck in the ‘design mode’.

Then, my little dell d510 (running XP) finally coughed her last breath… and died. I restarted it but, it seems she already had a DNR order.

Ten minutes later, as my computer withdrawal symptopms symptoms started to emerge, I rushed off to Fry’s and got another computer.

I love my new baby. She’s glossy (I wanted a dell, easier to take apart and stuff… but this HP caught my eye). I took my new laptop home, tossed the manual to the side and started working on my new shalltell.com

It wasn’t the same as my dell… (I call her ol’bessie or d510 when I need to print)… but I’m getting used to this computer. Eventually I will have to get my files off ol’bessie’s drive. But until then…. cheers!

Welcome to the new shalltell.com; may the elipses be with you.