Pages

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.