Re: D Management Site

2015-01-28 Thread aldanor via Digitalmars-d
On Wednesday, 28 January 2015 at 11:18:46 UTC, Dicebot wrote: Maybe it is worth duplicating to dmd-internals mail list and with CC to those who actively contribute to DMD. To be honest I don't even know who is currently in active D development team. In this thread I see Andrei and Vladimir but

Re: 521 days, 22 hours, 7 minutes and 52 seconds...

2015-01-27 Thread aldanor via Digitalmars-d
On Tuesday, 27 January 2015 at 09:07:30 UTC, tn wrote: On Monday, 26 January 2015 at 20:35:31 UTC, Andrei Alexandrescu wrote: On 1/26/15 12:30 PM, Dicebot wrote: We couldn't merge it into std.experimental before because you have stated that even std.experimental modules shouldn't have a breaki

Re: dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 19:18:34 UTC, Chris wrote: On Friday, 23 January 2015 at 13:39:23 UTC, Christof Schardt wrote: "aldanor" schrieb im Newsbeitrag news:didzczqdggjchqgtg...@forum.dlang.org... Hi all, I've started redesigning dlang.org AGAIN (yea, I Very sensible co

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 18:17:30 UTC, H. S. Teoh wrote: Well, to be fair, the reason Ali's book is so detailed is because it's geared towards the newbie programmer who is learning how to program, possibly for the first time. So the pacing isn't really suited for an experienced programmer

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 18:00:13 UTC, Andrei Alexandrescu wrote: On 1/23/15 9:03 AM, aldanor wrote: [NB] SUGGESTION: initiate work on an Official Guide and keep it up to date with the latest language features. That would be fantastic, and something that might be parallelizable as well

