Community Blogs

Urgent: Help Shawn Powers & Family

Today is a day of grief for Linux Journal. This afternoon, Associate Editor Shawn Power's home burned down...

Read more... Comment (0)

Read Me First

First of all, hello.

Well, that wasn't so bad. Some say that the first step is the harder. For me, it's my third attempt at a blog. So it is my third first step. My first one was a disaster. I dare you to find out my old blog. My second one was absorbed into the abyss of the recent economical crisis, never to be found again. Hopefully, this one will be able to fly a little better.

Read more... Comment (0)

no comment

Just out of curiosity, I tried to download Windows Media Player 11 with Wine. I watched anxiously as the files unzipped, hoping, wishing... that it would work. Just when it got to where it was ready to download to my computer a message appeared asking for authorization code.  It is the first time I have seen this in a program. I can understand in updates, but this is just a media player. Maybe MS is  trying to make it harder for those who have copies of an OS, instead of the original. In any case one more reason to switch to Linux.

In the Beginning

Hello and welcome to my first blog, please feel free to feedback any information that might help me improve my next blog entry.

Read more... Comment (0)

Just getting started...

I'm actually very new to Linux in the sense I've been using it for years, but I haven't really developed with it too much. I'm excited to get started learning more. I'm excited to be a part of the best and the most established Open Source community.

Lots of focus on business computing

There seems to be a lot of focus on business computing and competing with companies like Microsoft and Apple or trying to win over businesses and companies. We shouldn't let the ideas of the computing industry dictate how free software developers should develop software.

For example, the the use of the words "open source" instead of "free software" and the constant mention of the price tag of free/open source software as a selling point is annoying. People aren't cheap...they'll shell out cash for various items. We should be more willing to charge money for things and force people to see the inherent value of the software rather than making them see only the price tag.

Another example is how we try and replicate existing proprietary software. I don't want OpenOffice to look like Word and I don't want a PowerPoint clone at all.

 We shouldn't be afraid to try out new and innovative ideas instead of following the proprietary software companies blindly and merely duplicating their efforts.


Linux For Life...

Hello. You might have thought about getting a new computer but finds out that you have to pay for most of the software it provides. Thats when Linux should come in! Linux is a free and open source operating system that provides many diffrent flavors and many different free software. Below here is my story of how I heard about Linux and how I got it.


I had an old computer that was bought at 1995 and its HDD capacity was very low. I had a hobby of 3D modeling so I downloaded Blender3D and was looking through the Yafaray website and went to the download page. There I saw Windows,Mac and a weird operating system called Ubuntu Linux. I Google-d it up and found and saw their promise and what Ubuntu truly meant. The whole day I was muttering "FREE! An operating system. FREE!" It took me 120$ to pay for a pirated version of Windows XP and it is useless. So I bought a new Acer Aspire One and put Ubuntu 8.10 Linux and the first time we tried it, it put me into a BusyBox shell for some reason. Then we went to a coffey shop called Linux caffe. And they had supper speed internet so we got the same 8.10 again and this time it worked like a charm. There were some updates that we had to get but I made a stupid mistake and didn't install them! When I went back home I turned it on and wanted to face my book (Facebook) but found out that the network card driver was missing.

I was planing on going back to Linux cafe and install the network driver but on that same day my coffee spilled on my netbook! So I went back to Future Shop and got my very own Acer Aspire 4736Z and I put Ubuntu 9.04. It works except for the microphone and the headphone jack (Output) but other than that it was great! Now I'm upgraded to 9.10 and very happy! You also should get Linux and Ubuntu is not the only choice! There are many more such as openSUSE and Fedora and CentOS Gentoo etc. You're not alone in the world of Linux! There is community support and expert support. And there is much MUCH more.


–ù–µ—Ç–±—É–∫ ASUS Eee PC 1101HA Seashell

