Monday, July 29, 2013

Spring Inversion of Control

Bean Creation
- code POJO, add bean configuration element to the Spring XML configuration file or annotate the POJO
<bean id="message" class="org.springbyexample.di.xml.BelleMessage"/>

Inversion of Control
1. Constructor Injection

public ConstructorMessage(String message) {
    this.message = message;
}

<bean id="message" class="org.springbyexample.di.xml.ConstructorMessage">
    <constructor-arg value="Spring is fun." />
</bean>

2. Setter Injection

public void setMessage(String message) {
    this.message = message;
}

<bean id="message" class="org.springbyexample.di.xml.SetterMessage">
    <property name="message" value="Spring is fun." />
</bean>

3. Reference Injection

<bean id="message" class="org.springbyexample.di.xml.SetterMessage">
    <property name="message" ref="springMessage"" />
</bean>


source: http://www.springbyexample.org/examples/intro-to-ioc.html

Tuesday, July 9, 2013

Baking Supplies in Philippines

Sweetcraft Baking and Confectionery Supplies

Address: 373 Boni Avenue, Mandaluyong (in front of Rizal Technological University)
Tel no.: 532-1595
  • items: baking and cooking ingredients and equipment items, available in retail and wholesale quantities
  • tips: don't buy marshmallows

Chef's Nook

Address: 20 Pilar St., Addition Hills, Mandaluyong (corner street of the Honda showroom along Shaw Blvd.)
Tel. No.: 724- 5812
  • cheap: chocolates and nuts are cheaper than chocolate lovers, refrigerated/stored well

Chocolate Lovers

Address of Main Branch: 45 P. Tuazon Blvd. corner C. Benitez St.Cubao Quezon, City 1109 ( use Benitez St, main entrance)
Tel. Nos. 411-7474 / 724-5752 / 724-4964
Address of 2nd Branch: Kitanlad St. cor. Quezon Avenue, Quezon City
Tel nos. 732-8576 / 741-7487
  • items: chocolate compound and nuts, lot of cake packaging materials, cake boards, ready made cupcake toppers, cupcake stands, chocolate moulders, lollipop sticks, baking pans, glycerin, glucose, gelatin, confectioner's sugar
  • cheap: nuts
  • not available: corrugated Boards, big cake boxes, big icing tips

Best Way Merchandising

Address: 691 Sto. Cristo Street, Divisoria (outside Divisoria mall)
  • items: everything, styrophor dummy cakes, edible flowers, candles, cake backdrop
  • cheap: icing gel colors(85pesos/oz), nuts(500-800pesos/kg) and tylose powder (700pesos/kg), packaging materials like rolls of cellophane/or plastic wrapper(150-155 per roll)
  • expensive: baking tools - gourmet writer (800-850 pesos), macaron mat costs 650, cutters, molders, etc
  • tips: for wholesale confectionary sugar of Peotraco brand, it's in Sto. Cristo St. Binondo, for stainless items you can find them in Ilaya Street in Divisoria
  • other stores near:
    Estanislao Trading
        817 Sto. Cristo Street, Divisoria (3rd store right after crossing M. de Santos Street where Allied Bank is)
        Tel.Nos: 241-9541 / 241-9487 / 243-3976    
    Enriquez Multi-Sales (near Allied Bank)
       427 M. de Santos St., Divisoria
       Tel.Nos: 243-3678 / 243-3668
    George Enterprises
       736 Tabora St., Divisoria Manila
       Tel. Nos: 241-8578 / 241-8579

Killion Merchandising

Address: 40 Orosco Street, Quiapo Manila (near Quiapo church)
Tel No. 733-8221, 733-2093
Fax 733-7036
  • items: all baking ingredients except imported ones
  • cheap: packaging materials, flour and confectioner's sugar (cheapest here)
  • tips: long queue, come around 7:20-8:15 am

Nut Store in front of Killion

  • cheap: choco bars, choco molds at lowest prices, also canned fruits, flour, confectionary sugar, ice cones flavoring etc.

Mostwell

  • items: doilies and boxes for cupcakes and cakes, for candles and souveneirs plus plastics

New Sin Kian Heng

