[Ilugc] RE: RE: Five crucial things outsiders do not understand about Linux community

  • From: prem@xxxxxxxxxxxxxxxx (Prem Kurian Philip)
  • Date: Fri May 25 12:28:12 2007

Send ilugc mailing list submissions to
      ilugc@xxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
      http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
or, via email, send a message with subject or body 'help' to
      ilugc-request@xxxxxxxxxxxxx

You can reach the person managing the list at
      ilugc-owner@xxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ilugc digest..."


Today's Topics:

   1. Re: Structure copy behaviour (Vaidhy)
   2. Five crucial things outsiders do not understand about the
      Linux community (Manoj Srivastava)
   3. Re: Five crucial things the Linux community doesn?t
      understand about the average computer user (rajasekhar kuppa)
   4. [OT] Re: [Ilugc] ascii char (Praveen Kumar)
   5. Re: Five crucial things the Linux community doesn?t
      understand about the average computer user (Kenneth Gonsalves)
   6. Re: Five crucial things the Linux community doesn?t
      understand about the average computer user (mehul)
   7. Solaris in RHEL 5 (Anandh G)
   8. Re: Five crucial things the Linux community doesn???t
      understand about the average computer user (Kamal)


----------------------------------------------------------------------

Message: 1
Date: Thu, 24 May 2007 20:21:26 +0530
From: Vaidhy <vaidhy@xxxxxxxxxx>
Subject: Re: [Ilugc] Structure copy behaviour
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID:
      <e001dc80705240751m4ef21295h7ebe4dc2d426f75b@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Took me a bit to find out.. but here is the reason:

gcc replaces calls to structure copy and pass by value copies with a call
to
a library call (memset and memcpy). That is the reason for you getting
different assembly code for char[64] and char[68]. It is not a compile
time
option you can change. However, according to what I read, the code is in
asm-i386.h in function struct_cpy. The following post might help you
better
:)

http://groups.google.co.in/group/fa.linux.kernel/browse_thread/thread/78b3bcaa2ba884f0/f08a4653d7eb5908?lnk=st&q=gcc+memcpy+64+bytes&rnum=5&hl=en#

Cheers,
Vaidhy

On 5/24/07, Sujith Manoharan <m.sujith@xxxxxxxxx> wrote:

On Thu, 2007-05-24 at 12:22 +0530, Vaidhy wrote:
From what I remember, gcc always does a shallow copy (case 1) and as
an
optimization, it implements copy-on-write.

Basically, assigning a[0] = t will have t and a[0] pointed to the same
location till you change either t or a[0]. At that point, there will
be
a
memcpy for sizeof(tmp) from &t to &a[0] and then the write will
happen.

If you want to have a deep copy, only option I can think of right now
is
to
do it in C++ and implement the copy constructor and also overload the
assignment operator. (this is your case 2).

Hmm.

Can you compile this program using the following command and take a look
at test.s ?

gcc -save-temps test.c [ without any optimization flags ]

#include <stdio.h>

typedef struct {
        char val[64];
} tmp;

int main()
{
        tmp a[256];
        tmp i;
        a[0]=i;
        return 0;
}

Now change val[64] to anything higher, say val[68] and look at test.s
now. All the movl instructions have been replaced by a single call to
memcpy.

Is there a way to change this behaviour ?

regards,
Sujith.


_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



------------------------------

Message: 2
Date: Thu, 24 May 2007 09:52:58 -0500
From: Manoj Srivastava <srivasta@xxxxxxxxxx>
Subject: [Ilugc] Five crucial things outsiders do not understand about
      the     Linux community
To: ilugc@xxxxxxxxxxxxx
Message-ID: <87ps4qtgs5.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

On Wed, 23 May 2007 17:06:45 +0530 (IST), Prem Kurian Philip
<prem@xxxxxxxxxxxxxxxx> said:

I think one of the things that the linux community does not understand
about ordinary users is that:

        I think that people who write things like this have no clue
 about what drives the Linux community.  The lack of understanding of
 what drives free software developers

