473,397 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Probstat Combination Objects and Persistence

Hi:

I'm working with probstat module which does an excellent job for the
project I'm working on.

I am passing the Combination objects I generate to generator functions
that allow me to scale down the results.

I am trying to find a way however to store the end resultant
Combination object. Try to pickle it, and Python segfaults.

I want to be able to store the Combination object at any point so I
may operate on it later without having to repeat previous work.

Any suggestions?

TVKIA,
Adam

Sep 16 '07 #1
2 1368
On Sep 16, 8:01 am, dohertywa <dohert...@gmail.comwrote:
Hi:

I'm working with probstat module which does an excellent job for the
project I'm working on.

I am passing the Combination objects I generate to generator functions
that allow me to scale down the results.

I am trying to find a way however to store the end resultant
Combination object. Try to pickle it, and Python segfaults.

I want to be able to store the Combination object at any point so I
may operate on it later without having to repeat previous work.

Any suggestions?

TVKIA,
Adam
You might want to take a look at this tutorial:http://www.ibm.com/
developerworks/library/l-pypers.html

Sep 16 '07 #2
On Sep 16, 3:11 pm, Sidd <iams...@gmail.comwrote:
On Sep 16, 8:01 am, dohertywa <dohert...@gmail.comwrote:
Hi:
I'm working with probstat module which does an excellent job for the
project I'm working on.
I am passing the Combination objects I generate to generator functions
that allow me to scale down the results.
I am trying to find a way however to store the end resultant
Combination object. Try to pickle it, and Python segfaults.
I want to be able to store the Combination object at any point so I
may operate on it later without having to repeat previous work.
Any suggestions?
TVKIA,
Adam

You might want to take a look at this tutorial:http://www.ibm.com/
developerworks/library/l-pypers.html
Thanks for the suggestion. Unfortunately I've already read the
article and still find myself a bit of a loss as to a solution.

Sep 17 '07 #3

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

Similar topics

16
by: Paul Rubin | last post by:
I've had this recurring half-baked desire for long enough that I thought I'd post about it, even though I don't have any concrete proposals and the whole idea is fraught with hazards. Basically...
2
by: Perry St-Germain | last post by:
Typically C++ persistence implementations, (from the little I've seen), boils down to something like this: myclass { int ivar; float fvar; ... saveyourself( file ) {
1
by: Bo Xu | last post by:
Object of Combination By Bo Xu Introduction A combination of n things, taken s at a time, often referred as an s-combination out of n, is a way to select a subset of size s from a given set of...
1
by: Matt | last post by:
Hi, I am a big fan of coding using business objects - even though it takes a little extra time over using datasets etc. I think it's worthwhile. However, I really get stuck when attempting to...
2
by: WATYF | last post by:
Hello. I have a multi-threaded app that has a few different Timers all of which deserialize and serialize objects to perform certain operations. At the same time, the user can be working in the app...
3
by: Rudderius | last post by:
Hey folks, I have a toppic I would like to discuss: Many authors write that business objects should have the CRUD behavior implemented (create, read, update, delete). Which means that a class...
25
by: Penelope Dramas | last post by:
Hello, I'm in a front of very serious .net redesign/rewrite of an old VB6 application. I had been asked to make it .NET 2.0 and would like to ask couple of questions regarding data access as...
22
by: Neil Gould | last post by:
Or... when is a script not a script? I have several modules for managing different aspects of our club's website, most of which are multi-page. Does setting such things as server.ScriptTimeout...
0
myusernotyours
by: myusernotyours | last post by:
Hi all, Am trying to create a Java Desktop App that uses Java Persistence in Netbeans. The database is MS Access but I tried with Mysql and got the same error. When I run the app( Create the...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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

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