[Nrtb-core] [Blueprint icp-spec] Interprocess Communications

2010-11-30 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: Pending Approval = Approved

Whiteboard changed:
- This specification is now ready for review.
+ After review and approval by two of the nrtb-core staff, this blueprint
+ is approved and is ready for implementation.

-- 
Interprocess Communications
https://blueprints.launchpad.net/nrtb/+spec/icp-spec

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Question #138347]: Do we use Boost or POCO?

2010-12-19 Thread Rick Stovall
New question #138347 on New Real Time Battle:
https://answers.launchpad.net/nrtb/+question/138347

A few days ago I sent POCO (pocoproject.org) out to the core team for review 
and so far have received little feedback. I'm ready to start coding on the 
transceiver, which will be used by both SimEngine and Databroker and a quick 
decision is needed so I can go forward.

Question: Is there any reason POCO is unacceptable the core support library set 
for our C++ components? 

Overview: http://pocoproject.org/documentation/PoCoOverview.pdf
Documentation: http://pocoproject.org/docs/

NOTE: In the absence of feedback by 1800 on 2010-12-20 I will mark this 
question as resolved and proceed with development using POCO on my authority as 
project lead. I'd much rather have a group consensus, but I don't want to hold 
up development too much longer.

-- 
You received this question notification because you are a member of NRTB
Core, which is an answer contact for New Real Time Battle.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint icp-spec] Interprocess Communications

2010-12-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- Made a quick change to altering the requirement to use Boost::ASIO in
- favor of using the POCO libraries. While a a little less flexible, than
- Boost, POCO is considerably easier to use. It's under the same license,
- so there are no legal implications to this change. With this change,
- I'll be starting implementation this week.
- 
- After review and approval by two of the nrtb-core staff, this blueprint
- is approved and is ready for implementation.
+ Coding the the transceiver is making good progress.

-- 
Interprocess Communications
https://blueprints.launchpad.net/nrtb/+spec/icp-spec

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 722705] [NEW] Several dbAccess:: methods improperly return a error flag

2011-02-21 Thread Rick Stovall
Public bug reported:

Method int dbAccess::runSql (string scrpt) returns an int indicating
success or failure and carrying no other significance. Best practices
indicate that the method should succeed cleanly or throw an exception,
therefore the return of a status flag is redundant; a failure would
never return the error code in any case.

Given the above, the method should be altered to not return any type of
status code and to throw an exception (may I suggest
dbAccess::runSql_failure as a name) should the query fail. A nice
enhancement would be to store the error code and text in the exception
so the actual event and problem can be resolved by the caller if needed.

One other question while we are here, was the mis-spelling of script
in the argument list intentional?

** Affects: nrtb
 Importance: High
 Assignee: George Jordan (gsjordanc)
 Status: New

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/722705

Title:
  Several dbAccess:: methods improperly return a error flag

Status in The New Real Time Battle Project:
  New

Bug description:
  Method int dbAccess::runSql (string scrpt) returns an int indicating
  success or failure and carrying no other significance. Best practices
  indicate that the method should succeed cleanly or throw an exception,
  therefore the return of a status flag is redundant; a failure would
  never return the error code in any case.

  Given the above, the method should be altered to not return any type
  of status code and to throw an exception (may I suggest
  dbAccess::runSql_failure as a name) should the query fail. A nice
  enhancement would be to store the error code and text in the exception
  so the actual event and problem can be resolved by the caller if
  needed.

  One other question while we are here, was the mis-spelling of script
  in the argument list intentional?

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 722717] [NEW] dbAccess.h has a using namespace statement in it.

2011-02-21 Thread Rick Stovall
Public bug reported:

Best practices indicate that no header file should have a using
namespace statement. Such a statement in a header file affects not only
the header, but any file which may include that header later, leading to
unintended bugs.

Please remove the using namespace std; statement fully qualify any
reference to an identifier from the std:: namespace in the header.

** Affects: nrtb
 Importance: High
 Assignee: George Jordan (gsjordanc)
 Status: New

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/722717

Title:
  dbAccess.h has a using namespace statement in it.

Status in The New Real Time Battle Project:
  New

Bug description:
  Best practices indicate that no header file should have a using
  namespace statement. Such a statement in a header file affects not
  only the header, but any file which may include that header later,
  leading to unintended bugs.

  Please remove the using namespace std; statement fully qualify any
  reference to an identifier from the std:: namespace in the header.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


Re: [Nrtb-core] [Question #146411]: Copyright banners need to be added to dbAccess_test.cpp

2011-02-22 Thread Rick Stovall
Question #146411 on New Real Time Battle changed:
https://answers.launchpad.net/nrtb/+question/146411

Status: Open = Invalid

Rick Stovall changed the question status:
Should be a bug.

-- 
You received this question notification because you are a member of NRTB
Core, which is an answer contact for New Real Time Battle.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 723263] Re: Todo: Define GPB interface between Visualization and DataBroker

2011-02-22 Thread Rick Stovall
Reviewed and assigned to Aron.

** Changed in: nrtb
 Assignee: (unassigned) = Aron Boyette (aron-carolina)

** Changed in: nrtb
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/723263

Title:
  Todo: Define GPB interface between Visualization and DataBroker

Status in The New Real Time Battle Project:
  New

Bug description:
  The communication between the VisualizationEngine and the DataBroker is not 
defined.  The following tasks need to be completed...
  oCreate the proto files to be used between the two applications
  oDefine how they will be used and expectations for various scenarios

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 723503] [NEW] Todo: triad template lacks an automatic unit test.

2011-02-22 Thread Rick Stovall
Public bug reported:

Our agreed upon best practices require an automatic unit test program
which is automatically run during build and which can fail the build of
there is a  problem.  While there is a unit test program associated with
the triad template, it is not run automatically during build and simply
displays results instead of checking them itself.

To complete this task, the build for the triad template must be brought
in to spec.

** Affects: nrtb
 Importance: Medium
 Assignee: Rick Stovall (fpstovall)
 Status: New

** Branch linked: lp:~fpstovall/nrtb/cpp_common

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/723503

Title:
  Todo: triad template lacks an automatic unit test.

Status in The New Real Time Battle Project:
  New

Bug description:
  Our agreed upon best practices require an automatic unit test program
  which is automatically run during build and which can fail the build
  of there is a  problem.  While there is a unit test program associated
  with the triad template, it is not run automatically during build and
  simply displays results instead of checking them itself.

  To complete this task, the build for the triad template must be
  brought in to spec.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 723651] [NEW] Todo: dbAccess.config needs a copyright banner.

2011-02-23 Thread Rick Stovall
Public bug reported:

The banner we us  in makefiles willl work in the config file.

** Affects: nrtb
 Importance: Low
 Assignee: George Jordan (gsjordanc)
 Status: New

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/723651

Title:
  Todo: dbAccess.config needs a copyright banner.

Status in The New Real Time Battle Project:
  New

Bug description:
  The banner we us  in makefiles willl work in the config file.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Question #147131]: Is MUSCLE appropriate to use as our communications engine?

2011-02-27 Thread Rick Stovall
Question #147131 on New Real Time Battle changed:
https://answers.launchpad.net/nrtb/+question/147131

Assignee: None = NRTB Core

Summary changed to:
Is MUSCLE appropriate to use as our communications engine?

-- 
You received this question notification because you are a member of NRTB
Core, which is an answer contact for New Real Time Battle.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 723272] Re: Todo: Review the NRTB C++ common classes

2011-07-20 Thread Rick Stovall
Code is not quite complete yet, currently working on unit tests for the
common_rl lib. After that I will complete transceiver.

** Branch linked: lp:~fpstovall/nrtb/cpp_common

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/723272

Title:
  Todo: Review the NRTB C++ common classes

Status in The New Real Time Battle Project:
  New

Bug description:
  Please get the code branch lp:~fpstovall/nrtb/cpp_common from
  https://code.launchpad.net/~fpstovall/nrtb/cpp_common and review the
  C++ utility classes in the common directory.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/723272/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 814217] [NEW] Todo: Add dot_product method to triad.h

2011-07-21 Thread Rick Stovall
Public bug reported:

common/point/triad.h defines a class useful for physics (a 3d vector)
but it is missing a commonly used method, the scalar or dot rproduct.
This needs to be implemented as the physics core will make great use of
it.

You can find good documentation on this method in Game Physics Engine
Development in section 2.1.7. Rick has a copy in his Kindle with the
section bookmarked.

