I just want to say cheers to the GDC team for making D. 2.50(2.49 in the wiki)
work in GCC. Great work
IDK where to put this.
first thing:
Could it be a way to collapse Variants in std.variant?, like
Variant x = Variant(1)
Variant y = Variant([x,x,x,x])
//y could be simplified to Variant(int[]) instead of Variant(Variant(int)[])
//now it is not implemented (as far i know)
Also if want to know if u
On Tuesday, 20 November 2012 at 02:27:08 UTC, Edward Diener wrote:
Is there a downloadable spec for the D version 2 language, in
either PDF or HTML format ?
The HTML version is in the ZIP with dmd...
G.
omg
with a simple multiple-inheritance sample:
> http://paste.dprogramming.com/dpv8hpjp
>
> The D code to bind to this is http://paste.dprogramming.com/dphlv1ot . It
> requires a symlink to the tools folder in its directory.
>
> Caveats:
>
> - D1
> - Only works on
What's up with:
deferring sigaction_t
When compiling with dmd 2.039 on Linux.
What does it means?
Hi
Is there a way to demangle .mangleof strings at CTFE
or at least know the fully qualified name of a class or template instance.
g Wrote:
> Hi
> Is there a way to demangle .mangleof strings at CTFE
> or at least know the fully qualified name of a class or template instance.
let's repeat : "Google is your friend!"
http://www.dsource.org/projects/ddl/browser/trunk/meta/demangle.d
but is severely out
Trass3r Wrote:
> What about std.demangle?
doesn't work in ctfe
grauzone Wrote:
> Brad Roberts wrote:
> > On 1/11/2010 11:20 PM, grauzone wrote:
> >> g wrote:
> >>> Hi
> >>> Is there a way to demangle .mangleof strings at CTFE
> >>> or at least know the fully qualified name of a class or template
> >
1 D2
We NEED a way to make plugins from d. And is a must to use freely the features
of D with out getting dirty (or not so dirty) or worse, limited to some features
/*and for your pleasure some of the pain:
---
g-desktop:~/dynamic/ddl/ddl/Samples
indly being called like
that, as they are some of the "peers" that review Phobos submissions. :p
And yes, I agree that std.xml is not really good.
P.D. Are you drunk?
--
Yao G.
On Tue, 09 Nov 2010 15:03:10 -0600, Jonathan M Davis
wrote:
Ugh. The datetime.d file is 1.5 MB? 0_o
--
Yao G.
27;ll give it a more throughly review tonight.
--
Yao G.
ok at the
API.
I see what you did there :)
--
Yao G.
On Tue, 09 Nov 2010 23:28:09 -0600, Andrew Wiley
wrote:
Please do not feed the trolls.
But he's the same troll :/ Using a bunch of socket puppets.
--
Yao G.
On Wed, 10 Nov 2010 09:13:31 -0600, Steven Schveighoffer
wrote:
But he's the same troll :/ Using a bunch of socket puppets.
Are those IPV4 or V6 socket puppets?
-Steve
He he he. s/socket/sock
On a serious note, I think that they are IPV6 sockets.
--
Yao G.
e language, the process.. everything.
Sight. You are too obvious. At least change your posting style :)
--
Yao G.
switch to C# :)
So please kill automatic joining of adjacent strings in D with fire.
No.
Thank you,
bearophile
--
Yao G.
ould stop being rude with people at the D.learn
newsgroup.
--
Yao G.
with your reasons.
Thank you,
Andrei
I hate the SysDate name (ugly). And I hate that I must link to
advapi32.lib. And honestly, It gives me a strong kitchen-sinky vibe
(there's too much functionality). But I vote yes. Solid library.
--
Yao G.
z8n
>>
>> These say nothing against D. Why does one take them personally? They
>> are both also highly informative. As far as I can tell, these two
>> comments go much deeper in operator semantics theory than the
combined
>> effort of 68 other threads by Walter, Andrei et al. For example the
>> precedence of operators can get problematic when using several
>> libraries from various vendors.
>>
>> Then you have:
>>
>> http://www.reddit.com/r/programming/comments/eklq0/
>> andrei_alexandrescus_talk_at_accu_silicon_valley/c18t1d5
>>
>> "I really like D (2.0) and I wish it would take off."
>>
>> 7 points? WTF? What is the value of this reply? It's a purely
>> subjective opinion and doesn't necessarily even beg for further
>> discussion.
>>
Oh, retard using sockpuppets. Business as usual. :)
--
Yao G.
Thanks for another trolling post of yours. :rolleyes: Weren't you supposed
to stop posting?
On Mon, 31 May 2010 10:43:36 -0500, retard wrote:
I'm not sure if bearophile or some other language advocate posted this
already, but:
http://www.reddit.com/r/programming/comments/c3p8e/
if_you_have_
Every time you reply to somebody, a new message is created. Is kinda
difficult to follow this discussion when you need to look more than 15
separated messages about the same issue. Please check your news client or
something.
Yao G.
On Tue, 08 Jun 2010 10:11:34 -0500, Ruslan Nikolaev
:D Wow. This troll is getting increasingly desperate. Now it resorts to
straw man.
On Tue, 08 Jun 2010 23:53:41 -0500, retard wrote:
Tue, 08 Jun 2010 16:14:51 -0500, Andrei Alexandrescu wrote:
On 06/08/2010 04:05 PM, Walter Bright wrote:
Andrei Alexandrescu wrote:
On 06/08/2010 01:27 PM
http://www.reddit.com/r/programming/comments/cel4o/constrained_templates_in_the_d_programming/
On Sun, 13 Jun 2010 14:01:16 -0500, Walter Bright
wrote:
http://www.drdobbs.com/blog/archives/2010/06/constrained_tem.html
Anyone want to do the honors and post to reddit, ycombinator, etc. ?
template constraints, is the ability to
show text messages, like when static if is used.
Yao G.
On Sun, 13 Jun 2010 14:36:14 -0500, Leandro Lucarella
wrote:
Walter Bright, el 13 de junio a las 12:01 me escribiste:
http://www.drdobbs.com/blog/archives/2010/06/constrained_tem.html
Anyone want
Maybe I did something wrong at the moment I submitted the article. :(
Somebody else should try to submit it too.
On Sun, 13 Jun 2010 15:15:25 -0500, Walter Bright
wrote:
Yao G. wrote:
http://www.reddit.com/r/programming/comments/cel4o/constrained_templates_in_the_d_programming/
Thanks
It is now displayed in the front page.
http://www.reddit.com/r/programming/
On Sun, 13 Jun 2010 15:42:13 -0500, Walter Bright
wrote:
Yao G. wrote:
Maybe I did something wrong at the moment I submitted the article. :(
I sent an email to the reddit moderators asking what's up with
:D That's weird. I just filled some typical form controls and clicked
submit. No "autoban" button was clicked.
Yao G.
On Sun, 13 Jun 2010 20:05:04 -0500, Walter Bright
wrote:
Yao G. wrote:
It is now displayed in the front page.
http://www.reddit.com/r/programming/
On S
http://www.reddit.com/r/programming/comments/ciq5w/the_x_macro/
I hope I don't screw up this time :D
On Thu, 24 Jun 2010 17:10:35 -0500, Walter Bright
wrote:
http://www.drdobbs.com/blog/archives/2010/06/the_x_macro.html
Even though D doesn't have a text macro preprocessor, this can be do
:'(
On Thu, 24 Jun 2010 18:55:52 -0500, Walter Bright
wrote:
Yao G. wrote:
http://www.reddit.com/r/programming/comments/ciq5w/the_x_macro/
I hope I don't screw up this time :D
Autobanned again, sigh.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
seeing the debacle caused by
the Date module, I think it would be a bad idea to release it.
Yao G.
On Sun, 27 Jun 2010 05:34:30 -0500, Justin Johansson wrote:
May I ask is anybody working on redeveloping std.xml in the D2/Phobos
library? (Currently it looks like it needs to be started over
I'm doing some funky controls (Visual Studio-like property sheet, etc.).
On Tue, 13 Jul 2010 17:48:54 -0500, wrote:
On Mon, 12 Jul 2010 07:26:20 -0500, BLS wrote:
???
I mean docking, tabbed MDI, advanced data bound hierarchical grids
(using active records, and Enterprise patterns ), cha
ased on this control:
http://www.viksoe.dk/code/propertylist.htm
Just give me a few days so I can do some cleanup and then we can exchange
ideas and code.
Yao G.
On Tue, 13 Jul 2010 18:50:17 -0500, BLS wrote:
On 14/07/2010 00:58, Yao G. wrote:
I'm doing some funky controls (Visual S
OK. Thanks. I'll let you know when everything is ready.
Yao G.
On Tue, 13 Jul 2010 19:45:58 -0500, BLS wrote:
On 14/07/2010 02:44, Yao G. wrote:
http://win32-framework.sourceforge.net/overview.htm
That's an interesting library. Lots of cool ideas. I have a Bitbucket
reposito
Weren't you leaving for good this list?
On Thu, 15 Jul 2010 09:10:03 -0500, retard wrote:
Thu, 15 Jul 2010 07:51:55 -0400, bearophile wrote:
P 61: this is so hard to read that I don't want to see anything similar
even in small script-like programs. The D compiler can even disallow
such long
I don't understand why people complains about this issue. delete didn't
worked the way it do in C++. Why on Earth do anybody would want to use a
broken operator?
On Fri, 16 Jul 2010 01:15:07 -0500, F. Almeida
wrote:
Just to satisfy my curiousity about how many D users think that the
del
What does idiomatic D means?
On Fri, 06 Aug 2010 20:50:52 -0500, Andrei Alexandrescu
wrote:
On 08/06/2010 08:34 PM, Walter Bright wrote:
I wrote these two trivial utilities for the purpose of canonicalizing
source code before checkins and to deal with FreeBSD's inability to deal
with CRLF
On Sat, 07 Aug 2010 04:36:27 -0500, Mafi wrote:
Am 07.08.2010 06:39, schrieb Nick Sabalausky:
(...)
I use Programmer's Notepad 2 which does parenthesis-matching
out-of-the-box.
Hey, you are the first person I heard of that also uses PN2 :) . It
isn't a full-featured IDE but it's a grea
On Sun, 08 Aug 2010 16:44:09 -0500, bearophile
wrote:
Walter Bright:
If you want to conclude that Python is better at processing files, you
need to
show it using each language doing it a way well suited to that
language, rather
than burdening one so it uses the same method as the less po
On Sun, 08 Aug 2010 17:27:04 -0500, bearophile
wrote:
Yao G.:
What's next? Will you demand attribution like the time Andrei
presented the ranges design?
Of course. In the end all D will be mine
:-)
Bye,
bearophile
:D That was a good comeback.
--
Using Opera's revol
Andrei has this errata web page:
http://www.erdani.com/tdpl/errata/index.php?title=Main_Page
I think you should edit the wiki and add them, because here your message
will be lost between all the flux of messages.
On Mon, 09 Aug 2010 15:29:06 -0500, Andrej Mitrovic
wrote:
The last exam
Thanks for this Sean. Although I concur with Steve that it looks weird, at
least is usable.
Yao G.
On Tue, 10 Aug 2010 13:51:56 -0500, Sean Kelly
wrote:
Steven Schveighoffer Wrote:
One of the common problems of destructors is that they cannot assume any
of their GC-allocated
erated correctly but the few macros that I redefine (DDOC,
DDOC_SUMMARY, etc.) don't get replaced with the new ones. The docbook.ddoc
is on the same directory where I have the *.d files (code).
Thanks in advance.
--
Yao G.
Yep. That seems to do the trick. Maybe this should be documented, that the
ddoc file should be the first file passed to the command line. Thanks
Walter.
--
Yao G.
Correction, it still don't work. I was eagerly optimistic in my early
message. But I think I found out what's happening. I'll do a little bit
more of test with my modified ddoc file and will post the results.
truct?
2. Why is disallowed to alias this a struct "getter" property?
--
Yao G.
You are just becoming a parody of yourself.
Keep trying, though.
On Sat, 14 Aug 2010 15:06:04 -0500, retard wrote:
Sat, 07 Aug 2010 16:54:03 +0200, Jacob Carlborg wrote:
On 2010-08-07 00:54, Walter Bright wrote:
Don wrote:
The reason they're the same is that the docs were originally writt
On Sat, 14 Aug 2010 20:20:49 -0500, Mike Parker wrote:
What prevents you from contributing to the frontend under its current
license?
Apparently he doesn't like butt-ugly frontends. That's the game breaker
for him :|
--
Yao G.
On Sat, 14 Aug 2010 20:32:18 -0500, bearophile
wrote:
Yao G. Wrote:
You are just becoming a parody of yourself.
Everyone deserves respect when expresses opinions honestly and in an
civil way, even when the ideas are wrong.
Bye,
bearophile
Civil way? Really? But you are right about
On Sat, 14 Aug 2010 21:18:19 -0500, retard wrote:
[snip]
Thanks for your informative post. I'm really glad that you don't use such
primitive, butt-ugly tools like DDOC.
--
Yao G.
might taint my mind.
Huh?... The front end is GPLed, just stay away from the back end. The doc
generator is in the former part. You are criticizing the doc generator
right? How would yo be sued contributing to a GPLed code? Or are you just
pulling a strawman?
--
Yao G.
On Sat, 14 Aug 2010 21:51:45 -0500, retard wrote:
You don't need to use it either. Why do you think it's a personal attack
if I'm evaluating some tool and don't see it fit for some part of the
community? Do you think my opinions would have more value if I wrote
under m
On Sun, 15 Aug 2010 16:27:57 -0500, Walter Bright
wrote:
I'd like to know how the macro system is inadequate for generating
Latex, man, etc. format.
I'm attempting to generate DocBook 5.0 xml files using DDOC. I'll let you
know what issues I find.
--
Yao G.
retty good and
comprehensive.
--
Yao G.
Boost date_time, but I
gave up when I had to implement that faux-IEEE754 integer that handles
infinities (+ and -), and NANs. It was just too much :(
And it was only the DateTime component, I still hadn't checked the
remaining classes.
--
Yao G.
(You
may have a compatriot in our resident member Bearophile, whose posts
sometimes remind me of yours.)
I hope you'll stay for a while, and share your enthusiasm and design
sensibilities with the D community.
Cheers,
Graham
Eduardo Cavazos sounds more like a spanish/latin american name, no?
--
Yao G.
On Thu, 19 Aug 2010 14:57:09 -0500, Stanislav Blinov
wrote:
So? :)
So what?
--
Yao G.
d on
page XXX".
Heh! It remainds me of those old Wizardry games, where you had to
frantically search for words in the manual to start a game.
--
Yao G.
On Sat, 21 Aug 2010 02:49:43 -0500, Yao G. wrote:
Heh! It remainds me of those old Wizardry games, where you had to
frantically search for words in the manual to start a game.
And by remainds I actually mean reminds. :)
--
Yao G.
On Sun, 22 Aug 2010 15:40:32 -0500, Robert Clipsham
wrote:
For the record, I'm on a 6 core 3.2Ghz a core box with 8GB ram and
eclipse still feels bloated and slow. Same goes for OpenOffice.org :3
Unfortunately, you are not alone on this, bro :(
--
Yao G.
ime/gregorian.html if
you want to have a small idea of what's implemented.
Oh, I almost forgot, the code is here: http://ideone.com/SCR34
Apologies for this tl;dr; wall of text. And I'm eagerly awaiting some
comments, critics and ideas to improve this work.
Thanks.
--
Yao G.
On Sun, 22 Aug 2010 18:43:45 -0500, Yao G. wrote:
[snip]
Sorry, this is the correct link: http://ideone.com/i3y9Y
--
Yao G.
On Sun, 22 Aug 2010 18:43:45 -0500, Yao G. wrote:
[snippity snip]
Damn! I did another mistake! Here's the code, I hope I don't make another
mistake :'(
http://ideone.com/QXJwa
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
is to read the source.
So, do you think that this is feasible? Or it's too much work for
something not so important. Maybe a DDOC Macro could be handy. I can
volunteer to do it.
--
Yao G.
And here's the starting point to conversion from and to ISO-8601 dates and
times:
http://ideone.com/aZEaL
This will be expanded as new date and time structures are implemented.
--
Yao G.
I forgot to add DayClock to get the local and UTC date:
http://ideone.com/SkKkP
(line 805)
--
Yao G.
TOC and -- most importantly -- indices!
Norbert
Maybe these:
- http://dsource.org/projects/phobos/browser/trunk/docsrc/
- http://dsource.org/projects/phobos/browser/trunk/docsrc/std.ddoc
--
Yao G.
y you justify being a pirate.
--
Yao G.
intf / writeln is perfectly fine, until you start to program in
Windows, where there's no command line to display the text. Here's where I
think a small logging library comes handy. I did a small one that logs to
a file, and a variant that display the log messages to a independent
window.
--
Yao G.
unning
a console app or a window app?
--
Yao G.
On Sat, 28 Aug 2010 13:44:34 -0500, BCS wrote:
If your looking for a Google lib to add/copy, do this one first:
http://google-gflags.googlecode.com/svn/trunk/doc/gflags.html
Isn't essentially what std.getopt does?
--
Yao G.
Entries in that list often don't contain normal bugs or additive
enhancements.
Bye,
bearophile
What stops you from creating patches for these bugs?
--
Yao G.
knowledge about exactly how dmd, druntime, and phobos
work to
be able to come up with appropriate fixes.
- Jonathan M Davis
Yeah. I was joking. Forgot to put the smile tho'. It was just that I found
funny when he asked Don to look those bugs and create patches.
--
Yao G.
27;just give up already'. Someone marked it
wontfix.
Why, hello there retard!
--
Yao G.
On Sat, 04 Sep 2010 12:55:58 -0500, Walter Bright
wrote:
Isn't it interesting that people keep inventing new audio formats and
fail to solve obvious fundamental problems with them, like providing
fields for things like artwork, lyrics, etc.?
http://www.id3.org/
--
Yao G.
ed a better module to manipulate XML files than
the one in std.xml.
--
Yao G.
gave up after a couple of hours. It's impossible. :(
--
Yao G.
On Thu, 16 Sep 2010 03:48:07 -0500, retard wrote:
Have you considered using the community driven doc gen? Was it 'dil' or
something?
Kandil. I know about it but I haven't tried it. I'll check if it supports
D2.
Thanks.
--
Yao G.
On Tue, 05 Oct 2010 04:11:18 -0500, dolive wrote:
2, templat + range subversion use habit, Lost the popularization base
sorry!
I don't understand this last point.
sorry!
--
Yao G.
my messages on that list.
I use it in my port of Boost date time library, to convert the overflow
from hours, to days. It's a simple, brain dead example, but maybe it can
be used as basis or inspiration for something more complex.
--
Yao G.
't
counted as a solution. If you were expecting a review, then please be
more specific next time!
I'm sorry. I tried to make a jocular remark. but it seems that I failed.
Maybe I forgot to add a smile or something.
--
Yao G.
Tango
Project (tango.foo.bar, tango.baz.bar, etc), then it's a D1 project. Tango
only works with D1.
Best,
Gianluigi
--
Yao G.
hen it's a D2 project.
Also. Check for imported modules, if you find modules from the Tango
Project (tango.foo.bar, tango.baz.bar, etc), then it's a D1 project.
Tango only works with D1.
I'm an idiot. Swap D1 for D2 in the above paragraph. Must. Not. Be.
Hungry. When. Posting.
--
Yao G.
I think that you meant D1. ;)
Yes. Sorry for the confusion. The guy ask a question and I give a
misdirection :(
--
Yao G.
sed to indicate that, for example, an event is cancelled
"until further notice" or something will be finished
"when it's done", etc.
--
Yao G.
o. It gets more sad if you look at his comments history and see
that like 80% of what he writes there, is just D bashing. At least he
should post with the same user name in both places :)
--
Yao G.
trivial to
do e.g. with the Linux version of zip." <-
http://www.reddit.com/r/programming/comments/9zqj0/the_state_of_d_programming_is_this_situation/c0f8wym
See the post above.
May I ask Your reddit nick? Couldn't find any Yao G. there.
I don't have one, but I'll create an account there pronto. Thanks for your
concern retard... err... I mean, eternium.
--
Yao G.
On Tue, 13 Apr 2010 19:29:24 -0400, Steven Schveighoffer
wrote:
Given that structs have become extremely powerful, and with the advent
of opDispatch, would it be possible to deprecate supporting COM via D
interfaces in favor of a library solution?
There are some crappy drawbacks for havi
On Tue, 13 Apr 2010 19:29:24 -0400, Steven Schveighoffer
wrote:
Given that structs have become extremely powerful, and with the advent
of opDispatch, would it be possible to deprecate supporting COM via D
interfaces in favor of a library solution?
There are some crappy drawbacks for havi
Hello retard, are you still conducting your "social experiment" in this
group?
I thought that you had given up!
On Sat, 08 May 2010 01:17:55 -0500, GirlProgrammer
wrote:
D is an exercise in futility.
D is melanoma.
D is melodrama.
D is a waste of time and effort.
D is vindication for Tom
mming
Language" is a major step in getting D accepted as a serious system
programming language. Maybe installation will improve and D will move
forward.
--- Vladimir
--
Vladimir G. Ivanovichttp://www.leonora.org
+1 650 450 4101 vladi...@acm.org
signature.asc
Description: OpenPGP digital signature
Hello,
Why does the following add an extra CR in front of the CRLF's
auto outf = new File("out.txt", "w");
outf.write("this\r\nis\r\na\r\ntest");
outf.close;
If I make the file binary
auto outf = new File("out.txt", "wb");
it works as expected.
I am using 2.065 and windows 7
Thanks,
Dave G
On Monday, 2 June 2014 at 14:27:45 UTC, Steven Schveighoffer
wrote:
On Mon, 02 Jun 2014 10:14:11 -0400, Dave G
wrote:
Hello,
Why does the following add an extra CR in front of the CRLF's
auto outf = new File("out.txt", "w");
outf.write("this\r\nis\r\na\r\ntest
You would have to ask Walter. Probably the best place is to ask
on the DMC forums.
See here: http://digitalmars.com/NewsGroup.html
-Steve
Will do. Thanks!
It's nice to see that all of the website's subdomains have SSL
certificates. However, I noticed an inconsistency:
dlang.org, forum.dlang.org, code.dlang.org, tour.dlang.org,
wiki.dlang.org all serve the same content over both http and
https.
http://blog.dlang.org and https://blog.dlang.org,
97 matches
Mail list logo