thanks again
Leonardo
Il 06/07/2016 15:32, Isaiah Norton ha scritto:
The implementation is not trivial to follow, but have a look at
`kwarg_decl` in `base/methodshow.jl`.
This might be a reasonable thing to have as a helper function, if you
want to open a GitHub issue to discuss.
(Be warned: you
There is a way to list all keyword arguments defined by a function f?
(a sort of reflection?)
e.g.;
*having*function f(i::Int; a::AbstractString=0, b::Float64=0.0)
...
end
*how to return a, b from f?*
Many thanks in advance
Leonardo
is answers your questions.
Thanks again
Leonardo
On Sunday, June 5, 2016 at 12:30:04 PM UTC+2, Leonardo wrote:
Hi all,
I want realize a pluggable architecture in Julia, loading
dinamically some precompiled code from any path (for sure functions,
but also types, and maybe enti
in function, types, modules) or
- better - some indipendent precompiled code (like llvm code instead native
code)?
Many thanks in advance for your attention
Leonardo
I've found a related issue:
https://github.com/JuliaLang/ZMQ.jl/issues/52
I will make some experiment to understand if Julia multitasking can be a
substitute for ZMQ poll().
Has anyone some experience about this?
Thanks
Leonardo
Il 03/03/2016 22:54, Leonardo ha scritto:
Hello,
if anyone
/#!searchin/julia-users/session/julia-users/Pzud53X5SLk/w1SHsAYvBAAJ
)
Thanks
Leonardo
Il 01/02/2016 09:20, Shashi Gowda ha scritto:
Yes this is how you can share non signal variables as well. However, if
you use a non-signal variable to share state, your state updates will
not be propagated across
in advance
Leonardo
Hello,
if anyone can help me:
poll() API exists into ZeroMQ port in Julia?
If so, how to call it?
Many thanks in advance
Leonardo
Hi Shashi,
this technique is applicable also for non-Signal variables, right?
However, persistence hints for Signals are very interestings ...
Thanks
Leonardo
Il 31/01/2016 19:11, Shashi Gowda ha scritto:
Hi Leonardo
If you have a single Escher process serving multiple requests and you
Yes, this error don't occurr anymore, but other errors occurr (reported
in another message)
Thanks
Leonardo
Il 31/01/2016 19:11, Shashi Gowda ha scritto:
I believe this to be fixed now?
On Mon, Jan 11, 2016 at 1:09 PM, Leonardo <maxsa...@gmail.com
<mailto:maxsa...@gmail.com&g
resources
(like a DB connection shared by all client and created once into web
server).
How can I do that?
Many thanks in advance
Leonardo
, ::Any)
in anonymous at C:\Users\Leonardo\.julia\v0.4\Escher\src\cli\serve.jl:170
in anonymous at C:\Users\Leonardo\.julia\v0.4\Mux\src\Mux.jl:15
in anonymous at C:\Users\Leonardo\.julia\v0.4\Mux\src\Mux.jl:8
in splitquery at C:\Users\Leonardo\.julia\v0.4\Mux\src\basics.jl:28
in anonymous at C
Many thanks, but I cannot run examples based on Gadfly or Compose (like
this one) for precompilation errors (in this example Patchwork cache
creates some problem loading Compose)
Leonardo
Il 17/01/2016 17:42, Shashi Gowda ha scritto:
The monte carlo example does something like this:
https
Hi all,
how can I build a (simple) Web-UI that must wait for long-running
computation in Escher?
Or (after a long computation), how can I generate asynchrounously a signal
that "wake up" a web page rendered by Escher?
Many thanks in advance
Leonardo
:
$JULIA_HOME/bin/julia --output-ji out.ji -- src.jl
it complains with following message:
ERROR: could not open file boot.jl
2. *.ji file execution*: I don't know how to start a julia program
precompiled in .ji
Leonardo
Il giorno sabato 12 dicembre 2015 19:55:43 UTC+1, Tero Frondelius
("**
") ) and execute it?
Many thanks
Leonardo
Issue closed.
I've omitted to register "offline" package (git repo is on local disk) with
command:
Pkg.register("", "git://.git")
Thanks for all suggestions
Leonardo
Il giorno lunedì 23 novembre 2015 09:06:47 UTC+1, Leonardo ha scritto:
>
> Moreove
e (and all sub-packages) is precompiled?
Leonardo
Il giorno venerdì 20 novembre 2015 20:06:45 UTC+1, Leonardo ha scritto:
>
> Yes, but with no results (I've forgotten to indicate it in previous
> message)
>
> I've tagged with Pkg.tag() after package was commited and tagged wit
Many thanks!
I've not found these info on Julia official documentation: if not present,
I think should be useful to add them
Leonardo
Il giorno domenica 22 novembre 2015 20:20:35 UTC+1, Stefan Karpinski ha
scritto:
>
> Yes, Set is implemented using a hash table. Object
Of course I can use Dict (ObjectIdDict is a sort of Dict), adding entries
as previously written.
Set is even better, but elements of Set are accessed with hash?
E.g. "hello" in s of your example is executed in constant or linear time?
Thanks
Leonardo
P.S. for my clarifica
obj)
but only the form
d[obj] = obj
works. This is correct way to do this? (potentially key and value can be
different ...)
Many thanks in advance
Leonardo
Yes, but with no results (I've forgotten to indicate it in previous message)
I've tagged with Pkg.tag() after package was commited and tagged with git:
state of source is in correct state to do this?
Thanks
Leonardo
Il giorno venerdì 20 novembre 2015 10:41:27 UTC+1, Kristoffer Carlsson ha
Hi all,
I've created a local package (with Pkg.generate() ), I've modified source
and I've committed it with git, also tagging package source with git -a ,
but Pkg.status() show version "0.0.0-".
Anyone know why, and how can I change version shown by Julia?
Many thanks in advance
Leonardo
[1]
tst1#1: 4
tst2#2: 4
but I would have as output:
tst2: (z-3)*2
How can I do it?
Thanks in advance
Leonardo
Il 28/09/2015 13:43, Yichao Yu ha scritto:
On Mon, Sep 28, 2015 at 2:45 AM, Tomas Lycken <tomas.lyc...@gmail.com> wrote:
What is correct form in this case?
The exact s
behaviour of Julia's macro?
Many thanks in advance
Leonardo
Oops!
Many thanks
Leonardo
Il giorno martedì 15 settembre 2015 12:32:02 UTC+2, Tim Holy ha scritto:
>
> `next` requires a second argument, the `state` variable. Your code doesn't
> pass a second argument, which is why you're getting the error.
>
> --Tim
>
> On Tuesday,
eceive a
Symbol instead an Integer:
ERROR: TypeError: anonymous: in typeassert, expected Int64, got Symbol
What is correct form in this case?
Leonardo
Il 27/09/2015 18:58, Yichao Yu ha scritto:
On Sun, Sep 27, 2015 at 12:20 PM, Leonardo <maxsa...@gmail.com> wrote:
Hi all,
I need ma
any year in other
languages with generics as Java, C++, C# because use of a
object-parameter opposed to conventional type-parameter is a bit odd;
see also https://groups.google.com/forum/#!topic/julia-users/3NM7tZV5buQ
<https://groups.google.com/forum/#%21topic/julia-users/3NM7tZV5buQ> )
ons - there is no way to do this
without redefine a bunch of methods.
At least, can I find somewhere a minimal list of these methods?
Thanks again
Leonardo
Il 10/09/2015 15:20, Matt Bauman ha scritto:
The reason you're needing to define more methods than the interface
chapter suggests is because you have
matrix() ), otherwise creation of an object (e.g. with
command a = MyArr(3)) fails
Than, what's correct way to subclass AbstractArray for my needs
(multidimensional array)?
Many thanks in advance for anyone can indicate me right direction
Leonardo
test.jl
Description: Binary data
Great job!
By the way, what's the deal with the *official* switch to Julia 0.4? Is it
going to happen soon? I'm not really following the development of the
language, and I don't even know what's going to change. I hope it won't
break too many things. :-)
Il giorno martedì 1 settembre 2015
example 'form.jl' trigger!() is used, but example doesn't work ...
Any suggestion is appreciated
Leonardo
Il giorno martedì 23 giugno 2015 20:51:04 UTC+2, Leonardo ha scritto:
Thanks,
but also with your code the error persists:
`consume` has no method matching consume(::Function, ::Input{Int32
in file *task.jl*, but it has a completely
different signature and use)
Maybe I made trivial mistakes, but I cannot found right solutions.
Someone can help me?
Many thanks in advance
Leonardo
hue_wrong.jl
Description: Binary data
hue_work.jl
Description: Binary data
Thanks,
but also with your code the error persists:
`consume` has no method matching consume(::Function, ::Input{Int32})
in anonymous at C:\Users\Leonardo\.julia\v0.3\Escher\src\cli\serve.jl:134
in anonymous at C:\Users\Leonardo\.julia\v0.3\Mux\src\Mux.jl:15
in anonymous at C:\Users\Leonardo
The same thing has happened to me (actually more than once). I'm not sure
what triggered it, unfortunately I couldn't reproduce the issue in a new
REPL instance (where everything goes smoothly and the error disappears). My
(newbie) feeling is that the REPL is still somewhat fragile and it is
this.
Il giorno mercoledì 15 ottobre 2014 16:21:04 UTC+2, Stefan Karpinski ha
scritto:
On Wed, Oct 15, 2014 at 7:33 AM, Leonardo Taccari flo...@gmail.com
javascript: wrote:
My (newbie) feeling is that the REPL is still somewhat fragile and it
is rather easy to break it.
Can you expand
Hello,
sorry if this was asked before, I'm a beginner here.
Why does div() with non-Int arguments return a non-Int?
E.g., div(27,2.3) returns a Float64. I would expect it to be an Int, while
it seems I have to manually convert the result to Int.
Fair enough.
Il giorno martedì 9 settembre 2014 17:43:59 UTC+2, Steven G. Johnson ha
scritto:
On Tuesday, September 9, 2014 10:47:02 AM UTC-4, Leonardo Taccari wrote:
Why does div() with non-Int arguments return a non-Int?
E.g., div(27,2.3) returns a Float64. I would expect
38 matches
Mail list logo