Hi Doug,
thank for pulling the changes into the main tree.
I had no problems merging origin/master into my branch - so I think
everything should be fine (my last merge was before Slava had to reset the
head of the main tree).
Sascha
--
Through the darkness of future past
the magician longs to s
I suppose I need some more vocabs updated.
>
> I also tried to build factor from git completely but somehow end up with a
> non-startable system.
> Are you aware of any documentation on how to build factor from scratch?
>
> Thanks again,
>
> - Jörg
>
> On 27.09.2010, at
Hi,
what version of mongodb are you using (and which version of factor)?
The MongoDB guys changed some internal structures (from integer to boolean)
- so the decoding fails.
For the latest and greatest please merge
git://github.com/x6j8x/factor.git mongodb-changes
locally.
Sascha
On Sun, Sep
Hi,
what version of mongodb are you using (and which version of factor)?
The MongoDB guys changed some internal structures (from integer to boolean)
- so the decoding fails.
For the latest and greatest please merge
git://github.com/x6j8x/factor.git mongodb-changes
locally.
Sascha
On Sun, Sep
Hi,
it seems like the mongodb guys changed the return values of the "ismaster"
command - instead of a "1" they now return a real boolean value.
You can find a fixed version of the mongodb vocab in my github repos (git://
github.com/x6j8x/factor.git mongodb-changes).
Sascha
--
Through the darkne
Hi,
if you're using my repo - please use the mongodb-changes branch. But that
shouldn't be necessary, as those patches were already pulled into the factor
main repo.
Regular expressions do work (using the persons collection from the doc
examples):
"db" "127.0.0.1" 27017 r/ "Al.*" / "name" assoc
Hi,
it that the general direction contrib vocabs should take from now on? If
that's the case we should track those vocabs (maybe on the
concatenative.orgwiki?).
Until now I was under the impression that contrib vocabs should always be
included under extra if they reached a certain maturity.
Sasc
Hi,
the tuple vocab adds functionality on top of the mongodb.driver vocab. The
"_mfd_t_info" field is used to keep reference to the factor tuple class - it
is needed to automatically deserialize the bson structure to the matching
class.
If you're concerned about storage space, just use the low-le
Hi,
On Sat, Jul 31, 2010 at 03:37, Vladimir Darmanian <
vladimir.darman...@gmail.com> wrote:
> Hey guys,
>
> That error has indeed been fixed in the dev branch so thank you.
>
> However I've uncovered more problems.
>
> 1) the tuple example does not create the specified index in the database.
>
with-db quotation.
>
> Using the -unsafe words ultimately fixed the problem and the low level
> driver seems to work properly though I haven't tested everything.
>
> However, when using the high level tuple vocab even with a custom
> update-tuple-unsafe word it has no effect on
Hi,
please try the latest mongodb driver changes in the Factor git repository.
The typo in the docs is fixed now and the error you received should be gone
too.
Sascha
--
Through the darkness of future past
the magician longs to see
One chants out between two worlds
Fire walk with me.
--
Hi,
here are some more changes to the bson vocab.
- added support for new bson types (timestamp, integer64)
- simplified bson.reader (which made it also faster)
Please pull from:
g...@github.com:x6j8x/factor.git mongodb-changes
Sascha
--
Through the darkness of future past
the magician longs
Hi,
today I came across some weird behavior of Factor... I can't explain it, so
here are the steps to reproduce it (you don't need to have MongoDB installed
- it's all 100% Factor).
USING: mongodb.driver mongodb.tuple mongodb.tuple.persistent fry literals ;
MDBTUPLE: person name age ;
person "per
Hi,
today I came across some weird behavior of Factor... I can't explain it, so
here are the steps to reproduce it (you don't need to have MongoDB installed
- it's all 100% Factor).
USING: mongodb.driver mongodb.tuple mongodb.tuple.persistent fry literals ;
MDBTUPLE: person name age ;
person "per
Hi,
I did some work on the mongodb/bson vocabs. In addition to that I fixed the
documentation typo and the non-working example.
g...@github.com:x6j8x/factor.git mongodb-changes
- better bson encoding/decoding performance (I still could use some hints
here how to improve the throughput)
- impleme
Hi,
I did some work on the mongodb/bson vocabs. In addition to that I fixed the
documentation typo and the non-working example.
g...@github.com:x6j8x/factor.git mongodb-changes
- better bson encoding/decoding performance (I still could use some hints
here how to improve the throughput)
- impleme
Hi,
I just found this... It's an IDE for Java, but I like the general idea.
http://www.cs.brown.edu/people/acb/codebubbles_site.htm
Sascha
--
Through the darkness of future past
the magician longs to see
One chants out between two worlds
Fire walk with me.
--
Hi,
The mongodb doesn't load on Windows because it references the time_t
> word in the unix vocab, which is not defined on Windows. It should not
> be using the unix vocab at all, in fact. Could you change it to define
> your own time_t perhaps?
>
I looked really hard, but couldn't find any usage
Hi,
It seems stream-read-until broke during the iota change.
The problem is in search-buffer-until which calls find-from with 2 integers
and a quotation on the stack.
find-from's stack-effect is ( n seq quot -- i elt ) and in (find-from)
length is called on the second stack element.
Sascha
--
Hi,
me again...
I've removed the bound-client special casing and added a new combinator called
with-local-address ( address quot -- )
git://github.com/x6j8x/factor.git Branch: client-bind
Sascha
--
Through the darkness of future past
the magician longs to see
One chants out between two world
Hi,
okay... forget it... Although it works this way - it just doesn't play
nice with all existing usages of or with-client.
I think I'll add a with-local-address ( quot -- ) ...
Stay tuned,
Sascha
On Sun, Sep 27, 2009 at 17:34, Sascha Matzke wrote:
> Hi,
>
> I've ad
Hi,
I've added / with-bound-client to io.sockets. Those two
new words allow to bind the local address to a specific address.
git://github.com/x6j8x/factor.git Branch: client-bind
Sascha
--
Through the darkness of future past
the magician longs to see
One chants out between two worlds
Fire wal
Hi,
I completed my messaging changes. This time the patch should apply
without problems.
I did a "load-all", ran help-lint and the tests all run flawlessly.
The main reason for the changes was to introduce synchronous message
sends with timeouts.
git://github.com/x6j8x/factor.git Branch: messag
Hi,
somehow stream-read-until seems to be broken for byte-reader:
B{ 120 0 0 0 0 0 0 } binary [ "\0" read-until ] with-byte-reader
results in
B{ 120 }
0
on the stack..
If there were other values read from the stream before:
B{ 0 120 0 0 0 0 0 0 } binary [ 1 read drop "\0" read-until ] with-b
Hi,
> Your code doesn't work because the XML parser auto-detects encodings,
> and thus it needs a binary stream, not a character stream.
the problem is, that in my original use-case (the file is just a
workaround to reproduce the issue) I get the XML via HTTP GET
(http-get word) - which exibits t
Hi,
please see https://paste.factorcode.org/paste?id=505
There you can find the XML snippet (a part from an Amazon AWS answer),
the factor code I'm using to parse this snippet and the (unexpected)
output.
It seems that the closing "Summary" tag isn't recognized.
Sascha
--
Through the darkness o
Hi,
as an exercise in Factor (my new favorite language :-) ) I wrote a
driver for the MongoDB (http://www.mongodb.org) database.
The code is available via GitHub
(https://github.com/x6j8x/mongo-factor-driver/tree;
git://github.com/x6j8x/mongo-factor-driver.git). Just clone the
repository and add
27 matches
Mail list logo