Tom's Blog

whatevs


Leave a comment

What’s in a pre-workout drink?

The supplements industry is worth $23 billion a year, but many of the health claims accompanying the products are dubious. I’ve been using the pre-workout drink mix from Bulk Nutrients, and it gave me a nice buzz initially, but the last batch they sent me was clumpy and getting clumpier in spite of the desiccant packs that are included in the sachet. And do we really need such drinks anyway? Can’t we just have coffee instead?

USN is a company that seems to price their products reasonably, so let’s look at the ingredients in their Nitro-X Pump pre-workout supplement:

  • Maltodextrin: an easily digestible polysaccharide
  • Citrulline malate:  turns into L-Arginine after absorption and being sent to the kidneys, so it is actually a better method of getting supplemental L-Arginine into the blood rather than L-Arginine itself. Its function is to reduce fatigue and promote of endurance
  • Betaine: an important human nutrient obtained from the diet from a variety of foods. May play a role in athletic performance by enhancing metabolism.
  • D-aspartic acid: a temporary testosterone booster
  • Creatine HCL: can increase muscular function, maximise strength and endurance
  • Citrus aurantium: purported to act as a weight-loss aid and appetite suppressant

Chemist Warehouse sells 600g of the supplement for $35. That’s a little more than a dollar per serving. Not too bad. I might give it a try

 


Leave a comment

Facebook attempts to catch the mobile wave

'It Takes Two', photograph by Ray Leighton

In the upcoming April 29 issue of Fortune is a story about Facebook betting on Android, based on an interview with Mark Zuckerberg in late March. Here’s a summary:

  • Facebook had to re-engineer its development processes to focus less on speed and more on mobile apps and quality
  • Facebook Home is different from the previous revisions on the Facebook app in that key elements — status updates, newsfeeds, chats — appear on the lock screen
  • The risk of making Facebook dependent on Google, a major rival, is for reinvention as a payoff
  • Zuckerberg went against instinct and accepted chief mobile engineer Cory Ondrejka’s idea to abandon the iOS app and devote all effort to a rebuild in 2012,the same year Facebook issued its IPO
  • More discipline is required for mobile than web apps, because of the vetting process by the OS owners
  • To meet the demand for mobile engineers, Facebook has provided a weeklong mobile-skills course to 600 new and experienced engineers so far
  • The results: the iPhone app released in August 2012 was reported to be twice as fast and received four- and five-star ratings
  • Zuckerberg dismissed the idea of a Facebook phone because it would reach at most 30 million of its billion users — just 3%
  • Android was chosen Apple because of the greater allowance for customisation
  • Facebook Home was developed by a team of 24, joined by Zuckerberg two hours weekly
  • Facebook Home will be pre-installed on the HTC first and available to a half-dozen Android devices initially, as of April 12
  • The three components of Facebook Home: 1. cover feed; 2. Chatheads – messaging in the notification screen area; 3. app launcher
  • Zuckerberg believes that Facebook Home will make Facebook fans migrate from iPhones to Android
  • The danger for Google is that Home could eventually take over the Android device
  • Facebook has struck deals with some carriers for free access for a period for customers on Home-enabled phones, access paid for by Facebook
  • Home is another attempt, after Microsoft and Blackberry, to shift design focus from the names of the apps to the people we connect to, a disruption to Apple’s smartphone interface design


Leave a comment

How to stop Facebook Apps from spamming your friends’ news feeds

1. Go to https://www.facebook.com/appcenter/my

2. Sort alphabetically or by “last used” to help find the offending app:Image

3. Click “Settings” for the app.

4. Change visibility to “Only Me” OR

Remove the “Post on your behalf” capability under “This app can also” setting.

Let me know if this doesn’t work. 🙂

You can also use custom lists of friends on Facebook to choose who gets to see your posts on their news feeds.


Leave a comment

Fixing the “security hole” in MySQL?

Accessing phpMyAdmin using the WAMP system tray icon brings up the admin page that contains the following message at the bottom:

Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user ‘root’.

Trying to fix the using the visual method (Technique 1) described by Hosting Formula gave me the following error message:

MySQL said: Documentation

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

Entering the password into the config.inc.php file in the C:\wamp\apps\phpmyadmin3.5.1 directory only partially solves the problem. (There’s a particularly ad-spammed guide out there.) I’m going to try using the Acquia Dev Desktop referenced by tgeller and the Drupal documentation instead.


Update: The Acquia Dev Desktop was easier to install and I was able to install WordPress and Joomla! locally on top on the stack.

Found an About.com guide for the local installations, after I’ve done it already.


Leave a comment

Getting WAMP

Last session at uni, one of the subjects I studied was Web Site Operations and Publishing, in which we learnt to use Apache web server, off a server machine accessed using SSH (PuTTY).  WampServer is a free Windows web development environment that allows me to continue exploring the development web applications with Apache2, PHP and a MySQL database locally on my notebook.

The installation isn’t as straightforward as I expected, so I thought I should keep a record of the steps I took. WampServer is one of the many HTTP server packages available through SourceForge. After downloading and installing the package on my Windows 8 (64 bit) notebook, I ran into the problem of not being able to start Apache server. Fortunately, Andy Stratton had the following explanation and solution:

WAMP/Apache Broken From “Microsoft HTTP/API 2.0″ Using Port 80

My coworker, Dora, was attempting to get WAMP to run a locally hosted development environment on her Windows 7 computer. She could not get Apache to start and was getting a 404 error when visiting localhost in her browser.

By using the WAMP command (WAMP Menu > Apache > Services > Test Port 80), I saw that “Microsoft HTTP/API 2.0″ was using port 80.

Turning off Microsoft HTTP/API 2.0

After some fruitless Google searches, I found a stray post noting that this could be the Web Deployment Service Agent. As a former Windows user, of many years now, I can’t even comment (or care) what this service is for, all I can do is tell you how I disabled it:

  1. Open your Control Panel (Start > Control Panel)
  2. Change the view setting from Category to Small or Large Icons
  3. Open Administrative Tools
  4. Open Services
  5. Find “Web Deployment Service Agent” in the list
  6. Right click and choose Properties
  7. Click Stop
  8. Change it’s Start Up value to “Manual”
  9. Hit Apply/OK to save the changes
  10. Go to WAMP and restart all services

And it worked. 🙂

So where do we go from here? Lifehacker has a guide to customising WordPress themes with WAMP as a starting point. I’ll be trying to install Joomla and Drupal at some point too…

Create your own website, free on WordPress.com.Create your own website.
Start free