Re: Some feedback on the website.

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-16 21:54, Walter Bright wrote: I'm not so sure. There are lots of tools to develop websites. Let's say A, B, and C. If we picked "B", we most assuredly would have analogous threads here saying "I won't use anything but A" and "Everybody else uses C." Anything that is explicitly

Re: Some feedback on the website.

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-16 23:32, H. S. Teoh via Digitalmars-d wrote: This is a limitation of ddoc that needs to be fixed. Historically, template functions used to be written like this: template amap(Args...) { auto amap(Args args) {

Re: We need better documentation for functions with ranges and templates

2015-12-17 Thread ZombineDev via Digitalmars-d
On Thursday, 17 December 2015 at 07:19:04 UTC, Jon D wrote: On Monday, 14 December 2015 at 19:04:46 UTC, bachmeier wrote: Something has to be done with the documentation for Phobos functions that involve ranges and templates. Many useful ideas in this thread. One I don't recall seeing - a

Re: Some feedback on the website.

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-16 21:59, Andrei Alexandrescu wrote: If some of these are unnecessary, they can be easily fixed. There's no problem with breaking other people's code etc. Which would you eliminate? A sane doc generation system would need at most two macros/syntaxes/functions to create links. One

Re: New D book available for pre-order: D Web Development

2015-12-17 Thread Kai Nacke via Digitalmars-d-announce
On Monday, 30 November 2015 at 03:36:29 UTC, Nick B wrote: On Sunday, 29 November 2015 at 18:24:38 UTC, Kai Nacke wrote: On Wednesday, 25 November 2015 at 04:35:47 UTC, Nick_B wrote: Hi Nick! Yes, the book will be available in hardcopy. Proposed publication date is January 2016. Regards,

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Mike Parker via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: What would be a good code font to use for those? http://sourcefoundry.org/hack/

Re: Some feedback on the website.

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-17 00:46, Andrei Alexandrescu wrote: Overall I think a few additions to the macro engine could be very beneficial. E.g. while working on dconf.org I could use $(IF a, b, c) to expand b if a is nonempty and c otherwise. Oh, God, please no. Just use vibe.d and be done with it. We

Re: exit(1)?

2015-12-17 Thread Shriramana Sharma via Digitalmars-d-learn
Jakob Ovrum wrote: > The example should be restructured to `return 1;` > from `main`. https://github.com/D-Programming-Language/phobos/pull/3875 -- Shriramana Sharma, Penguin #395953

Re: Some feedback on the website.

2015-12-17 Thread wobbles via Digitalmars-d
On Thursday, 17 December 2015 at 08:06:28 UTC, Jacob Carlborg wrote: On 2015-12-17 00:46, Andrei Alexandrescu wrote: Overall I think a few additions to the macro engine could be very beneficial. E.g. while working on dconf.org I could use $(IF a, b, c) to expand b if a is nonempty and c

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Guillaume Chatelet via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: DlangIDE - initial GDB debugger support

2015-12-17 Thread ZombineDev via Digitalmars-d-announce
On Wednesday, 16 December 2015 at 12:50:25 UTC, Vadim Lopatin wrote: On Tuesday, 8 December 2015 at 15:58:43 UTC, Vadim Lopatin wrote: Hello, DlangIDE is getting close to usable. DlangIDE is and IDE for D programming language written in D using DlangUI library. Project page:

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-17 00:25, Andrei Alexandrescu wrote: I was hoping for a nicer one and courier new as a fallback. I use Menlo. I think that's default in TextMate, perhaps Xcode is uing that as well. Before that I used Monaco. I'm pretty sure they are both available by default on OS X. I'm not

Re: exit(1)?

2015-12-17 Thread Jakob Ovrum via Digitalmars-d-learn
On Thursday, 17 December 2015 at 07:33:36 UTC, Jacob Carlborg wrote: I agree with that, but why don't the runtime register a function with "atexit" that cleans up everything? I think it might be possible, but it doesn't sound trivial. In particular, all threads and fibers managed by druntime

Trying to build dlang.org - what am I doing wrong

2015-12-17 Thread wobbles via Digitalmars-d
So - the conversation about the website/documentation piqued my interest a bit and I decided to have a go at making the documentation more readable. However, reading the instructions from: http://wiki.dlang.org/Starting_as_a_Contributor#Fetch_and_build_dlang.org It should be a simple matter

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Andrea Fontana via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

TreeViews in tkd

2015-12-17 Thread TheGag96 via Digitalmars-d-learn
I've been trying to get into tkd to make some GUI apps, since it looked like the simplest/intuitive library out there so far. I've been attempting to use their TreeViews to make interactable lists of things, but it almost looks like there's some missing functionality. For example, I'm not

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread rumbu via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: We need better documentation for functions with ranges and templates

2015-12-17 Thread Timon Gehr via Digitalmars-d
On 12/17/2015 01:06 AM, John Colvin wrote: One doesn't need to know any results or definitions from complexity theory in order to understand what O(n) means. What it means here is that for large enough n the actual number is bounded from above by n multiplied by some unspecified constant. (In

Re: We need better documentation for functions with ranges and templates

2015-12-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 16 December 2015 at 23:02:53 UTC, H. S. Teoh wrote: Any programmer that has any pretense of caring about the performance of their code ought to know what O(n) means. It's not that hard to understand. There are plenty of online resources to learn about this, even if you didn't

How to replace inside regex?

2015-12-17 Thread Suliman via Digitalmars-d-learn
I can't understand how to replace in regex. I have got next task: find all commas in strings inside quotes and replace them. foo, bar, "hello, user", baz I wrote next regexp that find part that include commas inside the quotes: auto partWithComma = matchAll(line, r); but I can't understand

[Issue 15456] sc.ini: Access denied for non-superusers on Windows 10

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15456 --- Comment #2 from David Eckardt --- This happened with the dmd-2.069.2 installer http://downloads.dlang.org/releases/2.x/2.069.2/dmd-2.069.2.exe on Windows 10 Home, using the default installation options, which

Re: Some feedback on the website.

2015-12-17 Thread Marc Schütz via Digitalmars-d
On Wednesday, 16 December 2015 at 22:32:25 UTC, H. S. Teoh wrote: On Wed, Dec 16, 2015 at 10:00:50PM +, Meta via Digitalmars-d wrote: There's also weird stuff like this, with an outer template and a documented inner template function.

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/2015 03:07 AM, Mike Parker wrote: On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: What would be a good code font to use for those? http://sourcefoundry.org/hack/ Could someone please round up this and other proposals into pull requests? Then we can

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Kagamin via Digitalmars-d
On Wednesday, 16 December 2015 at 21:32:29 UTC, H. S. Teoh wrote: Any monospaced font should do? Monospaced fonts have a common problem that they display "mm" as a tight knot of vertical lines (relevant for the commonPrefix example in the pull).

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Suliman via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: Voting For std.experimental.ndslice

2015-12-17 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 16 December 2015 at 17:49:03 UTC, Ilya Yaroshenko wrote: * Miscellaneous ** string mixins. I think some of the string mixins can be removed for something more readable/debuggable ** I have not found examples where string mixins can be removed. Please refer to particular

Re: Error 42: Symbol Undefined __lseeki64

2015-12-17 Thread Byron Heads via Digitalmars-d-learn
On Thursday, 17 December 2015 at 04:11:56 UTC, tcak wrote: I searched the function "__lseek64" under /usr/include/dmd" with "grep -R __lseek64", but nothing is found. I work on Linux 64-bit. So, I guess it is either Windows related, or 32bit dmd related. "lseek64" is found in "unistd.d", but

Why `i` not working on foreach loop if it have byLine option

2015-12-17 Thread Suliman via Digitalmars-d-learn
Next code produce error: foreach(i, line;fileContent.byLine) Error: cannot infer argument types, expected 1 argument, not 2 Why it's do not work?

Re: D float types operations vs C++ ones

2015-12-17 Thread Nicholas Wilson via Digitalmars-d-learn
On Thursday, 17 December 2015 at 11:58:35 UTC, drug wrote: On 17.12.2015 14:52, Andrea Fontana wrote: You should publish some code to check... Too much code to public - operations are simple, but there are many branches and reducing may take much time . In fact I asked to understand _in

Re: Why `i` not working on foreach loop if it have byLine option

2015-12-17 Thread cym13 via Digitalmars-d-learn
On Thursday, 17 December 2015 at 14:09:57 UTC, Suliman wrote: Next code produce error: foreach(i, line;fileContent.byLine) Error: cannot infer argument types, expected 1 argument, not 2 Why it's do not work? Because byLine doesn't return an array, use std.range.enumerate :

Re: Voting For std.experimental.ndslice

2015-12-17 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 16 December 2015 at 17:49:03 UTC, Ilya Yaroshenko wrote: In the same time I expect few articles from another engineers about ndslice like this http://dlang.org/intro-to-datetime.html . It is much better to have explanation from different engineers. Please no, put all the doc

Re: D float types operations vs C++ ones

2015-12-17 Thread drug via Digitalmars-d-learn
On 17.12.2015 16:09, Nicholas Wilson wrote: Yes the float types are the same. floats doubles are identical long double == real ( at least for x86) The only difference is that float are default initialised to NaN in D. The sources of difference are likely to occur from - const folding (varying

Re: Some feedback on the website.

2015-12-17 Thread John Colvin via Digitalmars-d
On Thursday, 17 December 2015 at 11:47:23 UTC, Walter Bright wrote: On 12/16/2015 11:12 AM, H. S. Teoh via Digitalmars-d wrote: Having said that, though, using ddoc for the website leads to other problems (e.g., the ongoing fiasco with XREF, LREF, whatever-REF and the associated

Re: D float types operations vs C++ ones

2015-12-17 Thread anonymous via Digitalmars-d-learn
On 17.12.2015 12:50, drug wrote: I have two implementation of the same algorithm - D and C++ (that is port of D version). I assume that running these implementations on the same data should give the same results from both. But with some data the results differ (5th decimal digit after point).

Re: Error 42: Symbol Undefined __lseeki64

2015-12-17 Thread Basile B. via Digitalmars-d-learn
On Thursday, 17 December 2015 at 04:11:56 UTC, tcak wrote: On Wednesday, 16 December 2015 at 18:30:41 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 18:21:33 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads I searched the function "__lseek64" under

Re: Why `i` not working on foreach loop if it have byLine option

2015-12-17 Thread Daniel Kozak via Digitalmars-d-learn
V Thu, 17 Dec 2015 14:09:57 + Suliman via Digitalmars-d-learn napsáno: > Next code produce error: > > foreach(i, line;fileContent.byLine) > > Error: cannot infer argument types, expected 1 argument, not 2 > > Why it's do not work?

Re: DlangUI

2015-12-17 Thread John Colvin via Digitalmars-d-announce
On Thursday, 17 December 2015 at 16:12:32 UTC, Vadim Lopatin wrote: On Wednesday, 16 December 2015 at 13:32:21 UTC, Suliman wrote: Is it's possible to use some native frontend with dlangui instead of drawing all controls with OpenGL? I really dislike how all OpenGL toolkit looks like. OpenGL

Re: D float types operations vs C++ ones

2015-12-17 Thread Ali Çehreli via Digitalmars-d-learn
On 12/17/2015 03:50 AM, drug wrote: > D and C++ [...] But with some data the results differ You may have similar results between two C and two C++ compilers, even between two different versions of the same compiler. In addition to possible reasons that has already been mentioned, note that

Re: Some feedback on the website.

2015-12-17 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 17 December 2015 at 08:06:28 UTC, Jacob Carlborg wrote: We obviously need a proper programming language to generate dconf.org. I can't agree with this. I think there's too many conditionals already. Build the docs on posix and you miss out on Windows functions. Ugh.

Re: Some feedback on the website.

2015-12-17 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 17 December 2015 at 07:53:02 UTC, Jacob Carlborg wrote: No sane person would use raw HTML. I hope no one takes that suggestion serious. HTML + a couple simple helper tools is a different story though. That's basically what ddoc is anyway, but it has the weird behavior of just

Re: DlangUI

2015-12-17 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 16 December 2015 at 16:17:00 UTC, karabuta wrote: On Tuesday, 14 April 2015 at 11:18:38 UTC, Vadim Lopatin wrote: Maybe tutorial on Menus, tabs, list view, and a little excell app I started to work on Spreadsheet (Excel like app) example dub run dlangui:spreadsheet

[Issue 15229] BigInt(Range of chars) too

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15229 --- Comment #2 from Jack Stouffer --- https://github.com/D-Programming-Language/phobos/pull/3876 --

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread qznc via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: Why should file names intended for executables be valid identifiers?

2015-12-17 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 17 December 2015 at 04:26:04 UTC, Shriramana Sharma wrote: Sorry but I don't get this fully: can't a hyphen be part of such mangled names? I'm actually not sure but I have never seen it done. And any reflection of the module name would also be just a string which need not be a

Re: Testing if a file is connected to a terminal

2015-12-17 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 17 December 2015 at 05:01:15 UTC, Jakob Ovrum wrote: Where's the reference documentation? In the source... but yeah, good point. I'm working on writing docs for a lot of my stuff. Terminal is still completely messed up http://arsdnet.net/arsd/terminal.html cgi is meh but

Re: DlangUI

2015-12-17 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 16 December 2015 at 13:32:21 UTC, Suliman wrote: Is it's possible to use some native frontend with dlangui instead of drawing all controls with OpenGL? I really dislike how all OpenGL toolkit looks like. OpenGL is just hardware acceleration for drawing. Resulting picture is the

Re: No documentation for core.sys?

2015-12-17 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 17 December 2015 at 03:40:02 UTC, Shriramana Sharma wrote: Why isn't there a documentation page http://dlang.org/phobos/core_sys.html whereas lots of other core.* modules are documented? Because the D build process is f***ed up and the website build process is yet another layer

Re: No documentation for core.sys?

2015-12-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On 12/17/15 2:30 AM, Jacob Carlborg wrote: On 2015-12-17 04:47, Jakob Ovrum wrote: core.sys contains packages with system-specific D interface files (ports of header files). As with core.stdc, refer to the documentation for the equivalent C header. core.stdc is documented, in the sense that

Re: error diagnosis: range.algorithm(myFunc)

2015-12-17 Thread Luís Marques via Digitalmars-d
On Thursday, 17 December 2015 at 11:41:09 UTC, John Colvin wrote: Seems feasible to me for the compiler: If the call doesn't compile, try moving the first argument (or second on a ufcs call) to be the first template argument. If that would compile, suggest it to the user in the error output.

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Wyatt via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: Silicon Valley D Meetup December 17, 2015

2015-12-17 Thread Ali Çehreli via Digitalmars-d-announce
On 12/12/2015 05:03 PM, Ali Çehreli wrote: Our guest speaker is Steven Schveighoffer. He will present "Mutability wildcards in D": http://www.meetup.com/D-Lang-Silicon-Valley/events/226112281/ Ali We still have a few spots available. See you there! :) Ali

Re: Graillon 1.0, VST effect fully made with D

2015-12-17 Thread Thomas via Digitalmars-d-announce
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat wrote: OT: Readers of this NG probably know me under the name "ponce", however over the year I was made aware that it's an english swear word so I'll post under my IRL name from now on. [...] Hi, Is there a tutorial on how to

Re: Trying to build dlang.org - what am I doing wrong

2015-12-17 Thread Jimmy Cao via Digitalmars-d
On Thursday, 17 December 2015 at 08:48:21 UTC, wobbles wrote: So - the conversation about the website/documentation piqued my interest a bit and I decided to have a go at making the documentation more readable. However, reading the instructions from:

Re: TreeViews in tkd

2015-12-17 Thread TheGag96 via Digitalmars-d-learn
On Thursday, 17 December 2015 at 11:33:31 UTC, Gary Willoughby wrote: On Thursday, 17 December 2015 at 09:47:42 UTC, TheGag96 wrote: I've been trying to get into tkd to make some GUI apps, since it looked like the simplest/intuitive library out there so far. I've been attempting to use their

Re: DlangUI

2015-12-17 Thread Vadim Lopatin via Digitalmars-d-announce
On Thursday, 17 December 2015 at 16:21:58 UTC, John Colvin wrote: DlangUI will never use native controls. It draws all widgets itself. But look and feel can be changed by providing custom theme. You can create theme (set of .xml and .png files) to get DlangUI app looking exactly like native

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread tcak via Digitalmars-d
On Thursday, 17 December 2015 at 16:01:01 UTC, Wyatt wrote: On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's

What is the state of D for game development?

2015-12-17 Thread Ali Çehreli via Digitalmars-d
I am stealing HerrDrFaust's question from the following Reddit thread: https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/ Please answer here or there. Thank you, Ali

Re: Some feedback on the website.

2015-12-17 Thread BLM768 via Digitalmars-d
On Thursday, 17 December 2015 at 07:51:42 UTC, Jacob Carlborg wrote: On 2015-12-17 00:43, BLM768 wrote: One is to make as much of it as possible in plain old static HTML. Stuff like the articles rarely changes, after all. This is an horrible idea. No sane person would use raw HTML. The only

Re: How to replace inside regex?

2015-12-17 Thread Ali Çehreli via Digitalmars-d-learn
On 12/17/2015 04:57 AM, Suliman wrote: > find all commas in strings inside quotes and replace them. > > foo, bar, "hello, user", baz [...] > auto partWithComma = matchAll(line, r).replaceAll(",", " "); For this particular case, do you really want to replace with spaces, or do you want to

Re: What is the state of D for game development?

2015-12-17 Thread BLM768 via Digitalmars-d
On Thursday, 17 December 2015 at 17:38:31 UTC, Ali Çehreli wrote: I am stealing HerrDrFaust's question from the following Reddit thread: https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/ Please answer here or there. Thank you, Ali Well,

Re: Some feedback on the website.

2015-12-17 Thread Walter Bright via Digitalmars-d
On 12/17/2015 5:44 AM, John Colvin wrote: On Thursday, 17 December 2015 at 11:47:23 UTC, Walter Bright wrote: On 12/16/2015 11:12 AM, H. S. Teoh via Digitalmars-d wrote: Having said that, though, using ddoc for the website leads to other problems (e.g., the ongoing fiasco with XREF, LREF,

Re: Some feedback on the website.

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/15 2:43 PM, Adam D. Ruppe wrote: On Thursday, 17 December 2015 at 19:27:56 UTC, Walter Bright wrote: 3. to find out what LREF does: grep LREF *.ddoc So, you're working on Phobos and see a LREF macro. me@arsd:~/d/dmd2/src/phobos$ grep -R LREF *.ddoc me@arsd:~/d/dmd2/src/phobos$

Re: Some feedback on the website.

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/16/15 6:47 PM, BLM768 wrote: On Wednesday, 16 December 2015 at 23:43:41 UTC, BLM768 wrote: [snip] ...and as I read some older posts, I see that mine is completely redundant. ;) Seriously, though, I'm willing to help prototype something. I've got time before the next semester starts.

Re: Some feedback on the website.

2015-12-17 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 17 December 2015 at 19:51:19 UTC, Walter Bright wrote: That has nothing to do with Ddoc, and is more about the organization of the files on github. Switching to another framework does nothing for that. Well, I basically agree with that. I know it is hard to keep track of whose

Re: D could catch this wave: web assembly

2015-12-17 Thread yawniek via Digitalmars-d
https://hacks.mozilla.org/2015/12/compiling-to-webassembly-its-happening/

Re: Some feedback on the website.

2015-12-17 Thread Walter Bright via Digitalmars-d
On 12/16/2015 10:47 AM, deadalnix wrote: Honestly for D code itself, ddoc does just fine, but for the website, plain html or some known template format like . This is what people know. I've never heard of .

Re: Some feedback on the website.

2015-12-17 Thread Walter Bright via Digitalmars-d
On 12/17/2015 4:27 AM, John Colvin wrote: The number of macros bothers me, but mostly it's the complete lack of documentation and guidelines on where/how to use them*. It's pretty unreasonable to expect someone submitting a passing doc fix to 1) find where the macros are defined 2) decipher them

Re: Some feedback on the website.

2015-12-17 Thread Anon via Digitalmars-d
On Thursday, 17 December 2015 at 20:04:44 UTC, jmh530 wrote: My feedback: add the ability to edit posts in the forum You can't edit email.

Re: Some feedback on the website.

2015-12-17 Thread Walter Bright via Digitalmars-d
On 12/17/2015 11:43 AM, Adam D. Ruppe wrote: On Thursday, 17 December 2015 at 19:27:56 UTC, Walter Bright wrote: 3. to find out what LREF does: grep LREF *.ddoc So, you're working on Phobos and see a LREF macro. me@arsd:~/d/dmd2/src/phobos$ grep -R LREF *.ddoc

Re: D float types operations vs C++ ones

2015-12-17 Thread Guillaume Piolat via Digitalmars-d-learn
On Thursday, 17 December 2015 at 11:50:02 UTC, drug wrote: I have two implementation of the same algorithm - D and C++ (that is port of D version). I assume that running these implementations on the same data should give the same results from both. But with some data the results differ (5th

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread TheGag96 via Digitalmars-d
On Thursday, 17 December 2015 at 15:43:22 UTC, qznc wrote: I don't think listening to random forum opinions (Inconsolata!!1) is a good process. ...And I was about to say Source Code Pro and Inconsolata are my favorite fonts to use. >_> I think they fit the "nice" quality Andrei is looking

Re: Why should file names intended for executables be valid identifiers?

2015-12-17 Thread Alex Parrill via Digitalmars-d-learn
On Tuesday, 15 December 2015 at 03:31:18 UTC, Shriramana Sharma wrote: I expect it should not be difficult for the compiler to see that this D file is not a module being imported by anything else or even being compiled to a library which would need to be later imported. In which case, why does

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/15 10:43 AM, qznc wrote: On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it.

D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-17 Thread Jakob Jenkov via Digitalmars-d
Hi guys, I read from some of the other forum threads that D is being criticized for not being usable for real time / low latency systems because it has a GC. First of all, such system are already being written in Java. Google "Martin Thompson" and LMAX and you will see. Or Aeron (also Java

[Issue 15456] sc.ini: Access denied for non-superusers on Windows 10

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15456 --- Comment #3 from Brad Anderson --- (In reply to David Eckardt from comment #2) > This happened with the dmd-2.069.2 installer > > http://downloads.dlang.org/releases/2.x/2.069.2/dmd-2.069.2.exe > > on Windows 10 Home, using the

[Issue 15456] sc.ini: Access denied for non-superusers on Windows 10

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15456 --- Comment #4 from Brad Anderson --- Added Rainer and Martin on the CC. Assuming it's the same bug you hit, it seems you can reproduce by going through the uninstaller and installer as quickly as possible. The uninstaller "finishes"

Re: Why should file names intended for executables be valid identifiers?

2015-12-17 Thread Ali Çehreli via Digitalmars-d-learn
On 12/16/2015 08:26 PM, Shriramana Sharma wrote: > can't a hyphen be part of such mangled names? Perhaps my response is naive but hyphen means subtraction (or minus). If the grammar is context-free then it cannot appear in a name, no? Ali

Re: Some feedback on the website.

2015-12-17 Thread deadalnix via Digitalmars-d
On Thursday, 17 December 2015 at 22:28:25 UTC, Andrei Alexandrescu wrote: On 12/17/15 4:17 PM, deadalnix wrote: But, to start, let's take action. Andrei, does dlang.org has any kind of analytic setup ? We use webalizer. -- Andrei I would suggest using something more powerful. Log analysis

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Eric Scrivner via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Fer22f via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

[Issue 15456] sc.ini: Access denied for non-superusers on Windows 10

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15456 Brad Anderson changed: What|Removed |Added CC||c...@dawg.eu,

Re: Some feedback on the website.

2015-12-17 Thread deadalnix via Digitalmars-d
On Thursday, 17 December 2015 at 19:50:40 UTC, Andrei Alexandrescu wrote: On 12/16/15 6:47 PM, BLM768 wrote: On Wednesday, 16 December 2015 at 23:43:41 UTC, BLM768 wrote: [snip] ...and as I read some older posts, I see that mine is completely redundant. ;) Seriously, though, I'm willing

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread karabuta via Digitalmars-d
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. What would be a good code font

Re: We need a good code font for the function signatures on dlang.org

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/15 4:30 PM, Eric Scrivner wrote: On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to

Re: Some feedback on the website.

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/15 4:17 PM, deadalnix wrote: But, to start, let's take action. Andrei, does dlang.org has any kind of analytic setup ? We use webalizer. -- Andrei

Re: What is the state of D for game development?

2015-12-17 Thread BLM768 via Digitalmars-d
On Friday, 18 December 2015 at 00:03:06 UTC, extrawurst wrote: What PR is that ? Link ? --Stephan https://github.com/D-Programming-Language/dmd/pull/5290 It adds some __traits that would make it easier for me to introspect my binding modules and generate glue code. Right now, I'm using

Re: Some feedback on the website.

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-17 12:45, Walter Bright wrote: You're not one of the people I was referring to, since you do help. So do it for those who do help and not for those how don't ;) Your issue with Ddoc is that the latex pdf generator you used was broken? Latex meets your critera as being very widely

[Issue 15433] std.experimental.allocator.building_blocks.free_tree only compiles with -unittest

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15433 yazan.dab...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 15434] [REG2.068] object.d imports from rt (breaking inline builds)

2015-12-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15434 --- Comment #2 from yazan.dab...@gmail.com --- Pull request: https://github.com/D-Programming-Language/druntime/pull/1450 --

Re: D float types operations vs C++ ones

2015-12-17 Thread drug via Digitalmars-d-learn
On 18.12.2015 05:58, Nicholas Wilson wrote: On Thursday, 17 December 2015 at 13:30:11 UTC, drug wrote: On 17.12.2015 16:09, Nicholas Wilson wrote: [...] Thanks for answer. My C++ version is tracing D version so commutativity and distributivity aren't requred because order of operations is the

Re: Some feedback on the website.

2015-12-17 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-18 00:50, Andrei Alexandrescu wrote: * Many functions don't have "Parameters:", "Returns:", or "Throws:" sections. Those that respectively take parameters, return non-void, or throw, should have one each. I think we need to be better at enforcing this in the pull requests. I see a

Re: Some feedback on the website.

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/15 5:32 PM, deadalnix wrote: On Thursday, 17 December 2015 at 22:28:25 UTC, Andrei Alexandrescu wrote: On 12/17/15 4:17 PM, deadalnix wrote: But, to start, let's take action. Andrei, does dlang.org has any kind of analytic setup ? We use webalizer. -- Andrei I would suggest using

Re: Some feedback on the website.

2015-12-17 Thread BLM768 via Digitalmars-d
On Thursday, 17 December 2015 at 19:50:40 UTC, Andrei Alexandrescu wrote: If you have some time and motivation to improve the documentation, there's tremendous opportunity for impact. So much low-hanging fruit, all well before we explore switching to a different way of building the site. And

Re: Some feedback on the website.

2015-12-17 Thread jmh530 via Digitalmars-d
On Thursday, 17 December 2015 at 20:08:32 UTC, Anon wrote: On Thursday, 17 December 2015 at 20:04:44 UTC, jmh530 wrote: My feedback: add the ability to edit posts in the forum You can't edit email. So your point is that the Dlang forum is implemented more like a mailing list than a forum?

Re: What is the state of D for game development?

2015-12-17 Thread extrawurst via Digitalmars-d
On Thursday, 17 December 2015 at 17:46:15 UTC, BLM768 wrote: On Thursday, 17 December 2015 at 17:38:31 UTC, Ali Çehreli wrote: I am stealing HerrDrFaust's question from the following Reddit thread:

Re: Some feedback on the website.

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/15 3:06 AM, Jacob Carlborg wrote: Oh, God, please no. Just use vibe.d and be done with it. We obviously need a proper programming language to generate dconf.org. We are already using vibe.d for the Phobos page-per-name documentation. As far as I can tell the initiative has been a

Re: Some feedback on the website.

2015-12-17 Thread Andrei Alexandrescu via Digitalmars-d
On 12/17/2015 06:33 PM, BLM768 wrote: On Thursday, 17 December 2015 at 19:50:40 UTC, Andrei Alexandrescu wrote: If you have some time and motivation to improve the documentation, there's tremendous opportunity for impact. So much low-hanging fruit, all well before we explore switching to a

Re: Some feedback on the website.

2015-12-17 Thread JohnCK via Digitalmars-d
On Thursday, 17 December 2015 at 23:30:46 UTC, jmh530 wrote: On Thursday, 17 December 2015 at 20:08:32 UTC, Anon wrote: On Thursday, 17 December 2015 at 20:04:44 UTC, jmh530 wrote: My feedback: add the ability to edit posts in the forum You can't edit email. Maybe I can answer your

Re: Some feedback on the website.

2015-12-17 Thread Sebastiaan Koppe via Digitalmars-d
On Thursday, 17 December 2015 at 08:15:49 UTC, wobbles wrote: That would be a whole re-write of the website though. We could of course also use ddoc and write a generator to whatever template language we like. The rest is peanuts.

Re: Some feedback on the website.

2015-12-17 Thread John Colvin via Digitalmars-d
On Wednesday, 16 December 2015 at 20:05:03 UTC, Vladimir Panteleev wrote: On Tuesday, 15 December 2015 at 21:45:02 UTC, deadalnix wrote: On Tuesday, 15 December 2015 at 13:42:29 UTC, Andrei Alexandrescu wrote: On 12/15/15 5:54 AM, tcak wrote: The harder it is made for people to contribute the

  1   2   >