On Wednesday, 7 October 2020 at 19:15:42 UTC, aberba wrote:
It seems the D ecosystem is not immediately obvious to some
people. Dub, compilers, and IDEs are recurring issues.
and debbuging (particularly inspection)
I found dub.json has very important info,
To name three : importPaths , libs , dependencies.
When these are right you have started for 80%.
Without nagging, when you begin you are however lost in the woods
and it makes the impression to lose interest completely.
For ease there is : targetName, t
On Tuesday, 6 October 2020 at 18:24:14 UTC, Alaindevos wrote:
There are two subtractions possible.
A machine-one which can be architecture dependent, does not
have the same results on all computers, and behaves like a
modulus in mathematics.
A logical one. For the last one higher classes might
On Wednesday, 7 October 2020 at 11:05:39 UTC, WebFreak001 wrote:
On Tuesday, 6 October 2020 at 22:18:39 UTC, Alaindevos wrote:
I have a large table consisting of two columns.One with
words.Another with frequencies. I want to sort them
efficiently according to the names or frequency.
For this I
I'm trying to implement some mix of native and custom stack trace
dump for exception logging: I want to print custom text instead
of some stack frames. To clarify more: I have a function that I
want to substitute with other text in stack dump and this
function has to be in stack dump to make th
On Thursday, 8 October 2020 at 08:48:45 UTC, Andrey Zherikov
wrote:
I'm trying to implement some mix of native and custom stack
trace dump for exception logging: I want to print custom text
instead of some stack frames. To clarify more: I have a
function that I want to substitute with other tex
Because when the eventhandler takes to much time the application
is no longer responsive.
And even a simple redraw request is not performed before ending
of the thread.
A small and short demo app would nice. Or guideline and direction.
On Thursday, 8 October 2020 at 15:59:15 UTC, Alaindevos wrote:
Because when the eventhandler takes to much time the
application is no longer responsive.
And even a simple redraw request is not performed before ending
of the thread.
A small and short demo app would nice. Or guideline and
directi
One thing I want to do is in an eventhandler of a button released
event which takes minutes in duration to change the state of the
statusbar indicating something is going on.
But the statusbar is not redrawn before the evenhandler finishes.
Better would be to start a new thread but D-spwawn-thr
On Thursday, 8 October 2020 at 17:02:55 UTC, Alaindevos wrote:
One thing I want to do is in an eventhandler of a button
released event which takes minutes in duration to change the
state of the statusbar indicating something is going on.
But the statusbar is not redrawn before the evenhandler
f
See
https://forum.dlang.org/post/kqvpjwbkpravywald...@forum.dlang.org
On Tuesday, 6 October 2020 at 18:24:14 UTC, Alaindevos wrote:
A logical one. For the last one higher classes might be needed.
Also assert(5/3==1);
I created blindly a thread and this allowed to do stuff in
background.
But when i passed the mainwindow as argument and did some stuff
it resulted in,
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and
XInitThreads has not been called
[xc
The idea looked good but gtk was unhave when 1000 labels where
updated by another thread.
On Thursday, 8 October 2020 at 19:53:26 UTC, Alaindevos wrote:
I created blindly a thread and this allowed to do stuff in
background.
But when i passed the mainwindow as argument and did some stuff
it resulted in,
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a
On Thursday, 8 October 2020 at 19:57:12 UTC, Alaindevos wrote:
The idea looked good but gtk was unhave when 1000 labels where
updated by another thread.
Are you using Idle? If yes, and still having issues? Sorry, I
cannot help further.
No use geany. The error occurs also when no editor is open.
I think the gtk libraries are not meant to be used in
multithreaded way, where gtk is not knowing what is happening.
A process in background doing file things is no problem.
It is when a process in background tries to update a lot of
w
I did not used glib.idle. Probably this is essential.
I'll try your example. Thanks.
With idle (not the editor :)) , it works perfect. Thanks for your
help.
How auto convert Variant to required function arguments?
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
Request your help, the below code is working but we need
the output as a json array, in PHP we have
json_encode(content), so how to do the same in D, the output
is a
On Thursday, 8 October 2020 at 13:13:16 UTC, Imperatorn wrote:
Can you share some code? You don't want to use try-catch?
Here is minimal example that illustrates this:
=
import std.stdio;
void do_assert() { assert(false); }
void stackFrame()
{
//pragma(inline, false);
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
...
auto content = https.perform();
https.shutdown;
JSONValue jv = parseJSONValue(content);
Maybe
JSONValue jv =
On Friday, 9 October 2020 at 05:30:34 UTC, ikod wrote:
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
...
auto content = https.perform();
https.shutdown;
JSONVa
25 matches
Mail list logo