On 5/26/2011 6:05 AM, Jose Armando Garcia wrote:
It is. Probably it's a good idea to use module name, which is unique across
an application, unlike the (directory-less) file name.
https://www.owasp.org/index.php/Fuzzing#File_format_fuzzing
Yes. It should be, there is a defense contractor that
Hi all,
These 2 tokens are very useful for debugging and also trouble shooting
during exceptions time and even implementing logging api similar to log4j:
I do understand that this are compile time information and they are static.
__FILE__ // prints something like D:\User\Project\...\MyMod.d
That's why Tortoise* are so evil, I shit bricks just by looking at them.
On 5/25/2011 6:57 PM, Kagamin wrote:
That's why Tortoise* are so evil, I shit bricks just by looking at them.
Huh??
--
Matthew Ong
email: on...@yahoo.com
On May 25, 11 16:29, Matthew Ong wrote:
Hi all,
These 2 tokens are very useful for debugging and also trouble shooting
during exceptions time and even implementing logging api similar to log4j:
I do understand that this are compile time information and they are static.
__FILE__ // prints
On May 25, 11 21:45, Daniel Gibson wrote:
5) __DEBUGLINE__ // prints __MODULE__ ~ __BLOCKNAME__ ~ __FUNCNAME__ ~
__LINE__
Just define that function if you need it.
string __DEBUGLINE__() {
return __MODULE__ ~ : ~ ...;
}
are you sure this works? this probably returns the
Am 25.05.2011 15:43, schrieb KennyTM~:
On May 25, 11 16:29, Matthew Ong wrote:
Hi all,
These 2 tokens are very useful for debugging and also trouble shooting
during exceptions time and even implementing logging api similar to
log4j:
I do understand that this are compile time information and
On 5/25/2011 9:45 PM, Daniel Gibson wrote:
.stringof[7 .. $]
Belonging to which object or variable?
4) __BLOCKNAME__ // perhaps another name, but prints
class/struct/interface/template... name. If is global, print global.
How about this one? The class which the fuction belows
On 5/25/11 9:23 AM, Matthew Ong wrote:
On 5/25/2011 9:45 PM, Daniel Gibson wrote:
.stringof[7 .. $]
Belonging to which object or variable?
4) __BLOCKNAME__ // perhaps another name, but prints
class/struct/interface/template... name. If is global, print global.
How about this one? The class
== Quote from Matthew Ong (on...@yahoo.com)'s article
These 2 tokens are very useful for debugging and also trouble
shooting during exceptions time and even implementing logging
api similar to log4j:
I do understand that this are compile time information and they
are static.
__FILE__ //
On May 25, 11 22:23, Matthew Ong wrote:
On 5/25/2011 9:45 PM, Daniel Gibson wrote:
.stringof[7 .. $]
Belonging to which object or variable?
Belongs to the module. '.xxx' is D's syntax for access a global object
(derived from C++'s '::xxx' syntax). Please read through the whole D
On 5/25/2011 10:46 PM, KennyTM~ wrote:
I don't see how these 8 information _prevent_ DoS attack. And D already
has anti-buffer-overflow protection: range checking (in SafeD, at least).
Actually these allow the application developer to write some self
regulating routine threads to check for
On Wed, May 25, 2011 at 11:46 AM, KennyTM~ kenn...@gmail.com wrote:
On May 25, 11 22:23, Matthew Ong wrote:
On 5/25/2011 9:45 PM, Daniel Gibson wrote:
.stringof[7 .. $]
Belonging to which object or variable?
Belongs to the module. '.xxx' is D's syntax for access a global object
(derived
Am 25.05.2011 17:56, schrieb Matthew Ong:
On 5/25/2011 10:37 PM, pillsy wrote:
Use CTFE.
What is that? Some URL please.
http://www.digitalmars.com/d/2.0/function.html#interpretation
On 5/25/2011 10:37 PM, pillsy wrote:
== Quote from Matthew Ong (on...@yahoo.com)'s article
I do understand that this are compile time information and they
are static.
__FILE__ // prints something like D:\User\Project\...\MyMod.d
I do not like this full path format because it
On 5/25/2011 10:37 PM, pillsy wrote:
Use CTFE.
What is that? Some URL please.
--
Matthew Ong
email: on...@yahoo.com
On 5/25/11 10:50 AM, Jose Armando Garcia wrote:
On Wed, May 25, 2011 at 11:46 AM, KennyTM~kenn...@gmail.com wrote:
On May 25, 11 22:23, Matthew Ong wrote:
On 5/25/2011 9:45 PM, Daniel Gibson wrote:
.stringof[7 .. $]
Belonging to which object or variable?
Belongs to the module. '.xxx'
pillsy:
One addition that I would advocate for whic isn't on your list is
a token called __GENSYM__ (or perhaps __UNIQUE__ would be a better
name), which returns a string that's guaranteed to be unique and
usable as an identifier; this could provide additional safety when
metaprogramming
On Wed, May 25, 2011 at 1:20 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 5/25/11 10:50 AM, Jose Armando Garcia wrote:
On Wed, May 25, 2011 at 11:46 AM, KennyTM~kenn...@gmail.com wrote:
On May 25, 11 22:23, Matthew Ong wrote:
On 5/25/2011 9:45 PM, Daniel Gibson wrote:
19 matches
Mail list logo