Address: 196 Carlos Palanca St. Quiapo, Manila (Right beside Quinta Market in Quiapo, Manila)
Tel.Nos:733-2131/ 733-6871/ 733-6367/ 733-6381
  • items: kitchenwares and baking equipments, lots of pans and molds, kitchen aids to pans, wilton decors, tips, whisks, stoves, ovens, spatulas
  • tips: Goldilocks Cakeshop has been a long time client of their store

The Cocoa Pantry  

Address: 130 Katipunan Road, Saint Ignatius Village QC
Tel No 4976957
Opening Hours
     Mondays to Fridays - 10:00am to 4:30pm
     Saturdays - 10:00am to 6:00pm
  • items: essential baking ingredients and hard-to-find packaging materials

Baker's Depot

Branches:
     - San Juan: 188B N. Domingo cor Manzano st. Tel: 723-8810
     - Waltermart North EDSA - Tel: 332-1281
     - Waltermart Makati
     - Victory Mall, Caloocan City

Bake Masters Food Ingredients Corp

Address: along Sucat Road Paranaque City.
Tel No. 887-0150
  • items: bakery, confectionery, snack and also meat processing ingredients

Carla's Bakery and Confectionary Supply

Address: Unit E Dr. A. Santos Ave. Sucat, Paranaque City (along Sucat Road in Paranaque, right across Santana Grove and Shopwise)
  • items: almost have anything you need from ingredients to packaging, variety of box sizes especially bigger sizes, can buy bigger boxes by pieces, they have corrugated boards

Love2Bake Co.

Address: 6 Palanca Street, Fruition Bldg, BF Homes, Paranaque
Website: https://www.facebook.com/love2bakeco
  • items: baking supplies, fondant rolling pin
  • cheap: americolor gel icing and airbrush color, pearl/luster/sparkle dusts, fondant moulds, cutters, macaron mats, pans, sheet trays, dummy styro and more

Ingrid’s Sweet Haven

Address: 363 Dr. Sixto Antonio Avenue corner Liwayway Street, Caniogan, Pasig
Websites: http://www.ingridsweethaven.com
Tel No.: 641-2561

Baking Buddies

Website: https://www.facebook.com/bakingbuddies
  • items: mported fondant shoe cutters, airbrush compressor package, macaron mats and more

MK Kitchen

Website: http://mksurpluswarehouse.tripod.com
  • items: kitchen stainless steel working table, sheet trays, tart moulders, spoon forks and other kitchen utensils

RM Boxes

Website: http://www.rmboxes.com/
  • items: boxes and packaging needs (some boxes in Chocolate Lovers and other suppliers are actually from them)


Accesible Stores

Gourdo's

Address: Unit G, The Fort Entertainment Complex, Bonifacio Global City, Taguig Metro Manila
      Greenbelt 2, Glorietta 4, Gateway, The Fort and The Podium (under the name LIVING WELL)
Tel.No.812-3022
  • pure vanilla extract (The Vanilla Company), official reseller of Wilton

LandMark Makati

Address: 4th floor of Landmark Mall in Makati
  • cheap: baking tools such as rolling pins, muffin pans, fondant cutters and smoothers, chocolate moulds, spatulas, cupcake stands, baking pans, food processors and more

Cooks Exchange

Address: Glorietta 4, SM Megamall Bldg. A
  • more expensive ingredients

SM Supermarkets

  • items: baking powder, baking soda, sugar, oil, butter, cheese in the supermarket 

SM Department Stores

  • items: Wilton and other branded products

Unimart

Greenhills Shopping Center, Ortigas Avenue, San Juan
Tel No. 721-0572
  • items: complete range of Baker’s brand chocolate, wide range of Ferna products, like Dutch-process cocoa, glucose, and light corn syrup, malted milk powder

Healthy Options

  • items: variety of flours including unbleached white, whole-wheat pastry, and spelt flours in both regular and organic. Healthy Options also carries corn meal, a wide range of oats, almond milk
  • cheap: real vanilla 
Sources:
http://www.khakiness.com/2011/07/where-to-buy-complete-and-affordable.html
http://www.mysassybaker.com/2013/05/baking-supplies-stores-manila.html
http://alliwannadoisbake.blogspot.com/2011/05/where-to-go-for-great-buys-on-baking.html
http://www.pepper.ph/baking-ingredients-resource-guide/

Monday, July 8, 2013

