Re: dmd 1.073 and 2.058 release

2012-02-14 Thread Jimmy Cao
2012/2/14 Walter Bright http://www.digitalmars.com/d/**2.0/changelog.html Did you forget to mention the new std.net.curl module?

Re: I wrote A starting guide for Newbies

2012-02-11 Thread Jimmy Cao
2012/2/11 MattCodr > On Saturday, 11 February 2012 at 19:01:00 UTC, teo wrote: > >> Clicking on the link gives me: "Your browser must support javascript." >> I wanted to download and read the document and I definitely do not need >> their javascript... >> > > Well, you may send me an e-mail askin

Re: I wrote A starting guide for Newbies

2012-02-08 Thread Jimmy Cao
2012/2/8 MattCodr > I did my first revision on the tutorial and I changed a few things, > > Renamed as: "Part 1: Installing D + Vim configuration over Windows." > > Added a link to the Ali's D tutorial. > > I think this will make more sense now. Remembering that my intention with > this tutorial

Re: I wrote A starting guide for Newbies

2012-02-08 Thread Jimmy Cao
2012/2/8 Nick Sabalausky a@a.a > That relies on actually using Google's broken-ass "software", and getting > the worthless thing to even work in the first place: > > http://www.semitwist.com/download/img/shots/GoogleDocs.png > > > > Oh! You are getting that because your browser isn't supporting

Re: D:YAML 0.1

2011-08-16 Thread Jimmy Cao
This is great! With std.xml and std.json being somewhat dysfunctional, it's nice to have a YAML library. On Tue, Aug 16, 2011 at 1:58 PM, Jacob Carlborg wrote: > On 2011-08-16 20:13, Kiith-Sa wrote: > >> D:YAML is a YAML parser library for D. >> >> It is mostly compliant with the YAML 1.1 spec,

Re: Google Code University needs D tutorial

2011-06-24 Thread Jimmy Cao
Well, I don't have a good D tutorial. I think the best tutorial out there is The D Programming Language book (of course we can't post that one to the Google Code University). I've got an idea, what if someone teaches D programming at http://ureddit.com/? It takes an enormous amount of time and de

Re: Programming Windows D Examples are now Online!

2011-06-24 Thread Jimmy Cao
On Fri, Jun 24, 2011 at 3:03 PM, Kagamin wrote: > Jimmy Cao Wrote: > > > No, it writes to stdout which (in this case) is line-buffered. Whenever > > there's a newline character, it is supposed to flush. > > There're no characters in binary data. This is low-le

Re: Chinese translation for DMD's document

2011-06-24 Thread Jimmy Cao
Very well done. I'm sure you are allowed to offer them by HTML directly. “太好了,正是我所要的,编程时可以用 D 语言啦。” -- Segfault 这其实不是很好的翻译。这个引用原来是个笑话。在学校里学程序的时,老师会打分数 - A, B, C, D, 或 F(等于没考过)。 D 是比较最低的分数,所以他说 - “Great", 不是"太好了” 的意思,而是俏皮的说法。 我觉得最好不用翻译那句。 On Fri, Jun 24, 2011 at 9:51 AM, zhang wrote: > In t

Re: Programming Windows D Examples are now Online!

