On Tuesday, 24 July 2018 at 16:15:52 UTC, bpr wrote:
On Tuesday, 24 July 2018 at 14:07:43 UTC, Ecstatic Coder wrote:
[...]
No. For many C++ users, tracing GC is absolutely not an option.
And, if it were, D's GC is not a shining example of a good GC.
It's not even precise, and I would bet
On Friday, 13 July 2018 at 20:03:37 UTC, jmh530 wrote:
On Friday, 13 July 2018 at 17:12:26 UTC, Atila Neves wrote:
[...]
Hmm, thinking on this a little more...it does seem
difficult...but I don't think the problem is with immutable
borrows. I think the issue is with the exclusivity of
On Thursday, 12 July 2018 at 21:31:04 UTC, xray wrote:
On Thursday, 12 July 2018 at 14:13:25 UTC, Chris M. wrote:
On Wednesday, 11 July 2018 at 22:59:50 UTC, xray wrote:
[...]
I feel the following should be disallowed, since we've moved
some checking to runtime. Ideally this system would
On Wednesday, 11 July 2018 at 22:59:50 UTC, xray wrote:
The message above is repost of :
https://forum.dlang.org/post/pfjotkcazuiuhlvzi...@forum.dlang.org
So I can reply to Chris M. here.
--
Yes, Chris, I got inspired by Rust
On Thursday, 5 July 2018 at 01:11:58 UTC, Basile B. wrote:
On Thursday, 5 July 2018 at 00:00:07 UTC, Chris M. wrote:
On Sunday, 1 July 2018 at 12:04:06 UTC, Basile B. wrote:
[...]
Very nice, I remember checking this one out a while back.
I don't see the files from the ADT module though
On Sunday, 1 July 2018 at 12:04:06 UTC, Basile B. wrote:
I've recently ported libfirm to D.
This nice C library, developed at the Karlsruhe university,
allows to build compiler back-ends, using the SSA intermediate
representation.
In theory it could even be used to make a new D compiler
On Tuesday, 3 July 2018 at 18:35:43 UTC, kinke wrote:
On Tuesday, 3 July 2018 at 17:54:08 UTC, Seb wrote:
[...]
AFAICT, the issue is that MinGW is used, as opposed to
MinGW-w64 (a confusingly separate project unfortunately AFAIK).
There's no SetWindowLongPtr for Win32, it's #defined as
On Friday, 29 June 2018 at 07:03:52 UTC, Dmitry Olshansky wrote:
I never ever (I think) did something provocative, something to
finally see:
- who in the community WANTS D language to succeed?
- who are just these funny “people” let’s call th this, that
are I don’t know “just hang around”
On Tuesday, 3 July 2018 at 18:24:47 UTC, Chris M. wrote:
On Tuesday, 3 July 2018 at 17:54:08 UTC, Seb wrote:
[...]
https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-5.0.2/
Looks like there's a user32.def file in the src package that
does not have these two functions
On Tuesday, 3 July 2018 at 17:54:08 UTC, Seb wrote:
On Tuesday, 3 July 2018 at 15:10:34 UTC, Chris M. wrote:
On Tuesday, 3 July 2018 at 14:38:53 UTC, Mike Parker wrote:
On Tuesday, 3 July 2018 at 13:32:21 UTC, Chris M. wrote:
After hashing it out with some people on the Discord, I'm
fairly
On Tuesday, 3 July 2018 at 14:38:53 UTC, Mike Parker wrote:
On Tuesday, 3 July 2018 at 13:32:21 UTC, Chris M. wrote:
After hashing it out with some people on the Discord, I'm
fairly certain we narrowed it down to the 64-bit user32.lib
from mingw missing these functions.
https
On Tuesday, 3 July 2018 at 05:36:12 UTC, Seb wrote:
On Monday, 2 July 2018 at 23:00:08 UTC, Chris M. wrote:
On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote:
On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis
wrote
On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote:
On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
On Monday, July 02, 2018 18:26:27 Chris M. via
Digitalmars-d-learn wrote:
On Monday, 2 July 2018 at 17:33:20 UTC, Bauss
On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
On Monday, July 02, 2018 18:26:27 Chris M. via
Digitalmars-d-learn wrote:
On Monday, 2 July 2018 at 17:33:20 UTC, Bauss wrote:
> On Monday, 2 July 2018 at 12:53:19 UTC, Chris M. wrote:
>> [...]
>
> If I don't get ar
On Monday, 2 July 2018 at 17:33:20 UTC, Bauss wrote:
On Monday, 2 July 2018 at 12:53:19 UTC, Chris M. wrote:
On Friday, 29 June 2018 at 20:08:49 UTC, Chris M. wrote:
On Friday, 29 June 2018 at 19:53:27 UTC, bauss wrote:
On Friday, 29 June 2018 at 19:25:42 UTC, Chris M. wrote:
[...]
Are you
On Friday, 29 June 2018 at 20:08:49 UTC, Chris M. wrote:
On Friday, 29 June 2018 at 19:53:27 UTC, bauss wrote:
On Friday, 29 June 2018 at 19:25:42 UTC, Chris M. wrote:
[...]
Are you compiling to 64bit?
Else the functions will be named GetClassLongA and
SetClassLongA
Yeah, that's what I'm
On Sunday, 1 July 2018 at 01:16:59 UTC, Jonathan M Davis wrote:
On Sunday, July 01, 2018 00:42:30 spikespaz via
Digitalmars-d-learn wrote:
Hey guys, I'm getting a linker error when compiling with DMD
`-m63` that I don't get as 23 bit.
I'm importing `ShowWindow` from
On Saturday, 30 June 2018 at 15:08:52 UTC, Dmitry Olshansky wrote:
On Saturday, 30 June 2018 at 13:12:44 UTC, Meta wrote:
[...]
Oh my...
I don’t know *exactly* how it works(?)
[...]
I think someone needs to take away your metaphorical keys lol
On Friday, 29 June 2018 at 19:53:04 UTC, Timoses wrote:
On Friday, 29 June 2018 at 19:25:42 UTC, Chris M. wrote:
This doesn't appear to specifically be a Vibe issue, just
noticing this error when I use eventcore from it (trying to
use async).
C:\dmd2\windows\bin\lld-link.exe: warning
On Friday, 29 June 2018 at 19:53:27 UTC, bauss wrote:
On Friday, 29 June 2018 at 19:25:42 UTC, Chris M. wrote:
[...]
Are you compiling to 64bit?
Else the functions will be named GetClassLongA and SetClassLongA
Yeah, that's what I'm targeting
Vibe builds fine on 64bit for me and I think
This doesn't appear to specifically be a Vibe issue, just
noticing this error when I use eventcore from it (trying to use
async).
C:\dmd2\windows\bin\lld-link.exe: warning:
eventcore.lib(sockets_101f_952.obj): undefined symbol:
SetWindowLongPtrA
C:\dmd2\windows\bin\lld-link.exe: warning:
On Thursday, 28 June 2018 at 13:29:58 UTC, vit wrote:
Hello,
Is it possible to create scope wrapper initialized by non
default constructor with scope parameter?
something like this:
struct Wrapper{
int* p;
static Wrapper create(scope return int* p)@safe{
Wrapper w;
On Thursday, 28 June 2018 at 00:15:54 UTC, Jonathan M Davis wrote:
On Wednesday, June 27, 2018 16:54:55 Manu via Digitalmars-d
wrote:
Hey people,
So I had a few people in the office refuse to install DMD
because when
they launched the installer, Windows displayed the prompt that
it was
On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
This is the feedback thread for the first round of Community
Review for DIP 1015, "Deprecation and removal of implicit
conversion from integer and character literals to bool":
[...]
Yes please
On Wednesday, 6 June 2018 at 08:35:27 UTC, noclear wrote:
On Tuesday, 5 June 2018 at 13:07:49 UTC, Chris wrote:
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
We are pleased to announce an official version of hunt 1.0 ,
This is an important milestone release!
[...]
/usr/bin/ld
On Tuesday, 5 June 2018 at 23:40:37 UTC, aberba wrote:
These people who complain don't usually contribute a penny to
Open source.
I dare doubt that this is true.
Frankly, Microsoft has done great things for the world with
software. Making computers accessible to everyone...
...and lock
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
We are pleased to announce an official version of hunt 1.0 ,
This is an important milestone release!
[...]
/usr/bin/ld: cannot find -lmysqlclient
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
On Monday, 4 June 2018 at 19:06:52 UTC, Maksim Fomin wrote:
My second reaction after reading news (after shock) was to
visit D forum.
Same here! I was off for a few days and found out today on GitHub
[1], and then I remembered the thread header talking about
GitLab. I'm skeptical to say
On Monday, 9 April 2018 at 18:27:26 UTC, Per Nordlöw wrote:
How difficult would it be to migrate an existing modern
GC-implementation into D's?
Which kinds of GC's would be of interest?
Which attempts have been made already?
IBM has open sourced its JVM:
https://www.eclipse.org/openj9/
On Monday, 21 May 2018 at 11:38:12 UTC, SrMordred wrote:
After all this time I saw this:
writeln = iota = 5;
what??
I never saw that before!
This is interesting, there is something useful that i can do
with this kind of call?
That's pretty cool, but at the same time this should be wiped
On Sunday, 20 May 2018 at 23:01:39 UTC, Charles Hixson wrote:
auto has its uses, but it's wildly overused, especially in
library code and documentation, and really, really, *really*
much so in documentation examples.
A lot of functions in `std.algorithm` are actually quite clear
about it,
On Friday, 18 May 2018 at 16:25:52 UTC, Neia Neutuladh wrote:
On Friday, 18 May 2018 at 10:09:20 UTC, Chris wrote:
In a way Java has slowly been moving in that direction anyway,
cf. this answer [2] that reminded me of D's `auto` return type.
[2]
https://stackoverflow.com/questions/1348199/what
On Friday, 18 May 2018 at 17:59:04 UTC, Dave Jones wrote:
On Friday, 18 May 2018 at 15:40:52 UTC, KingJoffrey wrote:
On Friday, 18 May 2018 at 14:32:33 UTC, bachmeier wrote:
It will attract more programmers, not less - and trust me, D
better get more programmers using it, cause 18 years on,
On Friday, 18 May 2018 at 12:16:55 UTC, aliak wrote:
You may not need a new word at all. You can also enhance
private to take arguments. Package already does this. You can
give private a symbol list that says which symbols this is
private for. So:
class A {
private int x;
private(A)
On Thursday, 17 May 2018 at 11:38:13 UTC, Kagamin wrote:
I prefer types spelled as it helps to understand the code. In
javascript I have to look around to figure out types of
variables and then I can understand the code. In C# I saw
surprising abuse like `var id = 0L;` - to think someone
On Thursday, 17 May 2018 at 09:26:34 UTC, rikki cattermole wrote:
On 17/05/2018 8:52 PM, ixid wrote:
On Thursday, 17 May 2018 at 08:51:39 UTC, rikki cattermole
wrote:
On 17/05/2018 8:50 PM, Chris wrote:
For what it's worth, I came across this website:
https://benchmarksgame
For what it's worth, I came across this website:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/
D is not there. Anyone interested, if it's worth it?
On Friday, 11 May 2018 at 18:44:25 UTC, H. S. Teoh wrote:
On Fri, May 11, 2018 at 04:57:05PM +, Mark via
Digitalmars-d wrote:
[...]
This makes me wonder if it might be useful to have return-type
constraints. A kind of static out-contract? Something that's
part of the function
On Tuesday, 8 May 2018 at 22:27:19 UTC, Alexibu wrote:
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
Hi!
Does anyone else use Geany as Dlang code editor?
I use Geany for D.
It already performs autocomplete.
I am not sure how good it is.
It isn't something I'm that
On Sunday, 29 April 2018 at 14:01:10 UTC, Gerald wrote:
A new version of tilix has been released. For those not
familiar with it, Tilix is a terminal emulator for Linux
written in D using GTK. The list of changes is available here:
https://gnunn1.github.io/tilix-web/2018/04/28/release-1-7-9
On Monday, 30 April 2018 at 21:56:23 UTC, H. S. Teoh wrote:
On Mon, Apr 30, 2018 at 09:31:48PM +, Giles Bathgate via
Digitalmars-d wrote: [...]
[...]
T
On Monday, 30 April 2018 at 21:56:23 UTC, H. S. Teoh wrote:
[...]
Appart from the good points Teoh has made, imagine you would have
On Thursday, 8 March 2018 at 03:55:35 UTC, Adam D. Ruppe wrote:
enjoy, and happy hacking. ;-)
@Adam @ drug Any chance you could add more examples of nanogui
and arsed/minigui;minigui_xml? It all looks very promissing!
On Saturday, 7 April 2018 at 09:13:06 UTC, drug wrote:
https://github.com/drug007/nanogui
I would be glad if you take a look
`nanogui` doesn't compile with dub:
No package file found in /nanogui/examples/arsd/, expected one of
dub.json/dub.sdl/package.json
It says `arsd is submodule now`.
On Saturday, 28 April 2018 at 00:17:29 UTC, Nick Sabalausky
(Abscissa) wrote:
On 04/27/2018 06:29 AM, Chris wrote:
On Thursday, 26 April 2018 at 02:31:07 UTC, Nick Sabalausky
(Abscissa) wrote:
[...]
Technology, science etc. are no exception to (natural) human
behavior: do as everybody else
On Friday, 27 April 2018 at 00:18:05 UTC, H. S. Teoh wrote:
On Thu, Apr 26, 2018 at 04:26:30PM -0700, Walter Bright via
Digitalmars-d wrote: [...]
[...]
People often complain about how redundant natural languages
are... not realizing that it actually provides, in addition to
being easier to
On Thursday, 26 April 2018 at 02:31:07 UTC, Nick Sabalausky
(Abscissa) wrote:
On 04/25/2018 05:49 AM, Chris wrote:
Well yea, all the hipster nerds say Google is God and Chrome is
what you should be using, so it must be so. ;)
At the very least, I just wish there was a good choice. Mozilla
On Wednesday, 25 April 2018 at 06:59:37 UTC, Shachar Shemesh
wrote:
Hello everybody,
I'll be arriving in Munich on the morning of May 1st. I was
wondering whether anyone has any recommendations as to how to
spend that day?
Thanks,
Shachar
It's about tourist attractions:
On Wednesday, 25 April 2018 at 03:00:13 UTC, Nick Sabalausky
(Abscissa) wrote:
Yea, Chrome is kind of notorious for random breakages compared
to other browsers. Google seems to still be a fan of that "move
fast to break everything" fad that (unsurprisingly) has been
biting Facebook in the
On Tuesday, 24 April 2018 at 12:29:04 UTC, Adam D. Ruppe wrote:
On Tuesday, 24 April 2018 at 10:30:21 UTC, Chris wrote:
- cross platform: no need to deploy libs (e.g. Gtk on Mac and
Windows)
Well... that depends. If you can just use the browser already
installed, yeah, but then you have
On Tuesday, 24 April 2018 at 12:44:59 UTC, Uknown wrote:
I forgot to mention consistency. This is the biggest reason I
don't use non native apps. I'm not talking about your app being
consistent across operating systems. I'm referring to being
consistent with programs on the current system.
On Monday, 23 April 2018 at 14:38:44 UTC, TheGag96 wrote:
That's definitely what I'm trying to avoid... I feel those
kinds of interfaces are 99% of the time mega bloated for what
they are. Discord is the only one that seemed big enough for
the britches of an entire browser instance.
Oh goodness. I thought D was using Doxygen!
Thanks.
!
Under https://dlang.org/changelog/2.080.0.html#rwm-shared-error
It should be core.atomic.atomicOp instead of atomic.atomicOp.core
-Chris
I'm a complete doxygen newbie. But my first thought when writing
comments is... why not use Markdown? (Which has become almost
universal online these days.)
So I google it and Moxygen comes up. Which seems pretty good.
On Wednesday, 18 April 2018 at 07:15:47 UTC, Simen Kjærås wrote:
On Wednesday, 18 April 2018 at 06:54:29 UTC, Chris Katko wrote:
I need to rotate an array by 90 degrees, or have writefln
figure that out.
I need, say:
0 4 5 6
0 0 0 0
0 0 0 0
0 0 0 0
But it's outputting:
0 0 0 0
4 0 0 0
5 0
I need to rotate an array by 90 degrees, or have writefln figure
that out.
I need, say:
0 4 5 6
0 0 0 0
0 0 0 0
0 0 0 0
But it's outputting:
0 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
int [4][4] data;
file.writeln(format("%(%-(%d %)\n%)", data));
That was all pseudo-code typed by hand.
I got my code to work today. I don't know if it's the prettiest
it can be, but it works:
// TESTING ACCESS TO the OWNING function
//---
class test_window
{
float x;
float y;
I'm having trouble conceptualizing this issue at the moment. But
it seems if I pass to the delegate my object, then I can ONLY use
one class type.
Say, the delegate takes a "this" from... some class that wants to
have a dialog. A window. Now the delegate NEEDS a this from a
window, and only
Some typos in there.
execute == on_draw.
Basically, I'm just sending a delegate/lambda "custom function"
at initialization time. But I'd like that delegate to somehow
access the holding classes functions. Or figure out how to do
that.
Maybe the class somehow sends the delegate a this
What I want:
class viewport_t
{
int x,y,w,h;
}
class dialog_t
{
int x,y;
this( int x, int y, delegate void (viewport_t) on_draw )
{
this.x = x;
this.y = y;
this.execute = execute;
}
void draw_text(string text)
{
}
delegate void (viewport_t)
On Wednesday, 11 April 2018 at 21:44:57 UTC, solidstate1991 wrote:
https://github.com/ZILtoid1991/pixelperfectengine/releases/tag/v0.9.4-alpha.2
The editor is almost usable (still needs a way to import tiles
from its own proprietary format), and now has a working,
although still a bit slow and
On Wednesday, 11 April 2018 at 21:44:57 UTC, solidstate1991 wrote:
https://github.com/ZILtoid1991/pixelperfectengine/releases/tag/v0.9.4-alpha.2
The editor is almost usable (still needs a way to import tiles
from its own proprietary format), and now has a working,
although still a bit slow and
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote:
Here's my blog post about my project that allows directly
#including C headers in D*
https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/
The summary is that, modulo bugs, things like this work:
On Thursday, 12 April 2018 at 21:17:30 UTC, Paul Backus wrote:
On Thursday, 12 April 2018 at 20:34:40 UTC, Chris Katko wrote:
But each doesn't return anything, it mutates, right? I think
that's the problem I ran into with my attempt. With your code,
I get an error about void:
string []x
Wait, that might not be the error.
On Thursday, 12 April 2018 at 20:37:49 UTC, Chris Katko wrote:
Wait, that might not be the error.
Just the top one. This one:
extra.d(2493): Error: template std.algorithm.iteration.each
cannot deduce function from argument types !()(string[], void),
candidates are:
/usr/include/dmd/phobos
On Thursday, 12 April 2018 at 15:47:14 UTC, Uknown wrote:
On Thursday, 12 April 2018 at 15:38:34 UTC, Chris Katko wrote:
I googled but couldn't find any clear solution.
I've got a 2-D array of strings read from a text file I
parsed. So it's like
0 1 15 0 0
2 12 1 0 0
...
0 1 0 10 0
I googled but couldn't find any clear solution.
I've got a 2-D array of strings read from a text file I parsed.
So it's like
0 1 15 0 0
2 12 1 0 0
...
0 1 0 10 0
They come in with spaces, so I join into an array between them.
But then the last ones have a newline \n on the end, which
On Tuesday, 10 April 2018 at 05:55:06 UTC, Joakim wrote:
On Tuesday, 10 April 2018 at 01:21:07 UTC, Chris Katko wrote:
[...]
See previous forum thread on the topic, with Walter chiming in
a bit too:
https://forum.dlang.org/thread/kglnxqbcugerhynng...@forum.dlang.org
Wow, that thread had
One more note: It seems like this would be heaven for trying out
new language features without having to "manually" add them into
the compiler first. By hijacking the syntax to AST stage, we can
add new constructs with real-functioning code, and have others
evaluate themselves and unit test
https://www.youtube.com/watch?v=6nsyX37nsRs
I'm really happy with the way languages are finally progressing.
I've said for years that we should be able to program the "rules"
(e.g. code guidelines) that programmers then abide by, so that
they are statically checked.
DScanner is an example.
On Monday, 9 April 2018 at 10:17:30 UTC, Diego Lago wrote:
Hello all,
I would like to announce the (almost[1]) completed Spanish
translation [2] of the DLang Tour page:
http://tour.dlang.org/tour/es
Hope this helps to spread this fantastic and awesome
programming language :)
Best
On Monday, 9 April 2018 at 00:25:21 UTC, solidstate1991 wrote:
On Saturday, 24 February 2018 at 07:12:21 UTC, Guillaume Piolat
wrote:
From my experience a combination of the following is necessary:
- not having the audio thread registered
- using pools aggressively for game entities
Also you
I want to know whose bright idea it was to turn l33tspeak into a
programming language.
Sorry if this is "re-opening" an old thread, but did anything
come from this and DIP50? It seems like a really interesting
concept and this thread was one of the first results for a Google
search.
Thanks.
On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote:
D and nim are both very promising.
I created this git repo to compare them:
https://github.com/timotheecour/D_vs_nim/
Goal: up to date and objective comparison of features between D
and nim (to help deciding what language to use),
On Friday, 30 March 2018 at 03:14:42 UTC, Mike Parker wrote:
On Friday, 30 March 2018 at 02:30:01 UTC, Chris Katko wrote:
[...]
Something like this?
=
import std.stdio;
[...]
This is beautiful. I mean, the struct stuff looks
complicated/non-intuitive at first, but it's all
void start_draw_calls(BITMAP target_bitmap); //locks onto a
resource
void end_draw_calls(); //frees previous resource lock
void my_function()
{
//...
start_draw_calls(target_bitmap) //whether this is a function,
or class, lambda, or a "using"?
{
draw_call1();
On Thursday, 29 March 2018 at 18:07:50 UTC, Jonathan M Davis
wrote:
On Thursday, March 29, 2018 17:41:15 Chris M. via
Digitalmars-d-learn wrote:
[...]
In general, the correct way to deal with a shared object is to
protect access to it with a mutex and then within that
protected section, you
I'm working with mysql-native for a project, and have been using
a single, shared Connection
(http://semitwist.com/mysql-native-docs/v2.2.0/mysql/connection/Connection.html) among multiple threads. The issue here is that since it's shared, I can't use certain functions such as exec() or close()
On Wednesday, 28 March 2018 at 23:42:26 UTC, Simen Kjærås wrote:
On Wednesday, 28 March 2018 at 23:02:53 UTC, Chris Katko wrote:
There's many things that can be done to make the code easier to
follow. These lines:
[...]
[...]
WOW. Thank you. That's the kind of tricks for (or more properly
On Wednesday, 28 March 2018 at 17:42:45 UTC, Steven Schveighoffer
wrote:
On 3/28/18 11:46 AM, Chris Katko wrote:
enum hasRotate = anySatisfy!( isa(pos), a); //if of type
"pos"
anySatisfy!(isa!pos, a)
anySatisfy takes a template alias (in this case, an
instantiat
On Wednesday, 28 March 2018 at 17:08:39 UTC, Chris Katko wrote:
On Wednesday, 28 March 2018 at 15:49:39 UTC, Chris Katko wrote:
On Wednesday, 28 March 2018 at 15:46:42 UTC, Chris Katko wrote:
[...]
Whoops! Wrong error message. That's if I replace isa(pos) with
IsIntegral.
[...]
Okay
On Wednesday, 28 March 2018 at 15:49:39 UTC, Chris Katko wrote:
On Wednesday, 28 March 2018 at 15:46:42 UTC, Chris Katko wrote:
[...]
Whoops! Wrong error message. That's if I replace isa(pos) with
IsIntegral.
[...]
Okay, the key appears to be here:
funct2(123); //a function call
void
On Wednesday, 28 March 2018 at 15:46:42 UTC, Chris Katko wrote:
On Wednesday, 28 March 2018 at 08:05:55 UTC, Simen Kjærås wrote:
On Wednesday, 28 March 2018 at 07:45:59 UTC, Chris Katko wrote:
I have a static foreach that goes through the parameter list
and if it sees a class like "r
On Wednesday, 28 March 2018 at 08:05:55 UTC, Simen Kjærås wrote:
On Wednesday, 28 March 2018 at 07:45:59 UTC, Chris Katko wrote:
I have a static foreach that goes through the parameter list
and if it sees a class like "rotate", ideally, I want it to
mark a boolean "
I have a static foreach that goes through the parameter list and
if it sees a class like "rotate", ideally, I want it to mark a
boolean "has_rotate=true"
Then simply later on, once I've parsed the list, I pick an output
path:
static if(has_rotate && has_position && has_scale)
{
On Wednesday, 28 March 2018 at 06:20:56 UTC, Ali Çehreli wrote:
On 03/27/2018 11:11 PM, Chris Katko wrote:
> writeln(a[0]); //first is "pos(100,100)"
> static if(
> is(a[0] == pos) //<---never matches
It's because not a[0]
I'm trying this idea for an API style it's... not quite working.
The part I'm failing at currently is actually classifying types
passed in.
I want this to occur at compile time.
void funct(A...)(A a)
{
static if (a.length)
{
writeln(a[0]);
On Tuesday, 27 March 2018 at 12:17:44 UTC, bauss wrote:
Yes I agree it's great that D is talked about.
I just feel like someone is dropping salt into my coffee when
it's misinterpreted.
I hope one day all the legacy, non-relevant issues D had will
cease to exist and that it will be looked
On Tuesday, 27 March 2018 at 10:46:03 UTC, bauss wrote:
On Tuesday, 27 March 2018 at 10:31:34 UTC, Chris wrote:
On Tuesday, 27 March 2018 at 06:42:29 UTC, Anton Fediushin
wrote:
[snip]
"The only thing worse than being talked about is not being
talked about." Oscar Wilde
On Tuesday, 27 March 2018 at 06:42:29 UTC, Anton Fediushin wrote:
[snip]
"The only thing worse than being talked about is not being talked
about." Oscar Wilde
"There's no such thing as bad publicity except your own
obituary." Brendan Behan
Well, maybe the odd person will keep D in the
On Saturday, 24 March 2018 at 03:04:41 UTC, Andrei Alexandrescu
wrote:
On 3/23/18 7:29 PM, H. S. Teoh wrote:
Well, looking at the implementation of std.getopt turned up the
disturbing fact that the program's argument list is actually
scanned
*multiple times*, one for each possible option(!).
On Saturday, 17 March 2018 at 20:02:01 UTC, Laeeth Isharc wrote:
And yet in Paris lives a man, presumably a French citizen, who
was working on a cryptocurrency scaling startup last dconf and
that ended up being part of the path towards launching Bitcoin
Cash. So some French citizens don't
On Friday, 16 March 2018 at 19:27:40 UTC, Walter Bright wrote:
On 3/16/2018 4:44 AM, Chris wrote:
Would it be possible to find out at DConf in Munich why
exactly D is so popular in Germany (my impression) and in
other countries of Europe (and that general post code) like
France, Italy, GB
On Friday, 16 March 2018 at 14:50:26 UTC, Paulo Pinto wrote:
Well, Algol, Pascal, Oberon, Component Pascal, VHDL, Ada are
all examples of programming languages successfully used in
Europe, while having adoption issues on US.
Even Delphi is still having regular conferences and magazine
On Friday, 16 March 2018 at 14:18:16 UTC, bauss wrote:
On Friday, 16 March 2018 at 13:51:03 UTC, Chris wrote:
On Friday, 16 March 2018 at 12:43:03 UTC, psychoticRabbit
wrote:
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote:
Hint: there's a Ph.D. in it ;)
Hint: Do not write a Ph.D
On Friday, 16 March 2018 at 12:43:03 UTC, psychoticRabbit wrote:
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote:
Hint: there's a Ph.D. in it ;)
Hint: Do not write a Ph.D based on impressions ;-)
Hint: Do not write a Ph.D. at all ;)
Would it be possible to find out at DConf in Munich why exactly D
is so popular in Germany (my impression) and in other countries
of Europe (and that general post code) like France, Italy, GB,
Romania and Russia etc.? I've always been intrigued by the fact
that it originated in the US but that
On Thursday, 15 March 2018 at 20:01:07 UTC, Walter Bright wrote:
On 3/15/2018 4:33 AM, Chris wrote:
For sight-seeing, I'd recommend the CityTourCard:
https://www.mvv-muenchen.de/en/tickets-and-fares/tickets-daytickets/citytourcard/index.html#c12632
Does the "entire network" pri
301 - 400 of 3486 matches
Mail list logo