Drools Core

  1. create a knowledge builder to load processes from various resources (for example from the classpath or from file system)
  2. create a knowledge base from the builder
  3. instantiate a session based on the knowledge base
  4. start executing processes
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("ruleflow.rf"), ResourceType.DRF);
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
ProcessInstance processInstance = ksession.startProcess("com.sample.MyProcess");
ksession.fireAllRules();

Thursday, June 27, 2013

Investing Terms

Fundamental vs Technical Analysis

Technical Analyis 
Support vs Resistance
Support - prices on a chart that tend to act as a floor by preventing the price of an asset from being pushed downward
Resistance levels - also regarded as a ceiling because these price levels prevent the market from moving prices upward


GSW1 - 1985 to 1997
Wave 3 - 1989 to Dec 1993 (500 to 3300/3474)

GSW2 - 1997 to 2001 - (3474 to 1000)

GSW3 - 2001 to ____
Super Cycle Wave 1  -  Oct 2001 to Aug 2007  -  6 yrs more or less -  (1000 to 3800)
Super Cycle Wave 2  -  Oct 2007 to Nov 2008  -  1  yr     "          "
Super Cycle Wave 3  -  031709 to ? ( est dec2013 june 2014) -  (1747 to ____)
         cw 1  - 031709 to 080211
         cw 2  - 080211 to 092611 or 110310 to 092611
         cw 3  -  092611 to 051513
         cw 4  -  051513 to 062513 nx is sideways/consolidations
         cw 5  -  062513 to est. dec or nx yr
Supercycle Wave 4 may be in 2014 up to 2015 (1 year)
Supercylce Wave 5 may be in 2015.


Sources:
http://www.investopedia.com/articles/technical/061801.asp
http://www.pinoymoneytalk.com/forum
http://www.pinoymoneytalk.com/forum/index.php?topic=44602.720

Wednesday, June 26, 2013

Time

EST (Eastern Standard Time) - time in US

DST (Daylight Saving Time) - 12 hr difference b/w NJ & PH
Standard Time - 13 hr difference b/w NJ & PH (4am NJ = 5PM PH)

GMT (Greenwich Mean Time) - global standard time

  • US NJ/NY - GMT-5
  • PH - GMT+8



Sunday, June 23, 2013

Financial Sites

Bloomberg - http://bloomberg.com/
Financial Times - http://www.ft.com/
Reuters - http://www.reuters.com/

BLOGS:
Absolutetraders.com - http://absolutetraders.com/main/
tsupitero.com - http://tsupitero.com/

CONCEPTS:
Elliott Wave - http://stockcharts.com/school/doku.php?id=chart_school:market_analysis:elliott_wave_theory

http://www.moneylifeblood.com/2013/02/dividend-paying-stocks-and-5-year.html#.UcqDo_lORH0

