Tuesday, April 07, 2009

LaTeX Tricks

In this post, I will publish all the little, helpful tricks that I have learnt while using LaTeX. I do not claim to be the owner of all the troubleshoots for I myself have searched for information on the Internet whenever required. I will keep on updating this post whenever I have new material to publish.



However, for a beginner to LaTeX, a little information on the source and necessary softwares might just prove to be handy. Here is a list of the tools which I use:




  • LaTeX Distribution: a complete setup of MikTeX 2.7 release. This is free and its frequently updated as well. So no hassles.

  • LaTeX Editor: I personally prefer LEd (http://www.latexeditor.org) over TeXnicCenter (http://www.texniccenter.org/). LEd's toolbar offering is more varied and is more easily accessible. LEd also provides a very good help lookup on LaTeX commands which is extremely handy at times of crisis. The only blip that I find in LEd is the look and feel. Both are free but updates are pretty infrequent. WinEdt is another good LaTeX editor but is a shareware.


  • Diagrams: For diagrams, I use XFIG on Windows (http://www.cs.usask.ca/~wew036/latex/xfig.html). The link provides detailed instructions on how to go about setting up the required environment for using XFIG. However, the interface and usage of XFIG might prove to be cumbersome for some users. You could also try out commercial Windows applications like SmartDraw which is, unsurprisingly, more user-friendly.

1) Usage of \centerline:


{\centerline{\Large{\textbf{Hello World! \\}}}}



Unless you end your text with a \\ or a \par, the effect of \centerline will not terminate. So if you wish to justify only a single line of text, then end your string with a \\ or \par.

2) Referencing of Figures
Sometimes a small oversight can lead to wrong referencing and bring a lot of trouble and hassle. To avoid this, make sure you follow the following two rules:
  1. Always define the label after the caption unless the style file says otherwise.
  2. Never use numbers in your label name, e.g., sdg1. This can lead to wrong reference numbers being generated for the remaining figures.
Technorati Tags:

Friday, March 30, 2007

IE 7.0 Easter Egg

There are hidden credits in version 7.0 of Microsoft Internet Explorer

Open Internet Explorer 7.0 and type in res://shdoclc.dll/wcee.htm then click Go.
When it loads, a black page appears. Right click and select View Source - it opens in Notepad.
Find in this text: gurjPRR. This will find 2 lines of text including If and DecodeStr. Highlight and delete them.
Now save this text file as: wcee[1].html
Open the HTML file you saved and it will show fast scrolling credits about the staff and developers who made IE 7.[1]

Source - Wikipedia

Thursday, September 07, 2006

Windows Media Player 11 Beta

Its creating quite a few problems for me. Especially when the CPU usage is high, the sound streaming is getting broken. Otherwise the interface is good, but it is very memory consuming.

KDiff3

Well this is my current target. I have now become more of a software reviewer. And I do a hell good job at that. My focus now is to try out KDiff3 and compare it with WinMerge. I was using WinMerge till now. So keep your hands crossed till I come out with my own report.

Windows Live Writer Beta

First of all I would like to mention that I am posting this through writer only. And the most important thing is its damn good.

It does support a lot of blog services and you can add a number of accounts and also switch between those accounts to post articles.

The interface is nice as well. Haven't come across any bugs as of yet. I have just started using it. And I implore all you bloggers out there to give it a try. Its free after all.

Python Editors

Two python editors which I use and do like them personally are PyScripter and Stani's Python Editor. I have just started using SPE and so won't be able to compare it with PyScripter. But you people can try out PyScripter, its good. And its always fun developing in Python. Right guys.

Monday, August 07, 2006

Interested in Windows code names?

If you are really interested in knowing various Microsoft product codenames, then just browse through this link

http://www.phm.lu/Documentation/Windows/Codenames.asp

A few headliners coming through

New Google feature flags dangerous sites

Google has begun alerting users whenever they click on a search result that may take them to a dangerous Web site. The new feature, which had been spotted earlier this week, goes live officially Friday, according to an announcement from The Stop Badware Coalition, which is collaborating with Google on this effort. The Stop Badware Coalition is a nonprofit organization led by Harvard University and the University of Oxford and backed by Google, Lenovo Group, and Sun Microsystems.

