Re: [deimos] [tutorial] [rfc] How to set up a git repository to simplify keeping bindings up to date

2011-11-15 Thread Dejan Lekic
I believe once Deimos will mature in time, especially if all authors of Deimos projects gather around and do some organisation...

Re: [deimos] [tutorial] [rfc] How to set up a git repository to simplify keeping bindings up to date

2011-11-15 Thread Dejan Lekic
Johannes Pfau wrote: This explains a special repository setup which allows to merge changes made in C headers into the correct place in the D import files automatically. This new, merged parts still need to be translated into D code, but the automatic merge makes sure you don't miss a change

Re: [deimos] [tutorial] [rfc] How to set up a git repository to simplify keeping bindings up to date

2011-11-15 Thread Dejan Lekic
Vladimir Panteleev wrote: On Fri, 11 Nov 2011 22:43:18 +0200, Johannes Pfau s...@example.com wrote: (Yes, I know there's a typo in the screenshots (daeamon) and the screenshots don't match the text 100% as they were taken before the text was written) For the screenshots, you have used a

Concurrency and parallelism panel

2011-11-15 Thread Andrei Alexandrescu
Includes discussion on ranges. http://www.reddit.com/r/programming/comments/md9te/concurrency_and_parallelism_panel_at_c_and_beyond/ Andrei

Re: AI Challenge - Ants

2011-11-15 Thread Peter Alexander
On 30/10/11 4:30 PM, Andrei Alexandrescu wrote: On 10/30/11 3:43 AM, Max Wolter wrote: Ola. Well, my A* algorithm is already working very nicely - and imo there isn't any problem-specific optimization left to implement other than the data structures holding the nodes themselves. A* is fairly

Re: [D-Programming-Deimos] Review process?

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 06:06, Walter Bright wrote: On 11/14/2011 5:54 AM, Jude Young wrote: Ok, I think that the ncurses bindings are about ready. Just something to remember: ncurses is HUGE. The header files, too? There are probably hidden bugs somewhere. So there are a few questions that I'd

Re: Website message overhaul

2011-11-15 Thread Andrea Fontana
I agree. Il giorno lun, 14/11/2011 alle 13.52 -0800, Walter Bright ha scritto: On 11/14/2011 11:41 AM, Michel Fortin wrote: - Native efficiency Most (nearly all?) new languages are targeted at a VM. Being native is clearly a distinguishing feature of D.

Re: Website message overhaul

2011-11-15 Thread Peter Alexander
On 15/11/11 3:40 AM, Walter Bright wrote: When people first look at D, they need a reason to want to look further, meaning that there needs to be something there that immediately distinguishes D from other languages - something that will pique their curiosity. I think we need a short

Re: Website message overhaul

2011-11-15 Thread Paulo Pinto
Hi, then following you description Go is also multiparadigm. Go: imperative, functional, component programming Walter Bright newshou...@digitalmars.com wrote in message news:j9t7n4$jjf$1...@digitalmars.com... On 11/14/2011 11:50 PM, Jacob Carlborg wrote: What would be necessary for you to

Re: Website message overhaul

2011-11-15 Thread Walter Bright
On 11/14/2011 11:50 PM, Jacob Carlborg wrote: What would be necessary for you to call a language multiparadigm? If using multiple paradigms is reasonably natural and convenient in that language. For example: C: imperative C++: imperative, OOP, metaprogramming Java: OOP D: imperative, OOP,

Re: Website message overhaul

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 09:25, Walter Bright wrote: On 11/14/2011 11:50 PM, Jacob Carlborg wrote: What would be necessary for you to call a language multiparadigm? If using multiple paradigms is reasonably natural and convenient in that language. For example: C: imperative C++: imperative, OOP,

Re: Website message overhaul

2011-11-15 Thread Walter Bright
On 11/15/2011 12:28 AM, Paulo Pinto wrote: then following you description Go is also multiparadigm. Go: imperative, functional, component programming Since Go does not offer function purity or data immutability, its support for functional programming is lacking. functional programming is a

Re: [D-Programming-Deimos] Review process?

