Pages

Saturday, December 4, 2010

Remove Facebook rotating image spam

Firstly i thought removing the cookies and cache will clear the stuff but it doesn't help. The attackers who made the JavaScript  had actually utilized the email address given by Facebook which most of us don't have a idea exist even.

So we have to refresh that also after removing cookies and cache of browser. This came from the fact that when you see the status update it says via email, and thats the email they targeted.
Follow these simple steps to follow to remove the spam completely:-

1. Remove all the cookies and cache of browser + go to control panel -> network and internet ->delete browsing history and cookies. In the general tab click setting under browsing history as shown.
Click view files after the clicking settings tab. Delete all the files in there.
Now clear the cookies and cache that your browser stores from its settings.

2. After deleting all the files. Go to this link while you are logged in Facebook http://www.facebook.com/mobile/
Here you must see upload via Facebook. Click the picture above it. This is the email you can use to update status of your Facebook, post pics and much more.

Now, you have this.


Click on refresh your email, and  it will ask for your permission that if you are sure to do it. Say reset and a final success message with a new email address will be given to you.

And you are done... no more rotating image spam to your Facebook wall.

Summarizing: 1. Delete all the cookies and clear browser cache. 
                     2. Refresh the email of the Facebook. 

Please comment if any problem in the steps or the spam persist.
-d3m0n

Sunday, November 28, 2010

Ubuntu 10.10- Maverick Meerkat

Recently, i made a shift to Ubuntu 10.10 maverick meerkat. The maverick is the adjective and meerkat is the animal. It was launched on 10th oct 2010 so version 10.10. They release a version every six months with small changes.
If you interested in knowing about other names of ubuntu versions.. have a look here.


Whats new?
1. The best thing i loved is the Ubuntu software center. A center for all your software needs..and obviously they all are free and open source.
2. The open office is still embedded, so no need to search for your word, pdf, excel, ppt etc documents.
3. The rhythm box is the inbuilt music player. It plays everything including online radio stations, podcast, last FM, and few more stuff. It gets embed into the volume control itself if closed.
4. Graphics is little tweaked, and looks better. Compiz config can be installed using Ubuntu software center.
5. The new default wallpaper and wall theme looks good.


Why Linux or say Ubuntu?
1. Faster-
                     With my PC configuration (p8600 2.4 ghz core 2 duo, 4GB of ram, 512 ATI radeon 4570 graphics card) it takes me around 45-55 seconds to boot my win 7 PC, freshly installed. And it takes 25-30 seconds to shutdown. Ubuntu 10 takes only 2 seconds to shut. The booting time is also better around 25 seconds + no time to start some services which hangs windows after booting a little.
2. Free-
                     Open source and free softwares.
3. Compatible-
                      Most of the windows softwares are compatible. You need to install wine for that.
4. Easy to use-
                       Its not that command line, that most of us use to hear about Linux. e.g. i hear once from someone that in Linux if you want to open CD drive than you have to write line of codes for that :P
5. Looks good-
                       Better graphics then windows and easy to manage them
6. Developer Friendly-
                      If you are developer than Linux is god for you. They have support for .net on Linux now. To know more about this click here MONO

It takes a little to shift permanently to Linux, you did not know windows from birth, its just that you are accustomed to it.
There are many Linux available but i prefer Ubuntu because of good support available at Ubuntu forums. Give it a shot and see the power.

Monday, November 22, 2010

Practical of TE comp

SPL
    Most of us TEs would have heard about the professor who came as the external for the SPL (signal processing lab) viva. Well, here's a first person account of the same.
    Day 1, scheduled to start at 9.00am, the dude walks in at 12.30. Till then, almost everyone was bored to the core. Whatever excitement or anticipation that the students had for the first viva of their engineering career, it had all but evaporated by then. Meanwhile, people outside, who had their exams the same day, were hungry to know how the first batches fared. We were making fun of them... until it was time, finally. Whatever happened next, was in no way, even close to fun.
    He started taking close to half an hour for each set (2 students). His prime target was the files we make for our assignments. Everyone knows how we write files, so did he; and he wished to exploit it. He would scrutinise each and every page until he finds a mistake, and then either your file is in the air, or broken into pieces. Our internal supervisor, next day, tried to save few batches by taking their orals before he came. Some respite. Overall, about 30-40% boys (yes, gender specific) were asked to come again next time. And girls !, well, what to say, he was a totally different person to them. All goody, goody. Oh! God bless him.

