https://issues.dlang.org/show_bug.cgi?id=17848
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dlang.org
https://github.com/dlang/dlang.org/commit/90bce087c1671bec00cf1a2d2d2d6bc84ed3cc4e
fix issue 17848 - Example of floating point
GC.addRange has this signature:
static nothrow @nogc void addRange(in void* p, size_t sz, const TypeInfo
ti = null);
I see a large problem with this. Let's say you malloc an array of struct
pointers:
struct Foo { ... }
import core.stdc.stdlib;
auto ptrs = (cast(Foo *)malloc(Foo.sizeof *
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
It's an ongoing process to make the registry more reliable.
However, since a couple of months we run multiple mirrors.
At the moment there is:
On Thursday, 21 September 2017 at 08:01:23 UTC, Vadim Lopatin
wrote:
There is a simple set of simple web server apps written in
several languages (Go, Rust, Scala, Node-js):
https://github.com/nuald/simple-web-benchmark
I've sent PR to include D benchmark (vibe.d).
I was hoping it could show
https://issues.dlang.org/show_bug.cgi?id=16548
Vladimir Panteleev changed:
What|Removed |Added
Keywords|
https://issues.dlang.org/show_bug.cgi?id=17849
Steven Schveighoffer changed:
What|Removed |Added
Status|REOPENED|RESOLVED
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
Works from here.
Best,
Nemanja
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
It works fine for me. Can you verify?
Am 22.09.2017 um 09:45 schrieb Vadim Lopatin:
On Thursday, 21 September 2017 at 19:40:48 UTC, bitwise wrote:
On Thursday, 21 September 2017 at 18:55:04 UTC, Vadim Lopatin
It does. But Golang uses them, too. Goroutines.
Indeed. I'm reading about them right now, and they seem to be
Am 21.09.2017 um 20:49 schrieb bitwise:
Doesn't vibe-d use Fibers?
I tried to build a simple web server with a fiber-based approach once -
it was horribly slow.
I hope C# (and soon C++) style stackless resumable functions will
eventually come to D.
It uses them and the overhead actually
Hello,
Parsing mbox file (/var/spool/mail/... on a Ubuntu machine)
and splitting to a range or array of mail objects.
Has anyone done this with D? please give me hint. (DUB, git, this
forum?)
Or should I start with formail (-s) as a subprocess?
(At first step, I want to run a vibe.d server
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
No, it's an ongoing process to make the registry more reliable.
However, since a couple of months we run multiple mirrors.
At the moment there is:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
On Saturday, 16 September 2017 at 17:09:34 UTC, David Gileadi
wrote:
Let me preface this by saying I love package managers and think
dub is one of the best things with dlang. However they can also
sometimes be dangerous, as this PyPI incident[1] shows: several
Python packages were uploaded
On 2017-09-16 21:38, Answar Enchali wrote:
Does dmd support outputting the full ast with symbol type information
and full line mapping or will these features have to be added? If they
are to be added, what would be a ball part man-hour cost to add these
features? If we are able to integrate D
On Friday, 22 September 2017 at 04:32:08 UTC, Josh wrote:
As an aside, in that doc it says "The .funcptr property of a
delegate will return the function pointer value as a function
type". So I also tried
Mix_ChannelFinished(().funcptr); and this compiled,
but caused a segfault when
the
On Thursday, 21 September 2017 at 19:40:48 UTC, bitwise wrote:
On Thursday, 21 September 2017 at 18:55:04 UTC, Vadim Lopatin
It does. But Golang uses them, too. Goroutines.
Indeed. I'm reading about them right now, and they seem to be
"multiplexed". I wonder if Vibe.d does something similar.
On Thursday, 21 September 2017 at 11:42:36 UTC, David Bennett
wrote:
Hi Guys,
Is there an easy way to check if the value of string passed to
a template is available at compile time?
Yeah , sure and I have such a template in my library:
On Thursday, 21 September 2017 at 13:58:14 UTC, Timon Gehr wrote:
On 21.09.2017 12:33, Per Nordlöw wrote:
On Wednesday, 20 September 2017 at 18:41:51 UTC, Timon Gehr
wrote:
Can that be done without breakages? -- Andrei
No.
Are thinking about
typeof([1,2])
changing from
int[]
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
Works for me
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
it looks like http://dlang.org/ is down too...
```
traceroute to dlang.org (162.217.114.56), 30 hops max, 60 byte
packets
1 ... 0.434
https://issues.dlang.org/show_bug.cgi?id=17851
Issue ID: 17851
Summary: htonl already defined in phobos64.lib
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
I want to use a fork of one of my dub dependencies so I can make
sure that it works before I merge the fork into upstream.
http://code.dlang.org/advanced_usage
says
Path-based dependencies
Package descriptions in the dub.json/dub.sdl can specify a
path instead of a version; this can
https://issues.dlang.org/show_bug.cgi?id=17596
--- Comment #10 from Cy Schubert ---
Sorry about the absence. Too many projects, this one happened to be pushed down
the stack. I'm looking at this again.
--
On Saturday, 16 September 2017 at 17:09:34 UTC, David Gileadi
wrote:
Let me preface this by saying I love package managers and think
dub is one of the best things with dlang. However they can also
sometimes be dangerous, as this PyPI incident[1] shows: several
Python packages were uploaded
On Saturday, 23 September 2017 at 03:13:15 UTC, Nicholas Wilson
wrote:
my dub.selections.json is currently:
{
"fileVersion": 1,
"versions": {
"derelict-cl": "2.0.0",
"derelict-cuda": "2.0.1",
"derelict-util": "2.1.0",
On Friday, 22 September 2017 at 21:29:10 UTC, Steven
Schveighoffer wrote:
GC.addRange has this signature:
static nothrow @nogc void addRange(in void* p, size_t sz, const
TypeInfo ti = null);
I see a large problem with this. Let's say you malloc an array
of struct pointers:
struct Foo {
https://issues.dlang.org/show_bug.cgi?id=17850
Issue ID: 17850
Summary: Poor Documentation of the Realtime thread feature
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity:
On Thursday, 21 September 2017 at 20:32:38 UTC, Jean-Louis Leroy
wrote:
Neither 'Bar!int' nor 'BarInt' appear in 'localClasses'.
Ideas?
The information you can retrieve through localClasses is limited.
AFAIK it only retrieves plain non-template classes declared
directly in the module. Last
https://issues.dlang.org/show_bug.cgi?id=17851
--- Comment #1 from Heromyth ---
It seems these functions have been defined in Ws2_32.lib, see
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738556(v=vs.85).aspx
--
On 23/09/2017 4:13 AM, Nicholas Wilson wrote:
I want to use a fork of one of my dub dependencies so I can make sure
that it works before I merge the fork into upstream.
http://code.dlang.org/advanced_usage
says
Path-based dependencies
Package descriptions in the dub.json/dub.sdl can
On Thursday, 21 September 2017 at 20:32:38 UTC, Jean-Louis Leroy
wrote:
Neither 'Bar!int' nor 'BarInt' appear in 'localClasses'.
Ideas?
The information you can retrieve through localClasses is limited.
AFAIK it only retrieves plain non-template classes declared
directly in the module. Last
On Thursday, 21 September 2017 at 20:32:38 UTC, Jean-Louis Leroy
wrote:
Neither 'Bar!int' nor 'BarInt' appear in 'localClasses'.
Ideas?
The information you can retrieve through localClasses is limited.
AFAIK it only retrieves plain non-template classes declared
directly in the module. Last
On Friday, 22 September 2017 at 04:06:08 UTC, Enjoys Math wrote:
Here's my minimal D code (server.d):
public:
this(ushort port, string address="") {
super(& run);
if (address == "")
address = "DESKTOP-T49RGUJ";
On 23/09/2017 3:26 AM, Sergei Degtiarev wrote:
On Friday, 22 September 2017 at 04:06:08 UTC, Enjoys Math wrote:
Here's my minimal D code (server.d):
public:
this(ushort port, string address="") {
super(& run);
if (address == "")
address = "DESKTOP-T49RGUJ";
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
Well, it seems to be working now.
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote:
Hi,
Is there a reason why code.dlang.org is offline?
Thanks,
Bogdan
Who is host code.dlang.org?
On Friday, September 22, 2017 08:19:32 Steven Schveighoffer via Digitalmars-
d wrote:
> On 9/22/17 3:55 AM, Dominikus Dittes Scherkl wrote:
> > On Thursday, 21 September 2017 at 13:58:14 UTC, Timon Gehr wrote:
> >> On 21.09.2017 12:33, Per Nordlöw wrote:
> >>> On Wednesday, 20 September 2017 at
https://issues.dlang.org/show_bug.cgi?id=17848
Issue ID: 17848
Summary: Example of floating point literals in the
documentation is invalid
Product: D
Version: D2
Hardware: x86
OS: Linux
Status:
https://issues.dlang.org/show_bug.cgi?id=17844
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/71adbeee85f4f97d5b3cf93bed28c0f4779e2d23
Fix Issue 17844 - std.process.execute should allow not
https://issues.dlang.org/show_bug.cgi?id=17844
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
This post is to try if it works now.
But I got an answer from Adam...
Thank you.
On 9/21/17 4:32 PM, Jean-Louis Leroy wrote:
It did not take long! Someone tried to create templatized open methods
and it didn't work right of the box. I expected that, but in fact there
may be a bit of hope. You cannot have virtual function templates in C++
or in D because the layout of the
On 9/22/17 3:55 AM, Dominikus Dittes Scherkl wrote:
On Thursday, 21 September 2017 at 13:58:14 UTC, Timon Gehr wrote:
On 21.09.2017 12:33, Per Nordlöw wrote:
On Wednesday, 20 September 2017 at 18:41:51 UTC, Timon Gehr wrote:
Can that be done without breakages? -- Andrei
No.
Are thinking
Hi all,
```
auto foo(const int[3] x)
{
int[3] y = x;
y[0] = 1; // line 4
return y;
}
immutable int[3] a = [0,1,2];
immutable int[3] b = foo(a); // line 8
```
compiles with an error:
```
4: Error: cannot modify read-only constant [0, 1, 2]
8:called from here:
https://issues.dlang.org/show_bug.cgi?id=17849
Issue ID: 17849
Summary: Documentation of align is incorrect
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: enhancement
On Thursday, 5 September 2013 at 16:22:46 UTC, Ali Çehreli wrote:
Compiling with "DMD64 D Compiler v2.064-devel-52cc287" produces
the following errors:
* You had byLines in your original code as well. Shouldn't it
be byLine?
* You are missing the closing brace of the foreach loop as well.
https://issues.dlang.org/show_bug.cgi?id=17849
ag0ae...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=17848
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||pull, spec
CC|
On Tuesday, 19 September 2017 at 18:34:13 UTC, Brad Anderson
wrote:
On Tuesday, 19 September 2017 at 18:17:47 UTC, jmh530 wrote:
On Tuesday, 19 September 2017 at 17:40:20 UTC, EntangledQuanta
wrote:
Thanks for wasting some of my life... Just curious about who
will justify the behavior and
Should we add `a * b` to ndslice for 1d vectors?
Discussion at https://github.com/libmir/mir-algorithm/issues/91
On 09/22/2017 05:16 AM, Steven Schveighoffer wrote:
> On 9/21/17 4:32 PM, Jean-Louis Leroy wrote:
>> it seems that classes that
>> come from class template instantiations are not registered in
>> ModuleInfo
> I would say it's a bug.
>
> -Steve
I think so too. I wanted to hear it from Steve
On 21/09/17 09:18, Suliman wrote:
On Thursday, 3 August 2017 at 21:01:28 UTC, Joakim wrote:
On Thursday, 3 August 2017 at 20:55:35 UTC, Pradeep Gowda wrote:
On Thursday, 3 August 2017 at 20:47:30 UTC, Joakim wrote:
Please tell me which enterprise storage company advertises the
programming
On Sunday, 17 September 2017 at 08:15:58 UTC, Ky-Anh Huynh wrote:
Hi,
I want to list all processes by scanning /proc/. The following
code doesn't work
[code]
foreach (string fstatm; dirEntries("/proc/", "[0-9]*",
SpanMode.shallow)) {
writefln("pid %s", fstatm);
}
[/code]
as it
https://issues.dlang.org/show_bug.cgi?id=17849
--- Comment #2 from Peter Varo ---
My confusion was coming from the fact, that the 'lexical' page is referencing
the 'iasm' when introducing the 'align' keyword.
(https://github.com/dlang/dlang.org/blob/master/spec/lex.dd#L942)
https://issues.dlang.org/show_bug.cgi?id=17849
Steven Schveighoffer changed:
What|Removed |Added
Status|RESOLVED|REOPENED
https://issues.dlang.org/show_bug.cgi?id=17849
Steven Schveighoffer changed:
What|Removed |Added
Keywords||pull
---
57 matches
Mail list logo