tag:blogger.com,1999:blog-327434762024-03-13T22:09:13.479+05:30TechworldMy view of the myriad world of technologies....Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.comBlogger73125tag:blogger.com,1999:blog-32743476.post-52465438048025481312019-02-24T18:56:00.001+05:302019-02-24T18:56:15.071+05:30some forgotten tech <div dir="ltr" style="text-align: left;" trbidi="on">
Been quite a long time since I wrote on my technical blog, and I can't put my finger on the reason quite easily.<br />
<br />
Probably its because I am back to more coding than meeting/reviews/thinking per day. Even then the number of lines of code or complexity that I deal with daily isn't really substantial. There is nevertheless, quite more learning and re-learning these days.<br />
<br />
Some of the topics I found myself scanning my own old code, man pages, stackoverflow and many other websites are C++11 features, memory management, signals and a bunch of other system calls.<br />
<br />
When the regular work demands very little to no coding and still fills up almost the entire day, one lands up in situations where the technical practice is sustained only by faint memory and constant theory relearning. But none of it matches actual coding practice.<br />
<br />
Even the language and concepts I just mentioned are quite archaic and are the verge of being replaced. So its really high time to equip myself with real practical experience with new tools, languages, design paradigms and architectures. Lots of reading and imagining happening, but until the itch of the fingers are satisfied by implementing, the yearning for learning remains unsatiated.<br />
<br />
<br /></div>
Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-35067186530647764992012-05-18T17:04:00.001+05:302012-05-18T17:31:49.740+05:30How do you solve your problems at work? - a small talk<div dir="ltr" style="text-align: left;" trbidi="on">
As a programmer, as an analyst or a software engineer, I wish to place a question to you readers.<br />
<br />
To solve the problems you face in your work do you read anything, be it technical, managerial or mid-way?<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCG3yLPnbQ6bnDMhTBsB1MoDNszgy1hX5no5hlgCqkHkDKEkg5w7QQDmrEkQDDlnL7yWkkb-AhfwzCNSMR_Zkw55RGe-ey_dNSXMkOY4vBoUiHMTul58cT8De7HZp6dY0JFOvcw/s1600/i-love-google.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
<br />
Well, I guess everyone reads only one thing - Google.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCG3yLPnbQ6bnDMhTBsB1MoDNszgy1hX5no5hlgCqkHkDKEkg5w7QQDmrEkQDDlnL7yWkkb-AhfwzCNSMR_Zkw55RGe-ey_dNSXMkOY4vBoUiHMTul58cT8De7HZp6dY0JFOvcw/s1600/i-love-google.gif" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="161" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCG3yLPnbQ6bnDMhTBsB1MoDNszgy1hX5no5hlgCqkHkDKEkg5w7QQDmrEkQDDlnL7yWkkb-AhfwzCNSMR_Zkw55RGe-ey_dNSXMkOY4vBoUiHMTul58cT8De7HZp6dY0JFOvcw/s200/i-love-google.gif" width="200" /></a><br />
There is nothing bad about using Google to find answers to your queries, but when it turns out that you read only the first 5 result URLs and give up in about 5 tries for the same matter, you aren't doing enough.<br />
<br />
I have seen some people give up in this fashion and revert to dirty and stupid workarounds for the problem at hand. Most of the time the fixes or changes are done without proper depth of knowledge or know-how of side effects.<br />
<br />
This is the very point for which I am against depending on Google to solve all your problems.<br />
Maybe as amateurs, everyone has the right to depend on the resources thrown at your disposal by Google. But as your own understanding and business needs start taking specific shapes, too much dependance on Google can adversely affect the quality and effectiveness of your own solutions.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-6yRMX51rtQi-24eerHKFsTBi1DA71bl5fzxoTklgbyhLYHwfXZePCEV-xkDSWmiIY1vp6_3MxeBHuRMJnYEVTC1GTLO_E2I1Xg7vdbv0OXezWrBK7u4AQUOcU1SI0jC7pW0qrQ/s1600/think.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-6yRMX51rtQi-24eerHKFsTBi1DA71bl5fzxoTklgbyhLYHwfXZePCEV-xkDSWmiIY1vp6_3MxeBHuRMJnYEVTC1GTLO_E2I1Xg7vdbv0OXezWrBK7u4AQUOcU1SI0jC7pW0qrQ/s200/think.gif" width="200" /></a></div>
<br />
And yeah, there are well research harmful side effects of Google in a person's everyday life. But I don't mean to touch upon that matter here.<br />
<br />
So what is it that you need to do?<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNnYfxqhNHt15JC94v0V9_tVJ7gGmQK3dbaw3sgqAJc8MqBk_S6FQu6suY4A0qVKVnOj0b6hDKO1gNatP2mYjtuQpXwByUC2AhoswkluICtM2RThStewYWKpCIEN0uRrTT3olddg/s1600/thinking.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
a) Firstly. start thinking about your problems objectively and subjectively by yourselves.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNnYfxqhNHt15JC94v0V9_tVJ7gGmQK3dbaw3sgqAJc8MqBk_S6FQu6suY4A0qVKVnOj0b6hDKO1gNatP2mYjtuQpXwByUC2AhoswkluICtM2RThStewYWKpCIEN0uRrTT3olddg/s1600/thinking.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNnYfxqhNHt15JC94v0V9_tVJ7gGmQK3dbaw3sgqAJc8MqBk_S6FQu6suY4A0qVKVnOj0b6hDKO1gNatP2mYjtuQpXwByUC2AhoswkluICtM2RThStewYWKpCIEN0uRrTT3olddg/s200/thinking.jpg" width="131" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiovjDpiBTPgGpDZdVGp6ee-P1baXzKWwerfwJGch-ZjtU0CVnrf8uIIJvWvmHV9WWaxAqKhh3wm0pjgLqPvSUs3NgYk_bk1Nq9DigUcI7HS9RDha5QgvEuBXgyYPQlYWh0sBILog/s1600/group-discussion.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<br />
b) Try discussing with peers.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiovjDpiBTPgGpDZdVGp6ee-P1baXzKWwerfwJGch-ZjtU0CVnrf8uIIJvWvmHV9WWaxAqKhh3wm0pjgLqPvSUs3NgYk_bk1Nq9DigUcI7HS9RDha5QgvEuBXgyYPQlYWh0sBILog/s1600/group-discussion.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiovjDpiBTPgGpDZdVGp6ee-P1baXzKWwerfwJGch-ZjtU0CVnrf8uIIJvWvmHV9WWaxAqKhh3wm0pjgLqPvSUs3NgYk_bk1Nq9DigUcI7HS9RDha5QgvEuBXgyYPQlYWh0sBILog/s320/group-discussion.jpg" width="320" /></a> <br />
c) Form a mental picture of the problem scenario.<br />
<br />
d) Solve as much as possible by yourself. Take it as a challenge. It will help in reinstating the passion for your job (presuming its existence at least in the past).<br />
<br />
e) Write/draw troublesome points and the entire problem statement if required. Also try tools like FreeMind or Mindmeister which help in doing this in digital format.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjARSFba2PZ8V0NrwM7iDQfpHmAXJzS6BOY929P1W_KvzbrAx0gqIgY_9DLC6rQtzIUEByaZHfDRCYM-aKCvWGhe2C8YWZq6kRsfocdOMNcedy66KBa5EIR-P5sWWrFXcvrPrPfFw/s1600/graphic_project.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjARSFba2PZ8V0NrwM7iDQfpHmAXJzS6BOY929P1W_KvzbrAx0gqIgY_9DLC6rQtzIUEByaZHfDRCYM-aKCvWGhe2C8YWZq6kRsfocdOMNcedy66KBa5EIR-P5sWWrFXcvrPrPfFw/s320/graphic_project.jpg" width="320" /></a></div>
<br />
f) If you still feel a disconnect between the problem and solution, then TAKE A BREAK. Believe me. It helps in keeping up the motivation and creativity.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDmb1dVnCtrYYccYxgz6xyh4pYEZEgWHiEXWrTymtU4PKQGSqC9RyYnOwaJ5K_F8JyxUUQUZv7k0seQQOWMHpkpS_f7iXDcVGwpzy4oLJkVw-JUMU2wy3FrN_O1lTPc4FXkQGkgw/s1600/174081797_3945e94e92_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDmb1dVnCtrYYccYxgz6xyh4pYEZEgWHiEXWrTymtU4PKQGSqC9RyYnOwaJ5K_F8JyxUUQUZv7k0seQQOWMHpkpS_f7iXDcVGwpzy4oLJkVw-JUMU2wy3FrN_O1lTPc4FXkQGkgw/s320/174081797_3945e94e92_b.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgV0FsXv-ruLlgWKznxx82gXJJhblNOa28ly-uVu7TQQdI3rOu_v8wD1f6j2i8Yd5pZ5kteq4UzEjXj28J2LdVInk1egkBVKFs1oOCcEMFGcffabYMIeJPIP4EDVkukKQwHT0dsQ/s1600/smile.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
g) If you don't have a solution even now, you would be in a position where you can either Google away objectively, blame others or question the sanity of the use case you are trying. :P<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
Here are a few additional tips that I follow:-<br />
<i>a) Take extreme caution at stages where you commit things to external parties, especially when not connected directly in the hierarchy</i><br />
<i>b) Learn to estimate more, plan for unknowns</i><br />
<i>c) Be ready to burn the midnight oil for R&D, experiments etc which you help you catch up against your own lack of competence. The world can be unforgiving sometimes.</i><br />
<i>d) Read occasionally good articles about design principles, good practices of development (both technical and non-technical). Also more abstract topics like work attitudes specific to your discipline, psychology, statistics etc can come in handy</i><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgV0FsXv-ruLlgWKznxx82gXJJhblNOa28ly-uVu7TQQdI3rOu_v8wD1f6j2i8Yd5pZ5kteq4UzEjXj28J2LdVInk1egkBVKFs1oOCcEMFGcffabYMIeJPIP4EDVkukKQwHT0dsQ/s1600/smile.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgV0FsXv-ruLlgWKznxx82gXJJhblNOa28ly-uVu7TQQdI3rOu_v8wD1f6j2i8Yd5pZ5kteq4UzEjXj28J2LdVInk1egkBVKFs1oOCcEMFGcffabYMIeJPIP4EDVkukKQwHT0dsQ/s1600/smile.jpg" /></a></div>
<br />
Last but the most important, "<b>Learn to Work Hard, but Party Harder</b>" and to <b>Do what you love, and Love what you Do... <u>ALWAYS</u></b><br />
<br />
Signing off wishing happy careers...</div>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-8371842405019959022012-02-14T00:24:00.002+05:302012-02-14T00:24:50.822+05:30Batteries - The Achille's heels of your laptop<div dir="ltr" style="text-align: left;" trbidi="on">
Last friday night, I unplugged my laptop (Dell Studio 1555 -2 yrs old) to hand it over to my room-mate, and was shocked to see the laptop switch off immediately.<br />
<br />
I was fairly amused as I was certain that the battery was fully charged. So I tried powering up the laptop, but it wouldn't. The LED indicator blinked red showing low battery. So I connected the AC adapter and powered it up again.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSIdpT2M6NNIBL17_1KAze5T8EPEJwhZTHCf-X4dWuD-vqcV4bY9-dpL2tavsUlFwftQivm7oLPhVvKX6kmwGj90hotpjR-ENY1q0TezLJxOF7nzI2K26ISZpl3YEkSAnabre9A/s1600/how-to-increase-laptop-battery-life.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSIdpT2M6NNIBL17_1KAze5T8EPEJwhZTHCf-X4dWuD-vqcV4bY9-dpL2tavsUlFwftQivm7oLPhVvKX6kmwGj90hotpjR-ENY1q0TezLJxOF7nzI2K26ISZpl3YEkSAnabre9A/s320/how-to-increase-laptop-battery-life.png" width="320" /></a><br />The LED was blinking red and white alternatively, and I received an error message that "The battery cannot be identified.The system will be unable to charge this battery." It is the first time that I had faced such an error message. Previously I had experienced error messages for incompatible AC adapters. But, this was nothing like it. The laptop would run purely on AC power only.<br />
<br />
After an hour of frantic googling on scant network resources (that was the day we switched the internet provider, and were having problems connecting), I was convinced that my battery is dead and nothing could be done to salvage it. I found that there was a newer version of BIOS available for my laptop and hence installed that too. But still on removal of AC Adapter, the laptop switched off.<br />
<br />
I was heart broken as this meant an unplanned expenditure of nearly 3k, and still people were pointing out that a new battery may not solve the problem. Anyway, I decided to stay put and postpone the purchase to when I go home. In the back of my mind, I cursed my rough usage of the laptop for extensive downloading and so on. This episode even cost Dell a prospective customer as my roomie who is considering to buy one soon got freaked out at this problem, and especially due the lack of warranty and the notoriety Dell's post warranty service has gained over the internet and among users. <br />
<br />
Today I decided to satisfy my curiosity regarding laptop batteries, and had read up some manuals and articles online regarding its operations and maintenance. So, just after finishing my stuff on it and shutting it down, I played around with the batteries, removed them and observed all the readings and connectors inside. I compared my personal laptop's battery with that of my official one and just dusted up both and replaced. Just for curiosity sake I tried powering on my laptop without connecting AC adapter (after all what is there to lose once u are prepared to shell out some bucks). And lo, it booted perfectly. I am wonderstruck even now.<br />
<br />
Maybe it was just some dust, or the firmware update combined with a re-attachment of the cells. I haven't figured it out yet. But I am glad that I don't have to shell out the money soon. But the problem of batteries if quite serious and is here to stay. I have to take care of my batteries from here onwards to prolong its life and get a good performance from my laptop. I am reminded at this point of a friend of mine who always advises to perceive laptop as a person and treat them likewise. He has a 7 year old laptop in very good working condition to prove his point.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSIdpT2M6NNIBL17_1KAze5T8EPEJwhZTHCf-X4dWuD-vqcV4bY9-dpL2tavsUlFwftQivm7oLPhVvKX6kmwGj90hotpjR-ENY1q0TezLJxOF7nzI2K26ISZpl3YEkSAnabre9A/s1600/how-to-increase-laptop-battery-life.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
Adios amigos. Take care of those aging batteries to avoid headaches later on. Happy computing.<br />
<br /></div>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-32245789604227135332011-12-23T14:48:00.001+05:302012-02-14T00:25:18.371+05:30Back to Unix<div dir="ltr" style="text-align: left;" trbidi="on">
And finally, I have landed myself back into Unix/Linux domain.<br />
<br />
All those stuff I had seen 2.5 years back have to be brushed up now and applied at a professional level.<br />
Everything people speak around here sounds familiar but never quite strikes any place in my head.<br />
<br />
That is the state one got to get out asap so that the machinery gets into motion without any unfortunate events.<br />
<br />
The state of lethargy and the bone chilling(relatively) climate of Bengaluru acts as resistant to such brave plans and as usual I get back on my plan to take over the world.. :P<br />
<br />
Couldn't resist mentioning the jargon, this being a technical blog:-<br />
Linux<br />
Shell<br />
Kernel<br />
Patch<br />
SVN<br />
Scripts<br />
Perl<br />
Python<br />
Module<br />
Structures<br />
Pointers<br />
Memory :-)<br />
<br />
so on and so off.. <b><br /><br /><br /> </b><br />
<b>"A coward dies a thousand times, but a brave man dies only once"</b></div>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-52774870796221014392011-05-01T18:13:00.003+05:302011-05-01T23:25:06.268+05:30Management Instincts RevisitedThis is again about instincts in the software engineering industry.<br /><br />Last time I vouched for trusting your test cases and what-if analysis rather than instincts.<br /><br />But I missed upon a major point, that is the part that instinct plays in the overall process of software engineering.<br /><br />You might have highly qualified engineers, architects, designers and so on employed to perform your tasks. They might be very well trained in the technologies and process also. But still there remains a scope for instinctive decision making and analysis.<br /><br />These instincts are usually expected from the experienced ones. They would be able to instinctively capture missing parts of a system based on their past experiences and some pure gut feeling. But the gut feeling part is eased by the experience, and hence their suggestions and hints are considered as 'expert opinions'. Such people are also conducive to developing gut feelings among junior personnel.<br /><br />But sometimes inexperienced personnel in charge of similar duties in the absence of the above mentioned qualified experienced personnel, get to experience such gut feelings. But more often it happens so that they are incapable of expressing the feelings into useful input for the team or getting it implemented in the right fashion. The reasons for these are partially individualistic and partially due to the organizational atmosphere.<br /><br />Some people have the natural skill to reason logically and think deep into what-if cases, and some are good in providing a wide angle overall picture. If deployed in the right roles, such people can boost the productivity by a huge margin. But if they are deployed in completely unrelated roles or shifted around roles, the overall productivity from such individuals will go into the negative scale. This is something every resource manager has to take care of.<br /><br />Overall, managing people in an organization is a tricky business involving lot of patience, detailed study of people, quite a lot of common sense and a bit of psychological motivation. And it would be good you have the instincts for it too :)<br /><br />There is more to it than what I can summarize here. So watch out for more..Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-48270228092327559202011-02-27T11:55:00.006+05:302011-02-27T12:06:10.738+05:30Time is MoneyI was browsing through some sites, when I came upon this product called <a href = "http://www.bringtim.com/">BRING TIM!</a>. TIM stands for Time Is Money.<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiEd7wqsnVZ1kNQ3roLHz4xxxcRkH1nbxuF5ts65IRf50c_8GF3dDuuKDWFqMyHZVKBa8EUDlT-uW74znTFZ7hiIJekohJUNdoV8qlPXoEX4VAte449juE6qlERfrmA3DAKFZoNw/s1600/slide1-meeting-cost-calculator-clock.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 304px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiEd7wqsnVZ1kNQ3roLHz4xxxcRkH1nbxuF5ts65IRf50c_8GF3dDuuKDWFqMyHZVKBa8EUDlT-uW74znTFZ7hiIJekohJUNdoV8qlPXoEX4VAte449juE6qlERfrmA3DAKFZoNw/s400/slide1-meeting-cost-calculator-clock.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5578254339474890530" /></a><br /><br />It seems like a very much required device for most of the organizations which spend a lot of time in meetings. If they can keep in mind how many dollars are spent in the meetings, it can help save a lot of time and hence money.<br /><br />The problem of repetitive and often unproductive meetings is predominant in corporates, politics, government offices and such similar groups which need lots of brainstorming. If such devices are installed and utilized in those places, it will surely help in increasing their productivity. Afterall, how many really like to sit all day discussing the same things again and again, without much results?<br /><br />It seems there is also a free online tool which does the same. Visit <a href = "http://tobytripp.github.com/meeting-ticker/">Meeting Ticker</a>.Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-59799335299571972732011-02-11T23:09:00.000+05:302011-02-11T23:10:29.328+05:30Instinctive Software EngineeringWhen I stepped into the profession of software engineering, a good 1.5 years back, I had a feeling that my habit of relying on gut feelings, trial-and-error and happy-go-lucky would help me excel in my job.<br /><br />But after 1.7 years of working in different environments and with different people in the same organization, I feel that though I was not completely wrong, I was not completely right either.<br /><br />Instincts and creative sparks help you in some tight spots or spur you to new domains. But more than those, it is the tried and tested principles of Software Engineering which will keep your ass away from the fire for a longer period of time.<br /><br />Simple processes like always doubting every single piece of word in every document, every line of code and every test case, go a long way in keeping you on the safe side. Having said this, I can't still stop thinking about the amount of time 'wasted' on such processes in cases where you 'know' what has to be done.<br /><br />But time and again, it has been proved to me that the benefits of such habits are valuable beyond what they are generally believed to be.<br /><br />So my new mantra which I am trying to tell to myself and my colleagues is: "Trust your instincts, but trust your test cases more".Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-34347129744561508382011-02-05T10:07:00.011+05:302011-02-05T11:20:24.119+05:30VLC Shuffled Off<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjglVMzszfX8uIJ81ZvD-PDLMd3VdOjSaolhgZt-cYj6R52FrEeKH9yFkbJvbiosM-ALl4kYTwyDB07SoMp7ZF5Kj7fpc6XZBQXy_Xx8X5iPzwwnkUe7evxyeEhSFMNMw5Dsmf7mA/s1600/vlc.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjglVMzszfX8uIJ81ZvD-PDLMd3VdOjSaolhgZt-cYj6R52FrEeKH9yFkbJvbiosM-ALl4kYTwyDB07SoMp7ZF5Kj7fpc6XZBQXy_Xx8X5iPzwwnkUe7evxyeEhSFMNMw5Dsmf7mA/s200/vlc.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5570074841796634082" /></a><br />I have been using VLC media player for Windows and Linux for over a year now.<br /><br />Since then I have been plagued with various issues ranging from improper folder expansions, crashes etc.<br /><br />Now, the lack of randomness in its 'Shuffle' feature has been a pain in the neck for me for the last one week. That became the last nail in its coffin.<br /><br />There is no doubt that VLC is quite good in playing various file formats and provides a good UI. But randomness in my tracks is a must for me. Hence I decided to replace it with Winamp for playing my audio tracks. VLC still maintains its position as my favourite video player.<br /><br />Winamp with its global hotkeys and awesome experience had been my favourite media player for Windows during college days. Now it is back to take its original place. I must add that Winamp for Windows 7 is quite intuitive and flexible for me. I am one satisfied music buff now.<br /><br />On the other hand, I need to explore for VLC alternatives in Linux. I might opt for rhythmbox, which somehow resembles Winamp w.r.t the UI. Or there are tonnes of other players out there, from which I can take a pick.<br /><br />Question: What would be my choice for Mac. Update: Received a tweet from <a href="http://twitter.com/rsrijith" >Moosa</a> to go for Itunes player in all three OSes. Will certainly give it a try.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi99md8o_2tPj89mxK1mpPAxdB8bS3leXLKzO-Ls8lubslCf2kZhCGSMbRIbRqiwWZVUkUaH5lCUUa_vBKuSEYa1s9yf1AKROMoLZj_OudVHCozcVvBHrea0KfIjs8PNWT2nF9Kvw/s1600/rhythmbox.png"><img style="float:right; margin:0 10px 10px 0; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi99md8o_2tPj89mxK1mpPAxdB8bS3leXLKzO-Ls8lubslCf2kZhCGSMbRIbRqiwWZVUkUaH5lCUUa_vBKuSEYa1s9yf1AKROMoLZj_OudVHCozcVvBHrea0KfIjs8PNWT2nF9Kvw/s200/rhythmbox.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5570077510262274834" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAta9oY2fJnnZWdi52029fIOLZnCUqj7XrhCchr8l_fuTJviqdeE3CNZPMyuHQ9fdjTJ1oaTLsUNMtrSmkbZ6k4x8OkzjwD7QItnM0C-P7YC7FpjxAJzSrduc3zDKzAVz7RJeQXw/s1600/itunes.jpeg"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 143px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAta9oY2fJnnZWdi52029fIOLZnCUqj7XrhCchr8l_fuTJviqdeE3CNZPMyuHQ9fdjTJ1oaTLsUNMtrSmkbZ6k4x8OkzjwD7QItnM0C-P7YC7FpjxAJzSrduc3zDKzAVz7RJeQXw/s200/itunes.jpeg" border="0" alt=""id="BLOGGER_PHOTO_ID_5570077805327692578" /></a>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-90782616428470412172011-01-22T14:01:00.004+05:302011-01-22T14:26:48.979+05:30Why Google Image Search is falling shortHow do you assign thoughts, and ideas to images? <br /><br />You all must have heard about a picture being equal to a thousand words.<br />If so, when Google Image search relies on just the keywords in the site for retrieving images, how accurate can it be? Though I am aware that some experiments are going on in the information retrieval community and search engine giants, for mapping common thoughts and ideas to images, I want a tool coming out of it soon.<br /><br />The task of finding an image that matches the emotion in your mind, even though accurately mapped to English words, is quite tedious because not many think alike. And, Google uses a pagerank method for ranking, and the image you badly wanted could very well have been out of the index due to hundreds of reasons. <br /><br />At this point, I am forced to learn graphics designing, explore myself for an artist within, and bring the idea into an image and upload for common use. Though that might sound like an excellent business/utilitarian initiative, the fact is that it is very tedious for a small spark of idea.<br /><br />Having said all that, I am feeling more in need to pursue my Neural Network Mapping campaign I started in college. That would give me the position of being on top of the problem, rather than the problem being on my head. Here begins my reunion with the Information Retrieval side of Vivek. ( ah those days were so intellectually fulfilling )Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-4660107310017114022010-12-20T21:42:00.003+05:302010-12-20T21:56:33.600+05:30Electron Monger Ants<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHbrndGvOBrUUm-1Oz3jzxY5I2dzDbT3fdGq7Sc8sauEbUD-tIyD7wna6RoOL-4ZjE-CvIEE4NftEVOkWCIvb5csbnmozVSdjFzoIco2D3Qb7u3QaTjJ8NNqHHbRjvHK1XhpPjtQ/s1600/080520_EX_ants.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 146px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHbrndGvOBrUUm-1Oz3jzxY5I2dzDbT3fdGq7Sc8sauEbUD-tIyD7wna6RoOL-4ZjE-CvIEE4NftEVOkWCIvb5csbnmozVSdjFzoIco2D3Qb7u3QaTjJ8NNqHHbRjvHK1XhpPjtQ/s200/080520_EX_ants.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5552801633572321314" /></a><br />It never occurred to me when ants were found in my roommate's laptop occasionally, that these little creatures have an attraction to electrical equipments.<br /><br />Now I am facing issues with ants covering up my laptop charger node, even if there is no supply.<br />Also, some of the days I find ants crawling beneath my laptop, and going inside the case. These occurrences were too many that I finally decided to Google search this phenomenon.<br /><br />After a couple of unsuccessful keywords, I got the answer from Wiki answers and Yahoo Answers that indeed some variety of ants are attracted to source of electricity. But it is in fact the magnetic fields surrounding these equipments that somehow simulate them.<br /><br />The wiring in my building is not even earthed properly, so all devices connected to the power supply continuously emanate an AC charge, attracting huge crowds of ants to these power outlets, even when the plugs are switched off.<br /><br />Now, I have no other go than cleaning up all devices before connecting to my laptop and regularly warding off the hordes of ants from my room. Sheesh, what a mess.Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-41313389790875223542010-12-04T13:35:00.001+05:302010-12-04T13:37:41.836+05:30To Upgrade or Not to UpgradeNowadays Ubuntu is one of the most popular Linux Distros out there. It provides all kinds of features that Windows and Mac provide , free of cost. And, compared to other distros and early generation Linux, Ubuntu has taken the concept of hassle free OS to a new level.<br /><br />They are forever catching up with the latest in technology and new designs by having a very fast and reliable release cycle of 6 months. That means, every 6 months, you get a newer version of Ubuntu, boasting new and improved features, UI and bug fixes. Exciting , isn’t it.<br /><br />Unfortunately that also means that you might have to do a distro upgrade operation every 6 months or so. For some users, this can be very troublesome as they would have already installed a whole lots of apps and packages. For this reason, many users don’t opt for this change. But what if you desperately need that latest feature or compatibility woes trouble you in your current distro? Then you are forced to make that move.<br /><br />There are two ways to make that upgrade. If you have good internet connection , you can opt to upgrade your distribution directly, without harming your data files. Another option is to buy/order or download a fresh iso image of the latest Ubuntu and install OVER your current installation. The latter is time consuming especially to restore your installed apps manually. But the former too is not such a great idea as per my personal experience.<br /><br />Being Ubuntu, you would be having APT ( Advanced Packaging Tool ) installed in your machine. Use <br /><span style="font-style:italic;">apt-get dist-upgrade</span><br />to directly initiate the upgradation to a higher version of OS ( if available). Last time I did this, many of my application configurations got corrupted and crashed. There were some known dependency issues between consecutive versions, which are not visible to the user while initiating the upgrade. At the end, I had to opt for a fresh install. You can try out this for yourself. If it works fine, then its good. Else, read on.<br /><br />If you want to do a fresh install , then there are a couple of steps to save your currently installed app list ( because remembering, choosing and installing them is the toughest phase ) to a file and automatically reinstall the same list after a fresh OS install. The following are the steps for it:<br /><br />1) <span style="font-style:italic;">dpkg --get-selections > ./backup.log</span><br />2) Save the file to some other device<br />3) Do a fresh install of latest version of OS<br />4) <span style="font-style:italic;">dpkg –-set-selections < ./backup.log</span><br />5) <span style="font-style:italic;">dselect </span><br />6) Use “i” to install all the appsVivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com1tag:blogger.com,1999:blog-32743476.post-81122102675810818832010-11-20T19:43:00.008+05:302010-11-20T20:09:44.727+05:30Going through google labs...I was just going through <a href="http://www.googlelabs.com/">Google Labs</a> looking out for any new additions in it.<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi99XtrGQ3EjVcXKjGsB9DNNXsaACQSyoncetBuGrn8dw0enIj_XN3yE1P9rMtKcp54oyXk0hE3sm_LrD28CRXNLAsQ71g-GXS9o7hYE4uyF-hKqaUDFszU9f78bX2SeZOP_Snl9g/s1600/munnar_swirl.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 271px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi99XtrGQ3EjVcXKjGsB9DNNXsaACQSyoncetBuGrn8dw0enIj_XN3yE1P9rMtKcp54oyXk0hE3sm_LrD28CRXNLAsQ71g-GXS9o7hYE4uyF-hKqaUDFszU9f78bX2SeZOP_Snl9g/s400/munnar_swirl.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5541641527892251378" /></a><br />I tried out the <a href="http://image-swirl.googlelabs.com/"> Image Swirl</a> feature which is quite old now,but would be nice if implemented in the main Google Image search.<br /><br />The next one which caught my attention was <a href="http://www.google.co.in/music">Indic Music Search</a> which allows you to search and play Indian movie songs(currently only Hindi is supported) online. This again was released some time back,but I never remembered to actually try it out, until now.<br /><br />There were loads of great looking apps,but all were for android, and as I don't own any android devices or haven't started developing in it, I skipped them. But the apps were innovative and made me wish I had an android phone to try it out. One of them is <a href="http://www.google.com/mobile/goggles/#text">Google Goggles</a>, which allows you to search using photos captured in your phone camera. It is available for IPhone4 and Android.It seemed quite similar to my classmate at MEC , <a href="http://twitter.com/psandeepu">Sandeep's</a> academic project.<br /><br /><br />Afterwards, all the apps were quite old, heard of, or boring in nature.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyqtrOmN0E-7ajgW8zaGQT7vpDEG9WQPo4302OCCxvDeOjNVPHBwWm7ezH3vab4gxDsJEILk7AelUvx6pXO93OtIZVRuToRrvrtdYV13hwdgzr2TaqEQGT9-95E-OU7yfibpw5Nw/s1600/people_hopper.jpeg"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 200px; height: 138px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyqtrOmN0E-7ajgW8zaGQT7vpDEG9WQPo4302OCCxvDeOjNVPHBwWm7ezH3vab4gxDsJEILk7AelUvx6pXO93OtIZVRuToRrvrtdYV13hwdgzr2TaqEQGT9-95E-OU7yfibpw5Nw/s200/people_hopper.jpeg" border="0" alt=""id="BLOGGER_PHOTO_ID_5541639741239390130" /></a> I just tried out one, named <a href="http://people-hopper.googlelabs.com/">People Hopper</a>, which basically is an app which shows the transformation path between the profile pics of any two friends, through your Orkut Account. It will be added as an app to your profile and you can drag and drop your friends (any 2 including urself) and the app will calculate and show the transformations that convert one photo to match the other. It was quite crappy for the pics I tried and looked surreal. Anyway nice concept..someone might believe its actually accurate.<br /><br />Thats it for time being..will be back with more updates on my view of this myriad world of technologies..Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-77355043528787929082010-11-09T18:47:00.001+05:302010-11-09T18:47:35.851+05:30Saving All Tabs in Firefox <br><font size=2 face="sans-serif"><br> </font><font size=2 face="Arial">Often while reading technical articles and solutions, we might end up opening lots of tabs.</font> <br> <br><font size=2 face="Arial">Now, having lots of tabs open has its own downside , like slow loading.But a bigger problem is losing all these tabs data if your browser crashes for some reason( chances of crashing increase with increasing tab count and contents).</font> <br> <br><font size=2 face="Arial">These tabs are not exactly 'Bookmarks', as in you don't want to bookmark all these sites forever, as they might only be for temporary reference. And you don't want to save one-by-one.</font> <br><font size=2 face="Arial">Instead, there is a nifty option in Firefox to save all tabs as bookmarks at one shot. Pressing ctrl+shift+D will prompt you to enter a bookmark location and folder name under which all your currently open tabs will be saved as bookmarks.</font> <br> <br><font size=2 face="Arial">But I didn't find a way to load all these tabs back at once if required.</font> <br> <br><font size=2 face="Arial">So I am still looking for a solution to this problem of mine. The TabSaver extension of Firefox also seems to address similar problems.</font> <br> <br><font size=2 face="Arial">Will check it out and update back here. </font> <br> <br><font size=2 face="Arial">In mean time if anyone has any suggestions/solutions, please add in comment.</font> <br> <br>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-47723361077029532582010-09-08T23:25:00.004+05:302010-09-09T00:09:50.185+05:30Google Instant<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGZtMotpazxRllLawdhju7lw0ji7_ZNvBF9GB74IpgQS86XiVHa5iFY1H4HI8P9kry7Kj1XDjV4j9-nMmd4aQenYn5IoDTl0NwoIVcd7MmHeR_RvjB47yBWZTkNkB94rwTCM0AAA/s1600/Google460.jpg"><img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 192px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGZtMotpazxRllLawdhju7lw0ji7_ZNvBF9GB74IpgQS86XiVHa5iFY1H4HI8P9kry7Kj1XDjV4j9-nMmd4aQenYn5IoDTl0NwoIVcd7MmHeR_RvjB47yBWZTkNkB94rwTCM0AAA/s320/Google460.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5514614097759979506" /></a><br />So, its out. <br /><br />Google releases a major change to the UI after the autocomplete and spell-suggest addons, which is called <a href="http://bit.ly/9rGB9c">Google Instant</a>. It supposedly borrows its name from the Instant Coffee ,which is quite popular in the corporate world and Instant Noodles, which is very popular in Japan and among couch potatoes/geeks/kids. Google's innovations are also like these - Fresh, fun-filled and utilitarian.<br /><br />With the release of this change, you don't need to press the Search Button for any of your queries any more. Google will search while you type by combining an old technique called 'Incremental Search' designed by an engineer Amit Patel, and Google's now popular Autocomplete feature. When you start typing itself, Google predicts a list of possible queries and in addition, brings you the results of the top ranked query among that.<br /><br />Its kinda weird after all these years of conventional search that we have been doing. But it helps out a lot when you are not so sure about the query that you need to give in , to get to the data you want. You can straight-away decide whether you need to type the whole story , or just the first few words are enough. This definitely is an improvement, and not a revolution, because all it does is add to the overall user experience and reduce search time.<br /><br />I was just watching the Live Streaming of its release and talk by the famous Marissa Mayer (VP of Search ,Google) and the product managers and technical leads behind this quirky innovation, that is Google Instant. They showed some really cool search examples in the video, and I was excited to watch it all. But a tweeple friend of my <a href="http://twitter.com/_techie">Chetan Gole</a> also tweeted out the additional capability of Google Instant to be morally conscious. It won't support any kind of swear words or profanities in its predictive real time searches. Wow!!<br /><br />Currently, this feature is released on in the US version of the page, and will be rolled out for signed in users in other versions like Spain,Russia,UK, France and Italy. It will be available on the IE8,Firefox, Safari and of course Chrome.So keep your eyes peeled out for its release to Indian version and the default search page of your browser as well.<br /><br />The new age of search is <a href="http://bit.ly/a1pgwC">here</a>...Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-2767730298296105342010-09-02T22:17:00.004+05:302010-09-02T22:40:25.696+05:30Revisiting the wave<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Q4_OZoUd4a9Pcp-ZqL8AdxWahuWdtfiBecFxOuLHA0yWEFtGfRCe4rSa6lxrQ8iInZV7WTr24Unbx3HVS-dyi9tq-OkYIOWR0t43jItONsvdxNeV3Lbu4qFItImbNWZbIpO0Eg/s1600/google_wave_logo.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Q4_OZoUd4a9Pcp-ZqL8AdxWahuWdtfiBecFxOuLHA0yWEFtGfRCe4rSa6lxrQ8iInZV7WTr24Unbx3HVS-dyi9tq-OkYIOWR0t43jItONsvdxNeV3Lbu4qFItImbNWZbIpO0Eg/s320/google_wave_logo.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5512363761390205410" /></a><br />I was reminded of the Google service called 'Wave' when I saw the article: <a href="http://bit.ly/9yEkQu">Joined the wave</a>. <br />So I just went over <a href="http://wave.google.com">there</a> to see whether it looks any different from what it used to be. I had read some tweets and news about Google discontinuing the development on wave ,some time back.So, I wasn't really expecting anything above the slow and unresponsive windows and cluttered boxes which is my memory of Google Wave.<br /><br />Though the activities and presence (or lack of) of online contacts in wave supported by expectations, the interface and its responsiveness looked better than it used to. Maybe if, initially itself, they had released it the way it is now, it wouldn't have had this sudden death. Considering the hype that surrounded it during its beta release time, it has been a real nail in the coffin for the internet giant, that is Google. With this and some more failures and partially successful ventures, Google has been gaining on the negative opinions scale, competing with the likes of Microsoft and Facebook.<br /><br />Coming back to wave, the thing that caught my attention was the 6 boxes under "Start a New Wave", namely 'Blank Wave','Discussion','Task Tracking','Meeting','Document' and 'Brainstorming'. As there weren't any contacts online, I was not interested in any of these, except 'Task tracking' and 'Brainstorming'.<br /><br />But, each of them turned out be something like a custom template from Google Docs.Brainstorming had this extra feature of flash component that allows drawing. So, for collaborative brainstorming, this might have been a good tool. I liked that.<br /><br />Speaking of the task tracker, I being a person of low brain retentivity, tend to use task trackers and notes extensively. And hence, I find such tools very useful and amusing. Here also, the availability, of categorization of tasks based on priority caught my attention. Apart from that, it is not interesting at all. I would any day prefer a proper task planner software on my desktop, or for that matter, even gmail's task list over this.<br /><br /><br />Overall, I felt good that Google stopped wasting time on this. Maybe they will enhance something else worth using. It was rightly discontinued, as it is a big failure from Google. So waving goodbye to Google Wave again..adiosVivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-41413798802112577212010-09-02T21:55:00.005+05:302010-09-02T22:09:39.625+05:30Echofon breaks in LinuxOne fine day,when I logged onto my Ubuntu, and started firefox, I got a message box with no contents in it other than an OK button with the message box title reading 'Echofon'. As I couldn't figure out what was causing this error, I executed Firefox from the terminal in background mode. The error message that was printed on the terminal is :<br /><span style="font-style:italic;">"Can't get OAuth signer. Use Basic Auth instead. / Cc['@naan.net/twitterfox-sign;1']"</span><br /><br />I googled this, and came to <a href="http://bit.ly/aX0fzS">Echofon for Firefox</a>, where many people have put their comments that Echofon is broken for Linux or has been discontinued for Linux from version 1.9.6.5 onwards.<br /><br />Mine was that version, and so as per the suggestions in that page, I reverted back to version 1.9.6.4,and voila echofon is working fine.<br /><br />Morever I saw that Twitter has sent me a mail regarding discontinuation of basic authentication and enforcement of "OAuth" authenatication method. This might prove useful in centrally controlling all applications which have access to twitter timeline.<br /><br />But the news of rolling out of "t.co" url wrapping doesn't sound so good, in spite of their claims of providing protection from potentially malicious website and reducing obscurity in URLs provided over twitter.<br /><br />With this in place, I wonder what would happen to services like bit.ly which provide realtime analytics for such shortened links. Anyway it will be deployed in a beta mode in a couple of weeks, and made mandatory by end of the year. So, have to wait and see what happens, and how tweeples react to these new regulations and rules in twitter,.Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-37168378628920803022010-06-30T22:13:00.002+05:302010-06-30T22:17:52.838+05:30VLC 1.1 Crash on PC LockI noticed that my latest vlc(1.1) installed on Windows XP SP2 crashes whenever I lock the pc (win+L or auto-lock). This seems to be a known bug when I searched the <a href="http://trac.videolan.org/vlc/ticket/3647">net</a>.<br /><br />Hope they will fix this soon. I am fed up of this bug as I listen to long list of songs while at work, and hate to fill it up again due to the crash.Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-52001543031962972422010-06-22T17:24:00.001+05:302010-06-22T22:13:51.980+05:30VLC 1.1 is hereThe new and improved VLC 1.1 is here. <a href="http://videolan.org">Check out</a> <br /> <br /><a href = "http://sourceforge.net/projects/vlc/files/1.1.0/win32/vlc-1.1.0-win32.exe/download"> Download</a>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-33290756553569804592010-04-10T13:09:00.004+05:302010-04-10T13:46:36.533+05:30Importance of Logs and History<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyDxJfloKwQNWWFMNrDAQ2BO21012cRNjY2_vymZJDlsc4MKnbGYxsuNo4CUrT5mbKCDsMoajWG6kxccKNJOTd7UG-BivRs749EbNJugZN3a17rdO32lbya5VY-sBULJ55yhCpA/s1600/log-book.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 285px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyDxJfloKwQNWWFMNrDAQ2BO21012cRNjY2_vymZJDlsc4MKnbGYxsuNo4CUrT5mbKCDsMoajWG6kxccKNJOTd7UG-BivRs749EbNJugZN3a17rdO32lbya5VY-sBULJ55yhCpA/s320/log-book.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5458419759151815874" /></a><br />Something that is very important for administration of large systems and databases are logs.<br />Logs in the sense, log files as well as log of all transactions by maintaining history tables, in case of databases.<br /><br /><span style="font-style: italic;">Why is it that logs are so important?</span><br /><br />From the point of view of administrator of DB or any system, various logs allow him/her to monitor parameters, activities etc and trace back reasons for any errors/malicious activities.It also keeps the administrator safe from accusations, as he would have immediate proof of all activities.<br /><br />In case of DBs, it helps capture historic data either for analysis at a later stage, or for the same reasons as mentioned above. It also gives indications when and why your application/system behave in ways it was not meant to.<br /><br />It is an excellent guide for debugging, and sometimes the only resource in your disposal to identify and correct major issues. If you don't have a robust logging mechanism in place when disaster befalls your crucial data, you better start looking for a new job( or even worse ).<br /><br /><span style="font-style: italic;">How and what to log</span><br /><br />Now, w.r.t a system related more to users,files and devices, logs must be present to capture login, file related and device related data. All major changes to any of these must be recorded for maximum debugging and recovery ability. A standard Unix server which hosts files for multiple users and allows access to multiple devices is a an ideal place to learn about good administrative practices and policies. There will always be a competent administrator behind every well-administered Unix system.<br /><br />But in case of Windows servers, I won't say that much. The minimal administrative tasks that are configurable will certainly allow the administrator to handle 80-90% of the scenarios smoothly. But for the remaining 10% , a call to Microsoft tech support might be required, which might only be 50% successful in resolving the issue. But they will 90% of the time be successful in closing the request you raise, irrespective of whether they solved your problem or not. Anyway, lets not stray from the topic( I just couldn't resist ).<br /><br />In a production database handling millions of records with 100+ columns on an average in each table, database designers end up loading a huge amount of logic flows. In this scenario,if any one of these flows end up being wrong, and data has already gone into the DB, it is a hellish task to restore it without substantial downtime. This is where logging and history tables come into the picture.<br /><br />There are many things that need logging which are dependent upon the business logic of the database. Excluding that, the other things that require logging are DB usage details, abnormal disk/memory usages, logins, transactions etc. Most of the databases have system tables to record almost all these information. But sometimes, the designer/administrator will have to incorporate additional logging tables to record some indirectly available data.<br /><br />History tables are an excellent tool for debugging and analysis. But,they take up lots of disk space. Sometimes, it is acceptable to archive or purge historical data. In that case, regular maintenance tasks can be scheduled to trim the history tables. But in cases where data is required, we might have to think of extra storage facilities or mechanisms to automatically archive and restore data. Those solutions do have their own processing requirements and hence provide extra overhead, but sometimes are the only solutions suited to the business need.<br /><br />So, whenever you design a database for transactions involving lots of data, design a robust history logging mechanism as well. You will not regret this decision. It helps in validating logic changes to procedures, migration packages, schema changes etc. <br /><br />As an administrator or designer of either Operating systems, Web Servers or Databases , it is a very good policy to maintain proper logs/history tables and utilize them effectively to get the required information out of complex systems, and make your life easier. Don't end up giving yourself a nervous breakdown ;)Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com1tag:blogger.com,1999:blog-32743476.post-8979637441146962162010-03-19T12:18:00.001+05:302010-03-19T12:18:22.226+05:30Now, That is Rude!<p class="mobile-photo"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdkIhJugag-aQn_CoPdqnjcNj9y8OxAh0rvFJFWli-iYLfe26v1DPOpZUYkZt2e1Pe3DqO0nfmSarQ_WTGPDcDBbh-p8A-_JjHLgLn80Ljm302lsCoSKZaXMACElDMwAlEf795VQ/s1600-h/mailer-702226.JPG"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdkIhJugag-aQn_CoPdqnjcNj9y8OxAh0rvFJFWli-iYLfe26v1DPOpZUYkZt2e1Pe3DqO0nfmSarQ_WTGPDcDBbh-p8A-_JjHLgLn80Ljm302lsCoSKZaXMACElDMwAlEf795VQ/s320/mailer-702226.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5450233194518683602" /></a></p> <br><font size=2 face="sans-serif">This is an error message I received for a mail I sent with a mistyped address.</font> <br> <br><font size=2 face="sans-serif">Now thats really personal to say things like that. </font> <br><font size=2 face="sans-serif">The 'Mail Delivery Agent' even apologises that 'he' was not able to deliver my message.</font> <br><font size=2 face="sans-serif">But stating that he doesn't like my recipient IS rude. :D :D</font> <br> <br><font size=2 face="sans-serif">I wonder what all such agents would end up doing if they showed their own tastes and preferences.</font> <br><font size=2 face="sans-serif"><br> </font><font size=3>Happy Hacking</font>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-34515526858759814612010-03-17T11:56:00.002+05:302010-03-17T21:48:20.911+05:30Script Design component of SSIS missing<font size=3>If you have installed Visual Studio 2005 alongwith 2008 version and are working on SSIS Script Components or Script Tasks, then you will find that clicking on Design Script button on the component will give an error "Cannot show visual studio for application editor".</font> <br /> <br /><font size=3>The solution is this is to either remove Visual Studio 2008 or install SQL Server 2005 SP3 edition. In my personal laptop, I did both as I didn't need Visual Studio 2008. But in case, you need both IDEs, you can install SP3 and fix the issue for good. It worked for me.</font> <br /> <br /><font size=3>-Vivek</font>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-6703040156396534512010-03-16T23:03:00.003+05:302010-03-16T23:19:17.052+05:30One day of workPhew,today I decided to get into my development environment in Windows 7 and fix it up for good.<br /><br />SQL Server 2005 Enterprise Edition, which I had installed previously had issues with the SQL instances. I ran 'services.msc' to find that SQLExpress was not running. I tried reinstalling SQL Server a couple of times from the CD, before realizing that it did not include SQLExpress server.<br /><br />I then had to download it from the Microsoft Website and install it. Before installing it, I removed my existing installation of Visual Studio 2008 and SQL Server 2005 as well. It must be noted that for Windows7, it is mandatory to install SP3 of all SQL Server components. So, I did that and finally(by afternoon), got it running.<br /><br />Next issue was with SSIS itself. Through some googling, I got to know about derived transformations and lookups. I just managed to finish up a partial setup of my required workflow, a few minutes ago. Rest of it, I have to continue from office, after some discussion with my senior. Some alternative solutions exist for it. Btw I will briefly explain the required workflow here. It might be pretty easy for those used to SSIS, but as a fresher it was pretty tough for me.<br /><br />An excel file contains about 5 workbooks, each to be migrated to corresponding SQL tables, with additional fields of IDs,Creation/Modification Timestamps and By info. Also, to be implemented is a history mechanism, which just means that whenever a field in excel file is modified, the package must detect the change, and update the table with changed data, and insert that info into the history table. This needs that every update to transaction table be clubbed with an insert to history table. I am clear with the requirement,but neither the workflow design nor which transformations can help me achieve these.<br /><br />Lets see...btw here is a screenshot of the workflow designed so far<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hG2HAubpbtkPkdPRq6P369Y9QhHg7YntXjxPaJp0kbi4Ig2fx5sPDpUscRDwIJsytipB8vN88rG5TWoo02JSNyGzxlQWBgOJVX0vNX6px8wFe0JAn_yeoKlyeJVZfCaDqoSHHQ/s1600-h/ssis.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 208px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hG2HAubpbtkPkdPRq6P369Y9QhHg7YntXjxPaJp0kbi4Ig2fx5sPDpUscRDwIJsytipB8vN88rG5TWoo02JSNyGzxlQWBgOJVX0vNX6px8wFe0JAn_yeoKlyeJVZfCaDqoSHHQ/s320/ssis.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5449289233588091282" /></a>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-14698190018959184032010-03-08T22:15:00.001+05:302010-03-08T22:15:44.841+05:30SQL Server 2005 on 64 bit<font size="4">To properly run SQL Server 2005 on a 64 bit (Windows 7 in my case), you have additionally install the SQL Server 2005 SP3 patch.<br>It seems due to that, I had issues previously on trying to run the Server Management Studio.<br> Now trying it out!</font><br clear="all"><br>-via mail<br> Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-41598368137140731252010-02-18T05:38:00.004+05:302010-02-18T06:02:15.151+05:30Geo-Localized Tweets Apt for Criminals<table><tr><td><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6h5__wLSrcQUEqjDoOYqjTaNyMfWMhhKacC7FR04BN54bP30ZyTyvo8vRHq9DsEHxxI_KMIjjXXzwwzZbGfMgIXDy9_GPgBXcoY7fnQaAPRhEcagtSqytB0umCwheYrzJEjpnXQ/s1600-h/pleaserobme_270x133.png"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 99px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6h5__wLSrcQUEqjDoOYqjTaNyMfWMhhKacC7FR04BN54bP30ZyTyvo8vRHq9DsEHxxI_KMIjjXXzwwzZbGfMgIXDy9_GPgBXcoY7fnQaAPRhEcagtSqytB0umCwheYrzJEjpnXQ/s200/pleaserobme_270x133.png" border="0" alt="Please-Rob-Me"id="BLOGGER_PHOTO_ID_5439372271118258034" /></a></td><td>There are lots of geo-location based services out there now, like Foursquare and Buzz.<br />These allow you to tell the world where you are currently in addition to other info like what you are upto.</td></tr><br /><tr><span style="font-style:italic;">Image from Pleaserobme.com</span></tr></table><br />It is definitely fun and sometimes comes in handy for people who travel. <br /><br />But if you are prone to put sensitive information on your whereabouts on the internet, do think twice. Because sites like <a href="http://bit.ly/aY2jqc">Please Rob Me</a> have come up, that allow a person's public tweet/buzz/location updates to be filtered and indexed. It will tell a potential criminal whether you would be available at your home for the weekend or not, making the information gathering an easier task for him/her. The site is actually meant to show the users how much vulnerable they are.<br /><br />Its not very common in India for a criminal to be considered tech-savvy, so Indians might find it a trivial matter. But irrespective of location,criminals( successful and ambitious ones ) have been found to be one or two steps ahead of the society's expectations off them. So, next time when you post something, just give a thought whether it will put you or someone close to you in danger in real life. Its better to be safe than sorry.<br /><br />In a related story,a person hacked through the authentication system of Foursquare, the popular geo-location service,and exploited all its benefits. Read his confessions <a href="http://bit.ly/aOYYXO">here</a>Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0tag:blogger.com,1999:blog-32743476.post-28562025137169191062010-02-16T10:16:00.003+05:302010-02-16T10:50:55.799+05:30Flat CurvesHi,<br />There was a beautiful talk by Stefan Sagmeister on TED, on three phases of your career- Learning phase,Working Phase and then Retirement.<br />He mentioned that the learning phase occurs till around 25 years of age,but as it is, I am already working and nowhere near 25. So, am I in learning or working phase??<br /><br />I would say partially in-partially out, of both the phases. I ain't learning much to talk about,but learning enough to explore day-to-day work. And I ain't working much to create stuff that would blow away minds,but working enough to get more stuff to learn ,while earning of course.<br /><br />With respect to my learning curve, it is a 'relatively' flat phase. I meant that w.r.t technical stuff only,otherwise it is one-helluva learning experience going on. <br /><br />Technically, now I am more into managing large pieces of code, doing proper impact analysis on bug fixes and new features and, of course implementing them. <br />The technologies I am involved with are the bit outdated, Microsoft ones, like IIS 7.0, .NET 2.0 framework with VB.net and ASP.net. I have been doing some nifty new features with Office automation and Visual Source Safe libraries.<br /><br />The main involvement is with SQL Server 2005, with its Reporting,Analysis and Integration Services plus linked servers,scheduled jobs etc etc. It is a thoroughly enjoyable job to work with complicated SPs,functions and services.<br /><br />On the sidelines, I manage to put some effort into COM based communications, tcp/ip related issues, kernel concepts and of course, my favourite, network hacking! The methods for these vary from simple casual talk to brainstorming sessions with colleagues who might be like-minded or have issues in these fields. <br /> <br />Will put up something on these topics in coming days.. in the meantime, I am open for discussion<br />Follow me on <a href="http://www.twitter.com/Vivek788">Twitter</a>,or put comments in this blog.Vivekhttp://www.blogger.com/profile/00421744345005610109noreply@blogger.com0