Thinkings of a tinker who thinks he’s a thinker
A recent business proposal required me to calculate the time taken to download huge files. Being a BSNL Dataone user, I was comparing it with various plans including the Home unlimited plan for Rs.900.
1 MB = 1024 KB = 1024 * 1024 bytes
= 1048576 bytes
= 1048576*8 = 8388608 bits
| Bandwidth in K bps (Kilo Bits Per Second) | Speed in Kilobytes per Second | Time taken to download a 1MB(1024Kilobyte) file under ideal conditions in seconds |
| 256 K bps = 256 * 1024 bps = 262144 bps | 256/8 = 32 KB/S | 8388608/262144 = 32 |
| 384 | 48 | 21.33 |
| 512 | 64 | 16 |
| 1024 (1Mbps) | 128 | 8 |
| 2048 (2Mbps) | 256 | 4 |
| 4096 (4Mbps) | 512 | 2 |
| 8192 (8Mbps) | 1024 | 1 |
BSNL offers 256Kbps guaranteed speed with a maximum of 2Mbps. So you can theoretically download a 1Mb file in …well under 4 seconds. So that’s under ideal conditions. I have seen download progresses for my 256Kbps connections at the range of 200KB/s. A lot depends on the server’s bandwidth too.
So how much does a 1GB file take to download with a 1 Mbps connection ? From the above table, 8 seconds for 1MB = 8 *1024 for 1GB = 8192 seconds = 136.53 minutes = approximately 2 and a half hours..
Update as on 14-3-08
I’m getting a download speed of 312Kb/s on my home 500 plan which means the speeds are crossing the 2Mbps speeds.
My idea was to write a complete review from my Treo, using Opera Mini. After writing couple of sentences or even more, I tried copying the content that I wrote to the clipboard using FieldPlus’ Shift- Enter keyboard shortcut. Oh! what a bad decision that was, everything went off and I was with a blank screen. Looks like since Opera Mini run’s on top off Java VM, it has problems with the standard Palm OS keys and perhaps it will have problems with any mobile OS.
I was using Treo’s Blazer browser for quite some time. That used to work for most of the sites, but failed miserably on Google adsense login. It could be due to the time taken for the AJAX interface to load on my slow GPRS connection, I don’t know for sure. I had tried Opera Mini earlier and it was crashing, required too much RAM and was not all like my Opera on desktop. I was a bit apprehensive in trying out stuff, but I had time and installed IBM Java VM. The download is free from palmone’s site and is a prerequisite in running Opera. On installation on the VM (version J9 2.2.14 ARM 20070207_1505_IHsCmV), you can adjust the settings from the Preferences applet. Also a MIDlet manager appears among the list of applications. Next was the Opera Mini installation which went fine. No glitches what so ever. The Opera about ( taken from Menu -> Tools -> Help -> About ) show the version number as 4.0.9800 20071113(should be the build date). I’m a fan of having the build date on the version information, I usually do that and it can really tell the age of the software.
Features Overview
The default keyboard shortcuts for Opera Mini is given below
| #1 | Enter Web Address |
| #2 | Bookmarks |
| #3 | Goto top/bottom/text start |
| #4 | Start Page |
| #5 | History |
| #6 | Page Information |
| #7 | Add Bookmark |
| #8 | Settings |
| #9 | Search |
| #0 | Reload |
| ## | Forward |
| *0 to *9 | Speed dial |
| *0 | Feeds |
| ** | Change Window Size |
Limitations
Blazer comparison
On the Treo 650, the default browser is Blazer. It was good enough but its far behind in comparison to Blazer. The UI of Blazer is more Palmy and can get the Palm user feel at home. Opera Mini 4 is really different.
Features missing in Opera Mini when compared to Blazer
The proxy at http://server4.operamini.com:80 is what makes Opera Mini fast. You can find whether the proxy address is the same from the the About screen of Opera Mini. Out of curiosity I set this as the proxy server for my Internet host and I got a message stating that its’ plugin content. So this proxy can’t be used for your normal browser on a slow connection. Another thing that I tested was trying opera:config,opera:about. opera:help etc in the address bar. It resulted in an invalid address except for opera:about, which showed Version 10.00, Build 217, Platform Pike v 7.6 release 92 and long list of 3rd party copyrights and miscellaneous info. Its probably the server cluster version number and information.
Conclusion
Overall I like Opera Mini as much as Opera on my desktop I’ve started using it as my primary browser on my Treo and yes to to check my adsense revenue..
Even with its quirks with clipboard and without auto completion. The speed compensates for most of its limitations and then I believe Opera will definitely come out with a more feature complete product soon. I wanted to put some screen shots but couldn’t get PDA Reach working.
I have a HP dv6395 laptop (should be applicable to the whole HP dv6000 series) and it comes with a remote. Once in a while it just stops working. The ultimate problem solving technique of resatrting windows doesn’t solve this problem. Usually whenever there’s a problem with any IR remote, I use the digital camera technique to ensure that the IR light actually comes from the remote. In this case the RC was actually woking and I couldn’t find anything else wrong. The related services were working, but none of the functions were actually executed by the OS. Powering off and removing the power supply too didn’t work.
Finally I had this logical intuition, where I thought that since the remote can power on the laptop even if its powered off, unless I remove the battery the IR sesning circuit will not be reset. That worked, removing the battery and then inserting it back restored the IR functionality.
I was just thinking of starting a course for Computer Science and Electronics Engineers who have just passed out of College.
The topics that I thought of covering can be split into the following sections, covering what I call the basics.
Basic Networking / Internet
PC Trouble Shooting Assembling
Telecom
Software
Electronics
Will add more as and when required or when I get new ideas. If you are in or around Calicut and needs training on the above topics, please contact me using the contact form of this site.
With the release of the new version of Jaledit, I thought of introducing a new feature to all my programs. It’s the typical check for updates. I found that Opera does something similar, where in, when the check for update menu option is clicked, a message is displayed if there are no updates. If there’s an update the web page with the download link for the new version of Opera is is displayed.
I didn’t want a fully automatic update where the update file is downloaded in the background for selfish reasons (I want a page hit )
So here’s the base spec in my terms
My PHP skills = 0, Delphi skills = Advanced
Digging a bit around PHP documentation led to version_compare, generally used to check PHP versions, but works quite well for program versions as well.
Here’s the code that does the job
$latest = ‘0.5.6′; // define your latest version
$ver = $_GET[’ver’]; // for me this is like a command line argument get whatever is there after ?ver=
if ($ver) // Do the check only if the version info is passed if its just http://jal.sunish.net/jaledit then nothing happens
{
if (version_compare($latest,$ver) == 1) // there is an update available
print(”<hr/><strong>”.”An update to JALEdit is available. Latest version is :”.$latest.”</strong>”) ;
// display in bold about update status in between 2 lines
else
print(”<hr/><strong>”.”No update available.You are using the latest version.”.”</strong>”);
print “<hr/>”;
}
What I learnt,
Delphi Code
procedure TfrmSecMain.acncheckUpdatesExecute(Sender: TObject); var tempStr: string; begin tempStr := ‘http://jal.sunish.net/jaledit?ver=’; with TJclFileVersionInfo.Create(Application.ExeName) do try tempStr := tempstr + Format(’%s’, [FileVersion]); finally Free; end; ShellExecute(0, ‘open’, pcHAR(tempStr), ”, ”, SW_SHOW);end;
The Delphi code is pretty straight forward with the JCL function to retrieve the file version from the exe file and that’s passed to the Shellexecute function to do a default browser call.
The PHP code I guess should work with wordpress and any CMS.
Being one of the early adopters of GPRS in Kerala, I thought I knew what’s going on with BSNL GPRS. Time and again I was proved that my knowledge is limited. I wanted to change my GPRS Plan to Plan 199 and had thought that required a letter. I had suggested to BSNL employees and customer care how easy it would be if that was possible through SMS. In fact it was possible for Prepaid customers and I was told Postpaid users are less and the feature is likely not to be implemented. For me to give the letter to customer care I have to travel around 80 kms in total and wait for the activation. Now with my friend in BSNL office I was confident I could get it done fast. To my surprise I was told it can be done by sending an SMS.
So the procedure is as follows.
To deactivate BSNL GPRS on postpaid connection
Send an SMS to 53733 (3733 was the suggested number but with the new numbering an from the reply SMS no that I got it should be 53733) with the following message.
GPRSD
For activating Plan49 send GPRS49 and for Plan 199 send GPRS199 to 53733. You’ll get a reply SMS asking for confirmation to which you got to reply with GPRS49Y and GPRS199Y respectively. The activation seems to take more time than deactivation and it could take upto 24hours.
The important thing about the service was that it was notified by BSNL officially and it will probably work for only customers in the south zone.
A search with google lead to this doc http://www.ap.bsnl.co.in/mmsgprs/Portal%20link%20documents/Manual-Device+Settings.doc Why can’t they summarize the information and present it decently ? Looks like I got to do it, with all major mobile service providers, their data plans, APN names, activation and deactivation procedures etc would make good blog post.
Yesterday I got a new Visa ATM card for my Federal Bank Account. The expiry date is in 2017. The previous card was valid only for 3 years and the new one has a validity period of 10 years. I was told the old one will work without any problems. I tested and it indeed worked. I guess the bank auto renewed the old one and associated it with my account. Since the new one has a different card number, there’s no conflict of PINs.. However I just changed the new one’s PIN to the old one. So if you have a Federal bank account and thought that the card expired on expiry date, don’t worry, you an continue to use it.
Of course for businesses you have no choice, you got to get one for the n number of reasons that you might get on a Google search. Long time back my good old friend Shankar Subrahmanian asked me What do you do with a domain name ?
So here are the pros and cons of having a domain name in your name.
Advantages
Disadvantages
I want to add more, but here’s a start. do comment and add more advantages or disadvantages.
I just did a Wordpress upgrade to 2.3.1. The main attraction was keyword support with WLW. I’ve started to like WLW like anything. After the upgrade I still didn’t see the keywords option, just discovered that I got to enable properties from the View menu and don’t forget to update your account settings from Tools-Accounts.
Today, there was a long outage of my site, looks like Manas Hosting is best described by keywords cheap and unreliable. I will have to let everyone know about their poor service and not fall into trap of their Google ads. There were lots of database errors off late and they couldn’t answer most of my tech queries.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Apr | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||