<FunkyBob>
memory use doesn't grow nearly as much... got 305MB... since I'm now excplicitly disposing the file
<FunkyBob>
and this time it used 2 cores
<FunkyBob>
anyway... it's certainly a lot slower, but since it's not sending the body immediately, that's no surprise
<FunkyBob>
those were with 4 clients
<FunkyBob>
with 25 clients:
<FunkyBob>
Data transferred: 28403.25 MB
<FunkyBob>
so it scales well! :)
<FunkyBob>
oops, wrong field
<FunkyBob>
Transaction rate: 1161.08 trans/sec
<FunkyBob>
Throughput: 477.53 MB/sec
<FunkyBob>
but it works! :)
<FunkyBob>
what was that magic arg to set worker threads?
<jemc>
`--ponythreads`?
<jemc>
you can view all the "magic" runtime options in the last section of `ponyc --help`
<FunkyBob>
thanks
<FunkyBob>
well, it used all cores
<FunkyBob>
Transaction rate: 1031.37 trans/sec
<FunkyBob>
Throughput: 424.19 MB/sec
obadz has quit [Quit: WeeChat 1.7.1]
<FunkyBob>
(that was a 43k file, btw)
plietar has quit [Remote host closed the connection]
plietar has joined #ponylang
plietar has quit [Ping timeout: 264 seconds]
smoon has joined #ponylang
amclain has quit [Quit: Leaving]
jemc has quit [Ping timeout: 255 seconds]
gmcabrita has quit [Quit: Connection closed for inactivity]
jemc has joined #ponylang
plietar has joined #ponylang
chemist69 has quit [Ping timeout: 255 seconds]
chemist69 has joined #ponylang
malthe has quit [Ping timeout: 260 seconds]
malthe has joined #ponylang
aav has quit [Ping timeout: 260 seconds]
aav has joined #ponylang
plietar has quit [Remote host closed the connection]
plietar has joined #ponylang
plietar has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 260 seconds]
smoon has quit [Quit: smoon]
abbiya has joined #ponylang
abbiya has quit [Ping timeout: 240 seconds]
abbiya has joined #ponylang
k0nsl has quit [Quit: “If we don't believe in freedom of expression for people we despise, we don't believe in it at all — Noam Chomsky”]
k0nsl has joined #ponylang
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
jemc has joined #ponylang
k0nsl has quit [Quit: “If we don't believe in freedom of expression for people we despise, we don't believe in it at all — Noam Chomsky”]
k0nsl has joined #ponylang
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
k0nsl has quit [Client Quit]
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
k0nsl has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
flutter78 has joined #ponylang
k0nsl has quit [Quit: “If we don't believe in freedom of expression for people we despise, we don't believe in it at all — Noam Chomsky”]
k0nsl has joined #ponylang
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
flutter95 has quit [Ping timeout: 255 seconds]
flutter78 has quit [Quit: -a- Connection Timed Out]
flutter88 has joined #ponylang
endformationage has quit [Quit: WeeChat 1.7]
gmcabrita has joined #ponylang
flutter48 has joined #ponylang
flutter88 has quit [Ping timeout: 240 seconds]
k0nsl has quit [Quit: “If we don't believe in freedom of expression for people we despise, we don't believe in it at all — Noam Chomsky”]
flutter48 has quit [Quit: -a- Connection Timed Out]
k0nsl has joined #ponylang
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
flutter5 has joined #ponylang
flutter52 has joined #ponylang
flutter5 has quit [Ping timeout: 258 seconds]
fluttershy_ has joined #ponylang
flutter52 has quit [Quit: -a- Connection Timed Out]
flutter16 has joined #ponylang
flutter16 has left #ponylang [#ponylang]
wintermoo has joined #ponylang
mrkishi has joined #ponylang
<fluttershy_>
hello, is it possible to convert Array[F64] to Array[String] so that I can use it with join in printing : like this "env.out.print(" ".join(myarray))" ?
plietar has joined #ponylang
_andre has joined #ponylang
jemc has joined #ponylang
abbiya has quit [Remote host closed the connection]
<SeanTAllen>
fluttershy_: you can iterate over your first array, converting its elements to String and adding to a new array of strings. There's no auto-type conversion.
wintermoo has quit [Remote host closed the connection]
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #ponylang
<fluttershy_>
SeanTAllen: yes that's what I had to do, but to print debugs I have to write more code, so I think it would be interesting to have auto-type conversion especially for types that already have the required traits like stringable , or maybe that's on purpose for safety reasons.
<lisael>
fluttershy_: if your concern is stripping out this debug work on release builds, you can use an ifdef debug ... end block
<SeanTAllen>
i'm very much against implicit type conversion. now having something like "map" on Array. that would be a good thing. and there's some movement towards working out everything that would be a Seq and squaring it with the persistent collections api.
<fluttershy_>
lisael: actually I just want to print a matrix and I don't want to write loop each time I want to debug values
<fluttershy_>
SeanTAllen: Well ... will have to work around that I guess.
<SeanTAllen>
fluttershy_: sounds like the problem is using Array. its not really what you want. you want something that has array like qualities, that can hold a type and has the ability to be printed
<SeanTAllen>
OR
<SeanTAllen>
you want a primitive that can do your debug printing
gmcabrita has quit [Quit: Connection closed for inactivity]
<fluttershy_>
yes actually a primitive to do just debug printing
k0nsl has quit [Quit: “If we don't believe in freedom of expression for people we despise, we don't believe in it at all — Noam Chomsky”]
k0nsl has joined #ponylang
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
kempe has quit [Remote host closed the connection]
kempe has joined #ponylang
gmcabrita has joined #ponylang
kempe has quit [Ping timeout: 272 seconds]
<jemc>
fluttershy_: I have a small package that I use for debug printing, and it includes support for printing arrays: https://github.com/jemc/pony-inspect
<fluttershy_>
jemc: ok thank you, will take a look.
amclain has joined #ponylang
Candle has quit [Quit: Bye!]
Candle has joined #ponylang
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
graaff has joined #ponylang
wintermoo has joined #ponylang
endformationage has joined #ponylang
kempe has joined #ponylang
graaff has quit [Quit: Leaving]
<wintermoo>
are there any plans to hold any more of the virtual user group meetups?
<SeanTAllen>
wintermoo: yes. ive been very busy with work so its been hard to organize.
<wintermoo>
great :) just got started with pony and starting to become excited about it, so looking forward to it
<SeanTAllen>
we still have many sharp edges, whenever you get stuck wintermoo, feel free to reach out here, the mailing list or ping me privately.
<wintermoo>
will do!
TheLemonMan has joined #ponylang
flutter96 has joined #ponylang
Matthias247 has joined #ponylang
flutter96 has quit [Ping timeout: 240 seconds]
flutter57 has joined #ponylang
serejkus has joined #ponylang
TwoNotes has joined #ponylang
wintermoo has quit [Remote host closed the connection]
wintermoo has joined #ponylang
serejkus has quit [Quit: Page closed]
_andre has quit [Quit: leaving]
wintermoo has quit [Remote host closed the connection]
TwoNotes has left #ponylang [#ponylang]
wintermoo has joined #ponylang
plietar has quit [Remote host closed the connection]
plietar has joined #ponylang
wintermoo has quit [Remote host closed the connection]
wintermoo has joined #ponylang
plietar has quit [Ping timeout: 240 seconds]
wintermoo has quit [Client Quit]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
Matthias247 has quit [Read error: Connection reset by peer]
plietar has joined #ponylang
<endformationage>
Over the last few days I wrestled with the compiler attempting a project. Though incomplete, I finally got a clean compile, and I must say I think I've learned a ton about RCaps, traits, and generics.
<endformationage>
And how to read the information the compiler gives you.
<endformationage>
Sometimes it is hard to spot ref capabilities that have been changed due to viewpoint adaptation, for instance in union types.
<SeanTAllen>
endformationage: if you have stuff to contribute to documentation to help others learn, that would be great. i'm working on materials for the "Learn" section of the website and if you want to write things along the lines of "how to read error messages" etc that augments/improves: https://tutorial.ponylang.org/appendices/error-messages.html that would be
<SeanTAllen>
great.
<FunkyBob>
I'd certainly appreciate it :)
<cquinn>
hi all. I just grabbed master to take advantage of jemc's newly merged "exhaustive match" PR (#1891), and I'm now seeing compiler assertions (on MacOs)
<cquinn>
I've probably built ponyc incorrectly somehow, but I was hoping I might get some ideas here
<cquinn>
oh, and it seems that it is specific to my new cli package. Probably something is now an error and ponyc is having trouble with that. Maybe with the match/else's. I'll try to track it down.