New Path

Its been ages since I last posted anything new here, ever since i’ve been promoted from a consultant to one of the company’s executives, its been a non stop stream of work. In a way its a very exhilarating experience, me trying to cope with the new role while trying to balance several different hats as we attempt to plug holes in our team with increase hiring to complete all major talent deficiencies.

What turned out to be a very difficult decision to make (me deciding between taking this job or going to Singapore to join my girlfriend) was actually a pretty easy choice looking back. This is exactly the job that I have been searching for since I left my first fun job. A mix of something new and something that i’m damn good at (software architecture, design and actual coding). Working at my previous job has proven to be pretty boring and a sure career killer (since i’m sitting on my ass the entire day doing nothing). I’m pretty sure that once I hire more developers my coding task would diminish and to be honest I don’t know if that would be a good idea or just a sign of career progression, because lets face it, coding is super fun, especially when you’re working with awesome people!

Well that’s for another day to think about, right now, lesson one in management, learn to say no to people and learn how to delegate tasks more efficiently!

  • Share/Bookmark
0 Comments

Improve Eclipse Editor (HTML/CSS)

I’ve been having problems with editing html and css files in Eclipse for quite some time now, even when I’m using the latest version of Eclipse, Galileo, and the latest version of PDT. Typing constantly lags, and just typing a short string sometimes takes around 12 seconds to appear. My machine is no wuss either, its a Macbook Pro with 4gb of ram, and I’ve allocated 2gb of that for eclipse alone. The problem stems from constant validation when typing even though the validators are suspended/disabled. To remedy this problem follow the following steps:

  1. Go to Preference window
  2. Expand the General tab
  3. Expand the Editors tab
  4. Click on the Structured Text Editor then disable the following:
    1. Report problems as you type
    2. Inform when unsupported content type is in editor
    3. Enable folding
    4. Enable semantic highlighting

That helped me alot in making Eclipse usable again for PHP development, now I can return to Eclipse from using Netbeans.

Update: Although Eclipse became usable with the tweaks above, I got spoiled with Netbeans’ speed especially the speed of code completion in PHP. Its nice being able to work with both PHP and Java without changing perspective. Now if only Netbeans’ would improve their Subversion support, that would be epic (well at least for me)!

  • Share/Bookmark
0 Comments

Rebuttal: 3 reasons to stay in a big company

Reading this blog post entitled, “3 reasons to stay in a big company“, I can’t help but comment about some of the points the author made. A brief background first, i’ve worked with some big companies in the past, but all have left a bad taste in my mouth for reasons I will point out later on. I will be talking about my experiences which led me to believe that big companies aren’t all its crack up to be.

Continue Reading »

  • Share/Bookmark
1 Comment

Redmine and the importance of backups

Been struggling to get Redmine working with Mongrel instead of using Apache + FastCGI (been using this setup for while till this defect kept on bugging me and my teammates: http://www.redmine.org/boards/2/topics/5864), when the cause was simply a bug with cpanel’s generated .htaccess file for the subdomain internal proxy redirect.

Continue Reading »

  • Share/Bookmark
0 Comments

Upgrading to Symfony 1.4 from PEAR based 1.2

I’ve been working on a project, which started on 1.2.7, for almost 6 months now and have been upgrading it religiously along the 1.2.x branch which stopped at 1.2.10. We’re currently entering the testing stage, and being as curious as I am opted to create a 1.4 branch from the current trunk and started the upgrade process while merging fixes from the trunk as fixes come in. We’re using the PEAR-based approach which allows us to quickly upgrade the base installation as soon as a new release comes in. Although i’m planning to migrate it to the subversion approach soon, but thats another blog post.

Continue Reading »

  • Share/Bookmark
1 Comment

WordPress Syntax Highlighter

Can anybody recommend a good SyntaxHighlighter for WordPress? I’ve been using SyntaxHighlighter Plus for over 1year already, and its been always giving me headaches on character escaping with html/php codes. Now its been refusing to cooperate with indenting Java codes.

  • Share/Bookmark
0 Comments

Nokia N97

Finally bought a smartphone, first time to have one actually. My former phone is a Sony Ericsson K810i, used it for around 2 years plus plus. Very sturdy phone but the mediocre support for connectivity is really hurting me since I need a good 3g connection for my mobile office. Initially was planning to buy an iphone 3gs but got really disappointed by the bad battery life, then decided to go for a blackberry bold, but my provider screwed me on that one. So upon hearing about the Nokia N97 (especially the very cool 32gb of internal memory which is expandable upto 48gb), I decided to jump back to the Nokia bandwagon after being away for such a very long time. Credit goes to Sony Ericsson for not releasing any good smartphone (the xperia x1 sucks really bad).

Continue Reading »

  • Share/Bookmark
4 Comments

Symfony Doctrine or Propel

Been giving this alot of thought lately. What to use for my next project. Ever since symfony 1.2′s move to Propel 1.3, the major argument of speed against Propel has been solved with its migration out of creole and into PDO. So speed is definitely at par with Doctrine, but the curious side of me wishes to delve into something new to mix things up a bit.

What to use? Doctrine or Propel?

  • Share/Bookmark
1 Comment

JUnit and EasyMock

Unit testing is tedious, but it has saved my bacon so many times already that even though it eats my time I still religiously create unit test cases for every important business logic use cases. I’ve been using Spring’s integration with JUnit and its very cool transaction support for test cases. Unfortunately with this approach, I have to craft test data to test every single code path for complex business logics. Although the setup, tearDown and rollback upon completion of the test case is handy, I still have to carefully craft the data.

Enter EasyMock, I know i’m late in the game with mock objects, but in the quest to meet deadlines and still have close to 100% test coverage (well I try to anyway), I haven’t had the time to actually check out what’s new in the TDD world.

At its most basic level, it allows you to record and replay the expected method calls and return values for methods that are being used by the object/method that you are currently testing. Aside from mocking interface classes you can also partially mock concrete classes (meaning mock only selected methods) using EasyMock’s Class Extension. With this, you have fine grain control on how each and every test case will behave.

Check it out at http://www.easymock.org

I’ll post a tutorial in my next blog post. There’s so much stuff in there that I haven’t used that I’ll have to start a new tutorial series just to cover this very cool mock framework.

  • Share/Bookmark
0 Comments

Eclipse and Snow Leopard

Just upgraded my Macbook Pro (3,1) to Snow Leopard and the increase in speed and responsiveness of the system is immediately apparent. While everything seems to be working fine, two of my work-related softwares are broken. One is Macports, the fix is quite easy, just an upgrade to the new Macports version and its good to go. The other one is Eclipse Galileo.

Continue Reading »

  • Share/Bookmark
9 Comments