Best Mobile Apps For Weight Loss
It is now exceptionally easy to lose weight, thanks to these two apps.
LiveStrong Calorie Tracker
First, and in my opinion the most important is the LiveStrong Calorie Tracker. This app is available as a website or an app for your phone, even Windows Phone 7. You can enter in many different kinds of foods listed in their database or enter your own. Also keep track of your workouts. At the end of the day, if you have calories left over you will lose weight, simple as that.
Nike+
The other is Nike+. Keep track of your workouts, set goals, and get coaching advice from Nike’s website.
That is the technology behind weight loss. The other half of it is setting goals. For myself I have a life long goal to watch my children grow up and have children of their own. That is my underlying motivation. I also have shorter goals, lose two pounds this week or run 2 miles in 15 minutes. All in all, I’ve lost 20 pounds so far, halfway to my goal, and a lifetime of maintenance. I have noticed that I am much happier now and feel better too. Start enjoying life.
Mozilla is Alienating Businesses and Education with Firefox
Downside of Firefox
Firefox has been really destroying its chances of being deployed to organizations. Why is that you might ask? Well Firefox was used widely back in the version 3.xx but now, they are up to version 12. Version 3 was released back in June of 2008, we are now in April 2012 and they are now up to version 12.
Frequent Updates are the Demise of Firefox
This rapid “major” update schedule means that organizations have to perform testing (for applications and penetration testing), develop new system images for workstations, create new virtual apps for shops that use that technology-such as BMW. I quote major because many of the updates could be considered by many to be minor. This results in a major amount of money to be spent every time Firefox gets updated.
Meanwhile, Microsoft is still supporting IE6 from years ago, Mozilla provides very limited support.
Is Firefox going away? Not any time soon, but they are going to lose market share. Institutions cannot support this behavior.
If someone from Mozilla is paying attention to me, how about acknowledging the operations people in the world exist and you might want to make them happy. After all, they recommend web browsers not just to the businesses but to friends and family. The users in the businesses are going to be biased to use the same web browser at home and at work. If the business is using Internet Explorer, more likely than not, the employees will be using that at home as well.
Interesting Tips for Python
I am teaching myself Python. Initially looking at Python, I thought this language is a joke. No curly braces, no end statements, just indentation? REALLY?! No explicit declarations of variables, come on.
But being a patient person, I am giving it a good try. There are some good things about it, after all Google uses it for a lot of their development, as does Youtube. Python has some really nice functional aspects to it (ie. tuples, lists, map reduce/filter) and it is relatively fast for an interpretted language.
Unicode
It has some decent unicode support. One thing that is rather interesting if you want to compare a unicode string with an ASCII string, it will evaluate to true. For example:
>>> s = ‘hello’
>>> u = u’hello’
>>> s == u
True
Google has a great class that is free for the public if you are interested in. Going through it at your own pace is wonderful, great for a beginner to Python. It was actually developed for their own employees. Thank you Google for providing some great content for the public!!! Yes, that’s right a MS fanboy is praising Google for something, it’s that good! Found below here:
http://code.google.com/edu/languages/google-python-class/strings.html
Testing Python Modules
Here is something interesting, modules are objects. This is really, really cool because you can access attributes for the module. So why does this get me excited. Because it allows for some great testing of the functions. It makes test driven development very easy. At the end of your script you can test your code just by running the module. Once the module passes the tests you have set up, the module is ready to be used in another module. This is accomplished like this:
if __name__ == ‘__main__’:
<test statements here>
Free Programming Books For Python
E-Books Galore!
I found a great blog that has 10 free ebooks on Python, including one on TKinter. I can’t wait to tear into them, hopefully you will get some use from them too!
The link to Dive Into Python does not work, but this one does. Dive Into Python
Python Tutorials
If you are really starting from scratch, here is my list of good Python tutorials: http://wp.me/p175D9-88
Please let me know if you have any good resources to share!
Monitoring SQL Server with Profiler ~ 5 Things to Avoid
SQL Profiler
Everyone loves Profiler and for good reason, it provides you with good data to help you make your SQL Server run even better. To quote FDR, “great power involves great responsibility.” Here is a brief list of things to avoid.
Run Profiler on the same server as SQL Server.
This adds too much overhead to the server, please don’t do it, EVER! Ideally, run it on a test server that has some good system resources to be able to capture and analyse all that data.
Select too many events to trace.
For example, selecting Batch Begin and Batch Completed. Choose only what you need.
Don’t filter the results.
Filtering saves you time crawling through the results and saves SQL Server time. This falls back on number 3, choose only what you need.
Don’t join the Performance Monitoring data with Profiler data.
Why chase down a problem, that is not the real cause of your slow server? While you may see a small performance boost on the server, you may be missing the elephant in the room.
Python Introduction ~ How to become a Python Programmer
I am starting to teach myself Python and if you are reading this, then you might be learning it to. Good for you! Its a fun language, mainly because of it’s minimal syntax, sorry Perl! I am going to share my resources with you right here. If I missed something that you found useful, let me know I will be happy to post it and I could use the help too!
An interesting note, Python is actually named after Monty Python, not the snake.
Where to download Python:
http://www.activestate.com/activepython/downloads
http://www.python.org/download/
The official Python website: http://www.python.org
START HERE!!!! Google’s Python course (Open Courseware): http://code.google.com/edu/languages/google-python-class/
I recommend going through the entire course and do the exercises. The exercises really will help you get the hang of it! It is a full blown course, video lectures, reading material, and assignments.
GUI programming with Python, Perl, and Ruby using TK (who doesn’t want to make a GUI): http://www.tkdocs.com/tutorial/concepts.html
The offical documentation: http://www.python.org/doc/
It is really nice and easy to get the hang of. After two weekends, I can actually do some really cool things. URLLib is an awesome module, I know why Google loves it so much!
A couple tips for starting out:
- Don’t forget the colons after control blocks of code (for, while, if, else, elif, etc.)
- Careful naming of your variables, will save you from making poor mistakes.
- Test your software frequently, in your main function, have all your test cases for your functions. Make sure your code is solid before continuing on to the next function!
I want to hear from, any tips and tricks are welcome.