jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
jemc has quit [Ping timeout: 264 seconds]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
gokr has quit [Ping timeout: 248 seconds]
vassilvk has quit [Quit: No Ping reply in 180 seconds.]
vassilvk has joined #ponylang
Candle has joined #ponylang
Candle has quit [Ping timeout: 256 seconds]
jemc has joined #ponylang
pzel has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
jaro has quit [Ping timeout: 248 seconds]
pzel has quit [Ping timeout: 240 seconds]
pzel has joined #ponylang
pzel has quit [Ping timeout: 260 seconds]
acarrico has quit [Ping timeout: 268 seconds]
Candle has joined #ponylang
acarrico has joined #ponylang
Candle has quit [Ping timeout: 240 seconds]
pzel has joined #ponylang
endformationage has quit [Quit: WeeChat 1.9.1]
Candle has joined #ponylang
Candle has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 264 seconds]
pzel has quit [Ping timeout: 264 seconds]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
gokr has joined #ponylang
Shorttail has quit [Ping timeout: 260 seconds]
vaninwagen has joined #ponylang
CandleCandle has joined #ponylang
CandleCandle is now known as Candle
<bimawa> SeanTAllen: Hi, did we have REST server on pony?
jmiven has quit [Quit: co'o]
jmiven has joined #ponylang
<vaninwagen> bimawa you mean a HTTP server, to write a REST API with?
<vaninwagen> there is the stdlib net.http library for anything http: https://stdlib.ponylang.org/net-http--index
<vaninwagen> there is a webframework, but it needs some love to get it working with current ponyc (0.21.3 and master): https://github.com/Theodus/jennet
<vaninwagen> And there is https://github.com/patroclos/pony-h2 an http2 server library
<vaninwagen> if there is anyone interested in giving http on pony some love, please reach out to us :)
<bimawa> yea ty
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Remote host closed the connection]
<bimawa> Guys one more qustion, mb I'm ask it before, but can I compile Pony programm to static library for arm64? Just i want best performens with courutines for some my apps?
<bimawa> on iOS/Android
<bimawa> Now i use C++ for get my goals
bimawa has quit [Read error: Connection reset by peer]
<SeanTAllen> bimawa there's a library mode for pony that you can use to embed inside another program but it's poorly documented
gokr has left #ponylang [#ponylang]
acarrico has quit [Ping timeout: 256 seconds]
acarrico has joined #ponylang
_andre has joined #ponylang
jemc has joined #ponylang
feanor has joined #ponylang
feanor has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
acarrico has quit [Ping timeout: 276 seconds]
acarrico has joined #ponylang
endformationage has joined #ponylang
jaro has joined #ponylang
vaninwagen has quit [Ping timeout: 248 seconds]
pzel has joined #ponylang
jemc has quit [Ping timeout: 256 seconds]
dave24 has joined #ponylang
<dave24> Hello, I get the "this parameter must be sendable" error. But the thing the compiler indicates is a field of an actor, not a parameter to any function or behaviour. What does this mean?
khan has quit [Quit: khan]
khan has joined #ponylang
<aturley> dave24 can you post the code somewhere?
<dave24> aturley: hmm, its big. And when I try to make a minimal case it works.
<aturley> dave24 can you post the error as a gist somewhere so i can take a look?
<dave24> the full error is: "this parameter must be sendable (iso, val or tag)"
khan has quit [Client Quit]
khan has joined #ponylang
<aturley> ok, but there's a whole error message around it, correct?
<aturley> if you can share that i might be able to get a little more context for what you're seeing.
<dave24> that does not throw the error
<dave24> the only bit around it is indicating the line with the field declaration
<dave24> like this one: `let a: Array[U8] = Array[U8]`
<aturley> so in your code this is happening on a line with an assignment?
<dave24> yes
<aturley> can you show me what the line looks like?
<dave24> but it also happens on the same line even if I move the assignment into the actor constuctor
<dave24> let me embelish the gist link, one second
<aturley> if i can see the exact line that's causing you problems i might be able to ask a few questions to try to figure out what's going on.
<dave24> I just don't understand why it says that `a` is a parameter.
<aturley> well, there may be a bug in the compiler.
<aturley> or perhaps the error message could be improved.
<aturley> so in your code you have a member whose type an array parameterized by an interface, and you're trying to assign a new array to it?
<dave24> yes, in the constructor of an actor.
<aturley> dave24 can you send me the `new create(...)` line for this actor?
<dave24> I can, but it probably won't mean much: `new create( store: Store, chans: _Chans, invoker: Invoker)`
<dave24> all of those are sendable
<dave24> and none of them are used in the creation of the array
<aturley> :/
<aturley> ok, thank you.
jemc has joined #ponylang
fotoverite has joined #ponylang
<aturley> dave24 i'm out of ideas.
<SeanTAllen> dave24: it sounds like the compiler has gotten confused and is giving a bad error message.
<SeanTAllen> those can be hard to track down.
droman has joined #ponylang
<dave24> aturley: thanks anyway, I'll just take my big program apart until I have something small enough that still causes the problem.
<SeanTAllen> we had one come up related to importing traits that took us a while to figure out.
<SeanTAllen> there could be something there elsewhere, but without the code, its impossible to tell. good luck!
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
<jemc> dave24: sometimes I have luck with narrowing down which code caused a compiler bug if I set a breakpoint in lldb and try to print the relevant `ast_t*` structure using `ast_print` in the debugger
vaninwagen has joined #ponylang
<vaninwagen> dave24: how are your classes/actors Store, _Chans and Invoker defined? If they are classes, have they been defined like `class val Store` or `class iso _Chans` ?
<vaninwagen> if you left out the refcap in the classdefinition, then giving the types as parameter types without the refcap lets them default to ref
<vaninwagen> happened to me more than once :)
droman has quit [Quit: WeeChat 2.1]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
droman has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
vaninwagen has quit [Quit: WeeChat 2.1]
_andre has quit [Quit: leaving]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
pzel has quit [Ping timeout: 260 seconds]
khan has quit [Client Quit]
khan has joined #ponylang
pzel has joined #ponylang
jemc has quit [Read error: Connection reset by peer]
jemc has joined #ponylang
pzel has quit [Ping timeout: 256 seconds]
droman has quit [Quit: WeeChat 2.1]
khan has quit [Quit: khan]
khan has joined #ponylang
rirc_F21E has joined #ponylang
dave24 has quit [Ping timeout: 276 seconds]
khan has quit [Client Quit]
khan has joined #ponylang