Source of this piece of info is http://www.infoworld.com/article/06/08/04/HNgoogleflags_1.html

AOL to Offer 5GB of Online Storage

AOL on Thursday(3rd August, 2006) announced it would begin offering all Web users 5GB of online storage through its Xdrive product, part of the company's new initiative to make its services available without cost. Through Xdrive, individuals can back up files like photos, documents, music, videos, and more. Users can even share files with others, as well as automatically upload e-mail attachments. A premium offering with 50GB of storage will be available to those needing more space for a fee that has yet to be announced.


Google has begun alerting users whenever they click on a search result that may take them to a dangerous Web site. The new feature, which had been spotted earlier this week, goes live officially Friday, according to an announcement from The Stop Badware Coalition, which is collaborating with Google on this effort. The Stop Badware Coalition is a nonprofit organization led by Harvard University and the University of Oxford and backed by Google, Lenovo Group, and Sun Microsystems.

Source of this piece of info is
http://www.betanews.com/article/AOL_to_Offer_5GB_of_Online_Storage/1154632737

Wednesday, June 21, 2006

Launchy is a more than useful tool

How nice it would be if there was a shortcut to a small exe you have developed and is placed in a quite inaccessible location like say d:\project\python\hihaha.exe. Sounds like a really good alternative for all those buffs who dislike using mouse

Then those of you are still interested and have carried on reading , try out lauchy, an open source key stroke launcher for windows.

Version 0.9.6 is available now. I have using Launchy for the past few months and am very fond of it. By default, Launchy indexes applications present in your start menu and provides easy access to it. You can also request it to index folders where you have kept your, say, .lnk, .exe files. You can also index .mp3, .doc files. And launch your favourite song , right here, right now!

Launchy is pretty lightweight (3 mb or so) and is very easy to use. Beautiful skins are also avaiable for Launchy. So feel tempted to give it a try. For more info, visit www.launchy.net.

Wednesday, May 31, 2006

Speeding up Mozilla Firefox

I have seen quite a few posts which talk about speeding up Mozilla Firefox by changing some configuration settings. Most of the posts are repetitive from the original source. And I too gladly continue the felony by posting tips to speed up your firefox browser. Most of the tips are commonplace and can be found on the Internet. I claim credit so far as to compile as much as I could and thought useful into one post. After all the efforts put in, maybe the desired improvement at your end is not much to brag about after all. [hi ha ha]

Type “about:config” into the address bar of your browser and hit return. Scroll and modify the following entries. All modifications might not produce desired results.
Press "b" to get to the Filter window.

If any of the following entries is not present and you are desperate to try it out, then right-click anywhere and select New-> Integer|Boolean|String and proceed.

user_pref("browser.cache.memory.capacity", 65536);// Prevent memory leak

user_pref("browser.display.show_image_placeholders", false);//To have images load like IE

user_pref("browser.xul.error_pages.enabled", true); // Instead of annoying error dialog messages, display pages

user_pref("config.trim_on_minimize", false);//Load quicker from a minimized state

user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 300000);
user_pref("content.notify.interval", 100000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 100000);

user_pref("general.smoothScroll", true);

user_pref("network.dnsCacheExpiration", 360);
user_pref("network.dnsCacheEntries", 100);
user_pref("network.dns.disableIPv6", true);
user_pref("network.ftp.idleConnectionTimeout", 60);
user_pref("network.http.connect.timeout", 30);
user_pref("network.http.keep-alive.timeout", 30);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 100);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.request.max-start-delay", 5);

user_pref("nglayout.initialpaint.delay", 100);//reduces the amount of time the browser waits before it acts on information it recieves. It should be lower for fast connections and higher(say 750) for slower (dial-up) connections.

user_pref("plugin.expose_full_path", true);//Show full path to plugins in about:plugins

user_pref("ui.submenuDelay", 0);//Speeds up submenus like Bookmarks


While all of what I have compiled above works on most systems I have tried personally, there is also a great tool called Firetune that you can download and use. Firetune lets you choose a mix of settings based on the speed of your computer and the speed of your internet connection.