** Affects: nrtb
 Importance: High
 Assignee: Rick Stovall (fpstovall)
 Status: New

** Branch linked: lp:~fpstovall/nrtb/cpp_common

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/814217

Title:
  Todo: Add dot_product method to triad.h

Status in The New Real Time Battle Project:
  New

Bug description:
  common/point/triad.h defines a class useful for physics (a 3d vector)
  but it is missing a commonly used method, the scalar or dot
  rproduct. This needs to be implemented as the physics core will make
  great use of it.

  You can find good documentation on this method in Game Physics Engine
  Development in section 2.1.7. Rick has a copy in his Kindle with the
  section bookmarked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/814217/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 813860] Re: Todo: common_rl needs a unit test created.

2011-07-21 Thread Rick Stovall
** Changed in: nrtb
 Assignee: (unassigned) = Rick Stovall (fpstovall)

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/813860

Title:
  Todo: common_rl needs a unit test created.

Status in The New Real Time Battle Project:
  In Progress

Bug description:
  common/common_rl is a set of library routines imported from the older
  ricklib set and does not have an automatic unit test to run at build
  time. As automatic unit testing is a required standard of the NRTB
  project, one needs to be created.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/813860/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 814392] Re: Todo: C++ GPB build process

2011-07-21 Thread Rick Stovall
Revamped the C++ Google Protocol Buffers *.proto build process so that
it's now completely contained in the common libs make process. This
allows the storage area for .proto files to stay simple and and easy for
other languages to use.

No further modifications to the GPB build for C++ should be needed for
new proto files. All .proto files stored in GPB_proto are automatically
picked up and included in the build.

** Changed in: nrtb
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/814392

Title:
  Todo: C++ GPB build process

Status in The New Real Time Battle Project:
  Fix Committed

Bug description:
  Create, test and integrate the GPB proto/C++ lib build process into
  the main C++ build process so that it's called in the proper sequence
  by the master Makefile.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/814392/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 834301] Re: Legacy file common/transceiver/transceiver.cpp needs to be removed

2011-08-29 Thread Rick Stovall
** Tags added: beta

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/834301

Title:
  Legacy file common/transceiver/transceiver.cpp needs to be removed

Status in The New Real Time Battle Project:
  Triaged

Bug description:
  The file transceiver.cpp is obsolete and not used in any way. it
  should be removed from the code tree to avoid confusion at a later
  time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/834301/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


Re: [Nrtb-core] [Merge] lp:~fpstovall/nrtb/cpp_common into lp:nrtb

2011-08-30 Thread Rick Stovall
Review: Abstain can not review

-- 
https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+merge/72827
Your team NRTB Core is subscribed to branch lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


Re: [Nrtb-core] [Merge] lp:~fpstovall/nrtb/cpp_common into lp:nrtb

2011-09-04 Thread Rick Stovall
Review: Approve merge test
I conducted a test merge into a copy of the alpha branch. The merge completed 
automatically with no manual overrides required. I reviewed the change list and 
found only the expected changes. I then went to the common directory and ran 
make, piping the build and unit test output to a file. Careful review of the 
file showed all builds and all unit tests completed successfully.

In the absence of other reviews, this will constitute sufficient review and 
approval to merge the cpp_common branch into the alpha main branch. 
-- 
https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+merge/72827
Your team NRTB Core is subscribed to branch lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/cpp_common into lp:nrtb

2011-09-05 Thread Rick Stovall
The proposal to merge lp:~fpstovall/nrtb/cpp_common into lp:nrtb has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+merge/72827
-- 
https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+merge/72827
Your team NRTB Core is subscribed to branch lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 825614] Re: TODO: Port ricklibIII threads and sockets classes to NRTB

2011-09-05 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/825614

Title:
  TODO: Port ricklibIII threads and sockets classes to NRTB

Status in The New Real Time Battle Project:
  Fix Released

Bug description:
  RicklibIII has well proven classes to manage threads and socket
  communications. In the interest of speeding up the alpha process, we
  need to port them to NRTB common, making any changes needed to bring
  them into the nrtb namespace, add proper unit testing, and clean up
  any issue that might be found during testing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/825614/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Branch ~nrtb-core/nrtb/alpha]

2011-09-05 Thread Rick Stovall
Status: Experimental = Development

--
lp:nrtb
https://code.launchpad.net/~nrtb-core/nrtb/alpha

Your team NRTB Core is subscribed to branch lp:nrtb.
To unsubscribe from this branch go to 
https://code.launchpad.net/~nrtb-core/nrtb/alpha/+edit-subscription

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 837090] Re: nrtb::tcp_server_socket_factory randomly crashes on shutdown.

2011-09-07 Thread Rick Stovall
** Changed in: nrtb
 Assignee: Rick Stovall (fpstovall) = (unassigned)

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/837090

Title:
  nrtb::tcp_server_socket_factory randomly crashes on shutdown.

Status in The New Real Time Battle Project:
  Triaged

Bug description:
  nrtb::tcp_server_socket_factory has some type of resource conflict
  which arises about 20% of the time when destructing or shutting down
  the listener. No other negative issues have been observed. That said,
  this does not affect run time stability as a general rule.. most
  applications using the class start it and then leave it running for
  the entire duration of the program run. Therefore this bug is not as
  critical as it might appear at first glance.

  This is very old code and I'm sure a cleanup could do wonders towards
  removing this issue. I'm recommending the fix be deferred until beta
  phase, as it will have little or no effect on our ability to work
  during alpha.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/837090/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 837090] Re: nrtb::tcp_server_socket_factory randomly crashes on shutdown.

2011-09-07 Thread Rick Stovall
** Changed in: nrtb
   Importance: Low = Medium

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/837090

Title:
  nrtb::tcp_server_socket_factory randomly crashes on shutdown.

Status in The New Real Time Battle Project:
  Triaged

Bug description:
  nrtb::tcp_server_socket_factory has some type of resource conflict
  which arises about 20% of the time when destructing or shutting down
  the listener. No other negative issues have been observed. That said,
  this does not affect run time stability as a general rule.. most
  applications using the class start it and then leave it running for
  the entire duration of the program run. Therefore this bug is not as
  critical as it might appear at first glance.

  This is very old code and I'm sure a cleanup could do wonders towards
  removing this issue. I'm recommending the fix be deferred until beta
  phase, as it will have little or no effect on our ability to work
  during alpha.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/837090/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 837090] Re: nrtb::tcp_server_socket_factory randomly crashes on shutdown.

2011-09-09 Thread Rick Stovall
This has become a critical bug; I'll fix it immediately.

** Changed in: nrtb
 Assignee: (unassigned) = Rick Stovall (fpstovall)

** Changed in: nrtb
   Status: Triaged = Confirmed

** Tags removed: beta

** Changed in: nrtb
   Importance: Medium = Critical

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/837090

Title:
  nrtb::tcp_server_socket_factory randomly crashes on shutdown.

Status in The New Real Time Battle Project:
  In Progress

Bug description:
  nrtb::tcp_server_socket_factory has some type of resource conflict
  which arises about 20% of the time when destructing or shutting down
  the listener. No other negative issues have been observed. That said,
  this does not affect run time stability as a general rule.. most
  applications using the class start it and then leave it running for
  the entire duration of the program run. Therefore this bug is not as
  critical as it might appear at first glance.

  This is very old code and I'm sure a cleanup could do wonders towards
  removing this issue. I'm recommending the fix be deferred until beta
  phase, as it will have little or no effect on our ability to work
  during alpha.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/837090/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 837090] Re: nrtb::tcp_server_socket_factory randomly crashes on shutdown.

2011-09-09 Thread Rick Stovall
** Branch linked: lp:~fpstovall/nrtb/listener-fix

** Changed in: nrtb
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/837090

Title:
  nrtb::tcp_server_socket_factory randomly crashes on shutdown.

Status in The New Real Time Battle Project:
  In Progress

Bug description:
  nrtb::tcp_server_socket_factory has some type of resource conflict
  which arises about 20% of the time when destructing or shutting down
  the listener. No other negative issues have been observed. That said,
  this does not affect run time stability as a general rule.. most
  applications using the class start it and then leave it running for
  the entire duration of the program run. Therefore this bug is not as
  critical as it might appear at first glance.

  This is very old code and I'm sure a cleanup could do wonders towards
  removing this issue. I'm recommending the fix be deferred until beta
  phase, as it will have little or no effect on our ability to work
  during alpha.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/837090/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 851880] [NEW] Some NRTB common classes destructors may throw.

