Re: rawCopy, rawTransfer, rawFind ?

2012-10-26 Thread Damian
On Friday, 26 October 2012 at 21:25:22 UTC, Dmitry Olshansky wrote: Finally got to this: http://d.puremagic.com/issues/show_bug.cgi?id=8349 Half way through it become obvious to me that we'll have similar problems with memcpy and it's ilk every time somebody optimizes bit-wise copy/move/find.

Re: Simple implementation of __FUNCTION

2012-11-04 Thread Damian
On Saturday, 3 November 2012 at 17:04:31 UTC, Rob T wrote: On Saturday, 3 November 2012 at 11:09:48 UTC, Jacob Carlborg wrote: I think it would be worth to but in Phobos anyway. I suppose it works as a temp solution until a real one is finally implemented, or maybe the mixin behaviour is con

Re: [ ArgumentList ] vs. @( ArgumentList )

2012-11-06 Thread Damian
On Tuesday, 6 November 2012 at 19:18:39 UTC, Walter Bright wrote: For User Defined Attributes. In the north corner we have the current champon: --- [ ArgumentList ] Pros: precedent with C# looks nice Cons: not so greppable parsing ambiguity with [array literal].func();

Re: WinAPI for druntime and OpenGL for deimos.

2012-11-24 Thread Damian
Gor your doing a great job the sooner WindowsApi merges with druntime the better! On Saturday, 24 November 2012 at 22:11:04 UTC, Gor Gyolchanyan wrote: I suggest refactoring other core.sys..* like this. On Sun, Nov 25, 2012 at 2:04 AM, David Nadlinger wrote: On Saturday, 24 November 2012

Does D have a Queue and Stack container?

2013-01-13 Thread Damian
As per title, it would be awesome if someone could link me to these. I'm quite suprised that D does not already contain these.. are there any plans for them joining Phobos?

core.thread sleep(long period)

2013-03-08 Thread Damian
Scheduled for depreciation December 2012? as this been overlooked or is it not depreciated anymore? core.thread static void sleep(long period);

Re: Structs, the most buggiest language feature?

2012-07-11 Thread Damian
On Wednesday, 11 July 2012 at 07:52:40 UTC, Benjamin Thaut wrote: I wanted to suggest that one developement cycle is spend on fixing as many of the struct connected bugs as possible. Structs are a really important language feature that also often is supposed to be used as a replacement for depe

Re: Just where has this language gone wrong?

