Milestone Reached! 1000 Subscribers in my Youtube Channel

Finally, thanks to viewers and subscribers to my channel. Just Another Dang How To Channel – a channel where I share how-to tech videos. A small milestone for me but super happy. It’s been a roller coaster ride reaching this milestone.

June 8, 2020

I started the channel way back Feb 2017 when Youtube didn’t have a strict Partner Program policy, you can upload videos and immediately earn from your videos. Then a few months after that, the policy changed to have at least 100,000 channel views for channel to be able to be monetized, I didnt meet the criteria and my channel got demonetized, I persevered, I kept sharing videos and eventually met the requirement.

But on Feb 2018 Youtube again changed policy which wiped out all small channels, new requirements were to have at least 1000 subscribers, and 4000 hours channel watch time for 365 days. I was gutted and lost interest. I abandoned the channel for several months but my watch time kept growing. Last year April 2019, I decided to revive it as my channel met the 4000 hours criteria. I had about 600 subs at that time. 1 year and 2 months later I finally reached 1000 subscribers.

My takeaway is to don’t give up and keep on persevering. Rome wasn’t built in a day. As of this writing, I am already now at 1004 subscribers and waiting for approval. Next goal up, get 2500 subscribers.

If you haven’t yet, please subscribe to my Youtube channel.

My 2019 recap and plans for 2020

Time flies when you are having fun. 2019 was indeed full of fun and I felt like I was leaving the dream. To add to that some of the goals I aimed to do I was able to accomplish and picked up some more goals along the way.

Some personal highlights in family, wellness, and finances,

  • returning from a remarkable California trip in January. I never thought I could bring my family to the US but eventually did it.
  • still trying to be a better version of myself by investing in health. Did my first Spartan race and enrolled in Calisthenics class to further improve my skills
  • learned to ride a motorcycle and purchasing my dream bike Honda Rebel CMX500
  • taught the wife how to snowboard and headed to Queenstown
  • paid off in full our car mortgage and made a substantial deposit to the house mortgage back in the Philippines
  • added more on stocks and bonds

As for the goals I have achieved for 2019

2020 Goals I would like to do more and start this year

  • share more of the knowledge I am learning by doing more videos, blog post, answering on forums
  • still, try to go get that MVP status
  • build more passive incomes and start courses in Udemy
  • resurrect my T-shirt business
  • build one of my SAAS product ideas
  • moonlight as a bug bounty hunter
  • get Mulesoft Architecture certified
  • more muscle ups and handstands

How to Create a Generic Class for Mocking REST Callouts for Unit Test

I’m starting a new habit of posting regularly on my blog every week. I’ll be kicking it off with tips for creating a generic class or a mocking factory for mocking calls to an external third-party service.

Why do we need to do a mock?

When running unit tests the platform does not allow to do a callout to external dependencies. To test our code base we would need to mock the response as if calling the third party dependency.

By mocking we focus on the code being tested, isolating it from the state and behavior of the external system. The dependencies are simulated and the output state can be controlled.

To start we create a class that implements the HttpCalloutMock. This class enables sending a fake response when doing HTTP callouts. When our code makes a callout, the response will come from our HttpCalloutMock class.

When creating the class we define the constructor and parameters. We can make it generic and serve as a mock factory. Instead of writing several mock classes for every type of response, we only write it once which promotes code reusability best practices. And during unit testing, we define the mock response on the fly.

Here is our sample class which implements the HttpCalloutMock.

And if we have a class that does an HTTP Callout and we want to write a unit test for it. This is how it going to look like.

This is how we would create a unit test.

Key Takeaways

  • Use named credentials when possible when doing HTTP Callouts. Will talk about this more in the future.
  • When writing the unit test, the key is to call Test.setMock() which makes sure any callout from your code will return the Mock object.
  • Define the mock response on the fly to test different response.

Hope you find this useful. Stay tuned for more coding content and tips. If interested in the source code it is available in GitHub.

My 2018 recap and 2019 plans

My first post of the year and what better way to kick off but by having a fresh new theme layout. I have lots of stuffs plan for the my blog this year so stay tune.

