Bryan Zarzuela http://bryanz.com Most recent posts at Bryan Zarzuela posterous.com Thu, 19 Jan 2012 17:49:36 -0800 Fish tikoy with babies! http://bryanz.com/fish-tikoy-with-babies http://bryanz.com/fish-tikoy-with-babies

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Thu, 12 Jan 2012 20:06:32 -0800 How I watch movies in bed these days. http://bryanz.com/how-i-watch-movies-in-bed-these-days http://bryanz.com/how-i-watch-movies-in-bed-these-days

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Thu, 12 Jan 2012 20:06:22 -0800 My current addiction http://bryanz.com/my-current-addiction http://bryanz.com/my-current-addiction

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Wed, 11 Jan 2012 03:40:39 -0800 Zubuchon. Deep fried. http://bryanz.com/zubuchon-deep-fried http://bryanz.com/zubuchon-deep-fried

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Tue, 10 Jan 2012 21:46:02 -0800 Junk in my drawer http://bryanz.com/junk-in-my-drawer http://bryanz.com/junk-in-my-drawer

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Sun, 25 Dec 2011 03:53:55 -0800 Mmmm http://bryanz.com/mmmm http://bryanz.com/mmmm

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Sun, 25 Dec 2011 00:48:09 -0800 Christmas diet. :) http://bryanz.com/christmas-diet http://bryanz.com/christmas-diet

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Sun, 25 Dec 2011 00:16:42 -0800 My version of an external battery for my iPhone. http://bryanz.com/my-version-of-an-external-battery-for-my-ipho http://bryanz.com/my-version-of-an-external-battery-for-my-ipho

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Tue, 03 May 2011 03:51:18 -0700 Avoid "[Ext.Loader] Synchronously loading... consider adding Ext.require... above Ext.onReady" when using Ext.application http://bryanz.com/avoid-extloader-synchronously-loading-conside http://bryanz.com/avoid-extloader-synchronously-loading-conside

If you're like me and you're trying to get a grip on using ExtJS 4's new MVC architecture, you probably ran into this warning by Ext.Loader.

The thing is, when you're using Ext.application, the launch() function is essentially your Ext.onReady.

I had to dig through the source but found that you can put a "requires" array config option and it'll get rid of the warning for you.

Like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Ext.application
  name: 'nso'
  
  autoCreateViewport: false
  
  appFolder: 'js/nso/app'
  
  controllers: ['Users']
  
  requires:[
    'nso.view.Viewport'
  ]
  
  launch: ()->
    Ext.create('nso.view.Viewport')
    console.log 'I am ready'

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Sat, 16 Apr 2011 21:55:39 -0700 Life Tracker Pitch http://bryanz.com/life-tracker-pitch http://bryanz.com/life-tracker-pitch Here's an idea I'm putting out there if someone would like to make it
with me. I've got the technical expertise to implement the backend but
I'm weak on mobile development, user interface design and marketing.

So I pull out my phone from my pocket, launch the app, say "washing
the dishes", hit done and it quits.

After that, I pull my phone out again, launch the app, say "working on
x project", hit done and it quits.

When it detects that my phone can go online, it sends these audio
snippets and their corresponding metadata to the system. Voice
recognition is done in the snippet and the resulting text is
categorized as work, leisure, errand, whatever.

The website can show you what you actually do every day and gives you
insights on where you spend most of your time.

You can choose to share this information with your social network of course.

Badges will be given out as well.

The following are important:

1. The mobile app should be smart enough to not depend on constant connectivity.
2. Metadata should include location information as well.
3. There could be "shared events" with friends. For example, "planning
the party"
4. Humans to fall back on if voice recognition cannot deduce the audio snippet.

Most importantly: if the user gives permission to sell this data, give
something back in the form of special offers or discounts or freebies.

WIll post more as I think about it.

Permalink | Leave a comment  »

]]>
Wed, 13 Apr 2011 01:16:55 -0700 PHP PECL Gearman Extension API http://bryanz.com/php-pecl-gearman-extension-api http://bryanz.com/php-pecl-gearman-extension-api So confusing. Thanks to Lorna Mitchell for pointing me to the
doBackground function.

Permalink | Leave a comment  »

]]>
Wed, 13 Apr 2011 00:57:22 -0700 Will Deploy Gearman http://bryanz.com/will-deploy-gearman http://bryanz.com/will-deploy-gearman I'm starting to need a job queue for the parts of Maestro that
accesses Facebook's API. Since there are possible response time issues
with these, it's best to let them be handled by gearman workers
instead.

Permalink | Leave a comment  »

]]>
Mon, 11 Apr 2011 01:33:11 -0700 Symfony's Universal Class Loader on Silex Gotcha http://bryanz.com/symfonys-universal-class-loader-on-silex-gotc http://bryanz.com/symfonys-universal-class-loader-on-silex-gotc I used to do this:

$app['autoloader']->registerNamespaces(array(
'Teleserv' => __DIR__.'/vendor/Teleserv',
));

When in fact I should have just used this:

$app['autoloader']->registerNamespaces(array(
'Teleserv' => __DIR__.'/vendor',
));

*facepalm*

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Mon, 11 Apr 2011 01:06:55 -0700 4 Months http://bryanz.com/4-months http://bryanz.com/4-months Time flies by so fast. 4 months have passed since my last post here.

I've been trying to find more programmers for Teleserv. I realize that
I need to connect with the community more so I've started
participating in nullpointer.ph.

