Fri Aug 12 05:46:09 2022
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.

DATE 2012-02-01

HANGOUT

2022-08-12 | 2022-07-12 | 2022-06-12 | 2022-05-12 | 2022-04-12 | 2022-03-12 | 2022-02-12 | 2022-01-12 | 2021-12-12 | 2021-11-12 | 2021-10-12 | 2021-09-12 | 2021-08-12 | 2021-07-12 | 2021-06-12 | 2021-05-12 | 2021-04-12 | 2021-03-12 | 2021-02-12 | 2021-01-12 | 2020-12-12 | 2020-11-12 | 2020-10-12 | 2020-09-12 | 2020-08-12 | 2020-07-12 | 2020-06-12 | 2020-05-12 | 2020-04-12 | 2020-03-12 | 2020-02-12 | 2020-01-12 | 2019-12-12 | 2019-11-12 | 2019-10-12 | 2019-09-12 | 2019-08-12 | 2019-07-12 | 2019-06-12 | 2019-05-12 | 2019-04-12 | 2019-03-12 | 2019-02-12 | 2019-01-12 | 2018-12-12 | 2018-11-12 | 2018-10-12 | 2018-09-12 | 2018-08-12 | 2018-07-12 | 2018-06-12 | 2018-05-12 | 2018-04-12 | 2018-03-12 | 2018-02-12 | 2018-01-12 | 2017-12-12 | 2017-11-12 | 2017-10-12 | 2017-09-12 | 2017-08-12 | 2017-07-12 | 2017-06-12 | 2017-05-12 | 2017-04-12 | 2017-03-12 | 2017-02-12 | 2017-01-12 | 2016-12-12 | 2016-11-12 | 2016-10-12 | 2016-09-12 | 2016-08-12 | 2016-07-12 | 2016-06-12 | 2016-05-12 | 2016-04-12 | 2016-03-12 | 2016-02-12 | 2016-01-12 | 2015-12-12 | 2015-11-12 | 2015-10-12 | 2015-09-12 | 2015-08-12 | 2015-07-12 | 2015-06-12 | 2015-05-12 | 2015-04-12 | 2015-03-12 | 2015-02-12 | 2015-01-12 | 2014-12-12 | 2014-11-12 | 2014-10-12 | 2014-09-12 | 2014-08-12 | 2014-07-12 | 2014-06-12 | 2014-05-12 | 2014-04-12 | 2014-03-12 | 2014-02-12 | 2014-01-12 | 2013-12-12 | 2013-11-12 | 2013-10-12 | 2013-09-12 | 2013-08-12 | 2013-07-12 | 2013-06-12 | 2013-05-12 | 2013-04-12 | 2013-03-12 | 2013-02-12 | 2013-01-12 | 2012-12-12 | 2012-11-12 | 2012-10-12 | 2012-09-12 | 2012-08-12 | 2012-07-12 | 2012-06-12 | 2012-05-12 | 2012-04-12 | 2012-03-12 | 2012-02-12 | 2012-01-12 | 2011-12-12 | 2011-11-12 | 2011-10-12 | 2011-09-12 | 2011-08-12 | 2011-07-12 | 2011-06-12 | 2011-05-12 | 2011-04-12 | 2011-03-12 | 2011-02-12 | 2011-01-12 | 2010-12-12 | 2010-11-12 | 2010-10-12 | 2010-09-12 | 2010-08-12 | 2010-07-12 | 2010-06-12 | 2010-05-12 | 2010-04-12 | 2010-03-12 | 2010-02-12 | 2010-01-12 | 2009-12-12 | 2009-11-12 | 2009-10-12 | 2009-09-12 | 2009-08-12 | 2009-07-12 | 2009-06-12 | 2009-05-12 | 2009-04-12 | 2009-03-12 | 2009-02-12 | 2009-01-12 | 2008-12-12 | 2008-11-12 | 2008-10-12 | 2008-09-12 | 2008-08-12 | 2008-07-12 | 2008-06-12 | 2008-05-12 | 2008-04-12 | 2008-03-12 | 2008-02-12 | 2008-01-12 | 2007-12-12 | 2007-11-12 | 2007-10-12 | 2007-09-12 | 2007-08-12 | 2007-07-12 | 2007-06-12 | 2007-05-12 | 2007-04-12 | 2007-03-12 | 2007-02-12 | 2007-01-12 | 2006-12-12 | 2006-11-12 | 2006-10-12 | 2006-09-12 | 2006-08-12 | 2006-07-12 | 2006-06-12 | 2006-05-12 | 2006-04-12 | 2006-03-12 | 2006-02-12 | 2006-01-12 | 2005-12-12 | 2005-11-12 | 2005-10-12 | 2005-09-12 | 2005-08-12 | 2005-07-12 | 2005-06-12 | 2005-05-12 | 2005-04-12 | 2005-03-12 | 2005-02-12 | 2005-01-12 | 2004-12-12 | 2004-11-12 | 2004-10-12 | 2004-09-12 | 2004-08-12 | 2004-07-12 | 2004-06-12 | 2004-05-12 | 2004-04-12 | 2004-03-12 | 2004-02-12 | 2004-01-12 | 2003-12-12 | 2003-11-12 | 2003-10-12 | 2003-09-12 | 2003-08-12 | 2003-07-12 | 2003-06-12 | 2003-05-12 | 2003-04-12 | 2003-03-12 | 2003-02-12 | 2003-01-12 | 2002-12-12 | 2002-11-12 | 2002-10-12 | 2002-09-12 | 2002-08-12 | 2002-07-12 | 2002-06-12 | 2002-05-12 | 2002-04-12 | 2002-03-12 | 2002-02-12 | 2002-01-12 | 2001-12-12 | 2001-11-12 | 2001-10-12 | 2001-09-12 | 2001-08-12 | 2001-07-12 | 2001-06-12 | 2001-05-12 | 2001-04-12 | 2001-03-12 | 2001-02-12 | 2001-01-12 | 2000-12-12 | 2000-11-12 | 2000-10-12 | 2000-09-12 | 2000-08-12 | 2000-07-12 | 2000-06-12 | 2000-05-12 | 2000-04-12 | 2000-03-12 | 2000-02-12 | 2000-01-12 | 1999-12-12