Anyway my 2018 was probably the busiest I have been as I reached new goals in terms of career and knowledge. I managed to knocked down Salesforce and integration certification one after another like dominoes. I’m now eligible to take the Salesforce Certified Technical Architect exam board.

These are the certifications I achieved for 2018.

  • Salesforce Certified Sharing and Visibility Designer
  • Salesforce Certified Application Architect
  • Salesforce Certified Data Architecture & Management Designer
  • Salesforce Certified Identity and Access Management Designer
  • Salesforce Certified System Architect
  • Salesforce Certified Development Lifecycle & Deployment Designer
  • Salesforce Certified Integration Architecture Designer
  • Salesforce Certified Platform Developer II
  • Salesforce Certified Field Service Lightning Consultant
  • Certified Mule 4 Developer
  • Certified Boomi Developer

But there is one hurdle, my weakness, my kryptonite.. my presentation skills lacks evoking confidence. (feedback from one of the senior manager). I need to up my game on my communication skills and be more engaged.

For 2019 I’m approaching stuffs a little differently. First off I need to fix my damn finances as I really let go on 2018. I barely invested, didn’t build assets and got myself into some debt( not huge) but I do not normally get into debts.

My mentality and approach this year is to build assets as well as upping my communication skills.

  • I’ll be starting a free series of Youtube tutorials for Salesforce Architecture, Mulesoft and web development – this should increase my subscribers and get me back on the Youtube Partner Program
  • I’ll start a paid course in Salesforce and Mulesoft
  • Not too serious approach on my merch that I sell in Amazon
  • Scratch my itch and build some mobile app
  • Build a Saas – brain dump my knowledge on CICD, etc.
  • Colloborate more and try to get Salesforce MVP status (how this is an asset I don’t know yet)

So basically anything that I do should lead to building an asset. It could be passive income projects, part time work to buy assets like real estate, stocks and crypto.

Tips and Takeaways From Getting the Apex Specialist Superbadge

I’ve started the new certification path for the Platform Developer II as I already passed the multiple choice question a long time ago but it was ridiculously hard getting a slot on the programming assignment. With this new format, I would need to complete these four superbadges.

So, 1 out 4 completed. I got the Apex Specialist Superbadge nailed.

For the Apex Specialist superbadge. There are a total of 6 mini challenges you need to complete. Requirements are straightforward. If you been developing on the platform for some time, the challenge should be a breeze. It took me 6 hours though to coymplete the challenge.

Takeaways from the challenge

  1. There are many options for building the solution. Just stick with where you are most familiar with.
  2. Use maps for more efficient querying and to bulkify your triggers
  3. I thought I already know all my JSON stuffs until I tried to manually parse a JSON string. Get familiar with using the JSON class methods. Check my post on Demystifiyng JSON parsing in Apex.
  4. Given another chance since the requirements are not that complicated this would’ve been a good practice to have tried test-driven development.

If you need help completing the challenge hit the comments below and I’ll be glad to help. Good luck on getting that superbadge.

Get Creative. Ignore Everbody

Just finished reading this great book by Hugh MacLeod. One of the books recommended by the author of Steal like an Artist. It’s fun and easy to read book. I particularly like the splash of comic strips to each chapter. This book is full of tips to inspire you to get creative, do the stuffs you love doing and not getting bogged down with the money aspects. It is more on finding what makes you tick to be creative and owning that work. Eventually something good would happen.

Check out the blog at https://www.gapingvoid.com/blog/

Get a copy of the book here

2017 Went By and Welcoming 2018

2017 went by so quickly and 2018 already started. Recapping the highlights of 2017 I can say I’ve achieved 3 out of the 5 goals I set earlier this year.

  • I’ve managed to finally revamp the design of this blog and made it mobile friendly, it is not 100% where I want it yet.
  • Started my own channel on Youtube. Just Another Dang How To Channel and gained around 170+ subscribers and 48K views in the first year.
  • Passive income added with some investments in term deposit and bought more Philippine stocks

