On Wednesday, 18 December 2019 at 22:17:21 UTC, tirithen wrote:
On Wednesday, 18 December 2019 at 22:11:10 UTC, Sebastiaan
Koppe wrote:
If you know all types up front you can use the Sumtype library
on code.dlang.org
Thanks, it's a good starting point, the best would be if I only
needed to
On Wednesday, 11 December 2019 at 18:54:49 UTC, jicman wrote:
Greetings!
I am trying to see if there are any converters out there from d
code to c. Anyone knows? Thanks.
josé
How many lines of code is it ?
It's not that bad to do it manually with help from regex. If
you're good with vi
On Thursday, 24 October 2019 at 17:41:21 UTC, Dukc wrote:
On Thursday, 24 October 2019 at 16:50:17 UTC, Dukc wrote:
Hmm, I need to check whether I can do that on LibreOffice Calc.
Unfortunately, no. If there's a way to do that, it's not
obvious.
I should be able to make an easy-to-use exce
On Tuesday, 22 October 2019 at 05:58:50 UTC, Prokop Hapala wrote:
I'm examining the possibility to move from Python+C/C++ to D or
Python+D. I read
(https://wiki.dlang.org/Programming_in_D_for_Python_Programmers) and
(https://jackstouffer.com/blog/nd_slice.html), where is
mentioned PyD, Mir-algo
On Tuesday, 3 September 2019 at 20:03:37 UTC, Martin DeMello
wrote:
On Sunday, 1 September 2019 at 11:19:11 UTC, DanielG wrote:
Do you know whether SWIG's D generator is even being
maintained?
I've searched for it on the forums in the past and got the
impression that it's outdated.
I didn't
I noticed a Rust post so why not post.
https://www.reddit.com/r/linux_programming/comments/cs0ime/d_for_a_safer_linux_kernel
https://www.reddit.com/r/programming/comments/cs0iec/d_for_a_safer_linux_kernel
https://www.infoq.com/presentations/moore-law-expiring/
At the same time as the arrival of Optane persistent storage in
relatively chest machines changes the game a bit.
If storage prices do keep falling at 40% annualised or
thereabouts, it's possible one might see a little more respect
bein
Hi.
First question - can anyone recommend git / Gitlab training
providers in HK and London? Two distinct audiences - highly
intelligent people that may or may not really program, and
experienced developers with a finance background that could
benefit from knowing how to use git properly (fin
On Friday, 8 March 2019 at 09:24:25 UTC, Vasyl Teliman wrote:
I've tried to use Mallocator in BetterC but it seems it's not
available there:
https://run.dlang.io/is/pp3HDq
This produces a linker error.
I'm wondering why Mallocator is not available in this mode (it
would be intuitive to assum
On Sunday, 2 September 2018 at 17:49:45 UTC, Russel Winder wrote:
On Sun, 2018-09-02 at 18:28 +0100, Russel Winder wrote:
[…]
It turns out that the GIR file is not usable, and so the
girtod route is not feasible. I shall try the DStep route.
Failing that it seems there is
https://github.co
On Friday, 31 August 2018 at 18:49:26 UTC, James Blachly wrote:
On Friday, 31 August 2018 at 17:18:58 UTC, Neia Neutuladh wrote:
On Friday, 31 August 2018 at 06:20:09 UTC, James Blachly wrote:
Hi all,
...
When linking to this library from D, I have declared it as:
extern __gshared const(char
Hi Walter.
Can dtoh be open-sourced now that dmd is?
Laeeth.
On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez
Hermoso wrote:
I'm specifically thinking of the GNU Octave codebase:
http://hg.savannah.gnu.org/hgweb/octave/file/@
It's a fairly old and complicated C++ codebase. I would like to
see if I could slowly introduce some D in it, anywhere
Am I missing something, or should extern(C++) just work for
binding to gcc C++ on Linux. It works fine for primitives but
fails for pointer type arguments. Extern "C" works fine.
Does D know how to mangle function names based on pointer types?
I have created matching types on both sides.
T
On Saturday, 6 January 2018 at 11:17:56 UTC, Seb wrote:
On Friday, 5 January 2018 at 13:02:12 UTC, qznc wrote:
I'm exploring [0] C++ interop after watching Walter's
presentation [1].
[...]
I know about this:
https://github.com/Remedy-Entertainment/binderoo
https://github.com/dlang/druntime
On Thursday, 4 January 2018 at 23:04:44 UTC, Amorphorious wrote:
Most are in other languages:
https://www.alphavantage.co/
https://iextrading.com/
are two free ones.
I'm just hoping for a more D'ish solution.
I wrote a simple api for quandl.com and somewhere I have one for
yahoo. Neither
On Friday, 29 December 2017 at 12:59:21 UTC, rjframe wrote:
On Fri, 29 Dec 2017 12:39:25 +, Nicholas Wilson wrote:
On Friday, 29 December 2017 at 12:03:59 UTC, Mike Franklin
wrote:
The problem is that interfaces are a runtime thing (e.g. you
can cast a
class to an interface)
structs imp
He mentions D, a bit dismissively.
http://esr.ibiblio.org/?p=7724&cpage=1#comment-1912717
On Saturday, 7 October 2017 at 19:34:53 UTC, WhatMeForget wrote:
On Friday, 6 October 2017 at 23:02:56 UTC, Laeeth Isharc wrote:
On Thursday, 5 October 2017 at 21:48:20 UTC, WhatMeWorry wrote:
I've got a github project and using DUB with DMD and I keep
running into this problem. I've tried de
On Wednesday, 11 October 2017 at 22:22:43 UTC, Johan Engelen
wrote:
std.string.removechars is now deprecated.
https://dlang.org/changelog/2.075.0.html#pattern-deprecate
What is now the most efficient way to remove characters from a
string, if only one type of character needs to be removed?
``
On Tuesday, 12 September 2017 at 04:33:30 UTC, Nicholas Wilson
wrote:
On Tuesday, 12 September 2017 at 03:51:45 UTC, Laeeth Isharc
wrote:
Hi.
I'm here in HK with Ilya, Atila, John Colvin, and Jonathan
Davis.
I wondered what the current state of D catching C++
exceptions was on Linux and Wind
On Thursday, 5 October 2017 at 21:48:20 UTC, WhatMeWorry wrote:
I've got a github project and using DUB with DMD and I keep
running into this problem. I've tried deleting the entire
...\AppData\Roaming\dub\packages folder, but the
problem repeats the very next build attempt.
[...]
See my p
On Friday, 6 October 2017 at 20:11:25 UTC, Laeeth Isharc wrote:
DMD path handling is a bit dated, and it's causing build
I mean I imagine getcwd and tk/filespec.c might not be the only
places that need updating, but I was going to start with those
and see what happened.
DMD path handling is a bit dated, and it's causing build problems
for us because on Windows it's easy to end up breaking DMD's
limit - particularly given how dub likes to turn everything into
a relative path.
Windows has so many beautiful example of the costs of legacy
compat. I just wrote d
Hi.
I'm here in HK with Ilya, Atila, John Colvin, and Jonathan Davis.
I wondered what the current state of D catching C++ exceptions
was on Linux and Windows. I know that some work was done on
making this possible, and my understanding is that it is, more or
less - just wondered what the ro
On Friday, 23 June 2017 at 08:26:21 UTC, Russel Winder wrote:
On Fri, 2017-06-23 at 08:11 +, Nicholas Wilson via
Digitalmars-d- learn wrote:
On Friday, 23 June 2017 at 07:51:51 UTC, Russel Winder wrote:
> I am likely just staring at and missing the data needed:
>
> How does one invoke dub t
On Friday, 9 June 2017 at 19:29:35 UTC, Honey wrote:
On Friday, 9 June 2017 at 18:32:06 UTC, Steven Schveighoffer
wrote:
Wow, so that's how D code would look like if it were C++ :)
Well, I cannot (and did not try to) hide where I am coming
from. ;-)
The results are quite disappointing. Wha
On Monday, 5 June 2017 at 16:31:04 UTC, Anonymouse wrote:
I just sent a pre-compiled .exe of my project to a friend, and
his Avast anti-virus promptly quarantined it and sent it off
for analysis. I tried sending him a Hello World[1] with the
same results.
Is this something common for d progra
On Sunday, 4 June 2017 at 22:52:55 UTC, Mike B Johnson wrote:
I am dealing with some COM stuff and some functions use
VARIANT, which can hold an enum.
Instead of having to manually convert the enum(and for that
matter, other things) to VARIANT, is it possible to have them
automatically conver
On Friday, 2 June 2017 at 17:22:20 UTC, Stefan Koch wrote:
On Friday, 2 June 2017 at 16:13:03 UTC, Laeeth Isharc wrote:
On Friday, 2 June 2017 at 02:06:27 UTC, Mike B Johnson wrote:
[...]
Stefan Koch has written a good part of an interpreter for D
AST, no? And I guess the lexing and parsing
On Friday, 2 June 2017 at 02:06:27 UTC, Mike B Johnson wrote:
I wonder if it is possible to somehow turn D in to a scripting
language that can be run inside D?
The point? To have the same uniform syntax for quickly
developing scripts that can then be easily transferred, if
desired, in to a co
On Friday, 19 May 2017 at 07:29:44 UTC, biocyberman wrote:
I am solving this problem http://rosalind.info/problems/revc/
as an exercise to learn D. This is my solution:
https://dpaste.dzfl.pl/8aa667f962b7
Is there some D tricks I can use to make the
`reverseComplement` function more concise a
On Friday, 12 May 2017 at 00:18:47 UTC, H. S. Teoh wrote:
On Wed, May 10, 2017 at 11:40:08PM +, Jesse Phillips via
Digitalmars-d-learn wrote: [...]
H.S. Teoh mentioned fastcsv but requires all the data to be in
memory.
Or you could use std.mmfile. But if it's decompressed data,
then it w
On Wednesday, 29 March 2017 at 05:53:22 UTC, I Lindström wrote:
Thanks all. Your answers gave me a lot more confidence in
starting. What I've always found to be the hardest is to know
what you can do, and that's what I use books for. "Can" in the
sense of what's possible and how. These forums a
On Monday, 27 March 2017 at 09:05:00 UTC, Seb wrote:
On Saturday, 25 March 2017 at 06:53:58 UTC, xtreak wrote:
Hi,
Sorry for the double post. I have asked a question at
Stackoverflow regarding this :
https://stackoverflow.com/questions/42992507/get-float-value-out-of-jsonvalue-in-dlang . I ha
On Tuesday, 28 March 2017 at 07:27:31 UTC, I Lindström wrote:
After getting the basics down, how did you continue when
learning programming in general?
I do have a need for which I've been trying out a few languages
and D seems by far the best for me. Should I just start doing
that project an
On Thursday, 23 March 2017 at 13:07:54 UTC, biocyberman wrote:
I am considering to use D and its library to build a high
performance client-server application. The client will be a
cross platform (Windows, Mac, Linux) GUI program that can
synchronize analysis results with the remote central ser
On Thursday, 23 March 2017 at 18:10:20 UTC, Dillen Meijboom wrote:
Hi there,
I'm learning D for a while because it's really easy to use
C-code in D.
The problem is that I don't really get how to deal with the
data structures defined in C in D.
At one time for instance I've tried to get all e
On Tuesday, 26 January 2016 at 22:36:31 UTC, H. S. Teoh wrote:
So the moral of the story is: avoid large numbers of small
allocations. If you have to do it, consider consolidating your
allocations into a series of allocations of large(ish) buffers
instead, and taking slices of the buffers.
Th
From Jan 2016:
https://queue.acm.org/detail.cfm?id=2874238
For the entire careers of most practicing computer scientists, a
fundamental observation has consistently held true: CPUs are
significantly more performant and more expensive than I/O
devices. The fact that CPUs can process data at ex
On Tuesday, 18 October 2016 at 12:03:54 UTC, Alfred Newman wrote:
Hello and greetings,
I'm a brand new D developer coming from Python.
I decided to move to D, mainly because it's a compiled language
and has a great runtime speed (and I don't feel confortable
at Cython environment at all). And
On Wednesday, 5 October 2016 at 12:12:24 UTC, Basile B. wrote:
On Wednesday, 5 October 2016 at 11:45:49 UTC, Laeeth Isharc
wrote:
I noticed the problem before - previously it was my fault.
I had a circulator dependency where A imported B, B did a
selective import of C and C imported A selectiv
I noticed the problem before - previously it was my fault.
I had a circulator dependency where A imported B, B did a
selective import of C and C imported A selectively. That led to
link problems with module constructors.
Here I noticed it in a different context. Simple two-page main
code i
On Wednesday, 31 August 2016 at 12:19:33 UTC, Cauterite wrote:
On Wednesday, 31 August 2016 at 11:43:12 UTC, Nick wrote:
That's quite nice, but not what I'm looking for.
What Calypso does, as far as I can see, is to make it possible
to compile C++ and D together. I'm looking for a compiler that
On Thursday, 25 August 2016 at 18:14:42 UTC, Illuminati wrote:
Does D have a non-gc based associative array?
If not, what would be a good way to go about creating one?
See EMSI containers in code.dlang.org
when it cannot match a prototype eg:
module foo;
enum Foo
{
foo
}
void bar(Foo foo)
{
}
module bar;
enum Foo
{
foo
}
void fooBar(Foo foo)
{
bar(foo);
}
rather than complain the type X does not match the type X - an
unhelpful message - could the compiler not check to see if the
type descript
All the design/discussion/implementation of this scheme for
handling integer overflow would be wasted if it didn’t actually
find any bugs in practice. I personally have had quite a few bugs
found nearly as I write them, with expressions like cmp::max(x -
y, z) (they never hit the internet, so n
On Saturday, 16 April 2016 at 04:04:24 UTC, Justice wrote:
Is it difficult to create a D business like app and connect it
to android through java for the interface?
I'd rather create all the complex stuff in D and either use it
natively through java(I need a UI).
If it is workable, can the s
suppose I have a forward or random access range. what's the best
way to compare each element with the element 4 elements prior to
that element? I could map each element to a tuple of the element
and the element 4 bars previously and do it that way. any neater
way ?
should it be a compiler warning to assign a negative literal to
an unsigned without a cast ?
On Tuesday, 15 March 2016 at 05:56:36 UTC, Ellery Newcomer wrote:
On 03/13/2016 02:36 PM, Laeeth Isharc wrote:
InterpContext context = new InterpContext();
context.py_stmts(outdent("
import numpy
a = numpy.eye(2, dtype='complex128')
"));
context.a.to_d!(Comple
On Sunday, 13 March 2016 at 18:42:59 UTC, Bastien wrote:
The sticking point is unless I commit the rest of my life to
maintaining this software, I can't write it all in D. The
algorithms change/are improved yearly; the output format from
the instrument changes once in a while and therefore thes
On Wednesday, 10 February 2016 at 20:21:22 UTC, Chris Wright
wrote:
On Wed, 10 Feb 2016 08:57:51 +, thedeemon wrote:
Currently (at least last time I checked) GC pauses the world,
then does all the marking in one thread, then all the sweeping.
Right.
We can do the
marking in several para
On Tuesday, 9 February 2016 at 13:01:29 UTC, NX wrote:
On Monday, 8 February 2016 at 22:21:50 UTC, Laeeth Isharc wrote:
The GC itself may still be far from perfect but its much
better than it was, and there are more options now. I have
found emsi containers (built on top of Andrei's allocator)
On Monday, 8 February 2016 at 17:15:11 UTC, Wyatt wrote:
On Monday, 8 February 2016 at 16:33:09 UTC, NX wrote:
I see... By any chance, can we solve this issue with GC
managed pointers?
Maybe we could. But it's never going to happen. Even if
Walter weren't fundamentally opposed to multiple
On Tuesday, 12 January 2016 at 19:38:32 UTC, Jason Jeffory wrote:
It seems the whole state of affairs in programming is "Lets do
the most minimal work to get X to work in environment Y. To
hell with everything else!". The programmers tend to do the
most minimal work to code stuff that they can
On Thursday, 19 November 2015 at 22:14:01 UTC, ZombineDev wrote:
On Thursday, 19 November 2015 at 06:33:06 UTC, Jay Norwood
wrote:
On Wednesday, 18 November 2015 at 22:46:01 UTC, jmh530 wrote:
My sense is that any data frame implementation should try to
build on the work that's being done with
On Monday, 2 November 2015 at 13:54:09 UTC, Jay Norwood wrote:
I was reading about the Julia dataframe implementation
yesterday, trying to understand their decisions and how D might
implement.
From my notes,
1. they are currently using a dictionary of column vectors.
2. for NA (not available)
On Tuesday, 17 November 2015 at 13:56:14 UTC, Jay Norwood wrote:
I looked through the dataframe code and a couple of comments...
I had thought perhaps an app could read in the header info and
type info from hdf5, and generate D struct definitions with
column headers as symbol names. That woul
On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
I'm writing a talk for codemesh on the use of D in finance.
Sorry - I wrote this in a hurry, and I should have said on my
experience of using D in finance (not the whole sector, which is
absolutely enormous and very diverse), an
On Wednesday, 4 November 2015 at 12:08:19 UTC, Laeeth Isharc
wrote:
this hardly matters for Java, C++, Python etc because mostly you
won't need to use a bunch of different libraries.
I meant mostly you won't need to go outside that ecosystem to use
a bunch of different libraries whereas with D
On Tuesday, 3 November 2015 at 23:37:36 UTC, Chris wrote:
On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
Interesting. Two points suggest that you should use D only for
serious programming:
"cases where you want to write quick one-off scripts that need
to use a bunch of diff
On Sunday, 1 November 2015 at 09:07:56 UTC, Ilya Yaroshenko wrote:
On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
Any other thoughts?
Floating point operations can be extended automatically
(without some kind of 'fastmath' flag) up to 80bit fp on 32 bit
intel processors. Th
On Saturday, 31 October 2015 at 16:06:47 UTC, Russel Winder wrote:
On Sat, 2015-10-31 at 15:41 +, tcak via Digitalmars-d-learn
wrote:
On Saturday, 31 October 2015 at 14:37:23 UTC, rumbu wrote:
> On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc
> wrote:
> > I'm writing a talk for c
On Sunday, 1 November 2015 at 20:38:44 UTC, Freddy wrote:
On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
I'm writing a talk for codemesh on the use of D in finance.
I want to start by addressing the good reasons not to use D.
(We all know what the bad ones are). I don't wan
On Saturday, 31 October 2015 at 05:25:06 UTC, ref2401 wrote:
On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
I'm writing a talk for codemesh on the use of D in finance.
I want to start by addressing the good reasons not to use D.
(We all know what the bad ones are). I don't
On Monday, 2 November 2015 at 13:54:09 UTC, Jay Norwood wrote:
I was reading about the Julia dataframe implementation
yesterday, trying to understand their decisions and how D might
implement.
From my notes,
1. they are currently using a dictionary of column vectors.
2. for NA (not available)
I'm writing a talk for codemesh on the use of D in finance.
I want to start by addressing the good reasons not to use D. (We
all know what the bad ones are). I don't want to get into a
discussion here on them, but just wanted to make sure I cover
them so I represent the state of affairs corr
http://www.curiousefficiency.org/posts/2015/10/languages-to-improve-your-python.html?utm_content=buffere6909&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
He says nice things about D, although maybe one might say more
and slightly different things.
It's good to see another who d
Of course it doesn't follow that merely aping the traits of
popular posts will produce the same result as actually having the
essence of whatever it is that truly makes a post popular. But
this was still quite interesting, and it's nice to see people
exploring the data.
http://www.dkriesel.c
Since there are some highly creative and intelligent people here,
self-selected to be those who enjoy working on problems that are
intrinsically interesting, I thought one or two people might
enjoy reading some extracts from a forthcoming book on the topic
of creative accomplishment and the end
On Thursday, 22 October 2015 at 16:15:23 UTC, Shriramana Sharma
wrote:
I wanted a D equivalent to:
http://doc.qt.io/qt-5/qdatastream.html
https://docs.python.org/3/library/pickle.html
and saw that one is under construction:
http://wiki.dlang.org/Review/std.serialization
But till it's finali
On Thursday, 22 October 2015 at 16:28:30 UTC, Laeeth Isharc wrote:
On Thursday, 22 October 2015 at 16:15:23 UTC, Shriramana Sharma
wrote:
I wanted a D equivalent to:
http://doc.qt.io/qt-5/qdatastream.html
https://docs.python.org/3/library/pickle.html
and saw that one is under construction:
h
On Wednesday, 14 October 2015 at 18:17:29 UTC, Russel Winder
wrote:
On Wed, 2015-10-14 at 14:48 +, John Colvin via
Digitalmars-d-learn wrote:
On Wednesday, 14 October 2015 at 14:32:00 UTC, jmh530 wrote:
> On Tuesday, 13 October 2015 at 23:26:14 UTC, Laeeth Isharc
> wrote:
> > https://www.q
On Saturday, 17 October 2015 at 13:15:17 UTC, yawniek wrote:
many thanks for the valuable insights.
so far i made a simple prototype with LuaD and classes, works
nicely for when my niput
what so far is not 100% clear is if there is a way to have a
parsed
msgpack or json documents being expose
On Friday, 16 October 2015 at 09:01:57 UTC, yawniek wrote:
hi,
i'm reading in a stream of data that is deserialized into
individual frames.
a frame is either of:
a) a specific D datastructure ( struct with a few
ulong,string,string[string] etc members), known at compile time
b) json (prefer
On Wednesday, 14 October 2015 at 15:25:22 UTC, David DeWitt wrote:
On Wednesday, 14 October 2015 at 14:48:22 UTC, John Colvin
wrote:
On Wednesday, 14 October 2015 at 14:32:00 UTC, jmh530 wrote:
On Tuesday, 13 October 2015 at 23:26:14 UTC, Laeeth Isharc
wrote:
https://www.quora.com/Why-is-Pytho
On Thursday, 15 October 2015 at 07:57:51 UTC, Russel Winder wrote:
On Thu, 2015-10-15 at 06:48 +, data pulverizer via
Digitalmars-d- learn wrote:
[…]
A journey of a thousand miles ...
Exactly.
I tried to start creating a data table type object by
investigating variantArray:
http://for
On Wednesday, 14 October 2015 at 22:11:56 UTC, data pulverizer
wrote:
On Tuesday, 13 October 2015 at 23:26:14 UTC, Laeeth Isharc
wrote:
https://www.quora.com/Why-is-Python-so-popular-despite-being-so-slow
Andrei suggested posting more widely.
I am coming at D by way of R, C++, Python etc. so I
On Wednesday, 14 October 2015 at 05:42:12 UTC, Ola Fosheim
Grøstad wrote:
On Tuesday, 13 October 2015 at 23:26:14 UTC, Laeeth Isharc
wrote:
https://www.quora.com/Why-is-Python-so-popular-despite-being-so-slow
Andrei suggested posting more widely.
That's flaimbait:
«Many really popular website
https://www.quora.com/Why-is-Python-so-popular-despite-being-so-slow
Andrei suggested posting more widely.
On Sunday, 11 October 2015 at 23:16:51 UTC, holo wrote:
After long fight with previous code i try to rewrite
"one-to-one" python example from
http://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html (GET part) from begging to D with full success. Here is working code in cl
On Friday, 9 October 2015 at 04:04:57 UTC, holo wrote:
r.dateString = client.addRequestHeader("Authoryzation:",
"AWS4-HMAC-SHA256" ~ " " ~ "Credential=" ~ accKey ~ "/" ~
xamztime ~ "/" ~ zone ~ "/" ~ service ~ "/" ~ "aws4_request" ~
", " ~ "SignedHeaders=" ~ "content-type;host;x-amz-date" ~
On Thursday, 8 October 2015 at 13:32:17 UTC, Steven Schveighoffer
wrote:
On 10/7/15 1:27 AM, Laeeth Isharc wrote:
On Wednesday, 7 October 2015 at 02:53:32 UTC, Steven
Schveighoffer wrote:
On 10/6/15 7:21 PM, Laeeth Isharc wrote:
could we have ssize_t defined in phobos somewhere so your
code en
On Wednesday, 7 October 2015 at 07:38:44 UTC, Andrea Fontana
wrote:
On Wednesday, 7 October 2015 at 05:27:12 UTC, Laeeth Isharc
wrote:
On Wednesday, 7 October 2015 at 02:53:32 UTC, Steven
Schveighoffer wrote:
On 10/6/15 7:21 PM, Laeeth Isharc wrote:
could we have ssize_t defined in phobos somew
On Wednesday, 7 October 2015 at 02:53:32 UTC, Steven
Schveighoffer wrote:
On 10/6/15 7:21 PM, Laeeth Isharc wrote:
could we have ssize_t defined in phobos somewhere so your code
ends up
being portable ;) (It's trivial to do, obviously).
ptrdiff_t
-Steve
It seems unnatural to use such a nam
On Tuesday, 6 October 2015 at 14:55:23 UTC, Adam D. Ruppe wrote:
On Tuesday, 6 October 2015 at 14:46:56 UTC, tcak wrote:
void main(){
size_t dec = 0;
How is it generating "true" for (dec <= -10) ? Is there a
special casting or something?
size_t is unsigned, so the -10 is cast to uns
On Monday, 5 October 2015 at 17:40:24 UTC, bitwise wrote:
You may be right. I wrote a simple download manager in D using
message passing. It was a little awkward at first, but in
general, the spawn/send/receive API seems very intuitive. It
feels awkward because the data you're working with is o
Development environments are very personal, and perhaps it's just
my age and not always wanting to learn what the kids are using
today, but I personally find strategic writeflns more helpful
than an IDE for debugging. Still, there comes a point when that
isn't enough.
Ketmar mentioned that
On Sunday, 4 October 2015 at 20:34:53 UTC, John Colvin wrote:
On Sunday, 4 October 2015 at 20:26:51 UTC, John Colvin wrote:
template bish(T)
{
alias tmp = bish0!T;
alias tmp = bish1!T;
alias bish = tmp;
}
https://issues.dlang.org/show_bug.cgi?id=15156
Thanks very much
On Sunday, 4 October 2015 at 18:24:08 UTC, John Colvin wrote:
On Sunday, 4 October 2015 at 18:08:55 UTC, Laeeth Isharc wrote:
On Sunday, 4 October 2015 at 17:17:14 UTC, Laeeth Isharc wrote:
On Sunday, 4 October 2015 at 16:37:34 UTC, John Colvin wrote:
On Sunday, 4 October 2015 at 15:45:55 UTC,
On Sunday, 4 October 2015 at 17:17:14 UTC, Laeeth Isharc wrote:
On Sunday, 4 October 2015 at 16:37:34 UTC, John Colvin wrote:
On Sunday, 4 October 2015 at 15:45:55 UTC, Laeeth Isharc wrote:
How do I persuade partial to tie itself to the appropriate
overload?
---
As far as I can see std.functio
On Sunday, 4 October 2015 at 16:37:34 UTC, John Colvin wrote:
On Sunday, 4 October 2015 at 15:45:55 UTC, Laeeth Isharc wrote:
How do I persuade partial to tie itself to the appropriate
overload?
---
As far as I can see std.functional.partial only does one
argument at a time.
bars=partial!(pa
On Sunday, 4 October 2015 at 16:37:34 UTC, John Colvin wrote:
On Sunday, 4 October 2015 at 15:45:55 UTC, Laeeth Isharc wrote:
How do I persuade partial to tie itself to the appropriate
overload?
I have:
alias
bars=partial!(slurpBars!BarType,filename,startDate,endDate);
where there are two o
How do I persuade partial to tie itself to the appropriate
overload?
I have:
alias bars=partial!(slurpBars!BarType,filename,startDate,endDate);
where there are two overloads of slurpBars:
SomeBar[] slurpBars(SomeBar)(string filename,string datasetName,
typeof(SomeBar.date) startDate, typeof(S
On Sunday, 4 October 2015 at 00:45:16 UTC, Mengu wrote:
i watched this talk by yaron last year when i was looking at
alternatives for sml. i was taking the programming languages
course on coursera by dan grossman. ocaml looked like it tooked
off at the beginning of 2000s but then due to many pr
On Saturday, 3 October 2015 at 15:58:38 UTC, Mengu wrote:
On Saturday, 3 October 2015 at 01:41:55 UTC, Laeeth Isharc
wrote:
https://www.youtube.com/watch?v=hKcOkWzj0_s
a little old but still relevant. talks about importance of
brevity and strong types for readability (also avoiding
boilerpla
https://www.youtube.com/watch?v=hKcOkWzj0_s
a little old but still relevant. talks about importance of
brevity and strong types for readability (also avoiding
boilerplate). two of the partners there committed to read every
line of code (originally because they were terrified). very hard
to
On Friday, 2 October 2015 at 23:54:18 UTC, Taylor Hillegeist
wrote:
I do not come from a c++ background. but have looked at what
allocators do for c++. I know in D the standard for memory
management is garbage collection and if we want to manage it
ourselfs we have to do things like @nogc. I wa
On Friday, 25 September 2015 at 12:25:52 UTC, tired_eyes wrote:
I meant if there is already a place where I can upload my post
to. Something like blog.dlang.org
OT:
Once again, I'm absolutely sure tha D should have an official
blog! Forums can't replace blogs, forums are for discussions,
not
1 - 100 of 328 matches
Mail list logo