New Slap House Track

This is new slap house track. That I’ve been working on. Please have a listen. It had loads of reverbs and it’s very slappy. It’s out everywhere. Stream it. Dance to it.

Should I buy Aerogarden?

Aerogarden is fairly easy to use. I would recommend you soak your pods first. You can use tap water. My tap water is fairly hard at 430PPM. I through in some lemon so it neutralized chlorine and makes the water more acidic. Lemons have vitamin c. Plus it does make the water so calcified in the system which it’s pain to clean.

You can put 8ml for plant food and then add another 8ml plant food 2 weeks later. It grow very fast. I grew bok choy and rocket. It was ready to harvest in 2 weeks. It’s really up to you if you want harvest or keep on growing until week 4.

After I month I would dump the water and change it. It’s really up to you if you want to flower them to have more seeds to grow another cycle.

So far I love the aerogarden harvest.

Click Here

Aerogarden Refill

CPU Overheating? How to tell and How to fix it

I am going to show you how to lower the temperature of your overheating computer when gaming. First you get a tool to check what temperatures your computer is while gaming or at full load. The software of choice is HWmonitor it’s my favorite software that shows how hot your CPU and GPU is. It takes very little resources.

From there I would run benchmark like Fortnite because that game uses a lot of system resources.

What is the Ideal CPU/GPU temperature while Gaming?

  • 100 Danger
  • 80C Hot (100% Load)
  • 75C Warm
  • 70C Warm (Heavy Load)
  • 60C Norm
  • 50C Norm (Medium Load)
  • 40C Norm
  • 30C Cool (Idle)

Things you can do

  • Clean your computer case // Use canned air to blow out the dust
  • Repaste your CPU and GPU with better thermal paste
  • Change your power options settings

Next

Next click > Change advanced Settings

Minimum processor state: 5% // CPU usage when idle keep at 5% you don’t need more than that
System cooling Policy: Active
Maximum processor state: 95% // This will underclock your cpu by 5% decrease in performance

If all of this doesn’t help you reduce the temperature of your CPU/GPU consider getting different forms of cooling. Albeit better heatsink or A/C for your home. You can open the side case of your computer case and have a huge fan blow cool air into it. I know not everyone has the luxury of A/C.

For thermal paste I recommend Artic MX 4

ARCTIC MX-4 Thermal Compound Paste, Carbon Based High Performance, Heatsink  Paste, Thermal Compound CPU for All Coolers

Bonus:

Note: Must Have Nvidia Graphics Card


Install MSI Afterburner and increase the fan curve.

Click the Gear ICON

// No Comment T-Shirt For Sale

no-comment

So I decided to get into the tshirt business. So I’m going to start designing cool and quirky geeky. Tshirts for devs and nerds. Sometime it has a bit of deadpool humor. If you like my tshirt designs please give me shout out and buy. Thanks All.

Learn More

Sincerely,

Jason Chan

Graphic Artist – Coder – Music Producer – Youtuber – Producer

Super Mario Odyssey (Nintendo Switch) Review

So far I like the game a lot. It’s really fun. It’s mixture of 3d and side strollers. It’s basically mario 64 on steroids. It’s pretty fun and I highly recommend it. The controls are fairly simple and the levels are fairly simple. My only caveat is that the controls are okay. The only thing I don’t like is the camera. It could be a bit tricky to figure out, but youtube has the entire 6 hour walk-through you can watch on how to beat certain levels.

Is it recommended buy? Yes, because it’s fun entertaining. Plus I really like how the levels play. Plus I’m huge fan of mario games. This is probably my first mario 3D game I played. I prefer the jump and coin grabbing side strollers like mega man.

I have yet to beat mega man because mega man is tough game. Mario 3D I’m 3 worlds and it’s one my most favorite games.

The main thing is mario is using a cap and the cap con possess bullets. Plus you can become the monsters to solve various puzzles and levels. The bosses are fair strait forward. Hit them with the cap. Possess the monsters and break things.

We are changing and evolving.

I am changing and evolving. I am growing. I have switched to product reviews and making videos I like. I am no longer going to focus on web dev. I want to approach a wider audience. I just don’t want to have only web developers are my audience. I want a broader spectrum. I will start creating new content and re-evaluating what is valuable for the community and myself.

Please stayed tuned.

Updates on site. We installed SSL. We are more secure. I do not want to keep your data on my website. I do not track and never track my audience.

Listen to my song here

javascript Closure IIFE Immediately Invoked Function

Javascript Closure

This is an example of how to use iffe closure example to avoid collisions with other global variables in your programs. By placing the variable in the function it makes it private and not accessible everywhere else that would create a problem.

// global variable bad because of collisions
// break other programs avoid globals
var names = ['zero', 'one', 'two', 'three', 'four', 'five'];

var digit_name = function (n) {
	return names[n];
}

console.log(digit_name(3)) // 'three'

// SLOW - because we have to create an variable array every time you try invoking it.
// prevents collision of global variables - names
var digit_name = function (n) {
	var names = ['zero', 'one', 'two', 'three', 'four', 'five'];
	return names[n];
}

console.log(digit_name(3)) // 'three'

// closure iife - immediate invoked function 
// it executes the function has access to the variable names in the iffy
var digit_name = (function () {
	var names = ['zero', 'one', 'two', 'three', 'four', 'five'];
	return function (n) {
		return names[n];
	}
})();

console.log(digit_name(3)) // 'three'

 

The third way to do this is the best. To avoid collisions.

Power Constructors

  1. Make an object
    • Object Lateral
    • new
    • Object.create
    • call another power constructor
  2. Define some some variables and functions
    • These become private members
  3. Augment the object with privileged methods.
  4. Return the object
function myPowerConstructor(x) {
	var that = otherMaker(x);
	var secret = f(x);
	that.priv = function () {
		//secret x that
	};
	return that;
}

 

Functional Inheritance

function gizmo(id) {
	return {
		id: id,
		toString: function () {
			return "gizmo " + this.id;
		}
	};
}

function hoozit(id) {
	var that = gizmo(id);
	that.test = function (testid) {
		return testid === this.id;
	};
	return that;
}

Source:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures
https://en.wikipedia.org/wiki/Immediately-invoked_function_expression

How to Setup Your Own Parse Server

Since you already have heard that parse is closing down. Here are some instruction to set up you own parse. You can read more about the announcement here. You Can set up Parse with heroku or AWS.

The guides are at:

Heroku: https://devcenter.heroku.com/articles/deploying-a-parse-server-to-heroku

AWS: http://mobile.awsblog.com/post/TxCD57GZLM2JR/How-to-set-up-Parse-Server-on-AWS-using-AWS-Elastic-Beanstalk

If you’re not sure which to choose I’d go for Heroku as the process is a fair bit more straightforward.

Happy Coding. Now you have your own backend.