–ü—Ä–∏–∫–æ–ª—å–Ω—ã–π –Ω–µ—Ç–±—É–∫  ASUS Eee PC 1101HA Seashell , –Ω–æ 1 –≥–± –æ–ø–µ—Ä–∞—Ç–∏–≤–Ω–æ–π –ø–∞–º—è—Ç–∏ –≤—Å–µ —Ç–∞–∫ —É–∂–µ –º–∞–ª–æ–≤–∞—Ç–æ. 2-3 –æ–ø—Ç–∏–º–∞–ª—å–Ω–æ, —Ç–æ—á–Ω–µ–µ —Å–∫–∞–∑–∞—Ç—å 2–≥–± —ç—Ç–æ —Å—Ç–∞–Ω–¥–∞—Ä—Ç, –Ω–æ –ª—É—á—à–µ 3 :)


a Linux-Newb.

Hi all.

I have to to find my way around linux, MySQL and Python/ Perl.

And I know absolutely nothing about linux or anything related to computer sciences.I have a biological background.

My only training in information tech. was a couple of years back in visual basic and just a tiny bit of SQL. I have been using windows  for over a decade now, that may help a bit with understanding all this, but this is Linux.

 So you see this would be quite a challange , to learn all this stuff without  the proper background.

 And this is why i shall document my struggles with linux and everything else . And also i get to say that i have my own blog now.



Do Your Friends Know You Tweet?

They'd better because Twitter has become an important new tool in building relationships and getting your message across.  This post details how to get started building your followers and adding value to the Twitter community. 

I recently saw survey results from a 60 Minutes/Vanity Fair poll that stated only 15 percent of Americans believe Twitter to be an important new tool for communication and I believe it.  Not because it's true but because Twitter can be hard to understand and get the hang of at first.

I distinctly remember my first experience with Twitter when I noticed someone casually mentioning they were "putting lipstick on at a redlight".  My first thought was "this is totally worthless".  My how times have changed.  Not only has the growth of Twitter been off the charts (1382% to be exact), but I've actually started using Twitter on a regular basis and find it extremely helpful and useful in my job.

Twitter can be tough to understand at first and there's good reason for it; its a different communication model than most are used to.  How ...



Digital Differential Analyzer (DDA) Algorithm




* Digital Differential Analyzer (DDA) Algorithm *
* Usage :- Simple and general method for rasterizing lines and triangles
* Author :- Rooparam Choudhary
* Date :- August 29, 2009
* Place :- Shri Mata Vaishno Devi University
* EntryNo :- 2006ECS20

#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>

#define ROUND(x) ((int)(x+0.5))


inline void setpixel(int, int);
void DDA(int, int, int, int);
void unionJack(void);
void hexagon(int, int);
void randomUnionJack(int);

