Archive for the 'Apple' Category

14
Aug

Running MySQL on OS X Leopard

I’ve recently gotten back into some development and needed to run MySQL on my Leopard computers. The easy way out was downloading and running MAMP (a great pre-built package of Apache and MySQL). Unfortunately, I hated starting the Apache and MySQL daemons manually.

I created OS X launchctl scripts to start Apache and MySQL but I hated the fact that I was maintaining two installations of Apache (the one that comes with OS X and the MAMP one). I wanted one simple installation of everything that would start automatically. Also, occasionally, weird things would happen with permissions and I’d have to shut everything down and restart again.

It’s been some time since I compiled my own software so I was looking forward to compiling MySQL from scratch. The first thing I found was this great post on Hivelogic about compiling MySQL. I’m not going to regurgitate what’s in the post but I’m going to highlight the configure flags for Leopard. Most times, when compiling applications, getting all the flags right is the only way to ensure your specific OS and architecture are properly supported in the compilation process and it’s the only way to squeeze out the best performance.


CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc \
CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors \
-fno-exceptions -fno-rtti" \
./configure --prefix=/usr/local/mysql \
--with-extra-charsets=complex --enable-thread-safe-client \
--enable-local-infile --enable-shared

Make sure you change your root (data base administrator password) by running:

/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h localhost password 'new-password'

Don’t forget to secure your server as indicated on HiveLogic.

My plist file for automatically launching MySQL under MAMP is here. Feel free to compare it to the post at HiveLogic or change it to suit your needs. If you have any suggestions on how to improve it, please let me know.

27
Jul

iPhone 2.0 Apps on Airtel India

Here are some screenshots of apps I have downloaded from the Apple App store. All the apps are running on a 1st generation 8gb iPhone that was recently upgraded to the 2.0 firmware. My carrier is Airtel in New Delhi and this post is being made with the Wordpress app for the iPhone.

photo

photo

photo

photo

photo

photo

photo

22
Jul

iPhone 2.0 Wordpress and the Indian Government

This is my first post using the new Wordpress App from the iTunes App Store. Pretty good so far and really easy to use.

So far the Indian government looks like it will stay in power. What does that mean for the Indo-US nuclear pact? It looks good. What does it mean for the Indian economy? More of the same once the initial euphoria of the government not falling wears off.

16
Jul

TechCrunchIT » Blog Archive » The New Apple Walled Garden

A great post from

TechCrunchIT » Blog Archive » The New Apple Walled Garden

 
12
May

Apple Online Store - India

The Apple Store India was relaunched some time back but fairly recently, possibly even today, Apple has dropped the prices on almost all products in India. The top of the line iMac offered by Apple in India (not the new 3.06 GHz one but the older 2.8GHz 24″) has been reduced from Rs. 96,600 to Rs. 83,500 and the MacBook Air (1.6GHz with PATA drive) has gone from Rs. 96,600 to Rs. 87,900. Those are some pretty substantial drops. Now if only Apple could release their most current products in India like the rest of the world.

07
May

Apple iPhone in India By Vodafone

According to Ars Technica, Vodafone will be launching the iPhone in India beating out Airtel. It’s not a surprise considering Vodafone already has deals with Apple in Europe. What remains to be seen is when will the iPhone be released, how much the iPhone will cost and whether it will be the rumored 3G iPhone.

There was a huge backlash against Mercedes Benz in the late 90’s for introducing old model E class cars in India as compared to the rest of the world. It took Mercedes some time but they realized that Indians want the latest of whatever the rest of the world is getting. That was a dozen years ago. With the amount of wealth recently created in India, a 3G Apple iPhone introduction in India will go a long way to placate people’s egos, knowing they have the latest and greatest.

28
Apr

Brawniest iMacs Yet

As most people expected, Apple rolled out their iMac upgrades. Most of us didn’t expect the upgrades this early and some of us, took a gamble that Apple wouldn’t be coming out with updates till the late summer but nonetheless, these iMacs are the brawniest iMacs yet. All models have processors starting at 2.4GHz on the 20″ and going up to 3.06GHz on the 24″ iMac. The iMacs have been upgraded with a minimum 2GB of RAM, and a 1066GHz front-side bus as well as a NVIDIA GeForce 8800 GS with 512MB memory. This is why you should avoid instant gratification and Apple loves impulse buyers like me.

25
Apr

Apple iPhone on Airtel India Minus GPRS

Well, I’ve been trying for almost a whole week to get Airtel’s Unlimited GPRS service (or Mobile Office as it’s called on their site) setup. Unfortunately, all the SMS confirmation messages telling me that it is setup and will cost Rs. 499/month for unlimited usage were all bogus.

