Showing posts with label Google Plus. Show all posts
Showing posts with label Google Plus. Show all posts

What are the next terms of this series?

Tuesday, November 29, 2011 | comments (38)

You have some term of a sequence and need more terms or a the general formula or the history about it. This is really useful if you are doing any online coding competitions such as Codejam , Topcorders  ...
 If you are participating in online coding competitions  or solving mathematical problems (Project Euler) involving sequences you may need this site. The site is
I found it useful when solving both online competitions as well as Project Euler problems. This can be used to generate more terms of a sequence which has few terms or the standard formula. It can also be used to generate audio files of the given sequence if you are analysing sound waves. Even though it says it is an Encyclopedia of Integers it can be used to other sequences as well. Use this link for more TIPS

How to hide, lock, invincible your files, folders or harddisks

Monday, November 28, 2011 | comments (1)

Everyone has certain files that s/he would rather keep private, especially guys. One of the ways to do that is to make such files hidden and bury them deep in the system files. The problem with such approach is that it’s not really convenient if you need to access those files on a regular basis.
So if you’re interested in something more convenient, here are some of the ways to keep “important” files or drives invisible hidden or locked.

1. Click “Start”, “Run,” and then type cmd. When the command prompt opens type “CD C:Test” (replace “Test” with the name of the folder you want to hide.)2. Now type “attrib file +s +h” and replace “file” with the name of the actual file name you would like to hide.3. Now, go back to C:Test and look for your file or folder, it’s not there! You cannot find it through simply browsing around, through the command prompt, or even if you click “Show Hidden Files and Folders”.4. To find the folder and its contents again simply go back to the command prompt, type “CD C:Test” (of course, again replacing “Test” with the name of the folder,) and then type “attrib filename -s -h”. You should now be able to find your file again!Method 2
This works both on Windows XP and Vista, not sure about other Win versions. What this will do is make selected folder invisble, not hidden. The folder will be only visible when you try to highlight it (see below). If you want to make sure that no one discovers it by chance then also move it to the corner of the screen.
Create a new folder.Rename: Highlight the folder and Click ‘F2' button. Hold the ‘Alt’ key and type in 0160 (you won’t see those 0160 numbers while typing them). Press Enter. Note, you have to use the numpad to enter these numbers.Change icon: Righ click the folder >> Properties >> Customize >> Change the icon >> Select the blank one >> Ok.
Method 3 (this is where it starts to get slightly more difficult)This method, unlike the previous one, hides an entire drive instead of individual files or folders:(Before you ever use the registry I HIGHLY RECOMMEND backing up your registry with a tool similar to Registry Tool or CCleaner. You may as well use a manual method similar to this.)1. Go to “Start,” “Run,” and type regedit.2. When the registry editor loads, navigate to: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
PoliciesExplorer3. Right click on “Explorer” and select “New” and “DWORD Value.”4. Name the value NoDrives and select “Decimal” as the base.5. In the value type the number that corresponds with the drive below:(E.g. If you would like to hide drive E, type 16. You may also hide multiple drives by adding the two numbers. E.g. If you would like to hide drives E and G, 16+64=80.)6. Now, after you restart your computer, you should not be able to see the drive.1. Create a folder in a drive for easy access, e.g. C:. (Name it something related to the Control Panel, e.g. Users.)2. Create a new file in Notepad and copy and paste the following into it:ren Users Users.{21EC2020-3AEA-1069-A2DD-08002B30309D}3. Replace “Users” with the name of the folder you created and save the file as loc.bat.(You should now be able to see your folder and the loc.bat file, with the loc.bat in the same directory as the folder Not in it.)4. Now, right-click and create another text file. Copy and Paste the following into it:ren Users.{21EC2020-3AEA-1069-A2DD-08002B30309D} Users
(Make sure to replace the word “Users” with the name of your folder.)6. Now you should see the loc.bat and the key.bat files in the same directory as the folder you created.7. Now, all you need to do is double-click on the loc.bat file and the folder should have an icon that looks like the control panel. If you click on the folder it should redirect you to the Control Panel and thus you have locked the folder.8. Of course, to unlock it, simply double-click on the key.bat file and the folder should turn back into the folder you first created.

Temporary Mail

| comments (1)

