aturley has quit [Read error: Connection reset by peer]
aturley has joined #ponylang
<Candle>
SeanTAllen: Ha! While I believe it conforms to the websocket spec, it does need some tidy-up. I also need to use it to find the usability & functional bugs.
<vaninwagen>
I am dreaming of a future where the https://github.com/ponylang/http repo incorporates websocket support, so one can add websocket support to any webserver :)
<Candle>
On my (ever growing) list is starting from scratch with HTTP, focusing on library usability, and starting with the client side. Mixing too much server and client bits seems like a recipe for complexity.
<vaninwagen>
It does.
<Candle>
My initial attempt at client side websocket was to use the server implementation as a library; but there's too much couplng and private elements to make that a viable option.
<vaninwagen>
If you have any design ideas or api suggestions, you are more than welcometon join in shaping: https://github.com/ponylang/http
<vaninwagen>
We can also start separating client and server side already
<Candle>
Sure. I would expect it to actually be three bits. request/response parsing is almost the same. Both sides need to know about request and response objects, so sharing those seems sensible.
Foaly has joined #ponylang
<Candle>
I've also got 3? projects that are on hold because the current HTTP implementation seems to send a TCP FIN before it's transmitted the response body. (I'm sure I created a gh issue somewhere...)
<vaninwagen>
K, i am putting that at the front of my queue
<Candle>
They're all toy projects, so really not a priority, the core works, I just havn't been able to expose the json-over-http interface, I've just exposed the CLI interface!
* Candle
goes digging in his IRC history for GH issues...
<malthe>
ultimately "/bin/sh: clang-6.0: command not found"
acarrico has joined #ponylang
dx_ob has joined #ponylang
OtakuSenpai has quit [Ping timeout: 252 seconds]
dx_ob has quit [Quit: Leaving]
PrsPrsBK has quit [Read error: Connection reset by peer]
PrsPrsBK has joined #ponylang
<vaninwagen>
I merged a PR to fix it
<vaninwagen>
Should work now if you rebase your branch on current master
OtakuSenpai has joined #ponylang
<SeanTAllen>
vaninwagen: i take it a llvm-6 is now available from homebrew?
<vaninwagen>
Yes the package is called llvm@6 , the plain llvm is actually llvm 7
<SeanTAllen>
yup I see llvm@6
<SeanTAllen>
yeah I had left a note about that in the comments on it
<SeanTAllen>
that it would have to be switched
<vaninwagen>
That was a very nice note, i was happy about it
<SeanTAllen>
i thought it would come in handy
OtakuSenpai has quit [Ping timeout: 252 seconds]
Foaly has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
OtakuSenpai has joined #ponylang
OtakuSenpai has quit [Remote host closed the connection]
aturley has joined #ponylang
OtakuSenpai has joined #ponylang
simuloid has joined #ponylang
<simuloid>
Hello everybody. I am very unfamiliar with IRC.
<simuloid>
I was writing my first pony code today and discovered that I can't use underscores anywhere in an identifier except the first character (for private members).
OtakuSenpai has quit [Read error: Connection reset by peer]
<simuloid>
I was wondering why the restriction on using underscore as a word separator in identifiers is codified in the language. I have found it useful in other languages.
<vaninwagen>
There is no such restriction afaik
<vaninwagen>
Can you paste an example?
<simuloid>
Yes, just one moment...
<simuloid>
(IRC question: is there a way to paste code so it's formatted? This is only 4 or 5 lines)
<aturley>
simuloid the best way to share might be to post a link to the pony playground.
<simuloid>
I think this might only apply to types (or maybe just type aliases). I am able to use underscores in let and var expressions.
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
endformationage has joined #ponylang
<Candle>
simuloid: There is a restriction, on;y private fields and functions can start with a _. If you want "another X, a bit like X but not quite" then suffix it with any number of ' characters.