On Saturday, 10 August 2024 at 23:29:42 UTC, Ian wrote:
On Saturday, 10 August 2024 at 18:11:25 UTC, Sergey wrote:
On Saturday, 10 August 2024 at 16:50:11 UTC, Ian wrote:
[...]
Hi Ian.
Many people who previously worked with Visual Studio like
VisualD.
For others one of the best support is i
On Sunday, 11 August 2024 at 20:57:15 UTC, IchorDev wrote:
On Sunday, 11 August 2024 at 06:04:08 UTC, mw wrote:
BTW, for associative array, `remove()` is in-place; but here
for std.algorithm.mutation.remove (*keyword*: mutation), one
need to do
```
array = array.remove(index); // return a
So if I have a feature request, but I don't have the necessary
technical skills to draft a DIP with the implementation details,
is there a process in D community to submit such a request?
Other communities using GitHub have a way to file an issue which
then gets labelled as a feature request a
On Sunday, 7 July 2024 at 15:35:36 UTC, Andrey Zherikov wrote:
On Sunday, 7 July 2024 at 14:49:52 UTC, Anonymouse wrote:
On Sunday, 7 July 2024 at 14:41:31 UTC, Andrey Zherikov wrote:
```d
import std.path;
// Error: no property `asNormaliedPath` for
`dirName("/sandbox/onlineapp.d")` of type `
On Tuesday, 18 June 2024 at 01:38:04 UTC, Vahid wrote:
Hi,
Has anyone here had experience implementing the Google Auth
Library in DLang? Specifically, I am looking for guidance on
handling OAuth 2.0 using JWT. Are there any current libraries
available for this purpose?
You may reference
ht
On Tuesday, 18 June 2024 at 01:38:04 UTC, Vahid wrote:
Hi,
Has anyone here had experience implementing the Google Auth
Library in DLang? Specifically, I am looking for guidance on
handling OAuth 2.0 using JWT. Are there any current libraries
available for this purpose?
This is why I can't u
On Sunday, 17 December 2023 at 22:39:56 UTC, Witold Baryluk wrote:
I made a bit random video on D lang for noobs, and people who
might be interested.
If you program more than one hour in D, do not watch it, but if
you just found about D, feel free to check it out.
It is not too short, and un
On Monday, 1 March 2021 at 22:25:39 UTC, Rey Valeza wrote:
Hi, I wrote a tutorial on Vibe.d while trying to re-learn
Vibe.d. I find that most of Kai Nacke's book need updating, so
I wrote a tutorial while trying to re-learn it.
Here it is.
https://github.com/reyvaleza/vibed/commit/27ec3678f25
On Monday, 18 January 2021 at 13:14:16 UTC, Arafel wrote:
On 18/1/21 13:41, Ola Fosheim Grøstad wrote:
Yes, it is natural that the current D population don't mind
the current GC. Otherwise they would be gone... but then you
have to factor in all the people that go through the revolving
door an
On Monday, 18 January 2021 at 11:55:46 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 18 January 2021 at 11:43:20 UTC, aberba wrote:
Nevertheless, GC in D isn't going anywhere. And if the
approach for writing nogc code in D doesn't cut it, then I'm
not what else will.
As long as that attitude pre
On Monday, 18 January 2021 at 07:11:20 UTC, Ola Fosheim Grostad
wrote:
On Monday, 18 January 2021 at 01:41:35 UTC, James Blachly wrote:
Those were not aberba's words, but the author of the first
link, in which one does find a conceptual, high level
description of GC.
I read it, it said nothin
On Friday, 15 January 2021 at 19:49:34 UTC, Ola Fosheim Grøstad
wrote:
On Friday, 15 January 2021 at 19:37:12 UTC, Guillaume Piolat
wrote:
A small GC heap is sufficient.
There is this blog post where there was a quantitative measure
of the sub-1ms D GC heap size.
That's ok for a small game, b
On Friday, 15 January 2021 at 21:15:29 UTC, aberba wrote:
On Friday, 15 January 2021 at 19:49:34 UTC, Ola Fosheim Grøstad
wrote:
[...]
Isn't it more theoretical/imaginary/hypothetical than something
really measured from a real-world use case? Almost all large
software use cases I've seen use
On Wednesday, 13 January 2021 at 02:02:16 UTC, H. S. Teoh wrote:
On Sun, Jan 10, 2021 at 06:58:13PM +, aberba via
Digitalmars-d-learn wrote:
[...]
First, you need a way to build an APK, and then transfer that
to your Android device for testing. Building an APK *can* be
done manually
I'm looking to explore running a D application on Android based
on Adams previous foundation work. However, I'm not familiar with
the Android + D integration so I need some help.
Has any of you successfully done that? Could use a sample code or
anything I can use to figure out how to start.
On Friday, 1 January 2021 at 22:07:28 UTC, Selim Ozel wrote:
[2] https://github.com/SelimOzel/vibe_noLeaks
I don't see anything abnormal in this code though. Will trying it
later today myself.
Could you show the actual socket code causing that leak?
On Tuesday, 5 January 2021 at 21:12:01 UTC, Selim Ozel wrote:
On Monday, 4 January 2021 at 17:17:10 UTC, Steven Schveighoffer
wrote:
On 1/2/21 12:52 PM, Selim Ozel wrote:
After logging into to 127.0.0.1 for a single time in my
browser, if I do a ctrl+c it still leaks two socket handles.
Wi
On Saturday, 2 January 2021 at 15:48:11 UTC, Kyle Ingraham wrote:
On Friday, 18 December 2020 at 19:14:25 UTC, Daren Scot Wilson
wrote:
So maybe beamui isn't ready for the real world. It's a
one-off personal tool for image processing, maybe will go up
on Github, so I don't need anything super-
On Friday, 1 January 2021 at 22:07:28 UTC, Selim Ozel wrote:
I created the simplest possible example as explained by the
Vibe-D community in [1]. The exact source code of what I run is
in [2].
On Windows I get a socket handle leak warning on shutdown with
crtl+c from terminal after running th
On Wednesday, 23 December 2020 at 08:33:21 UTC, Trustee wrote:
On Tuesday, 22 December 2020 at 23:49:12 UTC, aberba wrote:
On Friday, 18 December 2020 at 03:36:05 UTC, Trustee wrote:
[...]
Heres's a demo I put together
https://github.com/aberba/graphqld-demo
A minimal example with only the
On Friday, 18 December 2020 at 03:36:05 UTC, Trustee wrote:
On Thursday, 17 December 2020 at 14:49:42 UTC, evilrat wrote:
On Tuesday, 15 December 2020 at 16:25:29 UTC, Trustee wrote:
connect a basic vibe-d app to a graphql backend.
umm, what?
Did you mean write graphql backend using vibe.d?
On Friday, 18 December 2020 at 02:46:32 UTC, Trustee wrote:
On Thursday, 17 December 2020 at 14:49:42 UTC, evilrat wrote:
On Tuesday, 15 December 2020 at 16:25:29 UTC, Trustee wrote:
connect a basic vibe-d app to a graphql backend.
umm, what?
Did you mean write graphql backend using vibe.d?
On Friday, 18 December 2020 at 19:15:16 UTC, Daren Scot Wilson
wrote:
On Wednesday, 16 December 2020 at 07:45:50 UTC, Ferhat
Kurtulmuş wrote:
On Wednesday, 16 December 2020 at 07:40:45 UTC, Ferhat
Kurtulmuş wrote:
This may be not your issue, but I could manage it to work by
adding this line:
On Tuesday, 15 December 2020 at 16:25:29 UTC, Trustee wrote:
Is there anyone willing to help me get started with GraphQLD.
I have some experience with graphql in node.
My D is intermediate at best but i can learn fast with guidance.
I am able to build and deploy vibe-d apps locally and on hero
On Wednesday, 16 December 2020 at 07:02:11 UTC, Daren Scot Wilson
wrote:
Trying out the beamui GUI package, obtained by git clone from
github. The "basic" example builds and runs.
[...]
When you look inside the examples folders, you'll see all the
dependencies required to get it to work.
On Friday, 27 November 2020 at 04:08:33 UTC, Q. Schroll wrote:
On Thursday, 26 November 2020 at 05:29:16 UTC, Mike Parker
wrote:
Tomorrow, I'll try setting up a dual boot and give it a shot
there. (Not the dub experience but following
https://wiki.dlang.org/Building_under_Posix)
Have you h
On Friday, 27 November 2020 at 20:00:22 UTC, aberba wrote:
On Thursday, 26 November 2020 at 12:13:59 UTC, vnr wrote:
On Linux, both Flatpak and Snap all provide suck functionality.
Such* was what I meant 😁.
On Flatpak, it's not really a pure auto-update...but users get to
up update from t
On Thursday, 26 November 2020 at 12:13:59 UTC, vnr wrote:
Hello,
I have a program written in D which is open-source on GitHub.
I would appreciate it if, when I release a new version, users
would be notified by the program and that it offers an
automatic update, i.e. the user doesn't have to r
On Friday, 20 November 2020 at 19:12:38 UTC, Alaindevos wrote:
I bought the book "D Web Development".
I understand only 20% of the book,the other 80% is way above my
head.
Compare, I own a book on flask development, and I understand
100% of it.
Which means I can use dlang for anything except QT
On Wednesday, 28 October 2020 at 15:15:40 UTC, Paul wrote:
per the D sample wc2.d
size_t[string] dictionary; <-is printed by...
.
foreach (word1; dictionary.keys.sort) writef etc
I want to print the dictionary sorted by value not key. I can
write an algorithm but is there a librar
On Thursday, 22 October 2020 at 18:43:40 UTC, Steven
Schveighoffer wrote:
On 10/22/20 11:00 AM, Vino wrote:
[...]
Different error:
Row[] data = conn.query("SELECT * FROM hostlog").array;
This is trying to call mysql-native's UFCS query function on
Connections, which isn't valid. You need t
On Saturday, 17 October 2020 at 14:53:35 UTC, Alaindevos wrote:
I've written the beginning but dont know how to end.
What is the way to add functionality for the add,edit,delete
button ?
//==
import gtk.Button;
import gtk.Box;
import gtk.Label;
import gtk.Entry;
On Wednesday, 14 October 2020 at 15:11:29 UTC, Alaindevos wrote:
Is there an example just more functional then skeleton http
server ?
Sending data to the server and back .
If you're having vibe.d trouble and can't get a quick response,
jump in the discord. We're there to help?
On Tuesday, 13 October 2020 at 17:02:54 UTC, Jack wrote:
On Tuesday, 13 October 2020 at 08:07:17 UTC, aberba wrote:
On Friday, 9 October 2020 at 21:07:28 UTC, jack wrote:
[...]
https://www.github.com/vibe-d/vibe.d/tree/master/examples%2Fweb-i18n
There's also an example here
My dub.json fil
On Tuesday, 13 October 2020 at 15:02:08 UTC, Alaindevos wrote:
What is weird is that rails is THE ruby application , that
flask is the python application, and that dlang can't have
something like that in their standard library.
An opportunity missed.
On the other hand I don't understand the int
On Friday, 9 October 2020 at 21:07:28 UTC, jack wrote:
Documentation[1] tells to use
@translationModule!TranslationContext on class, like this:
@translationModule!TranslationContext
class WebInterface {
...
but it return the error:
Error: template instance
translationModule!(TranslationCon
On Friday, 9 October 2020 at 21:07:28 UTC, jack wrote:
Documentation[1] tells to use
@translationModule!TranslationContext on class, like this:
@translationModule!TranslationContext
class WebInterface {
...
but it return the error:
Error: template instance
translationModule!(TranslationCon
On Friday, 9 October 2020 at 21:07:28 UTC, jack wrote:
Documentation[1] tells to use
@translationModule!TranslationContext on class, like this:
[...]
but it return the error:
[...]
it seems that construtor was removed[2] but I can't find the
replacement anywhere. Could someone help wit
On Saturday, 3 October 2020 at 11:31:27 UTC, Robert M. Münch
wrote:
On 3 Oct 2020 at 13:14:57 CEST, "0xEAB"
wrote:
On Saturday, 3 October 2020 at 07:54:58 UTC, Martin wrote:
On Friday, 2 October 2020 at 09:46:09 UTC, Denis Feklushkin
wrote:
Because standard implementation worse?
What
On Monday, 12 October 2020 at 11:06:55 UTC, Robert M. Münch wrote:
On 11 Oct 2020 at 16:46:13 CEST, "Ola Fosheim Grøstad"
wrote:
Ada, Java, Eiffel are supposed to.
Yes... beside Java, the other two are already in the exotic
department...
I'm not sure if Go is a success in that department
On Monday, 5 October 2020 at 09:05:16 UTC, Alaindevos wrote:
On Monday, 5 October 2020 at 08:54:39 UTC, Daniel Kozak wrote:
On Mon, Oct 5, 2020 at 10:25 AM Alaindevos via
Digitalmars-d-learn < digitalmars-d-learn@puremagic.com> wrote:
[...]
Yes and no. Dub is Dlang dependency solution but i
On Thursday, 1 October 2020 at 06:32:23 UTC, Robert M. Münch
wrote:
Hi, we are currently using vibe.d for a prototype and I want to
post some experiences. I know one shouldn't only address the
problems but provide some solutions.
[...]
I've been in a similar position once... when it slows y
On Wednesday, 30 September 2020 at 12:38:10 UTC, seany wrote:
On Wednesday, 30 September 2020 at 12:29:06 UTC, Daniel Kozak
wrote:
Dne st 30. 9. 2020 13:25 uživatel seany via
Digitalmars-d-learn < digitalmars-d-learn@puremagic.com>
napsal:
Hello
I am trying to use this example for a iot app
On Saturday, 19 September 2020 at 11:39:45 UTC, Jacob Carlborg
wrote:
On Saturday, 19 September 2020 at 07:43:24 UTC, Russel Winder
wrote:
Doesn't that then make the whole DDoc system fairly useless,
despite it's use in Phobos?
Yes. The problem is that most things in D are compared with C
On Friday, 18 September 2020 at 07:44:50 UTC, Dylan Graham wrote:
On Monday, 7 September 2020 at 19:12:59 UTC, aberba wrote:
[...]
I use D in an automotive environment (it controls parts of the
powertrain, so yeah there are cars running around on D) on
various types of ARM Cortex M CPUs, I t
On Saturday, 19 September 2020 at 20:17:06 UTC, aberba wrote:
On Friday, 18 September 2020 at 22:31:09 UTC, mw wrote:
On Friday, 18 September 2020 at 00:07:12 UTC, wjoe wrote:
Are there other frameworks besides vibe that can do what I
want?
Personally I use vibe.d for basic side projects. Lo
On Friday, 18 September 2020 at 22:31:09 UTC, mw wrote:
On Friday, 18 September 2020 at 00:07:12 UTC, wjoe wrote:
Are there other frameworks besides vibe that can do what I
want?
Just FYI, there is also:
https://code.dlang.org/packages/hunt-framework
I never used myself, you need to invest
On Friday, 18 September 2020 at 00:07:12 UTC, wjoe wrote:
On Thursday, 17 September 2020 at 22:33:46 UTC, Steven
Schveighoffer wrote:
On 9/17/20 6:13 PM, aberba wrote:
On Thursday, 17 September 2020 at 21:57:37 UTC, Steven
Schveighoffer wrote:
On 9/17/20 1:08 PM, wjoe wrote:
[...]
the `file
On Thursday, 17 September 2020 at 21:57:37 UTC, Steven
Schveighoffer wrote:
On 9/17/20 1:08 PM, wjoe wrote:
[...]
the `files` property actually does the processing only when you
call it.
If you access the `bodyReader` property directly, you can
process that data yourself. You can even regi
On Thursday, 17 September 2020 at 16:32:55 UTC, WebFreak001 wrote:
On Thursday, 17 September 2020 at 16:00:33 UTC, wjoe wrote:
I found this [1] but unfortunately the post this refers to is
a dead link and the content, unfortunately, didn't tell me
anything that I didn't already find in the docs
On Monday, 7 September 2020 at 16:18:00 UTC, IGotD- wrote:
On Monday, 7 September 2020 at 15:23:28 UTC, Severin Teona
wrote:
[...]
Use betterC, which is much better suited for microcontrollers
than the full D. The disadvantage is that many great features
are disabled in betterC.
[...]
Ho
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote:
Hello everyone,
I am looking for a master thesis topic using D Programming
language. Earlier I choose Design by Introspection, but I did
not find enough material in academic journals. DbI total
material which I found is DConf An
On Tuesday, 25 August 2020 at 16:52:17 UTC, aberba wrote:
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote:
Academic don't know innovation. Only history :)
Academia*
On Friday, 21 August 2020 at 09:50:38 UTC, ddcovery wrote:
On Friday, 21 August 2020 at 08:48:34 UTC, ddcovery wrote:
On Thursday, 20 August 2020 at 21:36:04 UTC, Andre Pany wrote:
[...]
Thanks a lot Andre,
I opened immediately the issues to receive some feedback:
[...]
EDIT: 23 days ago n
On Wednesday, 19 August 2020 at 21:24:23 UTC, Mike Brown wrote:
Hi all,
I'd like to make a WASM project, and looking into options.
It's scattered in several places including
https://gist.github.com/skoppe/7617ceba6afd67b2e20c6be4f922725d
Are you aware of Spasm?
https://github.com/skoppe/spasm
On Thursday, 13 August 2020 at 09:54:06 UTC, Mr. Backup wrote:
On Wednesday, 12 August 2020 at 13:46:06 UTC, James Blachly
wrote:
Unfortunately the problem still occurs with Vibe.d 0.9.0
IMO **this is the single most important problem to fix** for
vibe.d -- if the most basic of examples (inde
On Sunday, 16 August 2020 at 20:53:41 UTC, JN wrote:
Related to this thread:
https://forum.dlang.org/post/xtjzhkvszdiwvrmry...@forum.dlang.org
I don't want to hijack it with my newbie questions. What is
autodecode and why is it such a big deal? From what I've seen
it's related to handling Uni
On Friday, 7 August 2020 at 21:02:03 UTC, Per Nordlöw wrote:
On Thursday, 6 August 2020 at 22:24:43 UTC, Paul Backus wrote:
[1] https://dlang.org/spec/expression.html#is_expression
I bet there a several places in Phobos where this feature isn't
but could be used.
I feel same. That there's a
Syntactically they look the same (although D's can do more
things) so I'm trying to understand how why in D it's called
template but in languages like C#/Java they're generics.
I guess I have fair understanding of D's code generation but
isn't it same as what what is available in those langua
On Thursday, 30 July 2020 at 12:28:08 UTC, Adam D. Ruppe wrote:
On Thursday, 30 July 2020 at 12:22:46 UTC, aberba wrote:
[...]
I don't think I wrote it as a library yet, but the idea is
pretty simple: they all start with "data:" so you look for that.
Then there's a type after that, so you r
So I have a base64 image url string and I'm trying to generate a
png,jpg image file from it.
I'm able to decode it to a buffer but the trouble is getting it
from buffer to an actual image file. Any library function
combination I can use?
On Monday, 27 July 2020 at 11:39:32 UTC, John Burton wrote:
On Wednesday, 15 July 2020 at 22:18:47 UTC, H. S. Teoh wrote:
On Wed, Jul 15, 2020 at 09:27:22PM +, tastyminerals via
Digitalmars-d-learn wrote: [...]
[...]
Why not? It's a *wiki*. Wikis are intended for the user
community (i.
On Tuesday, 21 July 2020 at 12:00:03 UTC, bioinfornatics wrote:
Dear,
I would like to use OpenCL in D. Thus I try to use DerelictCL.
But I fail to use it I encounter this error message:
--
/opt/jonathan/jonathan-dlang_ldc2092/root/usr/include/d/derelict/opencl/constants.di(835):
Err
On Monday, 20 July 2020 at 18:08:02 UTC, Marcone wrote:
How Install and Configure DCD (D Completion Daemon) on Sublime
Text?
I need auto complete for the Dlang in Sublime Text.
Recently tried sublime myself for D since its quite lightweight
compared to VS code for when I need to write somethi
On Saturday, 18 July 2020 at 00:23:22 UTC, Marcone wrote:
I need full Phobos Runtime Library docummentation in only one
PDF file.
I'm not sure how to generate docs in a single html page but
there's external services or tools to terms HTML files into PDF
and much it all into one. This can be a
On Wednesday, 29 January 2020 at 20:50:14 UTC, Pavel Shkadzko
wrote:
I've been skimming through https://dlang.org/spec/ddoc.html in
order to understand how can one use ddoc to generate nice
htmls. [...]
This post contains information on how to do that.
https://dlang.org/blog/2017/03/08/editab
On Wednesday, 29 January 2020 at 20:50:14 UTC, Pavel Shkadzko
wrote:
I've been skimming through https://dlang.org/spec/ddoc.html in
order to understand how can one use ddoc to generate nice
htmls. I tend to use markdown to log some daily work or copy
down code examples. For learning purposes I
On Thursday, 16 July 2020 at 14:17:10 UTC, WebFreak001 wrote:
On Thursday, 16 July 2020 at 13:54:56 UTC, aberba wrote:
On Thursday, 16 July 2020 at 13:41:31 UTC, aberba wrote:
On Thursday, 16 July 2020 at 09:47:02 UTC, WebFreak001 wrote:
[...]
Since its based on WikiMedia, searched an came u
On Thursday, 16 July 2020 at 13:41:31 UTC, aberba wrote:
On Thursday, 16 July 2020 at 09:47:02 UTC, WebFreak001 wrote:
[...]
Since its based on WikiMedia, searched an came up with this [1]
to embed in iframe
1. https://www.mediawiki.org/wiki/Extension:Iframe
Also the D Tour uses codemirro
On Thursday, 16 July 2020 at 09:47:02 UTC, WebFreak001 wrote:
Is there a way to integrate some kind of "run this source code"
button into the D wiki using run.dlang.io?
If there isn't, it would be nice to add this kind of thing as
plugin with the possibility of also including the editor so you
On Wednesday, 15 July 2020 at 04:19:57 UTC, bauss wrote:
On Sunday, 12 July 2020 at 19:16:32 UTC, aberba wrote:
3) packages, now it might be better though. But I've always
felt that there's not a lot of people using D for complete web
dev projects...
I implement most things I need myself;
So I'm looking to make changes to the D wiki but I'm not sure who
to talk to about such changes.
Currently: Move all other IDEs low-quality down (maybe to Others)
and focus on just the few that really works (IntelliJ, Visual
Studio Code and Visual Studio). Instead of many options that
don't w
On Wednesday, 15 July 2020 at 07:01:34 UTC, WebFreak001 wrote:
On Tuesday, 14 July 2020 at 20:37:53 UTC, Marcone wrote:
[...]
Additionally to the other answers telling you how to fix it,
it's important to know why it happens in the first place:
[...]
Without reading this very explanation,
On Monday, 13 July 2020 at 00:57:02 UTC, Marcone wrote:
On Sunday, 12 July 2020 at 02:10:11 UTC, Marcone wrote:
I don't want start program with admin elevation, but ask user
for admin permission when some function is called.
alias runas = compose!(x => to!bool((cast(int) x) > 32), x =>
ShellE
On Sunday, 12 July 2020 at 10:01:54 UTC, greatsam4sure wrote:
I am thinking of building an App with Vibe. D or NodeJS but my
topmost priority is speed and ease of development due to third
party libraries integration. I know Vibe. D is faster than
NodeJS and I love to use Dlang. My question is c
On Saturday, 4 July 2020 at 19:52:42 UTC, Arafel wrote:
On 4/7/20 19:58, Paul Backus wrote:
You're looking for code-d:
https://github.com/Pure-D/code-d
Thanks! I'm trying it, although at least with VSCodium and
Linux I had to build from sources, it didn't show by searching
in the marketpla
On Tuesday, 30 June 2020 at 14:43:40 UTC, Steven Schveighoffer
wrote:
On 6/30/20 10:15 AM, Simen Kjærås wrote:
[...]
My thinking is I don't want regular consumers using the package
to think about the technicality of thread_joinAll() at all.
Thinking about putting it in a mixin like:
mixin
On Tuesday, 30 June 2020 at 12:48:32 UTC, Simen Kjærås wrote:
On Tuesday, 30 June 2020 at 08:15:54 UTC, aberba wrote:
On Tuesday, 30 June 2020 at 00:33:41 UTC, Ali Çehreli wrote:
On 6/29/20 4:34 PM, aberba wrote:
> So with this, without the Thread.sleep() to block main from
exiting, the
> spaw
On Tuesday, 30 June 2020 at 00:33:41 UTC, Ali Çehreli wrote:
On 6/29/20 4:34 PM, aberba wrote:
> So with this, without the Thread.sleep() to block main from
exiting, the
> spawned thread will terminate immediately.
You can call core.thread.thread_joinAll at the end of main.
So I tried that ini
On Sunday, 28 June 2020 at 14:23:01 UTC, Stanislav Blinov wrote:
On Sunday, 28 June 2020 at 13:29:08 UTC, aberba wrote:
[...]
The error you're getting is because you're passing a pointer to
a delegate instead of a delegate.
[...]
So with this, without the Thread.sleep() to block
On Sunday, 28 June 2020 at 23:39:07 UTC, Stanislav Blinov wrote:
On Sunday, 28 June 2020 at 23:02:26 UTC, aberba wrote:
I believe this:
StopWatch sw;
sw.start;
works becuse D structs are initialized by default, right?
I've never actually done it this way. Little details.
Yup. You can also d
On Sunday, 28 June 2020 at 23:02:26 UTC, aberba wrote:
On Sunday, 28 June 2020 at 14:23:01 UTC, Stanislav Blinov wrote:
On Sunday, 28 June 2020 at 13:29:08 UTC, aberba wrote:
Thanks.
I believe this:
StopWatch sw;
sw.start;
works becuse D structs are initialized by default, right?
I've neve
On Sunday, 28 June 2020 at 14:23:01 UTC, Stanislav Blinov wrote:
On Sunday, 28 June 2020 at 13:29:08 UTC, aberba wrote:
Thanks.
I believe this:
StopWatch sw;
sw.start;
works becuse D structs are initialized by default, right?
I've never actually done it this way. Little details.
Trying to implement a setInterval() that I can cancel using:
Tid tid = setInterval(2000, (){ writeln("hello");})
And then I can do:
stopInterval(tid);
With something like this:
stopInterval(Tid tid) {
send(tid, "cancel");
}
import std.stdio : writeln;
import std.concurrency : receive, s
On Sunday, 28 June 2020 at 07:09:53 UTC, Виталий Фадеев wrote:
I want light-weight runtime !
How to ?
If you have access to Google translate or any equivalent tool,
you may use it to write in Russian language and copy+paste the
English here. I think that'll really help.
I always give deep
On Saturday, 20 June 2020 at 19:39:56 UTC, Vinod K Chandran wrote:
On Saturday, 20 June 2020 at 13:46:05 UTC, Dennis wrote:
Thanks a lot. Well, i thought it should be a one liner like-
Clipboard.SetText(sText)
But after reading your reply, i realized that this is D, not a
scripting language.
On Friday, 19 June 2020 at 11:57:01 UTC, frasdoge wrote:
I am looking to use D for microcontroller programming due to
its benefits over C in workflow and general language features.
I was wondering what the current state of this is, especially
with regards to AVR. An example of the MCUs I would
On Thursday, 18 June 2020 at 15:03:38 UTC, Steven Schveighoffer
wrote:
On 6/18/20 10:53 AM, aberba wrote:
On Tuesday, 12 December 2017 at 20:51:30 UTC, Steven
Schveighoffer wrote:
On 12/11/17 6:33 PM, Seb wrote:
[...]
Since iopipe was mentioned several times, I will say a couple
things:
[..
On Tuesday, 12 December 2017 at 20:51:30 UTC, Steven
Schveighoffer wrote:
On 12/11/17 6:33 PM, Seb wrote:
[...]
Since iopipe was mentioned several times, I will say a couple
things:
[...]
I should really try iopipe this time round. I think I avoided
toying with it because the making conve
On Wednesday, 10 June 2020 at 01:06:30 UTC, aberba wrote:
On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
I notice that in the new release for Alpine Linux it mentions
support for D.
I was curious what was meant by this and thought someone here
would know. Just high level, like
On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
I notice that in the new release for Alpine Linux it mentions
support for D.
I was curious what was meant by this and thought someone here
would know. Just high level, like druntime was ported or
packages added to the repo?
Trad
On Friday, 5 June 2020 at 12:28:17 UTC, Adam D. Ruppe wrote:
On Friday, 5 June 2020 at 11:45:31 UTC, aberba wrote:
How can I make Thread.sleep() only run AFTER "Wait, signing
you in ..." is written (force flushed) to stdout?
just use explicit `terminal.flush();` any time you want the
output t
On Friday, 5 June 2020 at 12:28:17 UTC, Adam D. Ruppe wrote:
On Friday, 5 June 2020 at 11:45:31 UTC, aberba wrote:
How can I make Thread.sleep() only run AFTER "Wait, signing
you in ..." is written (force flushed) to stdout?
just use explicit `terminal.flush();` any time you want the
output t
I have this code which take two inputs. I expect "Wait, signing
you in ..." to be written to stdout before Thread.sleep() kicks
in but it somehow doesn't follow that sequence. I believe its a
normal stdout behaviour since its buffered.
How can I make Thread.sleep() only run AFTER "Wait, signin
On Wednesday, 3 June 2020 at 17:02:35 UTC, H. S. Teoh wrote:
On Wed, Jun 03, 2020 at 09:36:52AM +, drathier via
Digitalmars-d-learn wrote:
I'm wondering if there's a place that lists things which are
slower/faster to compile? DMD is pretty famed for compiling
quickly, but I'm not seeing par
On Monday, 1 June 2020 at 17:28:16 UTC, Johannes Loher wrote:
On Monday, 1 June 2020 at 16:18:44 UTC, Виталий Фадеев wrote:
[...]
Demanding stuff usually doesn't work in this community. The
usual answer is something like this: If you care about this,
implement it yourself or pay somebody to
On Tuesday, 17 March 2020 at 03:13:02 UTC, aberba wrote:
On Sunday, 15 March 2020 at 17:58:58 UTC, Steven Schveighoffer
wrote:
I want to try and learn how to write 2d games. I'd prefer to
do it with D.
I've found a ton of tutorials on learning 2d gaming with other
languages. Is there a place
On Sunday, 15 March 2020 at 17:58:58 UTC, Steven Schveighoffer
wrote:
I want to try and learn how to write 2d games. I'd prefer to do
it with D.
I've found a ton of tutorials on learning 2d gaming with other
languages. Is there a place to look that uses D for learning?
Should I just start wit
On Sunday, 15 March 2020 at 17:58:58 UTC, Steven Schveighoffer
wrote:
I want to try and learn how to write 2d games. I'd prefer to do
it with D.
I've found a ton of tutorials on learning 2d gaming with other
languages. Is there a place to look that uses D for learning?
Should I just start wit
On Sunday, 15 March 2020 at 17:58:58 UTC, Steven Schveighoffer
wrote:
I want to try and learn how to write 2d games. I'd prefer to do
it with D.
I've found a ton of tutorials on learning 2d gaming with other
languages. Is there a place to look that uses D for learning?
Should I just start wit
1 - 100 of 194 matches
Mail list logo