Friday, July 29, 2011

[Singapore] How to get Starhub ZTE MF626 USB modem working on OSXLion

Update 18th Nov 2012: I upgraded to a new machine, and this broke again. The link below to the Vodafone Broadband Manager doesn't exist either.

So I went to Starhub today, and was told there was no way out other than to buy a new modem ( the one from Huewei starts at S$88) I didn't want to spend money on this, so went to look for the latest Vodafone broadband software. Found it here: http://www.business.vodafone.com/site/bus/public/enuk/support/10_productsupport/laptop_connectivity/40_software/software/10_latest/p_software.jsp. Sure enough, after installing the vodafone software, the starhub connection manager started working again. Vodafone - 1 ; Starhub - 0.

Dug around a little bit this time, apparently the drives that ship with the modem are 32 bit drivers only. OSX Lion and above don't load 32 bit drivers anymore AFAIK, so that's why the bundled driver software doesn't work anymore.

Wish Starhub updated their software and hosted it somewhere on their website.



-------------------------------------
Old post:

Starhub's ZTE MF626 modem doesn't work on OSX Lion (10.7). Looks like the USB modem driver is outdated. Starhub doesn't seem to have an upgrade available yet. So, DIY time!

Thankfully, Vodafone has updated their connection manager for OSXLion ( thanks http://openmindlifestyle.wordpress.com/2011/07/22/tip-workaround-for-zte-mf626-broadband-modem-on-mac-os-x-lion-10-7/). Here's how to setup Vodafone's upgraded modem driver and connect to Starhub.

  1. Remove existing ZTEUSBModem Service from your network preferences panel.
  2. Install the Vodafone Broadband manager available here. This installs the drivers as well.
  3. Restart.
  4. Go to System Preferences > Network. Choose ZTEUSBModem. Key in *99# as the phone number to dial to. Click Connect. (Might take a couple of minutes to connect)
The Starhub Connection Manager doesn't seem to be able to use this updated driver. Just check the 'Show modem status on menu bar' option in the Network Preferences panel; Its simpler than using the Starhub Connection Manager anyway.

Friday, December 31, 2010

HTTP PUT & DELETE from an Actionscript REST client

REST based APIs use the HTTP verbs - POST, GET, PUT and DELETE to accomplish Create, Read, Update, and Delete operations on data respectively. Flash player for various reasons only supports GET and POST. This makes writing REST apps a little harder (an additional line on the client side, and support for an extra request header on the server end) than it should be.


Thankfully, most popular web frameworks provide some support to accomplish this. Ruby on Rails supports overriding the http method using the X-HTTP-Method-Override request header.

The below code tells the RoR server app to consider the request as a PUT operation:

var request:URLRequest = new URLRequest(resource);
request.data = dataToUpdateOnResource;
request.method = URLRequestMethod.POST;
request.requestHeaders.push(new URLRequestHeader("X-HTTP-Method-Override", "PUT" URLRequestMethod.PUT));
var loader:URLLoader = new URLLoader();
loader.load(request);

HTTP DELETE can be achieved using the same.

Saturday, March 27, 2010

Flex 4 launch event at Singapore

Adobe announced the availability of Flash Builder 4 and the opensource Flex SDK 4 earlier this week. This release brings us a major overhaul of the Flex SDK, while also adding support to new technologies(FXG), and future tools like Flash Catalyst.

Here is an excerpt from the official blogpost, detailing where to go to learn more:


As you can see, there are lots of great new features and enhancements in Flex 4 and Flash Builder 4 - too many, in fact to list here. We recommend that you read the "What's New in Flash Builder 4?", "What's New in Flex 4?", and "Introduction to Spark" articles, as well as check out the rest of the new content published on the Adobe Developer Connection site to learn more. Additionally, you can watch David Wadhwani, Vice President and General Manager of the Flash Platform Business Unit describe the new set of products being added to the Flex product family.
I like the Flex testdrive page that they put up as well.

To commemorate the release, The Flex User Group, Singapore and Adobe Singapore have planned a launch event. Flash Platform Evangelist Harish Shivaramakrishnan will be flying in from Bangalore, India to introduce Flex 4 features, and Flash Catalyst. Hu Shunjie will also be discussing the new Spark component architecture. For detailed Schedule, head over to the official FUG blogpost here.

Attendees also stand to win a Flash Builder 4 Premium license from Adobe. Seats are limited, so go ahead, and register for your seat now.

Friday, October 02, 2009

Now everyone can be at Adobe MAX

Virtually, that is :P

Adobe Max 2009 is couple of days away. Fortunately, I happened to be here in the bay area, and my boss was kind enough to let me go attend MAX, despite the tight schedule. I've been at the MAX Asia conferences before - 2005 in Bangalore, India, and 2006 in Singapore, but lets face it - the one in US is undoubtedly the mother of all MAXes. And I'm very very excited about being there this year.

So if you are reading this and thinking, ' wish I could go' but those pesky deadlines at work didn't let you go - worry not; Not everything is lost. Last year, the MAX team posted the sessions on adobe tv, within a few weeks of the event. This time around, Adobe is also streaming the keynote talks, live! All sessions will be available online latest by October 11, 2009. So yea, go ahead and register yourself for viewing the live videos, here.

You can also keepup with tweets using the adobe max companion. Its a thin twitter client, which filters tweets about adobe max and lets you post tweets as well. You can also check out details about the sessions, and the session location etc. Sweet!


If you are going to be at LA, see you there! You can reach me on twitter at @arulprasad

Friday, July 24, 2009

The Actionscript Conference - Edition 2 is on!

Last year, the Singapore Flex User Group successfully organized a one day Actionscript conference. Due to the overwhelming response from last year, this year we decided to do a two day conference, with more speakers, sessions and added seating capacity.

And now, the dates are official. The 2nd Edition of TAC will be held on September 14th and 15th 2009. Registration for seats is open as well!

Check out http://www.tac.sg for detailed speakers list and sessions information. There is more sessions coming, so keep track of the site for updated information!

Registration of seats is open now. And we have a massive lucky draw around the registration process. One in every 10 tickets bought will win a FDT - Pure Edition. Thats 50 licenses that would be given away free. Apart from the monetary value of €99, using FDT will increase your development speed tremendously!


So yea, go ahead and reserve your seats!

Tuesday, June 23, 2009

download Facebook video - bookmarklet for browsers

A friend just asked for some help to download a video from facebook. I patched up a lil bookmarklet that does the download.

Get Facebook Video

Drag the Get Facebook Video button to your bookmarks toolbar in your browser.

Am sure there must be other bookmarklets that already that; guess I just wanted to do something else than my usual work. Anyway, usual caveats apply about usage of the bookmarklet - Use at your own discretion.

I didn't test it on anything other than Firefox 3.5. Must work other browsers as well, I guess.
I check if the current browser location is http://www.facebook.com/video/video.php. If not, this bookmarklet wont do anything. So, make sure u r in the video's homepage when u use it :)

Thursday, June 18, 2009

Creative Crew Singapore - Special meeting - "Into the code"

Creative Crew Singapore - The adobe usergroup for Creative Suite tools is doing a special usergroup meeting this weekend. This time, the sessions will concentrate on code and programming! The creative crew website has a detailed blogpost, complete with the schedule and venue details here.

I'll be doing an introductory session of the upcoming Designer-developer workflow changes - around the introduction of the Adobe Flash Catalyst (previously codenamed 'Thermo'). ArulKumaran from the Singapore FUG will be doing another Flex session titled "Thinking in Flex for Designers". There are couple of sessions from the Creative Crew core members as well. More details here.

When:

Saturday 20 June, 2009 from 2:30pm - 4:30pm

Where:
Bukit Merah Community Library
3779 Jalan Bukit Merah
Singapore 159462 - map

RVSP here

Friday, May 08, 2009

Using firebug on firefox 3.5 beta

I updated to Firefox 3.5 beta a while ago, and almost all extensions became incompatible. And today, I just couldn't avoid not using firebug (I had Firebug 1.3.3) , so decided to make it 'compatible'.

This is what I had to do:
  1. OSX, find the install.rdf file at ~/Library/Application Support/Firefox/profiles/xxxxxxx/firebug@software.joehewitt.com/install.rdf (On Windows, I guess it should be at C:/Documents & Settings/username/Local Settings/Application Data/Firefox/profiles/xxxxxxx/firebug@software.joehewitt.com/install.rdf )
  2. Find a node like 3.0.*
  3. Change the version number in the above node to to 3.5.*.
  4. Save the file, and restart Firefox. Firebug should now be active, and available for use!

Disclaimer:
Of course there might be something new in firefox3.5 that isn't compatible with Firebug1.3.3, so it might give u some unexpected errors. I've been using it for a while, and its alright at my end. But use it at your own risk :P

Friday, April 03, 2009

A bookmarklet for Digg.com's new Diggbar

Kevin Rose announced DiggBar today. Read the official blogpost here

Diggbar is a 'toolbar' for Digg - but without any traditional installation process. Unlike traditional browser toolbars, this is a html toolbar which gets appended on top of any website that you visit the webpage with "digg.com/" prefix-ed to the url. Digg also creates a short url for all those webpages that you visit using this feature.

I personally like this feature, and can see a lot of uses to this - but am too busy with work to pen down my thoughts. You all can read what those pro-bloggers have to say instead :P

Am sure there are some lazy buggers out there who find having to prefix the "digg.com/" a tiring task. So I put this lil bookmarklet together:


DiggBar



Drag the DiggBar button above to your bookmarks toolbar in your browser*. Now you just have to click on that bookmark link everytime you visit a website that you wanna Diggbar-ize. Cool stuff, huh? ;)