Ever wanted a quick, easily setup e-mail account when you suffer internet, when you register for services and still remaining your email account secure and avoid spamming from those sites? Then you are in need of a temporary or a disposable mail account.
There are two types of temporary mail accounts1.       Expires over time – you are given some time to use it and the inbox will be cleared after that time period.2.       Remains over time – all the mail to this accounts are remain irrespective of the time. ·         Use to log in to forums, decision groups, chat rooms and play around easily·         Some information on forums are hidden and only be seen to members. ·         Can be used as a secondary mail and even forward them to your mail. Well following listed are some of the first page hits I got from a simple Google search. There are thousands of free temporary mail providers on the internet. Just stick to a few so that you know how to get it done easily. These are the ones I use. All of them support reply, forward, and send message as the new mail account.You only need to enter the username and you will be taken to your mailbox. But use with caution. If anybody who know you email address can access to it. If you need a mail account not to be reset. This is a good choice.As the name implies it only available for 10 minutes. You can extend if you want. One advantage is that your are at the inbox of your gven a mail account as you enter the site. So no need to enter a user id.  Just copy it and you can use it.This can you used to forward mail from your new account to a account you specified for a given time period.

Create Windows Desktop Shortcuts easily with Handy Shortcuts

Friday, November 25, 2011 | comments (27)

Like to have shortcuts useful application on your desktop? Shortcut to Shut-down, Hibernate ...
Handy Shortcuts is a free portable app for Windows 7 and Windows Vista that can add up to 20 different Windows functions as shortcuts to your desktop. Simply download and run the executable file, then click > Create next to the Windows functions you wish to see as shortcuts on your desktop.
My favorite three shortcuts are:
Shutdown WindowsAdd and Remove ProgramSafely Remove HardwareOf cause you can add them using the a normal shortcut with the path to those applications if you are advanced user. But this will make your life easier.
Handy Shortcuts has been created by Ritesh Kawadkar for The Windows Club, and has been tested on Windows 7 & Vista, 32-bit & 64-bit. 

Custom Windows Keyboard Shortcuts

| comments (27)

 A quick tutorial you can use to add custom shotcuts to applications and actions you prefer. This is another step of making you a Keyboard Ninja. 

If you are interested in normal windows key strokes, you may want to look at my earlier post Windows Shortcut Keys. This is a quick tutorial on a application you can use to assign new keyboard shortcuts. The application is named "WinHotKey". You can download it from directedge.us.
WinHotKey allows you to assign "hot keys" that do various things. Actions that can be done with a hotkey are:
Launch a ProgramOpen a documentOpen a folderAutomatically type somethingControl other windows on the screen

Crafting Winning Solutions

Tuesday, November 22, 2011 | comments (3)

