Re: Search for the dialog library

2023-10-15 Thread Imperatorn via Digitalmars-d-learn
On Sunday, 15 October 2023 at 23:01:05 UTC, Alexander Zhirov wrote: On Sunday, 15 October 2023 at 21:46:44 UTC, Dmitry Ponyatov wrote: Maybe it's time to port the old warm tubby Turbo Vision into the glorious D lang? https://github.com/magiblot/tvision Since there was a conversation about

Re: Forcing my module to be initialized first

2023-10-15 Thread dan via Digitalmars-d-learn
On Monday, 16 October 2023 at 04:26:32 UTC, Paul Backus wrote: On Monday, 16 October 2023 at 03:31:13 UTC, dan wrote: I have some code that i would like executed before anything else is. The code is to set an environment variable which is used by a library. I'm trying to find some way to

Re: Forcing my module to be initialized first

2023-10-15 Thread dan via Digitalmars-d-learn
On Monday, 16 October 2023 at 03:33:55 UTC, Richard (Rikki) Andrew Cattermole wrote: On 16/10/2023 4:31 PM, dan wrote: I suppose if i could figure out a way to make all other modules depend on my module this would happen, but the module which uses the variable i want to set is in some

Re: Forcing my module to be initialized first

2023-10-15 Thread Paul Backus via Digitalmars-d-learn
On Monday, 16 October 2023 at 03:31:13 UTC, dan wrote: I have some code that i would like executed before anything else is. The code is to set an environment variable which is used by a library. I'm trying to find some way to avoid setting the environment variable on the command line, or in

Re: Forcing my module to be initialized first

2023-10-15 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 16/10/2023 4:31 PM, dan wrote: I suppose if i could figure out a way to make all other modules depend on my module this would happen, but the module which uses the variable i want to set is in some already-compiled dynamic library that i would prefer not to touch. If its in a shared

Forcing my module to be initialized first

2023-10-15 Thread dan via Digitalmars-d-learn
I have some code that i would like executed before anything else is. The code is to set an environment variable which is used by a library. I'm trying to find some way to avoid setting the environment variable on the command line, or in any shell script or initialization file. I think the

Re: Search for the dialog library

2023-10-15 Thread Alexander Zhirov via Digitalmars-d-learn
On Sunday, 15 October 2023 at 21:46:44 UTC, Dmitry Ponyatov wrote: Maybe it's time to port the old warm tubby Turbo Vision into the glorious D lang? https://github.com/magiblot/tvision Since there was a conversation about the implementation of the wrapper, it is easier to write a wrapper

Re: Search for the dialog library

2023-10-15 Thread Dmitry Ponyatov via Digitalmars-d-learn
On Saturday, 14 October 2023 at 23:02:34 UTC, Alexander Zhirov wrote: Colleagues, tell me, please, is there any library on D for drawing dialog boxes? Maybe it's time to port the old warm tubby Turbo Vision into the glorious D lang? https://github.com/magiblot/tvision

Re: Benchmarks

2023-10-15 Thread Imperatorn via Digitalmars-d-learn
On Friday, 13 October 2023 at 22:45:19 UTC, Imperatorn wrote: https://github.com/jinyus/related_post_gen Sequential processing time, less is better |Language| Time (5k posts) | 20k posts | 60k posts | Total |

Re: How to use ".stringof" to get the value of a variable and not the name of the variable (identifier) itself?

2023-10-15 Thread Imperatorn via Digitalmars-d-learn
On Saturday, 14 October 2023 at 06:48:40 UTC, rempas wrote: On Friday, 13 October 2023 at 10:11:33 UTC, Nick Treleaven wrote: You can also do it using a string mixin: mixin(create_fn!(mixin("`", i, "`"))); I think that's equivalent to `i.stringof` anyway. Thank you for the info! You