Or, you can perform your own tweaks by creating your own user.js file with the above recommended settings. The user.js is just a text file in your profile folder and is used to change various preferences.

Before you go to configuration files, navigate to your profiles folder by typing %AppData% in "Run" and then go to "Mozilla\Firefox\Profiles\########.default". The file user.js does not exist by default, so you need to create it before you can start adding your preferences.

A few of the sources I referred to are Darrel Norton's post, Firefox Tweak Guide, Linux Journal article, few other blogs etc.

Monday, May 29, 2006

The 25 worst tech products of all time (according to a survey, not my own opinion)

Everyone keeps an eye on the Oscars but many of you do a peek at the Razzies and it is worth the fun.

It would be really interesting if there was something analogous in software industry also. Well not the same but near enough.

So if you want a list of the 25 worst tech products of all time (according to a survey, not my own opinion), then visit the following link -
http://news.yahoo.com/s/pcworld/125772

Happy Razzying!!!

Friday, May 26, 2006

Wednesday, May 03, 2006

About IE


Guys , those of you who are freaky about Microsoft and Internet Explorer, beware before you might land into false waters. Microsoft has released a new build of IE 7 Beta 2. Do try it out. And do have a peek at www.ieaddons.com. But for sure Microsoft is going by Firefox style.

And again do go through the article posted at http://www.microsoft.com/windows/ie/community/columns/intelligent_browsing.mspx

And this time Microsoft seems really serious about making their product safe, secure and more streamlined.

Though, the default search engine for IE 7 Beta 2 is MSN search. And Google has filed a complaint following this to EU.

Thursday, April 27, 2006

Comparison of Desktop Search Engines

In this particular article, I have tried to highlight features of various desktop search engines. Current desktop search engines include Google, Yahoo, Windows Desktop Search (WDS), Filehand, X1, Blinkx, HotBot by Lycos, Copernic and Mamma. Mamma is actually powered by copernic. Microsoft did buy out another competitor called Lookout.

If we leave out the search result efficiency then maybe the following will be key points while selecting a particular engine over the other.

Everyone is mad about google products , and I feel is sometimes overhyped , and a perfect example is Google's Desktop Search.

I have used WDS, Google and Copernic. I haven't used the other products listed here.

Google's product is good and perhaps holds the maximum share amongst end-users. But I did like WDS and Copernic. WDS is really good and its memory constraints are similar to that of Google. Copernic on the other hand is really lightweight on memory and cool. It has got options to start indexing when resources are available and similarly automatically stops indexing when your system is short on resources.

While indexing, status messages are most detailed in Copernic.

Good thing about X1 is that it can index certain types of Adobe specific documents like .ai and also index Eudora and Netscape emails. Another vantage point is an active support forum which comes with an RSS feed. This also holds good for HotBot and blinkx.

As for look and feel and interfaces are concerned I think Copernic and WDS scores very highly over google. I won't be able to comment on HotBot, Blinkx or X1.

But WDS has currently a few open bugs. WDS scans outlook mails and uses notifications to communicate and synchronize new mails. It is reported that Outlook 2000 crashes everytime while exiting if WDS is installed. And Outlook 2003 crashes intermittently. I have experienced this personally.

In a few reviews performed by various organizations , I found that they have preferred Copernic and X1. But keep in mind that the surveys that I am talking about were done before WDS was released.

It would be really nice if someone else is able to point out other major differences between the various desktop search engines availabe right now. It might just give a proper insight and help future users to choose the most effective one instead of the most overhyped one.

Friday, April 21, 2006

Nice work, Seagate!!!

Seagate documents have leaked out the two 750GB 7200.10 Barracuda hard drives. The drives are the first desktop hard drives to use perpendicular recording, feature a 16MB cache and 7200RPM spindle.

Yahoo rolls out new web-mail service in 5 years

Yahoo has rolled out a new Web-based mail service that the company hopes will provide a richer and more dynamic experience for e-mail users. Yahoo launched the new beta version on Wednesday in partnership with AT&T.

