On Fri, 2020-09-18 at 20:22 -0400, James Blachly via Digitalmars-d-learn
wrote:
> On 9/18/20 9:35 AM, Russel Winder wrote:
> > On Fri, 2020-09-18 at 09:02 -0400, Steven Schveighoffer via Digitalmars-d-
> > learn wrote:
> >
> > […]
> > > it ddoc files, and compile those along with your
> > >
On Sat, 2020-09-19 at 08:12 +0200, Jacob Carlborg via Digitalmars-d-learn
wrote:
> On 2020-09-18 13:41, Russel Winder wrote:
> > Hi,
> >
> > I am trying to get to grips with DDoc for documenting an application.
> > Getting
> > the individual module HTML files seems to be the easy bit. The
On Fri, 2020-09-18 at 09:02 -0400, Steven Schveighoffer via Digitalmars-d-
learn wrote:
[…]
>
> it ddoc files, and compile those along with your
> application.
>
> https://dlang.org/spec/ddoc.html#using_ddoc_for_other_documentation
>
Any small project examples anywhere?
--
Russel.
Hi,
I am trying to get to grips with DDoc for documenting an application. Getting
the individual module HTML files seems to be the easy bit. The question is how
to get an index.html (or equivalent) so as to have an application level entry
point to the generated documentation.
--
Russel.
I see that:
https://dlang.org/spec/ddoc.html
refers to:
https://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html
which is really rather ancient and definitely out of date. Should change this
to:
https://docs.oracle.com/en/java/javase/15/javadoc/index.html
--
Russel.
On Thu, 2020-07-23 at 14:39 +, Greatsam4sure via Digitalmars-d-announce
wrote:
> On Thursday, 23 July 2020 at 01:13:25 UTC, aberba wrote:
> > Found this introductory course from Udemy on D
> >
> >
> > Complete introduction to programming in D. Learn by doing
> > assignments and projects.
>
On Thu, 2020-07-02 at 13:28 +, Abdulhaq via Digitalmars-d-announce wrote:
>
[…]
> Herb Sutter is a national treasure, C++ has become bearable, nay
> even useful, under his stewardship and that is really saying
> something
s/national/international/
Herb's closing keynote at ACCU 2017
On Thu, 2020-07-02 at 18:22 +, Dibyendu Majumdar via Digitalmars-d-
announce wrote:
[…]
> So why was Java successful? It was not compatible with an
> existing language.
Java has a weird history compared to other languages. It switched from white
goods programming language to browser
On Mon, 2020-06-29 at 15:45 +, Dagmar via Digitalmars-d-announce wrote:
> On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote:
> > Of course C++ is now really a niche language used by those who
> > still use it and do not move on to more modern languages!
>
> I am a C++ developer. I
On Mon, 2020-06-29 at 15:44 +, Patrick Schluter via Digitalmars-d-announce
wrote:
>
[…]
> And that is completely wrong headed. Internet is not always
> directly accessible. There are a lot of companies that restrict
> access to the Internet for their security sensible servers,
>
[…]
>
On Mon, 2020-06-29 at 20:41 +, Paulo Pinto via Digitalmars-d-announce
wrote:
[…]
>
> Rust has only standardized part of the async/await story, the
> asynchronous
> runtime is not part of the standard library, so currently it is
> impossible to write code that works flawlessly across the
>
On Mon, 2020-06-29 at 12:41 +, Paulo Pinto via Digitalmars-d-announce
wrote:
[…]
>
> Concepts, coroutines, and modules are already in ISO C++20.
Only once the standard is voted in. :-)
Also ranges are in I believe.
> And co-routines are in a much better story than the incompatible
>
On Mon, 2020-06-29 at 10:31 +, IGotD- via Digitalmars-d-announce wrote:
>
[…]
> Back to C++20 and beyond which Herb Sutter refers to a lot. Is
> C++20 a success, or even C++17? Does anyone know this? Modern C++
> isn't a programming standard so what I've seen is just a mix of
> everything.
On Sun, 2020-06-07 at 13:21 +0200, Jacob Carlborg via Digitalmars-d-learn
wrote:
> On 2020-06-07 11:24, Russel Winder wrote:
> > Hi,
> >
> > Why on earth is Dub sending out this error message (Invalid variable: DUB)
> > on
> > GitLab but not on Travis-CI or locally?
> >
> > OK, that was slightly
On Sun, 2020-06-07 at 10:30 +, Basile B. via Digitalmars-d-learn wrote:
[…]
> What is the docker image that you use ? If it is an older
> version maybe that the $DUB env variable is not yet supported by
> the dub version that's installed (it exists since 2.084.0
> according to [1]).
I am
Hi,
The Travis-CI D language image for dist bionic still seems to be build on
Xenial. Is this as it should be?
--
Russel.
===
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
On Sun, 2020-06-07 at 10:24 +0100, Russel Winder wrote:
> Hi,
>
> Why on earth is Dub sending out this error message (Invalid variable: DUB)
> on
> GitLab but not on Travis-CI or locally?
>
> OK, that was slightly rhetorical, more reasonably, why is dub sending out
> this
> message at all?
I am
Hi,
Why on earth is Dub sending out this error message (Invalid variable: DUB) on
GitLab but not on Travis-CI or locally?
OK, that was slightly rhetorical, more reasonably, why is dub sending out this
message at all?
--
Russel.
===
Dr Russel Winder
On Mon, 2020-06-01 at 08:41 +, Atila Neves via Digitalmars-d-announce
wrote:
[…]
> Out of curiosity, what is the difference for you between:
>
> testFoo() { /* ... */ }
>
> and:
>
> @("foo")
> unittest { /* ... */ }
Primarily consistency with the way all other unit test frameworks which
On Thu, 2020-05-28 at 15:35 +, Atila Neves via Digitalmars-d-announce
wrote:
> I decided to stop being like Google and finally tag version 1 of
> unit-threaded:
>
> https://code.dlang.org/packages/unit-threaded
>
> From now on I'm going to focus on compilation speed (no matter
> how ugly
On Mon, 2020-05-25 at 12:29 +, Panke via Digitalmars-d-learn wrote:
>
[…]
> https://vibed.org/api/vibe.core.core/runTask ?
>
Possibly, it is just that the documentation is sadly lacking in examples of
use.
--
Russel.
===
Dr Russel Winder t: +44
On Mon, 2020-05-25 at 11:55 +0200, Daniel Kozak via Digitalmars-d-learn wrote:
[…]
>
> https://run.dlang.io/is/SMLuA2
Thanks for this pointer. It was very helpful to read it as it confirmed that I
was going doing the right thing in my code. That you have two sources adding
some interleaving is
On Sun, 2020-05-24 at 17:01 +0100, Russel Winder wrote:
>
[…]
> connection.read(buffer, IOMode.once);
>
What an idiot I am, this call returns the read count, which makes it fine.
Progress now being made.
--
Russel.
===
Dr Russel Winder t: +44 20
On Sun, 2020-05-24 at 12:26 +, bauss via Digitalmars-d-learn wrote:
[…]
Thanks for responding, much appreciated.
> void handleConnections(TCPConnection connection) {
> ...
> }
I guess I was looking for an example of what to put in this function!
> auto buf = new ubyte[amount];
>
>
Hi,
Clearly Vibe.d is mostly for people doing HTTP and HTTPS stuff. Yet it claims
to be able to support TCP and UDP working with other protocols. However, all
the serious examples are HTTP/HTTPS related. All the TCP and UDP examples are
basically trivial and thus useless to me for learning.
I am
On Sat, 2020-05-23 at 20:52 +, Steven Schveighoffer via Digitalmars-d-
learn wrote:
[…]
>
> It’s a recent problem with vibe-core. I’ve had to switch back to
> version 1.8.1.
>
> https://github.com/vibe-d/vibe-core/issues/205
Really good to know this is a genuine problem and not just me
On Sat, 2020-05-23 at 16:56 +, bauss via Digitalmars-d-learn wrote:
[…]
>
> Had similar experiences on non-windows platforms.
I forgot to mention I was on Linux (Debian Sid).
I am (sort of) pleased it isn't just me – definitely unhappy it has happened
to others as well.
> I think the
Hi,
I thought I would try and do the async version of my mock AVR850 using the
vibe.d TCP stuff. This is not HTTP, it is proper networking! ;-)
Problem one is that vibe.d sever processes never seem to terminate.
I am using runApplication or more likely runEventLoop in my main but it never
So I have an enum:
enum RC5Command: Tuple!(ubyte, ubyte) {
Standby = tuple(to!ubyte(0x10), to!ubyte(0x0c)),
…
I can do:
RC5Command rc5command = RC5Command.CD;
However, if I do:
rc5command = RC5Command.BD;
I get:
source/functionality.d(80,16): Error: template
On Mon, 2020-05-18 at 11:56 +, Sebastiaan Koppe via Digitalmars-d-learn
wrote:
> On Thursday, 14 May 2020 at 09:36:33 UTC, Russel Winder wrote:
> > Whilst C frameworks use callbacks and trampolines, high level
> > languages seem to be basing things on futures – or things that
> > are
On Sun, 2020-05-17 at 20:32 +, Luis via Digitalmars-d-learn wrote:
> On Sunday, 17 May 2020 at 10:19:38 UTC, Russel Winder wrote:
> > I am experimenting with using manual control of the Glib event
> > loop using the pending and iteration methods on the default
> > MainContext within each
On Sun, 2020-05-17 at 11:19 +0100, Russel Winder wrote:
[…]
>
> Of course now there is jin.go which is a synchronous multi-tasking approach
> with channels rather than an asynchronous approach available in D.
Had I checked I would have seen this was a four years ago package that has
been left
On Sat, 2020-05-16 at 11:37 +, Cogitri via Digitalmars-d-learn wrote:
> On Saturday, 16 May 2020 at 10:51:07 UTC, Russel Winder wrote:
> > Has anyone got any D code using the Glib event loop, usually
> > GtkD code I'd guess, that is well tested using Unit_Threaded?
>
> I always had a hard
Has anyone got any D code using the Glib event loop, usually GtkD code I'd
guess, that is well tested using Unit_Threaded?
--
Russel.
===
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770 465 077
London SW11 1EN, UK w:
On Tue, 2020-05-12 at 20:05 +0200, Jacob Carlborg via Digitalmars-d-learn
wrote:
> On 2020-05-12 11:23, Russel Winder wrote:
>
> > As far as I can tell D has no futures…
>
> Future and async in vibe.d [1]. Future in Mecca [2].
>
> [1] https://vibed.org/api/vibe.core.concurrency/async
> [2]
>
On Tue, 2020-05-12 at 09:57 +, Sebastiaan Koppe via Digitalmars-d-learn
wrote:
[…]
>
> Yeah it is a shame, but you see it in almost every language.
> Probably means concurrency and io isn't a fully solved problem
> yet.
Whilst C frameworks use callbacks and trampolines, high level
On Mon, 2020-05-11 at 19:34 +0200, Jacob Carlborg via Digitalmars-d-learn
wrote:
> On 2020-05-11 16:44, Russel Winder wrote:
>
> > Crickey, a third option. This wil increase my dithering! ;-)
>
> Forth: Mecca [1] :)
>
> [1] https://github.com/weka-io/mecca
Hummm… it seems everyone who needed
On Mon, 2020-05-11 at 16:36 +0200, Daniel Kozak via Digitalmars-d-learn wrote:
> On Mon, May 11, 2020 at 4:03 PM Russel Winder via Digitalmars-d-learn
> wrote:
> > ...
> > I notice that Hunt uses it's own library eschewing all of Phobos. Is this
> > an
> > indicat
On Mon, 2020-05-11 at 15:02 +0100, Russel Winder wrote:
> OK, so I need to create an asynchronous TCP server (not HTTP or HTTPS, this
> is
> a real server ;-) ).
>
> I think the normal response is "Use Vibe.d". However, recently I see Hunt is
> an alternative. Has anyone any way of choosing
On Wed, 2020-04-22 at 11:19 +, aliak via Digitalmars-d-learn wrote:
> On Wednesday, 22 April 2020 at 10:32:48 UTC, Russel Winder wrote:
> > Now I discover Python, Rust, and Go have far nicer abstractions
> > for writing Internet code than D does. Does D really not have a
> > TcpListener
On Mon, 2020-04-27 at 12:12 +, Antonio Corbi via Digitalmars-d-learn
wrote:
> On Monday, 27 April 2020 at 11:27:57 UTC, Paulo Pinto wrote:
> > On Sunday, 26 April 2020 at 09:09:04 UTC, Antonio Corbi wrote:
[…]
> > > I don't know if you are referring to the `clone!` macro
> > > described
OK, so I need to create an asynchronous TCP server (not HTTP or HTTPS, this is
a real server ;-) ).
I think the normal response is "Use Vibe.d". However, recently I see Hunt is
an alternative. Has anyone any way of choosing between the two?
I notice that Hunt uses it's own library eschewing all
This seems nonsensical to me. Why is Dub using the correct (0.10.8) version of
Unit_Threaded for building the tests, but then using an earlier version
(0.10.6) for building and running the test. If I remove 0.10.6 from the
.dub/packages directory, then it uses 0.10.8 correctly. Then it complains
On Tue, 2020-04-28 at 15:09 +, WebFreak001 via Digitalmars-d-learn
wrote:
> […]
>
> well it was some problem that you tried to use the $DFLAGS
> environment variable somewhere but it wasn't defined
The problem is something to do with Dub and Unit-Threaded. My build
never uses the "$DFLAGS"
On Tue, 2020-04-28 at 14:03 +, WebFreak001 via Digitalmars-d-learn
wrote:
> […]
>
> in this case, try dub upgrade --vverbose and the full exception
> message should hopefully show
I have no idea what has changed, but things are now working again.
Strange.
Thanks for chipping in with
On Tue, 2020-04-28 at 12:04 +, WebFreak001 via Digitalmars-d-learn
wrote:
> On Tuesday, 28 April 2020 at 11:56:26 UTC, Russel Winder wrote:
> > Hi,
> >
> > Has anyone seen this before, it has just started happening to
> > me and is stopping me doing any work on this D project.
> >
> >
> >
Hi,
Has anyone seen this before, it has just started happening to me and is
stopping me doing any work on this D project.
|> dub build
Invalid variable: DFLAGS
--
Russel.
===
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770
Hi,
Background: I chose to rewrite a Python/PySide2/Qt application in
X/GTK+. After much dithering I was pushed to Rust/gtk-rs/GTK+ and set
to it. Then I decided to do D/GtkD/GTK+ as well.
Totally unscientific, biased, and indeed prejudiced result is that D is
a nicer programming language to
On Sat, 2020-04-25 at 09:30 +, Paulo Pinto via Digitalmars-d-learn
wrote:
[…]
>
> Just curious, how do you handle the whole RC> story in
> Gtk-rs?
>
> For me it made the point that languages with tracing GC or
> implicit reference counting are much better solution for doing
> GUI
On Fri, 2020-04-24 at 11:19 -0700, H. S. Teoh via Digitalmars-d-
announce wrote:
[…]
>
> Awesome!
>
> Many thanks to the LDC team for the hard work to bring this awesome
> compiler to us!
Agreed. Very much agreed.
Hopefully the Debian D packaging folks can be speedy getting this new
version of
On Fri, 2020-04-24 at 15:50 +, Phrozen via Digitalmars-d-learn
wrote:
>
[…]
> @Basile B., thanks for the suggestion. I'll try this library too.
>
Just a bit of confirmation: I am a fan of D and GtkD for desktop UI
work.
GTK+ is just a UI framework unlike Qt (which is UI and networking,
On Thu, 2020-04-23 at 14:41 +0300, drug via Digitalmars-d-learn wrote:
>
[…]
> Did you try `dub test -- -s`?
Oh f###, that is about the only combination I didn't try. :-(
Thanks. Problem solved. :-)
Not sure about the Fixture proposal, I will research and cogitate
further.
--
Russel.
On Tue, 2020-04-21 at 21:29 +, aliak via Digitalmars-d-learn wrote:
> On Tuesday, 21 April 2020 at 16:30:15 UTC, Russel Winder wrote:
[…]
>
> There've been a few attempts at building a Result type:
>
> https://code.dlang.org/search?q=expect
> And here:
>
Hi,
I need to start a process before the tests run, and terminate it after
the tests run. A module with a shared static constructor and shared
static destructor sounds like the way of doing this since the
constructor is run before main and the destructor after main. However I
am using
On Tue, 2020-04-21 at 15:48 -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
[…]
>
> 1. it's shorter and prettier.
> 2. No cast (I avoid using cast whenever I can).
> 3. No gotcha type conversions.
Works for me, you have me convinced. :-)
> e.g. for point 3:
>
> enum ZoneMember { //
I ended up creating the following project structure:
.
├── dub.sdl
├── dub.selections.json
├── source
│ ├── arcam_protocol.d
│ └── main.d
├── tests
│ └── integration_tests.d
└── test_support
└── mock_avr850
└── main.d
with the following Dub control file:
name "arcamclient"
On Tue, 2020-04-21 at 18:09 +, tsbockman via Digitalmars-d-learn
wrote:
> On Tuesday, 21 April 2020 at 16:03:20 UTC, Russel Winder wrote:
> > then which of these is the right way of accessing the value?
> >
> > cast(ubyte)ZoneNumber.One
> > to!ubyte(ZoneNumber.One)
>
> Either is acceptable
On Tue, 2020-04-21 at 12:59 -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 4/21/20 12:03 PM, Russel Winder wrote:
> > Hi,
> >
> > Given an enum:
> >
> > enum ZoneNumber {
> > One = 1,
> > Two = 2,
> > }
> >
> > then which of these is the right way of accessing the
On Mon, 2020-04-20 at 20:19 +, aliak via Digitalmars-d-learn wrote:
>
> […]
> [0]: https://github.com/aliak00/optional
Rust has Option and Result, and most languages are rapidly introducing
at least Option if not Result – and yes it is almost certain all this
comes from Haskell.
Is Option
Hi,
Given an enum:
enum ZoneNumber {
One = 1,
Two = 2,
}
then which of these is the right way of accessing the value?
cast(ubyte)ZoneNumber.One
to!ubyte(ZoneNumber.One)
conversely what is the right way of going the other way:
cast(ZoneNumber)1
to!ZoneNumber(1)
I tried:
enum
On Fri, 2020-04-17 at 17:51 +, Jon Degenhardt via Digitalmars-d-
learn wrote:
> On Friday, 17 April 2020 at 16:56:57 UTC, Russel Winder wrote:
> > Hi,
> >
> > Thinking of trying to do the next project in D rather than
> > Rust, but…
> >
> > Rust has built in unit testing on a module basis.
Hi,
Thinking of trying to do the next project in D rather than Rust, but…
Rust has built in unit testing on a module basis. D has this so no
problem.
Rust allows for integration tests in the tests directory of a project.
These are automatically build and run along with all unit tests as part
of
On Tue, 2020-03-10 at 14:18 +, Ron Tarrant via Digitalmars-d-learn
wrote:
> On Monday, 9 March 2020 at 22:48:35 UTC, Kendell wrote:
>
> > Hey Everyone,
> >
> > I'm a new D developer and therefore new to Gtkd.
> > So far I've had no problems building this project with DUB.
> > However I want
On Thu, 2020-01-23 at 23:47 -0500, James Blachly via Digitalmars-d-
learn wrote:
> On 1/23/20 8:13 PM, Mike Parker wrote:
> > On Thursday, 23 January 2020 at 15:44:10 UTC, Adam D. Ruppe wrote:
> >
> > > Or delete all that wordpress junk and make something in D :P
> >
> > I intend to delete all
On Thu, 2020-01-23 at 15:12 +, Ron Tarrant via Digitalmars-d-learn
wrote:
> On Thursday, 23 January 2020 at 12:43:24 UTC, Antonio Corbi wrote:
>
> > Yes, it uses 'sed' to get 'constants.d' from 'constants.d.in'
> > at configuration time.
> > So you can write your own 'constants.d' with the
On Wed, 2020-01-22 at 23:08 +, Russel Winder wrote:
> On Wed, 2020-01-22 at 22:48 +, Mike Parker via Digitalmars-d-
> learn
> wrote:
> […]
> > To D Blog has an RSS feed:
> >
> > http://dlang.org/blog/index.php/feed/
> >
> […]
>
> This URL doesn't seem to work for me.
>
> It redirects
On Wed, 2020-01-22 at 22:48 +, Mike Parker via Digitalmars-d-learn
wrote:
[…]
>
> To D Blog has an RSS feed:
>
> http://dlang.org/blog/index.php/feed/
>
[…]
This URL doesn't seem to work for me.
It redirects to:
https://dlang.org/blog/feed/
which gives "file not found"
--
Russel.
On Sat, 2019-12-28 at 22:01 +, p.shkadzko via Digitalmars-d-learn
wrote:
[…]
> p.s. I found it quite satisfying that D does not really need an
> IDE, you will be fine even with nano.
Java people said this and we got Eclipse, Netbeans, and IntelliJ IDEA,
and many people were better Java (and
On Tue, 2019-12-24 at 09:52 -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
> On Tue, Dec 24, 2019 at 10:18:49AM +0000, Russel Winder via
> Digitalmars-d-learn wrote:
[…]
> Haha, well, a *real* hardcore retro guy would be using a magnet, a
> pin,
> and a *really* steady hand, to
On Tue, 2019-12-24 at 09:49 +, Ron Tarrant via Digitalmars-d-learn
wrote:
> If you liked last week's post, this one will knock your socks
> off. Wanna know (programmatically) which monitor your application
> window is on? Here's how to find out:
>
On Mon, 2019-12-23 at 08:09 -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
[…]
>
> No idea, I use vanilla vim (not even with syntax highlighting -- I'm
> a
> hardcore retro guy).
Surely a hardcore retro guy would be using vi not vim? Indeed wouldn't
a real hardcore retro guy be using ed?
:-)
On Sun, 2019-12-22 at 17:20 +, BoQsc via Digitalmars-d-learn wrote:
> There are lots of editors/IDE's that support D language:
> https://wiki.dlang.org/Editors
>
> What kind of editor/IDE are you using and which one do you like
> the most?
CLion with the DLanguage plugin. Very much a work
On Tue, 2019-11-19 at 10:32 +, Joseph Rushton Wakeling via Digitalmars-d-
announce wrote:
> […]
>
> I'm simply concerned that if we don't put enough scrutiny on the
> app features and behaviour, we run the risk of simply reproducing
> some of the problematic design decisions of the existing
On Tue, 2019-11-19 at 10:38 +, Joseph Rushton Wakeling via Digitalmars-d-
announce wrote:
> On Monday, 18 November 2019 at 20:48:53 UTC, bachmeier wrote:
> > IMO this is one of the most important parts of the first five
> > minutes with the language. Someone has installed the compiler,
> >
On Mon, 2019-11-18 at 20:19 +, Tobias Pankrath via Digitalmars-d-announce
wrote:
> On Monday, 18 November 2019 at 19:54:38 UTC, Russel Winder wrote:
>
> > Probably yes. Though Cargo has taken many different decisions
> > to Dub and mostly I think Cargo took better decisions.
>
> Could you
On Mon, 2019-11-18 at 16:54 +, JN via Digitalmars-d-announce wrote:
> […]
>
> I only use the JSON format. JSON is widespread together with XML.
> SDL I heard first time of in the context of Dub and never seen it
> used elsewhere. TOML also I know only from Cargo. YAML at least I
> know
On Mon, 2019-11-18 at 15:35 +, Joseph Rushton Wakeling via Digitalmars-d-
announce wrote:
>
[…]
> It is quite extraordinary how readily folks fall to arguing over
> what the config format should be, rather than what the app should
> actually be able to do. :-\
Perhaps because writing the
On Mon, 2019-11-18 at 09:53 +, Paolo Invernizzi via Digitalmars-d-announce
wrote:
[…]
> A win-win move would be to have dud emit the other formats
> automatically as part of the compilation procedure, so to have
> always all of them present and synced on the content.
Why? In fact, why even
On Mon, 2019-11-18 at 10:26 +, Sebastiaan Koppe via Digitalmars-d-announce
wrote:
> On Monday, 18 November 2019 at 09:53:56 UTC, Paolo Invernizzi
> wrote:
> > A win-win move would be to have dud emit the other formats
> > automatically as part of the compilation procedure, so to have
> >
On Mon, 2019-11-18 at 09:31 +, Sebastiaan Koppe via Digitalmars-d-announce
wrote:
> On Monday, 18 November 2019 at 08:57:58 UTC, Russel Winder wrote:
> > Is SDL the right format? Cargo uses TOML to great effect.
> >
> > And TOML has, I suspect greater traction more widely than SDL.
>
> I
On Sun, 2019-11-17 at 19:10 +, Sebastiaan Koppe via Digitalmars-d-announce
wrote:
> On Sunday, 17 November 2019 at 16:26:45 UTC, Denis Feklushkin
> wrote:
> > On Thursday, 14 November 2019 at 23:33:06 UTC, Nick Sabalausky
> > (Abscissa) wrote:
> > Also, this, apparently, should lead to the
On Mon, 2019-10-21 at 12:25 +, Per Nordlöw via Digitalmars-d-announce
wrote:
> On Monday, 21 October 2019 at 12:12:56 UTC, Per Nordlöw wrote:
> > Is it prepackaged on Ubuntu?
>
> Do you mean the package golang-go?
I am not sure what Ubuntu package version is, with it's 6 month or 3 year
On Mon, 2019-10-14 at 15:36 +, Jesse Phillips via Digitalmars-d-learn
wrote:
[…]
> Pretty sure since this is a public forum, legally you just need
> to reference your sources (if even that). Asking permission is
> just polite.
[…]
But the forum/email list does not have terms of use that
On Mon, 2019-10-14 at 11:14 +, Ron Tarrant via Digitalmars-d-learn wrote:
[…]
> 1) Does anyone know how copyright laws stand regarding reuse of
> comments on a forum?
IANAL, but… I believe emails, and I suspect forum posts, are copyright since
they are literary works. Quoting them with
On Fri, 2019-10-11 at 00:41 +, Murilo via Digitalmars-d-learn wrote:
> I have started working with neural networks and for that I need a
> lot of computing power but the programs I make only use around
> 30% of the cpu, or at least that is what Task Manager tells me.
> How can I make it use
On Thu, 2019-10-10 at 03:08 -0700, H. S. Teoh via Digitalmars-d-learn wrote:
[…]
> Note this is why I wrote "functional-style programming" w.r.t. D, rather
> than "functional programming". Clearly, what D has isn't "real"
> functional programming in the strict sense, but it does share similar
>
On Wed, 2019-10-09 at 11:12 -0700, H. S. Teoh via Digitalmars-d-learn wrote:
[…]
> Actually, std.functional is somewhat of a misnomer. It mostly deals with
> higher-order functions, i.e., functions that return functions, currying,
> that sort of thing. These are part of functional programming,
On Wed, 2019-08-28 at 04:46 +, Jani Hur via Digitalmars-d-learn wrote:
>
[…]
> For Lisp, Clojure (https://clojure.org/) is a strong candidate:
>
> https://blog.cleancoder.com/uncle-bob/2019/08/22/WhyClojure.html
Common Lisp implementations may still have car, cdr, etc. for backward
On Mon, 2019-08-12 at 17:45 +, Enjoys Math via Digitalmars-d-learn wrote:
> Hi,
>
> I'm writing my GUI in C++ & Qt Quick. I know that I could
> connect to D from the GUI code using a DLL, but can something
> similar be done on the other PC OS's and the mobile OS's?
>
> Thanks.
>
Looking
On Mon, 2019-08-12 at 20:01 +, DanielG via Digitalmars-d-learn wrote:
> On Monday, 12 August 2019 at 10:41:57 UTC, GreatSam4sure wrote:
> > I will be happy if I can build an app in D with fanciful ui. I
> > will also be happy if you know any other way to build a
> > fanciful ui in D like
On Fri, 2019-08-02 at 20:24 +, Jon Degenhardt via Digitalmars-d-learn
wrote:
[…]
> In my view, the most important thing is the decision you've
> already made - to pick a programming language and learn it in a
> reasonable bit of depth. Which programming language you choose is
> less
On Fri, 2019-08-02 at 23:24 -0600, Jonathan M Davis via Digitalmars-d-learn
wrote:
[…]
> The university I went to had an undergrad class on programming paradigms
> that I _think_ was required (maybe two even), but it was definitely just the
> focus of a small number of classes, whereas my
On Fri, 2019-08-02 at 16:49 +, Alexandre via Digitalmars-d-learn wrote:
[…]
>
> Do you thing D would be the right tool for the job at this point
> for me? Assuming I have 2 goals in mind: 1) become a better
> programmer and 2) want to make fun writing software for myself
> and if possible
On Fri, 2019-08-02 at 17:25 +, berni via Digitalmars-d-learn wrote:
> […]
>
> Yes, that was intentional. What I wanted to say is, that I think,
> that it would have been better, if C was never invented at all...
> In that case, there would have been space for an other language
> for
On Fri, 2019-08-02 at 10:25 -0600, Jonathan M Davis via Digitalmars-d-learn
wrote:
>
[…]
> My feeling is that functional languages are likely to be a very poor place
> for most folks to start learning, much as I think that they're great for
> someone to learn and work with at some point. I have
On Fri, 2019-08-02 at 13:45 +, Alexandre via Digitalmars-d-learn wrote:
>
[…]
> Could you elaborate more about C being a burden? I have read so
> many people saying C gives a great foundation and should be
> everyone's first language. Now I am confused.
C is a programming language created
On Thu, 2019-08-01 at 14:49 +, bachmeier via Digitalmars-d-learn wrote:
[…]
> There's nothing wrong with Haskell if you want to take a deep
> dive into pure functional programming. I personally find Haskell
> to be more of a religion than a programming language. You can
> learn the same
[…]
>
> And instead of linking directly to the article, here's a link to
> the main page so you can see the entire facelift:
> https://gtkdcoding.com.
Excellent stuff. Thanks for putting in the effort on this, it is well worth
it.
--
Russel.
===
Dr
On Mon, 2019-06-10 at 08:02 +, vitalfadeev via Digitalmars-d-learn
wrote:
[…]
Perhaps I am missing something that is critical to the example, but I
rewrote the code as:
import std.algorithm: map;
import std.stdio: writeln;
bool false_cb() { return false; }
bool true_cb() {
On Sun, 2019-06-09 at 03:42 +, rnd via Digitalmars-d-learn wrote:
>
[…]
> I also wanted to know: Once executable is successfully created,
> will it work on systems where Python and pandas are not installed?
I suspect not, but then I do not use Windows.
I would be surprised if the
1 - 100 of 1605 matches
Mail list logo