2011-09-16 Thread Rick Stovall
Public bug reported:

A review of the C++ common libs for NRTB needs to be reviewed for class 
destructors which may throw exceptions outside their scope. This can cause 
badness. 
While we are at it, ensure all destructors are virtual as well.

** Affects: nrtb
 Importance: High
 Assignee: Rick Stovall (fpstovall)
 Status: Fix Committed


** Tags: stability

** Branch linked: lp:~fpstovall/nrtb/listener-fix

** Summary changed:

- Some NRTB common classes destructors which may throw.
+ Some NRTB common classes destructors may throw.

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/851880

Title:
  Some NRTB common classes destructors may throw.

Status in The New Real Time Battle Project:
  Fix Committed

Bug description:
  A review of the C++ common libs for NRTB needs to be reviewed for class 
destructors which may throw exceptions outside their scope. This can cause 
badness. 
  While we are at it, ensure all destructors are virtual as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/851880/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 851883] [NEW] Todo: /common/threads/tests directory needs to be removed.

2011-09-16 Thread Rick Stovall
Public bug reported:

The common/threads/tests directory contains old and obsolete unit tests
which server no functional purpose any more. It needs to be removed.

** Affects: nrtb
 Importance: Wishlist
 Assignee: Rick Stovall (fpstovall)
 Status: Triaged


** Tags: cleanup

** Branch linked: lp:~fpstovall/nrtb/listener-fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/851883

Title:
  Todo: /common/threads/tests directory needs to be removed.

Status in The New Real Time Battle Project:
  Triaged

Bug description:
  The common/threads/tests directory contains old and obsolete unit
  tests which server no functional purpose any more. It needs to be
  removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/851883/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


Re: [Nrtb-core] [Merge] lp:~fpstovall/nrtb/listener-fix into lp:nrtb

2011-09-16 Thread Rick Stovall
We'll leave this for review until Monday, Sept 19th. If no blocking problem 
have been reported by the end of the team meeting on that day, we'll merge this 
to alpha and proceed with development of simulation engine and the database 
broker.
-- 
https://code.launchpad.net/~fpstovall/nrtb/listener-fix/+merge/75840
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/listener-fix into lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 837090] Re: nrtb::tcp_server_socket_factory randomly crashes on shutdown.

2011-09-16 Thread Rick Stovall
NOTE: the tcp_server_socket_factory is not failing during unit test, but
it is reliably failing if the listener thread is still running at
program shutdown. This is not an issue for alpha and all other bad
behavior seems to be gone.

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/837090

Title:
  nrtb::tcp_server_socket_factory randomly crashes on shutdown.

Status in The New Real Time Battle Project:
  Fix Committed

Bug description:
  nrtb::tcp_server_socket_factory has some type of resource conflict
  which arises about 20% of the time when destructing or shutting down
  the listener. No other negative issues have been observed. That said,
  this does not affect run time stability as a general rule.. most
  applications using the class start it and then leave it running for
  the entire duration of the program run. Therefore this bug is not as
  critical as it might appear at first glance.

  This is very old code and I'm sure a cleanup could do wonders towards
  removing this issue. I'm recommending the fix be deferred until beta
  phase, as it will have little or no effect on our ability to work
  during alpha.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/837090/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 723263] Re: Todo: Define GPB interface between Visualization and DataBroker

2011-09-18 Thread Rick Stovall
I worked this bug due to the fact that Linda's been ill and we need it
for databroker.

** Changed in: nrtb
   Status: New = Fix Committed

** Changed in: nrtb
 Assignee: Linda Schneider (linda-moore416) = Rick Stovall (fpstovall)

** Branch linked: lp:~fpstovall/nrtb/GPB_definitions

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/723263

Title:
  Todo: Define GPB interface between Visualization and DataBroker

Status in The New Real Time Battle Project:
  Fix Committed

Bug description:
  The communication between the VisualizationEngine and the DataBroker is not 
defined.  The following tasks need to be completed...
  oCreate the proto files to be used between the two applications
  oDefine how they will be used and expectations for various scenarios

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/723263/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/GPB_definitions into lp:nrtb

2011-09-18 Thread Rick Stovall
Rick Stovall has proposed merging lp:~fpstovall/nrtb/GPB_definitions into 
lp:nrtb with lp:~fpstovall/nrtb/listener-fix as a prerequisite.

Requested reviews:
  NRTB Core (nrtb-core)
Related bugs:
  Bug #723263 in New Real Time Battle: Todo: Define GPB interface between 
Visualization and DataBroker
  https://bugs.launchpad.net/nrtb/+bug/723263

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/GPB_definitions/+merge/75945

This merge will complete the primary setup for interprocess messaging for the 
alpha phase. Included are new management messages for the sim to db channel, 
and a complete working set of messages for the visualization to db channel.

There is some minor refactoring of the sim_engine directory as well.  This 
branch is dependent on the listener-fix branch, already proposed for review.  
Unless there are blocking issues, this branch is scheduled to be merged on 
Friday, Sept. 23rd after the Friday NRTB meeting.
-- 
https://code.launchpad.net/~fpstovall/nrtb/GPB_definitions/+merge/75945
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/GPB_definitions into lp:nrtb.
=== modified file 'GPB_proto/sim_to_db_wrapper.proto'
--- GPB_proto/sim_to_db_wrapper.proto	2011-07-24 17:15:15 +
+++ GPB_proto/sim_to_db_wrapper.proto	2011-09-19 02:44:24 +
@@ -5,17 +5,23 @@
 // This file released under the GPL 3.0 license.
 // 
 // Note: The message defined here is a channel wrapper, a container for 
-//  all messages from the simulation engine to the data broker.
+//  all messages between the simulation engine and the data broker.
 
 package nrtb_msg;
 
 import ack_nak.proto;
 import sim_obj_tq_update.proto;
+import sim_management.proto;
 
 message sim_to_db {
-required uint32 msg_uid = 1;// the msg_uid must be unique for 
-//  for each message on a channel.
-repeated message_ack ack = 2;
-repeated message_nak nak = 3;
-repeated tq_data quanta_results = 4;
+  required uint32 msg_uid = 1;// the msg_uid must be unique for 
+  //  for each message on a channel.
+  // all the below messages are defined in 
+  // the files included above.
+  optional message_ack ack = 2;
+  optional message_nak nak = 3;
+  optional tq_data quanta_results = 4;
+  optional sim_setup_data sim_setup = 5;
+  optional sim_termination_data sim_end = 6;
+  optional db_request_sim_stop db_abort = 7;
 }