Among other features, the service offers users drag-and-drop e-mail organization and an integrated Really Simple Syndication (RSS) reader that provides easy access to breaking news, blog entries, and other feeds directly through the e-mail interface.

The upgraded service is currently available only for AT&T Yahoo broadband and dial-up subscribers.

The beta marks the most significant upgrade in Yahoo's mail interface in five years. As with previous incarnations of Yahoo Mail, the new version is browser-based and universally accessible from any Internet-connected computer.

With tabbed navigation, the new interface is designed to make viewing multiple e-mails at the same time a snap. Comprehensive search of e-mail headers, bodies, and attachments should make finding stored e-mail easier.

The service also provides the option of using keyboard shortcuts and right-click menus.

"This beta version of AT&T Yahoo Mail gives people a faster and more dynamic way to experience their e-mail, yet it continues to offer the same features they rely upon today: great antispam and virus protection, tons of storage, it's all there," said Ethan Diamond, director of product development at Yahoo Mail.

Friday, March 10, 2006

Electronic Reusable Paper


I "Stumbled" upon this article and found it interesting enough to paste it over here.
Go through it slowly, the future lies here.

Electronic reusable paper is a display material that has many of the properties of paper. It stores an image, is viewed in reflective light, has a wide viewing angle, is flexible, and is relatively inexpensive. Unlike conventional paper, however, it is electrically writeable and erasable. Although projected to cost somewhat more than a normal piece of paper, a sheet of electronic reusable paper could be re-used 1000s of times. This material has many potential applications in the field of information display including digital books, low-power portable displays, wall-sized displays, and fold-up displays.

Electronic reusable paper utilizes a display technology, invented at the Xerox Palo Alto Research Center (PARC), called "Gyricon." A Gyricon sheet is a thin layer of transparent plastic in which millions of small beads, somewhat like toner particles, are randomly dispersed. The beads, each contained in an oil-filled cavity, are free to rotate within those cavities. The beads are "bichromal," with hemispheres of two contrasting colors (e.g. black and white, red and white), and charged so they exhibit an electrical dipole. When voltage is applied to the surface of the sheet, the beads rotate to present one colored side to the viewer. Voltages can be applied to the surface to create images such as text and pictures. The image will persist until new voltage patterns are applied.

There are many ways an image can be created in electronic reusable paper. For example, sheets can be fed into printer-like devices that will erase old images and create new images. Printer-like devices can be made so compact and inexpensive that you can imagine carrying one in a purse or briefcase at all times. One envisioned device, called a wand, could be pulled by hand across a sheet of electronic reusable paper to create an image. With a built-in input scanner, this wand becomes a hand-operated multi-function device -- a printer, copier, fax, and scanner, all in one.

For applications requiring more rapid and direct electronic update, the Gyricon material might be packaged with a simple electrode structure on the surface and used more like a traditional display. An electronic reusable paper display could be very thin and flexible. A collection of these displays could be bound into an electronic book. With the appropriate electronics stored in the spine of the book, pages could be updated at will to display different content.

For portable applications, an active matrix array may be used to rapidly update a partial- or full-page display, much like what is used in today's portable devices. Gyricon displays don't require backlighting or constant refreshing, and are brighter than today's reflective displays. These attributes will lead to Gyricon's utilization in lightweight and lower-power applications.

Research into electronic reusable paper and its applications is continuing at Xerox PARC. Xerox is also pursing commercialization opportunities through the Xerox Venture Laboratory.

Wednesday, February 15, 2006

Already thinking about Windows Vista........Go through this !

I got this article on the Web(www.news.yahoo.com) and have reproduced it without any changes. So all the views expressed over here are solely that of the author.

Michael Desmond writes about technology from his home in Colchester, Vermont. He writes :

Unless you've been living under a rock for the past few months, you probably know that the latest version of Windows--called Vista--is due to hit store shelves later this year (in time for the holidays, Microsoft tells us). The successor to
Windows XP offers a little something for everyone, from eye-catching graphics and new bundled applications to more-rigorous security. In fact, there is so much in the new operating system that it can be tough to get a handle on it all.
ADVERTISEMENT