RVPL
    This was supposed to be the easiest practical ever for me, till i found out that maximum atkts were in this prac so far. Wonder why, it's so easy! First day, first batch, only 3 students were able to produce complete output, and i thought, yes, its is going to kill the students next day. The practice of asking other people about their practicals never helps, believe me. The pattern of TE practicals changes so fast, also, day 2 did not have any questions which were there on day 1. All you could get from students of day 1 was the answer to the question 'Are they giving change', and it was in a negative.

HL
    By far, the easiest. People were getting changes if they asked, and most did. Even if they aren't able to perform, the internal is generous enough to pass most of them, if one has written some relevant code, which may not even work! 20 is good, if you are not able to compile or even remove errors

Last words, had the first viva of my life, and it was hell. There are most next semester, and this time, the assignment files are going to look better than this time. Lesson of the day, presentation matters a lot.

Monday, November 8, 2010

Clockwise or Anti-Clockwise ?

Do you see it turning clockwise or anti-clockwise ?


THE Right Brain vs Left Brain test ... do you see the dancer turning clockwise or anti-clockwise?

If clockwise, then you use more of the right side of the brain and vice versa.

Most of us would see the dancer turning anti-clockwise though you can try to focus and change the direction; see if you can do it.

LEFT BRAIN FUNCTIONS
uses logic
detail oriented
facts rule
words and language
present and past
math and science
can comprehend
knowing
acknowledges
order/pattern perception
knows object name
reality based
forms strategies
practical
safe

RIGHT BRAIN FUNCTIONS
uses feeling
"big picture" oriented
imagination rules
symbols and images
present and future
philosophy & religion
can "get it" (i.e. meaning)
believes
appreciates
spatial perception
knows object function
fantasy based
presents possibilities
impetuous
risk taking

Check out the article at The Herald Sun
You can change her direction and see her turning both clockwise and anti-clockwise, try to focus and concentrate on her feet and the shadows and may be you can.

BTW It seems trickier to me
 
src: The Herald Sun

Friday, November 5, 2010

Diwali- The festival of Lights

Happy Diwali to all the followers of the blog and other PICT'ians.Must have enjoyed the small vacation of Diwali.
As it is festival of lights we light many dias and decorated the house. Had Lakshmi Pujan and then crackers.
Diwali is the festive when all our family members re-unite so its happy time for all :)
Enjoy the festival and keep safe from crackers. And get ready for practicals and exams. 
Wish you all good luck :)  

Saturday, October 30, 2010

Have a extra monitor?

I bought a LCD monitor in 1st year of my engineering but never used it much. The very first semester it was the only thing i had, but the next year i had a laptop and i ignored my desktop. It was used only for downloading and sometimes experimenting.
Well not to forget that it helped me a lot in winning the OPUS (project i had was completely tested and worked best with my desktop) and many more applications were tested on it. My room mate also used it for his multi player game testing and his server client chat application.
But recently i find many ways i can utilize it... this post will be useful for those who have a extra monitor/desktop.
Extended display: For those who like lots of coding this is a boon!
Connect that extra monitor to your laptop and change the setting to extended display. See the screen shot below. It will show you two display's..
After you change the display to extended display you will see your desktop on other too.
It could be damn useful for people coding long hours and it increases the productivity by 20-30 % (study says).
A small demo of my extended display. I am using Dell studio 1555 and Samsung sync master 740nw on the left.


8051 Simulator

For many students of TE Comp. Sci. and others too this could be useful, a 8051 simulator. There are many available on internet but many of them don't work. I tried this and it worked well for me.
Download 8051 simulator here
Follow simple steps given in the install.txt file in the download.