2011-11-15 Thread Jude Young
On Tue 15 Nov 2011 01:58:21 AM CST, Jacob Carlborg wrote: On 2011-11-15 06:06, Walter Bright wrote: On 11/14/2011 5:54 AM, Jude Young wrote: Ok, I think that the ncurses bindings are about ready. Just something to remember: ncurses is HUGE. The header files, too? There are probably hidden

Re: Website message overhaul

2011-11-15 Thread Walter Bright
On 11/15/2011 12:43 AM, Jacob Carlborg wrote: If you would consider at least two paradigms as multiparadigm then I would say that a lot of languages are multiparadigm. We could bikeshed forever what is a paradigm and what isn't, and how many constitutes multi, etc. But whatever color one's

Re: Website message overhaul

2011-11-15 Thread Vladimir Panteleev
On Tue, 15 Nov 2011 06:50:54 +0200, Adam D. Ruppe destructiona...@gmail.com wrote: Vladimir Panteleev wrote: How did you do the sandboxing? I used setrlimit() in a single purpose VM. What VM software did you use? -- Best regards, Vladimir

Re: Website message overhaul

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 10:16, Walter Bright wrote: On 11/15/2011 12:43 AM, Jacob Carlborg wrote: If you would consider at least two paradigms as multiparadigm then I would say that a lot of languages are multiparadigm. We could bikeshed forever what is a paradigm and what isn't, and how many

Re: Website message overhaul

2011-11-15 Thread Paulo Pinto
Hi, even if it is not enforced, one can write pure like functions if one so wishes and the lambda functions do help, even if they are not proper closures. Personally I consider component programming, the concept to programmer against interface types, as Go offers or the COM/Taligent

Re: A little Problem translating a header file.

2011-11-15 Thread Dejan Lekic
There are two bindings to NCurses already. My one, dcurses, and another one, ycurses. I populate acs in a module constructor. Maybe not the best idea, but works.

Re: Website message overhaul

2011-11-15 Thread Walter Bright
On 11/15/2011 1:55 AM, Paulo Pinto wrote: even if it is not enforced, one can write pure like functions if one so wishes and the lambda functions do help, even if they are not proper closures. You can also do closures in C.

Re: A little Problem translating a header file.

2011-11-15 Thread Jude Young
On Tue 15 Nov 2011 04:27:57 AM CST, Dejan Lekic wrote: There are two bindings to NCurses already. My one, dcurses, and another one, ycurses. I populate acs in a module constructor. Maybe not the best idea, but works. I'm one of the maintainers of ycurses. If you check curses.d in Deimos,

Re: A little Problem translating a header file.

2011-11-15 Thread Jude Young
Your name. Just in case you were wondering. https://github.com/1100110/ncurses/blob/master/curses.d#L60

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what* D is. There needs to be some sort of D at a glance that explains what the language is without going into details. The D programming language. Modern convenience. Multi-paradigm

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 1:55 AM, Paulo Pinto wrote: Hi, even if it is not enforced, one can write pure like functions if one so wishes and the lambda functions do help, even if they are not proper closures. You can do a lot of things that are not enforced. That doesn't mean the language supports it!

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 1:33 AM, Jacob Carlborg wrote: On 2011-11-15 10:16, Walter Bright wrote: But whatever color one's shed is painted, it's pretty clear that D supports an unusually large number of paradigms for a programming language. It doesn't start from an idea that everything is an object. I

Re: Website message overhaul

2011-11-15 Thread Jeff Nowakowski
On 11/14/2011 10:55 PM, Andrei Alexandrescu wrote: Statements and views can be bent in various ways. For example, I think it would be tenuous to bill Java as multi-paradigm. Of course you could if you really wanted, but you'd go against the grain. I don't see why C++ is given a pass for

Re: Website message overhaul

2011-11-15 Thread Nick Sabalausky
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:j9tpsf$1k7f$1...@digitalmars.com... Java does not allow one to write a free function (which stands in the way of it being imperative) For all I know it's possible I might not be technically correct, but I've always

Re: Website message overhaul