=== added directory 'sim_engine/bin'
=== added directory 'sim_engine/include'
=== added directory 'sim_engine/lib'
=== added file 'sim_engine/physics/Makefile'
--- sim_engine/physics/Makefile	1970-01-01 00:00:00 +
+++ sim_engine/physics/Makefile	2011-09-19 02:44:24 +
@@ -0,0 +1,45 @@
+#***
+#This file is part of the NRTB project (https://launchpad.net/nrtb).
+#
+#NRTB is free software: you can redistribute it and/or modify
+#it under the terms of the GNU General Public License as published by
+#the Free Software Foundation, either version 3 of the License, or
+#(at your option) any later version.
+#
+#NRTB is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#GNU General Public License for more details.
+#
+#You should have received a copy of the GNU General Public License
+#along with NRTB.  If not, see http://www.gnu.org/licenses/.
+#
+#***
+
+lib: ../lib/nrtb_physics.a
+
+../lib/nrtb_physics.a: ../../commmon/lib.nrtb_common.a
+	@echo = building physics ===
+	@make action=lib doit
+	@ar -r ../lib/nrtb_physics.a ./obj/*.o
+	@cp -v ./include/* ../include
+	@echo = physics complete ===
+
+../../commmon/lib.nrtb_common.a:
+	@cd ../../common; make
+
+modules:
+	@echo = building physics modules ===
+	@make doit
+	@echo = completed physics modules ==
+
+clean:
+	@echo = cleaning physics ===
+	@cd include; for file in *; do rm -fv ../include/$$file; done
+	@make action=clean doit
+	@rm -fv ./obj/* ./lib/* ./include/*
+	@echo == physics cleanup complete ===
+
+doit:
+#	@cd abstract_effector; make ${action}
+#	@cd point_mass; make ${action}

=== added directory 'sim_engine/physics/abstract_effector'
=== removed directory 'sim_engine/physics/attitude'
=== added directory 'sim_engine/physics/include'
=== removed directory 'sim_engine/physics/location'
=== added directory 'sim_engine/physics/obj'
=== removed directory 'sim_engine/physics/phyics_triad'
=== added directory 'sim_engine/physics/point_mass'
=== removed directory 'sim_engine/physics/rotation'
=== removed directory 'sim_engine/physics/velocity'
___
Mailing list: https://launchpad.net/~nrtb-core
Post

[Nrtb-core] [Merge] lp:~fpstovall/nrtb/GPB_definitions into lp:nrtb

2011-09-19 Thread Rick Stovall
Rick Stovall has proposed merging lp:~fpstovall/nrtb/GPB_definitions into 
lp:nrtb with lp:~fpstovall/nrtb/listener-fix as a prerequisite.

Requested reviews:
  NRTB Core (nrtb-core)
Related bugs:
  Bug #723263 in New Real Time Battle: Todo: Define GPB interface between 
Visualization and DataBroker
  https://bugs.launchpad.net/nrtb/+bug/723263

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/GPB_definitions/+merge/76040

This merge will complete the primary setup for interprocess messaging for the 
alpha phase. Included are new management messages for the sim to db channel, 
and a complete working set of messages for the visualization to db channel.

There is some minor refactoring of the sim_engine directory as well.  This 
branch is dependent on the listener-fix branch, already proposed for review.  
Unless there are blocking issues, this branch is scheduled to be merged on 
Friday, Sept. 23rd after the Friday NRTB meeting.
-- 
https://code.launchpad.net/~fpstovall/nrtb/GPB_definitions/+merge/76040
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/GPB_definitions into lp:nrtb.
=== added file 'GPB_proto/sim_management.proto'
--- GPB_proto/sim_management.proto	1970-01-01 00:00:00 +
+++ GPB_proto/sim_management.proto	2011-09-19 14:34:23 +
@@ -0,0 +1,39 @@
+// Messages for managing the conversation between the 
+// simulation engine and the databroker.
+//
+// This file released under the GPL 3.0 license.
+// 
+// Note: these are never sent bare.. they are always payloads 
+// 	in a channel wrapper message.
+
+package nrtb_msg;
+
+// This message is sent by the sim engine to notify the 
+// databroker that a new simulation is starting and to 
+// provide identity and simulation setup data.
+message sim_setup_data {
+  required string name = 1;			// simulation name
+  required string model = 2;		// filename of the model
+  required uint32 quanta_ms = 3;	// timestep in milliseconds
+  optional uint32 max_quantas = 4;	// time limit in quantas.
+  optional string started_by = 5;	// who requested this run
+}
+
+// This message is sent by the sim engine to notify the 
+// databroker that a simulation has ended and provide
+// termination and final run information.
+message sim_termination_data {
+  required uint32 last_quanta = 1;	// the index of the last quanta ran.
+  optional string reason = 2;		// human readable cause.
+  optional uint32 error_code = 3;		// If zero, normal termination
+  optional float avg_cook_ms = 4;	// average machine time per quanta.
+  optional float avg_quanta_ms = 5;	// average overall time per quanta.
+}
+
+// This message is sent by the databroker to notify 
+// sim engine that there is some problem and it can not 
+// continue.
+message db_request_sim_stop {
+  required bool data_lost = 1;		// true if data has been lost
+  optional string reason = 2;		// human readable cause
+}

=== modified file 'GPB_proto/sim_to_db_wrapper.proto'
--- GPB_proto/sim_to_db_wrapper.proto	2011-07-24 17:15:15 +
+++ GPB_proto/sim_to_db_wrapper.proto	2011-09-19 14:34:23 +
@@ -5,17 +5,23 @@
 // This file released under the GPL 3.0 license.
 // 
 // Note: The message defined here is a channel wrapper, a container for 
-//  all messages from the simulation engine to the data broker.
+//  all messages between the simulation engine and the data broker.
 
 package nrtb_msg;
 
 import ack_nak.proto;
 import sim_obj_tq_update.proto;
+import sim_management.proto;
 
 message sim_to_db {
-required uint32 msg_uid = 1;// the msg_uid must be unique for 
-//  for each message on a channel.
-repeated message_ack ack = 2;
-repeated message_nak nak = 3;
-repeated tq_data quanta_results = 4;
+  required uint32 msg_uid = 1;// the msg_uid must be unique for 
+  //  for each message on a channel.
+  // all the below messages are defined in 
+  // the files included above.
+  optional message_ack ack = 2;
+  optional message_nak nak = 3;
+  optional tq_data quanta_results = 4;
+  optional sim_setup_data sim_setup = 5;
+  optional sim_termination_data sim_end = 6;
+  optional db_request_sim_stop db_abort = 7;
 }

=== added file 'GPB_proto/vis_get_listing.proto'
--- GPB_proto/vis_get_listing.proto	1970-01-01 00:00:00 +
+++ GPB_proto/vis_get_listing.proto	2011-09-19 14:34:23 +
@@ -0,0 +1,29 @@
+// Messages used to get a listing of available simulations from 
+// the data broker.
+//
+// This file released under the GPL 3.0 license.
+// 
+// Note: these are never sent bare.. they are always payloads 
+// 	in a channel wrapper message.
+
+package nrtb_msg;
+
+message vis_get_sim_listing {
+  optional string name = 1;			// may include sql wild-cards
+  optional string start_date = 2;	// ISO SQL style date
+  optional string end_date = 3; 	// ISO SQL style date
+  optional uint32 max_count = 4;	// max number to return
+}
+
+message db_sim_record {
+  required uint32

[Nrtb-core] [Bug 837090] Re: nrtb::tcp_server_socket_factory randomly crashes on shutdown.

2011-09-19 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/837090

Title:
  nrtb::tcp_server_socket_factory randomly crashes on shutdown.

Status in The New Real Time Battle Project:
  Fix Released

Bug description:
  nrtb::tcp_server_socket_factory has some type of resource conflict
  which arises about 20% of the time when destructing or shutting down
  the listener. No other negative issues have been observed. That said,
  this does not affect run time stability as a general rule.. most
  applications using the class start it and then leave it running for
  the entire duration of the program run. Therefore this bug is not as
  critical as it might appear at first glance.

  This is very old code and I'm sure a cleanup could do wonders towards
  removing this issue. I'm recommending the fix be deferred until beta
  phase, as it will have little or no effect on our ability to work
  during alpha.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/837090/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 723263] Re: Todo: Define GPB interface between Visualization and DataBroker

2011-09-19 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/723263

Title:
  Todo: Define GPB interface between Visualization and DataBroker

Status in The New Real Time Battle Project:
  Fix Released

Bug description:
  The communication between the VisualizationEngine and the DataBroker is not 
defined.  The following tasks need to be completed...
  oCreate the proto files to be used between the two applications
  oDefine how they will be used and expectations for various scenarios

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/723263/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 834301] Re: Legacy file common/transceiver/transceiver.cpp needs to be removed

2011-09-19 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/834301

Title:
  Legacy file common/transceiver/transceiver.cpp needs to be removed

Status in The New Real Time Battle Project:
  Fix Released

Bug description:
  The file transceiver.cpp is obsolete and not used in any way. it
  should be removed from the code tree to avoid confusion at a later
  time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/834301/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 856958] [NEW] nrtb::transceiver make does not place obj file

2011-09-22 Thread Rick Stovall
Public bug reported:

The nrtb::transceiver Makefile does not place the tranceiver.o file in
the obj directory, so it gets left out of the nrtb_common.a library.

** Affects: nrtb
 Importance: Critical
 Assignee: Rick Stovall (fpstovall)
 Status: In Progress


** Tags: break

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/856958

Title:
  nrtb::transceiver make does not place obj file

Status in The New Real Time Battle Project:
  In Progress

Bug description:
  The nrtb::transceiver Makefile does not place the tranceiver.o file in
  the obj directory, so it gets left out of the nrtb_common.a library.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/856958/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint simengine-alpha] Simulation Engine Blueprint

2011-09-24 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- The new document has been attached to this blueprint. It is a work in
- progress, but I look forward to your input.
+ Alpha phase simulation implementation has started!

-- 
Simulation Engine Blueprint
https://blueprints.launchpad.net/nrtb/+spec/simengine-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint simengine-alpha] Simulation Engine Blueprint

2011-09-24 Thread Rick Stovall
You are now subscribed to the blueprint simengine-alpha - Simulation
Engine Blueprint.

-- 
https://blueprints.launchpad.net/nrtb/+spec/simengine-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-09-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Approver: (none) = NRTB Core

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-09-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Drafter: fp = (none)

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-09-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Drafter: (none) = Rick Stovall

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-09-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: New = Drafting

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-09-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard set to:
The new circular_queue template class will in the nrtb_common lib and will 
provide the following interface:
constructor and destructor 
   push // put in the queue
   pull   // get from the queue
   park  // blocks the calling thread until there is data to be processed, 
returns a queue item.
   clear  // clears the queue
   resize // sets the queue size
   size // returns the number of elements in the queue.

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-09-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Undefined = Medium

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/circular_queue into lp:nrtb

2011-10-06 Thread Rick Stovall
Rick Stovall has proposed merging lp:~fpstovall/nrtb/circular_queue into 
lp:nrtb.

Requested reviews:
  NRTB Core (nrtb-core): code

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/circular_queue/+merge/78527

Added the following to the nrtb c++ common library:

Circlar_queue; a fixed size, high speed buffer/queue designed for 
communications between threads.

linear_queue: an auto-expanding but somewhat slower buffer/queue designed for 
communications between threads.
-- 
https://code.launchpad.net/~fpstovall/nrtb/circular_queue/+merge/78527
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/circular_queue into lp:nrtb.
=== modified file 'common/Makefile'
--- common/Makefile	2011-08-15 03:47:28 +
+++ common/Makefile	2011-10-07 00:13:24 +
@@ -40,6 +40,8 @@
 	@cd point; make ${action}
 	@cd timer; make ${action}
 	@cd threads; make ${action}
+	@cd circular_queue; make ${action}
+	@cd linear_queue; make ${action}
 	@cd sockets; make ${action}
 	@cd serializer; make ${action}
 	@cd singleton; make ${action}

=== added directory 'common/circular_queue'
=== added file 'common/circular_queue/Makefile'
--- common/circular_queue/Makefile	1970-01-01 00:00:00 +
+++ common/circular_queue/Makefile	2011-10-07 00:13:24 +
@@ -0,0 +1,31 @@
+#***
+#This file is part of the NRTB project (https://launchpad.net/nrtb).
+#
+#NRTB is free software: you can redistribute it and/or modify
+#it under the terms of the GNU General Public License as published by
+#the Free Software Foundation, either version 3 of the License, or
+#(at your option) any later version.
+#
+#NRTB is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#GNU General Public License for more details.
+#
+#You should have received a copy of the GNU General Public License
+#along with NRTB.  If not, see http://www.gnu.org/licenses/.
+#
+#***
+
+lib:	circular_queue_test
+	@./circular_queue_test
+	@cp -v circular_queue.h ../include
+	@echo build complete
+
+circular_queue_test:	circular_queue.h circular_queue_test.cpp
+	@rm -f circular_queue_test
+	g++ -c circular_queue_test.cpp -I../include
+	g++ -o circular_queue_test circular_queue_test.o ../obj/common.o ../obj/base_thread.o -lpthread 
+
+clean:
+	@rm -rvf *.o circular_queue_test ../include/circular_queue.h *.log ../obj/circular_queue.o
+	@echo all objects and executables have been erased.

=== added file 'common/circular_queue/circular_queue.h'
--- common/circular_queue/circular_queue.h	1970-01-01 00:00:00 +
+++ common/circular_queue/circular_queue.h	2011-10-07 00:13:24 +
@@ -0,0 +1,174 @@
+/***
+ This file is part of the NRTB project (https://*launchpad.net/nrtb).
+
+ NRTB is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ NRTB is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with NRTB.  If not, see http://www.gnu.org/licenses/.
+
+ **/
+
+#ifndef nrtb_circular_queue_h
+#define nrtb_circular_queue_h
+
+#include iostream
+#include base_thread.h
+#include boost/circular_buffer.hpp
+
+namespace nrtb
+{
+
+/
+ * The circular_queue template is designed for use with
+ * the classic producer/consumer thread management model.
+ * The producer uses circular_queue::push() to put items
+ * in the queue as they become available, and the consumer
+ * thread calls circular_queue::park() when it is ready
+ * for the next item to work.
+ *
+ * Common uses would be for buffering outgoing or incomming
+ * messages from a communications channel, providing a feed
+ * queue for parallel threads to make full use of multi-core
+ * processors, or any case where one or more threads are
+ * passing data to another set of threads.
+/
+template class T
+class circular_queue
+{
+public:
+class queue_not_ready: public base_exception {};
+
+/*
+  * creates the queue with the specified
+  * number of elements. All memory is allocated
+  * at construction to minimize delays at runtime.
+*/
+circular_queue(int size

[Nrtb-core] [Blueprint nrtb-circular-queue] Thread-safe circular buffer/queue

2011-10-06 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
  The new circular_queue template class will in the nrtb_common lib and will 
provide the following interface:
- constructor and destructor 
-push // put in the queue
-pull   // get from the queue
-park  // blocks the calling thread until there is data to be processed, 
returns a queue item.
-clear  // clears the queue
-resize // sets the queue size
-size // returns the number of elements in the queue.
+ constructor and destructor
+    push // put in the queue
+    pull   // get from the queue
+    park  // blocks the calling thread until there is data to be processed, 
returns a queue item.
+    clear  // clears the queue
+    resize // sets the queue size
+    size // returns the number of elements in the queue.
+ 
+ Also include a linear_queue template which has the same interface as
+ above without the resize method. The linear queue is a bit slower, but
+ will expand as needed to handle the load.
+ 
+ Circular queue is best suited for tight, high speed links between
+ threads where you can reasonably predict the high-water marks, while
+ linear queue is better suited where speed is less important and the
+ queue may need to grow.

-- 
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


Re: [Nrtb-core] [Merge] lp:~fpstovall/nrtb/circular_queue into lp:nrtb

2011-10-06 Thread Rick Stovall
Review: Approve merge test

Test merge to the alpha branch has been completed. A test build of common was 
completed and all unit tests were reviewed and verified to have completed 
correctly. There were no issues found.
-- 
https://code.launchpad.net/~fpstovall/nrtb/circular_queue/+merge/78527
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/circular_queue into lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint plug-in-arch] Plug-in Architecture Guidelines

2011-11-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- I've moved the documentation to a shared google doc going forward.
+ Updated the docs to clean up formatting and to get it ready to continue.

-- 
Plug-in Architecture Guidelines
https://blueprints.launchpad.net/nrtb/+spec/plug-in-arch

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/IPC_common_lib into lp:nrtb

2012-01-02 Thread Rick Stovall
The proposal to merge lp:~fpstovall/nrtb/IPC_common_lib into lp:nrtb has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/IPC_common_lib/+merge/87071
-- 
https://code.launchpad.net/~fpstovall/nrtb/IPC_common_lib/+merge/87071
Your team NRTB Core is subscribed to branch lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint umique-ptr-fix] Review common libs for proper smart pointer use

2012-03-13 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard set to:
The following files have references to shared_ptr and need review and
possible changes:

circular_queue/circular_queue_test.cpp
linear_queue/linear_queue_test.cpp
sockets/base_socket.h
sockets/socket_test.cpp
transceiver/transceiver.h
transceiver/transceiver_test.cpp

-- 
Review common libs for proper smart pointer use
https://blueprints.launchpad.net/nrtb/+spec/umique-ptr-fix

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/unique_ptr_fix into lp:nrtb

2012-04-01 Thread Rick Stovall
Rick Stovall has proposed merging lp:~fpstovall/nrtb/unique_ptr_fix into 
lp:nrtb.

Requested reviews:
  NRTB Core (nrtb-core): code

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/unique_ptr_fix/+merge/100340

First of the changes to bring the code up to C+11 spec, particularly focused on 
replacing boost::shared_ptr with std::unique_ptr where appropriate.

This merge includes significant updates to the sockets and transceiver libs, 
improving stability, reporting and enforcing the logical constraint that a 
socket can have only one owner and that code which accepts a connection from 
the tcp_server socket factory must take actual ownership of the new socket. 
Fixes were also added which allowed the removal of arbitrary time delays in the 
associated unit test programs.

This will be the first of several merges assuming the move to C++11 is 
approved. 
-- 
https://code.launchpad.net/~fpstovall/nrtb/unique_ptr_fix/+merge/100340
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/unique_ptr_fix into lp:nrtb.
=== modified file 'common/sockets/Makefile'
--- common/sockets/Makefile	2011-09-17 01:21:36 +
+++ common/sockets/Makefile	2012-04-01 15:57:19 +
@@ -24,13 +24,13 @@
 
 socket_test:	base_socket.o socket_test.cpp
 	@rm -f socket_test
-	g++ -c -O3 socket_test.cpp -I ../include
-	g++ -o socket_test socket_test.o base_socket.o ../obj/hires_timer.o ../obj/common.o ../obj/base_thread.o -lpthread 
+	g++ -c -O3 socket_test.cpp -I ../include -std=gnu++0x 
+	g++ -o socket_test socket_test.o base_socket.o ../obj/hires_timer.o ../obj/common.o ../obj/base_thread.o -lpthread  -std=gnu++0x
 
 
 base_socket.o:	base_socket.cpp base_socket.h Makefile
 	@rm -f base_socket.o
-	g++ -c -O3 base_socket.cpp -I ../include
+	g++ -c -O3 base_socket.cpp -I ../include -std=gnu++0x 
 
 clean:
 	@rm -vf *.o ../include/base_socket.h socket_test

=== modified file 'common/sockets/base_socket.cpp'
--- common/sockets/base_socket.cpp	2011-09-17 01:21:36 +
+++ common/sockets/base_socket.cpp	2012-04-01 15:57:19 +
@@ -605,32 +605,21 @@
   // take action only if the listen thread is running.
   if (listening())
   {
-	// stop the listener thread
-	if (is_running()) stop();
-	// wait here until the thread stops.
-	if (is_running()) join();
-//	try
-//	{ 
-//	  if (listen_sock) close(listen_sock);
-//	}
-//	catch (...) {};
+// stop the listener thread
+stop();
+join();
   };
 };
 
 bool tcp_server_socket_factory::listening()
 {
-	bool running = is_running();
-/*	if (!running)
-	{
-		// check to be sure the thread did not die due to an error.
-		if (_last_thread_fault != 0)
-		{
-		  // if thread_return was non-zero, it is assumed the thread died an
-		  // evil and useless death. Scream in anger!
-		  throw listen_terminated_exception();
-		};
-	};
-*/	return running;
+  bool running = is_running();
+  return running;
+};
+
+int tcp_server_socket_factory::last_fault()
+{
+  return _last_thread_fault;
 };
 
 unsigned short int tcp_server_socket_factory::backlog()
