Wednesday, June 22, 2011
Web Browser Thoughts: 64-bit Firefox, portable Chrome and Unfreezing Chrome Browser
With rapid releases, the changes between versions are not nearly as much, so you can be fairly sure that a Firefox 4 extension/addon will still work on Firefox 7. On a related note, beta1 of Thunderbird 5.0 has also been released.
It has been bothering me that other than Internet Explorer which has had a native 64-bit version since v6, no other (big name) browser actually seemed to care about 64-bit native versions. Understandably due to a chicken-and-egg situation (with "no Adobe Flash for 64-bit" being the oft-cited excuse). Mozilla itself had a proper Intel 64-bit (x86_64) variant of Firefox available for Linux and OSX, but not Windows. Pretty much the same applied to Google Chrome (to be precise, the Chromium project).
But now, those who want a native 64-bit version of Firefox on Windows can get it from the Nightly builds. You'll need the Microsoft Visual C++ 2010 Redistributable Package (x64) installed too.
Google Chrome Browser and how to make Chromium portable:
The other recent stable release of an alternative browser was Google Chrome 12. If it annoyed you that the installer offered for it was always a 500-odd KB web installer, then here's a direct link to the official Stand-alone and 3rd-party Portable version installers. But as usual, I refuse to let a pre-packaged portable installer dictate even the best terms to me. Below is what I suggest instead:
1. Download a relatively stable Chromium build from BuildBot or Softpedia.
2. Install it to the directory you like, preferably outside of C: drive, to be able to retain it between OS re-formats.
3. Now you may want to pre-configure it before distribution, or make it portable to prevent user profile files from landing up at the %AppData% folder. You can use a batch file for this, or an LNK shortcut.
4. Test your batch file by creating a text-based batch file named "portable.cmd" in the same folder as Chromium's EXE itself. The command is: start Chromium-folder/chrome.exe --user-data-dir="User Data"
5. Click it, verify that no files are created in the %AppData% folder, and that your user profile is created within the program's folder itself.
6. Adapt the same command for a Desktop/Start Menu shortcut by using full/absolute paths, using System Variables did not seem to work for me. For example, the shortcut target must be
D:\Programs\Chromium\chrome.exe --user-data-dir=D:\Programs\Chromium\UserData
with a Start In folder value of D:\Programs\Chromium\
7. That is all. Note that the quotes as mentioned in the example command above, are to be used in case your folder path name has spaces. Of all the additional switches that could be used, I thought these two were the most deserving of mention: -disable-java and -incognito (what the switches do is obvious).
Next up, if you want to customize the UI by default, the method on Chrome 0.2 used to be as follows:
Dress up Google Chrome to your liking by downloading a Chrome theme and saving its default.dll file into the application's Themes directory - C:\Users\UserName\AppData\Local\Google\Chrome\Application\0.2.149.29\Themes\
That technique did not work for themes or WebStore apps, so going onwards to the next now.
Whereas Google Chrome has Adobe Flash included, Chromium does not. Pre-configuring the browser means NOT having to hope that your target PC will have the Flash plugin installed. Solution is as described below:
1. Download and install the latest version of Adobe Flash plugin (not ActiveX, which is only for IE).
2. Now from the folder C:\Windows\System32\Macromed\Flash get the files NPSWF32.dll and NPSWF32_FlashUtil.exe - copy and paste these somewhere temporarily.
3. Go to the folder D:\Programs\Chromium\Plugins (create the "Plugins" folder if it's not already present) and paste the two files that you copied in Step 2.
4. That is it. You might need to install the latest Redist of DirectX 9.0c and copy two DLLs to the same folder as Chromium's EXE.
Recovering from a "Frozen" Chrome
If you open a lot of tabs, in Chromium's incognito mode, a browser freeze/crash leaves you unable to even recover tabs/URLs that were previously open, due to the nature and intent of incognito. Can get mighty frustrating indeed. When a number of tabs are open and you call upon the file "Save As" dialog box often, the browser inexplicably slows down in saving.
Eventually, when you right-click and "Save As", a situation arises where the expected dialog box does not show up, and the browser itself does not respond (this is normal behaviour, if the dialog box is in the foreground). In UX terms, it feels like a loop - the "Save As" has not popped up yet, and the browser is not responding to clicks either. This description is applicable to Windows 7 and Vista.
I tried a number of things, for the 3-4 times this occurred. Each time it got more irritating to lose everything that was ongoing in the browser tabs (face it, a lot of your PC usage nowadays is via browser). Here is the solution that managed to work for me, and has been working each time since the first time I tried it:
1. Make sure your Chrome/Chromium browser freeze is caused by a file "Save As" dialog box stuck in the background, being rendered invisible.
2. Finish up any work in other apps and close them. End processes and services that are non-MS and non-crucial for the moment.
3. Now the important part. End/TaskKill instances of explorer.exe one by one, before finally killing the task named dwm.exe (which renders the GUI).
4. You can now Alt+Tab your way through open apps/windows, but the Windows Taskbar has disappeared. Just as well, since the darned "Save As" dialog box will now be exposed and visible for you to either Cancel or Save the file.
5. Done. Chrome will now be resuscitated. You can bring back the Taskbar, normal Windows UI and other apps. Press Ctrl+Shift+Esc to bring up Windows Task Manager, click "New Task" in Applications tab, and type explorer.exe to do so.
Lastly, I wonder if there is a way to import/export Tabbed Browsing Sessions between different browsers?
Thursday, April 14, 2011
Assorted Thoughts of a Traffic-Clogged Morning
Such as Hazare's crusade for a super-empowered Lok Pal - and all I can think of in return to his kindly act is, "Those who forget History are doomed to repeat it", remember ancient Rome's "Dictator" post or its "Praetorian Guard"? Such as AMD's inability to capitalize on Intel's (relatively negligible) woes with the Cougar Point's SATA chip, and not try pulling ahead of at least the lower end Sandy Bridge processors, with its Fusion chips.
What has me exercised is the way barely a hundred people held up traffic for thousands of people on the Old Airport Road (Bangalore) this morning. The traffic police were present in considerable strength and re-routing vehicle flow. One side of the road was blocked out, and the other side was used for vehicles going in both directions. People on two-wheelers were delayed for a minimum of ten minutes, the larger vehicles for longer, and all this at peak-hour.
The village folk admittedly were only doing what they are entitled to. Conducting their "jaatre" or "thaeru", which is a form of "ooru habba". It comes once a year with a religious origin, in which the locality's "protector god" travels around the locality in a grand car. Lot of people volunteer their services in various capacities, lot of roadside hawkers get a chance to sell trinkets and candies, and residents watch the goings-on from within their houses or outside, some even dancing to the beat of the drums outside. The festivities start early, around 2 am in the morning, and wind up by 5 am in truly rural areas. Winds up by 6-7 am in villages that have been swallowed up by cities growing outward.
But not for these particular people, the concept of winding up. The sadistic concept of deliberately getting in your face to conduct these processions, officially blessed by the police, even as a number of traffic signals and roads get jammed, was seemingly so much more satisfying. Yes, we are a democracy where even a single person has the right to be heard. No, your right extends only so far as it does not trample upon mine.
Monday, March 14, 2011
Google Social Circle is a social mistake and violates privacy
And I do not like it. Not one bit.
It displays direct connections between me and my friends. That is, when I am logged into my Google account, it offers an "easy" central page to view profiles of all friends who are on my address book (or Chat) - and view content they have shared publicly or with me (Twitter, Flickr, etc).
Problem is, it also shows a list of "Secondary Connections" who are publicly associated with my direct connections. You could argue that i can already visit a friend's Google Profile page and then view a list of their publicly associated contacts on Buzz. Or that Twitter/Buzz/Flickr/FaceBook/WordPress/BlogSpot/their-own-domain are already on the public internet and you could track them down if you wanted to. But in practice, I doubt anyone other than contact harvestors and stalkers could have the conscience to do that.
As it stands, the Social Circle can strike out from just 64 contacts and show up 2510 secondary contacts. Short of email id itself, all the above and more are shown up. And shown up with a tracking line that shows which direct contact is a common friend. It is a lot like seeing a person's list of contacts right up front, with no effort at all.
That is scary, uncomfortable, and invasive of privacy. The least Google could have done (in the wake of the Google Buzz privacy fiasco) is to offer people a choice of whether they want to be shown up in such a list, and a choice of whether their "secondary connections" will be exposed on such lists. You can easily imagine sites/apps to pop up that make use of such a facility (or otherwise convert the HTML in some form into a usable API) and get users to sign in with their Google Account for access - Voila, instant personalized and demographic information!
Unlike FaceBook, where you add a friend knowing fully well that all your other friends can see the new addition, GMail contact lists are implicitly private. I explicitly signed on to FaceBook for social networking, and I explicitly knew that is not what I wanted my Gmail account to do - THAT is the CENTRAL DIFFERENCE. Chat/Buzz contacts may be visible to world but still some effort is required to scrape them, as against listing them ALL right up there. You could, at the least, opt out of Buzz, but with dependance on Google's services, how likely are you to shutdown your Google account in protest of this kind of a move by Google?
So yeah, bad BAD move, really evil, and leaving users feeling naked, is my opinion of Google Social Circle. Just leave me alone, give me back my privacy. In the future, take my permission before assuming it, even if you've been "graciously" offering me free services all along.
Friday, May 28, 2010
Hello ATI
Where the stingy Chennai vendor from whom I bought something was NOT the most bad thing to happen to me in the last one week. Maybe I need to eat more apples to keep the doctor away (but not the one that forms part of my family).
Maybe Nokia should also keep its service centres (or whoever has signed the contract to provide service on behalf of Nokia) open for longer. A mobile phone on the fritz is not pretty. A PSU (SMPS to some people) or processor fan or graphics cooler always smells nice when new. Oh, and hello ATI.
Friday, April 30, 2010
Farm - process, store and simplify data access
PC industry must use IEC standard for calculating storage
Friday, April 23, 2010
Fragile and precious
A neighbour-incident made me say this, is all I will say. End of post.
Saturday, March 14, 2009
Windows 7 Beta - annoying bugs
However, from what I've seen of the interim pre-RC builds, two bugs that annoy me the most don't seem to be fixed.
I've sent feedback reports earlier, but since they've not been fixed so far, bringing them out for public view and discussion just might help to fix it before public release (which is a good thing, negative buzz is better BEFORE release, than after, by when positive buzz really must overtake the negative).
The below reports are copy-pasted text:
In brief:
Browsing network shares is problematic, when these shares reside on a Linux-based SMB server.
How to reproduce:
Open the 'Run' dialog box, or MyComputer, and enter network path (eg: \\SMBSRV ).
Enter login and password, of a user that has rights to access the SMB server.
Now you can see all visible shares.
Click on any share - this will now make you wait for almost 45 seconds, while a green progress bar proceeds slowly ahead in the address bar.
Eventually the contents of the share appear, and you can use the files and folders as usual.
User Experience:
The long wait for viewing contents, happens frequently, almost every few minutes, and happens multiple times in a row. This happens when using Windows Explorer, or 3rd party file management tools, or during file operations by apps (Word, WMP, WinZIP,etc.). The only thing to do during such times seems to be to stop whatever I was doing for a few minutes and then continue.
Further Details:
The SMB server is running a fully updated CentOS (Linux).
I'd assume the shares are configured well, because I can access and use the same SMB shares perfectly well on Windows Vista and Windows XP, on the same PC.
Some others at my workplace don't seem to have the issue I mention on their installations of Windows 7 Beta, possibly because of different hardware.
The hardware used in this case is an Intel C2D processor, nVidia nForce 630i/7100 Motherboard, 2 GB DDR2 800MHz RAM. The NIC is detected as a generic Marvell Yukon 88E8056-based Gigabit Ethernet controller.
Drivers are usually updated quite frequently.
Network sharing seems to work fine in general with the same PC in question, while using using SMB shares residing on other Windows-based computers.
--------------------
In brief:
IE's 'Save As' file dialog box stops responding when trying to save.
How to reproduce:
Open Internet Explorer - open atleast 5 webpages in tabs - then open another tab with a webpage that has a lot of images or thumbnails.
Now, right-click on any image and click 'Save Picture As'. (or try to save the entire page)
In the 'Save As' dialog box that appears, navigate to any location (or Desktop folder).
Create a new folder, rename it, F5 to refresh view, then double-click on the newly created folder.
The logical next step is to click the 'Save' button and be done with it...
but the Save button is 'passive' and unclickable!
User Experience:
While the save button is unclickable, the Cancel button looks clickable, but clicking on it does nothing. Such cases usually bring up a "Not Responding" suffix on the title bar, but in this case nothing like that happens. The result is that I need to forcibly 'End Task' the IE window from task manager. Starting IE again, I am offered a choice of restoring open tabs, which brings back the pages I was visiting earlier, but the above bug will get replayed again if I try to save anything.
Further Details:
This seems to happen regardless of whether the Adobe Flash plugin is installed or not.
This happens to me on all the computers on which I have Windows 7 Beta1 installed.
This happens in the first few days, even before I start installing any 3rd party apps.
Beyond the first 2 weeks (i.e., after I start installing 3rd party apps, all new and compatible), the above problem loses its regularity, and happens off and on, not always. My attempts at trying to find which installed app seemingly fixes the issue, have been inconclusive so far.
Strange behaviour:
The above problem loses its severity when using 3rd party browsers - here's what happens on Opera, Firefox, K-Meleon, and Chrome:
- try saving page/image, it works 99% of the time
- once in a while the 'Save As' dialog box still freezes up
- the 'Cancel' button remains usable
- click the Cancel button once
- Voila! The 'Save As' dialog box comes back to life!
- now I can save files just fine, like always.
- but this kind of (strangely) mitigating solution does not work with IE, IE is still effectively crashed, if you call up a 'Save As' dialog box when a number of tabs are open.
Sunday, March 01, 2009
Not your momma's beta test!
So the entire world and the wild dogs of Madagascar have been "beta testing" Windows 7 these few months just prior to its release. And some were excited since the 6519 days... While it is indeed giving the kind of positive feeling that has not been seen since the Windows 2000 days, some concerns remain (I didn't take the name of WinXP because it was NOT received so well and if your memory tells you otherwise, it is either fickle or to be blunt, you simply weren't as involved back then).
One of my concerns now are those small bugs which considerably derail the "Windows 7 user experience" and haven't been covered in the Release Candidate build - I shall explain about these in another post. The other concern is that "Send Feedback" link you see on every window's title bar in the beta currently. Clearly the purpose of "beta testing" is not just so you can gloat on online forums? What happened to actually giving input? Input which lets the teams in charge of the product know where you are having issues? Come on people, just posting online that this or that behaviour in the beta annoys you isn't enough, you need to let the right people know! Don't apply patches that take away the "Send Feedback" link, because it exists to serve you in the end. Don't disable the CEIP either, if you can help it. MS does seem to listen, proven by the Office 2007 release (which broke a lot of conventional thinking with its innovations - facilitated by user research and input provided by people since the Office 2003 days, about which toolbars are used the most and in what way, which buttons need changing, how simplification was needed, etc.). If you don't give input now, don't complain later about the OS. Don't worry about whether your feedback will only be a seconding of a known bug. How many reports have you sent thus far?
And errr.... this is getting to be a bit repetitive, but yes I'm back... again!
Sunday, December 11, 2005
Google takes out your garbage for you!
I normally access email thru POP3.
Logged into Gmail webUI today, and imagine my shock when I suddenly found I was using far less space than I remember having used the last time (it'd been 2 months since I logged into web-interface).
The previous time, I had been using like 1200-odd MB of space, out of 2650 MB. And today it showed only 250 MB as "occupied" space.
The first thought was, does mail in "trash" not count towards your mailbox anymore?
But the nightmare was yet to come.
I looked at some new mails in the Inbox, then went to the trash folder..... where I saw.... NOTHING !!!!!!!!!!
WTF ??
It had all my mails that I ever received - right since August 2004. I had left them in there, as Gmail did not seem to empty the trash automatically. Many of the super-ancient mails in there were mails that I'd wanted to look into, at some point in the future. But they decided to empty out a year-and-a-half's worth of treasures without even notifying me about the step! My 32,000 mails - GONE!!!!!
Further blog-postings about this:
Gmail deletes trash
Google does some cleaning with Gmail mailboxes
Sunday, October 30, 2005
What is love?
When my grandmother got arthritis, she couldn't bend over and paint her toenails anymore. So my grandfather does it for her all the time, even when his hands got arthritis too. That's love.
Rebecca - age 8
When someone loves you, the way they say your name is different. You know that your name is safe in their mouth.
Billy - age 4
Love is when a girl puts on perfume and a boy puts on shaving cologne and they go out and smell each other.
Karl - age 5
Love is when you go out to eat and give somebody most of your French fries without making them give you any of theirs.
Chrissy - age 6
Love is what makes you smile when you're tired.
Terri - age 4
Love is when my mommy makes coffee for my daddy and she takes a sip before giving it to him, to make sure the taste is OK.
Danny - age 7
Love is when you kiss all the time. Then when you get tired of kissing, you still want to be together and you talk more. My Mommy and Daddy are like that. They look gross when they kiss.
Emily -age 8
Love is what's in the room with you at Christmas if you stop opening presents and listen.
Bobby - age 7 (Wow!)
If you want to learn to love better, you should start with a friend who you hate.
Nikka - age 6
Love is when you tell a guy you like his shirt, then he wears it everyday.
Noelle - age 7
Love is like a little old woman and a little old man who are still friends even after they know each other so well.
Tommy - age 6
My mommy loves me more than anybody. You don't see anyone else kissing me to sleep at night.
Clare - age 6
Love is when Mommy gives Daddy the best piece of chicken.
Elaine-age 5
Love is when Mommy sees Daddy smelly and sweaty and still says he is handsomer than Robert Redford.
Chris - age 7
Love is when your puppy licks your face even after you left him alone all day.
Mary Ann - age 4
I know my older sister loves me because she gives me all her old clothes and has to go out and buy new ones.
Lauren - age 4
You really shouldn't say 'I love you' unless you mean it. But if you mean it, you should say it a lot. People forget.
Jessica - age 8
Monday, September 06, 2004
Check out my forums
Check out my forums. Tried different hosts, found IPB's own hosting the best - and in any case, if I need any more disk-space it can be bought from them. Been fiddling with various forum software since 2 months, and registered at some free hosting services, and some paid forum-ing sites as well. I finally decided on the above.
Ha ha, you'd find some other forums that I setup on the way, before deciding on this one. Just register there and PM me if you need to contact me. Been testing this forum since some days. And I feel, it has now reached the stage that it can be announced to my readers. Its come out of beta, duh..
Deployment Central
And its not intended to rival the great forums - just gonna be a place to amuse myself and probably render some useful tips and ideas. Do register there if it appeals to you.
Sunday, August 29, 2004
Too verbose? don't complain
Well, this is a personal blog and I am entitled to being self-ingulgent. :P
Wednesday, August 25, 2004
clarification
finally I feel liberated
Well, I had abandoned all updating of my Windows Install material. The reasons were many - no new Service Packs from Microsoft, the existing CDs were pretty stable, I was testing WinXP's SP2, I'd to spend 2 weeks supporting a client who had only recently decided to upgrade his Microsoft-based server infrastructure, and so on........
Well, I'm done with all that now, and the excitement of WinXP SP2 has died down as far as I'm concerned - its really funny that everybody (and the media) is poking holes at it only now after it got released. It was supposed to be tested for compatibility with your apps and network long ago - from December, and those who didn't do their homework will suffer during the SP2 roll-out now. Anyways, MS has done the best they could to balance features with security/stability. I'm now moving officially to XPSP2 - I dumped all apps which had a problem with it, and either upgraded or used a competing offering.
Its gonna take me 4 days to be done with a new build of my customized WinXP CD (win2k/2k3 are still exactly where they are, LOL) - and then, we go ahead onwards to code a game level. That's quite a "free-bird" thingy - not nearly as much pressure as before. Cool! Let's see what happens.
I'm back....
I was off from here after having made my first post. Its been 3 months since then, and I even forgot that I'd made this blogging account here. Well I'm back now, and hopefully will be posting everyday. (regularly) Around 18:30 hours, GMT everyday should see a new update, on the happenings here. Let's see how many people hook onto my blog. :)