* - Tested on Firefox & Safari. Not sure if it works on IE, Sorry. If you tried this on IE, leave a comment. Thanks!

Happy Digging!

Tuesday, March 24, 2009

BugQuash - Don't just complain, do something about it

The line "Dont just complain, do something about it" nailed it for me.

From the pre-event kit:

All of us have run into bugs with all types of software. Every now and then we even run into some that are a part of the Flex SDK. These bugs can be aggravating due to their elusive nature - you think the bug is something that you are doing wrong while all the time it is a bug in the Flex SDK that was likely missed during various testing - this is not uncommon! Now that the Flex SDK is open source, our community has the exciting opportunity to help eliminate bugs in the SDK. Adobe has designated numerous bugs as Community Bug Fix Candidates which they believe are the best candidates for the community to tackle. However, you're not limited to fixing the Community Bug Fix Candidates. Do you have a bug that's been deferred or not yet resolved? If you're passionate (or rather irritated) by other bugs, we encourage you to quash those too! Our goal at the Flex BugQuash is to eliminate these bugs and contribute software patches to Adobe for their approval. We want to quash as many bugs as possible within the time allotted! Wouldn't you love to be part of it?



Want this for your site?


Visit http://bugquash.com/ for details. If you are in Seattle WA, you can physically attend the event, and if u are away, online option is available as well.