@@ -643,108 +632,104 @@
 {
   std::cerr  in thread cleanup sock closer  std::endl;
   int  socket = *(static_castint*(sock));
-  ::close(socket);
+  try { ::close(socket); } catch  (...) {};
   std::cerr  socker closer done.  std::endl;
 };
 
 void tcp_server_socket_factory::run()
 {
-  /* Put this entire thing in a try block to protect the application. 
-	* Without this, an untrapped exception thrown here or in the 
-	* user supplied on_accept() method would abort the entire 
-	* application instead of just this
-	* thread.
-	*/
+  // set up the listening socket.
   int listen_sock;
-  // make sure the listener is closed when we exit.
-  pthread_cleanup_push(closeme, (void*) listen_sock);
+  _last_thread_fault = 0;
+  bool go = false;
   try
   {
-	bool go = true;
-	// set up our listening socket.
-	listen_sock = socket(AF_INET,SOCK_STREAM,0);
-	sockaddr_in myaddr;
-	try
-	{
-		myaddr = tcp_socket::str_to_sockaddr(_address);
-	}
-	catch (...)
-	{
-		// probably a tcp_socket::bad_address_exception, 
-		// but any reason will do.
-		go = false;
-	};
-	if (bind(listen_sock,(sockaddr *) myaddr,sizeof(myaddr)))
-	{
-		// bind did not work.
-		go = false;
-	};	
-	if (listen(listen_sock,_backlog))
-	{
-		// listen failed in some way.. I don't care which.
-		go = false;
-	};
-	// processing loop
-	while (go)
-	{
-	  // accept a new connection
-	  bool good_connect = true;
-	  int new_conn = accept(listen_sock,NULL,NULL);
-	  // validate the accept return value.
-	  if (new_conn == -1)
-	  {
-		// accept returned an error.
-		switch (errno) 
-		{
-//			case ENETDOWN :
-			case EPROTO :
-//			case ENOPROTOOPT :
-			case EHOSTDOWN :
-//			case ENONET :
-			case EHOSTUNREACH :
-//			case EOPNOTSUPP :
-//			case ENETUNREACH :
-			case EAGAIN :
-//			case EPERM :
-			case ECONNABORTED :
-{
-  good_connect = false;
-  break;
-};
-			default : 
-{	
-  // for any other error, we're going to shutdown

Re: [Nrtb-core] [Merge] lp:~fpstovall/nrtb/unique_ptr_fix into lp:nrtb

2012-04-02 Thread Rick Stovall
Review: Approve

Merge test complete. As there has been no comments or response from the team, 
I'll be moving the code to the alpha stream. We need to be using the 
-std=gnu++0x switch on all compiles and links from this point on.
-- 
https://code.launchpad.net/~fpstovall/nrtb/unique_ptr_fix/+merge/100340
Your team NRTB Core is subscribed to branch lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/unique_ptr_fix into lp:nrtb

2012-04-02 Thread Rick Stovall
The proposal to merge lp:~fpstovall/nrtb/unique_ptr_fix into lp:nrtb has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/unique_ptr_fix/+merge/100340
-- 
https://code.launchpad.net/~fpstovall/nrtb/unique_ptr_fix/+merge/100340
Your team NRTB Core is subscribed to branch lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint visualization-alpha] Visualization Alpha Requirements

2012-05-07 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Assignee: Aron Boyette = Rick Stovall

-- 
Visualization Alpha Requirements
https://blueprints.launchpad.net/nrtb/+spec/visualization-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 827258] Re: TODO: Define alpha phase requirements for visualization.

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: New = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/827258

Title:
  TODO: Define alpha phase requirements for visualization.

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  Please work with George Jordan to create a simple list of functional
  goals for the visualization component. A simple bullet point list will
  do. Once you are happy with the list, please present it to the team
  for review.

  When this task is complete we'll have a google document in the shared
  google docs NRTB/Visualization folder providing a simple outline of
  what we are creating for visualization during  the alpha phase.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/827258/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 725107] Re: Todo: (style) exception usage seems overly complex.

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/725107

Title:
  Todo: (style) exception usage seems overly complex.

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  In dbAccess.cpp, line 81 of revision 36 we find the following:

default:
throw bad_type(dbAccess::sqlExecute - 
Invalid query type used,);
break;
}

  Assuming the dbAccess::bad_type is only thrown in this context (a bad
  query type passed to dbAccess::sqlExecute()) it would be better if the
  exception name is changed to dbAccess::unknown_query_type. This would
  allow you construct and throw without loading a string (faster) and
  makes picking the exception off by type name in catch statements more
  clear.  The new code would be something like this:

  default:
 {
 throw unknown_query_type();
 };

  };

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/725107/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 724666] Re: Todo: Update README file to include new directories

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: In Progress = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/724666

Title:
  Todo:  Update README file to include new directories

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  Update the README file directory listing to include newly created
  directories

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/724666/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 725095] Re: Todo: Clean up overly complex exception definition in dbAccess.h

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/725095

