Thu May 9 12:28:48 2024
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 2011-03-01

HANGOUT

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

Key: Value:

Key: Value:

MESSAGE
DATE 2011-03-15
FROM Ruben Safir
SUBJECT Subject: [NYLXS - HANGOUT] [ruben@mrbrklyn.com: Re: this compared to NULL]
----- Forwarded message from Ruben Safir -----

Date: Tue, 15 Mar 2011 15:44:02 -0400
From: Ruben Safir
To: Billy
Cc: Ruben Safir
Subject: Re: this compared to NULL
User-Agent: Mutt/1.5.20 (2009-06-14)

On Tue, Mar 15, 2011 at 01:06:56PM -0400, Billy wrote:
> You're trying to return NULL from a method that returns MESSAGE.
>
> That's not going to work.
> It has nothing to do with the comparison: this==NULL
> This would be clear if you used newlines in your code.
>
> There's no great advantage to squishing a method onto one line,
> and it makes diagnostics harder to pinpoint.
>

Yeah - I debugged it to that problem by doing exactly as you said and
breaking it up on multiple lines. But now I'm perplexed as to the best
solution.

I think that this is best fixed using a cast in the LIST object and then
I need to add a constructor for an integer for MESSAGES.

I was going to see how the strings library does this and maybe emulate
that.

There is another puzzle that is bothering me. I had a bug that the
compiler didn't pick up and I don't know why.

The method value originally ended with a semicolon, which is something
only a class should do, and nothing complained and everything initially
worked (I initially just yanked the declaration from the Class and
forgot to remove the semicolon). I believe that becuse it is a template
class that this error wasn't picked up, bt I'm not certain how this
affected the original code.

Ruben
>
> On Tue, Mar 15, 2011 at 2:17 AM, Ruben Safir wrote:
> > I just realized you don't have the MYSQL setup, but here is the compiler
> > output
> >
> > || g++ ? -Wall -ggdb -I/usr/local/include/mysql
> > -I/usr/local/include/mysql++ -c linklist.cpp
> > || g++ ?-Wall -ggdb -I/usr/local/include/mysql
> > -I/usr/local/include/mysql++ -c linklist_main.cpp
> > || In file included from linklist_main.cpp:1:
> > || linklist.h: In member function ?unk CHAINLIST::NODE::value()
> > [with unk = MESSAGE]?:
> > linklist.h|154| instantiated from ?void
> > CHAINLIST::LIST::display(std::ostream&) [with unk = MESSAGE]?
> > linklist_main.cpp|312| instantiated from here
> > linklist.h|43| error: conversion from ?int? to non-scalar type ?MESSAGE?
> > requested
> > || make: *** [linklist_main.o] Error 1
> >
> >
> > On Tue, Mar 15, 2011 at 01:59:08AM -0400, Ruben Safir wrote:
> >> Try to compile this. ?It seems to be telling me that I can't compare
> >> this to NULL which it has done just fine with the string<> library
> >> and otherwise.
> >>
> >> I'm at a loss to the problem.
> >>
> >> Ruben
> >> --
> >> http://www.mrbrklyn.com - Interesting Stuff
> >> http://www.nylxs.com - Leadership Development in Free Software
> >>
> >> So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world ?- RI Safir 1998
> >>
> >> http://fairuse.nylxs.com ?DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> >>
> >> "Yeah - I write Free Software...so SUE ME"
> >>
> >> "The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."
> >>
> >> "> I'm an engineer. I choose the best tool for the job, politics be damned.<
> >> You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. ?I guess you missed that one."
> >>
> >> ? Copyright for the Digital Millennium
> >
> >
> >
> > --
> > http://www.mrbrklyn.com - Interesting Stuff
> > http://www.nylxs.com - Leadership Development in Free Software
> >
> > So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world ?- RI Safir 1998
> >
> > http://fairuse.nylxs.com ?DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> >
> > "Yeah - I write Free Software...so SUE ME"
> >
> > "The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."
> >
> > "> I'm an engineer. I choose the best tool for the job, politics be damned.<
> > You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. ?I guess you missed that one."
> >
> > ? Copyright for the Digital Millennium
> >
>
>
>
> --
> ?n??uop ?ll?q

--
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software

So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998

http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free Software...so SUE ME"

"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."

"> I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."

? Copyright for the Digital Millennium