Key: Value:

Key: Value:

MESSAGE
DATE 2012-02-25
FROM Ruben Safir
SUBJECT Re: [NYLXS - HANGOUT] Re: c++ question about decimals
From owner-hangout-outgoing-at-mrbrklyn.com Sat Feb 25 23:46:27 2012
Return-Path:
X-Original-To: archive-at-mrbrklyn.com
Delivered-To: archive-at-mrbrklyn.com
Received: by www2.mrbrklyn.com (Postfix)
id 09A9A100C05; Sat, 25 Feb 2012 23:46:27 -0500 (EST)
Delivered-To: hangout-outgoing-at-www2.mrbrklyn.com
Received: by www2.mrbrklyn.com (Postfix, from userid 28)
id CB80F100C00; Sat, 25 Feb 2012 23:46:26 -0500 (EST)
Delivered-To: hangout-at-nylxs.com
Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54])
by www2.mrbrklyn.com (Postfix) with ESMTP id E8527100C00
for ; Sat, 25 Feb 2012 23:46:19 -0500 (EST)
Received: by qao25 with SMTP id 25so915865qao.13
for ; Sat, 25 Feb 2012 20:44:37 -0800 (PST)
Received-SPF: pass (google.com: domain of ceo.brooklyn-at-gmail.com designates 10.229.106.23 as permitted sender) client-ip=10.229.106.23;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of ceo.brooklyn-at-gmail.com designates 10.229.106.23 as permitted sender) smtp.mail=ceo.brooklyn-at-gmail.com; dkim=pass header.i=ceo.brooklyn-at-gmail.com
Received: from mr.google.com ([10.229.106.23])
by 10.229.106.23 with SMTP id v23mr5195459qco.52.1330231477169 (num_hops = 1);
Sat, 25 Feb 2012 20:44:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=message-id:date:from:user-agent:mime-version:to:cc:subject
:references:in-reply-to:content-type:content-transfer-encoding;
bh=R79JYonV24QucW76q3yvsu8EVS5r0CSdDFBnNy7j+nA=;
b=vPQJO2H0ErY6znfxi1vSzxkWpAuwAru/cK7wXaYTCMT9Wqki6F6tMTXQz2INjZ9cHt
SdEZaZfAWBTEVqorwO71Qs4UOBpdHaj4QwH6jCu7X0ykT493FvvK81AG+lqR+I13xWRF
vml/I7oXNeTVeG2h60DswBNno3g8MtrX6LeyA=
Received: by 10.229.106.23 with SMTP id v23mr4271380qco.52.1330231477094;
Sat, 25 Feb 2012 20:44:37 -0800 (PST)
Received: from [10.0.0.42] (www2.mrbrklyn.com. [96.57.23.82])
by mx.google.com with ESMTPS id ft9sm25984198qab.0.2012.02.25.20.44.36
(version=SSLv3 cipher=OTHER);
Sat, 25 Feb 2012 20:44:36 -0800 (PST)
Message-ID: <4F49B8B3.40702-at-gmail.com>
Date: Sat, 25 Feb 2012 23:44:35 -0500
From: Ruben Safir
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.26) Gecko/20120124 SUSE/3.1.18 Thunderbird/3.1.18
MIME-Version: 1.0
To: hangout-at-mrbrklyn.com
CC: Paul Robert Marino , hangout-at-nylxs.com
Subject: Re: [NYLXS - HANGOUT] Re: c++ question about decimals
References:
In-Reply-To:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-hangout-at-mrbrklyn.com
Precedence: bulk
Reply-To: hangout-at-mrbrklyn.com