Title:
  Todo: Clean up overly complex exception definition in dbAccess.h

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  As a general rule, exceptions inherited from nrtb::base_exception do
  not need to have anything overidden when they are declared/defined.
  For example, the following would be fine in a class header:

  public:
  // Thrown by my_method() in cases of unexpected error.
 class my_method_exception: public nrtb::base_exception {};

  This is cleaner and easier to read than the exception class
  declarations currently present in dbAccess.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/725095/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 722705] Re: Todo: Several dbAccess:: methods improperly return a error flag

2012-07-09 Thread Rick Stovall
Abandoned.. overrun by the port to D

** Changed in: nrtb
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/722705

Title:
  Todo: Several dbAccess:: methods improperly return a error flag

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  Method int dbAccess::runSql (string scrpt) returns an int indicating
  success or failure and carrying no other significance. Best practices
  indicate that the method should succeed cleanly or throw an exception,
  therefore the return of a status flag is redundant; a failure would
  never return the error code in any case.

  Given the above, the method should be altered to not return any type
  of status code and to throw an exception (may I suggest
  dbAccess::runSql_failure as a name) should the query fail. A nice
  enhancement would be to store the error code and text in the exception
  so the actual event and problem can be resolved by the caller if
  needed.

  One other question while we are here, was the mis-spelling of script
  in the argument list intentional?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/722705/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 722598] Re: Todo: Copyright banners need to be added to dbAccess_test.cpp

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/722598

