ModuleSpawn.html http://modulespawn.html/
/Andy
On 16 July 2014 08:58, Michael Seiferle m...@basex.org wrote:
Hi Marc,
I actually think this could be done manually using RestXQ.
You could maybe with something like this:
client issues request to start a long running job:
1) restxq/start
in Clojure or Go. Some articles
http://www.infoq.com/news/2013/07/core-async and
http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html
Obviously this goes far beyond spawning a query but a man can dream right
;-)
On Wed, Jul 16, 2014 at 1:08 PM, Marc van Grootel
marc.van.groo
\webapp
BaseX 7.9 [Server]
Server was started (port: 1984)
HTTP Server was started (port: 8984)
Am I doing something wrong here?
--Marc
Ah alright,
Oops had it in plain sight all along Added with Version 8.0.
Sorry. I read some mail messages about it and assumed it applied to the 7
branch.
I will try the snapshot.
Thanks,
--Marc
On Tue, Jul 15, 2014 at 1:08 PM, Christian Grün christian.gr...@gmail.com
wrote:
Hi Marc
can check the status of my request, then once it's
ready this temp URL will redirect me to the location of the real resource.
That's the gist of the async REST pattern that I would like to implement.
What would be the best approach to experiment with this?
--Marc
:= concat(FichiersBase/,$nomf) = $elem-bu/base-uri()
Marc
Le vendredi 4 juillet 2014 22:14:10, Christian Grün a écrit :
Hi Marc,
The problem is that the xquery is so long that's it drops in time out, and
in this case I don't have the QP.
Do you have any guess what takes most time? Is it really
The problem is that the xquery is so long that's it drops in time out,
and in this case I don't have the QP.
But with the -x and a stop of the server before the time out there is
an interrupt catched by the client and the QP is out!
Perhaps with a -d I don't remember.
Marc
Le vendredi 4
.
Thank's for help
Marc
doing wrong here?
--Marc
on Python's WSGI, Ruby
Rack or Erlang's webmachine. This will be heavily based on Clojure's Ring
and Compojure libraries and for now in pure XQuery. Hope to have something
to play with in a week or two.
--Marc
On Sun, Jun 29, 2014 at 2:30 PM, Christian Grün christian.gr...@gmail.com
wrote
I can confirm that it works now.
Thanks again.
--Marc
On Sun, Jun 29, 2014 at 4:12 PM, Marc van Grootel
marc.van.groo...@gmail.com wrote:
Hi Christian,
Terrific on both counts. That I understood correctly :) and that it got
fixed so fast!
I will probably post more often as I am now
'test' was not found.
the infos :
--
General Information:
Version: 7.8
Used Memory: 1994 KB
The main memory database doesn't exist anymore?
Marc
I agree with you, that for my use the main memory database are not
right because I have to open other database.
But in the example, I just create one and open it!
Marc
Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit :
Hi Marc,
I try to use the mainmem flag because I use a temporally
Ahok ! Thanks very much, it does work now. Topic closed.
2014-02-01 Christian Grün christian.gr...@gmail.com:
Hi Jean-Marc (answering on behalf of Dirk... Let's see who is faster ;),
your query will work if you change the xquery:eval call as follows:
xquery:eval($query || $exp
machine).
Do you have any clue, or suggestion, that could help us finding this
regression ?
Cheers,
Jean-Marc
2014-01-30 Christian Grün christian.gr...@gmail.com
Hi Jean-Marc,
you got it right, we fixed the bug! I've just updated the snapshot;
feel free to give it a try!
Thanks,
Christian
Christian,
The point is that I don't know how to provide a self-contained query.
The only strategy I could propose, to provide a self-contained query
isolating the memory management problem, is really too time-consuming : I
can imagine a binary-chop search, comparing the memory management of the
anything, though.
On Thu, Jan 30, 2014 at 9:39 PM, jean-marc Mercier
jeanmarc.merc...@gmail.com wrote:
Christian,
The point is that I don't know how to provide a self-contained query.
The only strategy I could propose, to provide a self-contained query
isolating the memory management problem
.
Flexible enough licensing, and most importantly support for windows 64
bits.
@Christian : Installing a service with YAJSW seems really straightforward
(see : http://yajsw.sourceforge.net/). Is it worth writing a Wiki page ?
2014/1/22 jean-marc Mercier jeanmarc.merc...@gmail.com
Hi,
Maybe I don't
Hi all,
Due to this issue, I am pulling back to the BaseX beta 6aeaebf (that is not
showing this issue), waiting for a fix.
Cheers,
Jean-Marc
2014/1/10 jean-marc Mercier jeanmarc.merc...@gmail.com
Hi all,
it seems that this bug is linked to the introspection module. I isolated a
code
://github.com/JohnLeM/BaseXCPPAPI the resulting
first trial.
Note :
- there are now two project. One is for VS2012 compiler, located in /VS2012
- the other is a first trial, for a third-eye check (you). You should find
a auto-generated (debug) makefile at root.
Cheers,
Jean-Marc
2014/1/9 Dirk
)
at org.basex.core.Main.execute(Main.java:146)
at org.basex.BaseX.init(BaseX.java:119)
at org.basex.BaseX.main(BaseX.java:38)
2014/1/6 jean-marc Mercier jeanmarc.merc...@gmail.com
Note : casewhere, I checked that this issue does not depend upon the
values of INLINELIMIT and TAILCALL.
2014/1/6
://code.google.com/p/pugixml/) for a lightweight C++ parser
with XPATH 1.0 support.
The provided example is a simple construction of an integer list.
Cheers
Jean-Marc
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de
I finally succeeded connecting to BaseX server. This issue was stupidly due
to the last trailing '\0' character in the server time stamp response,
messing out the password MD5 computations.
2014/1/7 jean-marc Mercier jeanmarc.merc...@gmail.com
@Dirk thx : I saw this with WireShark, even if I
Note : casewhere, I checked that this issue does not depend upon the values
of INLINELIMIT and TAILCALL.
2014/1/6 jean-marc Mercier jeanmarc.merc...@gmail.com
Hello,
I have a quite strange behavior, that might be a bug in the introspection
module. I am just describing it, and will work
code and to try compile a server to see what is happening on the
server side...that is probably some days of hard works :(
2014/1/6 Liam R E Quin l...@w3.org
On Mon, 2014-01-06 at 21:15 +0100, jean-marc Mercier wrote:
Hello,
I still can't connect to BaseX. I checked that I sent
in BaseX team, that have some experience with C++,
could have a look to it ? I put the current code at
https://github.com/JohnLeM/BaseXCPPAPI, as a bottle in the sea :(
2014/1/5 Dirk Kirsten d...@basex.org
Hello Jean-Marc,
I see your point. Unfortunately, I don't have any experience doing
Hi all,
going back to the root... I am trying to connect my favorite C++ tools to
BaseX.
Unfortunately, I am using visual C++ 12 Express under windows 7. It seems
that windows users will not be able to use the existing BaseX API C
connector, and need another one. Thus I started to code a C++
-Marc
2014/1/3 Dirk Kirsten d...@basex.org
Hello Jean-Marc,
What problems did you experience when using the provided C API
(https://github.com/BaseXdb/basex-api/tree/master/src/main/c) under
Windows 7? It should also work under windows.
Additionally, you can find the source code of the C
Leonard,
Hello. I'am just reading this annoucement, trashed erroneously by gmail.
Sorry for not having reacted before.
It sounds very interesting.
First probably stupid question : how do we install these modules ?
2013/12/12 Leonard Wörteler l...@woerteler.de
Hello everyone,
I want to
- launch the XQUERY file MapProfiler.xquery. With these settings, the
profile function works finely.
Then
- Edit baseX config file .baseX, set the following Local options :
# Local Options
INLINELIMIT = 6
With these settings, I am raising a [XPTY0004] Single item expected error.
Cheers,
Jean-Marc
Leo,
You are right, there was a type error in my code, thx a lot for pointing it
out. I am recomputing the profile result of your code with full inlining.
Cheers,
Jean-Marc
2013/12/29 Leo Wörteler l...@basex.org
Dear Jean-Marc,
Am 29.12.2013 13:09, schrieb jean-marc Mercier:
@Leo
misunderstood something ?
Thanx for your answer,
Cheers,
Jean-Marc
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi,
Casewhere someone is using these files, here is a more stable version,
including some quite handy union, intersection and except operators. By
stable I mean that I am using them extensively since some weeks without any
modifications !
Cheers
Jean-Marc
2013/12/8 jean-marc Mercier
JAVA, C++, xquery, SQL and spring framework in the same IDE,
very handy for me.
2013/12/11 Christian Grün christian.gr...@gmail.com
Hi Jean-Marc,
currently, there are no plugin alternatives for Eclipse, and it seems
that the development has pretty much stalled.
Grzegorz Ligas is currently
a meaningful *except, intersection
or union* operators for nodes or functions. Indeed, the definition given in
http://www.w3.org/TR/xpath-functions/#union-intersection-except is not very
clear for me.
Jean-Marc
2013/12/7 Christian Grün christian.gr...@gmail.com
Hi Jean-Marc,
thanks a lot for your
in this configuration ?
Thx
Jean-Marc
2013/12/5 jean-marc Mercier jeanmarc.merc...@gmail.com
Hi Christian,
Thx for your answer.
it is advisable to remove all trace() calls from the code before doing
performance comparisons.
You're right. From another side, the trace functions are called very few
times
Hi Gary
I am a BaseX team member, but have you sized up your JVM to run Big Data ?
See the files BaseX/basex*.bat. I am currently using set VM=-Xmx6g
Hope this helps
Jean-Marc
2013/12/6 Huband, Gary W *HS gwh...@hscmail.mcc.virginia.edu
I'm evaluating BaseX to use in a project
I meant I am NOT a baseX member ! sorry for the mistyping !
2013/12/6 jean-marc Mercier jeanmarc.merc...@gmail.com
Hi Gary
I am a BaseX team member, but have you sized up your JVM to run Big Data
?
See the files BaseX/basex*.bat. I am currently using set VM=-Xmx6g
Hope this helps
Jean
://docs.basex.org/wiki/Commands), in order to free memory. i.e. I first
inserted the xml into 4 or 5 passes. Then created some indexes, etc...In
that way it was possible to run the insertion, even with 4Gb machines.
Hope this helps
Jean-Marc
2013/12/6 Huband, Gary W *HS gwh
). This should be of small impact over the results.
A remark over this test : I noticed that the test is running slower when I
disabled the options INLINELIMIT = 0 and TAILCALL = -1.
2013/12/5 Christian Grün christian.gr...@gmail.com
Hi Jean-Marc,
another note (I just spotted your mail on t
($output/@function)
group by $fun
return element-name{$fun}{sum(data($output) ) }
Thanks
Jean-Marc
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
, then
the following code
import module namespace test=http://www.example.com/test; at test.xq;
for $fun in inspect:functions() return gotcha
raise an exception.
Cheers,
Jean-Marc
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni
Hi christian, yes this is the point :
Stopped at C:/Jiheme/informatique/workspace/Graph
DataBase/module/common.xq, 31/89:
[XPST0017] Function 'local:test' is not visible from this module.
If this is desired, it means that we can not use the inspection module as
soon as there is %private
opened a thread concerning this perf issue, that might be deeper that I
thought.
Cheers,
Jean-Marc
2013/11/21 Christian Grün christian.gr...@gmail.com
Sounds interesting. Have you thought about making it public to get
more feedback?
I will, as soon as it will be tested... I need
code at Basex
repository ?
Motivation : I would like to try evaluating whether inlining recursive
functions is possible or not. You are welcome to suggestions !
Cheers
2013/11/22 jean-marc Mercier jeanmarc.merc...@gmail.com
Leo, Christian
I fixed the bug, thank you for reporting it. You can
}}; (I just removed as
item()), then the query is executed normally, returning 1.
Can you reproduce it with another environment ?
Cheers,
Jean-Marc
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk@mailman.uni-konstanz.de
Version: BaseX 7.8 beta 6aeaebf
Java: Oracle
Hi Christian,
The mail archive is just fine for me. Thx for pointing me out his link.
Cheers,
Jean-Marc
2013/11/21 Christian Grün christian.gr...@gmail.com
Hi Jean-Marc,
is there a (convenient) way to search into basex talk archives ?
Web search engines like DuckDuckGo, Bing
be of great utility if I try to write an algebra module.
Cheers,
Jean-Marc
2013/11/22 Leo Wörteler l...@basex.org
Dear Jean-Marc,
I fixed the bug, thank you for reporting it. You can get the current
snapshot here: http://files.basex.org/releases/latest/
Am 22.11.2013 15:06, schrieb jean
for direct contact, as soon as I will have more precise needs or questions.
Cheers
Jean-Marc
2013/11/18 Christian Grün christian.gr...@gmail.com
As far as I understand, my first option is to ship BaseX together with
its
native BSD licensing. This is probably enough for my needs in a first
one
in mind ?
Thanks for yours answers,
cheers,
Jean-Marc
2013/11/18 Christian Grün christian.gr...@gmail.com
Hi again,
- I don't know how to allocate and address directly contiguous memory
blocks
in XQUERY.
Operations on this level cannot be realized in XQuery. Instead, the
query
a link, or a doc that could give
me a first overview of these ?
Thanks for your answers,
Regards,
Jean-Marc
2013/11/17 Christian Grün christian.gr...@gmail.com
Hi Jean-Marc,
I'd like to start a thread regarding some technical and commercial
support
aspects of BaseX
Hi,
Following a recent discussion with BaseX team, here is a description of a
problem that I don't know how to solve efficiently from within Xquery or
BaseX Xquery extensions like map:module. Thus, any suggestion are welcomed !
The problem is the following : I want to write an XQUERY module
?
Cheers,
Jean-Marc
2013/11/12 Christian Grün christian.gr...@gmail.com
Dear JohnLeM,
thanks for your mail. As you already noted, XQuery is a functional
language, and this is the reason why XQuery maps are not exactly
comparable to maps and sets, as they are used in imperative languages
to be 20 % faster, with a smaller memory footprint (10%,
(4,3 against 4, unprecise measure, since I was looking to my Task Manager
!) ).
Thus I could use maps to simulate HashSet, it not a very big overload.
However, is there any incentive to trade off 20% performance ?
Cheers,
Jean-Marc
point ! I'll try to refactor my code to include maps.
However, as mentionned above, I will have most probably to include JAVA
librairies into my modules (maths), and might loose overall Immutability
through these as well.
Thx everybody for the very helpful advises.
Cheers
Jean-Marc
2013/11
Hi,
To resume an exchange with BaseX members :
The issue is JAVA Bindings for BAseX version = 7.7, illustrated by the
following XQUERY code
import module namespace set = java.util.HashSet;{
let $loop :=
for $i in 1 to 128
return set:add($i)
let $loop :=
for $i in 1 to 128
return set:add($i)
201 - 256 of 256 matches
Mail list logo