1) Installing new hardware and setting it up is still a very geeky
   activity on Linux.

  1) A computer is an expensive, useful, general purpose
     tool. Researching the purchase of the machine and peripherals for
     compatibility seems reasonable.  As long as it is possible to
     accomplish the task with some hardware, it does not matter that
     some hardware vendors make incompatible equipment.

        Actually, I think it is easier than getting  things not blessed
 by the Vendor to work on Vista.  And now that some hardware
 manufacturers are pre-installing Linux, it means that drivers are often
 available (Dell distributes their printer driver for my color laser as
 a GPL'd .deb).

        Frankly, I would not buy hardware before learning whether it
 supports Linux; and boycott the other hardware vendors.

2) For most people, OS is not a religion. Most users won't even know
   what is an OS and neither do they care to know.
  2) Free software is about community; and people who care and
     participate, it is not a marketing machine; it is a group of people
     getting together to help each other achieve more from computers.

        These people are not part of the free software community, and I
 see no real reason to try to cater to them.  Free software is about
 community; is it surprising that no extraordinary effort is made to
 pander to those who are resistant to inclusion?

        Again, this is not about gaining market share.

3) You get very little support if you call up BSNL/Airtel etc and ask
   why your DSL modem is not working with the Linux distro installed
   on your  machine.
  3) The free software community helps each other; and the network has
     the results of people sharing how they made things work, and the
     pitfalls to avoid.

        ISP's, retail shop salespeople, hardware vendors might not be
 clued in to free software, which is only recently encroaching into the
 mainstream, but the community provides its own resources to each
 other. This is why this LUG is here, and why people participate.

4) Games. Need I say more. To say that OpenGL on Linux is any
   comparison  to DirectX is to be totally deluded.
  4) Free software is not everything for all people.

        I've generally been very happy with nethack, angband, and tome,
 since I don't do twitch games, but I realize that this is not what
 people want. I've been OK with Worl of Warcraft using cedega and
 transgaming wine emulators.

   5) Free software is written by people who have an itch to scratch,
      and for like minded people. The basis is what I label as "The
      Dinid Philosophers Solution" -- it is written for other people who
      pick up the fork and help feed each other.


        Feeding hangers on who just want a free meal is not really a
 primary motivation.  Sure, having the meal in the open where anyone can
 pick up a fork lets new fork-weilders join in, but making extraordinary
 effort to feed the non-participating is not something very likely to
 happen on a broad scale.

        manoj
--
Why is the alphabet in that order?  Is it because of that song? Steven
Wright
Manoj Srivastava <srivasta@xxxxxxx> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



------------------------------

Message: 3
Date: Thu, 24 May 2007 21:27:27 +0530
From: "rajasekhar kuppa" <rajsekhar.kvs@xxxxxxxxx>
Subject: Re: [Ilugc] Five crucial things the Linux community doesn?t
      understand about the average computer user
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID:
      <446cb7260705240857q50dbfecfyd49712dd542a0fd6@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 5/23/07, Kenneth Gonsalves <lawgon@xxxxxxxxxxxxxxx> wrote:



i am yet to see an advertisement, billboard, hoarding for linux

--

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/


Hi

i dont want to get in between -- so sorry for the interruption but didnt i
see some thing like an Advertisement for Linux on the TV from IBM , ads
for
suse and Redhat also are not hat uncommon

reggies
Raj


------------------------------

Message: 4
Date: Fri, 25 May 2007 01:43:19 +0530
From: Praveen Kumar <praveen@xxxxxxxxxxx>
Subject: [OT] Re: [Ilugc] ascii char
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID: <4655F1DF.3040301@xxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

D????? ?h?kr?v?rth? wrote:

Another important point to make, I had seen few resumes with "r?sume"
or  "resum?", in the title. I am not sure about the rational behind
this. (French origin?? )  For example
http://www.designersnotebook.com/Resume/resume.htm.   I guess one ascii
(special)  character is tolerable, not all of them :) agreed.   Thanks
for the nice discussion.