Title:
  Todo: Copyright banners need to be added to dbAccess_test.cpp

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  The Makefile version of the banner will work in the configuration
  file...

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/722598/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 720884] Re: Todo: Code data-broker::dbAccess for config file reader use

2012-07-09 Thread Rick Stovall
** Changed in: nrtb/alpha
   Status: Fix Committed = Won't Fix

** Changed in: nrtb
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/720884

Title:
  Todo:  Code data-broker::dbAccess for config file reader use

Status in The New Real Time Battle Project:
  Won't Fix
Status in New Real Time Battle alpha series:
  Won't Fix

Bug description:
  Incorporate use of confreader library/object into Data Broker
  dbAccess class.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/720884/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 846069] Re: old c-style functions in common.cpp

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: Triaged = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/846069

Title:
  old c-style functions in common.cpp

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  ~/common/common_rl/common.cpp contains various c-style functions.  Among them 
are...
  changecase
  upcase
  downcase
  gsub
  split
  trim
  The components that call these functions should be modified to call the 
corresponding methods in the latest string class (which I think is part of STL, 
but I'm not sure).  Afterwards, these functions should perhaps be removed from 
common.cpp altogether.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/846069/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Bug 844100] Re: nrtb::transceiver::msg_num_t should not be public

2012-07-09 Thread Rick Stovall
** Changed in: nrtb
   Status: Triaged = Won't Fix

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/844100

Title:
  nrtb::transceiver::msg_num_t should not be public

Status in The New Real Time Battle Project:
  Won't Fix

Bug description:
  The union msg_num_t, defined in nrtb::transciever
  (common/transceiver/transceiver.h) is public, but it is only used
  internally by nrtb::transceiver and in no way defines a useful product
  for any other class.  As a matter if good code structure, it should be
  declared protected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/844100/+subscriptions

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Merge] lp:~fpstovall/nrtb/D_prototype into lp:nrtb

2012-10-17 Thread Rick Stovall
Rick Stovall has proposed merging lp:~fpstovall/nrtb/D_prototype into lp:nrtb.

Requested reviews:
  NRTB Core (nrtb-core): refactoring

For more details, see:
https://code.launchpad.net/~fpstovall/nrtb/D_prototype/+merge/130093

This merge begins our formal project move to use D instead of C++.

1. Refactored directories to obsolete the C++ code and move the D stuff to the 
top.
2. Added the start of the D NRTB libs, and some test code.

This needs to be pushed to the alpha branch as soon as possible to facilitate 
the rest of team's work.
-- 
https://code.launchpad.net/~fpstovall/nrtb/D_prototype/+merge/130093
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/D_prototype into lp:nrtb.
=== added directory 'D_lang'
=== added file 'D_lang/Makefile'
--- D_lang/Makefile	1970-01-01 00:00:00 +
+++ D_lang/Makefile	2012-10-17 11:54:28 +
@@ -0,0 +1,27 @@
+#***
+#This file is part of the NRTB project (https://launchpad.net/nrtb).
+#
+#NRTB is free software: you can redistribute it and/or modify
+#it under the terms of the GNU General Public License as published by
+#the Free Software Foundation, either version 3 of the License, or
+#(at your option) any later version.
+#
+#NRTB is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#GNU General Public License for more details.
+#
+#You should have received a copy of the GNU General Public License
+#along with NRTB.  If not, see http://www.gnu.org/licenses/.
+#
+#***
+
+build_all: Makefile
+	@make action=lib doit
+
+clean:
+	@make action=clean doit
+	@rm -fv lib/* bin/*
+
+doit:
+	@cd common; make ${action}

=== added directory 'D_lang/bin'
=== added directory 'D_lang/common'
=== added file 'D_lang/common/Makefile'
--- D_lang/common/Makefile	1970-01-01 00:00:00 +
+++ D_lang/common/Makefile	2012-10-17 11:54:28 +
@@ -0,0 +1,35 @@
+#***
+# This file is part of the NRTB project (https://launchpad.net/nrtb).
+#
+#NRTB is free software: you can redistribute it and/or modify
+#it under the terms of the GNU General Public License as published by
+#the Free Software Foundation, either version 3 of the License, or
+#(at your option) any later version.
+#
+#NRTB is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#GNU General Public License for more details.
+#
+#You should have received a copy of the GNU General Public License
+#along with NRTB.  If not, see http://www.gnu.org/licenses/.
+#
+#***
+
+lib: ../lib/common.a
+
+../lib/common.a: test
+	@echo building ${modules}
+	@cd nrtb/common; dmd -lib -release -of../../../lib/common.a *.d -I../../
+	@echo  * common build complete ***
+
+test:	Makefile common.d ${modules}
+	@echo testing ${modules}
+	@cd nrtb/common; dmd -unittest -lib -of../../common.a *.d -I../../
+	@dmd -unittest common.a -run common.d
+
+clean:
+	@rm -vf ../lib/common.a common *.o *.a
+	@echo all objects and executables have been erased.
+
+modules=`find nrtb/common -type f -name \*.d`
\ No newline at end of file

=== added file 'D_lang/common/common.d'
--- D_lang/common/common.d	1970-01-01 00:00:00 +
+++ D_lang/common/common.d	2012-10-17 11:54:28 +
@@ -0,0 +1,25 @@
+/***
+ This file is part of the NRTB project (https://*launchpad.net/nrtb).
+
+ NRTB is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ NRTB is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with NRTB.  If not, see http://www.gnu.org/licenses/.
+
+**/
+
+import std.stdio;
+import nrtb.common.vect3d;
+
+void main()
+{
+  writeln(  NRTB Common Libs Unit Test Complete );
+}
\ No newline at end of file

=== added directory 'D_lang/common/docs'
=== added file 'D_lang/common/docs/common.html'
--- D_lang/common/docs/common.html	1970-01-01 00:00:00 +
+++ D_lang/common/docs/common.html	2012-10-17 11:54:28 +
@@ -0,0 +1,10 @@
+htmlhead
+META http-equiv=content-type content=text/html; charset=utf-8
+titlecommon/title
+/headbody
+h1common/h1

Re: [Nrtb-core] [Merge] lp:~fpstovall/nrtb/D_prototype into lp:nrtb

2012-10-22 Thread Rick Stovall
Review: Approve merge

8:05 AM 
me: I've proposed a (long overdue) merge to alpha. It's the directory 
restructure and D language code starts that was the D_Prototype branch.
  
Are you good with that?
8:06 AM 
George: yes
12 minutes
8:18 AM 
me: Okay.. if you are not where you can approve today, I'll copy this IM 
exchange and move it on.
-- 
https://code.launchpad.net/~fpstovall/nrtb/D_prototype/+merge/130093
Your team NRTB Core is requested to review the proposed merge of 
lp:~fpstovall/nrtb/D_prototype into lp:nrtb.

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-10-22 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Undefined = Medium

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-10-22 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard set to:
Ready to start.

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-10-22 Thread Rick Stovall
You are now subscribed to the blueprint d-tech-demos - D language
technology demos.

-- 
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-10-22 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Work items set to:
Work items:
Using “raw” socket/string for the SimEngine - BCP link : TODO
Simple Thread Create/Start/Stop : DONE
Thread pool management : TODO
Using D messages for direct thread to thread messaging : DONE
Using D messages to feed a worker thread pool : TODO

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint arch-overview] System Overview

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Essential = Low

-- 
System Overview
https://blueprints.launchpad.net/nrtb/+spec/arch-overview

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint vismenudev] Visualization Menu Development

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Medium = Low

-- 
Visualization Menu Development
https://blueprints.launchpad.net/nrtb/+spec/vismenudev

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint vismenudev] Visualization Menu Development

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: New = Discussion

-- 
Visualization Menu Development
https://blueprints.launchpad.net/nrtb/+spec/vismenudev

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint visualization-alpha] Visualization Alpha Requirements

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Essential = Low

-- 
Visualization Alpha Requirements
https://blueprints.launchpad.net/nrtb/+spec/visualization-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint plug-in-arch] Plug-in Architecture Guidelines

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Essential = Undefined

