Posts

AngularJS: What's The Deal With $scope.$apply, Yo?

Chances are if you have been using AngularJS for a little while that you have come across $scope.$apply() at some point, whether it be your own code or someone else’s. What the heck is $scope.$apply() and why should you care? To understand why we have $scope.$apply we have to understand that Javascript is turned based. When you write your Javascript code, it does not run all at once, code is run in blocks. So it is possible when you change a value within Angular and a $digest cycle has already been run, your changes will not be seen.

Bulk Linux Chmod Commands For Files & Directories

Recently in Ubuntu which I use for my hosting operating system of choice I needed to bulk change permissions on a bunch of folders and files. I needed to set permissions on folders within a WordPress installation to 755 and all files in theme, plugin and asset directories to 644. While my command line-fu is not very strong, I was able to work it out and I thought I would share my findings here for others.

My Experience Buying A Playstation 4 In The US & Shipping To Australia

It is no secret that buying games, software, online services and electrical goods overseas in the US can cost considerably less than it does if you purchase in Australia. However there are some misconceptions about doing so. Is the Playstation 4 region locked? First things first, the Playstation 4 console is NOT region locked. This means games from anywhere in the world will work on the Playstation 4 regardless of where you bought your console or games. This is however not the case for movies which are sometimes region locked, but who seriously buys physical forms of movies anyway?

Chrome For Mac OS X In 64bit Glory

Mac users who use Google Chrome today will receive a special treat. Chrome for Mac OS is now 64bit in the version 39 update which was pushed to the stable channel today. Along with a whole bunch of security fixes and performance improvements, the new 64bit only version will allow for greater stability, performance and above all better security going forward. Those who have been using the beta/alpha versions of Chrome have had 64bit support for sometime now and during testing it was reported most people saw noticeable improvements (especially when it came to video performance).

Google Announces "Mobile Friendly" Testing Tool/Result Tweaks

In a move signalling that Google is well and truly dedicated to improving the user experience of the web, they have announced a new tool that checks if your site is mobile friendly, as well as changes to their search results. The tool can be found here. Fortunately all of my sites I tested were mobile friendly (including this blog). Not only that, but Google will also be showing alongside the search results of a page whether or not it is mobile friendly as well. While it is too early to say so, whether this has an effect on the search engine rankings of websites who are and are not mobile friendly remains to be seen.

I Refuse To Fund Misogyny: Goodbye Uber

I am a longtime Uber lover and user. Without fail any trip I have taken to the United States has involved the use of Uber for getting around over hiring a car or catching a taxi. I am currently in the US on a three month trip and for the last two months I have been using Uber almost on a daily basis. In-fact, I have racked up more Uber rides the last two months than I have in the last two years combined (which is a lot).

Finally: Netflix To Launch In Australia & New Zealand March 2015

Well, it is official: Netflix are set to launch in Australia and New Zealand in March, 2015. As rumoured a few months ago, Netflix have been quietly partnering with agencies to prepare for the launch for a few months now. The questions on everyone’s lips are… What Content will Netflix Australia & New Zealand have? As someone who has used Netflix in the United States, Britain and Canada, I can say with utmost certainty Australians will not get access to everything US Netflix has or other countries.

Navicat Premium vs Sequel Pro For Mac OSX

Deciding between whether or not to buy Navicat Premium for Mac at a cost of $70 or using Sequel Pro which is free, was a difficult decision believe it or not. I use Navicat on my Windows PC, but have been using Sequel Pro on my MacBook Pro. Paid vs free: should be an easy decision to make, right? Well, not exactly. Navicat Premium allows you to work with most database types: Microsoft SQL Server, MySQL, PostgreSQL, SQLite and even Oracle. Sequel Pro from my understanding is really only for MySQL at this point in time, but other databases are planned I think.

ReactJS: Props vs State

Developers new to ReactJS seem to get confused as to what the difference between props and state are inside of components. After all, they do both work similarly but there are some differences. Props aka Properties The easiest way to think of the role of “props” is to use an example. If you want to put a password field into a form you would do something like the following: The input itself is the component and “type” and “name” are props of the component, they are the equivalent of configuration options provided onload.

Apple Finally Fix Yosemite Wifi Issues (For Some) In OS X Yosemite v10.10.1 Update

Finally. After the initial public release of Yosemite over a month ago on October 16th, 2014 Apple have released the first minor incremental update to address some issues that have plagued the OS since its release. Although the latest update 10.10.1 specifically addresses fixes for wifi issues, tonnes of people on Twitter and the Internet as a whole are complaining it did not fix the issue for them. Personally for me, the issues have been fixed, but understandably everyone is using a different Mac. I am using a late 2014 MacBook Pro with Retina Display and the wifi issues appear to have been fixed for me, my Internet is noticeably faster and more secure (so far anyway).