After that to make a new project follow these simple steps:-
1. Open keil uvision 3 from startup.

2. Project->New uVision Project

3. Give it a name and save.

4. Select IC Atmel 89C51, looks good for our 8051 simulation. You can choose the one you want, details about it are given on right hand side.

5. Press OK.

6. File->NEW

7. A text file will open. Write your asm code here and save it as ".asm"

8. Add the saved file to the project we just created on the left, using right click and add file. You need to show all files in order to see ".asm" files , the default is ".c" files.
For eg.
MOV R0,#04
MOV A,#01
LABEL:
MOV B,R0
MUL AB
DJNZ R0,LABEL
RET
END
This was my code for Factorial of 4, you can see some changes than what we use to write on kit. a) we have to use label here instead of address for jump
b) register B which has address F0 is also changed on line 4.

9. Project-> Translate Current File
Project-> Build Target File
Project-> Rebuild all Target File
This will show you errors if any in the bottom of the software.

10. Go to debug and press start debugging session.

11. Debug->Run
You can see all the registers changing on the left.
In my program the register 'a' got a value 0x18 i.e 24 .. factorial of 4.

Well this is kinda useful for practicing 8051 extra assignment list. You can explore more.. like while in debugging mode you can see the timer of the micro controller and even SCON and SBUF register values. ( goto peripherals and select what you need).


Still have a doubt feel free to ask a question. Only 8051 related queries please.


Wednesday, October 27, 2010

Searching for new music?!


Check my playlist. You might like few of them, you can check my music profile here.
And my playlist attached as a pic here.
Click on it to zoom


Monday, October 18, 2010

Undiscovered places in pune..

After 2.5 years in Pune (esp. PICT) i can tell you now few places which many of the other people might not have visited , even you can add more to it i know but its my post so, my places!

1. Kata Kirrr..
-Famous For: Misal pav ( its the only thing available there)
If its Sunday please change your plan and also if the time if more than 4pm. They make the stuff only once in morning, and serve till its over.
Normal Cost: 45-50 Rs after a full diet per person.
Place: Near Deccan, close to back side Garware College.

2. LBT( Lonely Banyan Tree)
-It's a place to find peace, after all your frustration, on your college,your project or anything. You will surely love this place. Its on way to a hill. You will find bikes parked there, that's how first time i found this place. Take something to eat and LBT!
It's around 6-7 km's from PICT campus, take the way to kondhwa and ask someone about singhad, kondhwa and straight from there to the hill.

3. Unnamed Place 1
-Not hard to find and easy refreshment after college hours. They have SEV PAV and SAMOSA PAV. Its on the way to BSNL office in the back side of college. To spot the place, again you will find many people standing + there is a tuition classes nearby. The place got no name.

4. Burger Barn
-A bit costly place, but easy to find. Lane 7, koregoan park near natural ice cream shop(hope you know this). The Place where you will find best burger in the city. If you are going there don't forget to add mozzarella cheese to whatever you are eating and the starters are just awesome. look at its menu .

5. Jagatbhari Kolhapuri
-People who like spicy food, this is a good place.They have only one thing in menu, the masoor dal and roti. Have curd and extra butter if you lover of good food but not spicy.
It's opposite to dominoes on satara road.
Avg cost 80 per person.

6. HOT( the name of place :)
-The way to this place is bit tricky. It's in wanowrie, near to Mc Donald's there. To spot, there is a big fueling station nearby.
It's good for small refreshment like pastries and bread stuff. Try veg paneer Kathi roll.

7. Devils Delicious
-The second nearest place to PICT. A small bakery with nice stuff. Try it someday.
It is near Katraj Dairy, towards right near a big stationary.

okay this is it for today, try them till i get you more soon!
-d3m0n

Thursday, August 5, 2010

A fine proposal

For those who are not familiar, from July 2010, our college PICT has framed a new rule. It goes as this, if you don't attend the college for a lecture or a practical you have to pay Rs 100/- for that. First list was on notice board on 2nd week after college started. We all thought that since NAAC is visiting college so they have put such notices on board (they even renovated some parts of the college), so we all ignored it. After 1st week fine they put up other notice about 2nd week fine and teachers started asking students to pay the same.

