Paul Cassella

Results 21 comments of Paul Cassella

> At this point it is easier for me to look at the internal representation directly and simplify the source program to the point where it makes no sense. Sure....

I like the control `writeln()` gives now. If I want to concatenate three strings, I can do that. If I want to separate them with spaces, I can do that....

I think something like this should work for generic functions, if I could figure out how to declare a lambda that throws. ```chapel use UnitTest; use UnitTest.TestError; // needed to...

I think I'd just copied that from the example code you posted 12 hours ago. :) I didn't have a reason besides that.

FWIW, on main now after #20788, the idea of the "lambda" approach works now with the new FCF `proc()` syntax, ```chapel // Good Pass -- NoThrow, doesn't throw proc testFun(test...

I have no idea what's going on inside `Curl.chpl` in terms of pushing the data around, but if I change the `urlwriter.write()` line to ``` urlwriter.write(jsonPayload); ``` The payload makes...

I don't know. The libcurl example codes in other languages don't have to use those in order to do a POST. `Curl.chpl` is doing something complicated with qio and libcurl's...

Observations: With the changes above, strace shows CurlUtil is sending the headers and a `Expect: 100-continue` line, then sending the data passed to `urlwriter.write()`. Removing the call to `urlwriter.write()` entirely...

`Curl.chpl` is setting up these urlreader and urlwriter objects in order to provide file-like access to the HTTP "streams" in an asynchronous manner. I think that's what's making things difficult...

I think the json syntax error at least is because you want `"foo-two": "bizz"`, not `"foo-two", "bizz"`. Without the headers, I think libcurl or the server is interpreting that whole...