I've been noodling around with a recent beta version of Windows Vista (Build 5270) and had a chance to make some observations. While the sleek new look and polished interface caught my eye, it's what's under the covers that impressed me most. Microsoft's done a great job of improving security across the board. Things like Windows and spyware library updates are streamlined, and I definitely appreciate the more robust Backup software.

Still, there's plenty of unfinished work left to do. Internet Explorer 7 struggled to properly render some Web pages, and I found local network connectivity to be a hit-or-miss affair. And then there's the stuff that isn't even in there yet--like the intriguing Windows Sidebar, which will put real-time weather info, stock quotes, system status, RSS feeds, and other information on the display.

So during my time with Windows Vista, I kept an eye out for the reasons I--and you--might ultimately want to lay my hands on the new OS when it's available. And frankly, if you buy a new Windows-based PC at the end of this year or any time in, say, the next five years, you'll probably end up with Vista by default.

Keep in mind, this is based solely on my experience with prerelease software (and a whole new beta could be out by the time you read this). Features get tweaked, they come and go, but from what we can tell, Vista is now starting to harden into the product that will be running many, many desktops for the foreseeable future. And by and large, that's a good thing.

Here's what to be excited about:

1. Security, security, security: Windows XP Service Pack 2 patched a lot of holes, but Vista takes security to the next level. There are literally too many changes to list here, from the bidirectional software firewall that monitors inbound and outbound traffic to Windows Services Hardening, which prevents obscure background processes from being hijacked and changing your system. There's also full-disk encryption, which prevents thieves from accessing your data, even if they steal the PC out from under your nose.