Finally, it was Monday (so called BLACK DAY in college history) 2nd August, everyone was asked to pay fine else not allowed to attend classes. Around 11AM all SE, TE and BE of computer science department were thrown out of their classes. All gathered in the main lobby first and then went away for the lunch at 12 noon. No one was in mood to pay fine and all were totally against this system. Meanwhile news came that, ENTC and IT department people had reluctantly paid their fine and were attending classes. So it was only comp dept fighting against the rule, but this was the day when we saw the real unity of the department. At 1PM, everyone was back, we had practical and our professors took the attendance and told us to pay fine before we sit. All SE and TE sections gathered in a single room and we finally decided not to pay FINE at any cost, because monetary penalty is never the solution for student. We all had many small meetings that day (in canteen at parking etc). The question being, till when? "kab tak fine bharenge".

Due to mass protest and no one paying the fine, even many of the trustees came to college that day. Having had enough, the Principal and VP called an urgent meeting in the auditorium. There was a huge discussion over all topics related to attendance, student performance, college reputation and what not, and also how students were in no mood to pay. At the end of the one hour debate, though, we realized that the other side of the table had played their cards superbly, diplomatically waiving off all protests. Inference – none. They told us blatantly to pay the fine for the 1st week, with the other two weeks’ fine kept on hold (as if we didn’t know what that meant). In between, teachers even tried to break through (that was the saddest part). Conversations I heard between one teacher and student

teacher:- why are you fighting for all?

student:- mam, we all are against the paying.

Teacher:- you have only 300 bucks fine. Pay it and other will automatically pay.
A teacher even told a student that she'll go and pay fine for him if he is afraid to go, I muttered wtf?( So that the system stays?)

The very next day BE people also protested, they sat on their knees in the department, till one of the senior teacher came and pleaded them to stop doing this and support college, if they do so, then junior's will also. Talk about putting up an example!

FE admissions are ongoing. While I was returning from college, a parent asked me about PICT, how it is, how are the placements, faculty (!), facilities (!) etc. I could just blankly stare at her.

-d3m0n and SK

Divine Conflict

The conflict of humanity against divinity is divine one.Humans are really fortunate at the same time unfortunate.They are fortunate because they can have a glimpse of divine,can have an urge to attain it.At the same time they are unfortunate because as soon as they plan to start the journey,they have their own mechanism which stops them for doing so.This is the real fun.The same truth is being reflected from each and every thing.The whole cosmos echoes the same voice,but we cannot hear it.Even some time we manage to listen it,we pretend that we have not heard.I wonder….why this is so?I myself have observed that even if we start the journey,when we come at the very end of it,something locks up.And no one other is to be blamed for this.This is the coding….done within….the whole game deals with breaking this code.But when you are breaking the code,it is like you killing yourself…because on surface you are nothing but this code.Thats why enlightened one is called Dwija….the one who has taken birth for second time.So,man is really badly trapped.it is a divine plan.To know the divine is also a divine plan.And conflict between these two plans in a human being,is also a divine plan………

Saturday, June 12, 2010

The power of Books

Books are the most versatile things on earth. It is amazing to know in what all ways books can help us. No wonder they are known as man’s best friends, second only to dogs!