----- End forwarded message -----

  1. 2011-03-01 Ron Guerin <ron-at-vnetworx.net> Subject: [NYLXS - HANGOUT] NYLUG Workshop / Hacking Society (Smalltalk, C++, Python) Tuesday March 1 6:00PM-8:00PM
  2. 2011-03-01 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Next Meeting
  3. 2011-03-01 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] Next Meeting
  4. 2011-03-01 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Next Meeting
  5. 2011-03-02 Paul Robert Marino <prmarino1-at-gmail.com> Re: [NYLXS - HANGOUT] Next Meeting
  6. 2011-03-02 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] Next Meeting
  7. 2011-03-02 swd <sderrick-at-optonline.net> Subject: [NYLXS - HANGOUT] Justice eyes Microsoft-Novell patent deal
  8. 2011-03-03 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] Next Meeting
  9. 2011-03-03 From: "Paul Robert Marino" <prmarino1-at-gmail.com> Re: [NYLXS - HANGOUT] Next Meeting
  10. 2011-03-03 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] Next Meeting
  11. 2011-03-07 Michael L Richardson <mlr52-at-michaellrichardson.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  12. 2011-03-08 einker <eminker-at-gmail.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  13. 2011-03-08 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  14. 2011-03-08 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  15. 2011-03-08 Elfen Magix <elfen_magix-at-yahoo.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  16. 2011-03-08 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Free Software Healthcare initiative
  17. 2011-03-08 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  18. 2011-03-08 From: "Paul Robert Marino" <prmarino1-at-gmail.com> Re: [NYLXS - HANGOUT] NYLXS ANNOUNCMENT - Please Pass it on
  19. 2011-03-10 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] HP Touch Pad
  20. 2011-03-10 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] NYLXS Meeting for Classes Planning and Workshop
  21. 2011-03-15 Ron Guerin <ron-at-vnetworx.net> Subject: [NYLXS - HANGOUT] NYLUG Workshop / Hacking Society (Smalltalk, C++, Python) Tuesday March 15 6:00PM-8:00PM
  22. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [billy.donahue-at-gmail.com: Namespaces and the Interface Principle]
  23. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Re: Namespaces and the Interface Principle]
  24. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Re: this compared to NULL]
  25. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [billy.donahue-at-gmail.com: Re: this compared to NULL]
  26. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Re: this compared to NULL]
  27. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Re: [hack] NYLUG Workshop / Hacking Society,
  28. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Re: [hack] NYLUG Workshop / Hacking Society,
  29. 2011-03-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Re: this compared to NULL]
  30. 2011-03-16 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Work
  31. 2011-03-17 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [nytdirect-at-nytimes.com: An important notice for NYTimes.com
  32. 2011-03-17 swd <sderrick-at-optonline.net> RE: [NYLXS - HANGOUT] [nytdirect-at-nytimes.com: An important notice for
  33. 2011-03-17 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] Quotes
  34. 2011-03-18 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [hery.ramilison-at-oracle.com: MySQL Community Server 5.5.10 has been
  35. 2011-03-18 Ron Guerin <ron-at-vnetworx.net> Subject: [NYLXS - HANGOUT] Free Software Round Table TOMORROW, Saturday March 19 10-11 PM (streaming live)
  36. 2011-03-20 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Nulls and Zeros in C++]
  37. 2011-03-21 From: "Ron Guerin" <ron-at-vnetworx.net> Subject: [NYLXS - HANGOUT] [Fwd: [Debian-NYC] Linux Installation Festival * April 2 12pm - 5pm]
  38. 2011-03-22 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [ruben-at-mrbrklyn.com: Book Burning continues thanks to the Feds]
  39. 2011-03-23 Ron Guerin <ron-at-vnetworx.net> Subject: [NYLXS - HANGOUT] NYLUG Presents: 4/20 -at- 6:30PM Erik Kastner and John Goulah on Deployinator: How Etsy removed the pain and fear from deploying code
  40. 2011-03-26 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] HP WebOS threats
  41. 2011-03-27 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] HP WebOS threats
  42. 2011-03-27 Paul Robert Marino <prmarino1-at-gmail.com> Re: [NYLXS - HANGOUT] HP WebOS threats
  43. 2011-03-27 From: "Ron Guerin" <ron-at-vnetworx.net> Re: [NYLXS - HANGOUT] HP WebOS threats
  44. 2011-03-28 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] HP WebOS threats
  45. 2011-03-28 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] HP WebOS threats
  46. 2011-03-28 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [jcharb-at-clear.net: Re: GNU/Linux_1: Introduction to GNU/Linux]
  47. 2011-03-28 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] HP WebOS threats
  48. 2011-03-28 Ruben Safir <mrbrklyn-at-panix.com> Re: [NYLXS - HANGOUT] HP WebOS threats
  49. 2011-03-29 Ron Guerin <ron-at-vnetworx.net> Subject: [NYLXS - HANGOUT] NYLUG Workshop / Hacking Society (Smalltalk, C++, Python) Tuesday March 29 6:00PM-8:00PM
  50. 2011-03-29 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [meissner-at-suse.de: [security-announce] SUSE Security Announcement:
  51. 2011-03-29 Ruben Safir <mrbrklyn-at-panix.com> Subject: [NYLXS - HANGOUT] [evan-at-snarc.net: Vintage Computer Festival East 7.0 - May 14-15]

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