image A good way to get a competitive edge is to write down a game plan for what you're going to do in a contest round. This will help you script out your actions, in terms of what to do both when things go right and when things go wrong.
This way you can spend your thinking time in the round figuring out programming problems and not trying to figure out what the heck you should do next... it's sort of like precomputing your reactions to most situations.
Mental preparation is also important.
Read through ALL the problems FIRST; sketch notes with algorithm, complexity, the numbers, data structs, tricky details, ...
Brainstorm many possible algorithms - then pick the stupidest that works! DO THE MATH! (space & time complexity, and plug in actual expected and worst case numbers) Try to break the algorithm - use special (degenerate?) test cases Order the problems: shortest job first, in terms of your effort (shortest to longest: done it before, easy, unfamiliar, hard) Coding a problem - For each, one at a time:
Finalize algorithm Create test data for tricky cases Write data structures Code the input routine and test it (write extra output routines to show data?) Code the output routine and test it Stepwise refinement: write comments outlining the program logic Fill in code and debug one section at a timeGet it working & verify correctness (use trivial test cases) Try to break the code - use special cases for code correctness Optimize progressively - only as much as needed, and keep all versions (use hard test cases to figure out actual runtime) Have a plan for what to do when various (foreseeable!) things go wrong; imagine problems you might have and figure out how you want to react. The central question is: "When do you spend more time debugging a program, and when do you cut your losses and move on?". Consider these issues:
How long have you spent debugging it already? What type of bug do you seem to have? Is your algorithm wrong? Do you data structures need to be changed? Do you have any clue about what's going wrong? A short amount (20 mins) of debugging is better than switching to anything else; but you might be able to solve another from scratch in 45 mins. When do you go back to a problem you've abandoned previously? When do you spend more time optimizing a program, and when do you switch? Consider from here out - forget prior effort, focus on the future: how can you get the most points in the next hour with what you have? Have a checklist to use before turning in your solutions:
Code freeze five minutes before end of contest?
Turn asserts off. Turn off debugging output. Brute force it when you can KISS: Simple is smart! Hint: focus on limits (specified in problem statement) Waste memory when it makes your life easier (if you can get away with it) Don't delete your extra debugging output, comment it out Optimize progressively, and only as much as needed Keep all working versions! Code to debug: whitespace is good, use meaningful variable names, don't reuse variables, stepwise refinement, COMMENT BEFORE CODE. Avoid pointers if you can Avoid dynamic memory like the plague: statically allocate everything. Try not to use floating point; if you have to, put tolerances in everywhere (never test equality) Comments on comments: Not long prose, just brief notes Explain high-level functionality: ++i; /* increase the value of i by */ is worse than useless Explain code trickery Delimit & document functional sections As if to someone intelligent who knows the problem, but not the code Anything you had to think about Anything you looked at even once saying, "now what does that do again?" Always comment order of array indices Keep a log of your performance in each contest: successes, mistakes, and what you could have done better; use this to rewrite and improve your game plan! The fundamental basis of complexity analysis revolves around the notion of ``big oh'' notation, for instance: O(N). This means that the algorithm's execution speed or memory usage will double when the problem size doubles. An algorithm of O(N 2) will run about four times slower (or use 4x more space) when the problem size doubles. Constant-time or space algorithms are denoted O(1). This concept applies to time and space both; here we will concentrate discussion on time.
One deduces the O() run time of a program by examining its loops. The most nested (and hence slowest) loop dominates the run time and is the only one mentioned when discussing O() notation. A program with a single loop and a nested loop (presumably loops that execute N times each) is O(N 2), even though there is also a O(N) loop present.
Of course, recursion also counts as a loop and recursive programs can have orders like O(b N), O(N!), or even O(N N).
When analyzing an algorithm to figure out how long it might run for a given dataset, the first rule of thumb is: modern (2004) computers can deal with 100M actions per second. In a five second time limit program, about 500M actions can be handled. Really well optimized programs might be able to double or even quadruple that number. Challenging algorithms might only be able to handle half that much. Current contests usually have a time limit of 1 second for large datasets. 16MB maximum memory use 210 ~approx~ 10 3 If you have k nested loops running about N iterations each, the program has O(N k) complexity. If your program is recursive with b recursive calls per level and has l levels, the program O(b l) complexity. Bear in mind that there are N! permutations and 2 n subsets or combinations of N elements when dealing with those kinds of algorithms. The best times for sorting N elements are O(N log N). DO THE MATH! Plug in the numbers. A single loop with N iterations is O(N):
1  sum = 0
2  for i = 1 to n
3    sum = sum + i
A double nested loop is often O(N 2):
# fill array a with N elements
1 for i = 1 to n-1
2   for j = i + 1 to n
3     if (a[i] > a[j])
swap (a[i], a[j])
Note that even though this loop executes N x (N+1) / 2 iterations of the if statement, it is O(N 2) since doubling N quadruples the execution times.
Consider this well balanced binary tree with four levels:
clip_image001
An algorithm that traverses a general binary tree will have complexity O(2 N).
Programs that generate lots of possible answers and then choose the ones that are correct (imagine an 8-queen solver) are filters. Those that hone in exactly on the correct answer without any false starts are generators. Generally, filters are easier (faster) to code and run slower. Do the math to see if a filter is good enough or if you need to try and create a generator.
Sometimes it is helpful to generate tables or other data structures that enable the fastest possible lookup of a result. This is called precomputation (in which one trades space for time). One might either compile precomputed data into a program, calculate it when the program starts, or just remember results as you compute them. A program that must translate letters from upper to lower case when they are in upper case can do a very fast table lookup that requires no conditionals, for example. Contest problems often use prime numbers - many times it is practical to generate a long list of primes for use elsewhere in a program.
While there are fewer than 20 basic algorithms used in contest problems, the challenge of combination problems that require a combination of two algorithms for solution is daunting. Try to separate the cues from different parts of the problem so that you can combine one algorithm with a loop or with another algorithm to solve different parts of the problem independently. Note that sometimes you can use the same algorithm twice on different (independent!) parts of your data to significantly improve your running time.
Many problems have symmetries (e.g., distance between a pair of points is often the same either way you traverse the points). Symmetries can be 2-way, 4-way, 8-way, and more. Try to exploit symmetries to reduce execution time.
For instance, with 4-way symmetry, you solve only one fourth of the problem and then write down the four solutions that share symmetry with the single answer (look out for self-symmetric solutions which should only be output once or twice, of course).
Surprisingly, many contest problems work far better when solved backwards than when using a frontal attack. Be on the lookout for processing data in reverse order or building an attack that looks at the data in some order or fashion other than the obvious.
Some problems can be rephrased into a somewhat different problem such that if you solve the new problem, you either already have or can easily find the solution to the original one; of course, you should solve the easier of the two only. Alternatively, like induction, for some problems one can make a small change to the solution of a slightly smaller problem to find the full answer.
This post is take from USACO website. Original article can be found here