Stock Code Bloomberg Quote Financial Times Quote Reuters Quote Dividend Per Share 2012 Dividend Yield Average
2011 2010 2009 2008 2007
FGEN FGEN:PM FGEN:PHS FGEN:PS NA 9.76 9.76
TEL TEL:PM TEL:PHS TEL:PS Php 171 8.73 8.57 7.9 9.17 4.72 7.818
GLO GLO:PM GLO:PHS GLO:PS Php 65.00 5.47 0 2.46 6.45 7.39 4.354
RLC RLC:PM RLC:PHS RLC:PS Php 0.36 3.19 3.23 2.57 7.53 4.13
URC URC:PM URC:PHS URC:PS Php 1.90 4.58 2.27 2.27 7.16 4.07
BPI BPI:PM BPI:PHS BPI:PS Php 2.30 3.26 1.53 3.85 7.48 1.81 3.586
PX PX:PM PX:PHS PX:PS Php 0.53 1.68 0.87 7.7 3.416667
EDC EDC:PM EDC:PHS EDC:PS Php 1.14 2.54 2.04 2.66 7.76 1.9 3.38
SCC SCC:PM SCC:PHS SCC:PS Php 12.00 4.52 3.24 1.22 3.95 2.81 3.148
SMPH SMPH:PM SMPH:PHS SMPH:PS Php 0.29 2.54 2.75 3.06 4 3.29 3.128
AP AP:PM AP:PHS AP:PS Php 1.54 4.41 0.96 2.33 4.74 3.11
BDO BDO:PM BDO:PHS BDO:PS 3% stock div 1.88 1.52 0.8 7.39 1.47 2.612
AEV AEV:PM AEV:PHS AEV:PS Php 1.58 3.94 1.4 3 0.89 2.9 2.426
MWC MWC:PM MWC:PHS MWC:PS Php 0.60 2.89 2.4 2.54 2.64 0.81 2.256
SMDC SMDC:PM SMDC:PHS SMDC:PS Php 0.05 1.62 1.12 1.77 3.18 3.56 2.25
DMC DMC:PM DMC:PHS DMC:PS Php 1.20 2.42 1.39 2.06 3.77 1.04 2.136
MER MER:PM MER:PHS MER:PS Php 8.10 3.16 2.48 1.22 1.68 2.135
SMC SMC:PM SMC:PHS SMC:PS Php 1.75 0.9 4.12 0.51 2.59 2.37 2.098
MBT MBT:PM MBT:PHS MBT:PS Php 1.0 1.47 0.83 2.28 4.47 1.13 2.036
AGI AGI:PM AGI:PHS AGI:PS Php 0.36 3.48 0.48 1.98
SM SM:PM SM:PHS SM:PS Php 10.40 1.55 1.45 2.12 3.07 1.59 1.956
JFC JFC:PM JFC:PHS JFC:PS Php 2.20 1.18 2.53 1.55 2.02 1.54 1.764
AC AC:PM AC:PHS AC:PS Php 2.00 1.93 1.22 1.59 1.15 2.55 1.688
ICT ICT:PM ICT:PHS ICT:PS Php 0.65 0.94 0.89 1.78 2.75 0.66 1.404
MEG MEG:PM MEG:PHS MEG:PS Php 0.03 1.4 0.77 1.28 2.77 0.49 1.342
PCOR PCOR:PM PCOR:PHS PCOR:PS Php 0.10 0.79 0.53 1.96 1.75 1.2575
ALI ALI:PM ALI:PHS ALI:PS Php 0.21 0.97 0.57 0.53 0.94 0.42 0.686
JGS JGS:PM JGS:PHS JGS:PS Php 0.16 0.32 0.26 0.45 1.76 0.26 0.61
MPI MPI:PM MPI:PHS MPI:PS Php 0.03 0.68 0.26 0.47

Monday, June 10, 2013

Outline: The 16 Days of Competencies

POST: http://zengerfolkman.wordpress.com/2011/09/21/the-16-days-of-competencies-1-displays-high-integrity-and-honesty/

POSTED BY: zengerfolkman, September 21, 2011

#1 DISPLAYS HIGH INTEGRITY AND HONESTY
  • Avoid saying one thing and doing another (i.e., walk the talk)
  • Follow through on promises and commitments
  • Model the core values
  • Lead by example
Are you able to communicate bad news to your boss? Do you confront difficult problems directly and promptly? Are you assertive enough to stand up for what you believe, even if it is not the popular position?

#2 TECHNICAL AND PROFESSIONAL EXPERTISE
  • Stay up to date in the field
  • Demonstrate technical, functional, and job-specific knowledge required for assignments
  • Be sought out for opinions, advice, and counsel
  • Make a significant contribution toward achieving team goals through knowledge and skills
Do you stay up to date by reading professional journals and books? Do you participate in trade association meetings? Do you help to integrate the different technologies that affect your group —determining how they fit together and how they contribute to the efforts of the organization?

#3 SOLVES PROBLEMS AND ANALYZES ISSUES
  • Systematically evaluate information by using a variety of proven methods and techniques
  • Encourage alternative approaches and new ideas
  • See patterns and trends in complex data and use the patterns to outline a path forward
  • Clarify complex data or situations so that others can comprehend, respond, and contribute
Do you ask your team members for help in solving problems? Do you consider the viewpoints of various interested parties? When problems arise, do you make a list of possible causes, prioritizing them in the order of probability that they actually contribute to the problem? Do you determine what information needs to be collected to resolve the problem?

#4 INNOVATES
  • Consistently generate creative, resourceful solutions to problems
  • Constructively challenge the usual approach to doing things, and find new and better ways to do the job
  • Create a culture of innovation and learning that drives individual development
  • Build on other people’s suggestions and ideas. (Doing so often leads to new approaches and improvements)
Do you champion ingenuity at all levels? Do you work to improve new ideas rather than discouraging them? Do you generate creative solutions by bringing together the most talented people? Do you integrate ideas and input from different sources to find innovative solutions?