2012-07-19 Thread Damian
On Thursday, 19 July 2012 at 22:32:04 UTC, David Piepgrass wrote: I suspect that you have a C++ background. If this is not accurate, ignore the rest. But if it is accurate, my plea to you is: Learn other languages. C++ has next to no innovative language features (even C++11's take on lambdas is

std.loader; depreciated and removed for 2.060

2012-07-22 Thread Damian
Are there any plans to provide an alternative solution in Phobos, now that it's been removed?

Re: windows .lib files (dmc has them, dmd doesn't)

2013-08-19 Thread Damian
On Sunday, 18 August 2013 at 14:53:25 UTC, Andrej Mitrovic wrote: On Sunday, 18 August 2013 at 14:51:52 UTC, Adam D. Ruppe wrote: Can we get some more .lib files with the dmd distribution? And also update the old ones: http://d.puremagic.com/issues/show_bug.cgi?id=6625 This should really tak

cmp and icmp.

2013-07-04 Thread Damian
Why don't these functions take a length parameter, like strcmp and memcmp? Is it worth making an enhancement request for such?

Re: cmp and icmp.

2013-07-04 Thread Damian
On Thursday, 4 July 2013 at 22:02:06 UTC, bearophile wrote: Damian: Why don't these functions take a length parameter, like strcmp and memcmp? Is it worth making an enhancement request for such? Probably slicing of their inputs, or using std.range.take() of their inputs, is enough. D

Re: cmp and icmp.

2013-07-04 Thread Damian
On Thursday, 4 July 2013 at 23:10:12 UTC, Jonathan M Davis wrote: On Friday, July 05, 2013 00:36:02 Damian wrote: On Thursday, 4 July 2013 at 22:02:06 UTC, bearophile wrote: > Damian: >> Why don't these functions take a length parameter, like >> strcmp >> and memcmp

Re: Bug: Crash: nested interfaces

2013-07-13 Thread Damian
On Saturday, 13 July 2013 at 15:33:31 UTC, JS wrote: module main; import std.stdio, std.cstream; interface A : A.B { interface B { } } int main(string[] argv) { return 0; } One can argue about the validity of the code, I tried it to created logical heirarchy of interfaces. e.g.

Re: std.signals regressions

2013-07-13 Thread Damian
On Friday, 12 July 2013 at 22:35:06 UTC, David wrote: Am 12.07.2013 23:47, schrieb Robert: I just finished a new implementation, replacing the template mixin with a string mixin. I also changed the name from signals2 to signal. You can find it here: https://github.com/phobos-x/phobosx/blob/ma

Re: working on the dlang.org website

2013-07-30 Thread Damian
On Tuesday, 30 July 2013 at 16:18:38 UTC, Kagamin wrote: Anybody gets a timeout in hyphenate.js on http://dlang.org/phobos/core_memory.html ? A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will c

Re: D1 to be discontinued on December 31, 2012

2011-12-14 Thread Damian Ziemba
that nobody uses it is wrong. Walter, thanks for good job on it! I will still stick to it for any serious project (non-hobby ones). I wish you good luck with bringing D2 stable. I just hope I will see such official news from you. Best regards, Damian Ziemba

Re: CURL Wrapper: Vote Thread

2011-12-17 Thread Damian Ziemba
Yes

Re: Feq questions about the D language

2012-03-11 Thread Damian Ziemba
any problem. Its up for more than month now and I had only one segfault because of hole in my framework. The only problem actually I have is lack of up-to-date wxD or QtD bindings. 4 GUI applications written with GtkD - they work quite well, but meh, it doesn't work too well on Mac OSX :p I would give it a try. Best regards, Damian Ziemba

Re: How about colors and terminal graphics in std.format?

2012-03-11 Thread Damian Ziemba
build. I'll fix the standalone thing because it's useful too, just I don't know when. Andrei Some basic stuff like Colors can be portable. I can share my work if somebody is interested. Best regards, Damian Ziemba

Re: How about colors and terminal graphics in std.format?

2012-03-11 Thread Damian Ziemba
On Monday, 12 March 2012 at 02:52:15 UTC, Andrei Alexandrescu wrote: On 3/11/12 9:16 PM, Chad J wrote: I remember doing colored terminal output in Python. It was pretty nifty, and allows for some slick CLI design. I think D can do better by putting it in the standard library. I was thinking s

Re: How about colors and terminal graphics in std.format?

2012-03-11 Thread Damian Ziemba
On Monday, 12 March 2012 at 03:27:41 UTC, Damian Ziemba wrote: On Monday, 12 March 2012 at 02:52:15 UTC, Andrei Alexandrescu wrote: On 3/11/12 9:16 PM, Chad J wrote: I remember doing colored terminal output in Python. It was pretty nifty, and allows for some slick CLI design. I think D can do

Re: How about colors and terminal graphics in std.format?

2012-03-11 Thread Damian Ziemba
On Monday, 12 March 2012 at 03:32:26 UTC, Chad J wrote: On 03/11/2012 11:27 PM, Damian Ziemba wrote: On Monday, 12 March 2012 at 02:52:15 UTC, Andrei Alexandrescu wrote: On 3/11/12 9:16 PM, Chad J wrote: I remember doing colored terminal output in Python. It was pretty nifty, and allows for

Re: How about colors and terminal graphics in std.format?

2012-03-12 Thread Damian Ziemba
On Monday, 12 March 2012 at 03:32:26 UTC, Chad J wrote: On 03/11/2012 11:27 PM, Damian Ziemba wrote: On Monday, 12 March 2012 at 02:52:15 UTC, Andrei Alexandrescu wrote: On 3/11/12 9:16 PM, Chad J wrote: I remember doing colored terminal output in Python. It was pretty nifty, and allows for

Re: How about colors and terminal graphics in std.format?

2012-03-12 Thread Damian Ziemba
On Tuesday, 13 March 2012 at 00:24:58 UTC, Kevin Cox wrote: On Mar 12, 2012 7:55 PM, "Damian Ziemba" wrote And yea, I think like others that it should have its own module like std.terminal/std.console or maybe somekind of spot in std.stdio. Python has a great lib for this. I can&

Re: ColorD

2012-05-28 Thread Damian Ziemba
On Monday, 28 May 2012 at 13:30:44 UTC, Robik wrote: On Monday, 28 May 2012 at 13:08:27 UTC, Marco Leise wrote: Am Sat, 26 May 2012 16:30:58 +0200 schrieb "Robik" : I would like to share with my new library written in D. As name may suggest (or not) it adds color to your console output, it wo

Re: etc.curl: Review ends today

2011-09-01 Thread Damian Ziemba
On Thu, 01 Sep 2011 20:00:46 +0200, Jacob Carlborg wrote: > On 2011-09-01 18:28, jdrewsen wrote: >> Den 01-09-2011 06:43, David Nadlinger skrev: [snip] >> >>> Jonas, do you already have a revised version ready that could >>> immediately be voted upon? I recognize that quite a large number of >>> s

Re: Just wanted to say

2011-09-06 Thread Damian Ziemba
On Mon, 05 Sep 2011 18:38:01 +, Steve Teale wrote: > I've been using a recent version of D2 along with gtkD and Code::Blocks > to redo a quite complicated Windows GUI program I wrote back in the mid > 90s with the changes I've though of since then, in an Ubuntu > environment. > > This combina

Re: switch()

2014-02-17 Thread Damian Day
On Sunday, 16 February 2014 at 15:43:31 UTC, Manu wrote: So D offers great improvements to switch(), but there are a few small things I wonder about. 1. case fall-through is not supported; explicit 'goto case n;' is required. With this in mind, 'break' is unnecessary. Why is it required? It c

Re: D in my trashbin

2014-10-25 Thread Damian via Digitalmars-d
On Saturday, 25 October 2014 at 22:41:59 UTC, Kyoji Klyden wrote: On Saturday, 25 October 2014 at 22:17:35 UTC, Jkpl wrote: Just ask to Vlad. He seems to be the forum maintainer. He'll check the IP. Even if I'm not the OP, the message is clear: why the hell do you care about this ? DMD setup

Re: D's New GC and Object Allocation Pools

2014-10-26 Thread Damian via Digitalmars-d
On Sunday, 26 October 2014 at 03:37:47 UTC, Maxime Chevalier-Boisvert wrote: Hello, I was wondering if there have been updates regarding Andrei's announcement that he would rewrite the D garbage collector. Is there any kind of timeline for when a new version of the GC can be expected? I als

Re: Range of chars (narrow string ranges)

2015-04-28 Thread Damian via Digitalmars-d
On Tuesday, 28 April 2015 at 23:15:40 UTC, H. S. Teoh wrote: On Tue, Apr 28, 2015 at 09:57:29PM +, Vladimir Panteleev via Digitalmars-d wrote: On Tuesday, 28 April 2015 at 16:48:48 UTC, Jonathan M Davis wrote: >But of course, we'd want to do the transition in a way that >didn't >result in

Re: Socket missing option: SO_REUSEPORT

2016-12-21 Thread Damian via Digitalmars-d
On Wednesday, 21 December 2016 at 13:01:53 UTC, Benjiro wrote: Just check the socket code and there is a small feature missing: enum SocketOption: int { DEBUG =SO_DEBUG,/// Record debugging information BROADCAST =SO_BROADCAST,/// Allow tra

Re: Optional monitors suggestion

2014-05-14 Thread Damian Day via Digitalmars-d
On Wednesday, 14 May 2014 at 11:06:43 UTC, Yuriy wrote: bearophile, good point. What do you think of the following solution: 1. Declaring member variable with __monitor identifier is disallowed. 2. class may be defined with @__monitor attribute, in which case a __monitor variable will be added

Re: running code on the homepage

2015-09-29 Thread Damian Ziemba via Digitalmars-d
integrate the look of dpaste.dzfl.pl to match the one on dlang.org so we could make dpaste part of the *.dlang.org fleet. Hi Damian, dpaste doesn't seem to produce any console output at the moment, I just get 'Result: Success / Return code: 0' and nothing from writeln. Thank