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
acarrico has joined #ponylang
acarrico has quit [Ping timeout: 246 seconds]
<jdhorwitz> Last week in pony - October 28, 2018 - https://www.ponylang.io/blog/2018/10/last-week-in-pony---october-28-2018/
endformationage has quit [Quit: WeeChat 1.9.1]
_whitelogger has joined #ponylang
_whitelogger has joined #ponylang
rjframe has joined #ponylang
bougyman has quit [Ping timeout: 260 seconds]
bougyman has joined #ponylang
rjframe has quit [Quit: Leaving]
acarrico has joined #ponylang
pzel has joined #ponylang
endformationage has joined #ponylang
ExtraCrispy has quit [Remote host closed the connection]
ExtraCrispy has joined #ponylang
TwoNotes has joined #ponylang
<TwoNotes> 'let' creates a reference but does not copy the value. Is there a generic way to copy a value so for example, I can convert a 'val' into an 'iso'
<SeanTAllen> No. There is no generic "clone" or "deep clone" that everything must implement
ExtraCrispy has quit [Remote host closed the connection]
<TwoNotes> ok. I have a wrapper class around these values - I can add a 'clone this' method. I need that anyway because the underlying data is in a memory-mapped database that can change out from under when you aren't looking
TwoNotes has left #ponylang [#ponylang]
aturley has quit [Quit: aturley]
aturley has joined #ponylang
pzel has quit [Ping timeout: 244 seconds]
acarrico has quit [Ping timeout: 240 seconds]
<rkallos> I took at look at https://github.com/nodejs/http-parser which looks like it might be wrappable in Pony. Has anyone here tried, or known anyone who has? I'm probably gonna take a stab at it
<SeanTAllen> rkallos: i'm not aware of anyone having tried it. have at it!
<SeanTAllen> i was going to write a high perf http parser for pony then remembered that i never want to do that ever again in my life
<SeanTAllen> (write a high perf http parser that is)
<SeanTAllen> i also never want to write another http server again
<rkallos> I read through the Joyent code, and while I've never implemented an http parser myself, I can imagine the amount of pain it must inflict :'(
<SeanTAllen> its not a good protocol.
<SeanTAllen> so many edge cases and it definitely wasn't designed to make performance easy
<rkallos> Do you know offhand of any Pony libraries that 'bare functions' for passing to C libs as callback functions?
<SeanTAllen> hmmm
<SeanTAllen> not offhand
<SeanTAllen> that would be a good addition to the tutorial
<rkallos> The way nodejs/http-parser works is by letting users specify callback functions to get called at various points in parsing. If/when I get started, I'll try to muddle my way through, then maybe at the end there'll be some examples and prose to add to the tutorial :-)
<SeanTAllen> sounds like a plan
<rkallos> On another note, I re-read Helland's Life Beyond Distributed Transactions today. It was a good day
<SeanTAllen> Which version?
<SeanTAllen> 2007 or 2013?
<rkallos> The ACM Queue publication, so... 2016?