How to use a Proxy

| comments

 
Ever wanted to anonymously browse web, browse as you are in another country, watch TV series and Movies as they are telecasted , Get visitors for your blog around the world?
According to Wikipedia proxy is a computer network service that allows clients to make indirect network connections to other network services. When you open a web site it will get your IP address from which they can identify the country you are connecting from. Using a proxy you can change the country you are connecting from. ·         Access any restricted sites·         Watch TV series and movies available free on other countries (Some countries like USA, UK allow all their TV channels to be viewed online free for all the USA citizens.)·         Play with low pings on the game servers which are not in your country.·         Hide your identity from the site records·         Hide your identity from the network (Network administrator will not be able to track the pages you visit since you are using a tunnel to browse)·         Hide records on the machine (You can encode the web address and the other will not be able to understand them)·         To keep machines behind it anonymous (mainly for security)·         To speed up access to resources (using caching). Web proxies are commonly used to cache web pages from a web server. ·         To apply access policy to network services or content, e.g. to block undesired sites.·         To log / audit usage, i.e. to provide company employee Internet usage reporting.·         To bypass security/ parental controls.·         To scan transmitted content for malware before delivery.·         To scan outbound content, e.g., for data leak protection.·         To circumvent regional restrictions.Since we are connecting through another site, your security is not assured. These site may have system to record your details and it is recommended not use any login information on a site you accessed through a proxy!!This is mainly used to access web sites. You simply need to enter the web address on those sites and you will be taken in to that using through another site. This is a good solution if you only want to browse web using a proxy. Some proxy sites only allow html to be bypassed. So you videos and flash content will not be visible on the page. However there are some good proxies which allow all the content. You can find so many web proxies listing on the internet. Just search for Proxy on the internet. (Google search for web Proxies).This is the other option you can use. This will bypass all the network connection on the machine thorough a proxy. If you are have Windows Media Center or HULU desktop you can use this option to watch TV series online free. This is little complicated and the step you need to follow are below on the tutorial. There are 3 types of System proxies§  Transparent Proxy – IP address can be caught, such proxies usually used to increase internet speed and decrease amount of abroad traffic (some internet providers grant their user free local traffic).        Browse restricted sites you does not care about sharing your identity        Watch TV series. (This is a speed connection and will allows fast streaming but some sites identify this. Then use a anonymous proxy.) §  Anonymous Proxy – IP address can not be caught by server but server knows that proxy was used during connection. It is very useful to be anonymous surfing in internet .        Watch TV series if above fails §  Elite Proxy – IP address as well as fact that proxy was used during connection can not be caught by server. Best way to hide any information about you presence in internet.1.       Find a proxy server. It will be in the format of 192.145.164.124:8080. In that IP address 192.145.164.124 is the proxy and the 8080 is the port. (You can find proxy IP address on some sites. Use one of the following options. Google search for proxy. Proxy List.)2.       If you use windows machine, open internet explorer. Go to Tools-> Internet Options. You can go there using the control panel as well.3.       Go to Connections tab and click on the LAN settings button. On the new window tick on the last tick box and enter the proxy.4.       Click OK and Apply the settings and click OK on the parent window.·         When you set up the system proxy, you can browse web using IE or Chrome or any other software. (except firefox. If you want to use firefox go to its settings (Tools->Options) open Network Tab click Settings Button-> Select Use system proxy settings)·         Some proxies listed may not available all the time. If not try a new proxy.

Save and Retrieve Multiple Tabs on Browsers

Monday, November 21, 2011 | comments (1)

 Do you have a web browsing procedure? Sites that you visit everyday like facebook, gmail? Want to open them on different tabs every time you start your browser?  Or a list of sites you want to start at once?