2011-11-15 Thread Nick Sabalausky
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:j9tpa6$1icu$1...@digitalmars.com... On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what* D is. There needs to be some sort of D at a glance that explains

Re: Website message overhaul

2011-11-15 Thread Nick Sabalausky
Jacob Carlborg d...@me.com wrote in message news:j9t5gq$88e$1...@digitalmars.com... On 2011-11-15 03:18, Kapps wrote: There should be a very noticeable Download Now button on the page itself, without having to look at the sidebar. Every time I go to download DMD, it is always annoying trying

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 5:43 AM, Jeff Nowakowski wrote: On 11/14/2011 10:55 PM, Andrei Alexandrescu wrote: Statements and views can be bent in various ways. For example, I think it would be tenuous to bill Java as multi-paradigm. Of course you could if you really wanted, but you'd go against the grain.

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 5:54 AM, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:j9tpsf$1k7f$1...@digitalmars.com... Java does not allow one to write a free function (which stands in the way of it being imperative) For all I know it's possible I might not

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 6:09 AM, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:j9tpa6$1icu$1...@digitalmars.com... On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what* D is. There needs to be

Re: A little Problem translating a header file.

2011-11-15 Thread Dejan Lekic
Jude Young wrote: On Tue 15 Nov 2011 04:27:57 AM CST, Dejan Lekic wrote: There are two bindings to NCurses already. My one, dcurses, and another one, ycurses. I populate acs in a module constructor. Maybe not the best idea, but works. I'm one of the maintainers of ycurses. If you check

Re: Website message overhaul

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 14:35, Andrei Alexandrescu wrote: On 11/15/11 1:33 AM, Jacob Carlborg wrote: On 2011-11-15 10:16, Walter Bright wrote: But whatever color one's shed is painted, it's pretty clear that D supports an unusually large number of paradigms for a programming language. It doesn't start

Re: Website message overhaul

2011-11-15 Thread Adam D. Ruppe
Vladimir Panteleev wrote: What VM software did you use? VMWare on the first server. My next setup is going to use kvm and qemu.

Re: Website message overhaul

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 15:23, Nick Sabalausky wrote: Jacob Carlborgd...@me.com wrote in message news:j9t5gq$88e$1...@digitalmars.com... On 2011-11-15 03:18, Kapps wrote: There should be a very noticeable Download Now button on the page itself, without having to look at the sidebar. Every time I go to

Re: Website message overhaul

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 15:09, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:j9tpa6$1icu$1...@digitalmars.com... On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what* D is. There needs to be

[OT] DVM (Was: Website message overhaul)

2011-11-15 Thread Nick Sabalausky
Jacob Carlborg d...@me.com wrote in message news:j9tueg$1rlo$3...@digitalmars.com... On 2011-11-15 15:23, Nick Sabalausky wrote: DVM really should be officially sanctioned and prominently recommended on d-p-l.org. I think the only big improvement DVM could really use at this point is a

Re: A little Problem translating a header file.

2011-11-15 Thread Jude Young
On Tue 15 Nov 2011 08:37:37 AM CST, Dejan Lekic wrote: Jude Young wrote: On Tue 15 Nov 2011 04:27:57 AM CST, Dejan Lekic wrote: There are two bindings to NCurses already. My one, dcurses, and another one, ycurses. I populate acs in a module constructor. Maybe not the best idea, but works.

Re: Website message overhaul

2011-11-15 Thread Jeff Nowakowski
On 11/15/2011 09:31 AM, Andrei Alexandrescu wrote: On 11/15/11 5:43 AM, Jeff Nowakowski wrote: I don't see why C++ is given a pass for multi-paradigm and Java isn't. Want procedures? Java has static functions. That would mean allowed, not supported. Java explicitly supports static

Re: Website message overhaul

2011-11-15 Thread Vladimir Panteleev
On Tue, 15 Nov 2011 16:46:37 +0200, Adam D. Ruppe destructiona...@gmail.com wrote: Vladimir Panteleev wrote: What VM software did you use? VMWare on the first server. My next setup is going to use kvm and qemu. I've played with UML today. It's nice, and fast enough to do a boot +

Re: Website message overhaul