Silex's autoloader is driving me crazy. So I'm gonna do what any sane
developer would do. Dive into the source code. Posting this while git
is updating the submodules of silex.

Permalink | Leave a comment  »

]]>
Tue, 14 Dec 2010 23:10:45 -0800 New Headlights on the Civic http://bryanz.com/new-headlights-on-the-civic http://bryanz.com/new-headlights-on-the-civic Both headlights of the Civic developed the moisture problem in which a
bit of moisture about the size of a 5-peso coin forms on the inside of
the low-beam lens assembly.

Instant replacement under warranty, I was in and out of Honda Manila
in a few hours. Good job.

I've claimed warranty for the following already:

1. 2 x Headlight Assembly = 25k
2. Steering Gearbox = 60k (can't remember exactly)
3. Right Engine Support = 8k (I think)

I might be doing another warranty claim soon if the pinging doesn't go
away. I think the car doesn't like Blaze 100. Will go back to unleaded
after this tank is finished.

Permalink | Leave a comment  »

]]>
Mon, 11 Oct 2010 22:40:00 -0700 Symfony still tries to connect to localhost even if delivery strategy is set to none http://bryanz.com/symfony-still-tries-to-connect-to-localhost-e http://bryanz.com/symfony-still-tries-to-connect-to-localhost-e

It seems that the behavior of Symfony 1.4.8 is still to try and connect to a local SMTP server even if the delivery_strategy is set to none. 

Well, I have no SMTP server on my MBP so to fix this problem, I have to do this in factories.yml:

dev:
  mailer:
    param:
      delivery_strategy: none
      transport:
        class: Swift_MailTransport # Why the fuck do I have to do this?

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Sun, 11 Jul 2010 15:42:26 -0700 Maynilad not fixing a water leak http://bryanz.com/maynilad-not-fixing-a-water-leak http://bryanz.com/maynilad-not-fixing-a-water-leak Friday, July 2, 2010

Called up Maynilad to report a leak that's coming before their meter.
Got reference number 064157120540.
They came on Monday, July 5 to look at the leak. They said that the
actual leak was from our pipe and
that it was our responsibility to fix it.

I immediately contested the report saying that if the leak was within
our pipes, then the meter should be
continuously running. When all the faucets in the house are off, the
meter stops. Obviously the leak is
coming from before the meter and not after.

July 6, 7, or 8. Another team comes with the same finding but this
time from the report of our neighbor.
They say the same thing, because at first glance it does seem like
it's after the meter. But all it takes
is a simple test to determine that it's not.

Friday, July 9, 2010. Another team comes in this time with a
"supervisor". Says the same thing.

All these visits, I've left specific instructions to call me when they
arrive so that I can explain. They
never did.

Here is video proof that a simple test would show that the leak is not
after the meter.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Thu, 01 Jul 2010 23:44:00 -0700 Tire Puncture http://bryanz.com/tire-puncture http://bryanz.com/tire-puncture

A couple of days ago, I noticed the car was a bit heavy. The rear felt
loose through corners. There was a slow leak and it was loosing about
2 psi every day so I had to visit the pump every morning.

Today, I finally had a bit of time to drop by Minerva near dfa aseana.
Spent about 20 minutes there getting the tire fixed.

Permalink | Leave a comment  »

]]>
Thu, 01 Jul 2010 07:24:04 -0700 QDB: Quote #925050 http://bryanz.com/qdb-quote-925050 http://bryanz.com/qdb-quote-925050
< Andys> oh dear
< Andys> in ruby, symbols are represented with a prepended colon
< Andys> eg.   :flag
< Andys> so some guy tshirt that said ":sex"
< Andys> which everyone at railscamp knew meant "Sex symbol"
< Andys> he wore it until someone pointed out that to non-rubyists it said "Colon sex"

Okay, so two things are amusing. The first is this post and the second is that bash.org is still alive.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela
Thu, 01 Jul 2010 07:22:03 -0700 Dentist falls to her death at Shangri-la mall - INQUIRER.net, Philippine News for Filipinos http://bryanz.com/dentist-falls-to-her-death-at-shangri-la-mall http://bryanz.com/dentist-falls-to-her-death-at-shangri-la-mall

MANILA, Philippines – A female dentist fell to her death at the grand atrium of the posh Shangri-la Mall Thursday afternoon.

Mandaluyong chief of police Superintendent Carlos De Sagun identified the victim as Mary Ann J. Magtoto, 34, married and a dentist.

It was not known if Magtoto deliberately jumped or accidentally fell on the mall’s second floor atrium, and from which floor she came from, the Mandaluyong police chief said.

Marlene Dualan, marketing communications officer of the Shangri-la Mall, told the Philippine Daily Inquirer that Magtoto fell on the Grand Atrium at about 3:30 p.m. prompting mall employees to immediately bring her to the Medical City and call the police.

Magtoto was declared dead on arrival at the Medical City at 4:20 p.m., said De Sagun.

The Mandaluyong police and mall officials are trying to establish what actually happened to Magtoto, as of posting time.

De Sagun said they have been gathering accounts from witnesses in the mall. Meanwhile, Magtoto’s relatives arrived at the police station Thursday afternoon to help in the investigation.

It was business as usual at the rest of the mall on Thursday despite the incident but Dualan said the Grand Atrium area was cordoned off to mall guests as police investigated.

Reminds me of how I feel when I look over the escalator at the top floor of Market! Market!

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1201029/Photo_on_2011-04-30_at_12.53.jpg http://posterous.com/users/3syce2y6NHP3 Bryan Zarzuela Bryan Bryan Zarzuela