On Monday, 31 July 2023 at 18:15:25 UTC, Jonathan M Davis wrote:
On Monday, July 31, 2023 4:55:44 AM MDT Quirin Schroll via
Digitalmars-d-learn wrote:
Apparently, functions can be overloaded solely distinguished by
attributes:
```d
void f(ref int x) pure { x = 1; }
void f(ref int x) { x = 2
On Monday, 31 July 2023 at 08:58:43 UTC, Johan wrote:
On Monday, 31 July 2023 at 00:32:07 UTC, ryuukk_ wrote:
I reworked the PR, here is the new link:
https://github.com/dlang/dmd/pull/15479
It basically add support for ``pragma(lib,
"local:bin/lib.a");``
Makes things easier, and doesn't ch
Hi,
I want to submit a request to server with "x-www-form-urlencoded"
header. This is the simplified version of my code:
auto http = HTTP("https://myurl.com/api";);
http.addRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
http.addRequestHeader("Authorization",
On Tuesday, 1 August 2023 at 23:57:29 UTC, Vahid wrote:
I want to submit a request to server with
"x-www-form-urlencoded" header.
Isn't https://dlang.org/library/std/net/curl/post.html what you
need?
On 8/1/23 7:57 PM, Vahid wrote:
Hi,
I want to submit a request to server with "x-www-form-urlencoded"
header. This is the simplified version of my code:
auto http = HTTP("https://myurl.com/api";);
http.addRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
ht
On Friday, 28 July 2023 at 20:13:24 UTC, Ruby The Roobster wrote:
This is the only way I could think of doing this, since
exceptions don't travel up the threads.
Thank you for pointing me in the right direction. I think that
exceptions are not really necessary in D for cancellation, as I
sai
On Friday, 28 July 2023 at 08:56:17 UTC, Guillaume Lathoud wrote:
Hello, some context first:
I recently updated a server to Ubuntu 22.04 which appears to
have only openssl 3.0.2 installed. Dub could compile my
project, but could not link it anymore, as the D code seemed to
be expecting openss