2011-11-15 Thread Marco Leise
Am 15.11.2011, 14:35 Uhr, schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org: Java does not allow one to write a free function (which stands in the way of it being imperative) As long as one doesn't try to do 'functional' programming, free functions in Java can often be

Re: Website message overhaul

2011-11-15 Thread Ary Manzana
On 11/13/11 10:50 PM, Andrei Alexandrescu wrote: Walter and I have been working on the website for a while. We want to crystallize a clear message of what the D programming language is. Please take a look at http://d-programming-language.org/new/. The work is content-only (no significant

Re: Website message overhaul

2011-11-15 Thread Marco Leise
Am 15.11.2011, 04:43 Uhr, schrieb Walter Bright newshou...@digitalmars.com: I am surprised at the negative reaction, because when I've done presentations about D revolving around it being multi-paradigm, the reaction was always positive. Reading between the lines, it is probably just the

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 8:13 AM, Jeff Nowakowski wrote: On 11/15/2011 09:31 AM, Andrei Alexandrescu wrote: It's true that I generally post negative critique, and that's because I tend to post when things get my dander up enough. That doesn't mean the message is frivolous or wrong. If I wanted to snipe like

Re: Website message overhaul

2011-11-15 Thread so
On Tue, 15 Nov 2011 16:09:38 +0200, Nick Sabalausky a@a.a wrote: Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:j9tpa6$1icu$1...@digitalmars.com... On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what*

Re: Website message overhaul

2011-11-15 Thread Adam D. Ruppe
Just to see what I'd look like, I took my nntp.d and imported d-programming-language.org's html skeleton and css into it. This is the result: http://arsdnet.net/d-web-site/nntp/get-thread?newsgroup=digitalmars.DmessageId=%3Cj9ps5n%2430nq%241%40digitalmars.com%3Eordering=ByDate That doesn't

Re: Website message overhaul

2011-11-15 Thread Jeff Nowakowski
On 11/15/2011 12:59 PM, Andrei Alexandrescu wrote: Would be great to also post when you feel you could help with something. My criticism is intended to be helpful, just like it is when other people have criticized the website. You even changed your mind about fonts and layout on the website

Re: Website message overhaul

2011-11-15 Thread Miles Stoudenmire
Would it be possible to add little plus signs to the See example links? I was surprised when I clicked one because I expected it to open a new page, not pop open a block of code below. On 15 November 2011 09:59, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On 11/15/11 8:13 AM, Jeff

Re: Website message overhaul

2011-11-15 Thread Timon Gehr
On 11/15/2011 05:13 PM, Jeff Nowakowski wrote: He also said: +1. Gets us rid of the buzzy 'Multi-paradigm' in the title too. He's obviously against it, but was willing to let it slide. Well, I am not strictly against it. It is as I wrote in that other post, if we can find a better, maybe

Re: A little Problem translating a header file.

