Re: Article: Dispelling Common D Myths
On 2012-10-10 08:38, Nick Sabalausky wrote: Some stuff I thought needed to be said and shared: http://semitwist.com/articles/article/view/dispelling-common-d-myths Nice, read. You might want to mention that the DMD front end is licensed under GPL as well. -- /Jacob Carlborg
Re: Article: Dispelling Common D Myths
On 2012-10-10 08:38, Nick Sabalausky wrote: Some stuff I thought needed to be said and shared: http://semitwist.com/articles/article/view/dispelling-common-d-myths Personally, I would have pointed out that there are some other useful modules in Tango that Phobos still is missing, cryptographic and log related modules. -- /Jacob Carlborg
Re: Remus
On Wednesday, 10 October 2012 at 07:06:54 UTC, Jacob Carlborg wrote: On 2012-10-09 21:10, Namespace wrote: My next version will contain the elvis operator: [code] Foo obj = otherObj.get() ?: null; if otherObj.get() is _not_ null, it will assign to obj, otherwise obj will be assigned with null. [/code] Will it support this syntax: Foo obj; obj ?= otherObj.get(); Will only assign to "obj" if it's null. You mean: [code] Foo obj; if (obj is null) { obj = otherObj.get(); } [/code] ? Interesting point. Until now this isn't supported but I will think about it.
Re: Article: Dispelling Common D Myths
On 2012-10-10 08:10, Nick Sabalausky wrote: Some stuff I thought needed to be said and shared: http://semitwist.com/articles/article/view/dispelling-common-d-myths Now on Reddit: http://www.reddit.com/r/programming/comments/118y4m/dispelling_common_d_myths/ -- Simen
Re: Article: Dispelling Common D Myths
On Wednesday, 10 October 2012 at 07:02:52 UTC, Nick Sabalausky wrote: Some stuff I thought needed to be said and shared: http://semitwist.com/articles/article/view/dispelling-common-d-myths Nice entry.
Re: Article: Dispelling Common D Myths
On 2012-10-10 14:28, Adam D. Ruppe wrote: Another thing I'm (slowly) working toward for the dead D projects thing is opening my dpldocs.info to third party submissions. It actually already kinda works: http://dpldocs.info/search/index but isn't fully done yet. It seems like most ddoc macros are not expanded. -- /Jacob Carlborg
Re: Remus
On 2012-10-10 09:10, Namespace wrote: You mean: [code] Foo obj; if (obj is null) { obj = otherObj.get(); } [/code] ? Interesting point. Until now this isn't supported but I will think about it. Exactly, most language supporting the elvis operator supports this form as well, both Ruby and CoffeeScript do. -- /Jacob Carlborg
Re: Article: Dispelling Common D Myths
On Wednesday, 10 October 2012 at 13:13:21 UTC, Jacob Carlborg wrote: It seems like most ddoc macros are not expanded. Right, none are. I have the macro expander from dmd ported to D now, but I'm not sure I actually want to use it yet, especially since I'll probably just link back to the original website anyway.
Re: Article: Dispelling Common D Myths
On 2012-10-10, 14:28, Adam D. Ruppe wrote: Another thing I'm (slowly) working toward for the dead D projects thing is opening my dpldocs.info to third party submissions. It actually already kinda works: http://dpldocs.info/search/index but isn't fully done yet. I read that as diplodocus. Is that intended? :p -- Simen
Re: Article: Dispelling Common D Myths
On Wednesday, 10 October 2012 at 13:41:38 UTC, Simen Kjaeraas wrote: I read that as diplodocus. Is that intended? :p I wish!
Re: Remus
Am 10.10.2012 07:32, schrieb Namespace: And you ask for what namespaces are usefull? Aren't you miss them? I do, and so I implement them. You can already write "namespaces" in D, but you must use a (mixin) template (so you have these ugly parents) and for using you have to write: alias tpl_nspace!().print print or directly: tpl_nspace!().print. And that's ugly (because of '!()') and annoying IMO. No, I really don't miss namespaces and if I really needed one, I would use a struct.
Re: ddox documentation generator
On Sunday, 7 October 2012 at 16:18:27 UTC, Sönke Ludwig wrote: The documentation generator used for vibed.org (e.g. http://vibed.org/api/vibe.core.file/FileStream) is now available as a stand-alone project: https://github.com/rejectedsoftware/ddox also available as a VPM module: http://registry.vibed.org/view_package/ddox Features: - Supports DDOC sections and macros - Fully interlinked types - Automatically inherits members and documentation from base classes - Clean structure without endless spaghetti pages (customizable) - Diet template based and thus fully customizable output - Built-in HTTP server for local docs serving - Easily embeddable into existing vibe.d based sites - Can generate offline documentation as HTML files - Function for filtering the DMD .json file by module prefixes, protection level and doc comment Can it be used for Phobos documentation on dlang.org? Also see my previous post, "Getting started with D - Phobos documentation sucks": http://forum.dlang.org/thread/pctnuoxbqzyuazivp...@forum.dlang.org
Re: Remus
On Wednesday, 10 October 2012 at 15:19:22 UTC, David wrote: Am 10.10.2012 07:32, schrieb Namespace: And you ask for what namespaces are usefull? Aren't you miss them? I do, and so I implement them. You can already write "namespaces" in D, but you must use a (mixin) template (so you have these ugly parents) and for using you have to write: alias tpl_nspace!().print print or directly: tpl_nspace!().print. And that's ugly (because of '!()') and annoying IMO. No, I really don't miss namespaces and if I really needed one, I would use a struct. Each to their own. ;) And: you can use Remus without using namespaces. So if you don't like one piece of Remus, don't use it. ;)
Re: Remus
On Wednesday, 10 October 2012 at 13:14:22 UTC, Jacob Carlborg wrote: On 2012-10-10 09:10, Namespace wrote: You mean: [code] Foo obj; if (obj is null) { obj = otherObj.get(); } [/code] ? Interesting point. Until now this isn't supported but I will think about it. Exactly, most language supporting the elvis operator supports this form as well, both Ruby and CoffeeScript do. The evlis operator is the next i will implement. So I will consider if something like this is necessary. :)
Re: Remus
David, el 10 de October a las 16:55 me escribiste: > Am 10.10.2012 07:32, schrieb Namespace: > >And you ask for what namespaces are usefull? Aren't you miss them? I do, > >and so I implement them. You can already write "namespaces" in D, but > >you must use a (mixin) template (so you have these ugly parents) and for > >using you have to write: alias tpl_nspace!().print print or directly: > >tpl_nspace!().print. And that's ugly (because of '!()') and annoying IMO. > > No, I really don't miss namespaces and if I really needed one, I > would use a struct. Or even better, just use static import. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) -- Sometimes you got to suffer a little in your youth to motivate you to succeed later in life. Do you think if Bill Gates got laid in high school, do you think there'd be a Microsoft? Of course not. You gotta spend a lot of time stuffin your own locker with your underwear wedged up your arse before you think "I'm gona take over the world with computers! You'll see I'll show them."
news.digitalmars.com server has a wrong date
I'm sorry to use this group to report this but I failed at looking for a better place to do so (including mailing Walter). The news.digitalmars.com server seems to have the date set incorrectly, so I'm getting a very annoying message complaining about that (which I cannot silence). Is there any way to get this fixed? Is there a better place to report this kind of infrastructure problems? Thanks. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/
Re: news.digitalmars.com server has a wrong date
On 10/10/12 4:29 PM, Leandro Lucarella wrote: I'm sorry to use this group to report this but I failed at looking for a better place to do so (including mailing Walter). The news.digitalmars.com server seems to have the date set incorrectly, so I'm getting a very annoying message complaining about that (which I cannot silence). Is there any way to get this fixed? Is there a better place to report this kind of infrastructure problems? I'll take it with our provider. What's the error message, OS, client program etc? Thanks, Andrei
Re: news.digitalmars.com server has a wrong date
On Wednesday, 10 October 2012 at 21:38:53 UTC, Andrei Alexandrescu wrote: On 10/10/12 4:29 PM, Leandro Lucarella wrote: I'm sorry to use this group to report this but I failed at looking for a better place to do so (including mailing Walter). The news.digitalmars.com server seems to have the date set incorrectly, so I'm getting a very annoying message complaining about that (which I cannot silence). Is there any way to get this fixed? Is there a better place to report this kind of infrastructure problems? I'll take it with our provider. What's the error message, OS, client program etc? Thanks, Andrei from the future Re: news.digitalmars.com server has a wrong date Web client says that you wrote this message from future :o
Re: Dpaste - online compiler and collaboration tool dedicated to D Programming Language.
On Wednesday, 4 July 2012 at 10:49:12 UTC, nazriel wrote: Greetings. I would like to share with you, Beta version of http://dpaste.dzfl.pl/ Awesome tool and I usually use at work! Thanks.
Re: news.digitalmars.com server has a wrong date
Andrei Alexandrescu, el 10 de October a las 17:14 me escribiste: > On 10/10/12 4:29 PM, Leandro Lucarella wrote: > >I'm sorry to use this group to report this but I failed at looking for > >a better place to do so (including mailing Walter). > > > >The news.digitalmars.com server seems to have the date set incorrectly, > >so I'm getting a very annoying message complaining about that (which > >I cannot silence). > > > >Is there any way to get this fixed? Is there a better place to report > >this kind of infrastructure problems? > > I'll take it with our provider. What's the error message, OS, client > program etc? "check_date: news.digitalmars.com: clocks of upstream and this computer are more than 10 minutes apart. Check your system clock." Ubuntu leafnode 1.11.8-1 Yes, I checked my computer's date and is fine. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) -- Ya ni el cielo me quiere, ya ni la muerte me visita Ya ni el sol me calienta, ya ni el viento me acaricia
A tiny, pure D build system.
I'm just calling it dbuild, but there is another project called dbuilder, so I may rename it to 'DB'. It can be found on github at: https://github.com/alexhairyman/dbuild Anyways, this is a pure D way to generate only the necessary command line command for compiling D code to various targets. Dependency checking works, everything works quite well, surprisingly. I haven't hit many problems with it. Don't expect it to do lots for you however. I have an example of it in use here: https://github.com/alexhairyman/DYP/blob/master/bfile.d and on the bfile.d in the dbuild repository itself This is my first real D project (where I actually got something useful that performed what it was supposed to do), and I would love feedback (I've already braced myself for criticism). I'd like to make it better, but it's at a stable point right now. I use it like `rdmd bfile.d > build.sh` and then I simply execute build.sh. I don't think it works on windows, maybe someone could help with that one?
Re: news.digitalmars.com server has a wrong date
On 2012-10-10 23:14, Andrei Alexandrescu wrote: I'll take it with our provider. What's the error message, OS, client program etc? I've seen several messages from the future in the web front end: https://dl.dropbox.com/u/18386187/from_the_future.png -- /Jacob Carlborg
Re: dlibgit - D bindings to the libgit2 library
On 2012-10-11 06:51, Andrej Mitrovic wrote: https://github.com/AndrejMitrovic/dlibgit These are the D bindings to the libgit2 library. libgit2 is a versatile git library which can read/write loose git object files, parse commits, tags, and blobs, do tree traversals, and do much more. For more info: http://libgit2.github.com/#cando License note from the libgit2 homepage: libgit2 is licensed under a very permissive license (GPLv2 with a special Linking Exception). This basically means that you can link it (unmodified) with any kind of software without having to release its source code. There are two samples ported from the libgit2 repository, and more samples will be added soon. The bindings have been partially tested and are known to work on Windows and Linux. Compiling with 32bit output is recommended until aliases to integral are fixed to their safe equivalents (size_t & friends). The bindings were autogenerated by dgen, with a few functions hand-copied due to inlining issues. dgen is D wrapper generator for C and C++ libraries, a work in progress, and there are no public releases yet. libgit2 homepage: libgit2.github.com/ libgit2 repo: https://github.com/libgit2/libgit2/ Very nice, I will definitely have use for this in the future. -- /Jacob Carlborg