473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Anyone know a good newsgroup for Linux

Hi

I know you're not supposed to post OS specific questions on the newsgroup so
does anyone know a good newsgroup - where there are actually people talking
to eachother and not full of spam - where I can get advice on developing C
for a command line driven interface in Linux?

Any advice greatly appreciated.

Kind regards
Dawn
Nov 14 '05 #1
16 1654
Dawn Minnis <da*********@btinternet.com> wrote:
I know you're not supposed to post OS specific questions on the newsgroup so
does anyone know a good newsgroup - where there are actually people talking
to eachother and not full of spam - where I can get advice on developing C
for a command line driven interface in Linux?


Try comp.os.linux.development.apps, that would seem to be the best fit.
If you want a wider scope also have a look at comp.unix.programmer.

Regards, Jens
--
\ Jens Thoms Toerring ___ Je***********@physik.fu-berlin.de
\__________________________ http://www.toerring.de
Nov 14 '05 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dawn Minnis wrote:
Hi

I know you're not supposed to post OS specific questions on the newsgroup so
does anyone know a good newsgroup - where there are actually people talking
to eachother and not full of spam - where I can get advice on developing C
for a command line driven interface in Linux?


Try comp.os.linux.development.apps
or comp.os.linux.development.system
or comp.os.linux.misc
or comp.os.linux.questions

- --
Lew Pitcher
IT Specialist, Enterprise Data Systems,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFCC5P1agVFX4UWr64RAjsaAKCjrNdQInkml5oWHkxl3w MsC63XVgCg1HIY
9U+1gVDifG5UvlyYcVD34LA=
=Yl/n
-----END PGP SIGNATURE-----
Nov 14 '05 #3
Thanks for that

I will try them out.

Regards
Dawn

"Dawn Minnis" <da*********@btinternet.com> wrote in message
news:42***********************@ptn-nntp-reader04.plus.net...
Hi

I know you're not supposed to post OS specific questions on the newsgroup
so does anyone know a good newsgroup - where there are actually people
talking to eachother and not full of spam - where I can get advice on
developing C for a command line driven interface in Linux?

Any advice greatly appreciated.

Kind regards
Dawn

Nov 14 '05 #4
On Thu, 10 Feb 2005 16:42:37 -0000, Dawn Minnis
<da*********@btinternet.com> wrote:
I know you're not supposed to post OS specific questions on the newsgroup so
does anyone know a good newsgroup - where there are actually people talking
to eachother and not full of spam - where I can get advice on developing C
for a command line driven interface in Linux?


Since from your email address you're in the UK, you could look at
<news:uk.comp.os.linux>. While a lot of the discussion there is about
non-programming stuff (installing, using etc.) there are a number of
knowledgable Linux programmers there and it is relatively low-traffic
(compared to comp.lang.c for instance).

(Non-UK people could also look at that newsgroup, but it is less likely
to be on non-UK servers, I know that it is on the BTInternet one...)

Chris C
Nov 14 '05 #5
Hey

Thanks for all that info. I have lots of groups now to look at.

Thanks

"Dawn Minnis" <da*********@btinternet.com> wrote in message
news:42***********************@ptn-nntp-reader04.plus.net...
Hi

I know you're not supposed to post OS specific questions on the newsgroup
so does anyone know a good newsgroup - where there are actually people
talking to eachother and not full of spam - where I can get advice on
developing C for a command line driven interface in Linux?

Any advice greatly appreciated.

Kind regards
Dawn

Nov 14 '05 #6
<posted & mailed>

comp.os.linux.development.apps
comp.os.linux.development.system
comp.os.linux.misc
Dawn Minnis wrote:
Hi

I know you're not supposed to post OS specific questions on the newsgroup
so does anyone know a good newsgroup - where there are actually people
talking to eachother and not full of spam - where I can get advice on
developing C for a command line driven interface in Linux?

Any advice greatly appreciated.

Kind regards
Dawn


--
Remove '.nospam' from e-mail address to reply by e-mail
Nov 14 '05 #7
Dawn Minnis wrote:

I know you're not supposed to post OS specific questions on the
newsgroup so does anyone know a good newsgroup - where there are
actually people talking to eachother and not full of spam - where
I can get advice on developing C for a command line driven
interface in Linux?

