Monday, July 30, 2012

My article for the MacTech June 2012 issue

Title: Selecting photos in iOS
Subtitle: How to select a photo from the Photo Library in an iOS Application

Mountain Lion: Page Outs

This is the output of the iStat Pro Dashboard Widget.
What it shows is the there are ZERO Page Outs on my iMac running Mountain Lion after 3.1 mil Page Ins!
This for me means that Mountain Lion has better memory management than Lion (and the other Mac OS X versions)!

iPhone 5? (rumors)

I really like its design!

Saturday, July 28, 2012

Wireshark and Mountain Lion

$ wireshark 
(process:28125): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(wireshark:28125): Gtk-WARNING **: cannot open display: 


The Wireshark Macports version does not work on Mountain Lion so I downloaded WireShark from http://www.wireshark.org/download.html.


The problem was X11. The solution can be found at: http://xquartz.macosforge.org/landing/.

Friday, July 27, 2012

Installing (MacPorts) MySQL on Mountain Lion

$ sudo port install mysql55 mysql55-server

The following command makes MySQL use a "normal" MySQL configuration file because the default is not good at all:


$ sudo cp -av /opt/local/share/mysql55/support-files/my-small.cnf /opt/local/etc/mysql55/my.cnf


$ sudo /opt/local/share/mysql55/support-files/mysql.server start
$ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
$ sudo /opt/local/lib/mysql55/bin/mysql_secure_installation


And you are done!

Thursday, July 26, 2012

Twitter is down...

http://status.twitter.com

Wednesday, July 25, 2012

Before leaving Lion

I will wait for the following things to completely go to Mountain Lion:

  • MacPorts compatibility
  • LaTeX compatibility
  • Finish a MacTech article I am writing :)
  • Check if my HP OfficeJet 8500 printer is supported
All of them are very important to me and I want to make sure that they will be fine.
I think of doing a clean install.

Tuesday, July 24, 2012

Mountain Lion officially released!

Mountain Lion will be officially released on Wednesday 25 July 2012!
I may try to do a clean installation – it takes more time but generally I think it is better.