Posts

Showing posts from August, 2015

Arduino and the legacy printer port.

Image
Try at your own risk!!!! It could brick your arduino!! 1. Minimal Arduino I recently got really interested in Arduino hardware. For those who don't know what it is,   Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. http://arduino.cc/    So I looked for ways to make my own board but as I am not into electronics, I needed something really simple, where I just needed to put in components, abracadabra and it should start working. So after much research (Googling actually) I have now learned how to make a minimal Arduino clone. PARTS LIST ATmega168 (or similar e.g. ATmega8) (Rs. 300) A Breadboard (Rs. 150) 7805 Voltage regulator (Rs.10) 2 LEDs (Rs. 5) 2 10 uF capacitors (Rs.5) 16 MHz clock crystal 2 22 pF capacitors 2 220 Ohm resistors 1 10k Ohm resistor small momentary

Text.

Image
Imagine that you do not have a fancy graphics monitor and card, in fact. all you have is a text only old unix terminal. What could you do?  How about a video: (ascii terminals do not have sound but it certainly can be included, but I misplaced that version of the video. Or you could play a neat 2d looks like 3d text adventure game. http://www.instructables.com/id/The-Oracle/step7/Bonus-game-2-Akalabeth-Re-Bourne/ or you could even do lots of other things. http://www.instructables.com/id/Graphics-in-a-text-world/

Dec 2 hex.

Image
if you wanted to convert a decimal number to a hexadecimal number, you can do it several ways. first you could do it the old fashion way by hand. or you could use a C language program such as: [code]   #include<stdio.h> int main(){     long int decimalNumber,remainder,quotient;     int i=1,j,temp;     char hexadecimalNumber[100];     printf("Enter any decimal number: ");     scanf("%ld",&decimalNumber);     quotient = decimalNumber;     while(quotient!=0){          temp = quotient % 16;       //To convert integer into character       if( temp < 10)            temp =temp + 48;       else          temp = temp + 55;       hexadecimalNumber[i++]= temp;       quotient = quotient / 16;   }     printf("Equivalent hexadecimal value of decimal number %d: ",decimalNumber);     for(j = i -1 ;j> 0;j--)       printf("%c",hexadecimalNumber[j]);         printf("\n");     return 0; } [/code] Comp

Happy birthday Linux/Linus

Image
Some twenty odd years ago Linux Torvalds started an operating system to be open and challenge the proprietary computing world with the email that changed the world. Everyone took Linus's workand turned linux into an open source empire. You can not blame Linux for being a proud father to the linux world. Many linux dostro copies have spreaad all over the world/ To see just a few examples, go to www.distrowatch.com Thanx, Linus

Speedtest.net Server: Install

Image
Speedtest.net is used for measuring internet bandwidth. You can configure your own speedtest.net mini server to run Internet speed. It pings several websites via HTTP and calculates the response time and display results in GUI. This tutorial teaches you how to configure speedtest.net server in Ubuntu 15.04. For installing speedtest.net server it requires Apache, Php package, speedtest mini package and flash player. SpeedTest.net Server Installation: Step 1: Installation of Apache It is the world’s most wildly used web server that about more than 50% websites run on Apache web server. Following are the steps given to install Apache web server. Open terminal using Ctrl+ alt + T , and Enter the following command. # apt-get install apache2 Step 2: Installation of Php Now, after installing Apache web server , you need to install Php packages, run following command in terminal, # apt-get install php5 php5-mysql php5-gd php5-mcrypt Step 3: Download Speedtes

Refit.

Image
Imported in an old blog, now I have to remove the duplicates.

Writing code

Image
Traditional: Systems analyst:     What is problem per users.     Develop criteria and test data needed to solve a problem.     Use criteria logically using test data. Programmer     Develop code based on data defined by criteria.     Test and rewrite code until it works.     Rewrite code for best form. Users       Test code to see if it solves problem.       Else start over. Another view.

MSOffice vs Libreoffice

Image
From https://wiki.documentfoundation.org/Feature_Comparison:_LibreOffice_-_Microsoft_Office Contents 1 Introduction 2 General office suite: LibreOffice vs. Microsoft Office 3 Word processors: LibreOffice Writer vs. Microsoft Word 4 Spreadsheet applications: LibreOffice Calc vs. Microsoft Excel 5 Presentation software: LibreOffice Impress vs. Microsoft Powerpoint 6 Database program: LibreOffice Base vs. Microsoft Access 7 Extensions: LibreOffice extensions adding outstanding features to LibreOffice 8 See also Introduction This page compares the features of LibreOffice 5.0.0 ( download ) and Microsoft Office 2013 . It separates major and minor feature differences and also includes notes on LibreOffice extensions. The comparison highlights differences and therefore does not display any features which are present in both office suites. The feature comparison table is continuously being updated and is work in progress It is a compilation by users and no