This short tutorial will show you how to save and retrieve multiple tabs on you browser. This is really a useful feature. You might look for some details and you want to retrieve those tabs later you want them. This works irrespective of the browser you use.
Save Tabs 
Open the tabs you want and right click them and click Bookmark All Tabs. It will be saved on your bookmarks. You can add new bookmarks to that group as well.To retrieve just right click on the group and select Open All Tabs.
Save as Homepage
If you want a set of home pages to be open when the browser runs instead of the classical homepage, just add the list of URLs separated by a "|" or "%7C"

Watch 3D without Glasses

| comments (17)

3D is the new technology of the video. But they require you to wear expensive glasses to view them. Would you like to view 3D videos without glasses?As the topic suggest you do need to have 3D glasses to view 3D. So what do you need? Actually you don’t need anything except a colour display. :PBefore we continue here is a brief introduction to what we are doing. Strongly suggest you to read before you continue.
3D photography and videos also known as Stereo videos and photographs require two pictures, one for each eye. As the way you see real world objects. When you see real world objects you see the same image from both eyes but slightly different in angle due to difference in between eyes.As normal visual, in this 3D vision, the pictures must be presented to your eyes so that each eye sees only the picture intended for it. Generally two methods are used: Both methods require one to learn a new visual skill.Normally when we look at the "real" world, our eyes converge on an object in the scene and they also focus on that same object. We habitually do this, and our brains have become accustomed to a one-to-one correspondence between focus and convergence.We can learn to "unlock" focus and convergence, enabling us to view stereo pairs without optical aid. In this tutorial we use a display method which can be adapted to either parallel-eye viewing or crossed-eye viewing. Three pictures will be shown side by side. The middle one is to be viewed with the right eye. The other two are identical and one is to be viewed with the left eye. Here's how to view them.(1) Parallel viewing. This is sometimes called wall-eyed viewing. Use the left and middle pictures only. Look at a distant object then bring your eyes down to the paper trying not to converge or focus on the paper. You'll see a blurred double image. Consciously try to bring the double image into one. Now try to focus your eyes on it without allowing the two images to drift apart.Parallel viewing is limited to pictures about 2.5 inches wide, the spacing of the typical human eye (which averages 65 mm).(2) Cross eyed viewing. Use the right and middle pictures only. Hold your finger exactly halfway between your eyes and the page. Focus on your finger. Your eyes will be converged on the finger also, and you should be conscious of the two pictures out of focus behind your finger, but probably nearly coincident. Move your finger a bit until the two pictures are fully coincident. Now hold that convergence while refocusing from your finger to the page. Finally, you can remove your finger from the field of view.Crossed eyed viewing can be used with even larger pictures. Paintings have been presented this way. Salvadore Dali painted some of this kind. For those who can learn the skill of viewing, this is one of the most effective ways for viewing stereo without special glasses. (2) Mirror method. For completeness, we illustrate a method rarely used in printed books. Popular Photography magazine experimented with it for a while. One picture of the pair is printed normally, ad the other is printed beside it, but reversed left/right. That picture is viewed through a mirror which re-inverts it. We will not use that method here.  You can use the above techniques to view the below image
After all those stuff it is time to move into an actual image and feel the 3D. Below are some of the pictures I got from the internet. You can view them in 3D using cross eye technique.

You can find galleries of 3D images at You can find thousands of other sites where you can view 3D image gallery.When moving on to video, it is very tricky. But the methodology is the same. You can view them on all the techniques mentioned above. Youtube recently launched an their 3D videos and users can upload their 3D videos to youtube now. But before we watch them here is a video uploaded before youtube launched 3D.
It is time to switch to 3D mode in youtube. It is just 2 simple steps·         First go to Select 3D Mode on youtube. And select “View video with no 3D device”·         You are ready to view 3D. Try one of the following videos. (You will notice there is a new menu before the resolution menu on youtube lower panel when you are watching a 3D video)Here is a 3D video channel. You can search for more on youtube

How to Copy all Facebook photos to Google+

Sunday, July 24, 2011 | comments

I was searching for few days a good way to copy all the photos in Facebook to Google plus.There are few ways to do it. But I found a good website which allows to do it quick and easily. Here, you can easily move your photos in FB to Google+ You can also move your tagged photos.

primadesk.com screenshot
First visit  http://primadesk.com

And, checkout how to do this here https://www.primadesk.com/fbtogoogle.html


 
Support : Sanjaya Einy | Blogger Tricks Templatee
Copyright © 2011. Tips and Tricks NET - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Premium Blogger Template