On 02/24/2012 09:33 AM, Paul Robert Marino wrote:
> actually after looking into this further what i really need to do is
> grab just the remainder of the result of dividing 2 numbers I think
> fmod is the answer im looking for
>

BTW that only gives you valid results with valid arguments to the
function. If your argument is a small int, its not going to work either.


Ruben
> On Fri, Feb 24, 2012 at 12:48 AM, Paul Robert Marino
> wrote:
>> my C programmings a little rusty and i could use some help
>> im working on a patch for keepalived i have to modify a portion of the
>> code that type casts several variables as a unsigned long however I
>> need to change it to an equivalent the will store it with a decimal
>> with 2 points of precision, and if possible wont change how other
>> parts of the code use the same functions with whole numbers does any
>> one have any suggestions.
>>
>> by the way in case any one is wondering im working on implementing
>> centisecond (hundredth) of a second intervals for VRRP per the RFC for
>> VRRPv3 http://tools.ietf.org/html/rfc5798
>> so far its going well but there are a few points in the code that are
>> doing crazy things like setting a sleep timer to 0 seconds which is
>> what I'm trying to fix now. that being said the rest of the patch
>> works great i was able to cut my interface failover times in nearly
>> down from 8 to less than 3 seconds total.

  1. 2012-02-03 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] fly without a pilot...sounds great
  2. 2012-02-03 Elfen Magix <elfen_magix-at-yahoo.com> Re: [NYLXS - HANGOUT] fly without a pilot...sounds great
  3. 2012-02-05 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] fly without a pilot...sounds great
  4. 2012-02-05 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Charter Meeting
  5. 2012-02-05 Robert Menes <viewtiful.icchan-at-gmail.com> Re: [NYLXS - HANGOUT] Charter Meeting
  6. 2012-02-06 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] best of Amsterdam
  7. 2012-02-06 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  8. 2012-02-06 Ruben Safir <ceo.brooklyn-at-gmail.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  9. 2012-02-06 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  10. 2012-02-06 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  11. 2012-02-06 Ruben Safir <ceo.brooklyn-at-gmail.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  12. 2012-02-06 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  13. 2012-02-07 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] best of Amsterdam
  14. 2012-02-07 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] video to see
  15. 2012-02-08 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] too much comics
  16. 2012-02-08 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] cool cool
  17. 2012-02-13 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] free software and photography
  18. 2012-02-13 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] It shouldn't happen to a dog
  19. 2012-02-13 Elfen Magix <elfen_magix-at-yahoo.com> Re: [NYLXS - HANGOUT] It shouldn't happen to a dog
  20. 2012-02-13 Ronny <ronny.coder-at-gmail.com> Re: [NYLXS - HANGOUT] It shouldn't happen to a dog
  21. 2012-02-13 Elfen Magix <elfen_magix-at-yahoo.com> Re: [NYLXS - HANGOUT] It shouldn't happen to a dog
  22. 2012-02-13 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] It shouldn't happen to a dog
  23. 2012-02-14 Ronny <ronny.coder-at-gmail.com> Re: [NYLXS - HANGOUT] It shouldn't happen to a dog
  24. 2012-02-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [security-announce] openSUSE-SU-2012:0258-1: critical:
  25. 2012-02-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Amy Kaplan and here anti-semetic rants
  26. 2012-02-22 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Next NYLXS Meeting
  27. 2012-02-22 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] Next NYLXS Meeting
  28. 2012-02-22 Paul Robert Marino <prmarino1-at-gmail.com> Re: [NYLXS - HANGOUT] Next NYLXS Meeting
  29. 2012-02-22 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] Next NYLXS Meeting
  30. 2012-02-24 Paul Robert Marino <prmarino1-at-gmail.com> Subject: [NYLXS - HANGOUT] c++ question about decimals
  31. 2012-02-24 Paul Robert Marino <prmarino1-at-gmail.com> Subject: [NYLXS - HANGOUT] Re: c++ question about decimals
  32. 2012-02-24 Paul Robert Marino <prmarino1-at-gmail.com> Subject: [NYLXS - HANGOUT] Re: c++ question about decimals
  33. 2012-02-25 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Re: c++ question about decimals
  34. 2012-02-25 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Re: c++ question about decimals
  35. 2012-02-25 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Next NYLXS Meeting
  36. 2012-02-25 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Next NYLXS Meeting
  37. 2012-02-25 Ruben Safir <ceo.brooklyn-at-gmail.com> Re: [NYLXS - HANGOUT] Re: c++ question about decimals
  38. 2012-02-25 Ruben Safir <ceo.brooklyn-at-gmail.com> Re: [NYLXS - HANGOUT] Re: c++ question about decimals
  39. 2012-02-27 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Superhero wonders
  40. 2012-02-27 Michael L Richardson <mlr52-at-michaellrichardson.com> Re: [NYLXS - HANGOUT] Next NYLXS Meeting
  41. 2012-02-28 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] New job Exciting Opportunity with Nvidia Graphics for the

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!