2011-06-24 Thread Jimmy Cao
On Fri, Jun 24, 2011 at 7:45 AM, Kagamin wrote: > Jimmy Cao Wrote: > > > void main() > > { > > std.c.stdio.setvbuf(stdout.getFP, null, std.c.stdio._IOLBF, 100); > > string mystr = "Hello\n"; > > fwrite(mystr.ptr, mystr[0].sizeof, mystr.l

Re: Programming Windows D Examples are now Online!

2011-06-23 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 3:59 PM, Walter Bright wrote: > On 6/23/2011 1:30 PM, Jimmy Cao wrote: > >> stdout.setvbuf(100, _IOLBUF); >> > > > You're mixing up D and C stdio. Try using std.c.stdio.setvbuf(). > > It gives me the same result. import st

Re: Programming Windows D Examples are now Online!

2011-06-23 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 3:16 PM, Walter Bright wrote: > On 6/23/2011 1:03 PM, Jimmy Cao wrote: > >> On Thu, Jun 23, 2011 at 2:52 PM, Walter Bright < >> newshou...@digitalmars.com >> <mailto:newshound2@**digitalmars.com >> >> wrote: >> >>On

Re: Programming Windows D Examples are now Online!

2011-06-23 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 2:52 PM, Walter Bright wrote: > On 6/23/2011 11:48 AM, Jimmy Cao wrote: > >> But that's not possible (to set it to line-buffering) on Windows, right? >> > > Sure it is, using the usual C functions. This is not a Windows thing, it's >

Re: Programming Windows D Examples are now Online!

2011-06-23 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 12:46 PM, Walter Bright wrote: > On 6/23/2011 4:27 AM, Jimmy Cao wrote: > >> Also, there's nothing in the C standard that says, stdout must be buffered >> this >> way or that way or even buffered at all. I believe you can safely assume >&

Re: Programming Windows D Examples are now Online!

2011-06-23 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 6:06 AM, Kagamin wrote: > Jimmy Cao Wrote: > > > I don't think console output is unbuffered. I think it's line-buffered > by > > default. Although it does differ and vary; I think on Windows > > std.stdio.write("hello\n")

Re: Programming Windows D Examples are now Online!

2011-06-23 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 2:56 AM, Kagamin wrote: > Andrej Mitrovic Wrote: > > > I just ran into some odd stdout corruption issue while doing parallel > > builds, take a look: > > > > http://i.imgur.com/pgC4o.png > > > > I've tried building again and it was gone, it looks like an appearance > > of

Re: Programming Windows D Examples are now Online!

2011-06-22 Thread Jimmy Cao
On Thu, Jun 23, 2011 at 12:25 AM, Andrej Mitrovic < andrej.mitrov...@gmail.com> wrote: > > Looks like some kind of file handling bug in Python? > On Thu, Jun 23, 2011 at 12:26 AM, Andrej Mitrovic < andrej.mitrov...@gmail.com> wrote: > Eh what the heck now it works again. LOL. Ok, well thanks bea

Re: Programming Windows D Examples are now Online!

2011-06-22 Thread Jimmy Cao
On Wed, Jun 22, 2011 at 11:23 PM, Andrej Mitrovic < andrej.mitrov...@gmail.com> wrote: > What am I doing wrong here? > > f1 = open('Drum.d', 'r') > lines = f1.readlines() > f1.close() > > f2 = open('Drum.w', 'w') > for line in lines: > #~ print(patt.sub(replacer, line))# This replaces the pa

Re: Programming Windows D Examples are now Online!

2011-06-21 Thread Jimmy Cao
On Tue, Jun 21, 2011 at 4:29 PM, Trass3r wrote: > Am 21.06.2011, 20:32 Uhr, schrieb Andrej Mitrovic < > andrej.mitrov...@gmail.com>: > > I don't know whether it is planned to incorporate the WinAPI bindings >> into Phobos/Druntime, there's at least 2.5 megs of code in prototypes >> and I'm not s

Re: boxen - an audio player written in D

2011-01-20 Thread Jimmy Cao
This looks really cool.

Re: Visual D 0.3.20 released

2010-12-31 Thread Jimmy Cao
This is nice, thanks for the hard work. This is superb IDE; I should start using this to debug these Irrlicht programs, since I'm already using VS2010 to compile the C++ portion of the SWIG wrapper.

Re: dmd 1.066 and 2.051 release

2010-12-21 Thread Jimmy Cao
Thanks for all the hard work. Perhaps take a break to see the eclipse? On Tue, Dec 21, 2010 at 2:59 AM, Walter Bright wrote: > Linky: > > http://www.digitalmars.com/d/2.0/phobos/std_mathspecial.html >

Re: Announcing: D support in SWIG

2010-12-13 Thread Jimmy Cao
Take a look: http://irrlichtd.codeplex.com/ I think this is easy and fun to do, so I'll work on it in my spare time.

Re: Announcing: D support in SWIG

2010-12-09 Thread Jimmy Cao
On Thu, Dec 9, 2010 at 8:49 PM, BLS wrote: > > Whatever it is, or will be, I don't care. It is just that IMHO we need a > discussion platform. > Definitely also IRC. The usual #d for now, then maybe #d.swig if there is more interest? (FreeNode)

Re: Announcing: D support in SWIG

2010-12-08 Thread Jimmy Cao
I've been trying to wrap Irrlicht with this (on Windows) lately. Things are working well. On Wed, Dec 8, 2010 at 1:35 PM, Andrej Mitrovic wrote: > Hey hey, good news, got it all working now. > > I did a configure with: > --with-d2-compiler=C:\DMD\dmd2\windows\bin\dmd.exe and make to build > swig

Re: DDT 0.4.0 released (formerly "Mmrnmhrm")

2010-11-20 Thread Jimmy Cao
Very nice! Although I would really like Issue #17 to be fixed. So that you can write ANSI style code. On Sat, Nov 20, 2010 at 11:43 AM, Fawzi Mohamed wrote: > by the way DDT for me is >http://www.allinea.com/?page=48 > i.e. a distributed debugger > > On 20-nov-10, at 17:54, Jordi wrote:

Re: New home page

2010-10-04 Thread Jimmy Cao
I think so, too. Although this background: http://d-programming-language.org/images/gradient-red.jpg looks slightly pixelated to me. On Mon, Oct 4, 2010 at 5:14 PM, Brian Hay wrote: > > I'd suggest (at least in the interim) using the > h