#5 PRACTICES SELF-DEVELOPMENT
  • Make constructive efforts to change and improve based on feedback from others
  • Learn from both success and failure
  • Model self-development and embrace its value
Do you take ownership of your own development? Do you seek feedback from others to improve and develop? Do you look for ways to build challenge into current assignments?

#6 DRIVES FOR RESULTS
  • Do everything possible to meet goals or deadlines
  • Consistently meet or exceed commitments
  • Aggressively pursue all assignments and projects until completion
Do you follow up regularly on progress and reinforce any movement in the right direction? Are you willing to volunteer for a difficult task or assignment that requires you to stretch your current capability?

#7 ESTABLISH STRETCH GOALS
  • Build Commitment with all employees on team goals and objectives
  • Promote a spirit of continuous improvement
  • Maintain High Standards of performance
Do you focus on why you can achieve goals rather than on why they can’t be achieved? Are you willing to discuss your priorities and your commitment to your work with others?

#8 TAKES INITIATIVE
  • Volunteer for Challenging assignments
  • Go above and beyond what needs to be done without being told
  • Have the confidence to initiate action independently
Do you approach your work as if your responsibilities extend beyond your immediate job descriptions?  Are you willing to commit extra time and effort when the situation calls for it? Do you constantly ask, “Is there a better way to do this”?

#9 COMMUNICATES POWERFULLY AND PROLIFICALLY
  • Communicate clearly and concisely
  • Give clear, understandable instructions to employees and others
  • Skillfully communicate new insights
When you are preparing to speak to people, do you think about their backgrounds and needs, and about where they stand on the issue you will be discussing? Do you sketch out an outline that presents your case in a logical way?

#10 INSPIRES AND MOTIVATES OTHERS TO HIGH PERFORMANCE
  • Have a personal style that helps to positively motivate others.
  • Energize people to go the extra mile.
  • Skillfully persuade others toward commitment to ideas or action.
Do you employ different motivational strategies to influence the behavior of others?  Do you express confidence in the individual’s ability to reach goals? Do you demonstrate enthusiasm to your group by talking about why your goals are important and encouraging others to set challenging goals?

#11 BUILDS RELATIONSHIPS
  • Deal effectively with people in order to get work accomplished
  • By trusted by work group members
  • Be approachable and friendly
Do you pleasantly greet people when you meet them in the hall? Do you demonstrate an interest in people and their work? Are you able to handle difficult situations constructively and tactfully?

#12 DEVELOPS OTHERS
  • Act as a coach or mentor to facilitate learning from experience
  • Give honest and candid feedback
  • Find stretch assignments for individuals which require them to achieve significant but realistic goals
  • Willingly share his/her time to help others develop.
Do you foster a learning environment that encourages others to learn from their experience? Do you act as a coach or mentor to facilitate learning from experience? Are you willing to make the tough decisions necessary to ensure the current and future success of your employees?

#13 COLLABORATION AND TEAMWORK
  • Promote a spirit of cooperation with other members of the work group
  • Champion an environment that supports effective teamwork
  • Have the trust and respect of the team
Have you developed cooperative working relationships with others in the company? Do you take into account how individual’s actions affect the team? Do you remove barriers to positive team performance?

#14 DEVELOPS STRATEGIC PERSPECTIVE
  • Know how work relates to the organization’s business strategy
  • Balance the short-term and long-term needs of the organization
  • Demonstrate forward thinking about tomorrow’s issues
Do you ensure that work group goals are aligned with the organization’s strategic goals and vision? Do you clarify vision, mission, values, and long-term goals for others? Do you propose initiatives that become part of the organization’s strategic plan?

#15 CHAMPIONS CHANGE
  • Act as a change agent—strongly support the continual need to change
  • Become a champion for projects or programs, presenting them so that others support them.
  • Be an effective marketer for work group projects, programs, or products.
Do you encourage people to let go of old ways so new ways can begin? Are you one to help teams and work groups translate new change goals into practical implementation steps? Can you champion organizational change initiatives in a way that helps people understand, appreciate, and support them?

#16 CONNECTS THE GROUP TO THE OUTSIDE WORLD
  • Know how to deliver products or services that delight customers by meeting and exceeding their expectations
  • Use knowledge and feedback from an external perspective to improve products or services
Do you view your work in the context (through the eyes) of the external customer? Are you willing to help people understand how meeting customer needs is central to the mission and goals of the organization?