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
plietar_ has quit [Remote host closed the connection]
plietar has joined #ponylang
plietar has quit [Ping timeout: 272 seconds]
plietar has joined #ponylang
plietar has quit [Remote host closed the connection]
plietar_ has joined #ponylang
plietar_ has quit [Quit: Leaving...]
pduncan has joined #ponylang
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 246 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”]
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
k0nsl has joined #ponylang
k0nsl has quit [Remote host closed the connection]
k0nsl has joined #ponylang
k0nsl has joined #ponylang
k0nsl has quit [Changing host]
bimawa has joined #ponylang
<emilbayes> SeanTAllen: Thank you for your patience
<emilbayes> SeanTAllen: ByteSeq is exactly the type i want
<emilbayes> SeanTAllen: Is there a general pattern for taking in a ByteSeq and filling it with data? Specifically which ref caps do I use? ref? iso? I tried to gist my idea here: https://is.gd/u73SQ2
vaninwagen_ has joined #ponylang
papey_la1 has quit [Quit: WeeChat 1.8]
papey_lap has joined #ponylang
nyarum has joined #ponylang
<Candle> SeanTAllen: Yeah, I agree. I don't see any fixed point or arbitrary precision (other than using an integer and arbitrarally fixing a decimal point) I'm not doing financial computations, so I'm happy with the inaccuracy. There may be a PR against the TestHelper to add some better support.
papey_lap has quit [Quit: WeeChat 1.8]
papey_lap has joined #ponylang
nyarum has quit [Remote host closed the connection]
nyarum has joined #ponylang
_andre has joined #ponylang
aav_ has joined #ponylang
aav has quit [Ping timeout: 260 seconds]
<SeanTAllen> emilbayes: check out how the read buffer works in TCPConnection. That might be what you are looking for.
<emilbayes> SeanTAllen: Ok, will do!
<emilbayes> SeanTAllen: Feel like I tried to read a lot of code, but didn't check that one :)
<SeanTAllen> Candle: I'm assuming that that error is a formatting issue and the numbers aren't equal but they are "equal" at that lesser level of precision that is being displayed.
<Candle> SeanTAllen: That's a safe assumption. The PR will probably add TestHelper.assert_between or *something* similar.
aav_ has quit []
<tokenrove> usually you want to compare within an epsilon, where the epsilon may be related to the ULP
<Candle> Given that the actual number was comming from the parsed json (thanks for your help there!) and the expected from the unit test; I was surprised that it failed.
<Candle> tokenrove: Yes, like junit assertEquals(double expected, double actual, double epsilon).
<tokenrove> Candle: just in case you haven't seen it, bruce dawson's article about this is good reading: https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/
aav has joined #ponylang
TwoNotes has joined #ponylang
<TwoNotes> Apparently something changed in the syntax for an array literal.
<Candle> TwoNotes: s/,/;/g
nyarum has quit [Remote host closed the connection]
<TwoNotes> That is what I thought, but it does not work when the array literal spans more than one line
<Candle> TwoNotes: ah, yes, then the ; is omitted.
nyarum has joined #ponylang
<TwoNotes> So the REAL separate is just a space - it is a series of expressions within square brackets. The ';' is there to separate expressions on one line?
<Candle> afaik, one element per line and no ;. any that are on the same line are separated by ;.
<TwoNotes> ok
<Candle> tokenrove: Given his conclusions; providing a 3-arg assert is the easiest; delegate that decision to the 'user'.
nyarum has quit [Ping timeout: 260 seconds]
TwoNotes has left #ponylang [#ponylang]
nyarum has joined #ponylang
nyarum has quit [Remote host closed the connection]
vaninwagen_ has quit [Ping timeout: 255 seconds]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 260 seconds]
Praetonus has joined #ponylang
jemc has joined #ponylang
jemc has quit [Ping timeout: 268 seconds]
endformationage has joined #ponylang
TheLemonMan has joined #ponylang
Matthias247 has joined #ponylang
Praetonus has quit [Ping timeout: 268 seconds]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
nyarum has joined #ponylang
nyarum has quit [Remote host closed the connection]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
nyarum has joined #ponylang
_andre has quit [Quit: leaving]
Guest20275 is now known as bougyman
Praetonus has joined #ponylang
nyarum has quit [Remote host closed the connection]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 260 seconds]
nyarum has joined #ponylang
nyarum has quit [Remote host closed the connection]
Matthias247 has quit [Read error: Connection reset by peer]
obadz has quit [Ping timeout: 245 seconds]
obadz has joined #ponylang