I actually spell it as r?sum?, which I think is the right form. But all
the other three variants are quite commonly seen.

http://en.wikipedia.org/wiki/Resume

Thanks -
Praveen.


------------------------------

Message: 5
Date: Fri, 25 May 2007 06:16:38 +0530
From: Kenneth Gonsalves <lawgon@xxxxxxxxxxxxxxx>
Subject: Re: [Ilugc] Five crucial things the Linux community doesn?t
      understand about the average computer user
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID: <5D5E2DBF-9E74-45F6-8D91-EC50CE4B7750@xxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


On 24-May-07, at 9:27 PM, rajasekhar kuppa wrote:

i dont want to get in between -- so sorry for the interruption but
didnt i
see some thing like an Advertisement for Linux on the TV from IBM ,
ads for
suse and Redhat also are not hat uncommon

where? i would like to see them - tired of seeing that vistula stuff

--

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/




------------------------------

Message: 6
Date: Fri, 25 May 2007 07:58:50 +0530
From: mehul <mehul.forums@xxxxxxxxx>
Subject: Re: [Ilugc] Five crucial things the Linux community doesn?t
      understand about the average computer user
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID:
      <1375fd8a0705241928j6ca6f939i63e20e6fe68b60f7@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 5/25/07, Kenneth Gonsalves <lawgon@xxxxxxxxxxxxxxx> wrote:


On 24-May-07, at 9:27 PM, rajasekhar kuppa wrote:

i dont want to get in between -- so sorry for the interruption but
didnt i
see some thing like an Advertisement for Linux on the TV from IBM ,
ads for
suse and Redhat also are not hat uncommon

where? i would like to see them - tired of seeing that vistula stuff


I have seen a couple on youtube, not sure if they come on TV, as I
don't sit by the idiotbox much, these days.
One is the 'Truth Happens' Ad by Red Hat
http://www.youtube.com/watch?v=ZtdnZNYN0MM
IBM Commercial - http://www.youtube.com/watch?v=ZEc-jLXnWNA


------------------------------

Message: 7
Date: Fri, 25 May 2007 03:35:11 +0100 (BST)
From: Anandh G <anandhg02@xxxxxxxxx>
Subject: [Ilugc] Solaris in RHEL 5
To: ilugc@xxxxxxxxxxxxx
Message-ID: <894877.71551.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=iso-8859-1

Is it possible to install Solaris 9/10 x86 version in RHEL 5
virtualization as a guest.


Regards,
Anandh G

---------------------------------
 Here?s a new way to find what you're looking for - Yahoo! Answers

------------------------------

Message: 8
Date: Thu, 24 May 2007 20:21:12 -0700 (PDT)
From: Kamal <kamalsubramanian@xxxxxxxxx>
Subject: Re: [Ilugc] Five crucial things the Linux community doesn???t
      understand about the average computer user
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID: <572263.42775.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=iso-8859-1


--- mehul <mehul.forums@xxxxxxxxx> wrote:

On 5/25/07, Kenneth Gonsalves
<lawgon@xxxxxxxxxxxxxxx> wrote:



where? i would like to see them - tired of seeing
that vistula stuff


I have seen a couple on youtube, not sure if they
come on TV, as I
don't sit by the idiotbox much, these days.
One is the 'Truth Happens' Ad by Red Hat
http://www.youtube.com/watch?v=ZtdnZNYN0MM
IBM Commercial -
http://www.youtube.com/watch?v=ZEc-jLXnWNA

And speaking of ads, some linux folks are getting
together to sponsor an Indy car Tux500.
Some photos here...
http://news.com.com/2300-11389_3-6186004-1.html

And the effort...
http://www.tux500.com


Kamal





      
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/


------------------------------

_______________________________________________
ilugc mailing list
ilugc@xxxxxxxxxxxxx
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


End of ilugc Digest, Vol 36, Issue 66
*************************************


Other related posts:

  • » [Ilugc] RE: RE: Five crucial things outsiders do not understand about Linux community - Prem Kurian Philip