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
plietar has joined #ponylang
Bombe has quit [Ping timeout: 255 seconds]
Bombe has joined #ponylang
samuell has quit [Quit: Leaving]
plietar has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 246 seconds]
chancyk has joined #ponylang
<chancyk> Could anyone point me in the right direction of properly iterating over a `Array[FilePath] iso`
<chancyk> I'm working towards having actors asynchronously counting lines of files... I have this so far: https://gist.github.com/chancyk/4a0440897b5875cd3c2c84c9d2094454
<chancyk> refactored out the possible error raising code into the Main actor, as in the Supply Chain section of the Patterns Gitbook
<chancyk> so the separate actor is now receiving an iso of file paths, and now I'm in reference capability land ^ ^;
<SeanTAllen> taking a look chancyk
<SeanTAllen> question 1 chancyk, why is your _files variable an iso?
<SeanTAllen> do you have a reason for that or just learning and trying to get stuff working?
<SeanTAllen> Here's a working version chancyk: https://playground.ponylang.org/?gist=d4c531dd5420e6950a726432e738a4ff
<SeanTAllen> But I fixed it by not having the field be an `iso`. An iso field is rarely what you want.
<SeanTAllen> `ref` is an easier mutable to work with than `iso` so, only make it an `iso` when you need it.
<chancyk> I was mimicking the Supply Chain example just trying to get it working
<SeanTAllen> in this case, you need this to be mutable yes? but you wont be sharing it out this actor?
<SeanTAllen> is LineCounter going to need to share _lines with another actor?
<chancyk> I'm moving towards passing out files to actors to be processed concurrently
<SeanTAllen> ok but the _lines Array
<SeanTAllen> are you planning on passing that Array to other actors?
<chancyk> _files you mean? I don't think so, I'll probably read the files first and pass the file contents.
<SeanTAllen> ok
<SeanTAllen> in that case
<SeanTAllen> `ref` is easier to work with than `iso`
<SeanTAllen> go with the change i made
<SeanTAllen> _files is now a ref
<SeanTAllen> another question
<SeanTAllen> _files
<SeanTAllen> are you ever going to add or remove items from it once LineCounter is created?
<chancyk> Nope, just that initial list provided by glob
<SeanTAllen> ok then
<SeanTAllen> it doesnt need to be a ref
<chancyk> next I'm going to try to read them and farm out the contents to another actor
<SeanTAllen> a couple basic Pony rules when getting started
<SeanTAllen> start by making it a `val`
<SeanTAllen> if you need to mutate it, make it a `ref`
<SeanTAllen> if you need to change it and then share it with another actor, make it an `iso`
<chancyk> Awesome, that's working!... let's see what I run into next. : ) Thanks for your help.
<SeanTAllen> you're welcome
tscho has quit [Ping timeout: 246 seconds]
tscho has joined #ponylang
tscho_ has joined #ponylang
plietar has joined #ponylang
tscho has quit [Ping timeout: 260 seconds]
plietar has quit [Ping timeout: 255 seconds]
jemc has joined #ponylang
chancyk has quit [Quit: Page closed]
plietar has joined #ponylang
_whitelogger has joined #ponylang
aceluck has joined #ponylang
plietar has quit [Ping timeout: 258 seconds]
scooter has joined #ponylang
<scooter> Hi, I'm Scott Steele. I organize the Rust DC meetup (https://www.meetup.com/RustDC). I was wondering if there are any core Pony designers/contributors familiar enough with Rust (and with enough time) to talk to our group about Pony's reference capabilities and how they compare with Rust's ownership model...trade-offs, pros, cons, etc. (Or is someone could point me in the direction of someone else who might be willing...)
<scooter> s/Or is someone/Or if someone/
<jemc> scooter: hello and welcome
<jemc> unfortunately I'm personally not as familiar with Rust as I'd like to be (I've always wanted to pick it up)
<jemc> if you don't get a significant response from the IRC channel, you might try the mailing list
<jemc> though I think many of the regular contributors read the IRC logs, so you may get someone dropping in an answer tomorrow
<scooter> it looked like there was some cross-polination in the projects (e.g., the rfc process, the pony playground) so i think someone is definitely out there... thanks for your help... i wasn't sure where to direct my query so figured i'd just dive in here
<scooter> thanks! will keep an eye on this channel and ping the mailing list if nothing turns up here
<jemc> yes, we definitely have a lot of respect for the Rust project and community - I believe SeanTAllen is personal friends with someone on the Rust team, and IIRC we picked up your RFC process after they had a chat about it
<jemc> plietar was the one who ported the rust playground to pony - not sure how familiar he actually is with rust, but he might be
<jemc> also I seem to have a general feeling that theodus may be a rust user of some level, but I could be wrong about that
* scooter goes off to look up the GitHub profiles of the users mentioned
plietar has joined #ponylang
aceluck has quit [Read error: Connection reset by peer]
aceluck has joined #ponylang
scooter has quit [Remote host closed the connection]
plietar has quit [Ping timeout: 255 seconds]
scooter has joined #ponylang
endformationage has quit [Quit: WeeChat 1.9]
jemc has quit [Ping timeout: 240 seconds]
aceluck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scooter-dangle has joined #ponylang
scooter has quit [Read error: Connection reset by peer]
scooter has joined #ponylang
scooter has quit [Remote host closed the connection]
scooter-dangle has quit [Ping timeout: 246 seconds]
plietar has joined #ponylang
plietar has quit [Ping timeout: 255 seconds]
Matthias247 has joined #ponylang
samuell has joined #ponylang
scooter has joined #ponylang
scooter-dangle has joined #ponylang
scooter-d has joined #ponylang
scooter-d has quit [Read error: Connection reset by peer]
scooter has quit [Ping timeout: 246 seconds]
scooter-dangle has quit [Ping timeout: 246 seconds]
plietar has joined #ponylang
aceluck has joined #ponylang
plietar has quit [Ping timeout: 255 seconds]
aceluck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kempe has joined #ponylang
<SeanTAllen> I was also a contributor to Rust 1.0 in a small tiny way.
plietar has joined #ponylang
kempe has quit [Ping timeout: 255 seconds]
aceluck has joined #ponylang
kempe has joined #ponylang
<doublec> It might be useful just to have someone talk about rcaps then the rust people can talk about the rust features and everyone can compare in real time.
plietar has quit [Ping timeout: 276 seconds]
plietar has joined #ponylang
HTTP_____GK1wmSU has joined #ponylang
HTTP_____GK1wmSU has left #ponylang [#ponylang]
plietar has quit [Ping timeout: 240 seconds]
plietar has joined #ponylang
samuell has quit [Remote host closed the connection]
plietar has quit [Remote host closed the connection]
samuell has joined #ponylang
samuell has quit [Remote host closed the connection]
plietar has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
Praetonus has joined #ponylang
plietar has quit [Remote host closed the connection]
plietar_ has joined #ponylang
plietar_ has quit [Remote host closed the connection]
endformationage has joined #ponylang
samuell has joined #ponylang
samuell has quit [Quit: Leaving]
ada[m] has quit [Ping timeout: 246 seconds]
srenatus[m] has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 258 seconds]
irx[m] has quit [Ping timeout: 246 seconds]
mindB has quit [Ping timeout: 246 seconds]
M-hrjet has quit [Ping timeout: 276 seconds]
samuell has joined #ponylang
Matthias247 has joined #ponylang
srenatus[m] has joined #ponylang
ada[m] has joined #ponylang
mindB has joined #ponylang
M-hrjet has joined #ponylang
dtz has joined #ponylang
irx[m] has joined #ponylang
samuell has quit [Quit: Leaving]
aceluck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
D33P-B00K has joined #ponylang
plietar has joined #ponylang
D33P-B00K has left #ponylang [#ponylang]
Praetonus has quit [Ping timeout: 246 seconds]
samuell has joined #ponylang
samuell has quit [Remote host closed the connection]
samuell has joined #ponylang
plietar has quit [Remote host closed the connection]
plietar has joined #ponylang
<SeanTAllen> AND... I finally did it: "Pony Performance Cheatsheet" => https://www.ponylang.org/reference/pony-performance-cheatsheet/
<jmiven> awesome!
plietar has quit [Remote host closed the connection]
plietar has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
samuell has quit [Quit: Leaving]
irx[m] has quit [Ping timeout: 240 seconds]
ada[m] has quit [Ping timeout: 255 seconds]
mindB has quit [Ping timeout: 246 seconds]
M-hrjet has quit [Ping timeout: 255 seconds]
dtz has quit [Ping timeout: 255 seconds]
srenatus[m] has quit [Ping timeout: 255 seconds]
Praetonus has joined #ponylang
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
TheNet has joined #ponylang
TheNet has quit [Client Quit]
Praetonus has quit [Quit: Leaving]
srenatus[m] has joined #ponylang