inline void setpixel(int x, int y){
putpixel(320+x, 240-y, MYCOLOR);

void randomUnionJack(int count){
void DJ(int, int, int);
int xr, yr, clr=0;
while(count-- > 0){
xr = -320 + rand()d1;
yr = -240 + rand()H1;
clr = 0;
if(yr > -xr){
if(xr < 0) clr = 3;
else if(yr < 0) clr = 2;
else if(yr > xr) clr = 4;
else if(yr < xr) clr = 1;
}else if(yr < -xr) {
if(xr > 0) clr = 3;
else if(yr > 0) clr = 2;
else if(yr < xr) clr = 4;
else if(yr > xr) clr = 1;
DJ(xr, yr, clr);

void DJ(int x, int y, int clr){
int shade = 0;
case 1: shade = RED; break;
case 2: shade = BLUE; break;
case 3: shade = CYAN; break;
case 4: shade = MAGENTA; break;
default: return; break;
putpixel(320+x, 240-y, shade);

void DDA(int x0, int y0, int x1, int y1) {
int delX = x1-x0, delY = y1-y0, steps, k;
float x=x0, y=y0, incX, incY;

steps = (abs(delX) > abs(delY)) ? abs(delX) : abs(delY) ;

incX = delX / (float)steps;
incY = delY / (float)steps;

setpixel(ROUND(x), ROUND(y));
for(k=0; k<steps; ++k) {
x += incX;
y += incY;
setpixel(ROUND(x), ROUND(y));

int main(void) {
int gd = DETECT, gm;
char *author = "Coder:- Rooparam Choudhary";
char *algo = "Digital Differential Analyzer Algorithm";
char point[30];
std::cout << "Digital Differential Analyzer Algorithm ";
std::cout << author << std::endl;
initgraph(&gd, &gm, "C:");

outtextxy(320 - textwidth(algo)/2, 5, algo);
outtextxy(getmaxx()-4 -textwidth(author), getmaxy()-20, author);

// X-axis
DDA(-320, -1, 320, -1);
DDA(-320, 0, 320, 0);
DDA(-320, 1, 320, 1);
// Y-axis
DDA(-1, 240, -1, -240);
DDA( 0, 240, 0, -240);
DDA( 1, 240, 1, -240);
// Y - X = 0
DDA(-240, -240, 240, 240);
// Y + X = 0
DDA(-240, 240, 240, -240);

hexagon(-160, 120);
hexagon(160, 120);
hexagon(160, -120);
hexagon(-160, -120);

std::cout << "Enter samples for union jack (SHOULD BE GEATER THAN 100K): ";
int samp;
std::cin >> samp;

outtextxy(320 - textwidth(algo)/2, 5, algo);
outtextxy(getmaxx()-4 -textwidth(author), getmaxy()-20, author);

int x0, y0, x1, y1;
std::cout << "Enter '-400' to exit ";
std::cout << "Enter the coordinates of end points: [x0 y0 x1 y1] ";

std::cin >> x0;
while(x0 != -400) {
std::cin >> y0 >> x1 >> y1;
sprintf(point, "(M, M)", x0, y0);
outtextxy(320+x0-textwidth(point)/2, 240-y0+2, point);
sprintf(point, "(M, M)", x1, y1);
outtextxy(320+x1-textwidth(point)/2, 240-y1+2, point);
DDA(x0, y0, x1, y1);

outtextxy(320 - textwidth(algo)/2, 5, algo);
outtextxy(getmaxx()-4 -textwidth(author), getmaxy()-20, author);

std::cin >> x0;

return 0;

void unionJack(void){
for(int y = 240; y>0; --y) {
int x = -321;

while(++x < -y)
{ putpixel(320+x, 240-y, MYCOLOR); }
while(++x < 0)
{ putpixel(320+x, 240-y, MYCOLOR); } MYCOLOR = MAGENTA;
while(++x < y)
{ putpixel(320+x, 240-y, MYCOLOR); }
while(++x < 321)
{ putpixel(320+x, 240-y, MYCOLOR); }
for(int y = -1; y>-241; --y) {
int x = -321;

while(++x < y)
{ putpixel(320+x, 240-y, MYCOLOR); }
while(++x < 0)
{ putpixel(320+x, 240-y, MYCOLOR); }
while(++x < -y)
{ putpixel(320+x, 240-y, MYCOLOR); }
while(++x < 321)
{ putpixel(320+x, 240-y, MYCOLOR); }

void hexagon(int xc, int yc) {
DDA(xc+60, yc+104, xc+120, yc);
DDA(xc+60, yc+104, xc+60, yc-104);
DDA(xc+60, yc+104, xc-60, yc-104);
DDA(xc+60, yc+104, xc-120, yc);
DDA(xc+60, yc+104, xc-60, yc+104);
DDA(xc+120, yc, xc+60, yc-104);
DDA(xc+120, yc, xc-60, yc-104);
DDA(xc+120, yc, xc-120, yc);
DDA(xc+120, yc, xc-60, yc+104);
DDA(xc+60, yc-104, xc-60, yc-104);
DDA(xc+60, yc-104, xc-120, yc);
DDA(xc+60, yc-104, xc-60, yc+104);
DDA(xc-60, yc-104, xc-120, yc);
DDA(xc-60, yc-104, xc-60, yc+104);
DDA(xc-120, yc, xc-60, yc+104);


Page 6 of 14

Upcoming Linux Foundation Courses

  1. LFD331 Developing Linux Device Drivers
    25 Aug » 29 Aug - Virtual
  2. LFD411 Embedded Linux Development
    25 Aug » 29 Aug - Santa Clara, CA
  3. LFS422 High Availability Linux Architecture
    08 Sep » 11 Sep - Raleigh, NC

View All Upcoming Courses

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board