I’ve confirmed that even though my iPhone shows the “E” implying an EDGE/GPRS connection, the service isn’t really activated. I’ve used the new Airtel SIM card in my Apple iPhone (which is unsupported by Airtel) and also a Nokia E61 (which is supported). It doesn’t work on either phone. I then even tried to put the SIM into a USB EDGE/GPRS device and configure it on my Mac Mini but still no luck.

I believe Airtel’s setup process for GPRS is a manual one. That’s one of the reasons it will take 4 hours to setup the service. 4 Hours have turned into almost 144 hours and countless phone calls to both 121 (customer service) and 12118 (technical support). 12118 tells me that it’s not active and 121 sometimes tells me that it is active, other times they tell me they’ve put in a request to have it activated, and other times they’ve told me that it is active. The support on Airtel’s mobile desk is fairly horrendous as compared to their excellent service for their DSL and landline products.

In New Delhi, at least, you must send the following SMS to 121 from your Airtel phone:

STARTGPRS

I’ve heard that “AGPRS” also works but in my case, neither SMS messages nor telephone calls have actually gotten the service activated.

Once you receive a confirmation message, you can go into your settings and setup the APN as shown below:

Though, the confirmation messages haven’t helped me, it doesn’t have anything to do with the iPhone. It only has to do with Airtel’s inability to get the service fully activated. The process appears to be a two-part manual process and one service rep let it slip that only the first part has been done, hence, I’m getting the “E” on my iPhone but no actual service.

My only advice is to keep hounding them to get the service activated and, if possible, use an Airtel supported handset while asking them to activate the service. If you tell them you’re using an iPhone, their eyes will glaze over and you’ll get the ole heev-ho.

I’ll post updates as they become available.

Update: 29th April, 2008
Airtel was able to finally get it right. It took them 9 days and countless phone calls plus SMSes and a little bit of strong-arming to get them to put me on the phone with a floor supervisor but the supervisor finally got GPRS (Mobile Office) setup on my account. The access point name (APN) on my iPhone is set to airtelgprs.com. All I had to do was turn the iPhone off and back on to get it to work once the service was activated. I just hope some bonehead over there doesn’t turn the service off again …

Update: 5th May, 2008
Airtel has done it again and “automatically” disconnected my Mobile Office GPRS connection. They couldn’t give me any explanation except “the status is wrong”. Even after pressing the supervisor for an explanation, I got nothing. They’re telling me they will resolve the problem in 24 hours, an unacceptable amount of time for “automatically” disabling my service without any notice. As happy as I’ve been with Airtel’s DSL service, I am immensely disappointed with their mobile service. The incompetence continues ….

Update 2: 5th May, 2008
It took Airtel a little over 6 hours but Mobile Office GPRS is working again….for now.

06
Mar

iPhone SDK Is Available …. kinda!

Well, as expected, Steve Jobs & Co., released the much anticipated iPhone SDK. You should be able to download the iPhone SDK in a few hours. It appears, Apple didn’t put enough horsepower behind the servers hosting the iPhone SDK so the site is unavailable.

Highlights:

  • The iPhone SDK is Free to download
  • Intel based Mac required to run the SDK (Gotta figure out what to do with the PowerPC MacMini - perhaps an Ubuntu server?)
  • Costs $99 to join the Developer Program where Apple will give the developer a digital certificate and provide hosting for the app, and testing facilities
  • 70% of the proceeds of any app sold will go to the developer, 30% going to Apple to cover costs associated with credit card processing, hosting, etc.
  • A separate iPhone Enterprise Beta Program has been started
  • Kleiner Perkins has setup an iFund with $100 million to fund entrepreneurs developing groundbreaking applications on the Apple iPhone

From what I’ve seen online, the SDK looks to be very easy to use and very full featured. Not knowing how to program in Objective-C might be a problem but as soon as I can download a copy, we’ll see what can be done by a noob.

26
Feb

iPhone and iPod Touch firmware 1.1.4

Apple has released the 1.1.4 firmware for the iPhone and iPod Touch. Apparently, 1.1.4 can be jailbroken using Zibri’s jailbreak tool. However, he is suggesting people wait until it is thoroughly tested for 1.1.4. There is currently no unlock for the 1.1.4 available but I would say, skip 1.1.4 as it appears to be a minor bug fix release, at this time anyway.



Subscribe in NewsGator Online Add to Google
diigo it

August 2008
M T W T F S S
« Jul    
 123
45678910
11121314151617
18192021222324
25262728293031
Save the Internet: Click here

EFF v. AT&T




Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.