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
atk has quit [Quit: Well this is unexpected.]
atk has joined #ponylang
obadz has quit [Ping timeout: 264 seconds]
obadz has joined #ponylang
charles has joined #ponylang
charles is now known as Guest70568
Guest70568 is now known as etc
<etc> Hi! I have a kind of strange problem where indentation in vim with both pony packages either places the cursor at the very beginning of the line or at some place far out in the middle of the line... is that supposed to happen? Has anyone encountered this before? Thanks!
<SeanTAllen> I haven't used the VIM package so I can't comment on that. Might want to try to mailing list. Probably more like to get a response there or by opening an issue on the vim plugin.
<etc> I'll make an issue - thanks!
<SeanTAllen> you're welcome.
etc has quit [Quit: Leaving]
gmcabrita has quit [Quit: Connection closed for inactivity]
abbiya has joined #ponylang
graaff has quit [Quit: Leaving]
<abbiya> i used pony deb from bintray and installed ponyc, but not able to do anything with it. illegal instruction (core dumped)
abbiya has quit [Remote host closed the connection]
abbiya has joined #ponylang
abbiya has quit [Remote host closed the connection]
abbiya has joined #ponylang
abbiya_ has joined #ponylang
abbiya has quit [Ping timeout: 268 seconds]
obadz has quit [Ping timeout: 240 seconds]
obadz has joined #ponylang
aav_away_ has quit [Ping timeout: 268 seconds]
gmcabrita has joined #ponylang
<SeanTAllen> abbiya_: that would probably be because your CPU doesn't support AVX or AVX2 instructions. We are working on a fix for that. If you build from source, you should be fine.
<abbiya_> ok, will try from the source
_andre has joined #ponylang
thm has joined #ponylang
<thm> Hi. trying to use ponyc via rpm from bintray gives me "illegal hardware instruction (core dumped) ponyc"
<SeanTAllen> thm: that is probabl an AVX/AVX2 instruction issue. IE your CPU doesn't support. We are working on a fix for that . If you build from source, you should be fine.
<thm> ok, thanks
<SeanTAllen> sorry about that thm.
<thm> no problem. does the docker image have the same issue?
<SeanTAllen> it shouldn't, based on how it works.
<SeanTAllen> the current issue is related to the CI server the packages were built on having AVX and that having been picked up during the package build process. The coming fix will be to make the pre-packages binaries as basic and baseline as possible at the expense of some performance
<thm> the docker image is huge... and (as I expected) also shows the 'illegal instruction' problem. So I guess I'll have to build from source.
<SeanTAllen> jemc knows far more about the docker image than I. I've added that to the AVX issues to be addressed. thanks thm.
amclain has joined #ponylang
charles has joined #ponylang
charles is now known as etc
<etc> Hi! I'm trying to call a C function in Pony that requires passing in a pointer to a struct, and then reading from that struct later. So I made a tuple called Winsize and then have a value w = Pointer[Winsize]. This compiles but I'm unsure how to read the values from the tuple after passing it to the c function. Is this doable?
<SeanTAllen> etc, i have limited experience with C FFI. jemc and some others would be better to address. if you don't get an answer here, i'd try the mailing list. if you aren't around, you can check the IRC logs to see if someone answered later: http://irclog.whitequark.org/ponylang
<etc> (thumbsup) thanks I'll send an email if need be
jemc has joined #ponylang
kulibali has joined #ponylang
<SeanTAllen> awesome!
<SeanTAllen> if you think the tutorial is lacking in that regard, PRs are greatly appreciated and encouraged etc
<SeanTAllen> Also, thank you again for noticing the lack of highlighting in the pony patterns
<etc> np! I'm working on a pr to add a bit about structs now :D
<SeanTAllen> etc: did you see the notice about the 2017 community survey?
<etc> Hmm taking a look now - anything in particular?
<SeanTAllen> nope. we did one last year. doing another this year. if the results are the same this year as last year for a lot of the questions, i'll mix it up next year.
<SeanTAllen> helps us get a handle on what the state of the community is etc
<SeanTAllen> there were a few things that surprised us last year
<etc> Yeah! I'm excited for the webdev and Pony for X parts
<SeanTAllen> sadly Pony for X hasn't really made any progress :(
<SeanTAllen> thm: btw, the AVX fix now includes a fix for docker issue as well... https://github.com/ponylang/ponyc/pull/1663/files. Thanks again for reporting.
etc has quit [Quit: Leaving]
xllndr has joined #ponylang
<thm> thx for fixing this :)
Matthias247 has joined #ponylang
<SeanTAllen> you're welcome
xllndr has quit [Quit: leaving]
<thm> if I call two behaviours on an Actor, will these be serialized?
<SeanTAllen> thm: will what be serialized?
<SeanTAllen> do you mean
<SeanTAllen> if actor A sends messge foo and then bar to actor B
<SeanTAllen> will they be processed as foo then bar?
<SeanTAllen> if that is your question
<SeanTAllen> then yes
<SeanTAllen> there is casaul messaging
<thm> being totally new to pony, and inspired by a video) I experimented with this code: https://paste.fedoraproject.org/paste/760Ju3tvRkSvTqzCkP9rg15M1UNdIGYhyRLivL9gydE=
<thm> here, what is printed at the end, is totally indeterministic
<SeanTAllen> ues it should be
<SeanTAllen> s/ues/yes/
<SeanTAllen> you have 3 actors there
<SeanTAllen> the `inc` calls in `doit` are async
<SeanTAllen> there is no guarantee how many will be processed when `print` is called by `print`
xllndr has joined #ponylang
killerswan has joined #ponylang
killerswan has quit [Client Quit]
obadz has quit [Ping timeout: 246 seconds]
xllndr has quit [Quit: leaving]
obadz has joined #ponylang
etc has joined #ponylang
<SeanTAllen> s
<etc> Is there an easier way to convert a u8 into a string? String.from_utf32(c.u32()).string()
staticassert has joined #ponylang
<staticassert> I just installed the latest pony-release package (version 11) and I'm getting this error: http://pastebin.com/gHPzuZpz
<staticassert> I think it's possible that I had previously installed an old verison
<staticassert> Thinking it may be this: https://github.com/ponylang/ponyc/issues/1484
<staticassert> The --pic flag is mentioned as a solution in that thread but I had already tried it - same issue.
<SeanTAllen> staticassert: that's odd, can you open an issue for that?
etc has quit [Ping timeout: 246 seconds]
<SeanTAllen> etc: in case you check the logs...
<SeanTAllen> staticassert: nevermind it appears you already did
<staticassert> SeanTAllen: There was already an issue open that I found
<staticassert> I've commented on it. I can provide more information though - the full output of the error would probably be helpful. Will update soon.