tag:blogger.com,1999:blog-30403661375309164712024-03-05T12:18:55.460+05:30'm a Semi - NerdVishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.comBlogger74125tag:blogger.com,1999:blog-3040366137530916471.post-13147953682732954072016-11-23T16:39:00.000+05:302016-11-23T16:41:49.790+05:30<ul>
<li>JBOD will have multiple enclosures, and each enclosure will have a ses device. Subset of disks in the JBOD will be attached to one enclosure.</li>
<li>Each SAS card will be recognized as a device even though there are multiple phys in it.
scbus# depends on the placement of PCI slot of SAS card.
All ses and disk devices discovered through that SAS card will have same scbus#.</li>
<li>Target id of a device can be different between (port 0 of SAS and port 0 of JBOD) connection and (port 0 of SAS and port 1 of JBOD) connection.
target ids of a device depends on the JBOD/SAS card slots which are connected.</li>
</ul>
<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-47619856270175096012012-05-30T15:06:00.003+05:302012-05-30T15:08:28.872+05:30My first patent that got approved at USPTO"Techniques for validating and sharing secrets " is my first patent title that got approved at USPTO. <a href="http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&r=1&f=G&l=50&co1=AND&d=PTXT&s1=8,170,216&OS=8,170,216&RS=8,170,216">Link</a> is here. It is filed in 2008 with co-author as Puthali.
More than the title, I have few things to log here:
<li>1. It got approved on May 1, 2012 which is Labour day and holiday. Thats fine. </li>
<li>2. Its under the name of Apple Inc. hmm.. looks like, during the acquisition of Novell, this patent went to them. Thats also fine. </li>
<li>3. It got approved just the next day after I left Novell. My last day at Novell was April 30, 2012. Isn't it a big thing to happen? </li>
<li>4. May 1, 2012 is the only day I was unemployed in my 6+ years career. I feel, this is a big thing. </li>
Why so many coincidences around this patent? What ever, just thought of logging these so that I won't miss them.. :)<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com1tag:blogger.com,1999:blog-3040366137530916471.post-10261541204249562522011-02-12T23:58:00.004+05:302011-02-13T00:09:38.292+05:30Fed up of searching small information in big packet capture file?I usually face this problem where I need to find for some information in a very huge file. And, it takes lot of time to filter and show the results.<br />Now, I got different kind of problem, but, similar. Customer sent set of capture files, around 80, each of 25MB (looks like, he knows that opening a big file and debugging using it is very frustrating). Just thought of using some command lines and there are some already.<br />We can use tcpdump over a network packet capture file like tcpdump -r filename and we can apply filters using -R. Filter is similar to that of wireshark, but not same.<br />Something like 'tcpdump -r output.cap$i host 10.240.111.29 and host 10.240.115.55 and port 80 and port 16876 >> filteredData'.<br />Even Wireshark have command line tool. Hadn't explored yet.<br /><iframe src="http://www.facebook.com/plugins/like.php?href=http://onejunk.blogspot.com/2011/02/fed-up-of-searching-small-information.html&layout=standard&show_faces=false&width=450&action=recommend&font=arial&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe><div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-9439883627632988972011-02-12T11:27:00.002+05:302011-02-12T11:32:09.571+05:30Facing problems with firefoxLast few months, I was facing different kind of issues with firefox. History navigation (back, forward) buttons won't appear. History of urls accessed won't get saved. Cannot bookmark pages, search box on the left side doesn't work. Reason looks to be corrupted database files in the mozilla profile directory. In Linux, it will be $HOME/.mozilla/firefox/<somejunk>/.<br />Close all browser instances, remove the files like places.sqlite (for navigation, bookmarks not working), formhistory.sqlite, search.json, search.sqlite (if search bar is not working). Hopefully, things works fine. If still not, create new profile and start using that.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-54362815445589501332010-07-29T20:35:00.001+05:302010-07-29T20:37:12.400+05:30Java plugin for FirefoxInstructions to install java plugin in linux at location: http://www.java.com/en/download/help/linux_install.xml#rpm<br />Its easy to get this link from internet, but, I want to put it here so that I can quickly get this whenever I need it.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com1tag:blogger.com,1999:blog-3040366137530916471.post-5526661099590947752010-06-24T11:11:00.002+05:302010-06-24T11:28:21.807+05:30GCC"/usr/lib/gcc/i586-suse-linux/4.3/collect2 --verbose" gives us good data while using gcc for compilation. gcc tries to find lib*.so but not lib*.so.* during linking. This is same as /usr/bin/ld.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com1tag:blogger.com,1999:blog-3040366137530916471.post-87090696144944940372010-04-28T22:43:00.002+05:302010-04-28T22:48:09.057+05:30editcapvim, less and any other file manipulation commands take lot of time to load or search in very big files and so we use split such big files into small to analyze them.<br />Similarly, we used to face problems in analyzing network packets captured files. To cut the files or to filter some packets from the network traces captured files, you can use editcap. Its command line oriented provided along with ethereal/wireshark.<br />Also, there are few perl scripts available in Internet which are based on libpcap. I yet to install and try that. Looks like that give us more control in filtering the packets.<br />If some one know or have idea about using libpcap, share it with us.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-29686975080455594362010-04-28T12:08:00.003+05:302010-04-28T20:47:01.881+05:30IndianRail - FrustrationI booked a tatkal rail ticket from the counter thinking that<br />- there will be more quota at the counter<br />- if the ticket is in waiting list, this ticket will be given preference compared to eticket.<br />I'm sure about second point, but not sure about first point.<br />But, now, I lost the ticket. I have the PNR number, Xerox copy, photo ID card and so approached counter to take the duplicate ticket.<br />Here, to provide a duplicate ticket, they are charging half the ticket fare. Its too huge penalty just to print a ticket. They are sucking the blood.<br />This was for my wife - so I just paid the money and took the ticket in order not for any problem for her during travel. If it was for my travel, I should have just took the xerox copy and the photo ID card.<br />So, if any one face this problem and ready to fight with TC, take these and say you lost the ticket while climbing the train.<br />Can any one help me in complaining about the huge penalty for duplicate ticket?<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-84550996129381445902010-04-27T14:02:00.003+05:302010-04-27T14:09:17.973+05:30Issue with unionRecently, found the union in the 'C' code with 33 bits as a structure and an unsigned long as members.<br />There will be no problem in the memory allocation. But, what might be the problem with this type of data structure?<br />Issue we had was the union variable initialization. Usually, the unsigned long variable in union will be initialized to intialize the bits in structure. But, being 33 bits, one bit won't be initialized. A learning we had!!<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com2tag:blogger.com,1999:blog-3040366137530916471.post-81365723676090648692010-04-26T23:26:00.002+05:302010-04-26T23:32:15.180+05:30Couple of Blogspot features- Came across this "Follow" feature combining Google Reader and Blogger. Previously, I used to subscribe to blogs using feeds in Google Reader. Now, this helps better. Also, it helps you to find out who are following you.<br />- Integration with openId. Blogger provides you an openId url which can be used for authentication against any openId enabled web sites.<br />Aren't they cool?<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-90632719153894958962010-04-26T01:57:00.001+05:302010-04-26T18:33:36.703+05:30RaahuKaalam calculationRecently found an interesting article how to calculate Raahukaalam. It depends on the Sunrise and sunset in that area on that day. (Sunset-sunrise) is the day and it is divided into 8 parts. Each part is called period and Raahukaalam comes in one of the periods in a day. There is no Rahu Kalam during the first period of any weekday. On Monday it falls on the 2nd period, Saturday 3rd period, Friday 4th period, Wednesday 5th period, Thursday 6th period, Tuesday 7th period & Sunday 8th period.<br />Courtesy: http://www.astrojyoti.com/rahukalam.htm<br />But, I don't have idea why they say so.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com1tag:blogger.com,1999:blog-3040366137530916471.post-13884507007615579812010-04-26T01:05:00.002+05:302010-04-26T01:22:02.754+05:30Scheduling work in multithreaded environmentIts always better to schedule any work at the end of the thread execution as the scheduled work can delete the object all together.<br />Consider a scenario like<br />fn Query::readData()<br />{<br /> getData();<br /> if(m_readDataSize > 0)<br /> ...<br />}<br />Query object needs some data to evaluate and thus called getData(). But, this getData() can do scheduling to read more data or may place the already read data size in m_readDataSize or it can schedule work to delete the object because of any error case like improper query.<br />And, if so, there is chance of code getting crashed while accessing m_readDataSize as object might got deleted if the work got scheduled and executed before returning from this function call. So, better is to mark the work to be scheduled and schedule it at the end of the thread execution, say, something like thread->postWork().<br />With this in view, I always like the OSs which are single threaded like Netware. It gives the better performance, flexibility in using CPU, ease in programming (Ofcourse, it have its own challenges like yielding.)<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-13635735629505673332010-04-21T15:56:00.002+05:302010-04-21T16:17:21.263+05:30ssh auto login scriptFinding the script for ssh auto login is not at all difficult. Thinking that, I hadn't stored the link that I found as useful. Later when I tried to get that link, it took me some 10 mins to get the same link, and so, thought of blogging it.<br />Copied the below script from http://programminglinuxblog.blogspot.com/2008/02/automatic-ssh-login-script-all.html<br /><br />Below script takes care of copying your certificate content into the remote box, which is not the case with other scripts found at different locations. Also, you can learn shell script with this script.<br /><br />#!/bin/bash<br /><br />if [ ! $1 ]; then<br /> echo "usage: pushssh.sh user@remoteserver "<br /> exit<br />fi<br /><br />PORT=22<br /><br />if [ $2 ]; then<br /> PORT=$2<br />fi<br /><br /># Uploads your id_rsa.pub to the specified host, wrapped for readability<br /><br />if [ ! -r ${HOME}/.ssh/id_rsa.pub ]; then<br /> ssh-keygen -b 2048 -t rsa<br />fi<br /><br /># Make sure auth file exists and chmod to 600<br /><br />ssh $1 -p $PORT 0> echo "mkdir ~/.ssh; touch ~/.ssh/authorized_keys; <br />chmod u+rw .ssh/authorized_keys"<br /><br /># Append to the copy on the remote server<br /><br />cat ~/.ssh/id_rsa.pub | ssh $1 -p $PORT "cat - >> .ssh/authorized_keys"<br /><br />if [ $? -eq 0 ]; then<br /> echo "Success"<br />fi<br /><br />Once you are done, you just need to create another script say "execRemoteCmd" to execute the command you want as follows:<br />ssh root@164.99.184.111 $@<br />ssh root@164.99.184.111 $@<br />and use it as execRemoteCmd ls -ltr /chroot/lag/core.*<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-43917247682218709452010-04-19T20:44:00.002+05:302010-04-19T20:48:58.884+05:30How to reach google.com?Whenever I type google.com, it always used to make me land in google.co.in. How to reach google.com then?<br />Reach www.google.com/ncr. It won't redirect you to google.co.in.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com2tag:blogger.com,1999:blog-3040366137530916471.post-24459505193965461992010-04-05T09:26:00.003+05:302010-04-05T09:30:21.327+05:30FYI regarding plateletsDrinking juice made of papaya tree leaves makes blood platelets count shootup much much faster. My friend was suffering from dengue fever and his blood platelets count had dropped close to critical. He was administered platelets(which is an expensive process too) but it was not working much. His family members searched on internet and found that papaya leaves juice will help a lotttttt. He was given that and even doctors in Apollo were surprised to see the result. The taste of the juice will be highly bitter so just mix lemon juice with it to have a better taste. Doctors were taking his blood samples every 4hrs to see the effect and after taking 5teaspoon full of the juice, it was doing wonders.<br />Information source: My friend Krishna Mohan<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com2tag:blogger.com,1999:blog-3040366137530916471.post-46765027873636876162010-03-16T23:00:00.001+05:302010-03-16T23:01:32.861+05:30ESX and VMWare WorkstationWe can load the vmx files in both of the above softwares.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-73585862255537470422010-03-16T22:56:00.002+05:302010-03-16T23:00:31.397+05:30VMWare WorkstationAfter installing VMWare workstation 7 on SLES, we can create or open existing virtual machines. But, once you reboot the SLES and try to load existing virtual machines (which previously loaded), it throws error saying "Unable to find /dev/vmmon" module.<br />Do the following steps:<br />mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old<br />vmware-modconfig --console --install-all<br /><br />The reason is:<br />VMware comes with some pre-built binaries which somehow don't work on SLES. So we are deleting them, and by running that tool they are built again, this time for this OS.<br /><br />Courtesy:<br />http://communities.vmware.com/message/1436964<br />http://forums.fedoraforum.org/showthread.php?t=206983<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-46280408671897150462010-03-16T22:54:00.002+05:302010-03-16T22:56:18.256+05:30Wireless issueYou are in Windows and using your wireless connection. If you hibernate / suspend and switch it on again, wireless won't work. When you try to "View Available Connections", it says "Some other application is controlling and so, cannot be displayed" type of message.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-88627368710819553472010-01-15T14:07:00.003+05:302010-01-15T14:20:51.687+05:30Google Moving out of ChinaChina government performing cyber attacks to access few Human Right group's gmail accounts. So, Google decided to come out of China. Many other companies are also targeted in China.<br />Attacks are done against group of people who have access to core Intellectual Propery. They exploited the vulnerability in Microsoft's Internet Explorer 6. McAffe's CTO's <a href=http://siblog.mcafee.com/cto/operation-%E2%80%9Caurora%E2%80%9D-hit-google-others/>blog</a> gives more information on this attack which they call as "Operation Aurora" to solve this.<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-83747960897148239752009-04-25T13:49:00.002+05:302009-04-25T13:56:56.002+05:30One more puzzle!A person goes to his house from office in car. Car with driver starts from his house at 7p.m. and reaches office and picks him up and drops him at his home. One day, he is done with his work at 5.30p.m. and starts walking to his home instead of waiting for car. He finds the car on his way and goes to his house. He reaches his house 20 minutes eariler than his usual time. At what time, he usually reaches his home?<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com1tag:blogger.com,1999:blog-3040366137530916471.post-86979315897660080792009-04-10T09:15:00.003+05:302009-04-12T18:40:10.430+05:30Some Puzzles- Producer Consumer Problem:<br />Scenario 1: Traditional Problem<br />Scenario 2: Producer should produce and puts in the shared buffer. Every consumer should consume the item before we delete it from the shared buffer.<br /><br />- In race court, there are 5 tracks and 25 horses to race. We need to find the top 3 from the 25 horses. Assumption is - Horses perform in the same way during all the races and we can't record the times. You can make horses to participate any number of times. In how many races, you can find the top 3?<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com6tag:blogger.com,1999:blog-3040366137530916471.post-77724138843428986282008-10-21T21:46:00.002+05:302008-10-21T21:49:43.952+05:30Difference between prototypesWats the difference between prototypes<br />- T &operator[](size_t index);<br />- const T &operator[](size_t index) const;<br /><br />?<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com1tag:blogger.com,1999:blog-3040366137530916471.post-19059924834014358802008-08-23T21:21:00.009+05:302008-10-14T20:39:52.472+05:30- <strong>Parse error: parse error, unexpected T_STRING</strong><br />Almost always a missing semicolon! Look at the line directly above the line error is reported.<br /><br />- Some webservers have a problem regarding the "submit" input type names, for ex, submit_btn.<br /><br />- CAPTCHA implementation through PHP.. http://www.lagom.nl/linux/hkcaptcha/<br /><br />This is one post which I thought I will be updating as I find anything interesting in internet.. managed to do it for that day, and failed to continue it.. Very bad :(<br /><br />Looks like, I missed my september post.. Its better to be empty rather than to have some junk like above..<br /><br />Is it so??? NO<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com0tag:blogger.com,1999:blog-3040366137530916471.post-80387325756972885982008-08-20T22:54:00.004+05:302008-08-23T01:14:30.752+05:30This And... ThatFinally, MegaStar Chiranjeevi released the news to press that he is entering politics. He is going to create new type of politics in Andhra i.e., positive politics. Hoping he will get support and do some good work. He is saying that<br />"Present politicians are doing good but he feels that its not reaching the poor and poor becoming poorer and rich becoming richer." Isn't this show positive politics? Usually, in the politics, we observe one party saying bad about other parties.<br /><br />Chiranjeevi Zindaabaaad..<br /><br />- Went to home on last weekend. Was completely at home for complete 2 and half days.. Not even went to the neighbor's house.. :) Good<br /><br />Thought of writing lot of things.. but sorry.. forgot about them.. and will gather the things regarding the technical learnings that happened last month to put in my next blog.. :) and finally one tip that may be useful<br /> <br /><strong>Hair Care</strong><br />Below are some that I collected from my friends.. no idea how effective they are..<br />- if waana to apply oil, apply after head bath and drying your hair.. instead of applying after your hair got dust..<br />- Make sure that your hair is oily before head bath<br />- Eat mussambi fruits rather than having its juice<div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com3tag:blogger.com,1999:blog-3040366137530916471.post-92214023779620001222008-08-09T04:58:00.002+05:302008-08-09T05:08:58.396+05:30Digitally SurroundedWent to attend a marriage in Andhra last week.. I was feeling lonely and fear also, as suddenly, I was alone, where as usually, surrounded with lot of people. Nothing to worry, I can manage. But, once I reached that station in marriage place, I got lot of energy as that was the place I used to stay alone through out the night waiting for dawn to catch bus. So, this trip became my eye opener and made me to collect those memories and made me to remember my work.<br /><br />But, still, no need to fear.. U r rounded up with so many.. :)<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlrXne-pxKQAdS_M-bRkiIYWWZWM_WOsp6Xyzba4R8IamA2JNvruJIPGAQVQdOOaLX9NjAway5ghmfLGpGAU-vo0CFlb1XcxqWP-c396C5-J1FKRUH_5DLexGaYM27_JQ2_1DRhZJeuzEj/s1600-h/image1.png"><img style="cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlrXne-pxKQAdS_M-bRkiIYWWZWM_WOsp6Xyzba4R8IamA2JNvruJIPGAQVQdOOaLX9NjAway5ghmfLGpGAU-vo0CFlb1XcxqWP-c396C5-J1FKRUH_5DLexGaYM27_JQ2_1DRhZJeuzEj/s320/image1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5232293173459051586" /></a><div class="blogger-post-footer">New POST/Comment</div>Vishnuhttp://www.blogger.com/profile/03709496761865285453noreply@blogger.com5