Re: dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 17:41:21 UTC, Zach the Mystic wrote: Basically, I suggest consciously addressing these four demographics in designing the site: 1. Experienced programmers, new to D. 2. Beginning programmers. 3. Experienced D users. 4. The community. Publications, social events,

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 17:19:44 UTC, H. S. Teoh wrote: OTOH, do I hear the cry of a volunteer? ;-) (I'm only half-joking... the thing is, if nobody steps up to write said tutorial, it isn't gonna materialize. The rest of us are already busy enough with whatever it is we're contributing

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 17:03:17 UTC, aldanor wrote: Since we are the ones who generate the docs, we can totally do this (in a simplest way, bake in the markers into the ddoc and generate a javascript hashmap to trace back to them). I turns out that's exactly how it's done o

dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-23 Thread aldanor via Digitalmars-d
In continuing the series of rant posts about the website, this one will be about the documentation. This is a big one and no fixing css or pretty menus can amend this. I've recently started learning Rust myself (a few weeks ago) and despite the alpha state of both rustc and rust-lang.org websi

Re: Show AAs in all their virtues

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 16:25:56 UTC, Per Nordlöw wrote: I believe we should show off D in all its virtue at http://dlang.org/hash-map.html by addition to int* p = ("hello" in aa); if (p !is null) {} also include the even compacter if (auto p = "hello" in aa) {} along with

Re: dlang.org redesign -- a better code sample for landing page

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 13:34:36 UTC, aldanor wrote: Does anyone find the example on the landing page particularly exciting? (aside from it using an rdmd shebang) Anything that makes you, as a programmer, think -- huh, that's interesting, I'll need to check that out. It wou

dlang.org redesign -- a better code sample for landing page

2015-01-23 Thread aldanor via Digitalmars-d
Does anyone find the example on the landing page particularly exciting? (aside from it using an rdmd shebang) Anything that makes you, as a programmer, think -- huh, that's interesting, I'll need to check that out. It would be nice if it showcases more of D's strong parts, e.g. type inference

Re: forcing "@nogc" on class destructors

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 13:12:44 UTC, Steven Schveighoffer wrote: On 1/23/15 8:05 AM, Matthias Bentrup wrote: On Friday, 23 January 2015 at 10:53:54 UTC, aldanor wrote: On Friday, 23 January 2015 at 08:58:11 UTC, Ola Fosheim Grøstad wrote: How about banning GC-allocation of classes with

Re: dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 12:47:36 UTC, Jacob Carlborg wrote: Top-level-link: CHANGELOG It's updated when there's a new release. Not always -- e.g. there's several notes on 2.067 there already. I always thought that updating the changelog right after you fix something is easier than tryi

Re: dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 12:32:00 UTC, Jacob Carlborg wrote: For Sass there's libsass [1] with bindings already available [2]. For running JavaScript (Less) there are a couple of alternatives: Thanks, that would help. Could either use bootstrap-sass from git + d bindings to libsass from du

Re: forcing "@nogc" on class destructors

2015-01-23 Thread aldanor via Digitalmars-d
On Friday, 23 January 2015 at 08:58:11 UTC, Ola Fosheim Grøstad wrote: How about banning GC-allocation of classes with destructors? Uh... what? ^__^ Maybe just ban classes altogether then?

dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread aldanor via Digitalmars-d
Hi all, I've started redesigning dlang.org AGAIN (yea, I know...). The front page is mostly done aside from a several responsiveness and platform quirks, I will have the full landing page + a random sample page from the docs this weekend. On the technical side, rapid design + ddoc and working w

Re: dlang.org redesign n+1

2015-01-22 Thread aldanor via Digitalmars-d
On Thursday, 22 January 2015 at 17:15:59 UTC, MattCoder wrote: On Thursday, 22 January 2015 at 17:03:52 UTC, Meta wrote: On Thursday, 22 January 2015 at 17:00:55 UTC, MattCoder wrote: On Thursday, 22 January 2015 at 16:58:39 UTC, Meta wrote: On Thursday, 22 January 2015 at 05:27:04 UTC, Zekere

Re: dlang.org redesign n+1

2015-01-21 Thread aldanor via Digitalmars-d
On Wednesday, 21 January 2015 at 23:25:04 UTC, Mike wrote: On Wednesday, 21 January 2015 at 19:51:57 UTC, Walter Bright wrote: The Dart one is probably most similar to this proposal. But there definitely is a trend among these sites - a menu across the top, lots of white space, lots of scroll

Re: dlang.org redesign n+1

2015-01-21 Thread aldanor via Digitalmars-d
On Wednesday, 21 January 2015 at 17:16:52 UTC, Sebastiaan Koppe wrote: On Wednesday, 21 January 2015 at 17:12:22 UTC, aldanor wrote: Sebastian, could please you publish your fork somewhere so we could take a closer look and/or fork/destroy it? It would also be easier to make specific

Re: dlang.org redesign n+1

2015-01-21 Thread aldanor via Digitalmars-d
On Wednesday, 21 January 2015 at 17:10:09 UTC, Sebastiaan Koppe wrote: On Wednesday, 21 January 2015 at 16:30:37 UTC, Andrei Alexandrescu wrote: This is awesome, and something I'd get behind. Here's a little feedback coming from a self-admitted dilettante: * On my laptop it looks like this: ht

Re: dlang.org redesign n+1

2015-01-21 Thread aldanor via Digitalmars-d
On Wednesday, 21 January 2015 at 15:35:59 UTC, Chris wrote: On Wednesday, 21 January 2015 at 14:46:22 UTC, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe

Re: forcing "@nogc" on class destructors

2015-01-20 Thread aldanor via Digitalmars-d
On Tuesday, 20 January 2015 at 21:30:14 UTC, Steven Schveighoffer wrote: On 1/20/15 4:06 PM, ketmar via Digitalmars-d wrote: On Tue, 20 Jan 2015 15:51:17 -0500 Steven Schveighoffer via Digitalmars-d wrote: p.s. another point is that all mechanics compiler needs for doing such checks is alr

Re: Please help me with improving dlang.org

2015-01-18 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 17:05:28 UTC, Andrei Alexandrescu wrote: On 1/18/15 9:02 AM, aldanor wrote: This is usually solved by media queries / responsive design / grid frameworks, sorry if I'm stating the obvious :) Try resizing the commonly used websites and see what happens, e.g

Re: Please help me with improving dlang.org

2015-01-18 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 17:05:28 UTC, Andrei Alexandrescu wrote: On 1/18/15 9:02 AM, aldanor wrote: This is usually solved by media queries / responsive design / grid frameworks, sorry if I'm stating the obvious :) Try resizing the commonly used websites and see what happens, e.g

Re: Please help me with improving dlang.org

2015-01-18 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 16:23:35 UTC, Andrei Alexandrescu wrote: On 1/18/15 2:36 AM, ponce wrote: On Sunday, 18 January 2015 at 10:27:43 UTC, aldanor wrote: On Sunday, 18 January 2015 at 10:16:15 UTC, Jacob Carlborg wrote: On 2015-01-18 03:18, Andrei Alexandrescu wrote: I took the

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 13:01:48 UTC, MattCoder wrote: On Sunday, 18 January 2015 at 10:24:29 UTC, Jacob Carlborg wrote: What do you think? I'm seeing a lot a topics regards about fixing website, styles an so on. Maybe is time to try to raise money and hire someone with good knowledge

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 10:24:29 UTC, Jacob Carlborg wrote: Lately Andrei has worked a lot with improving the dlang.org site in various ways. To me it getting more clear and clear that Ddoc is not the right tool for building a web site. Especially the latest "improvement" [1] shows that i

Re: Please help me with improving dlang.org

2015-01-18 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 10:16:15 UTC, Jacob Carlborg wrote: On 2015-01-18 03:18, Andrei Alexandrescu wrote: I took the better part of today working on this: https://github.com/D-Programming-Language/dlang.org/pull/780. See demo at http://erdani.com/d/. What do you all think? Is it an im

Re: Please help me with improving dlang.org

2015-01-17 Thread aldanor via Digitalmars-d
On Sunday, 18 January 2015 at 02:18:16 UTC, Andrei Alexandrescu wrote: I took the better part of today working on this: https://github.com/D-Programming-Language/dlang.org/pull/780. See demo at http://erdani.com/d/. What do you all think? Is it an improvement over what we have now? I'd appr

Re: 10 Tips for Better Pull Requests

2015-01-17 Thread aldanor via Digitalmars-d
On Saturday, 17 January 2015 at 11:52:03 UTC, Jacob Carlborg wrote: On 2015-01-16 19:50, deadalnix wrote: It is better to have some kind of bot that comment on the PR after a while. Like "hey, this PR is hanging, can someone make thing go forward or I'll close in 2 more month". That generate a

Re: [unittest] constness

2015-01-16 Thread aldanor via Digitalmars-d
On Saturday, 17 January 2015 at 00:38:09 UTC, Luc Bourhis wrote: Testing constness implementation is easy: const Foo a; a.non_const_method(); // <<< compilation fails but how would I catch that in a unittest? Something like this? static assert(!__traits(compiles, a.non_const_method()))

Re: 10 Tips for Better Pull Requests

2015-01-16 Thread aldanor via Digitalmars-d
On Friday, 16 January 2015 at 18:50:29 UTC, deadalnix wrote: On Friday, 16 January 2015 at 16:22:13 UTC, ketmar via Digitalmars-d wrote: it sits in queue without any comments more than 20 days? reject and close it. It is better to have some kind of bot that comment on the PR after a while. L

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread aldanor via Digitalmars-d
On Monday, 12 January 2015 at 11:04:45 UTC, francesco.cattoglio wrote: On Sunday, 11 January 2015 at 19:30:59 UTC, ponce wrote: When does invalidMemoryOperationError happen and how do you avoid it? Typical example: using (a slightly outdated version of) gfm library, I have few gfm objects l

Re: Revert attributes to their defaults with default keywords

2015-01-09 Thread aldanor via Digitalmars-d
On Friday, 9 January 2015 at 13:01:14 UTC, Steven Schveighoffer wrote: On 1/9/15 7:47 AM, Daniel Kozák via Digitalmars-d wrote: V Fri, 09 Jan 2015 07:21:02 -0500 Steven Schveighoffer via Digitalmars-d napsáno: On 1/9/15 6:57 AM, Daniel Kozak wrote: I often have code like this: class A {

Re: 4x4

2015-01-08 Thread aldanor via Digitalmars-d
On Wednesday, 7 January 2015 at 07:09:01 UTC, Andrei Alexandrescu wrote: http://dlang.org/library/std/digest/digest/digest.html Ugh. -- Andrei This thread needs more digest: http://dlang.org/library/std/digest/digest/digest.digest.html

Re: Happy new year!

2014-12-31 Thread aldanor via Digitalmars-d
On Wednesday, 31 December 2014 at 16:55:01 UTC, CraigDillabaugh wrote: On Wednesday, 31 December 2014 at 16:51:45 UTC, Iain Buclaw via Digitalmars-d wrote: On 31 Dec 2014 15:00, "Craig Dillabaugh via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: On Wednesday, 31 December 2014 at 14:55:0

Tuple opAssign type deduction

2014-12-23 Thread aldanor via Digitalmars-d
alias T = Tuple!(int, "a", double, "b"); T foo = [1, 2]; // works T bar; bar = [1, 2]; // doesn't? Wonder if there's an obvious reason to this?

Re: Walter's DConf 2014 Talks - Topics in Finance

2014-12-23 Thread aldanor via Digitalmars-d
On Tuesday, 23 December 2014 at 07:51:18 UTC, Oren Tirosh wrote: On Saturday, 22 March 2014 at 12:06:37 UTC, Russel Winder wrote: On Sat, 2014-03-22 at 00:14 +, Daniel Davidson wrote: […] Maybe a good starting point would be to port some of QuantLib and see how the performance compares. In

Re: Rectangular multidimensional arrays for D

2014-12-22 Thread aldanor via Digitalmars-d
On Monday, 22 December 2014 at 22:36:16 UTC, H. S. Teoh via Digitalmars-d wrote: FYI, Kenji's merge has since been merged. So now the stage is set for somebody to step up and write a nice multidimensional array implementation. One important thing to wish for, in my opinion, is that the design

Re: Walter's DConf 2014 Talks - Topics in Finance

2014-12-22 Thread aldanor via Digitalmars-d
On Monday, 22 December 2014 at 17:28:39 UTC, Daniel Davidson wrote: I don't see D attempting to tackle that at this point. If the bulk of the work for the "data sciences" piece is the maths, which I believe it is, then the attraction of D as a "data sciences" platform is muted. If the bulk of t

Re: Walter's DConf 2014 Talks - Topics in Finance

2014-12-22 Thread aldanor via Digitalmars-d
On Monday, 22 December 2014 at 12:24:52 UTC, Laeeth Isharc wrote: In case it wasn't obvious from the discussion that followed: finance is a broad field with many different kinds of creature within, and there are different kinds of problems faced by different participants. High Frequency Tra

Re: Davidson/TJB - HDF5 - Re: Walter's DConf 2014 Talks - Topics in Finance

2014-12-22 Thread aldanor via Digitalmars-d
On Monday, 22 December 2014 at 08:35:59 UTC, Laeeth Isharc wrote: On Saturday, 22 March 2014 at 14:33:02 UTC, TJB wrote: On Saturday, 22 March 2014 at 13:10:46 UTC, Daniel Davidson wrote: Data storage for high volume would also be nice. A D implementation of HDF5, via wrappers or otherwise, wou

Re: Rectangular multidimensional arrays for D

2014-12-22 Thread aldanor via Digitalmars-d
A gap in multi-dimensional rectangular arrays functionality in D is sure a huge blocker when trying to use it for data science tasks. Wonder what's the general consensus on this?

Re: What's missing to make D2 feature complete?

2014-12-20 Thread aldanor via Digitalmars-d
- static foreach (declaration foreach) - fixing __traits templates (eg getProtection vein extremely flaky, allMembers not working etc) -- seeing as ctfe is one of flagship features of D, it would make sense to actually make it work flawlessly.

Re: allMembers returns no members for a package

2014-12-19 Thread aldanor via Digitalmars-d
On Friday, 19 December 2014 at 12:06:08 UTC, ketmar via Digitalmars-d wrote: On Fri, 19 Dec 2014 02:12:40 + aldanor via Digitalmars-d wrote: pkg/ c/ module1.d module pkg.c.module1; int x = 1; package.d module pkg.c

allMembers returns no members for a package

2014-12-18 Thread aldanor via Digitalmars-d
pkg/ c/ module1.d module pkg.c.module1; int x = 1; package.d module pkg.c; public import pkg.c.module1; test.d module pkg.test; unittest { import std.stdio; import pkg.c; wri

Re: Backtraces on Linux 64-bit

2013-11-15 Thread aldanor
On Sunday, 10 November 2013 at 07:01:57 UTC, yazd wrote: I've implemented a simple thing using addr2line. It uses dwarf debug information to resolve the addresses provided by the backtrace to line numbers. https://github.com/yazd/backtrace-d Very cool, thanks, will check it out later today a

Backtraces on Linux 64-bit

2013-10-28 Thread aldanor
Hi all, Does anybody know what's the current story with 64-bit Linux backtraces? I've seen a couple of posts here and on stackoverflow (like this http://stackoverflow.com/questions/10527901/d2-not-getting-any-backtrace-info), couldn't find any definitive answers for the 64-bit case. ./test(

Re: Call function by its string name

2013-10-19 Thread aldanor
On Saturday, 19 October 2013 at 17:58:36 UTC, Kenji Hara wrote: A quick sample code to make a table of function pointers at compiler time. That looks like exactly the kind of D-fu that I need, great example, thanks Kenji!

Re: Call function by its string name

2013-10-19 Thread aldanor
On Saturday, 19 October 2013 at 17:35:53 UTC, John Colvin wrote: On Saturday, 19 October 2013 at 17:17:47 UTC, aldanor wrote: On Saturday, 19 October 2013 at 16:56:50 UTC, John Colvin wrote: On Saturday, 19 October 2013 at 16:33:11 UTC, aldanor wrote: I was wondering if it was possible to call

Re: Call function by its string name

2013-10-19 Thread aldanor
On Saturday, 19 October 2013 at 17:19:25 UTC, Meta wrote: On Saturday, 19 October 2013 at 17:17:47 UTC, aldanor wrote: On Saturday, 19 October 2013 at 16:56:50 UTC, John Colvin wrote: On Saturday, 19 October 2013 at 16:33:11 UTC, aldanor wrote: I was wondering if it was possible to call D

Re: Call function by its string name

2013-10-19 Thread aldanor
On Saturday, 19 October 2013 at 16:56:50 UTC, John Colvin wrote: On Saturday, 19 October 2013 at 16:33:11 UTC, aldanor wrote: I was wondering if it was possible to call D functions by their names (strings that are not known at compile time) and couldn't find the answer anywhere i

Call function by its string name

2013-10-19 Thread aldanor
I was wondering if it was possible to call D functions by their names (strings that are not known at compile time) and couldn't find the answer anywhere in the documentation. Kinda like we can instantiate objects with Object.factory, would it be possible to somehow do the same with module-level