2011-11-15 Thread Kagamin
Jude Young Wrote: addch_map(ubyte c) { addch(acs_map[c]); } good idea, but addch is one of a dozen 'write a character to the screen' type functions. It would take a couple of days to find all of them and make sure that they are working right. struct SACS { ubyte value; ubyte acs(){

Re: A little Problem translating a header file.

2011-11-15 Thread Kagamin
struct ACS { static ubyte ULCORNER() { return acs_map['k']; } } now can call without parentheses: addch(ACS.ULCORNER); ideally this function should be inlined, try to check it.

Re: Website message overhaul

2011-11-15 Thread Peter Alexander
On 15/11/11 1:25 PM, Andrei Alexandrescu wrote: On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what* D is. There needs to be some sort of D at a glance that explains what the language is without going into details. The D

Re: Website message overhaul

2011-11-15 Thread Peter Alexander
On 15/11/11 7:30 PM, Timon Gehr wrote: On 11/15/2011 05:13 PM, Jeff Nowakowski wrote: He also said: +1. Gets us rid of the buzzy 'Multi-paradigm' in the title too. He's obviously against it, but was willing to let it slide. Well, I am not strictly against it. It is as I wrote in that other

Re: Website message overhaul

2011-11-15 Thread Robert Clipsham
On 15/11/2011 07:26, Jacob Carlborg wrote: As I'm already a D user I'm looking first for Library reference and Language reference. I mean, if I am a D user I most likely already have a compiler installed and doesn't have to look for that as much as the points. I used an ordered list because I

Re: Website message overhaul

2011-11-15 Thread RivenTheMage
If using multiple paradigms is reasonably natural and convenient in that language. D: imperative, OOP, metaprogramming, functional, assembler, script Zero-paradigm? In the sense that the D language supports almost all popular paradigms.

Re: Website message overhaul

2011-11-15 Thread Nick Sabalausky
Peter Alexander peter.alexander...@gmail.com wrote in message news:j9uftl$v0q$1...@digitalmars.com... On 15/11/11 7:30 PM, Timon Gehr wrote: On 11/15/2011 05:13 PM, Jeff Nowakowski wrote: He also said: +1. Gets us rid of the buzzy 'Multi-paradigm' in the title too. He's obviously against it,

Curl wrapper review

2011-11-15 Thread Jonas Drewsen
Hi, After all the comments from last review I've refactored the curl wrapper and it is ready for a new review. David Nadlinger was handling the last review so I guess it would make sense if he run this one as well if he wants to. Code:

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 12:01 PM, RivenTheMage wrote: If using multiple paradigms is reasonably natural and convenient in that language. D: imperative, OOP, metaprogramming, functional, assembler, script Zero-paradigm? In the sense that the D language supports almost all popular paradigms. That's quite

Re: [OT] DVM (Was: Website message overhaul)

2011-11-15 Thread Jacob Carlborg
On 2011-11-15 15:58, Nick Sabalausky wrote: Jacob Carlborgd...@me.com wrote in message news:j9tueg$1rlo$3...@digitalmars.com... On 2011-11-15 15:23, Nick Sabalausky wrote: DVM really should be officially sanctioned and prominently recommended on d-p-l.org. I think the only big improvement

Re: Website message overhaul

2011-11-15 Thread Daniel Gibson
Am 15.11.2011 02:29, schrieb Jonathan M Davis: I think that C++ is really the only language that I've heard termed multi- paradigm (though most languages do allow for multiple paradigms on some level, even if they tend to focus heavily on one), and D definitely deserves that designation as well.

Re: Website message overhaul

2011-11-15 Thread Peter Alexander
On 15/11/11 9:31 PM, Daniel Gibson wrote: Am 15.11.2011 02:29, schrieb Jonathan M Davis: I think that C++ is really the only language that I've heard termed multi- paradigm (though most languages do allow for multiple paradigms on some level, even if they tend to focus heavily on one), and D

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 1:31 PM, Daniel Gibson wrote: Am 15.11.2011 02:29, schrieb Jonathan M Davis: I think that C++ is really the only language that I've heard termed multi- paradigm (though most languages do allow for multiple paradigms on some level, even if they tend to focus heavily on one), and D

Re: Translation of C struct to D

2011-11-15 Thread Michael Kremser
Jerry thought it would be a good idea to write me on 15.11.2011 05:01 GMT +0100 (CET): This looks like you don't have druntime or phobos linked into your module code. My Makefile looks as follows: # D compiler DC := gdc # D objects DOBJS := dinterface.o ifneq ($(MAKE_KBUILD),) # kbuild

Re: Website message overhaul

2011-11-15 Thread Walter Bright
On 11/15/2011 1:31 PM, Daniel Gibson wrote: Scala is also termed a multi-paradigm programming language, see http://en.wikipedia.org/wiki/Scala_(programming_language) Scala's multi-paradigms are OOP and functional. Yet it doesn't support function purity or immutable data. Having a syntax for

Re: Website message overhaul

2011-11-15 Thread Walter Bright
On 11/15/2011 1:52 PM, Peter Alexander wrote: But wait, there's more! http://en.wikipedia.org/wiki/List_of_multi-paradigm_programming_languages I think those characterizations are rather generous. Just try and make a data structure that is not OOP in Java.

Re: Website message overhaul

2011-11-15 Thread Daniel Gibson
Am 15.11.2011 22:54, schrieb Walter Bright: On 11/15/2011 1:31 PM, Daniel Gibson wrote: Scala is also termed a multi-paradigm programming language, see http://en.wikipedia.org/wiki/Scala_(programming_language) Scala's multi-paradigms are OOP and functional. Yet it doesn't support function

Re: Website message overhaul

2011-11-15 Thread Daniel Gibson
Am 15.11.2011 21:11, schrieb Nick Sabalausky: Peter Alexanderpeter.alexander...@gmail.com wrote in message news:j9uftl$v0q$1...@digitalmars.com... On 15/11/11 7:30 PM, Timon Gehr wrote: On 11/15/2011 05:13 PM, Jeff Nowakowski wrote: He also said: +1. Gets us rid of the buzzy 'Multi-paradigm'

Re: Website message overhaul

2011-11-15 Thread Daniel Gibson
Am 15.11.2011 09:37, schrieb Peter Alexander: A quick example (could be better) D is a multi-paradigm, type-safe, natively compiled programming language with a focus on pragmatism. D programs run as fast as those written in C or C++ without the tedium of manual memory management, verbose

Re: Website message overhaul

2011-11-15 Thread Timon Gehr
On 11/15/2011 11:16 PM, Daniel Gibson wrote: Am 15.11.2011 22:54, schrieb Walter Bright: On 11/15/2011 1:31 PM, Daniel Gibson wrote: Scala is also termed a multi-paradigm programming language, see http://en.wikipedia.org/wiki/Scala_(programming_language) Scala's multi-paradigms are OOP and

Re: Translation of C struct to D

2011-11-15 Thread Bernard Helyer
kbuild is almost certainly not linking in phobos.

Re: Curl wrapper review

2011-11-15 Thread Bernard Helyer
I'll just post my thoughts here while they're fresh. It looks good. The documentation is what I'd expect from a Phobos module, as is the naming convention. auto _basicFtp(T)(const(char)[] url, const(void)[] sendData, Ftp client) If you don't want people using it, shouldn't it be marked private

Re: Website message overhaul

2011-11-15 Thread Max Klyga
On 2011-11-16 00:54:17 +0300, Walter Bright said: On 11/15/2011 1:31 PM, Daniel Gibson wrote: Scala is also termed a multi-paradigm programming language, see http://en.wikipedia.org/wiki/Scala_(programming_language) Scala's multi-paradigms are OOP and functional. Yet it doesn't support

Re: Website message overhaul

2011-11-15 Thread Jeff Nowakowski
On 11/15/2011 04:54 PM, Walter Bright wrote: Scala's multi-paradigms are OOP and functional. Yet it doesn't support function purity or immutable data. Having a syntax for lambdas doesn't make a language functional. I know few people share my opinion about that, but it seems that functional is

Continuous Merging For GDC and LDC?

2011-11-15 Thread dsimcha
How does the merging process for new Phobos/druntime/DMD front ends work w.r.t. GDC and LDC? To what extent is it automated? If it's mostly automated except when things go wrong (or could be made so), we should set up a server somewhere (maybe on one of the DMD tester boxes that's

Re: Curl wrapper review

2011-11-15 Thread David Nadlinger
Hi Jonas, great to see that the code is ready for a second round – the sooner we get something like this into Phobos, the better. However, currently I can barely manage to spare some time for D related projects, and there are other things I'd really like to finish soon (tracking yet another

Re: Translation of C struct to D

2011-11-15 Thread Iain Buclaw
On 14 November 2011 20:54, Michael Kremser mkspamx-use...@yahoo.de wrote: Hi! I currently try to create a simple linux driver (for test purposes) just like in [1] in D based on [2]. The main difficulty is to call register_chrdev. It expects an argument fops of type file_operations which can

Re: Continuous Merging For GDC and LDC?

2011-11-15 Thread Iain Buclaw
On 15 November 2011 23:21, dsimcha dsim...@yahoo.com wrote: How does the merging process for new Phobos/druntime/DMD front ends work w.r.t. GDC and LDC?  To what extent is it automated?  If it's mostly automated except when things go wrong (or could be made so), we should set up a server

Re: A little Problem translating a header file.

2011-11-15 Thread Jude Young
stupid mail client. why did you send that? I fail. So. close...

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 2:41 PM, Daniel Gibson wrote: Am 15.11.2011 09:37, schrieb Peter Alexander: A quick example (could be better) D is a multi-paradigm, type-safe, natively compiled programming language with a focus on pragmatism. D programs run as fast as those written in C or C++ without the tedium

Re: Website message overhaul

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 11:51 AM, Peter Alexander wrote: On 15/11/11 1:25 PM, Andrei Alexandrescu wrote: On 11/15/11 12:37 AM, Peter Alexander wrote: The current site is a wall of text that takes too long to tell me *what* D is. There needs to be some sort of D at a glance that explains what the language

Re: Website message overhaul

2011-11-15 Thread Jude Young
On Tue 15 Nov 2011 07:07:11 PM CST, Andrei Alexandrescu wrote: On 11/15/11 2:41 PM, Daniel Gibson wrote: Am 15.11.2011 09:37, schrieb Peter Alexander: A quick example (could be better) D is a multi-paradigm, type-safe, natively compiled programming language with a focus on pragmatism. D

Re: Curl wrapper review

2011-11-15 Thread Sam Hu
Jonas Drewsen Wrote: Hi, After all the comments from last review I've refactored the curl wrapper and it is ready for a new review. David Nadlinger was handling the last review so I guess it would make sense if he run this one as well if he wants to. Code:

newsgroup web viewer

2011-11-15 Thread Adam D. Ruppe
I've complained about the godawful web viewers for the newsgroup before, and wrote a little program to do a better job. But, I got distracted and didn't quite finish it. I didn't like how it looked primarily. Today, I dropped it into the skeleton of d-programming-language.org and now I pretty

Re: newsgroup web viewer

2011-11-15 Thread Walter Bright
On 11/15/2011 6:51 PM, Adam D. Ruppe wrote: I've complained about the godawful web viewers for the newsgroup before, and wrote a little program to do a better job. But, I got distracted and didn't quite finish it. I didn't like how it looked primarily. Today, I dropped it into the skeleton of

Re: newsgroup web viewer

2011-11-15 Thread Trass3r
I've complained about the godawful web viewers for the newsgroup before, and wrote a little program to do a better job. Yeah that pnews one is real crappy, http://www.digitalmars.com/webnews/newsgroups.php is nicer and works fine for me the few times I need a web viewer.

Re: newsgroup web viewer

2011-11-15 Thread Adam D. Ruppe
Walter Bright wrote: There's also the one I wrote: That's not bad. It's the one under HTTP on the listing that I hate. http://www.digitalmars.com/pnews/indexing.php?server=news.digitalmars.comgroup=digitalmars.D It usually doesn't even load anymore. But neither yours nor mine allow posting.

Re: newsgroup web viewer

2011-11-15 Thread Adam D. Ruppe
Trass3r Wrote: http://www.digitalmars.com/webnews/newsgroups.php is nicer and works fine for me the few times I need a web viewer. Oh, I keep forgetting this one exists! Can we get this linked from the main newsgroups page at least? A threaded view is a must have :) Change the ordering to

Array slice assign syntax

2011-11-15 Thread bearophile
The Bugzilla issues that I really care about is a not an useless long list, it's about fifteen items long, and this post is about one of them. I think current array slice assign syntax is a bit messy, and I think this should be addressed. Kenji Hara has recently written a very nice program

Re: Review of Jesse Phillips's CSV Parser

2011-11-15 Thread Jesse Phillips
On Sat, 12 Nov 2011 00:21:55 -0500, Robert Jacques wrote: On Thu, 10 Nov 2011 22:17:10 -0500, Jesse Phillips jessekphillip...@gmail.com wrote: On Mon, 07 Nov 2011 23:28:20 -0500, Robert Jacques wrote: On Sun, 06 Nov 2011 19:00:42 -0500, Jesse Phillips jessekphillip...@gmail.com wrote:

Re: newsgroup web viewer

2011-11-15 Thread Andrei Alexandrescu
On 11/15/11 6:51 PM, Adam D. Ruppe wrote: I've complained about the godawful web viewers for the newsgroup before, and wrote a little program to do a better job. But, I got distracted and didn't quite finish it. I didn't like how it looked primarily. Today, I dropped it into the skeleton of

Re: Review of Jesse Phillips's CSV Parser

2011-11-15 Thread Robert Jacques
On Tue, 15 Nov 2011 22:30:51 -0500, Jesse Phillips jessekphillip...@gmail.com wrote: On Sat, 12 Nov 2011 00:21:55 -0500, Robert Jacques wrote: On Thu, 10 Nov 2011 22:17:10 -0500, Jesse Phillips jessekphillip...@gmail.com wrote: On Mon, 07 Nov 2011 23:28:20 -0500, Robert Jacques wrote: On

Re: Continuous Merging For GDC and LDC?

2011-11-15 Thread bcs
On 11/15/2011 03:40 PM, Iain Buclaw wrote: On 15 November 2011 23:21, dsimchadsim...@yahoo.com wrote: How does the merging process for new Phobos/druntime/DMD front ends work w.r.t. GDC and LDC? To what extent is it automated? If it's mostly automated except when things go wrong (or could be

Re: newsgroup web viewer

2011-11-15 Thread Adam D. Ruppe
Andrei Alexandrescu Wrote: If you could package that in an easy-to-embed component, I'll work it into the homepage. I have that written for that old site concept http://arsdnet.net/d-web-site/ What's easy to embed though? An iframe might be easy to drop in, but then you won't have easy css

nan or -nan?

2011-11-15 Thread Ali Çehreli
Some floating point operations produce .nan: import std.stdio; void main() { double zero = 0; double infinity = double.infinity; writeln(any expression with nan: , double.nan + 1); writeln(zero / zero: , zero / zero); writeln(zero x infinity: , zero *

Re: newsgroup web viewer

2011-11-15 Thread bcs
On 11/15/2011 06:51 PM, Adam D. Ruppe wrote: I've complained about the godawful web viewers for the newsgroup before, and wrote a little program to do a better job. But, I got distracted and didn't quite finish it. I didn't like how it looked primarily. Today, I dropped it into the skeleton of

Re: newsgroup web viewer

2011-11-15 Thread Adam D. Ruppe
bcs Wrote: You have completely obscured the structure of the news groups. You can change the view to see it in email ordering, or descending parent ordering. Which I mentioned in a subthread, but you probably didn't see it because that strong hierarchy separates the content into branches of a

Re: newsgroup web viewer

2011-11-15 Thread Jesse Phillips
On Wed, 16 Nov 2011 02:51:25 +, Adam D. Ruppe wrote: Is there a lot of interest in this kind of thing among the community? My interest in a web reader is a way see which messages I have read, a tree view, and a way to respond. However, if there was a list of current headlines, a viewing

Re: newsgroup web viewer

2011-11-15 Thread bcs
On 11/15/2011 08:38 PM, bcs wrote: On 11/15/2011 06:51 PM, Adam D. Ruppe wrote: I've complained about the godawful web viewers for the newsgroup before, and wrote a little program to do a better job. But, I got distracted and didn't quite finish it. I didn't like how it looked primarily.

Re: newsgroup web viewer

2011-11-15 Thread bcs
On 11/15/2011 07:18 PM, Adam D. Ruppe wrote: Trass3r Wrote: http://www.digitalmars.com/webnews/newsgroups.php is nicer and works fine for me the few times I need a web viewer. Oh, I keep forgetting this one exists! Can we get this linked from the main newsgroups page at least? A threaded

Re: newsgroup web viewer

2011-11-15 Thread Adam D. Ruppe
Jesse Phillips Wrote: My interest in a web reader is a way see which messages I have read, a tree view, and a way to respond. Yeah, showing it as read is a good idea. I was thinking to use the browser history for that, but that requires loading each post individually - which is ok, but I

  1   2   >