i was playing around with auto-dependencies with makefiles the other
day. here's a hello world example of the technique:
TARGET = hello_world
CFLAGS = -W -Wall -g
OBJS = $(patsubst %.c, %.o, $(wildcard *.c))
SRCS = $(wildcard *.c)
LDLIBS = -lm
DEPDIR = .deps
vpath %.d
On Thu, Mar 20, 2003 at 04:52:15PM -0800, Tim Riley wrote:
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 10:15:43AM -0800, Tim Riley wrote:
The first library had malloc(). Always
using calloc() would be a ridiculously inefficient way to obtain
memory if you're going to
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 04:52:15PM -0800, Tim Riley wrote:
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 10:15:43AM -0800, Tim Riley wrote:
snip
The vulnerability with malloc() occurs when working with pointers.
It's common to test if a pointer has
On Fri, Mar 21, 2003 at 11:22:56AM -0800, Tim Riley wrote:
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 04:52:15PM -0800, Tim Riley wrote:
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 10:15:43AM -0800, Tim Riley wrote:
snip
The vulnerability with malloc()
On Fri, 21 Mar 2003, Tim Riley wrote:
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 04:52:15PM -0800, Tim Riley wrote:
Micah J. Cowan wrote:
On Thu, Mar 20, 2003 at 10:15:43AM -0800, Tim Riley wrote:
snip
The vulnerability with malloc() occurs when working
On Fri, Mar 21, 2003 at 10:18:21AM -0800, Peter Jay Salzman wrote:
i was playing around with auto-dependencies with makefiles the other
day. here's a hello world example of the technique:
OBJS = $(patsubst %.c, %.o, $(wildcard *.c))
SRCS = $(wildcard *.c)
should use SRCS in OBJS
On Fri, Mar 21, 2003 at 01:01:39PM -0800, Jeff Newmiller wrote:
And I submit that without the core dump, the bug of having forgotten
to set *person's fields just got much, much harder to track down.
Core dumps are useful for tracking down bugs.
While I am not very comfortable
begin Mike Simons [EMAIL PROTECTED]
On Fri, Mar 21, 2003 at 10:18:21AM -0800, Peter Jay Salzman wrote:
i was playing around with auto-dependencies with makefiles the other
day. here's a hello world example of the technique:
OBJS = $(patsubst %.c, %.o, $(wildcard *.c))
SRCS
Sorry, I already googled, but can't find what I'm looking for.
I remember back in science class (must have been Chem), we'd do experiments
and plot a bunch of points on graph paper. Then we'd fudge a line that went
thru the points (trying to get equal numbers of points on one side of the
line as
least squares.
-- Rod
On Friday 21 March 2003 01:52 pm, Jay Strauss wrote:
Sorry, I already googled, but can't find what I'm looking for.
I remember back in science class (must have been Chem), we'd do experiments
and plot a bunch of points on graph paper. Then we'd fudge a line that
went
I think you're referring to linear regression -- try doing a Google
search on that and you should find lots of algorithms and
implementations.
Matt
On Fri, Mar 21, 2003 at 03:52:35PM -0600, Jay Strauss wrote:
Sorry, I already googled, but can't find what I'm looking for.
I remember back in
Okay doky
Thanks
Jay
- Original Message -
From: Matt Roper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 4:17 PM
Subject: Re: [vox-tech] OT - Finding slope of a line, with lots of points
I think you're referring to linear regression -- try doing a Google
search
Please remove me from the List
Thanks
hi jay,
that's called the best fit line, least squares, or linear regression.
i'm sure you can find it on google.
the main idea is:
1. draw an abstract line that represents the best fit with no spcified
slope and y intercept.
2. compute the sum of the distances of each data point to the
hi brad,
here is the form you use to unsubscribe:
http://lists.lugod.org/mailman/listinfo/vox-tech/
here is the frequently asked question answer of how to unsubscribe:
http://lists.lugod.org/documents/faq/lugod-faq.html#AEN205
if you decide to stay, please configure your mail client
Jeff Newmiller wrote:
On Fri, 21 Mar 2003, Tim Riley wrote:
snip
Especially this one by the author of the FreeBSD C Library (last paragraph):
http://groups.google.com/groups?q=NULL+calloc()+group:comp.lang.c+author:Chris+author:Torekselm=18764%40dog.ee.lbl.gov
Tim, I
On Fri, Mar 21, 2003 at 02:45:37PM -0800, Tim Riley wrote:
Jeff Newmiller wrote:
On Fri, 21 Mar 2003, Tim Riley wrote:
snip
Especially this one by the author of the FreeBSD C Library (last paragraph):
These remove me messages always make me laugh
Pete, thanks for the detailed least squares answer, unfortunately it went
over my head, my house, and is heading for Milwaukee. The last time I did
any higher math, was when I was figuring out the tip at a non-standard 20%
(I can do 10% but 20 throws
On Fri, Mar 21, 2003 at 01:23:48PM -0800, Peter Jay Salzman wrote:
begin Mike Simons [EMAIL PROTECTED]
I used to use a nasty sed expression to make the .d files, but for
some reason decided that they were not needed.
yes again. :) and user supplied .h files as well.
Here is a
19 matches
Mail list logo