Here listed below are some of the many uses of books. Check how many of them you can identify with.

  • The most primary and the most obvious use of books, even to those who can’t read, is weightlifting. It is really interesting how a bunch of papers, which negligible mass of their own, when combined, can compete with dumb-bells. The accomplished heavyweights being medical anthologies.
  • Books sometimes serve as secure treasure troves. Be it fresh 1000 Rs. notes or a rare leaf collected or the golden Dairy Milk wrappers, we always cherish them by storing them in huge books. The bigger the book, the crisper is the note, or the wrapper.
  • On one of those days, when you have friends at your place, and you want to play the turn-based board games; everything is all set up, except the most important thing – dice. Where else can a book be handy. You just flip the pages and stop at any random one; the units place digit of the page number is your number to move!
  • Books also are impressive canvases. Just recall all those days in class spent in sketching the most intricate drawings in every corner of book. Logos, sceneries, calligraphy of the highest order, and other such superb pieces that even you are amazed to know you created them, when you look back at them.
  • They serve as the perfect alibi. You are, say, in a library, checking out a girl/boy (choose your pick), and he/she suddenly catches you staring, you can always immerse yourself back into the book you are holding, feigning utmost concentration.
  • This one is not exactly a use, but just drawn out a similarity – alcoholic beverages. They can make you nauseous, make your head spin. Books too possess similar powers.
  • The last, and the best use. The most dependable, no-harm sleeping pills. That too, without any side-effects. The sleep, or nap, that you doze off into, while reading a particularly boring book, is the quickest, and the most blissful sleep one can ever have, right in the middle of the day. Try it, it’s the best you can experience. And, unlike pills, or alcohol, books are totally unaddictive!

I, myself, am an avid reader, and love reading books that enthrall me. So it be known, that the books mentioned here are the ones that are haplessly put onto us by the syllabus. The gigantic, totally non-arousing, downright creepy, and almost cruel syllabi texts one encounters. You know the kind.

Wednesday, May 12, 2010

My last 5 movies..must watch

College was over, submissions done. I haven't watched a movie from last many months, not because of college but i don't wanted to waste a hour and few mins for a movie which in end is found to be a piece of crap. But last five movies i watched were damn good and almost all were of same genre.

1. First was THE BUTTERFLY EFFECT, it was based on a paranormal activity. The movie makes a buffer of watching it complete, the end was as expected, but to my surprise the movie has 4 different endings, yup one movie with four endings!

2. Next in the list was THE PRESTIGE, movie about magicians. The movie has big names like Hugh Jackman(the wolverine) and Christian Bale(Batman), and is directed by none other than Christopher Nolan who had movies like The Dark Night and Memento.
The movie binds you all over as it flows, a complete movie with superb acted by both the jacks.

3. The third movie i watched was SHUTTER ISLAND, a complete movie. Before i was going to watch this movie i was warned by one of my friend that it should be seen only if you free and have your brain at right place. This movie don't let you think what could be the next!

4. The next movie was the Classic IMDB highest rated movie THE SHAWSHANK REDEMPTION. The movie has no twist and turn but still its a good movie to watch, it makes you laugh, cry and everything, it has all of it. The movie is based on a guy who went to Shawshank prison for his redemption.

5. The Illusionist was next title for me, like prestige it was based on magician theme but a completely different movie. This movie take your nerves in the end, the best way to keep everything from audience and blast in last.

My personal rating for the movies would be:
1. The Prestige
2/3. Shutter Island and The Shawshank Redemption
4. The Illusionist
5. The Butterfly Effect

So if you are in mood to watch a movie, i recommend you to go watch the above list.

Wednesday, March 24, 2010

Impetus and Concepts- DAY1

Impetus and Concepts or known as InC technical fest of PICT college started today with a small inauguration ceremony at our multi-purpose basketball ground with few famous people, something i remember from that is "Shayari's" by our Vice-Principal G.P.Potdar and the chief guest was from Sun-Gard.

I was part of OPUS competition so was there almost whole of the day. The judge of the same were our very own Colloquium Founder- MR. Atindriyo Sanyal.

Near by in the Computer Dept. was NIPUN(the gaming competition),, but sad was PC's provided by the college which cannot play the games even in low graphics settings( they had to manage with the same anyways) but the Xbox room was looking hot with that green lights.

Pradanya(c- competition) i guess had the maximum entires today with LOTS and LOTS of re-registration they earned handsome :)

Impetus was also going on somewhere in the college. Day 1 lacked enthusiast in the college..it was not looking like we are having a fest in the college.

Waiting 4 SHASTRA (the robotics competition) which i was part of last year and we have 2-3 bots from colloQuium this time also.

Saturday, March 20, 2010

The power of open source software

