On Wednesday, May 25, 2016 22:08:31 Era Scarecrow via Digitalmars-d wrote:
> On Wednesday, 25 May 2016 at 21:43:19 UTC, Jonathan M Davis wrote:
> > Unfortunately, it's never been implemented (IIRC due to issues
> > related to AAs having length but not being ranges; the
> > implementation likely nee
On Wednesday, 25 May 2016 at 17:08:02 UTC, Martin Tschierschke
wrote:
A newbee question about language design:
When I looked first time at Ruby I liked the simple a,b = b,a
syntax,
so swap. Would it be theoretically possible to allow this?
And if not, where does it breaks the general language
On Wednesday, 25 May 2016 at 21:52:40 UTC, cy wrote:
On Wednesday, 25 May 2016 at 20:24:50 UTC, Joakim wrote:
It's run by the company behind Wordpress, which has less than
500 employees.
Okay fine, maybe it's not Proctor and Gamble. But do you want
to face up against 500 people and tell them
On Wednesday, 25 May 2016 at 21:43:19 UTC, Jonathan M Davis wrote:
Unfortunately, it's never been implemented (IIRC due to issues
related to AAs having length but not being ranges; the
implementation likely needs to check for the range-based
functions in addition to length). And as long as 7177
+1 having a look at AutoImplement
For testing ranges, I usually use
https://github.com/dlang/phobos/blob/master/std/internal/test/dummyrange.d
even though its internal ;-)
anyway, more and better testing always good.
p.s. I think at some point we have to build some (the perfect)
mocking fram
On Wednesday, May 25, 2016 15:05:33 qznc via Digitalmars-d wrote:
> Today I learned [0] that opDollar must be explicitly implemented
> and might not be available by some ranges. Likewise slicing. If
> you think it further, there are lots of functions in Phobos (I'm
> currently looking into std.algo
On Wednesday, 25 May 2016 at 20:24:50 UTC, Joakim wrote:
It's run by the company behind Wordpress, which has less than
500 employees.
Okay fine, maybe it's not Proctor and Gamble. But do you want to
face up against 500 people and tell them to stop doing what they
want?
Maybe they could sort
On Wednesday, 25 May 2016 at 21:38:23 UTC, Atila Neves wrote:
There was talk in the forum of making it easier to come up
instantiations of say, an input range for testing purposes.
That got me thinking of how mocking frameworks make it easy to
pass in dependencies without having to write a whol
There was talk in the forum of making it easier to come up
instantiations of say, an input range for testing purposes. That
got me thinking of how mocking frameworks make it easy to pass in
dependencies without having to write a whole new "test double"
type oneself. How would one do that for wh
On Wednesday, 25 May 2016 at 18:03:49 UTC, Carl Vogel wrote:
It seems to me that both drepl and dabble are unsupported. It's
not clear to me which one at this point is a better basis for a
stable repl (I kind of prefer drepl, since the code is clearer
to me, and I can mostly compile it.) If you
On Monday, 23 May 2016 at 20:46:01 UTC, cy wrote:
On Monday, 23 May 2016 at 18:54:47 UTC, Joakim wrote:
Hmm, I almost never get that CAPTCHA, and I don't log in to
the forum. Could be something else about your profile that
Akismet flags: have you tried taking it up with them?
I login here, n
On Wednesday, 25 May 2016 at 19:38:42 UTC, jmh530 wrote:
On Wednesday, 25 May 2016 at 00:55:52 UTC, Carl wrote:
It's worth noting that some of those Jupyter kernels are
pretty quirky/limited. For example in the C kernel, every cell
is an isolated program with a main function.
Which is not t
On 24/05/2016 14:48, Nick Treleaven wrote:
On Monday, 23 May 2016 at 17:03:32 UTC, Marc Schütz wrote:
On Monday, 23 May 2016 at 15:18:51 UTC, Nick Treleaven wrote:
I think the reason D doesn't support local refs is because it would
make it harder to design @safe, particularly with the planned @
On Wednesday, 25 May 2016 at 00:55:52 UTC, Carl wrote:
It's worth noting that some of those Jupyter kernels are pretty
quirky/limited. For example in the C kernel, every cell is an
isolated program with a main function.
Which is not to say it wouldn't be great to have D integration,
just th
On Wednesday, 25 May 2016 at 16:21:07 UTC, H. S. Teoh wrote:
On Wed, May 25, 2016 at 03:05:33PM +, qznc via
Also, std.range.primitives should have a predicate for
opDollar similar to hasSlicing.
It's hard to imagine having much use for a range that has
slicing but not opDollar. For simpl
On 05/25/2016 01:08 PM, Martin Tschierschke wrote:
On Monday, 23 May 2016 at 20:01:08 UTC, Andrei Alexandrescu wrote:
So swap(a, b) swaps the contents of a and b. This could be easily
generalized to multiple arguments such that swap(a1, a2, ..., an)
arranges things such that a1 gets an, a2 gets
On Wednesday, 25 May 2016 at 17:08:02 UTC, Martin Tschierschke
wrote:
And if not, where does it breaks the general language design?
Here: https://en.wikipedia.org/wiki/Comma_operator
On Wednesday, 25 May 2016 at 00:12:24 UTC, Seb wrote:
On Tuesday, 24 May 2016 at 23:26:27 UTC, jmh530 wrote:
On Tuesday, 24 May 2016 at 20:44:57 UTC, Seb wrote:
Maybe we just need to move it to the dlang github namespace,
s.t. it gets properly maintained and maybe even released with
dmd/dub?
On Monday, 23 May 2016 at 20:01:08 UTC, Andrei Alexandrescu wrote:
So swap(a, b) swaps the contents of a and b. This could be
easily generalized to multiple arguments such that swap(a1, a2,
..., an) arranges things such that a1 gets an, a2 gets a1, a3
gets a2, etc. I do know applications for th
On Wed, May 25, 2016 at 03:05:33PM +, qznc via Digitalmars-d wrote:
[...]
> Can we provide opSlice and opDollar implicitly for random access ranges?
[...]
P.S. If you're talking about using UFCS to provide fallback
implementations of opSlice / opDollar, I don't think that's possible
because op
On Wed, May 25, 2016 at 03:05:33PM +, qznc via Digitalmars-d wrote:
> Today I learned [0] that opDollar must be explicitly implemented and
> might not be available by some ranges. Likewise slicing. If you think
> it further, there are lots of functions in Phobos (I'm currently
> looking into st
On Tuesday, 24 May 2016 at 16:36:36 UTC, cy wrote:
On Tuesday, 24 May 2016 at 12:59:39 UTC, Basile B. wrote:
One thing that could be done is to disable the spam checker
when the user is registered. As a counter part registering
must be very strong: image capcha + text capcha + guess the
code
On Monday, 23 May 2016 at 17:56:17 UTC, cy wrote:
Akismet thinks your post looks like spam. Please solve a
CAPTCHA to continue.
I've filled out one of these for every post I've made here. Yet
I'm logged in, with a persistent state on the server side.
Could something be implemented along the l
On Wednesday, 25 May 2016 at 11:30:14 UTC, Ozan wrote:
Hi
What about Munich? - More sun, more IT companies, more
beergardens, ...
Maybe we can ask "Funkwerk Aktiengesellschaft" for sponsering?
If you calling for papers, what about using video conferencing
tools?
Not everybody is willing to t
Today I learned [0] that opDollar must be explicitly implemented
and might not be available by some ranges. Likewise slicing. If
you think it further, there are lots of functions in Phobos (I'm
currently looking into std.algorithm.searching) which use more
features than they check capabilities
On 05/25/2016 09:36 AM, Adam D. Ruppe wrote:
On Wednesday, 25 May 2016 at 12:53:10 UTC, Andrei Alexandrescu wrote:
Did you consider simply fixing some of that crap?
I did! The result is at dpldocs.info
A few minor changes also went through Phobos too:
https://github.com/dlang/dlang.org/pull/
On Wednesday, 25 May 2016 at 12:53:10 UTC, Andrei Alexandrescu
wrote:
Did you consider simply fixing some of that crap?
I did! The result is at dpldocs.info
A few minor changes also went through Phobos too:
https://github.com/dlang/dlang.org/pull/1177
https://github.com/dlang/dlang.org/pull/1
On Wednesday, 25 May 2016 at 00:36:04 UTC, Seb wrote:
On Tuesday, 24 May 2016 at 19:03:11 UTC, ArturG wrote:
would something like this be usefull?
A general word of advice - try to keep your post short &
concise. It is more likely to get replies then.
Yes i might have used to many example
On Tuesday, 10 May 2016 at 11:09:01 UTC, Manu wrote:
Japan would be a great destination, it's quite convenient for
Australia/NZ, west-coast US, and not too bad for Europeans.
But most importantly, Kenji would have no excuse not to come! :P
Is Kenji's identity and location known?
On 5/25/16 8:22 AM, Adam D. Ruppe wrote:
On Wednesday, 25 May 2016 at 12:14:35 UTC, Steven Schveighoffer wrote:
So much this. And where are they defined?
All over the place.
Seriously, many of the Phobos modules define their own custom MYREF or
SUBREF macros, in addition to the bazillion exis
On Monday, 23 May 2016 at 21:47:31 UTC, Ali Çehreli wrote:
Yes, rotate(), but then I would never remember what direction
it rotates.
Ali
I agree. So we need
rotate{Forward,Backward}
or
rotate{Left,Right}
then.
I vote for the former case.
On 25 May 2016 at 13:30, Johan Engelen via Digitalmars-d
wrote:
> On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
>>
>>
>> For the time being, they can't all co-exist. DMD being the special case
>> who doesn't compile to assembly.
>
>
> Well..., GDC and LDC can compile to what DMD c
On Wednesday, 25 May 2016 at 12:14:35 UTC, Steven Schveighoffer
wrote:
So much this. And where are they defined?
All over the place.
Seriously, many of the Phobos modules define their own custom
MYREF or SUBREF macros, in addition to the bazillion existing
XREF and XREF2 and XREF3 and so on
On Wednesday, 25 May 2016 at 07:35:22 UTC, Johannes Pfau wrote:
One nice feature in SASS is color manipulation: You can easily
lighten/darken colors and use constants for colors to easily
generate different color schemes.
My cssexpand program does this too... and I actually find it
isn't as u
On 5/25/16 2:28 AM, Jacob Carlborg wrote:
On 2016-05-25 05:47, Vladimir Panteleev wrote:
and is pretty self-explanatory.
Not really. How do I know which macro to use to create a link to a D
symbol? There's a bunch to choose from.
So much this. And where are they defined?
-Steve
On Wednesday, 25 May 2016 at 11:30:33 UTC, qznc wrote:
On Wednesday, 25 May 2016 at 10:45:35 UTC, qznc wrote:
On Wednesday, 25 May 2016 at 10:28:47 UTC, Chris wrote:
Any suggestions how we can make find more efficient?
I will send a pull request soon.
My current patch [0] improves it, but st
On 25/05/2016 11:30 PM, Ozan wrote:
Hi
What about Munich? - More sun, more IT companies, more beergardens, ...
Maybe we can ask "Funkwerk Aktiengesellschaft" for sponsering?
If you calling for papers, what about using video conferencing tools?
Not everybody is willing to travel far far away.
Re
On Wednesday, 25 May 2016 at 10:45:35 UTC, qznc wrote:
On Wednesday, 25 May 2016 at 10:28:47 UTC, Chris wrote:
Any suggestions how we can make find more efficient?
I will send a pull request soon.
My current patch [0] improves it, but still contains a bug.
[0]
https://github.com/qznc/find-i
Hi
What about Munich? - More sun, more IT companies, more
beergardens, ...
Maybe we can ask "Funkwerk Aktiengesellschaft" for sponsering?
If you calling for papers, what about using video conferencing
tools?
Not everybody is willing to travel far far away.
Regards, Ozan
On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
For the time being, they can't all co-exist. DMD being the
special case who doesn't compile to assembly.
Well..., GDC and LDC can compile to what DMD compiles to, and
both have a DMD-compatible driver (ldmd2, gdmd), so should be
On 2016-05-25 12:59, Iain Buclaw via Digitalmars-d wrote:
For the time being, they can't all co-exist. DMD being the special
case who doesn't compile to assembly.
Is there any other reasons why they can't co-exist? The above mentioned
seems trivial.
--
/Jacob Carlborg
On 25 May 2016 at 13:10, Seb via Digitalmars-d
wrote:
> On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
>>
>> On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d
>> wrote:
>>>
>>> What needs to be done to make LDC and GDC available on asm.dlang.org?
>>>
>>> Thanks,
>>> Johan
On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d
wrote:
What needs to be done to make LDC and GDC available on
asm.dlang.org?
Thanks,
Johan
For the time being, they can't all co-exist. DMD being the
special case who
On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d
wrote:
> What needs to be done to make LDC and GDC available on asm.dlang.org?
>
> Thanks,
> Johan
>
For the time being, they can't all co-exist. DMD being the special
case who doesn't compile to assembly.
I have GDC running on http://e
What needs to be done to make LDC and GDC available on
asm.dlang.org?
Thanks,
Johan
On Wednesday, 25 May 2016 at 10:28:47 UTC, Chris wrote:
Any suggestions how we can make find more efficient?
I will send a pull request soon.
My current patch [0] improves it, but still contains a bug.
[0]
https://github.com/qznc/find-is-too-slow/commit/76efc706a2c1d9e885800ca9b830850935700a
On Tuesday, 24 May 2016 at 22:01:17 UTC, qznc wrote:
On Tuesday, 24 May 2016 at 19:47:52 UTC, qznc wrote:
I discovered radare2. While it is actually a debugger (like
gdb), it includes a nice disassembler. Example view, which
shows the loop calling std.algorithm.find repeatedly:
| 0x
Am Tue, 24 May 2016 19:16:07 +
schrieb Anon :
> Upping it to sixteen levels:
>
> current: Generate a 3_688_679 byte symbol
> lz4 -9: Generate a 3_688_679 byte symbol, then compress it to
> 15535 bytes
> lzma -9: Generate a 3_688_679 byte symbol, then compress it to
> 840 bytes
> BRNT: Gener
On 2016-05-25 09:35, Johannes Pfau wrote:
Am Wed, 25 May 2016 08:28:01 +0200
schrieb Jacob Carlborg :
On 2016-05-25 05:47, Vladimir Panteleev wrote:
That said I don't see a lot of demand for preprocessing our CSS
files at the moment.
And, to add a data point, I have never used (or needed) nei
Am Wed, 25 May 2016 08:28:01 +0200
schrieb Jacob Carlborg :
> On 2016-05-25 05:47, Vladimir Panteleev wrote:
> > That said I don't see a lot of demand for preprocessing our CSS
> > files at the moment.
> >
> > And, to add a data point, I have never used (or needed) neither
> > SASS or LESS, despit
50 matches
Mail list logo