On Sep 5, 2012, at 6:13, Regan Heath re...@netmail.co.nz wrote:
On Wed, 05 Sep 2012 13:55:32 +0100, monarch_dodra monarchdo...@gmail.com
wrote:
On Wednesday, 5 September 2012 at 12:43:26 UTC, Piotr Szturmaj wrote:
Michel Colman wrote:
I have a very simple suggestion for breaking out of
On Sep 5, 2012, at 10:56, captaindet 2k...@gmx.net wrote:
On 2012-09-04 15:36, Andrej Mitrovic wrote:
9/4/12, Ellery Newcomerellery-newco...@utulsa.edu wrote:
On 09/04/2012 12:41 PM, Andrej Mitrovic wrote:
__FILE__?
It doesn't necessarily have the exact package hierarchy.
We could
On Aug 27, 2012, at 17:31, Era Scarecrow rtcv...@yahoo.com wrote:
On Monday, 27 August 2012 at 22:44:53 UTC, F i L wrote:
Era Scarecrow wrote:
C# structs are allocated on the stack when they can be. In certain
cases (they're class fields, they're boxed, etc..) they're heap
allocated.
On Sat, Mar 17, 2012 at 7:10 AM, Sean Kelly s...@invisibleduck.org wrote:
Pretty much. I'd expect to see:
version (linux) {
// optimized impl
} else version (OSX) {
version = UseDefault;
Speaking of version specification, in this particular example is
version(UseDefault) only define
On Thu, Mar 15, 2012 at 6:43 PM, bearophile bearophileh...@lycos.com wrote:
In my code I have seen that in some situations I'd like to do
something with structs that const doesn't allow me to do. There
are many different cases of such usage, the following isn't my
most common example, but it
On Tue, Mar 13, 2012 at 9:07 AM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 3/13/12 10:48 AM, Manu wrote:
float t;
...
(myStruct.pos, t, _, int err) = intersectThings();
This can be checked at compile time. The D compiler can check that the
number of arguments and the types
On Mon, Mar 12, 2012 at 1:11 PM, Robert Jacques sandf...@jhu.edu wrote:
On Mon, 12 Mar 2012 00:15:14 -0500, Jose Armando Garcia jsan...@gmail.com
wrote:
On Wed, Mar 7, 2012 at 7:16 AM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 21:22:21 -0600, Andrei Alexandrescu
On Mon, Mar 12, 2012 at 4:01 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 3/12/12 5:35 PM, David Nadlinger wrote:
On Monday, 12 March 2012 at 05:05:43 UTC, Jose Armando Garcia wrote:
I think there is currently too much disagreement on std.log. I am
honestly too busy
On Mon, Mar 12, 2012 at 4:44 PM, James Miller ja...@aatch.net wrote:
On 13 March 2012 12:34, Jose Armando Garcia jsan...@gmail.com wrote:
On Mon, Mar 12, 2012 at 4:01 PM, Andrei Alexandrescu
I think that's a wise decision, thanks Jose and David.
One possibility is that Jose transfers
On Sun, Mar 11, 2012 at 3:28 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 3/11/12 4:49 PM, David Nadlinger wrote:
Unfortunately, the discussion has ground to a halt again, so consider
this a friendly reminder that there is still one day left until the end
of the review
On Wed, Mar 7, 2012 at 7:16 AM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 21:22:21 -0600, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 3/6/12 6:05 PM, Geoffrey Biggs wrote:
That approach means that if I actually do have a fatal error, I can't
mark it as such.
:42 Brad Roberts wrote:
On Tue, 6 Mar 2012, Jose Armando Garcia wrote:
Fix now:
1. Add thread name attribute to the default logger
2. Check that the example compile
3. Come up with a better name for Rich and rich template
4. Add @safe pure nothrow const to as many methods as possible
5
On Wed, Mar 7, 2012 at 4:31 AM, Steven Schveighoffer
schvei...@yahoo.com wrote:
On Tue, 06 Mar 2012 22:54:39 -0500, James Miller ja...@aatch.net wrote:
Surprisingly, I agree with the idea that fatal and critical shouldn't
throw, or at least shouldn't throw by default, maybe a configuration
On Wed, Mar 7, 2012 at 6:39 AM, Steven Schveighoffer
schvei...@yahoo.com wrote:
On Wed, 07 Mar 2012 07:09:17 -0500, Steven Schveighoffer
schvei...@yahoo.com wrote:
On Tue, 06 Mar 2012 14:39:28 -0500, Jose Armando Garcia
jsan...@gmail.com wrote:
On Tue, Mar 6, 2012 at 12:25 AM, Jonathan M
On Wed, Mar 7, 2012 at 1:53 PM, David Nadlinger s...@klickverbot.at wrote:
On Monday, 13 February 2012 at 15:50:05 UTC, David Nadlinger wrote:
Barring any objections, the review period starts now and ends in three
weeks, on March 6th, followed by a week of voting.
Okay, everyone, by the
On Mon, Feb 27, 2012 at 10:10 AM, Kalle Svensson ka...@ieee.org wrote:
Since I'm D n00b I'll just post a couple of observations:
* I agree that it is a good idea just to use few log levels.
* I think is it is a misstake not to let formatting of the whole
log message be pluggable (i.e. not
On Wed, Feb 29, 2012 at 4:13 PM, Richard van Scheijen dl...@mesadu.net wrote:
When logging the severity level should convey a certain insight that the
developer has about the code. This can be done with a 3 bit field. These
are: known-cause, known-effect and breaks-flow.
This creates the
On Thu, Mar 1, 2012 at 6:38 AM, H. S. Teoh hst...@quickfur.ath.cx wrote:
On Thu, Mar 01, 2012 at 10:09:28AM +0100, Mikael Lindsten wrote:
On Monday, 27 February 2012 at 18:10:15 UTC, Kalle Svensson wrote:
* I agree that it is a good idea just to use few log levels.
[...]
I second what Kalle
On Thu, Mar 1, 2012 at 4:59 PM, Sean Kelly s...@invisibleduck.org wrote:
On Feb 29, 2012, at 4:13 PM, Richard van Scheijen wrote:
When logging the severity level should convey a certain insight that the
developer has about the code. This can be done with a 3 bit field. These
are:
On Thu, Mar 1, 2012 at 6:24 PM, Robert Jacques sandf...@jhu.edu wrote:
On Wed, 29 Feb 2012 18:13:30 -0600, Richard van Scheijen dl...@mesadu.net
wrote:
When logging the severity level should convey a certain insight
that the developer has about the code. This can be done with a 3
bit field.
On Tue, Mar 6, 2012 at 9:32 AM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 11:01:19 -0600, Jose Armando Garcia jsan...@gmail.com
wrote:
On Wed, Feb 29, 2012 at 4:13 PM, Richard van Scheijen dl...@mesadu.net
wrote:
When logging the severity level should convey a certain
On Fri, Mar 2, 2012 at 12:56 AM, Brad Roberts bra...@puremagic.com wrote:
On 2/13/2012 7:50 AM, David Nadlinger wrote:
There are several modules in the review queue right now, and to get things
going, I have volunteered to manage the
review of Jose's std.log proposal. Barring any objections,
On Mon, Mar 5, 2012 at 1:55 PM, Steven Schveighoffer
schvei...@yahoo.com wrote:
On Mon, 13 Feb 2012 10:50:04 -0500, David Nadlinger s...@klickverbot.at
wrote:
There are several modules in the review queue right now, and to get things
going, I have volunteered to manage the review of Jose's
On Mon, Mar 5, 2012 at 3:51 PM, Steven Schveighoffer
schvei...@yahoo.com wrote:
On Mon, 05 Mar 2012 18:30:03 -0500, David Nadlinger s...@klickverbot.at
wrote:
On Monday, 5 March 2012 at 21:55:08 UTC, Steven Schveighoffer wrote:
The log aliases use names that are too common. I think log.info
On Mon, Mar 5, 2012 at 5:32 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Tuesday, March 06, 2012 02:22:05 so wrote:
That is not a counter-argument to something related to this
library but everything that lies in global namespace.
At its first state both severity levels and the log was in
On Mon, Mar 5, 2012 at 5:30 PM, Steven Schveighoffer
schvei...@yahoo.com wrote:
On Mon, 05 Mar 2012 20:22:05 -0500, so s...@so.so wrote:
On Monday, 5 March 2012 at 23:51:29 UTC, Steven Schveighoffer wrote:
On Mon, 05 Mar 2012 18:30:03 -0500, David Nadlinger s...@klickverbot.at
wrote:
On
On Mon, Mar 5, 2012 at 7:11 PM, Robert Jacques sandf...@jhu.edu wrote:
On Mon, 05 Mar 2012 19:22:05 -0600, so s...@so.so wrote:
On Monday, 5 March 2012 at 23:51:29 UTC, Steven Schveighoffer
wrote:
On Mon, 05 Mar 2012 18:30:03 -0500, David Nadlinger
s...@klickverbot.at wrote:
On Monday, 5
On Tue, Mar 6, 2012 at 12:25 AM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Tuesday, March 06, 2012 09:14:16 so wrote:
On Tuesday, 6 March 2012 at 07:46:14 UTC, Jacob Carlborg wrote:
On 2012-03-06 02:32, Jonathan M Davis wrote:
The user can then alias log!info to info if he/she wants
On Tue, Mar 6, 2012 at 10:11 AM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 11:44:13 -0600, Jose Armando Garcia jsan...@gmail.com
wrote:
On Tue, Mar 6, 2012 at 9:32 AM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 11:01:19 -0600, Jose Armando Garcia
jsan
On Mon, Feb 13, 2012 at 7:50 AM, David Nadlinger s...@klickverbot.at wrote:
There are several modules in the review queue right now, and to get things
going, I have volunteered to manage the review of Jose's std.log proposal.
Barring any objections, the review period starts now and ends in
On Tue, Mar 6, 2012 at 12:43 PM, Sean Kelly s...@invisibleduck.org wrote:
On Mar 6, 2012, at 11:39 AM, Jose Armando Garcia wrote:
Seriously everyone. What are we spending some much effort on this?
What is wrong with:
import log = std.log;
log.info(cool);
Why should the default
On Tue, Mar 6, 2012 at 1:08 PM, Brad Roberts bra...@puremagic.com wrote:
On Tue, 6 Mar 2012, Jose Armando Garcia wrote:
Future:
1. Allowing filtering of regular log messages (like info, warning,
etc) based on the module. Similar to how vlog works.
Once you add module filtering
On Tue, Mar 6, 2012 at 1:08 PM, Brad Roberts bra...@puremagic.com wrote:
On Tue, 6 Mar 2012, Jose Armando Garcia wrote:
Future:
1. Allowing filtering of regular log messages (like info, warning,
etc) based on the module. Similar to how vlog works.
Once you add module filtering
On Tue, Mar 6, 2012 at 2:44 PM, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
I still don't understand how to set the filename of the log file. Has
this been added yet?
http://jsancio.github.com/phobos/phobos/std_log.html#fileNamePrefixes
On Tue, Mar 6, 2012 at 2:03 PM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 13:41:32 -0600, Jose Armando Garcia jsan...@gmail.com
wrote:
On Tue, Mar 6, 2012 at 10:11 AM, Robert Jacques sandf...@jhu.edu wrote:
On Tue, 06 Mar 2012 11:44:13 -0600, Jose Armando Garcia
jsan
On Mon, Mar 5, 2012 at 3:26 PM, David Nadlinger c...@klickverbot.at wrote:
Just a quick reply, more tomorrow:
On 6 Mar 2012, at 0:03, Jose Armando Garcia wrote:
What is your objection here? I don't remember reading your thoughts on
critical.
Darn, my longer review post apparently didn't
On Tue, Mar 6, 2012 at 3:27 PM, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
On 3/7/12, Jose Armando Garcia jsan...@gmail.com wrote:
http://jsancio.github.com/phobos/phobos/std_log.html#fileNamePrefixes
That was what I was looking for but I didn't find it at first. I think
that info
On Tue, Mar 6, 2012 at 6:05 PM, Geoffrey Biggs
geoffrey.bi...@aist.go.jp wrote:
On 07/03/12 09:59, Andrei Alexandrescu wrote:
I don't see why the agitation around this particular matter. It's a
matter of convenience, much like writeln (as opposed to just write).
Let's admit that it often
On Tue, Mar 6, 2012 at 5:07 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Tuesday, March 06, 2012 16:59:09 Andrei Alexandrescu wrote:
I don't see why the agitation around this particular matter. It's a
matter of convenience, much like writeln (as opposed to just write).
Let's admit that
On Tue, Feb 21, 2012 at 6:32 PM, deadalnix deadal...@gmail.com wrote:
Le 21/02/2012 00:23, Andrei Alexandrescu a écrit :
On 2/20/12 4:44 PM, Juan Manuel Cabo wrote:
HAhaha, it sometimes feel as though people are afraid that the
Variant[string]
idea is to never use plain old variables and
On Mon, Feb 20, 2012 at 2:37 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/20/12 10:16 AM, Nick Sabalausky wrote:
Andrei
AlexandrescuSeeWebsiteForEma**i...@erdani.orgseewebsiteforem...@erdani.org
wrote in message
news:jhtq31$u8q$1@digitalmars.**com...
Again, I
On Mon, Feb 20, 2012 at 5:04 PM, Johannes Pfau nos...@example.com wrote:
Am Mon, 20 Feb 2012 15:28:33 -0200
schrieb Jose Armando Garcia jsan...@gmail.com:
I have been thinking of making a module for i18n model after gettext
but taking advantage of D's language features. Is there some
On Mon, Feb 20, 2012 at 9:33 PM, Nick Sabalausky a@a.a wrote:
Jose Armando Garcia jsan...@gmail.com wrote in message
news:mailman.672.1329758926.20196.digitalmar...@puremagic.com...
This may not be D. Gettext says to solve it as follow:
throw new Exception(gettext(Cool English message
On Sun, Feb 19, 2012 at 1:31 AM, Nick Sabalausky a@a.a wrote:
H. S. Teoh hst...@quickfur.ath.cx wrote in message
news:mailman.527.1329589896.20196.digitalmar...@puremagic.com...
On Sat, Feb 18, 2012 at 12:10:48PM -0500, Nick Sabalausky wrote:
[...]
If I'm using a server that doesn't already
On Sun, Feb 19, 2012 at 12:44 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 15:41, Andrei Alexandrescu wrote:
On 2/19/12 7:31 AM, Timon Gehr wrote:
On 02/19/2012 09:26 AM, H. S. Teoh wrote:
On Sat, Feb 18, 2012 at 11:52:00PM -0800, Jonathan M Davis wrote:
[...]
So,
On Sun, Feb 19, 2012 at 12:51 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 15:46, Andrei Alexandrescu wrote:
On 2/19/12 8:44 AM, Alex Rønne Petersen wrote:
On 19-02-2012 15:41, Andrei Alexandrescu wrote:
That helps. This quite nicely illustrates that types don't
the old one:
try {
...
} catch (Exception e) {
throw new Exception(e);
}
Jose Armando Garcia jsan...@gmail.com wrote in message
news:mailman.601.1329663665.20196.digitalmar...@puremagic.com...
On Sun, Feb 19, 2012 at 12:44 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 15
On Sun, Feb 19, 2012 at 1:11 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 16:00, Jose Armando Garcia wrote:
On Sun, Feb 19, 2012 at 12:44 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 15:41, Andrei Alexandrescu wrote:
On 2/19/12 7:31 AM, Timon Gehr
On Sun, Feb 19, 2012 at 1:11 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 16:00, Jose Armando Garcia wrote:
On Sun, Feb 19, 2012 at 12:44 PM, Alex Rønne Petersen
xtzgzo...@gmail.com wrote:
On 19-02-2012 15:41, Andrei Alexandrescu wrote:
On 2/19/12 7:31 AM, Timon Gehr
On Sat, Feb 18, 2012 at 9:13 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/18/12 4:26 PM, Jonathan M Davis wrote (abridged):
GetOptException
FlagArgumentMissingException
InvalidFlagArgumentException
UnknownFlagException
FileException
FileNotFoundException
On Sat, Feb 18, 2012 at 10:46 PM, H. S. Teoh hst...@quickfur.ath.cx wrote:
On Sat, Feb 18, 2012 at 10:21:17PM -0200, Jose Armando Garcia wrote:
On Sat, Feb 18, 2012 at 9:13 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/18/12 4:26 PM, Jonathan M Davis wrote (abridged
On Sat, Feb 18, 2012 at 11:19 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Saturday, February 18, 2012 22:54:37 Jose Armando Garcia wrote:
You basically agree that we need error codes inside the exception to
handle database errors correctly. What about POSIX error codes?
Basically
On Thu, Feb 16, 2012 at 7:21 AM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Monday, February 13, 2012 16:50:04 David Nadlinger wrote:
Please post all feedback in this thread, and remember: Although
comprehensive reviews are obviously appreciated, short comments are very
welcome as well!
On Thu, Feb 16, 2012 at 7:57 AM, Sönke Ludwig
lud...@informatik.uni-luebeck.de wrote:
Am 16.02.2012 10:21, schrieb Jonathan M Davis:
On Monday, February 13, 2012 16:50:04 David Nadlinger wrote:
Please post all feedback in this thread, and remember: Although
comprehensive reviews are
On Fri, Feb 17, 2012 at 6:33 PM, Joshua Niehus jm.nie...@gmail.com wrote:
Not as fancy as the other submits, but it might be worthy of the front page:
import std.stdio, std.traits;
void main(string[] args) {
auto foo(T)(T n) {
return delegate(T i) {
static if
On Fri, Feb 17, 2012 at 6:48 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/17/12 12:06 PM, Jose Armando Garcia wrote:
info(%s message, Severity.info);
I think defaulting to formatted stuff may be confusing.
Even if we document this? I mean:
info(Info message);
Just
On Fri, Feb 17, 2012 at 7:12 PM, Walter Bright
newshou...@digitalmars.com wrote:
On 2/13/2012 7:50 AM, David Nadlinger wrote:
Please post all feedback in this thread, and remember: Although
comprehensive
reviews are obviously appreciated, short comments are very welcome as
well!
This is a
On Tue, Feb 14, 2012 at 4:50 AM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/13/12 9:50 AM, David Nadlinger wrote:
Please post all feedback in this thread, and remember: Although
comprehensive reviews are obviously appreciated, short comments are very
welcome as well!
On Mon, Feb 13, 2012 at 1:50 PM, David Nadlinger s...@klickverbot.at wrote:
There are several modules in the review queue right now, and to get things
going, I have volunteered to manage the review of Jose's std.log proposal.
Barring any objections, the review period starts now and ends in
On Tue, Feb 14, 2012 at 5:44 AM, Jacob Carlborg d...@me.com wrote:
On 2012-02-13 22:17, Sönke Ludwig wrote:
Log levels debug and maybe also trace would be useful, but I see
that vlog(n)() is meant for that purpose. I would just prefer explicit
names instead of just numbers.
Is there a
On Tue, Feb 14, 2012 at 8:42 AM, jdrewsen jdrew...@nospam.com wrote:
On Tuesday, 14 February 2012 at 02:28:11 UTC, Jose Armando Garcia wrote:
On Mon, Feb 13, 2012 at 6:44 PM, jdrewsen jdrew...@nospam.com wrote:
A first quick observation:
I vote for a debug severity level. Then make
On Tue, Feb 14, 2012 at 11:14 AM, Jacob Carlborg d...@me.com wrote:
On 2012-02-13 16:50, David Nadlinger wrote:
There are several modules in the review queue right now, and to get
things going, I have volunteered to manage the review of Jose's std.log
proposal. Barring any objections, the
On Mon, Feb 13, 2012 at 1:50 PM, David Nadlinger s...@klickverbot.at wrote:
There are several modules in the review queue right now, and to get things
going, I have volunteered to manage the review of Jose's std.log proposal.
Barring any objections, the review period starts now and ends in
On Tue, Feb 14, 2012 at 4:44 PM, jdrewsen jdrew...@nospam.com wrote:
On Tuesday, 14 February 2012 at 16:12:57 UTC, Jose Armando Garcia wrote:
On Mon, Feb 13, 2012 at 1:50 PM, David Nadlinger s...@klickverbot.at
wrote:
There are several modules in the review queue right now, and to get
.
John
Original Message
From: Andrej Mitrovic andrej.mitrov...@gmail.com
Sent: Mon, Feb 13, 2012 11:6 AM
To: digitalmars.D digitalmars-d@puremagic.com
CC:
Subject: Re: Review of Jose Armando Garcia Sancio's std.log
I'd like to see a simple example of how to specify
On Mon, Feb 13, 2012 at 2:49 PM, David Nadlinger s...@klickverbot.at wrote:
On 2/13/12 4:50 PM, David Nadlinger wrote:
https://github.com/jsancio/phobos/commit/d114420e0791c704f6899d81a0293cbd3cc8e6f5
Docs: http://jsancio.github.com/phobos/phobos/std_log.html
A few small points from a
On Mon, Feb 13, 2012 at 4:19 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Monday, February 13, 2012 17:49:49 David Nadlinger wrote:
You define the Severity enum members starting with fatal as 0. Why not
the other way round – so that severityA severityB would do what you
(or at least I)
On Mon, Feb 13, 2012 at 5:06 PM, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
I'd like to see a simple example of how to specify the filename of the log
file.
Fair enough...
On Mon, Feb 13, 2012 at 6:47 PM, Sean Kelly s...@invisibleduck.org wrote:
On Feb 13, 2012, at 12:44 PM, jdrewsen wrote:
A first quick observation:
I vote for a debug severity level. Then make that default to the template
parameter for log:
template log(Severity severity = Severity.debug)
On Mon, Feb 13, 2012 at 6:44 PM, jdrewsen jdrew...@nospam.com wrote:
A first quick observation:
I vote for a debug severity level. Then make that default to the template
parameter for log:
template log(Severity severity = Severity.debug)
That would make it nice for good old print
On Mon, Feb 13, 2012 at 7:17 PM, Sönke Ludwig
lud...@informatik.uni-luebeck.de wrote:
Log levels debug and maybe also trace would be useful, but I see that
vlog(n)() is meant for that purpose. I would just prefer explicit names
instead of just numbers.
Is there a compelling reason why
On Mon, Feb 13, 2012 at 9:12 PM, James Miller ja...@aatch.net wrote:
On 14 February 2012 10:17, Sönke Ludwig
lud...@informatik.uni-luebeck.de wrote:
Log levels debug and maybe also trace would be useful, but I see that
vlog(n)() is meant for that purpose. I would just prefer explicit names
On Mon, Feb 13, 2012 at 9:37 PM, so s...@so.so wrote:
On Monday, 13 February 2012 at 15:50:05 UTC, David Nadlinger wrote:
There are several modules in the review queue right now, and to get things
going, I have volunteered to manage the review of Jose's std.log proposal.
Barring any
On Tue, Feb 14, 2012 at 12:02 AM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Monday, February 13, 2012 23:58:38 Jose Armando Garcia wrote:
On Mon, Feb 13, 2012 at 4:19 PM, Jonathan M Davis jmdavisp...@gmx.com
wrote:
On Monday, February 13, 2012 17:49:49 David Nadlinger wrote:
You define
Hey all,
From my experience implementing std.log and trying to keep it up to
date with commits to Phobos. I think I have become fairly frustrated
with writing D programs and debugging D program compilations
(specially templates). I swear that feels like every other commit
breaks the std.log
On Sun, Feb 12, 2012 at 6:25 PM, Adam D. Ruppe
destructiona...@gmail.com wrote:
On Sunday, 12 February 2012 at 20:18:13 UTC, Jose Armando Garcia wrote:
Is there anyway that dmd can tell me why a template is being
instantiated? Something like like:
You do get that if a static assert fails
On Sun, Feb 12, 2012 at 8:11 PM, Adam D. Ruppe
destructiona...@gmail.com wrote:
On Sunday, 12 February 2012 at 21:43:57 UTC, Jose Armando Garcia wrote:
Very helpful advice! I narrowed it down to:
$ cat format spec.d
import std.format;
void main() {
static assert(is(Unqual!char == char
On Sun, Feb 12, 2012 at 8:32 PM, David Nadlinger s...@klickverbot.at wrote:
On 2/12/12 11:22 PM, Jose Armando Garcia wrote:
Sorry for the false alarm. I think the problem went away once I
rebuild dmd, druntime and phobos. Your advice was really good in
helping me make any sense
On Wed, Feb 8, 2012 at 5:41 AM, Jacob Carlborg d...@me.com wrote:
On 2012-02-08 03:29, Adam D. Ruppe wrote:
Here's more ddocs.
http://arsdnet.net/web.d/web.html
http://arsdnet.net/web.d/dom.html
Not terribly useful, I'll admit. The Javascript
discussion at the bottom of the first link
On Tue, Feb 7, 2012 at 5:39 PM, Marco Leise marco.le...@gmx.de wrote:
Hi, this is me again with some size matters topic. This time, it's not
the executable size, no! Instead I want to discuss a runtime memory
footprint and speed issue that affects everyone, and how to improve the
situation
On Sun, Feb 5, 2012 at 12:57 PM, Timon Gehr timon.g...@gmx.ch wrote:
On 02/05/2012 03:53 PM, so wrote:
On Sunday, 5 February 2012 at 14:24:20 UTC, Timon Gehr wrote:
This should work:
#define DOTDOTDOT ...
templateclass T void fun(T a){
if(condT::value) {
auto var = make(a);
DOTDOTDOT;
On Sun, Feb 5, 2012 at 1:24 PM, so s...@so.so wrote:
On Sunday, 5 February 2012 at 15:17:39 UTC, Jose Armando Garcia wrote:
What I would really like to see in D is:
immutable variable = if (boolean condition)
{
// initialize based on boolean condition being true
}
else
{
// initialize
On Sun, Feb 5, 2012 at 1:44 PM, Timon Gehr timon.g...@gmx.ch wrote:
On 02/05/2012 04:17 PM, Jose Armando Garcia wrote:
On Sun, Feb 5, 2012 at 12:57 PM, Timon Gehrtimon.g...@gmx.ch wrote:
On 02/05/2012 03:53 PM, so wrote:
On Sunday, 5 February 2012 at 14:24:20 UTC, Timon Gehr wrote
On Sun, Feb 5, 2012 at 2:13 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/5/12 9:57 AM, Jose Armando Garcia wrote:
On Sun, Feb 5, 2012 at 1:44 PM, Timon Gehrtimon.g...@gmx.ch wrote:
immutable variable = (boolean_condition) ? {
// initialize based on boolean_condition
On Fri, Jan 20, 2012 at 7:47 AM, Johannes Pfau s...@example.com wrote:
Jose Armando Garcia wrote:
On Thu, Jan 19, 2012 at 9:41 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 1/19/12 4:43 PM, Steven Schveighoffer wrote:
On Thu, 19 Jan 2012 14:06:00 -0500, torhu
On Sun, Feb 5, 2012 at 3:26 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 2/5/12 11:25 AM, Jose Armando Garcia wrote:
std.log still works! hehe. std.log is ready for review but
unfortunately it depends on some changes I have made to druntime. I
have tried to get those
On Sun, Feb 5, 2012 at 1:15 PM, xancorreu xancor...@gmail.com wrote:
Al 05/02/12 05:26, En/na Jose Armando Garcia ha escrit:
On Thu, Feb 2, 2012 at 4:48 PM, xancorreuxancor...@gmail.com wrote:
Hi,
Is there any way for localizate and internationalizate messages?
I were shocked if D has
On Thu, Feb 2, 2012 at 4:48 PM, xancorreu xancor...@gmail.com wrote:
Hi,
Is there any way for localizate and internationalizate messages?
I were shocked if D has something like Fantom
[http://fantom.org/doc/docLang/Localization.html]. Gettext is pretty ugly
;-)
I just glanced at Fantom
On Thu, Jan 19, 2012 at 9:41 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 1/19/12 4:43 PM, Steven Schveighoffer wrote:
On Thu, 19 Jan 2012 14:06:00 -0500, torhu no@spam.invalid wrote:
If the type of byKeys is Range, I would expect to be able to treat it
like one. Not like
On Tue, Jan 17, 2012 at 4:48 AM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
I hate I must ask this:
int[string] aa;
foreach (k; aa.byKey) { ... }
or
int[string] aa;
foreach (k; aa.byKey()) { ... }
If it is any help, Scala libraries use by convention that methods that
have
On Wed, Nov 2, 2011 at 8:19 AM, Nick Sabalausky a@a.a wrote:
Martin Nowak d...@dawgfoto.de wrote in message
news:mailman.631.1320245247.24802.digitalmar...@puremagic.com...
The main point is that git offers a lean mental model.
http://book.git-scm.com/1_the_git_object_model.html
On Tue, Oct 25, 2011 at 4:49 AM, Gor Gyolchanyan
gor.f.gyolchan...@gmail.com wrote:
It's unclear whether a particular solution is easier to implement in
D, or is easier to translate from C.
You can translate zeromq's headers to D in 10 minute. I will give you
a day to make a D wrapper. I doubt
On Thu, Oct 27, 2011 at 1:11 PM, dsimcha dsim...@yahoo.com wrote:
Dimitry's FReD library review looks to have been a success. (Not sure if
voting is technically over but it doesn't exactly look like it's going to come
down to the wire.) Congratulations, Dimitry. What's next in the review
On Sun, Oct 23, 2011 at 4:11 AM, Russel Winder rus...@russel.org.uk wrote:
It funny how when it comes to licences, viral is used as a derogatory
term, but when used in marketing, viral is a positive goal that everyone
wants to achieve.
That is because you live in a capitalist economy. I don't
On Sun, Oct 2, 2011 at 11:27 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
The review for the region allocator has completed, so we need to choos
something else to review now. I believe that the current items in the review
queue which are ready for review are
- std.log
Better late than
On Wed, Sep 28, 2011 at 12:44 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
So, my suggestion is that we create a GetOpt struct which contains all of the
options for getopt, and we make getopt a member function of that struct.
Making it a struct gives you a design flexibility that really is
On Fri, Sep 30, 2011 at 11:27 AM, Nick Sabalausky a@a.a wrote:
Jose Armando Garcia jsan...@gmail.com wrote in message
Are you serious? Don't allow it? Why? What benefit could that possibly
provide? It makes perfect sence to think that there may be legitimate reason
to use a commandline parser
On Sun, Sep 25, 2011 at 6:08 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Comments and suggestions are welcome.
Very nice. Really like the functionality. Really like how you
implemented void benchmarkModule(string mod)(File target = stdout).
I have a few comments.
My main
On Tue, Sep 13, 2011 at 7:08 PM, Andrew Wiley wiley.andre...@gmail.com wrote:
On Tue, Sep 13, 2011 at 8:54 PM, zsxxsz zsx...@263.net wrote:
== Quote from Adam Ruppe (destructiona...@gmail.com)'s article
zsxxsz wrote:
The fork process is expensive for any OS.
Have you actually measured this?
On Tue, Sep 6, 2011 at 7:33 AM, dsimcha dsim...@yahoo.com wrote:
RegionAllocator is a memory allocator based on segmented stacks. A segmented
stack is similar to a regular stack in that memory is allocated and freed in
last in, first out order. When memory is requested from a segmented stack,
1 - 100 of 184 matches
Mail list logo