Open Source Software(OSS) is a software for which the source-code is issued under a license which permits it's users to use, change, and improve the software, and to redistribute it in modified or unmodified forms. Most popular of such licenses is the GNU General Public License. Under the terms of the GPL, any person may obtain and change the code covered under the license, but must make those changes available at no charge to the world.

Open Source started out as a challenge to the monopoly of vendors of proprietary software. The movement started with GNU (which is, Gnu is Not Unix). In earlier days, UNIX was perhaps the most well known operating systems of the 70's in both academic and commercial circles. But given it's exorbitant price, very few institutions could afford it. Then, Linus Torvalds developed the Linux kernel, intending it to be a UNIX-like system, but without a price-tag. He made his system available for free to anyone who wants to use or develop it.

Since then, groups such as the Free Software Foundation have come up, and make software available to users for free. There is no single expert body looking after such software, but a whole community of every-day users who fix bugs and make their findings available to the entire community of open-source users .

For those new to the idea of open source or unfamiliar with the way software gets developed, here's how it works most of the time:

  • One or more developers--meaning people who have the skills to create software--get an idea about creating software to solve a problem.

  • The developers start writing code to create a solution. This is frequently called "scratching an itch."

  • The developers put this code where other developers can find out about it, download it, and play with it. There are many locations, such as SourceForge.com, where people post their projects.

  • Usually the source code is published under one of several popular open source licenses that ensure that the source code and any derivative works remain open source.

  • Through an informal process of sharing ideas, fiddling with each others' code, and trial and error, the software gets better and better, sometimes changing direction to solve new problems as new people discover the software.

  • At some point, the software gets finished or doesn't. It becomes popular, stays obscure, or fades away. Programs like Linux and Apache have had thousands of contributors. Other projects have been created by one or two people.

  • As time goes on, developers come and go, and projects become active or dormant.

A huge amount of amazing software has been created through this loose process. All developers may not be experts- most are amateurs, but as the open source adage goes, "given enough eyeballs, all bugs are shallow" .

Thursday, February 25, 2010

Running Graphics-C in windows 7 or Vista

DOSBOX VIEW


I have seen many people struggling over this so just thought to write a small post over this. Most of the SE students are working with the C-graphics and must be finding problem because of the operating system they are using.
One of the two ways is(that i know):
1. Install Microsoft Virtual PC 2007 which is free of cost and plant MS XP in that. Dos mode works fine in XP.
2. I feel this one is better than the 1st one
Download a freeware Dos-box from here .
It's a emulator for dos ....provide a 16bit envoirment. Install the dos-box and open it.
You have to write following lines whenever you start the dos-box which opens just like a normal app.
-- Mount the drive in which you have turbo-C
For example i have turbo-C complier at location C:\tc\bin

so i write
mount c c:\
c:
cd tc
cd bin
tc
Have attached a pic of the same at top.


and you are done with it.
Use the Compiler as you use on a 16-bit machine.

Tuesday, February 23, 2010

Refining your Google Search

Ever 'Googled' something, and found that most of the links are plain useless?
Here are quick tips to refine your searches:

1. to search within a particular website (from your google home-page), type the keyword to be searched for, followed by "site: www.mysite,com", without the quotes ;) . The site, 'mysite.com' will be searched for the keyword.

2. searching for definitions?, type "define: word", you'll be given links to all the available definitions of the word on the web.

3. to find a phrase, enclose it within " ", and the exact phrase will be searched for.

4. type a + sign before a keyword to search for that specific word only, and not it's variations like plural or any tenses or synonyms.

5. search with a ~ (tilde) before a word, and get results for the word, and it's synonyms. "~auto" searches for both the word auto and its synonyms: truck, car, etc.

6. search for "virus -computer" to get results for virus, but not related to computer.

7. "info: www.mysite.com" searches for information about the given site.

8.
"related: www.mysite.com" searches for pages related to the given site.

9. " [#]...[#] ", ([#] represents a number) searches within a range of numbers, e.g. laptop Rs.30,000...60,000 to find laptops within this range.

10. xyz * abc searches for the words xyz and abc separated by a word or two.

P.S. @
StumbleUpon it.