Then I set out some very ambitious projects that I started but lost steam

  • Registered Quonsepto Limited company
  • Started to create a WP plugin
  • Signed up for Merch by Amazon

For 2018 I won’t put too much attention on the money aspect of doing something. I want to do some damn fine work, something that I enjoy doing and I feel proud of showing it to others.

  • Improve my listing for Merch By Amazon
  • Improve the video quality on my Youtube channel
  • Enhance the usability and creativity of this blog
  • Build my Quonsepto company

For the financial side of things, this is kinda ambitious and far fetch but would like it to be a reality.

  • Pay off the Philippine house loan by the end of 2018
  • Save enough for a downpayment for new house in NZ for 2019.

Just Another Dang How To Channel

Earlier last month I finally started a new Youtube Channel, it was an idea to start a tutorial course for topics I am most passionate about and doing at the moment. I was already doing this by blogging but found that doing video is soo much fun. I have started some PHP HowTos, Salesforce Communities HowTos and some Mac HowTos. I’ll probably match a video tutorial and a blog post in the future. Plan to grow channel with more HowTos as I further develop my skills in Javascript(nodejs, reactjs), mobile development(IOS and Android). Though still in it’s first month I have some decent views and have a very supportive comments from viewers.

Check out my channel and subscribe.

https://www.youtube.com/channel/UCunISgIeaqybaVKJ6Q6n1PA

2016 Highlights and 2017 Goals

2017 is just around the corner, 2016 may go down as my most memorable year. I have lost a very dear someone, but amidst all of that I have grown mentally stronger and I can say I have achieved most of the goals I have set.

Listing some highlights of my year.

  • Financial growth
    • achieved my target stock portfolio
    • paid house mortgage extra to decrease the monthly amortizations
    • increased my mutual funds and emergency funds
    • slowly achieving my retirement plan
  • Career growth
    • got promoted at work
    • grew my skills and looked up as being an expert
    • attended my first ever Dreamforce
  • Family and health
    • family is whole again as they have migrated to NZ and followed me here
    • been consistently fit as I have been to the gym religiously for the past two years(but still need to fix my diet). Got into 75KG bulk and cutting down to 73KG.
    • crossed off from my bucket list as family got a new SUV
    • and new baby on the way!!

Now setting some very ambitious goal for 2017. Goals without a plan simply a wish.

  • Build my way up to Technical Architect
  • Be a Salesforce MVP
  • Revamp my blog again(I say this every year)
  • Be a Youtuber – I want to get back to my basic roots and just be creative again, I’ll dabble back in graphics design and venture into video editing
  • Have another source of passive income

Time of the Year

It’s that time of the year again where you look back and reflect on what you have accomplished and things you were not able to achieved.

Achieved Goals for 2014:

  • This year I started out with a goal to start investing for the future. I got into insurance, stocks, mutual funds and having 6 months emergency funds handy. I surpassed the goals I’ve set. My next goal for next year is to double those amount.
  • Migrated to New Zealand for a better standard of living. Been living in New Zealand for almost 9 months now. I don’t have my family with me which is the sad thing about the process but goal next year is to finally bring them here.
  • I wanted to grow and gain more experience with Saleforce and get involved in client facing projects. Achieved that to the company that employed me as a Senior Consultant for Business Apps.
  • Health side, I have been eating healthy and been working out daily. Increased my body mass from 65KG to 71KG.
  • Enhanced skills on Javascript, Visual force pages and programming in Apex.

In progress Goals for 2015:

  • Passed the DEV 501 multiple choice for salesforce but failed the programming assignment. Will retry again next year.
  • Took that Sales Cloud Certification and failed as I was unprepared. Will retake again next year.
  • Take the Service Cloud Certification.
  • Apply for Permanent Residence in New Zealand
  • Learn mobile programming
  • Get PHP Certified
  • Start a passive income project or app
  • Blog more and revamp for usability.
  • Be Salesforce MVP
  • Revive my travel and gobble website ( come up with a better use for it)

This is the initial draft and will add/remove more goals along the way for 2015.