Displaying 20 results from an estimated 212 matches for "serialise".
Did you mean:
serialised
2016 Jul 28
2
Weighting Schemes: Implementing Piv+ Normalization
> Two of those are compile errors, suggesting you aren't pulling in the
> right header file (it's in common/serialise-double.h I believe).
Thanks, fixed those errors.
> I can't tell for sure without seeing the diff. You may mean just
> `ptr++`? But it could be something else, depending on what you're
> trying to do.
I'm trying to unserialise normalization strings (e.g. "nfn", &quo...
2012 Aug 06
1
Question about serialise
Hi,
Do the serialise method of Document and Query produce a valid utf8 string?
My problem is with the Node.JS binding. I serialise an object, convert the
string to a javascript string, convert the javascript string to a std
string and then try to unserialise. The error I get from Xapian is "Bad
encoded length: no...
2007 Mar 29
1
"Bad serialised query" error
...import xapian
db = xapian.remote_open('localhost', 8100)
qp = xapian.QueryParser()
qp.set_database(db)
query = qp.parse_query('test')
enq = xapian.Enquire(db)
enq.set_query(query)
enq.get_mset(0, 10)
This script fails with:
xapian.InvalidArgumentError: REMOTE:Bad serialised query
I've tracked it down to api/omqueryinternal.cc, in QUnserial::readquery(),
and is the 2nd occurance of that error message in that function (ie, inside
the "case '['" block). It appears that the check for:
if (p == end)
throw Xapian::InvalidArgumentError("...
2016 Jul 29
2
Weighting Schemes: Implementing Piv+ Normalization
...Fri, Jul 29, 2016 at 12:35:57AM +0530, Vivek Pal wrote:
>
> > > I can't tell for sure without seeing the diff. You may mean just
> > > `ptr++`? But it could be something else, depending on what you're
> > > trying to do.
> >
> > I'm trying to unserialise normalization strings (e.g. "nfn", "nbsl"
> etc.)
> > along with the new double parameters (s and delta) but
> > it isn't turning out to be smooth because there's no method for
> > unserialising strings in serialise-double.h
>
> Serialising it...
2012 Oct 30
0
[LLVMdev] Proposed SelectionDAGBuilder patch - load serialisation
I posted to llvmdev a few months ago to ask for advice on the best way to avoid the SelectionDAGBuilder from imposing a constraint whereby a volatile load would be serialised relative to all pending loads. The LLVM LRM says that a volatile load only needs to be serialised relative to other volatile loads and, while it may not matter to most targets, the current behaviour of the SelectionDAGBuilder
makes a big difference to the HCS12 target that I've been working on...
2009 Feb 12
1
problem when using xapian's static libs in windows
...???? "public: __thiscall Xapian::Document::~Document(void)" (??1Document at Xapian@@QAE at XZ)??????? _main ????
libinmemory.lib(inmemory_database.obj) : error LNK2001: ????????? "public: __thiscall Xapian::Document::~Document(void)" (??1Document at Xapian@@QAE at XZ)
libnet.lib(serialise.obj) : error LNK2001: ????????? "public: __thiscall Xapian::Document::~Document(void)" (??1Document at Xapian@@QAE at XZ)
xapianindex.obj : error LNK2019: ????????? "public: unsigned int __thiscall Xapian::WritableDatabase::add_document(class Xapian::Document const &)" (?add...
2006 Jun 26
2
Serialising multiple accesses to external web service
...have an external web service that I need to log into at a specific
part of my web app,. The problem is that I only have one login to
this web service, and if another login attempt is made while an
existing login session is still active, the existing session gets
terminated.
How can I best serialise access across my mongrel cluster to this
external API?
I thought of creating an external drb service that all cluster nodes
connect to, but that could also be re-introducing a single point of
failure that I eliminated by using a cluster.
I could do something with db transactions and a "...
2016 Jul 27
2
Weighting Schemes: Implementing Piv+ Normalization
Hi,
I have added support for Piv normalization in Tf-Idf weighting scheme as a
intermediate step to implementing the support for Piv+ normalization. All
tests pass.
But I'm running into some issues with Piv+ normalization. In the Piv+
formula , there are two parameters (s and delta) that control the weight
assigned. I think the way I'm serialising and unserialising these
parameters has
2012 Aug 14
2
[LLVMdev] Load serialisation during selection DAG building
On Aug 14, 2012, at 2:05 PM, Steve Montgomery <stephen.montgomery3 at btinternet.com> wrote:
> Further to my earlier question, I'm perhaps a bit confused about memory serialisation. The following example, compiled using clang for the MSP430:
>
> target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"
> target triple = "msp430-??-??"
>
2007 Apr 14
0
serialised cmml examples
Are there any examples of serialised CMML in Ogg about?
I know about <http://media.annodex.net/cmmlwiki/>, but
the .axv files you can download contain only:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cmml SYSTEM "cmml.dtd"><head/>
--
imalone
2007 Apr 16
0
serialised cmml examples
On 16/04/07, Conrad Parker <conrad.parker@gmail.com> wrote:
> On 15/04/07, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote:
> > Hi Ian,
> >
> > hmm, there was a whole bunch up on media.aidabrowser.com, but it seems
> > that CSIRO have taken that site offline.
> >
> > I thought there was a version of the media in cmmlwiki that produces
> >
2011 Dec 16
0
[PATCH 1/1] virtio: console: Serialise control work
We currently allow multiple instances of the control work handler to run
in parallel. This isn't expected to work; serialise access by disabling
interrupts on new packets from the Host and enable them when all the
existing ones are consumed.
---
drivers/char/virtio_console.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 8...
2011 Dec 16
0
[PATCH 1/1] virtio: console: Serialise control work
We currently allow multiple instances of the control work handler to run
in parallel. This isn't expected to work; serialise access by disabling
interrupts on new packets from the Host and enable them when all the
existing ones are consumed.
---
drivers/char/virtio_console.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 8...
2012 Dec 07
0
libnutconf: (De)serialisation methods added
?Hello everybody,
(de)serialisation methods of all the currently existing config. classes
were pushed to balooloo/nut, libconf branch:
https://github.com/balooloo/nut/commit/df8b584c7fef71741b33bff11a482a103360250e
Please note that the deserialisation methods should work, however
they are quite inefficient since they simply read the whole stream to memory
and then call parseFromString. I guess
2017 Dec 16
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Fri, Dec 15, 2017 at 03:10:48PM +0800, 张少华 wrote:
> After using boolean terms to get some candidates of documents (still
> too much), we want sorted them by self-defined function which is used
> in Xapian::KeyMaker->operator(). But how can I get the serialise score
> in Xapian::MSetIterator object.
>
> c++ code likes this:
>
> class SortKeyMaker : public Xapian::KeyMaker {
> std::string operator()(const Xapian::Document& doc) const {
> double score = self-defined-function(doc);
> return Xapian::sortable_serialise(sc...
2007 Aug 24
2
serialised cmml examples
On 15/04/07, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote:
> Hi Ian,
>
> hmm, there was a whole bunch up on media.aidabrowser.com, but it seems
> that CSIRO have taken that site offline.
>
> I thought there was a version of the media in cmmlwiki that produces
> annodex files, but there may be a bug on the server that prevents
> that. Conrad - is this a known
2011 Oct 06
5
Simple ActiveRecord serialise problem
When I create a table with the following SQL:
# create table foos (id SERIAL, content VARCHAR(255));
And define a class as follows:
class Foo < ActiveRecord::Base
serialize :content, JSON
end
Creating a new instance of the class gives an error:
> f = Foo.new
NoMethodError: undefined method `read'' for nil:NilClass
from
2006 Jul 17
1
sortable_element - Altering defaults set by rails
Hi there, I''ve got the following code to generate two sortable elements
but whenever someone drags and drops an item, i only want it to return a
serialised list of the items in categoryartworks, the unlinkedartworks
can be in any order and I don''t care. I can then delete those artworks
that were in category artworks but aren''t in the serialised list, plus
reorder the category artworks. Here''s the code:
<%= sortable_e...
2017 Dec 18
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Sat, Dec 16, 2017 at 10:11:40PM +0000, Olly Betts wrote:
> Unfortunately the sort key isn't currently exposed via the public API.
> It's available internally and it seems like it ought to be accessible
> but there's no accessor method for it - I can add one but that won't
> help for existing releases.
I've added MSetIterator::get_sort_key() to master in
2008 Jan 04
2
use of Marshal with wxruby classes
Is it possible to use Marshal with wxruby classes to serialize an
application''s state?
I tried a minimal example of simply serializing a minimal frame object, and
I get the error "no marshal_dump is defined for class MinimalFrame".
I don''t fully understand this because I also tried another minimal example
of dumping a class which did not defined a marshal_dump, and it