Any advice greatly appreciated.


If you were using Netscape I could give you specific instructions
on how to search for a newsgroup that your ISP carries. I suggest
you get rid of Outhouse Excess as soon as possible. It does some
evil things (but not as evil as google groups !!). Mozilla or
Thunderbird would be suitable, from mozilla.org (and free).

As long as you stick to portable standard C you can ask away here.
Very little, if anything, in most programs needs to be system
specific. If you get in the habit of using standard C you will
rarely have porting problems.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #8
*** top-posting fixed ***

Dawn Minnis wrote:
"Dawn Minnis" <da*********@btinternet.com> wrote in message

I know you're not supposed to post OS specific questions on the
newsgroup so does anyone know a good newsgroup - where there are
actually people talking to eachother and not full of spam - where
I can get advice on developing C for a command line driven
interface in Linux?

Any advice greatly appreciated.


Thanks for that

I will try them out.


Please also quickly get out of the Outhouse Excess encouraged habit
of top-posting. Your answer belongs after, or possibly intermixed
with, the material you are quoting, after suitable snipping of
non-germane material.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #9
Chris Croughton wrote:
.... snip ...
Since from your email address you're in the UK, you could look at
<news:uk.comp.os.linux>. While a lot of the discussion there is
about non-programming stuff (installing, using etc.) there are a
number of knowledgable Linux programmers there and it is relatively
low-traffic (compared to comp.lang.c for instance).

(Non-UK people could also look at that newsgroup, but it is less
likely to be on non-UK servers, I know that it is on the BTInternet
one...)


Out of perversity I looked, and att does carry it (and 600 odd
other in the uk group) here in left-pondia.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #10
On Fri, 11 Feb 2005 05:26:25 GMT, CBFalconer
<cb********@yahoo.com> wrote:
Chris Croughton wrote:

... snip ...

Since from your email address you're in the UK, you could look at
<news:uk.comp.os.linux>. While a lot of the discussion there is
about non-programming stuff (installing, using etc.) there are a
number of knowledgable Linux programmers there and it is relatively
low-traffic (compared to comp.lang.c for instance).

(Non-UK people could also look at that newsgroup, but it is less
likely to be on non-UK servers, I know that it is on the BTInternet
one...)


Out of perversity I looked, and att does carry it (and 600 odd
other in the uk group) here in left-pondia.


Oh yes, many non-UK servers do carry uk.* newsgroups (some of them, like
the Berlin university public server news.individual.net, carry them on
auto-create), but they are less likely to do so than UK servers in
general, I've had (as UK Usenet Control) a number of queries "Where can
I get uk.<x> newsgroup, my ISP doesn't have it?" from people using
non-UK servers. I usually direct them to the free (for individuals)
server above, or for companies to gradwell.net.

Chris C
Nov 14 '05 #11
Ok, well any chance someone could give me a quick explanation of what this
single line means?

Based on I, K and lda being integers
#define A(I,J) a[(I)-1 + ((J)-1)* ( *lda)]

If someone could just explain that one line to me i would be very grateful

The rest of the top of the program looks like this:



/* Subroutine */ int dgemm_(char *transa, char *transb, integer *m, integer
*
n, integer *k, doublereal *alpha, doublereal *a, integer *lda,
doublereal *b, integer *ldb, doublereal *beta, doublereal *c, integer
*ldc)
{
/* System generated locals */
integer a_dim1, a_offset, b_dim1, b_offset, c_dim1, c_offset, i__1,
i__2,
i__3;

/* Local variables */
static integer info;
static logical nota, notb;
static doublereal temp;
static integer i, j, l, ncola;
extern logical lsame_(char *, char *);
static integer nrowa, nrowb;
extern /* Subroutine */ int xerbla_(char *, integer *);
/*
Parameter adjustments
Function Body */

#define A(I,J) a[(I)-1 + ((J)-1)* ( *lda)]
#define B(I,J) b[(I)-1 + ((J)-1)* ( *ldb)]
#define C(I,J) c[(I)-1 + ((J)-1)* ( *ldc)]
Nov 14 '05 #12
Dawn Minnis wrote:
Ok, well any chance someone could give me a quick explanation of what this
single line means?

Based on I, K and lda being integers
#define A(I,J) a[(I)-1 + ((J)-1)* ( *lda)]

If someone could just explain that one line to me i would be very grateful

The rest of the top of the program looks like this:


It is doing treating an one dimentional array as a 1 based two
dimensional array. In C arrays are 0 based (i.e a[0] is the first
element). They want this array to be one based.

lda is not an integer, it is a pointer to an integer, which presumably
has the number of elements in the row.

e.g. if there are 10 elements in a row

A(1,1) -> a[0]; /* first element in first row */
A(2,1) -> a[1]; / second element in first row */
A(1,2) -> a[10]; /* first element in second row */

-David

Nov 14 '05 #13
On Fri, 11 Feb 2005 18:55:42 -0000, in comp.lang.c , "Dawn Minnis"
<da*********@btinternet.com> wrote:
Ok, well any chance someone could give me a quick explanation of what this
single line means?

Based on I, K and lda being integers
#define A(I,J) a[(I)-1 + ((J)-1)* ( *lda)]


looks to me like an extract from Numerical Recipes in C, trying to use a
C-style one-dimensional array "a" as if it were a fortran-style 1-based
2-dimensional array "A". I and J are the row/column indices, and Ida is the
row width. They subtract one because they can't concieve of arrays starting
from zero.

Throw away that book, and buy the new edition, which was rewritten by
people who actually programmed in C.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
Nov 14 '05 #14
Dawn Minnis wrote:

Ok, well any chance someone could give me a quick explanation of
what this single line means?

Based on I, K and lda being integers
#define A(I,J) a[(I)-1 + ((J)-1)* ( *lda)]


If lda is an integer it will generate syntax errors. lda needs to
be a pointer to an integer. It looks like it is trying to map a 1
based indexing scheme into Cs zero based indexing. It will blow up
badly for I or J values of zero.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #15
Thanks guys.

Its a line from the resulting C file after putting dgemm.f through the f2c
converter. The result it genuine C code but it looks horrid. But thanks
for explaining that to me. I wasnt aware that you could do that in C.

Regards
Dawn
Nov 14 '05 #16
On Fri, 11 Feb 2005 23:33:04 -0000, in comp.lang.c , "Dawn Minnis"
<da*********@btinternet.com> wrote:
Thanks guys.

Its a line from the resulting C file after putting dgemm.f through the f2c
converter. The result it genuine C code but it looks horrid. But thanks
for explaining that to me. I wasnt aware that you could do that in C.


You can, but its dangerous, as it could invoke undefined behaviour for some
values of I and J. Better to understand the algo and write your own C.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
Nov 14 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Randy Yates | last post by:
Hi Folks, I'm looking for something that is completely independent of the MSVC++ Dev Studio environment, something that will compile and run under win32 using the mingw distribution. A class...
2
by: KevinGPO | last post by:
Just wondering if anyone knows if there are converters to convert from: MS Visual C++ 6.0 or MS Visual Studio 2003 project files into UNIX autogen/configure/make files?
31
by: Jim Hubbard | last post by:
I am downloading the REALbasic 5.5 demo and was just wondering if anyone else had tried it. I am tired of Microsoft constantly changing things and breaking backward compatibility ON PURPOSE. ...
9
by: laredotornado | last post by:
Hello, I am tasked with converting an MsAccess db to a MySQL 4 db in a Linux environment. Can anyone recommend any good freeware/scripts to help me do this? Thanks, - Dave
7
by: changs | last post by:
Hi, all I have a asm code, I suspect it sort of socket programming. Can anyone here give some instructions on how to determine the function or give the psudo-code in C? Thanks in advance! ...
169
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide...
21
by: Johs | last post by:
I use Ubuntu 7.04 and have trouble finding a good editor that has autocompletion (when typing std:: or using "." on strings or pressing ctrl+space). I have tried eclipse with CDT 3.1.2 but it...
13
by: 1jasong | last post by:
Hello I am new to programming and want to know what is a good free compiler is. I am asking this because there are so many of them and I just want to start programming also a good website for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.