On Thursday, 31 December 2015 at 02:40:17 UTC, Andrei
Alexandrescu wrote:
I agree and I'm sorry we're not moving faster with reviews, but
really that's not ddo(c|x)'s fault.
Any chance you can respond to this question that I posted two
days ago?
V Wed, 30 Dec 2015 21:09:37 +
yawniek via Digitalmars-d napsáno:
> On Wednesday, 30 December 2015 at 20:38:58 UTC, Daniel Kozak
> wrote:
> > V Wed, 30 Dec 2015 20:32:08 +
> > yawniek via Digitalmars-d napsáno:
> >
> > Which
On Tuesday, 29 December 2015 at 02:23:27 UTC, bachmeier wrote:
Is it acceptable to post examples/tips and tricks in the wiki,
and then link to them in the official Phobos documentation?
What I have in mind is adding to the documentation of a Phobos
function
See Also: The [wiki](link) for
std.socket supports the socketpair() function, but it seems like
this api is not really usable in any of the concurrency
primitives supported by D. So what is the purpose of the
socketpair() support?
Basically I am trying to create two threads and am trying to use
socketpair() to create two
On 12/30/2015 06:05 PM, Adam D. Ruppe wrote:
the difference is this time, I have my own fork so the community doesn't
have to lose out.
All I want is to make sure you know your reasons and assumptions. The
assumption there isn't a Phobos documentation with item-per-page was
wrong. It seems
On Thursday, 31 December 2015 at 02:31:09 UTC, sanjayss wrote:
On Thursday, 31 December 2015 at 02:26:23 UTC, Rikki Cattermole
wrote:
On 31/12/15 3:22 PM, sanjayss wrote:
[...]
Wrong tool for the job.
You want message passing not sockets to communicate between
threads in this case.
You're
https://issues.dlang.org/show_bug.cgi?id=15485
Issue ID: 15485
Summary: switch with no case compiles
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: trivial
Priority: P1
On 12/30/2015 08:32 PM, Adam D. Ruppe wrote:
~2010: I had just written this awesome dom.d library and wanted to
document it and release it to the world. I write stuff like:
/// Returns the text in the element. For example, innerText of
foo is "foo" (without quotes)
string innerText();
And it
On Wednesday, 30 December 2015 at 23:54:22 UTC, tsbockman wrote:
All pull requests for Phobos and the D runtime are failing the
auto tester now:
It's fixed now.
https://issues.dlang.org/show_bug.cgi?id=15485
--- Comment #1 from Alex ---
I am using gdc, but I understand this would be a frontend issue.
--
On Thursday, 31 December 2015 at 02:26:23 UTC, Rikki Cattermole
wrote:
On 31/12/15 3:22 PM, sanjayss wrote:
std.socket supports the socketpair() function, but it seems
like this
api is not really usable in any of the concurrency primitives
supported
by D. So what is the purpose of the
On Thursday, 31 December 2015 at 02:37:07 UTC, sanjayss wrote:
OK; one way I realized was to put the network socket select in
one thread and the watching for keypress in another thread and
then use the concurrency primitives to message pass events to
the main thread -- may be a little
On Monday, 28 December 2015 at 19:23:17 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 17:43:06 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 16:55:32 UTC, Bogdan wrote:
On Friday, 25 December 2015 at 15:28:23 UTC, Pradeep Gowda
wrote:
On Friday, 25 December 2015 at 15:04:42 UTC,
On Wednesday, 30 December 2015 at 01:03:39 UTC, Ilya Yaroshenko
wrote:
ldmd2/ldc2 flag -mcpu=native will optimise code for your CPU.
-- Ilya
Hmm, ldc seems to segfault when passing that flag. I will make a
bug report for this.
BTW wouldn't it be great if the compiler's error messages showed
each level of pass/fail for those constraints? For the docs, I
don't mind doing a few special case, hand written things, but the
compiler needs something a bit more generic.
I think the way to code that is whenever the compiler
On Wednesday, 30 December 2015 at 14:07:54 UTC, Daniel Kozak
wrote:
import std.stdio;
void main() {
auto x = 9223372036854775807L;
auto x2 = 9223372036854775807L + 1;
long x3 = -9223372036854775808U;
//auto x4 = -9223372036854775808L; //Error: signed integer
overflow
On Tuesday, 29 December 2015 at 22:13:44 UTC, Nick B wrote:
So the best approach, if I understand you correctly, would be
to perform micro-benchmarks on new code that is either D code
(with a variety of algorithms and/or vibe.d framework code) or
HHVM 64 bit code, and compare (and publish)
On Wednesday, 30 December 2015 at 16:41:51 UTC, Adam D. Ruppe
wrote:
BTW wouldn't it be great if the compiler's error messages
showed each level of pass/fail for those constraints? For the
docs, I don't mind doing a few special case, hand written
things, but the compiler needs something a bit
On Wednesday, 30 December 2015 at 15:51:23 UTC, default0 wrote:
Yeah, I misinterpreted the "E : " to mean "E is or
inherits from ", rechecking the argument deduction rules
for templates I think this instead means "E should be deduced
as ".
Sort of.. it means "if E can be implicitly converted
On Wednesday, 30 December 2015 at 14:41:38 UTC, burjui wrote:
On Tuesday, 29 December 2015 at 05:57:34 UTC, Ali Çehreli wrote:
[...]
Even more than that, I would also suggest to remove anonymous
auto-typed enums
without an initial value from which type can be inferred, e.g.:
[...]
Again,
On Tuesday, 29 December 2015 at 10:34:23 UTC, Dejan Lekic wrote:
https://github.com/libtrading/libtrading/blob/master/docs/quickstart.md
Nice project - I did not know about it! Thanks!
Major problem in writing a library which implements FIX
protocols is lack of a good XML package. Yes, we
https://issues.dlang.org/show_bug.cgi?id=15417
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=15417
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/1ececafda7a8d3879d2d20bae4427f3a1e6e79a3
fix Issue 15417 - Wrong
On Wednesday, 30 December 2015 at 20:38:58 UTC, Daniel Kozak
wrote:
V Wed, 30 Dec 2015 20:32:08 +
yawniek via Digitalmars-d napsáno:
Which async library you use for vibed? libevent? libev? or
libasync? Which compilation switches you used?
Without this info
On 12/30/15 9:07 AM, Daniel Kozak wrote:
import std.stdio;
void main() {
auto x = 9223372036854775807L;
auto x2 = 9223372036854775807L + 1;
long x3 = -9223372036854775808U;
//auto x4 = -9223372036854775808L; //Error: signed integer overflow
Not a bug.
This is parsed as -
On Wednesday, 30 December 2015 at 18:53:15 UTC, Zz wrote:
Hi,
Just playing with ndslice and I couldn't figure how to get the
following transformations.
given.
auto slicea = sliced(iota(6), 2, 3, 1);
foreach (item; slicea)
{
writeln(item);
}
which gives.
[[0][1][2]]
[[3][4][5]]
what
Hello,
is there any way to get the pixel color of a single pixel by x
and y coordinates of a context?
Hi,
Just playing with ndslice and I couldn't figure how to get the
following transformations.
given.
auto slicea = sliced(iota(6), 2, 3, 1);
foreach (item; slicea)
{
writeln(item);
}
which gives.
[[0][1][2]]
[[3][4][5]]
what transformation should i do to get the following from slicea.
Sönke is already on it.
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/post/29110
i guess its not enough, there are still things that make vibe.d
slow.
i quickly tried
https://github.com/nanoant/WebFrameworkBenchmark.git
which is really a very simple benchmark but it shows
V Wed, 30 Dec 2015 20:32:08 +
yawniek via Digitalmars-d napsáno:
> >>> Sönke is already on it.
> >>>
> >>> http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/post/29110
> >>>
>
> i guess its not enough, there are still things that make vibe.d
>
On Wednesday, 30 December 2015 at 20:13:46 UTC, Steven
Schveighoffer wrote:
On 12/30/15 9:07 AM, Daniel Kozak wrote:
import std.stdio;
void main() {
auto x = 9223372036854775807L;
auto x2 = 9223372036854775807L + 1;
long x3 = -9223372036854775808U;
//auto x4 =
Jacob Carlborg writes:
> On 2015-12-30 08:02, Dan Olson wrote:
>
>> I know some of it from hacking dyld for iOS, but not all. How does this
>> fit in with "Plan B.2"?
>
> If you need to figure out how TLS works, I can give you some help,
> that's all I'm saying :)
Oh, good.
All pull requests for Phobos and the D runtime are failing the
auto tester now:
Exception - file 'lexer.h': lexer.h: No such file or directory
Exception - file 'parse.h': parse.h: No such file or directory
Error - file 'doc.d' contains trailing whitespace at line 2526
Exception - file
On Friday, 13 May 2011 at 10:12:24 UTC, Kagamin wrote:
dsimcha Wrote:
I'm thinking about ways to remove the global lock from the
garbage collector for most small allocations. I'm basically
thinking of making the free lists thread local.
http://www.liblfds.org/
?
Release 7.0.0 of liblfds
On Wednesday, 30 December 2015 at 23:05:11 UTC, Adam D. Ruppe
wrote:
On Monday, 28 December 2015 at 23:05:28 UTC, Andrei
Alexandrescu wrote:
(a) is the new proposed system differentiated enough to
justify its existence and motivate others to join in?
I was just watching my newbie friend try
On Wednesday, 30 December 2015 at 23:11:06 UTC, Joakim wrote:
That sounds like this issue I ran into with ARM EH:
https://github.com/ldc-developers/ldc/issues/489#issuecomment-143560075
I was able to work around it by disabling the mentioned llvm
optimization pass:
On Thursday, 31 December 2015 at 00:11:34 UTC, Dan Olson wrote:
On Wednesday, 30 December 2015 at 23:11:06 UTC, Joakim wrote:
That sounds like this issue I ran into with ARM EH:
https://github.com/ldc-developers/ldc/issues/489#issuecomment-143560075
I was able to work around it by disabling
On Wednesday, 30 December 2015 at 21:39:54 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 18:08:52 UTC, Andrei
Alexandrescu wrote:
On 12/29/2015 11:28 AM, Robert burner Schadek wrote:
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko
wrote:
OK, lets discuss every
On Monday, 28 December 2015 at 23:05:28 UTC, Andrei Alexandrescu
wrote:
(a) is the new proposed system differentiated enough to justify
its existence and motivate others to join in?
I was just watching my newbie friend try to manipulate
directories in D. His first instinct was to go to
On Wednesday, 30 December 2015 at 22:46:28 UTC, John Colvin wrote:
On Wednesday, 30 December 2015 at 21:39:54 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 18:08:52 UTC, Andrei
Alexandrescu wrote:
On 12/29/2015 11:28 AM, Robert burner Schadek wrote:
[...]
Hopefully this is
On Wednesday, 30 December 2015 at 21:56:46 UTC, Dan Olson wrote:
Dan Olson writes:
A little progress report. More to come later when I get
something pushed to github.
I bought a returned Apple Watch yesterday at discount for
$223.99 US and tried to see how much of D
On Wednesday, 30 December 2015 at 20:43:21 UTC, Ilya Yaroshenko
wrote:
On Wednesday, 30 December 2015 at 18:53:15 UTC, Zz wrote:
Hi,
Just playing with ndslice and I couldn't figure how to get the
following transformations.
given.
auto slicea = sliced(iota(6), 2, 3, 1);
foreach (item;
On Wednesday, 30 December 2015 at 20:44:44 UTC, TheDGuy wrote:
Hello,
is there any way to get the pixel color of a single pixel by x
and y coordinates of a context?
render to a png back buffer.
see cairo_image_surface_create_for_data
then you'll be able to access the data and, at the same
On Wednesday, 30 December 2015 at 17:04:15 UTC, Suliman wrote:
On Monday, 28 December 2015 at 19:23:17 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 17:43:06 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 16:55:32 UTC, Bogdan wrote:
On Friday, 25 December 2015 at 15:28:23 UTC,
https://issues.dlang.org/show_bug.cgi?id=15464
--- Comment #11 from Andrei Alexandrescu ---
@Daniel any chance you could also update the documentation accordingly?
--
On Tuesday, 29 December 2015 at 18:08:52 UTC, Andrei Alexandrescu
wrote:
On 12/29/2015 11:28 AM, Robert burner Schadek wrote:
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko
wrote:
OK, lets discuss every function.
That is acceptably the problem. It is not about the
On Wednesday, 30 December 2015 at 23:54:22 UTC, tsbockman wrote:
All pull requests for Phobos and the D runtime are failing the
auto tester now:
Exception - file 'lexer.h': lexer.h: No such file or directory
Exception - file 'parse.h': parse.h: No such file or directory
Error - file 'doc.d'
On Thursday, 31 December 2015 at 00:04:03 UTC, bachmeier wrote:
It's the process that requires so much overhead that nobody
wants to contribute. I really tried to do so myself, but I'm
busy, and it is senseless that 95% (or more) of the time I
spend on it is wasted due to a system that is
https://issues.dlang.org/show_bug.cgi?id=15452
j...@red.email.ne.jp changed:
What|Removed |Added
URL||http://dlang.org/spec/versi
Hello, I'm trying out the new interface to Objective-C and I
can't get this to compile:
module main;
extern (Objective-C) {
interface NSObject {
void release() @selector("release");
}
interface NSString : NSObject {
const(char)*
https://issues.dlang.org/show_bug.cgi?id=15464
--- Comment #12 from Daniel Kozak ---
(In reply to Andrei Alexandrescu from comment #11)
> @Daniel any chance you could also update the documentation accordingly?
Yep, I will do it as soon as I finish some other thing :).
--
On 31/12/15 3:22 PM, sanjayss wrote:
std.socket supports the socketpair() function, but it seems like this
api is not really usable in any of the concurrency primitives supported
by D. So what is the purpose of the socketpair() support?
Basically I am trying to create two threads and am trying
On Thursday, 31 December 2015 at 01:32:56 UTC, Adam D. Ruppe
wrote:
The D leaders know how important examples are. We are often
told adding more is low hanging fruit. I completely agree. But
that's not ALL we need. He wants examples to get started, yes,
but he also wants understanding to go
https://issues.dlang.org/show_bug.cgi?id=15484
Issue ID: 15484
Summary: core.memory.GC.disable() is not @nogc
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
V Wed, 30 Dec 2015 03:24:45 +
Ilya via Digitalmars-d-learn
napsáno:
> Hi,
>
> Does `pragma(inline, true)` force DMD compiler to inline function
> when `-inline` was _not_ defined?
>
> I am failing to get a good disassembled code with obj2asm/otool
> :-(
On Tuesday, 29 December 2015 at 18:41:41 UTC, Adam D. Ruppe wrote:
On Tuesday, 29 December 2015 at 18:32:23 UTC, Atila Neves wrote:
The problem here is that I don't know what the workaround is.
The one I used (well, last time I tried this) was to just put a
dummy function in the D interface
https://issues.dlang.org/show_bug.cgi?id=15464
--- Comment #10 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/012b685ea12aa045c9bd04a1c9d4abf74e0dac0d
fix issue 15464
Hi,
While solving Advent of Code problems for fun (already discussed
in the forum:
http://forum.dlang.org/post/cwdkmblukzptsrsrv...@forum.dlang.org), I ran into an issue. I wanted to test for the pattern "two consecutive characters, arbitrary sequence, the same two consecutive characters".
V Wed, 30 Dec 2015 03:24:45 +
Ilya via Digitalmars-d-learn
napsáno:
> Hi,
>
> Does `pragma(inline, true)` force DMD compiler to inline function
> when `-inline` was _not_ defined?
>
> I am failing to get a good disassembled code with obj2asm/otool
> :-(
https://issues.dlang.org/show_bug.cgi?id=15417
Walter Bright changed:
What|Removed |Added
Keywords||wrong-code
https://issues.dlang.org/show_bug.cgi?id=15417
--- Comment #6 from Walter Bright ---
My apologies for the mis-diagnosis.
https://github.com/D-Programming-Language/dmd/pull/5326
--
On 28.12.2015 13:05, Benjamin Thaut wrote:
My current work on the D compiler lead me to the following test case
which I put through a unmodified version of dmd 2.069.2
import core.stdc.stdio;
struct UnusedStruct
{
int i = 3;
float f = 4.0f;
};
class UnusedClass
{
int i = 2;
On 2015-12-30 08:02, Dan Olson wrote:
I know some of it from hacking dyld for iOS, but not all. How does this
fit in with "Plan B.2"?
If you need to figure out how TLS works, I can give you some help,
that's all I'm saying :)
--
/Jacob Carlborg
https://issues.dlang.org/show_bug.cgi?id=15464
Walter Bright changed:
What|Removed |Added
CC|
Most of the audience of the site can be roughly divided into two
categories: beginners and experienced users of D.
for beginners:
Looking to this sketch I think it will be useful to add some
simple installation instruction for detected user's OS right here
(to appreciate the complexity of the
import std.stdio;
void main() {
auto x = 9223372036854775807L;
auto x2 = 9223372036854775807L + 1;
long x3 = -9223372036854775808U;
//auto x4 = -9223372036854775808L; //Error: signed integer
overflow
writeln(x + 1); //-9223372036854775808
writeln(x2);
On Wednesday, 30 December 2015 at 09:43:32 UTC, Rainer Schuetze
wrote:
I noticed something similar recently when compiling a C file
with /Gy, see
https://github.com/D-Programming-Language/druntime/pull/1446#issuecomment-160880021
The compiler puts all functions into COMDATs, but they are
On Tuesday, 29 December 2015 at 05:57:34 UTC, Ali Çehreli wrote:
I've realized that with a nested anonymous enum, there is no
need to (and no way of) mentioning the enum type inside a
user-defined type. This can simplify the implementation:
Only if you intend to use enum members as manifest
On Saturday, 26 December 2015 at 19:57:19 UTC, Ilya Yaroshenko
wrote:
Hi,
I will write GEMM and GEMV families of BLAS for Phobos.
Cool.
On Wednesday, 30 December 2015 at 14:25:24 UTC, default0 wrote:
As an aside, the mere formatting of the list of
template-constraints on the dlang page made me nope right out
of even bothering to figure out how to read them or what the
difference between the first and the second overload of
70 matches
Mail list logo