tag:blogger.com,1999:blog-274544352024-03-05T14:27:16.112-08:00IndianHippyAshok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.comBlogger204125tag:blogger.com,1999:blog-27454435.post-36248990906516140152020-03-01T19:06:00.002-08:002020-03-01T19:56:18.744-08:00Subset with minimum length from an integer array that gives a given sum<div dir="ltr" style="text-align: left;" trbidi="on">
In a given integer array finding subset with minimum elements that gives a sum.<br />
For example in the given integer array <br />
<br />
<span style="color: #073763;"><i>{110,13,21,31,64,12,6,7,99,10,23}</i></span><br />
<br />
what are the subsets with minimum number of elements with sum 100. Following is the answer.<br />
<br />
<span style="color: #073763;"><i>7 is the mimimum number of elements in a subset with sum 100<br />Subset:[31, 6, 7, 10, 12, 13, 21]</i></span><br />
<br />
/*<br />
* Author: Ashok Kumar Chava<br />
*/<br />
import java.util.ArrayList;<br />
import java.util.Arrays;<br />
import java.util.List;<br />
<br />
public class SubsetFinder {<br />
public static void main(String s[]) {<br />
int arr[]={110,13,21,31,64,12,6,7,99,10,23};<br />
int k=100;<br />
boolean found=false;<br />
Arrays.sort(arr);<br />
System.out.println("Input array after sorting:"+Arrays.toString(arr));<br />
for(int i=1;i<arr.length;i++) {<br />
ArrayList<Integer> subSet=SubsetFinder.subSetFinder(arr,i,k);<br />
if(subSet!=null&&subSet.size()>0) {<br />
System.out.println(i+ " is the mimimum number of elements in a subset with sum "+k);<br />
System.out.println("Subset:"+subSet);<br />
found=true;<br />
break;<br />
}<br />
}<br />
if(found!=true) {<br />
System.out.println("There are no subsets that gives the sum "+k);<br />
}<br />
}<br />
public static ArrayList<Integer> subSetFinder(int[] arr,int subSetSize, int sum) {<br />
ArrayList<Integer> subList=new ArrayList<Integer>();<br />
<br />
for(int i=0;i<arr.length;i++) {<br />
subList=new ArrayList<Integer>();<br />
subList.add(arr[i]);<br />
int tempSum=arr[i];<br />
int goBack=0;<br />
if(tempSum==sum) {<br />
return subList;<br />
<br />
}<br />
for(int j=0;j<arr.length&&subList.size()<subSetSize;j++) {<br />
if(i!=j&&!subList.contains(arr[j])) {<br />
tempSum=tempSum+arr[j];<br />
subList.add(arr[j]);<br />
}<br />
if(tempSum==sum&&subList.size()==subSetSize) {<br />
<br />
return subList;<br />
<br />
}else if(tempSum!=sum&&subList.size()==subSetSize){<br />
if(j%subSetSize==0) {<br />
goBack=1;<br />
}else {<br />
goBack=j%subSetSize;<br />
}<br />
tempSum=tempSum-subList.get(subList.size()-(goBack));<br />
subList.remove(subList.size()-(goBack));<br />
}<br />
}<br />
}<br />
return null;<br />
}<br />
}</div>
Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-75849205496745768752016-07-13T21:43:00.001-07:002016-07-13T21:45:46.358-07:00Writing java client for Mongo DB<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Following are the steps<br />
1) Create a java project in one of the IDEs. I have used Eclipse.<br />
2) Then add following libraries to the classpath<br />
mongodb-driver-3.2.2.jar<br />mongodb-driver-3.2.2-javadoc.jar<br />bson-3.0.2.jar<br />mongodb-driver-async-3.2.2.jar<br />mongodb-driver-core-3.2.2.jar<br />mongo-java-driver-3.2.2.jar<br />
All these libraries can be downloaded from the link <a href="https://mongodb.github.io/mongo-java-driver/">here</a>. If you like you can very well use maven instead of downloading. <br />
3) Write a simple client code <br />
<i>import org.bson.Document;<br />import com.mongodb.MongoClient;<br />import com.mongodb.client.FindIterable;<br />import com.mongodb.client.MongoCollection;<br />import com.mongodb.client.MongoCursor;<br />import com.mongodb.client.MongoDatabase;<br />public class MongoDBClient {<br /> public static void main(String[] args) throws Exception{<br /> MongoClient client = new MongoClient("localhost", 27017);<br /> MongoDatabase testDB = client.getDatabase("test");<br /> <br /> System.out.println("Dropping person collection in test database");<br /> MongoCollection<Document> collection = testDB.getCollection("person");<br /> collection.drop();<br /> System.out.println("Adding a person document in the person collection of test database");<br /> Document person = new Document("name", "Ashok Kumar Chava").append("age", 35).append("job", "none");<br /> <br /> collection.insertOne(person);<br /> person = new Document("name", "Advik Chava").append("age", 7).append("education", "PG");<br /> collection.insertOne(person);<br /> System.out.println("Now finding a persons using find");<br /> FindIterable<Document> persons = collection.find();<br /> MongoCursor<Document> personList=persons.iterator();<br /> while(personList.hasNext()){<br /> person=personList.next();<br /> System.out.printf("Person found, name is %s and age is %s education is %s job is %s\n", person.get("name"),<br /> person.get("age"), person.get("education"), person.get("job"));<br /> }</i><br />
<i> System.out.println("Closing client");<br /> client.close();<br /> }</i><br />
<i>}</i><br />
4) Following will be the output of the above code<br />
<i>Adding a person document in the person collection of test database<br />Now finding a persons using find<br />Person found, name is Ashok Kumar Chava and age is 35 education is null job is none<br />Person found, name is Advik Chava and age is 7 education is PG job is null<br />Closing client</i><br />
5) As you can see in the above code I have created a person Document and added few key values details to the Document. Also if you observe for the first person I completly ignored the eduction key value and for the second one I completely ignored the job key value. Then I am able to retrieve the values.<br />
In the next section I will do some thing little more complicated.</div>
Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-82354444757493784332016-07-12T21:26:00.001-07:002016-07-12T21:26:02.765-07:00Learning MongoDB - 1<p> <p>MongoDB is a document oriented NOSQL DB. MongoDB supports linear scalability. <p><strong>What is NOSQL DB?</strong> <p>In simple words nosql is nothing but non sql or non relational. Basically nosql DB allows storing and retrieving of non relational or tabular data. So this is quite opposite of what oracle and other RDBMS does. <p><strong>Why we need NOSQL DB?</strong> <p>You can find lot of information in this <a href="https://www.mongodb.com/nosql-explained">page</a>. <p><strong>What is linear scalability?</strong> <p>Scalability is nothing but capacity of the system,network or process to handle more work. Linear scalability mens increase of the capcity of the syetem,process or network by adding more hardware instead of making changes at the code level. <p><strong>What are the types of NOSQL DBs?</strong> <p>There are multiple types of NOSQL DBs like key-value stores, <a href="https://www.mongodb.com/document-databases">document databases</a>, wide-column stores, and graph databases. <p><strong>Where to download MongoDB for learning?</strong> <p>You can download it from this <a href="https://www.mongodb.com/dr/fastdl.mongodb.org/win32/mongodb-win32-x86_64-3.2.8-signed.msi/download">link</a>. <p><strong>Installing the mongoDB on windows?</strong> <p>Just double click the downloaded file and follow the instructions. <p><strong>Starting mongoDB?</strong> <ul> <li>First create a data folder for mongoDB. I have created mine as D:\MongoDB\data</li> <li>Also create a log folder mine is like D:\MongoDB\logs</li> <li>Create a config file under install directory, simple config file D:\MongoDB\Server\3.2\bin\first.cfg looks like </li></ul> <blockquote> <p>systemLog:<br> destination: file<br> path: D:\MongoDB\logs\mongod.log<br>storage:<br> dbPath: D:\MongoDB\data</p></blockquote> <ul> <li>Start MongoDB by going to command prompt and to the directory D:\MongoDB\Server\3.2\bin, there execute the command </li></ul> <blockquote> <p>mongod –config first.conf</p></blockquote> <ul> <li>Check the log file to see if the mongod started propertly you should be seeing a message like “waiting for connections on port 27017”.<br></li></ul> <p><strong>Connecting to MongoDB?</strong></p> <p>Execute the command “mongo” you will see the follwing prompt</p> <p>D:\MongoDB\Server\3.2\bin>mongo<br>2016-07-13T09:44:22.613+0530 I CONTROL [main] Hotfix KB2731284 or later update is installed, no need to zero-out data files<br>MongoDB shell version: 3.2.7<br>connecting to: test<br>Welcome to the MongoDB shell.<br>For interactive help, type "help".<br>For more comprehensive documentation, see<br> <a href="http://docs.mongodb.org/">http://docs.mongodb.org/</a><br>Questions? Try the support group<br> <a href="http://groups.google.com/group/mongodb-user">http://groups.google.com/group/mongodb-user</a><br>></p> <p>Also the DB can be accessed using <a title="http://localhost:27017/test" href="http://localhost:27017/test">http://localhost:27017/test</a></p> <p>This is end of part 1.</p> <p>Next part covers programatic way to connect to MongoDB.</p> <p> </p> <p><br></p> <p> </p> <blockquote> <p> </p> <div align="left"> </div></blockquote>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-32723054452229460902015-06-29T21:51:00.001-07:002015-06-29T21:51:54.310-07:00Android App Math Tables Skill Tester for Kids<div dir="ltr" style="text-align: left;" trbidi="on">
A very simple app that helps kids to test their math table skills. I have created this app for my son, try this and let me know what you think of this app<br />
<br />
https://drive.google.com/file/d/0Bx6AtshoCkDjUHVGeFYtaTRRSHc/view?usp=sharing</div>
Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-33761985865868427452014-03-12T21:12:00.001-07:002014-03-12T21:12:12.330-07:00New parties in AP<p>I don't understand why people launching parties in AP, after election notification issued. I guess they are not hoping to come to power for sure, but for something else. Kiran party is just there for splitting TDP votes and give benefit to Jagan&Congress. after election simply they are going to merge into congress. <p>I even know the line they will use at the time of merger, "As the state already split into to two, we think only a national party can do good for newly formed state" <i></i><i></i> <p>Hope voters understand the purpose of these parties, and make a wise decision. :) :)</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-66296745550245280062014-01-02T08:09:00.001-08:002014-01-02T08:09:08.564-08:00AAP’s success should only be the first step in new Indian politics.<p>Today AAP won confidence vote in assembly and now we all are eagerly waiting to see what difference they are going to make in politics. I hope people of this country and media will be patient with them, as they are the only hope we got in our corrupted and rotten political system. They should be given benefit of doubt in every aspect and should not be judged on daily basis, as now a days media is doing. At the same time AAP should restrain themselves from promoting a sponsor state instead they should concentrate on empowering people to fulfill their needs. </p> <p>Hope all goes well with AAP and for all of us. This new year brings a new change to all of us.</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-5556359066412675322013-07-31T08:12:00.001-07:002013-07-31T09:13:11.382-07:00Is Telangana state good for Telangana people?<p>First of all these are my personal opinions. I could be totally wrong with my predictions and in fact a lot of times I am wrong with my predictions.</p> <p>So now is Telangana good for Telangana people? In simple words it may not be going to be as good as the politicians are trying to project it. Few reasons</p> <p>- The GDP is going to be less than 50% of the existing combined state. So it may be difficult to fund all the existing schemes like aarogyasri.</p> <p>- Immediate new investments to the Hyderabad going to be tough task. Creating new jobs in the state of Telangana for Telangana people is going to be a uphill task. </p> <p>- Politicians promised a lot of things to Telangana people as part of making them participate in the movement, a lot of those promises are not even feasible like providing lot of govt. jobs. This may lead to unrest in the state. This may also lead to new lease of life to naxalism in the state.</p> <p>- You love him or hate him KCR is the hero of the new Telangana state. He may now change his plan to merge his party with congress. In that case too many political forces in Telangana will lead to lot of instability, which I think is not going to be good for a new state. </p> <p>- If TRS merged into congress, then BJP is going to improve voter base in the new Telangana state and that may lead to new conflict between BJP and MIM. May be lot of communal issues.</p> <p>- I think its going to be a tough task to control hate politics against Andhra people in Telangana. One hate crime against other region people can screw up new state’s future.</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com2tag:blogger.com,1999:blog-27454435.post-28880241989545687122013-07-24T11:25:00.001-07:002013-07-31T09:13:11.332-07:00Wow..... beat this<p><a href="http://ibnlive.in.com/news/35-google-chromecast-streams-online-video-music-images-to-your-tv/409196-11.html">$35 Google Chromecast streams online video, music, images to your TV</a></p><blockquote>Alongside the launch of the second-generation Nexus 7 tablet on Wednesday in San Francisco, Google also announced a 2-inch Chromecast device that lets you bring content from your different devices on to your TV. The Chromecast dongle that connects to an HDTV via USB is priced at $35. Users need to plug in the dongle to their high-definition (HD) TV and it allows them to use their phone, tablet or laptop to "cast" online content to their TV screens. It currently works with Netflix, YouTube, Google Play Movies and TV, and Google Play Music. Google says more apps such as Pandora are coming soon. Wit Chromecast you can use your phone, tablet or laptop to browse and cast content to your TV, play and pause, control the volume. With the content streaming, you can also multitask - send emails or surf the web - while enjoying what is on the TV screen.</blockquote>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-33469971721441751882013-07-11T23:22:00.001-07:002013-07-31T09:13:11.336-07:00See what you can do with internet, other than posting pictures of yourself<iframe height="315" src="//www.youtube.com/embed/g-ycQufrgK4" frameborder="0" width="560" allowfullscreen></iframe> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-68705623486468985652013-07-01T21:57:00.001-07:002013-07-31T09:13:11.424-07:00A different prospective on political systems<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:c55941c3-2d14-42d0-9369-7dbfb6e879c7" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><div id="09b7e780-987d-4715-a77e-08431baae428" style="margin: 0px; padding: 0px; display: inline;"><div><a href="http://www.youtube.com/watch?v=s0YjL9rZyR0" target="_new"><img src="http://lh5.ggpht.com/-eoGDd38fcR8/UdJd0C0GwgI/AAAAAAAAJEY/q1dlX6VpECQ/video9fdfe1a6ad54%25255B3%25255D.jpg?imgmax=800" style="border-style: none" galleryimg="no" onload="var downlevelDiv = document.getElementById('09b7e780-987d-4715-a77e-08431baae428'); downlevelDiv.innerHTML = "<div><object width=\"425\" height=\"355\"><param name=\"movie\" value=\"http://www.youtube.com/v/s0YjL9rZyR0&hl=en\"><\/param><embed src=\"http://www.youtube.com/v/s0YjL9rZyR0&hl=en\" type=\"application/x-shockwave-flash\" width=\"425\" height=\"355\"><\/embed><\/object><\/div>";" alt=""></a></div></div></div> <p> </p> <p>I like it and make sense.</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-21207436721971651562013-06-30T06:08:00.001-07:002013-07-31T09:13:11.319-07:00Nice idea for kitchen<p><a href="http://img.gawkerassets.com/img/18qmqssii8pjdjpg/ku-xlarge.jpg">ku-xlarge.jpg (640×360)</a></p><blockquote><img src="http://img.gawkerassets.com/img/18qmqssii8pjdjpg/ku-xlarge.jpg" alt="" /></blockquote>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-56846817608521411592013-06-24T04:28:00.001-07:002013-07-31T09:13:11.398-07:00A Must Watch for all<iframe height="360" src="http://www.youtube.com/embed/bmQGR7PC1fA?feature=player_detailpage" frameborder="0" width="640" allowfullscreen></iframe> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-71704431181712346802013-06-20T21:57:00.001-07:002013-07-31T09:13:11.432-07:00Three best thunderbird add-ons I use everyday<p>There are the three add-ons makes my life easy at work. </p> <p>1) Thunderbird Conversations: Thunderbird Conversations is a Thunderbird extension which, as the name implies, enables a conversation view in your Thunderbird. Notable features include:<br>- a regular conversation view that fetches messages from all folders, and behaves just like Gmail’s<br>- integration with <a href="https://addons.mozilla.org/en-US/thunderbird/addon/243985/">Thunderbird Contacts</a>: participants have tooltips in the conversation, and you can view their avatars and profiles from Facebook, Twitter…<br>- a quick reply feature, with autocomplete, that allows you to reply to a thread in a snap,<br>- and a few other bonus features.</p> <p><a title="https://addons.mozilla.org/thunderbird/downloads/latest/54035/addon-54035-latest.xpi?src=search" href="https://addons.mozilla.org/thunderbird/downloads/latest/54035/addon-54035-latest.xpi?src=search">https://addons.mozilla.org/thunderbird/downloads/latest/54035/addon-54035-latest.xpi?src=search</a></p> <p>2) Lightning: Organize your schedule and life's important events in a calendar that's fully integrated with your Thunderbird email. Manage multiple calendars, create your daily to do list, invite friends to events, and subscribe to public calendars.</p> <p><a title="https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:5/addon-2313-latest.xpi?src=search" href="https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:5/addon-2313-latest.xpi?src=search">https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:5/addon-2313-latest.xpi?src=search</a></p> <p>3)QuickFolders:Folder Tabs - cuts through the clutter of the folders sidebar by having your most important folders as tabs. Open folders and sub folders, move/copy mails without scrolling around or searching. Use categories for filtering the faves!</p> <p><a title="https://addons.mozilla.org/thunderbird/downloads/latest/3254/addon-3254-latest.xpi?src=search" href="https://addons.mozilla.org/thunderbird/downloads/latest/3254/addon-3254-latest.xpi?src=search">https://addons.mozilla.org/thunderbird/downloads/latest/3254/addon-3254-latest.xpi?src=search</a></p> <p> </p> <p>Let me know add-ons you like.</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-9893350904186684762013-06-20T02:18:00.001-07:002013-07-31T09:13:11.452-07:00Watch this and find how the was stored in desert<p><iframe width="640" height="360" src="http://www.youtube.com/embed/eJCTAXb_BWs?feature=player_detailpage" frameborder="0"></iframe></p>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-58354398711986721752013-06-18T08:14:00.001-07:002013-07-31T09:13:11.407-07:00Company Of Heroes 2 Open Beta is ready for download<p>Right now I am downloading from steam. Will soon post some screenshots. Watch this space………</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-57306574867956455252013-06-14T07:59:00.001-07:002013-07-31T09:13:11.403-07:00Blogger dashboard does not work in Chrome<p>Not sure if its just me facing the issue. But I have observed that blogger dashboard does not work at all when using chrome. It works very smooth in firefox and other browsers. Strange that google blogger does nont working in google chrome. Hope they fix it soon. Let me know if you see the same issue and found any solution to this strange problem.</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-21354026542751430102013-06-13T05:41:00.001-07:002013-07-31T09:13:11.323-07:00JSP formatting in eclipse<p>I have a few hundred lines of JSP code with java snippets. When I used eclipse to format this code. Its just unreadable and not even able to figure out what is in there in the java snippets. I tried different options like changing the code style formatter, but nothing worked. Then I tried netbeans to auto-format my JSP code and it did much better job compared to eclipse. Hope eclipse will come up with better formatting in the next version. Till then I will keep my netbeans running on my machine when I am doing coding on my eclipse.</p> Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-87003421623096609502013-06-12T21:50:00.001-07:002013-07-31T09:13:11.448-07:00Path Manager Makes the Run Dialog and Command Prompt More Useful<blockquote><br /></blockquote><blockquote><img src="http://img.gawkerassets.com/img/18qlxlqqsst2apng/ku-xlarge.png" alt="" /></blockquote><blockquote>Windows: Editing your PATH variable is one of those things that you rarely need to do. However, one of the ways it can be useful is to add more app shortcuts to your run dialog. The PATH variable, in short, is a bucket of locations that the run dialog looks at to find app commands. When you type the name of an app (say "calc") in the run dialog (Win+R), it searches all of the folders included in the PATH variable. Path Manager allows you to add locations to this variable, so you can run more applications with this shortcut. Path Manager can also edit many other system variables. As always, you should be careful playing with system settings unless you know what you're doing. You probably won't need this tool very often, but it's handy to have in your back pocket. Easily Add, Delete & Edit PATH Variable Entries With Path Manager | AddictiveTips</blockquote>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-6893140906243174772013-06-12T07:47:00.000-07:002013-07-31T09:13:11.428-07:00Adroid Apps I Use<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Jc5nqBA26nI/UbiIZdoxE9I/AAAAAAAAJBk/S71dlyzIifU/s1600/MyApps1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="http://2.bp.blogspot.com/-Jc5nqBA26nI/UbiIZdoxE9I/AAAAAAAAJBk/S71dlyzIifU/s400/MyApps1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-qBqcGDl4zPY/UbiIZ34NugI/AAAAAAAAJBw/qrPUVFtwlyw/s1600/MyApps2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="140" src="http://1.bp.blogspot.com/-qBqcGDl4zPY/UbiIZ34NugI/AAAAAAAAJBw/qrPUVFtwlyw/s400/MyApps2.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-vfPBWQoZXW4/UbiIZ-r9nHI/AAAAAAAAJB0/a2oclxZKXPo/s1600/MyApps3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="153" src="http://3.bp.blogspot.com/-vfPBWQoZXW4/UbiIZ-r9nHI/AAAAAAAAJB0/a2oclxZKXPo/s400/MyApps3.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-84DMSgnIdJM/UbiIbCCtsrI/AAAAAAAAJB8/wnREj1AuIPE/s1600/MyApps4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="142" src="http://3.bp.blogspot.com/-84DMSgnIdJM/UbiIbCCtsrI/AAAAAAAAJB8/wnREj1AuIPE/s400/MyApps4.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-otxcpaBtM4U/UbiIcGhdc3I/AAAAAAAAJCI/HWP1iCIbg-Q/s1600/MyApps5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="142" src="http://4.bp.blogspot.com/-otxcpaBtM4U/UbiIcGhdc3I/AAAAAAAAJCI/HWP1iCIbg-Q/s400/MyApps5.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-8W30dw9yz4Y/UbiIcSfr2LI/AAAAAAAAJCM/8Xhq28ITGKA/s1600/MyApps6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="132" src="http://4.bp.blogspot.com/-8W30dw9yz4Y/UbiIcSfr2LI/AAAAAAAAJCM/8Xhq28ITGKA/s400/MyApps6.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-cyyioYXSm7I/UbiIc_za7aI/AAAAAAAAJCU/yNxNsdhTFpI/s1600/MyApps7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="141" src="http://1.bp.blogspot.com/-cyyioYXSm7I/UbiIc_za7aI/AAAAAAAAJCU/yNxNsdhTFpI/s400/MyApps7.png" width="400" /></a></div>
<br /></div>
Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-66882242693408009472013-06-12T06:25:00.001-07:002013-07-31T09:13:11.420-07:00Type History to Review Your Recent Terminal Commands<blockquote><br /><img src="http://img.gawkerassets.com/img/18qf5zs6ax2lcjpg/ku-xlarge.jpg" alt="" /></blockquote><blockquote>Sometimes you need to enter a long command again, or find something you typed long in the past. Sure, you can press the up and down arrows to navigate a fair amount of your history but that isn't practical when you have to search for something awhile back. Instead, just type history. When you do, your terminal window will display a list of recent commands. From there you can find the one you're looking for. If you know it was within a certain range, you can specify how far back in your history you want to go (e.g. "history 25").</blockquote><blockquote>Original Article: <a href="http://lifehacker.com/type-history-to-review-your-recent-terminal-commands-512385895">http://lifehacker.com/type-history-to-review-your-recent-terminal-commands-512385895</a></blockquote>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-38433134065245935782013-06-12T06:18:00.002-07:002013-07-31T09:13:11.350-07:00My FishesMy fishes :) total 5 of them.<span id="goog_1524090653"></span><span id="goog_1524090654"></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-ZCzde_yQe7U/Ubh0uwDZa4I/AAAAAAAAJBQ/VHXmbHJxCEo/s1600/%255BUNSET%255D" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-ZCzde_yQe7U/Ubh0uwDZa4I/AAAAAAAAJBQ/VHXmbHJxCEo/s1600/%255BUNSET%255D" height="239" width="320" /></a></div>
<div>
<br /></div>
Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-1990834100091699432013-03-27T04:04:00.001-07:002013-07-31T09:13:11.309-07:00Book Review <p><a style="float: left; padding-right: 20px;" href="http://www.goodreads.com/book/show/11007587-zero-day"><img src="http://d.gr-assets.com/books/1344264198m/11007587.jpg" border="0" alt="Zero Day (Puller, #1)" /></a><a href="http://www.goodreads.com/book/show/11007587-zero-day">Zero Day</a> by <a href="http://www.goodreads.com/author/show/9291.David_Baldacci">David Baldacci</a><br /><br /> My rating: <a href="http://www.goodreads.com/review/show/558929401">4 of 5 stars</a></p><p><br /><br /><br /> <a href="http://www.goodreads.com/review/list/5023946-ashok-chava">View all my reviews</a></p>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-84227954154501476322013-01-09T04:46:00.000-08:002013-07-31T09:13:11.444-07:00Features I want in my smart TV<p><!--adsense#text--><br/><br/>I will be buying a smart TV in next 2 years and I want following features in my smart TV. Some of the features I list are already available some of them them are still in development phase. I want all these features in a reasonable price 50K-60K Indian rupees.</p><ul><li>UCM 3.0 support</li><li>Bluetooth support</li><li>I don't care much about 3D. Its could be optional feature.</li><li>OLED at least 40" size.</li><li>Full HD 1080p and better resolution than standard 1920×1080</li><li>WI-FI and LAN connection</li><li>Hand gestures and voice based control enabled.</li><li>Internet access and should support youtube and other video stream service program channels</li><li>Full support for gaming(using some <a title="gamestick" href="http://www.indianhippy.com/2013/01/09/gamestick-gaming-on-tv-using-android-powered-stick/" target="_blank">gamestick like this one</a>)</li><li>Should detect USB based perifarals like web camera, keyboard, mouse etc.. </li><li>There should be always an options to upgrade software and codecs so that it can detect new and better video formats.</li><li>Last but not the least it should have a log/history of all the channels watches and sites browsed on it.</li></ul><p>Will keep it updated as my requirement grows as I see new things coming up in the market. </p><ul></ul>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-3449785868847438602013-01-09T02:30:00.000-08:002013-07-31T09:13:11.340-07:00GameStick: Gaming on TV using Android powered stick<div dir="ltr" style="text-align: left;" trbidi="on">
<!--adsense#text--><br /><br /><a href="http://www.kickstarter.com/projects/872297630/gamestick-the-most-portable-tv-games-console-ever?ref=category">Gamestick</a><br /><br /><iframe frameborder="0" height="360" src="http://www.kickstarter.com/projects/872297630/gamestick-the-most-portable-tv-games-console-ever/widget/video.html" width="480"> </iframe><br /><br /><strong>Open</strong><br /><br />The mobile games market thrives on the use of open platforms and we wanted to bring the same ethos to TV. Open, so that more developers can innovate and develop quickly. Open, so that players can access more great games and get better pricing. Open because it's about time that the walls keeping independent developers out are smashed down. And so, harnessing the Android ecosystem, GameStick is a completely open platform. If you love creating or playing games, you will love GameStick.<br /><br /><strong>Portable</strong><br /><br />People are always on the go. Traditional consoles are big. We set out to create a big screen games console that was so small you could pop it in your pocket. It's tiny! So small in fact that GameStick fits inside it's own controller so you can take all your games with you to any TV you like, anywhere. Simply plug it into the HDMI slot, grab the controller and play away.<br /><br /><br /><br />You can find all the details about this in thier page in <a href="http://www.kickstarter.com/projects/872297630/gamestick-the-most-portable-tv-games-console-ever?ref=category" target="_blank" title="GameStick">Kickstart</a>. I am sure I am going to buy this or something better than this once they are available in India.</div>
Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0tag:blogger.com,1999:blog-27454435.post-82090802564145463382013-01-08T03:01:00.000-08:002013-07-31T09:13:11.439-07:00Must have Firefox tab related add-ons<p><!--adsense#text--><br/><br/><a href="http://www.makeuseof.com/tag/make-new-firefox-tabs-more-useful-with-these-add-ons-si/">Make New Firefox Tabs More Useful With These Add-Ons</a><br/>We all like to customize our things – it’s nice when they feel really ours. This is true for many aspects in life, and naturally, doesn’t skip computers, phones and software. If it’s possible to customize things even a little bit, someone’s going to do it. It doesn’t matter if the default is great – the default is what everyone has. So out go the defaults and in come hundreds of different customizations. Now it’s only a matter of choosing the best, coolest, most useful one. This is not one bit different when it comes to browsers. Back in the days of Netscape 1.0, all browsers looked pretty much the same, but the advent of add-ons brought hundreds of customization options, and these days they look different on every computer. One of the best and most useful ways to customize your browser is through the new tab page. We’ve told you about some great ways to do it with Chrome, but apparently, we’ve turned a blind eye to Firefox. About 4 versions ago, Firefox finally added a default speed dial feature to its new tab page. The speed dial shows 9 of your most visited pages, and while it’s useful, it’s far from perfect. For starters, the thumbnails don’t always load; in addition, you sometimes see duplicate tiles for the same website, which is inconvenient and a waste of space. If you too feel that it’s time for an upgrade,or just want your browser to look different than the rest, read on to find some really great options.<br/> <br/>New Tab King<br/> <br/><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/12/new-tab-king.png" alt="" /><br/> <br/>New Tab King is a versatile, multi-featured new tab page that comes with a to-do list, a recently closed tab list and even shortcuts to launch desktop apps. It goes without saying that each element in your new tab page is customizable, collapsible and removable, and the entire left sidebar is collapsible as well, so you only see it when you need to use it. As for the main section of the new tab page, this is a list of your most-used websites, and can be viewed in a list format, as seen above, or a traditional tile format.<br/> <br/><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/12/new-tab-king-1.png" alt="" /><br/> <br/>The background image and colors are customizable as well, and you can connect it to an RSS feed, a Picasa community search, your own local images, and more. Bottom line: Has many useful features and works well, but is far from being minimalistic.<br/><a href="https://addons.mozilla.org/en-US/firefox/addon/fvd-speed-dial/?src=search">FVD Speed Dial</a><br/><br/> <br/><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/12/fvd-speed-dial.png" alt="" /><br/> <br/>With a strong focus on the speed dial options, FVD Speed Dial is another solid start page with multiple tile groups you can customize and switch between. Each tile group can also be viewed as a list, and everything from tile size to background and font colors is configurable. By default, FVD Speed Dial comes with 7 speed dial bookmarks (two of them promotional) which you can change and add to. Additionally, you can view your most popular pages and your recently closed tabs in lists or tiles, each with its own custom settings.<br/> <br/><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/12/fvd-speed-dial-2.png" alt="" /><br/> <br/>FVS Speed Dial also includes a synchronization feature, so you can access your favorite websites and settings on multiple computers. In order to use this feature, you’ll have to create an account. Bottom line: Slick, fast and useful. With a white background, also quite minimalistic.<br/><a href="https://addons.mozilla.org/en-US/firefox/addon/super-start/?src=search">Super Start</a><br/>Super Start<br/> <br/><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/12/super-start.png" alt="" /><br/> <br/><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/12/moment.png" alt="" /><br/> <br/>Super Start is a simple, do-it-yourself type of start page, in which nothing comes ready made. Unlike the previous two options I mentioned, opening a new Super Start page for the first time results in a blank page. It’s your job to populate this page with tiles of your favorite websites, including a link, a name, and even an icon – none of these is automatic. The add-on makes it easy to find popular icons online, but if you want to add a more obscure website, you’ll have to find one by yourself. That being said, adding tiles is super easy, and it does feel nice to start from a clean slate. Super Start comes with a built-in notes feature for little to-do lists, a list of recently closed tab page, and four different themes. Bottom line: Perfect for the minimalistic, DIY types. </p>Ashok Kumar Chavahttp://www.blogger.com/profile/09897256075216919302noreply@blogger.com0