-- 
Plug-in Architecture Guidelines
https://blueprints.launchpad.net/nrtb/+spec/plug-in-arch

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint plug-in-arch] Plug-in Architecture Guidelines

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Assignee: Rick Stovall = (none)

-- 
Plug-in Architecture Guidelines
https://blueprints.launchpad.net/nrtb/+spec/plug-in-arch

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint plug-in-arch] Plug-in Architecture Guidelines

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: Review = Discussion

-- 
Plug-in Architecture Guidelines
https://blueprints.launchpad.net/nrtb/+spec/plug-in-arch

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint plug-in-arch] Plug-in Architecture Guidelines

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Low = Not

-- 
Plug-in Architecture Guidelines
https://blueprints.launchpad.net/nrtb/+spec/plug-in-arch

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint databroker-alpha] Data Broker Alpha Requirements

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Essential = Low

-- 
Data Broker Alpha Requirements
https://blueprints.launchpad.net/nrtb/+spec/databroker-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint data-inventory] Persistent Data Inventory

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Essential = Low

-- 
Persistent Data Inventory
https://blueprints.launchpad.net/nrtb/+spec/data-inventory

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint icp-spec] Interprocess Communications

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Essential = Low

-- 
Interprocess Communications
https://blueprints.launchpad.net/nrtb/+spec/icp-spec

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint icp-spec] Interprocess Communications

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: Approved = Review

-- 
Interprocess Communications
https://blueprints.launchpad.net/nrtb/+spec/icp-spec

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint icp-spec] Interprocess Communications

2012-10-23 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- Coding the the transceiver is making good progress.
+ Deferred for alpha, needs review and design for D.

-- 
Interprocess Communications
https://blueprints.launchpad.net/nrtb/+spec/icp-spec

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint vismenudev] Visualization Menu Development

2012-10-25 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Low = Not

-- 
Visualization Menu Development
https://blueprints.launchpad.net/nrtb/+spec/vismenudev

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint databroker-alpha] Data Broker Alpha Requirements

2012-10-25 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Low = Not

-- 
Data Broker Alpha Requirements
https://blueprints.launchpad.net/nrtb/+spec/databroker-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint data-inventory] Persistent Data Inventory

2012-10-25 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Low = Not

-- 
Persistent Data Inventory
https://blueprints.launchpad.net/nrtb/+spec/data-inventory

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint icp-spec] Interprocess Communications

2012-10-25 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Low = Not

-- 
Interprocess Communications
https://blueprints.launchpad.net/nrtb/+spec/icp-spec

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint visualization-alpha] Visualization Alpha Requirements

2012-10-25 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Priority: Low = Medium

-- 
Visualization Alpha Requirements
https://blueprints.launchpad.net/nrtb/+spec/visualization-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint visualization-alpha] Visualization Alpha Requirements

2012-10-25 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: New = Discussion

-- 
Visualization Alpha Requirements
https://blueprints.launchpad.net/nrtb/+spec/visualization-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint simengine-alpha] Simulation Engine Blueprint

2012-10-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: Discussion = Approved

-- 
Simulation Engine Blueprint
https://blueprints.launchpad.net/nrtb/+spec/simengine-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint simengine-alpha] Simulation Engine Blueprint

2012-10-29 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- This is pending review and adjustments after the decision to move to D.
+ As this is an alpha phase project, treat the complete status with a
+ bit of salt.

-- 
Simulation Engine Blueprint
https://blueprints.launchpad.net/nrtb/+spec/simengine-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-11-11 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- Ready to start.
+ D socket library documentation: http://dlang.org/phobos/std_socket.html
+ A well regarded scoket communications library for D: 
http://www.dprogramming.com/splat.php

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-11-11 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
  D socket library documentation: http://dlang.org/phobos/std_socket.html
  A well regarded scoket communications library for D: 
http://www.dprogramming.com/splat.php
+ 
+ Examples of D socket usage seem a bit thin on the ground so far. I'm
+ still looking, but it looks like I maybe should replicate the C++
+ ricklib3::tcp_socket class, as D's std socket lib is a thin wrapper on
+ the posix C api.

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2012-11-11 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
  D socket library documentation: http://dlang.org/phobos/std_socket.html
- A well regarded scoket communications library for D: 
http://www.dprogramming.com/splat.php
  
- Examples of D socket usage seem a bit thin on the ground so far. I'm
- still looking, but it looks like I maybe should replicate the C++
- ricklib3::tcp_socket class, as D's std socket lib is a thin wrapper on
- the posix C api.
+ Simple examples of D socket usage are provided with the dmd compiler
+ package, but I'm having trouble finding others. I'm still looking. Need
+ to decide if I should replicate the C++ ricklib3::tcp_socket class or
+ create a new, more native asynchronous  approach.

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint sim-bot-msgs] Simengine - Bot Messaging

2012-11-12 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Drafter: Rick Stovall = George Jordan

-- 
Simengine - Bot Messaging
https://blueprints.launchpad.net/nrtb/+spec/sim-bot-msgs

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint sim-bot-msgs] Simengine - Bot Messaging

2012-11-12 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Definition Status: Drafting = Discussion

-- 
Simengine - Bot Messaging
https://blueprints.launchpad.net/nrtb/+spec/sim-bot-msgs

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint sim-bot-msgs] Simengine - Bot Messaging

2012-11-12 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Work items set to:
Work items:
Determine functionality for Alpha p1 : TODO

-- 
Simengine - Bot Messaging
https://blueprints.launchpad.net/nrtb/+spec/sim-bot-msgs

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint visualization-alpha] Visualization Alpha Requirements

2012-11-12 Thread Rick Stovall
You are now subscribed to the blueprint visualization-alpha -
Visualization Alpha Requirements.

-- 
https://blueprints.launchpad.net/nrtb/+spec/visualization-alpha

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint sim-bot-msgs] Simengine - Bot Messaging

2012-11-12 Thread Rick Stovall
You are now subscribed to the blueprint sim-bot-msgs - Simengine - Bot
Messaging.

-- 
https://blueprints.launchpad.net/nrtb/+spec/sim-bot-msgs

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint sim-bot-msgs] Simengine - Bot Messaging

2012-11-12 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Assignee: Rick Stovall = (none)

-- 
Simengine - Bot Messaging
https://blueprints.launchpad.net/nrtb/+spec/sim-bot-msgs

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2013-01-01 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Whiteboard changed:
- D socket library documentation: http://dlang.org/phobos/std_socket.html
+ Socket demo is complete and tested against a web server. The test
+ program requests the top page from the web server.. Transcript of the
+ test is below:
  
- Simple examples of D socket usage are provided with the dmd compiler
- package, but I'm having trouble finding others. I'm still looking. Need
- to decide if I should replicate the C++ ricklib3::tcp_socket class or
- create a new, more native asynchronous  approach.
+ [rstovall@gabbie str_socket]$ ./socket_test 192.168.2.109
+ D Socket Send/Receive Test.
+   Connecting to host 192.168.2.109:80
+ HTTP/1.1 200 OK
+ Date: Tue, 01 Jan 2013 17:14:59 GMT
+ Server: Apache/2.2.22 (Debian)
+ Last-Modified: Sun, 30 Dec 2012 02:08:26 GMT
+ ETag: 20da1-e4-4d2085f393a80
+ Accept-Ranges: bytes
+ Content-Length: 228
+ Vary: Accept-Encoding
+ Connection: close
+ Content-Type: text/html
+ 
+ htmlbodyh1It works!/h1
+ pThis is the default web page for this server./p
+ pThe Apache web server software is running./p
+ 
+ pSee the PHP test page for this server at a href=index.phpthis
+ link/a.
+ 
+ /body/html
+ 
+ ** main() is complete **

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


[Nrtb-core] [Blueprint d-tech-demos] D language technology demos

2013-01-01 Thread Rick Stovall
Blueprint changed by Rick Stovall:

Work items changed:
  Work items:
- Using “raw” socket/string for the SimEngine - BCP link : TODO
+ Thread pool management : TODO
+ Using D messages to feed a worker thread pool : TODO
+ Using “raw” socket/string for the SimEngine - BCP link : DONE
  Simple Thread Create/Start/Stop : DONE
- Thread pool management : TODO
  Using D messages for direct thread to thread messaging : DONE
- Using D messages to feed a worker thread pool : TODO

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

___
Mailing list: https://launchpad.net/~nrtb-core
Post to : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp


  1   2   >