Showing posts from 2011

How to do internet tethering on iPhone without iTunes

*Update* 30/7/17 : The original links below are for a very old version of iTunes and I have removed them (the latest iTunes is 12.6.2), but the steps to download and extract the files are still relevant, and the iTunes website will auto detect your system version so that you do not have to worry about 32 or 64 bit installer. Do download the latest iTunes and extract the files. Other than winrar, you can use the free opensource tool 7zip also. One good thing about the iPhone is I can use it like a modem and share its internet connection with another device like laptop or PC. The bad thing though is I have to install iTunes or the other device will not be able to "see" the iPhone as a modem. Or is it really so? Actually, the good news is the bloatware (iTunes) is not required to be installed. What is required are just the drivers. So just download the latest iTunes package, use a zip program to extract the contents (I used winrar) .  There should be a few .msi files in

Xcode: Some thoughts on using audio

Sooner or later, you will want to have some sound effects or music in your iphone app. I started audio experimenting using the AVAudioPlayer class (AVFoundation framework), but later tried using System Sound Services (AudioToolbox framework) too. Had some thoughts after trying out both which I will be sharing in this post.

Xcode: Problem with old files being referenced in cache

This shall be a quick one. I have encountered a few times where after renaming a image or audio resource file in my project, or replacing a file with a new version but same filename, the simulator still shows the same old files upon rebuilding. This is because Xcode does some form of caching of the resources. So to resolve, clean the cache! Xcode -> Product -> Clean

How to flash Samsung Galaxy S2 firmware

I flashed my Samsung Galaxy S2 twice. The first time was to try out a different firmware (2.3.3). That one went a little heart stopping initially, as my phone stopped flashing halfway, but in the end I was able to finish it on the second try. The second time I flashed, it was because I found the phone battery went down too fast for my comfort, so I wanted to see if a new version (2.3.5) was better in terms of battery usage. You will need: Firmware package for flashing Odin to do the flashing Samsung drivers (if you are having issues with "Gadget Serial" driver installation popups) I followed the main instructions from here: You can also download ODIN and the firmware you want from there. I shall be adding some extra comments to share the two experiences when I did this.

Xcode: How to add a new framework into my Xcode project

I figured I shall start documenting my IOS programming experiences with something simple but yet necessary. You will want to add new frameworks whenever you introduce things into your app that does not come with the default project package. So things like videos or audio will require their corresponding frameworks. Having said so, surprisingly it took me awhile before I found out how to do this for Xcode 4. There are articles telling you how to do this for Xcode 3 but not for the latest version.

Welcome to TechRantz!

It took me some time to think of a good name, and more time to wait for a good deal on domain registration. But now that it is all done, I am glad to announce TechRantz as my blog's name! Recently been busy learning how to do iphone programming. I did some reading on IOS programming, but gave up soon on the dry reads. What better way to learn a new language than jump right in? And that was what I did!  But having gone through the learning process (and in fact still learning), I will advise beginners like me to have something in mind about what you want to do, and proceed from there. Otherwise, it is just blind following of tutorials which is not an effective way to learn (for me). It will be better to start with a small idea in mind, code some lines, compile and see errors, research online what's wrong, redo again and see your app slowly unfold before you. I had been wanting to document down some of my thoughts after I get my first app ready, but with too many tabs opened o

USB Printing with DD-WRT

*Update* 30/07/2017 : As you can see, this guide is very dated, however I believe the general steps should still be the same as the helpful comments from readers mentioned below, though you may need to find the latest drivers and packages for your setup. Do give a shoutout if you used my guide recently and let us know if it still works! Some have also mentioned that JFFS2 may not be required now, although it was something I did back then. I had recently switched my home router to a TP-LINK TL-WR1043ND and decided to make full use of my spanking new router by upgrading it to DD-WRT firmware . It was quite fun doing the upgrade process, but my main point for this post is not to talk about how to upgrade it, but to touch on one interesting feature that I had spent a little while getting to work - USB printing. I have a Brother HL-2040 printer lying around in the house which has not been used ever since the com connected to it went dead. I have always wanted to try connecting it to

My network connection is slowing down/stopping! (KB2509553)

I just had to blog about this issue which was a personal case that happened on my home XP x64 PC, rather than at work, but still, I believe it has the potential to cause problems in enterprise servers or applications too. Recently, on and off my PC's network connection would slow to a crawl, sometimes coming to a total halt, other times even causing my PC to hang. Then I noticed it seemed to happen whenever I start programs that open lots of connections (read: Torrent). I suspected it could be something to do with TCP/IP and checked the event logs. True enough, I saw TCP/IP event 4226 errors whenever I started said programs.

Whew... I am back!

Wow I just looked at my last post which was back in Dec, its been really awhile since I posted anything here. I had recently changed job with lots more focus on storage than my previous job. I have always thought storage will be the next big thing in IT, with all the cloud computing being the in thing today. Hence it was really fortunate for me to land an opportunity to further explore into this specialization. I have also been busy with lots of other things, one of which was getting myself certified as VCP4. Glad to say I passed the exam on the first try and also received my VCP kit recently, which had a free VMware workstation license code provided for VCP certified members. As I gradually settle into my new job, I hope to start having more time to work on this blog again, but first, I shall follow up on this post with another case that I just had to blog about.