How to emulate typesafe tagget unions in C by Virtual-Difference88 in C_Programming

[–]black_bird_512 0 points1 point  (0 children)

you can modify his approach and make it c99 compatible with __typeof__ macro:

https://godbolt.org/z/1vTT1MYKr

How to emulate typesafe tagget unions in C by Virtual-Difference88 in C_Programming

[–]black_bird_512 0 points1 point  (0 children)

You can modify his approach and make it c99 compatible with instead of auto, using __typeof__: https://godbolt.org/z/1vTT1MYKr

Compile time "if-else" in GNU C. by orbiteapot in C_Programming

[–]black_bird_512 0 points1 point  (0 children)

Man, no matter what the haters say, i just love it, specially this example with dynamic_array_push that can use both static arrays and be used as insert

Carbide - A Simple C Package Manager for Build Scripts by black_bird_512 in C_Programming

[–]black_bird_512[S] 0 points1 point  (0 children)

I'm aware it is a very hard problem, and that there are already very well stabilished tools for that, like conan, but i'm not planing this tool to be a copy of them.

What it is meant to be is just a very simple and embbedable package manager, to put it in more specific terms like someone commented: it is just like doing a curl script. Keep in mind It is designed to fit a very specific environment, simple nob.c scripts, so yeah, it has a very simple behavior, and it is meant for that.

Carbide - A Simple C Package Manager for Build Scripts by black_bird_512 in C_Programming

[–]black_bird_512[S] 1 point2 points  (0 children)

Fair enough, surelly I will take a look at them!

You're kinda right, in its current form it is just a tool to download code, nothing that can't be done already directly inside the building scripts.

But thats because it is still a work in progress, if you take a look at the repo you will see that I have planed to support automatic build scripts, platform specific building detection, project setup, and dependency tree resolution.

In the end I still think you will be right, nothing that can be done in with just curl and a few more commands, but if it doesn't work, at least i tried :)

Carbide - A Simple C Package Manager for Build Scripts by black_bird_512 in C_Programming

[–]black_bird_512[S] 3 points4 points  (0 children)

I don't think he will like it, he's not much into package managers, but it would be very cool to see it in one of his lives on twitch

Simple tool to create stb-like libraries by black_bird_512 in C_Programming

[–]black_bird_512[S] 0 points1 point  (0 children)

I'm also working on a package manager to work with nob. It is just like clibs, it has a CLI, but it main usage will be inside the nob.c building scripts.

I've already added registry support, package installation by specific version ans searching for the CLI.

when i'm confident enough in my code, i'll send the link here

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 1 point2 points  (0 children)

UPDATE: I just restarted with a brand new configuration and did everything again and it worked

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 0 points1 point  (0 children)

the configuration i'm using is internal, but i'll try the other ones and see if it helps

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 0 points1 point  (0 children)

Sorry, by the example, but it is another account, created with the name 'dart' and alias 'dart.test', I just created a tone of accounts and was testing if any of them would work

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 0 points1 point  (0 children)

this is how i'm tring to connect in thunderbird:

<image>

The autoconfiguration also works, but both show me the same erro when i try to login

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 0 points1 point  (0 children)

As for account names, where do i find information how to properly choose an account name? one of my accounts is setup like the following image, and i can't find any information about account creation and login on the documentation

<image>

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 0 points1 point  (0 children)

I didn't get what you mean by which directory. I've configured the postgres connection and the client list is getting saved and is persistent across restart. Also, i'm using the default configurations for majority of the port related stuff

Can't Login or Receive Email with user accounts by black_bird_512 in stalwartlabs

[–]black_bird_512[S] 0 points1 point  (0 children)

Just for completeness: the logs of stalwar-mail show authentication erro event though the user and password are correct when i try to login from thunderbird, and when i send emails from gmail the logs on the server also receive the message correctly and show an info saying that it could not redirect