Perhaps most crucial (and least sexy) is the long-overdue User Account Protection, which invokes administrator privileges as needed, such as during driver updates or software installations. UAP makes it much more convenient for users to operate Vista with limited rights (meaning the system won't let them do certain things, like load software, without clearance from an administrator). This in turn limits the ability of malware to hose your system.

2. Internet Explorer 7: IE gets a much-needed, Firefox-inspired makeover, complete with tabbed pages and better privacy management. There's also the color-coded Address Bar that lets you know if a page is secured by a digital key, or, thanks to new antiphishing features, if it's a phony Web site just looking to steal information about you.

These features will all be available for Windows XP users who download IE7. But Vista users get an important extra level of protection: IE7 on Vista will run in what Microsoft calls "protected mode"--a limited-rights mode that prevents third-party code from reaching your system. It's about darn time.

3. Righteous eye candy: For the first time, Microsoft is building high-end graphics effects into Windows. The touted Aero Glass interface features visually engaging 3D rendering, animation, and transparencies. Translucent icons, program windows, and other elements not only look cool, they add depth and context to the interface. For example, hover your cursor over minimized programs that rest on the taskbar and you'll be able to see real-time previews of what's running in each window without opening them full-screen. Now you can see what's going on behind the scenes, albeit at a cost: You need powerful graphics hardware and a robust system to manage all the effects.

4. Desktop search: Microsoft has been getting its lunch handed to it by Google and Yahoo on the desktop, but Vista could change all that. The new OS tightly integrates instant desktop search, doing away with the glacially slow and inadequate search function in XP. Powerful indexing and user-assignable metadata make searching for all kinds of data--including files, e-mails, and Web content--a lot easier. And if you're running Vista on a Windows Longhorn network, you can perform searches across the network to other PCs.

5. Better updates: Vista does away with using Internet Explorer to access Windows Update, instead utilizing a new application to handle the chore of keeping your system patched and up-to-date. The result is quicker response and a more tightly streamlined process. The update-tracking mechanism, for instance, is much quicker to display information about your installation. And now key components, such as the Windows Defender antispyware module, get their updates through this central point. Like other housekeeping features, a better Windows Update isn't a gee-whiz upgrade, but it should make it easier--and more pleasant--to keep your PC secure.

6. More media: Over the years, one of the key reasons to upgrade versions of Windows has been the free stuff Gates and Company toss into the new OS, and Vista is no exception. Windows Media Player (perhaps my least favorite application of all time) gets a welcome update that turns the once-bloated player into an effective MP3 library. The Windows Photo Gallery finally adds competent photo-library-management functionality to Windows, so you can organize photos; apply metatags, titles, and ratings; and do things like light editing and printing. The DVD Maker application, which was still very rough when I looked at it, promises to add moviemaking capabilities--along the lines of Movie Maker--to the operating system. There are even some nice new games tucked into the bundle.

7. Parental controls: Families, schools, and libraries will appreciate the tuned-up parental controls, which let you limit access in a variety of ways. Web filtering can block specific sites, screen out objectionable content by selected type, and lock out file downloads. You can also restrict each account's access by time of day or day of the week. As a dad, I can tell you this will be great for keeping kids off the PC while you're at work, for instance. You can even block access to games based on their Entertainment Software Rating Board ratings.

8. Better backups: When Windows 95 first came out, the typical hard disk was, maybe, 300MB in size. Today, desktops routinely ship with 300GB or 400GB hard drives. And yet, the built-in data-backup software in Windows has changed little in the past decade. Windows Vista boasts a much-improved backup program that should help users avoid wholesale digital meltdowns. Microsoft also tweaked the useful System Restore feature--which takes snapshots of your system state so you can recover from a nasty infection or botched software installation.

9. Peer-to-peer collaboration: The Windows Collaboration module uses peer-to-peer technology to let Vista users work together in a shared workspace. You can form ad hoc workgroups and then jointly work on documents, present applications, and pass messages. You can even post "handouts" for others to review.

10. Quick setup: Beta code alert: There are some Vista features I hope dearly for even though they haven't been built yet. This is one of them. Jim Allchin, Microsoft's co-president, says that Windows Vista boasts a re-engineered install routine, which will slash setup times from about an hour to as little as 15 minutes. Hurray! The new code wasn't in the beta version of Vista that Microsoft sent to me--my aging rig took well over an hour to set up--so I'll believe it when I see it. Still, any improvement in this area is welcome.
Five Things That Will Give You Pause

All this is not to say that Vista is a slam-dunk and everyone should be running out to buy it as soon as Microsoft takes the wraps off. Heck, Windows XP has developed into a fairly stable, increasingly secure OS. Why mess with that?

Yes, during my time with Vista, I've found more than enough features to get excited about--features that will make a sizable chunk of Windows users want to upgrade. So why would anyone in their right mind stick with what they've got? Here are a few reasons:

Pay that piper: Vista is an operating system. It's the stuff your applications run on. But it'll cost $100 or more to make the switch. Unless you're buying a new PC and starting from scratch, you may be better off saving the money for something else.

Where's my antivirus?: For all the hype about security in Windows Vista, users may be disappointed to learn that antivirus software will not be part of the package. There's every indication that an online subscription service--possibly under the OneCare rubric--will offer antivirus protection to Vista users down the road. But for the time being, you'll need to turn to third-party companies like Symantec, McAfee, Grisoft, and others for virus protection.

Watch that hourglass: Vista is a power hog. Unless you have a top-end PC with high-end graphics hardware, for instance, you won't see one of the coolest parts of the new OS--the Aero Glass interface. Microsoft did the smart thing by offering Aero Basic and Windows Classic looks as well, which will let older and slower PCs run Vista. It just won't look as pretty.

Curse the learning curve: Microsoft has already ditched some aggressive ideas--such as the whole "virtual folders" thing--because the concepts proved too confusing for users. Even so, you'll find that the new Windows changes a lot of old tricks, and not always for the better. Heck, it took me almost five minutes to find the Run command, which used to show up right in the Start menu. And many users may struggle with the new power scheme, which defaults to putting the PC into hibernation rather than shutting down. I know it frustrated me the first time I wanted to power down the system to swap out a disk drive.

Meet the old boss, same as the new boss: Microsoft has added lots of new stuff to Vista, but some features are just warmed-over fare. Windows Mail is nothing more than a rebranded Outlook Express, and Windows Defender is simply an updated version of Microsoft AntiSpyware.

So keep your eyes peeled for future previews of Vista. It may not be perfect (what software is?), but in a lot of ways, it's a giant leap forward.

My turn: Hope this helps you!