Re: Hello dears, where I can deploy my vibe-d project? Someone know any hosting?

2024-10-03 Thread matheus via Digitalmars-d-learn
On Thursday, 3 October 2024 at 08:51:12 UTC, Danic wrote: I want to know where publish mi D web Look for Adam D. Ruppe on D IRC Channel, he used to deploy some D web apps, he may help you. Matheus.

Re: Wrapper for PAM

2024-10-03 Thread Salih Dincer via Digitalmars-d-learn
On Thursday, 3 October 2024 at 22:54:53 UTC, Alexander Zhirov wrote: I want to try to make access via D to PAM. ```d /// I added it here: import pam_wrapper; int main(string[] args) { if (args.length < 3) { writeln("Usage: ", args[0], " "); return 1; } /// I added it h

Wrapper for PAM

2024-10-03 Thread Alexander Zhirov via Digitalmars-d-learn
I want to try to make access via D to PAM. I'm trying to write basic things. I would like to know how to best transform access to callback functions? For example, so that there is no need to cast to a type and use binding to `extern`, move all this to a library? ```d extern(C): struct pam_me

Genuine copy of an element from an associative array

2024-10-03 Thread Holzofen via Digitalmars-d-learn
This is my (feeble) source code, for testing purposes only: uint64 sod_decompose(const uint64 n, const uint64 mod, const ref uint64[] primes, const ref uint64[uint64][uint64] factorials) { auto result = factorials[n]; for (uint64 k = 2; k < n - 1; k++) { aut

Re: Hello dears, where I can deploy my vibe-d project? Someone know any hosting?

2024-10-03 Thread Serg Gini via Digitalmars-d-learn
On Thursday, 3 October 2024 at 08:51:12 UTC, Danic wrote: I want to know where publish mi D web I think any hosting that supports binary deployment

Re: Hello dears, where I can deploy my vibe-d project? Someone know any hosting?

2024-10-03 Thread Imperatorn via Digitalmars-d-learn
On Thursday, 3 October 2024 at 08:51:12 UTC, Danic wrote: I want to know where publish mi D web You can try Railway or Heroku for example. Or if you like Azure you could host it there as well. I've used Azure before and it's quite easy imo.

Re: Hello dears, where I can deploy my vibe-d project? Someone know any hosting?

2024-10-03 Thread Andy Valencia via Digitalmars-d-learn
On Thursday, 3 October 2024 at 08:51:12 UTC, Danic wrote: I want to know where publish mi D web You didn't say what platform you were comfortable operating. For Linux, I've often used Debian on a Linode nano instance. $5/month, and with an efficient app, by the time you outgrow it, you can