I'm looking into ways to improve http://dlang.org/library/index.html.
Specifically I want to remove (some of) the std.c modules or at least
move them below, render the module names in code font, etc.
Again, ddox is rather opaque. Is there a source for that page, or is it
hardcoded somewhere?
On 1/11/2015 12:17 PM, Iain Buclaw via Digitalmars-d-announce wrote:
I digress, I will have to sit down and write some things up and we'll
see where I get.
Looking forward to it!
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei Alexandrescu
wrote:
http://erdani.com/d/downloads.daily.png that is. -- Andrei
You could go a long way with a little tracking code on dlang.org.
Just saying.
First time i used foreach with opApply in my classed, and i got
this strange behavior.
return e, not exit the function findClass
i tried to reproduce it, but it is worked in reproduce example.
but you can read it and read the result of writeln.
I still feel it is my eyes or a small mistake.
On Sunday, 11 January 2015 at 20:20:21 UTC, ketmar via
Digitalmars-d-learn wrote:
note the single quotes in your code: that is where it all goes
wrong. i
don't know where you got that quotes from, but this is not a
valid SQL
syntax for `CREATE TABLE`. ;-)
Thank you, I thought it might be
On Sunday, 11 January 2015 at 18:01:09 UTC, bearophile wrote:
Nordlöw:
Is doCopy really needed as an argument here?
Couldn't this be inferred from the mutability of T instead?
doCopy is useful, if it's true all the permutation arrays are
distinct and dup-ped, otherwise they are all
On Sunday, 11 January 2015 at 19:42:38 UTC, ponce wrote:
On Sunday, 11 January 2015 at 19:38:12 UTC, bearophile wrote:
Are you always able to detect them? I think languages (and
programmers) that don't have a strict attitude toward memory
safety will be slowly left behind in the few next
On Sunday, 11 January 2015 at 20:47:37 UTC, weaselcat wrote:
On Sunday, 11 January 2015 at 19:42:38 UTC, ponce wrote:
On Sunday, 11 January 2015 at 19:38:12 UTC, bearophile wrote:
Are you always able to detect them? I think languages (and
programmers) that don't have a strict attitude toward
On 1/11/15 12:28 PM, Ulrich =?UTF-8?B?S8O8dHRsZXIi?=
kuett...@gmail.com wrote:
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei Alexandrescu wrote:
http://erdani.com/d/downloads.daily.png that is. -- Andrei
You could go a long way with a little tracking code on dlang.org. Just
saying.
On Sunday, 11 January 2015 at 18:01:09 UTC, bearophile wrote:
Is doCopy really needed as an argument here?
Couldn't this be inferred from the mutability of T instead?
doCopy is useful, if it's true all the permutation arrays are
distinct and dup-ped, otherwise they are all different. It's
On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
On 1/11/15 10:48 AM, Walter Bright wrote:
The main problem is what to do about comments, which don't fit into the
grammar.
In the first version comments might go through unchanged.
Consider:
for /*comment*/ (a;
b;
On Sunday, 11 January 2015 at 19:30:59 UTC, ponce wrote:
On Sunday, 11 January 2015 at 18:25:39 UTC, francesco.cattoglio
wrote:
On Sunday, 11 January 2015 at 14:10:56 UTC, ponce wrote:
None of them has Visual Studio integration with debugging
support and that is pretty important for native and
Nordlöw:
Couldn't we do a first pass and check that if elements of T are
distinct and if so set doCopy to false otherwise true?
The algorithm you have seen in Rosettacode doesn't care if and
what items of the input sequence are duplicated, it handles them
as they are all distinct. And them
On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote:
On Sunday, 11 January 2015 at 22:55:52 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 2:54 PM, Nick B wrote:
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei
Alexandrescu wrote:
Ionno how to measure that with the data we have. --
On 12/01/2015 2:01 a.m., Gary Willoughby wrote:
Could D compete in a competition like this?
In a nutshell: We give you a bunch of ranked 2D points, then ask you to
find the most important ones inside some randomly generated rectangles.
Easy, right? Now make it fast, and you could get $5K!
On 1/11/15 4:28 PM, Peter Alexander wrote:
On Sunday, 11 January 2015 at 23:54:16 UTC, Andrei Alexandrescu wrote:
On 1/11/15 3:38 PM, Robert burner Schadek wrote:
what about making it multi column like on
http://en.cppreference.com/w/
A nice possibility, though I do like the entity + blurb
On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote:
Perhaps its better to have a number (average or mean) than no
number. Just ask 50 or 100 uers (or more) for their number of
downloads for the last 12 or 18 months. This is turn will give
you a guess-estimate as to the size of the
On 1/11/15 4:33 PM, MattCoder wrote:
On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote:
Perhaps its better to have a number (average or mean) than no number.
Just ask 50 or 100 uers (or more) for their number of downloads for
the last 12 or 18 months. This is turn will give you a
On Friday, January 09, 2015 18:03:15 Andrei Alexandrescu via Digitalmars-d
wrote:
cc Sean Kelly
https://github.com/D-Programming-Language/druntime/blob/master/src/core/sync/config.d#L28
Looks like that use has been disable with static if (false). What was
the reason?
A coworker spent a
On Sunday, 11 January 2015 at 19:27:15 UTC, Iain Buclaw via
Digitalmars-d wrote:
On 11 January 2015 at 16:23, Joakim via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sunday, 11 January 2015 at 16:13:01 UTC, Dicebot wrote:
There are very few monopolies in software, essentially
none
On 1/11/15 2:54 PM, Nick B wrote:
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei Alexandrescu wrote:
On 1/11/15 9:43 AM, Andrei Alexandrescu wrote:
I just regenerated the 28-day moving average graph:
erdani.com/d/downloads.daily.png
http://erdani.com/d/downloads.daily.png that is. --
On Sunday, 11 January 2015 at 22:55:52 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 2:54 PM, Nick B wrote:
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei
Alexandrescu wrote:
Ionno how to measure that with the data we have. -- Andrei
Perhaps its better to have a number (average or mean)
On 1/11/2015 5:53 PM, Brian Schott wrote:
On Saturday, 10 January 2015 at 20:18:03 UTC, Walter Bright wrote:
Has someone made a dfmt, like http://gofmt.com/ ?
https://github.com/Hackerpilot/dfmt
The above is the work of one afternoon and not well tested.
That was quick!
On Sunday, 11 January 2015 at 16:02:59 UTC, Joakim wrote:
You may be right that nobody else in the _D_ community sees the
value, but engineers are notorious for being ignorant of
business and economics, so nothing unusual if that's the case.
Yeah, it seems to be a big deal. D may end up
On 1/11/15 1:15 PM, Walter Bright wrote:
On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
On 1/11/15 10:48 AM, Walter Bright wrote:
The main problem is what to do about comments, which don't fit into the
grammar.
In the first version comments might go through unchanged.
Consider:
for
On Sunday, 11 January 2015 at 21:19:35 UTC, Paulo Pinto wrote:
On Sunday, 11 January 2015 at 19:30:59 UTC, ponce wrote:
On Sunday, 11 January 2015 at 18:25:39 UTC,
francesco.cattoglio wrote:
On Sunday, 11 January 2015 at 14:10:56 UTC, ponce wrote:
None of them has Visual Studio integration
On Sunday, 11 January 2015 at 23:54:16 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 3:38 PM, Robert burner Schadek wrote:
what about making it multi column like on
http://en.cppreference.com/w/
A nice possibility, though I do like the entity + blurb layout.
-- Andrei
Most of those blurbs add
I just fixed documentation to generate docs for all symbols in
core.stdc.complex. Looks unhelpful:
http://erdani.com/d/library-prerelease/core/stdc/complex.html
Any idea on how to make this better?
Thanks,
Andrei
On Sunday, 11 January 2015 at 13:10:12 UTC, Ola Fosheim Grøstad
wrote:
On Sunday, 11 January 2015 at 13:01:36 UTC, Gary Willoughby
wrote:
Could D compete in a competition like this?
The guts will have to be done in assembly or Intel intrinsics...
Why do you say that. Seems like picking the
On Friday, January 02, 2015 21:57:08 Adam D. Ruppe via Digitalmars-d wrote:
On Friday, 2 January 2015 at 21:48:34 UTC, Walter Bright wrote:
When you find yourself inserting the necessary definitions
manually in your code, file a PR as well to put them in
windows.d.
How would you feel
On Sunday, 11 January 2015 at 17:28:37 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 3:03 AM, Mathias LANG wrote:
On Saturday, 10 January 2015 at 17:23:24 UTC, Andrei
Alexandrescu wrote:
In the ddox-generated documentation the heading is e.g.
Module
std.container. I wanted to style std.container
On Monday, 12 January 2015 at 00:15:18 UTC, Andrei Alexandrescu
wrote:
Thanks!
Could someone please get on this? The few of us working on this
can't do everything. Most of the work involved is highly
parallelizable.
Please? Please? With sugar on top?
Thanks.
Andrei
I would love to, but
On Monday, 12 January 2015 at 00:29:49 UTC, Andrei Alexandrescu
wrote:
I just fixed documentation to generate docs for all symbols in
core.stdc.complex. Looks unhelpful:
http://erdani.com/d/library-prerelease/core/stdc/complex.html
Any idea on how to make this better?
Thanks,
Andrei
On 1/11/15 5:04 PM, Kiith-Sa wrote:
On Monday, 12 January 2015 at 00:29:49 UTC, Andrei Alexandrescu wrote:
I just fixed documentation to generate docs for all symbols in
core.stdc.complex. Looks unhelpful:
http://erdani.com/d/library-prerelease/core/stdc/complex.html
Any idea on how to make
On Wednesday, December 10, 2014 17:21:01 Jake via Digitalmars-d wrote:
Hello,
I'm doing some research with D concerning time zones and I need
to be able to handle a single time zone style on both Windows and
Linux. That pretty much leaves me with the IANA Time Zone
Database.
Has anyone
On 1/11/15 1:41 PM, Confused wrote:
Recently I've seen documentation work, but am confused about some
specifics.
I've seen work and/or talk being done towards...
1. Improving the text of the documentation itself
Yes please.
2. Improving ddoc with some Markdown capabilities
We have
On Sunday, 11 January 2015 at 22:19:01 UTC, Andrei Alexandrescu
wrote:
Thanks! Are there ways to override those? We need to make
dlang.org independent of
https://github.com/rejectedsoftware/ddox/. -- Andreo
By default, it uses ddox's one, but they're overrideable (by
defining a file with
On 1/11/15 4:01 PM, Mathias LANG wrote:
On Sunday, 11 January 2015 at 20:22:02 UTC, Andrei Alexandrescu wrote:
I'm looking into ways to improve http://dlang.org/library/index.html.
Specifically I want to remove (some of) the std.c modules or at least
move them below, render the module names in
On 1/11/15 4:37 PM, Mathias LANG wrote:
On Monday, 12 January 2015 at 00:15:18 UTC, Andrei Alexandrescu wrote:
Thanks!
Could someone please get on this? The few of us working on this can't
do everything. Most of the work involved is highly parallelizable.
Please? Please? With sugar on top?
On 1/11/15 4:37 PM, Walter Bright wrote:
On 1/11/2015 1:31 PM, Andrei Alexandrescu wrote:
On 1/11/15 1:15 PM, Walter Bright wrote:
On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
On 1/11/15 10:48 AM, Walter Bright wrote:
The main problem is what to do about comments, which don't fit into
On Monday, 12 January 2015 at 00:33:52 UTC, Andrei Alexandrescu
wrote:
Answers from others would be helpful. Thanks! -- Andrei
Usually once per beta and once per release.
On Saturday, 10 January 2015 at 20:18:03 UTC, Walter Bright wrote:
Has someone made a dfmt, like http://gofmt.com/ ?
That is amongst the plans for libd. I'd be happy to support
anyone that want to work on it :)
On Friday, December 19, 2014 09:47:43 Shachar Shemesh via Digitalmars-d wrote:
On 17/12/14 17:02, Adam D. Ruppe wrote:
On Wednesday, 17 December 2014 at 13:13:43 UTC, Shachar Shemesh wrote:
It just seems like extra unneeded superfluous unnecessary redundancy.
It is somewhat important
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 9:43 AM, Andrei Alexandrescu wrote:
I just regenerated the 28-day moving average graph:
erdani.com/d/downloads.daily.png
http://erdani.com/d/downloads.daily.png that is. -- Andrei
Looking at the chart it is
On Monday, 12 January 2015 at 00:33:52 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 4:33 PM, MattCoder wrote:
On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote:
Perhaps its better to have a number (average or mean) than no
number.
Just ask 50 or 100 uers (or more) for their number of
On 1/11/15 1:39 PM, Ulrich =?UTF-8?B?S8O8dHRsZXIi?=
kuett...@gmail.com wrote:
On Sunday, 11 January 2015 at 20:56:51 UTC, Andrei Alexandrescu wrote:
On 1/11/15 12:28 PM, Ulrich =?UTF-8?B?S8O8dHRsZXIi?=
kuett...@gmail.com wrote:
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei Alexandrescu
... a la https://github.com/D-Programming-Language/phobos/pull/2867.
Chip in - we need any improvement, small and large. -- Andrei
On 1/11/15 2:02 PM, Kiith-Sa wrote:
On Sunday, 11 January 2015 at 17:28:37 UTC, Andrei Alexandrescu wrote:
On 1/11/15 3:03 AM, Mathias LANG wrote:
On Saturday, 10 January 2015 at 17:23:24 UTC, Andrei Alexandrescu wrote:
In the ddox-generated documentation the heading is e.g. Module
On Sunday, 11 January 2015 at 20:30:41 UTC, Paul wrote:
On Sunday, 11 January 2015 at 20:20:21 UTC, ketmar via
Digitalmars-d-learn wrote:
note the single quotes in your code: that is where it all goes
wrong. i
don't know where you got that quotes from, but this is not a
valid SQL
syntax for
what about making it multi column like on
http://en.cppreference.com/w/
On 01/11/2015 12:25 PM, Zaher Dirkey wrote:
reproduce example here
http://dpaste.dzfl.pl/13fb453d0b1e
That link doesn't work for me. (?)
Does opApply return the delegate's return value ('b' below)?
import std.stdio;
struct S
{
int opApply(int delegate(int) dg)
{
foreach (i;
On 1/11/15 3:38 PM, Robert burner Schadek wrote:
what about making it multi column like on
http://en.cppreference.com/w/
A nice possibility, though I do like the entity + blurb layout. -- Andrei
On 1/11/2015 1:31 PM, Andrei Alexandrescu wrote:
On 1/11/15 1:15 PM, Walter Bright wrote:
On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
On 1/11/15 10:48 AM, Walter Bright wrote:
The main problem is what to do about comments, which don't fit into the
grammar.
In the first version comments
On 1/11/2015 5:06 AM, Dicebot wrote:
What is your opinion of approach advertised by various functional languages and
now also Rust? Where you return error code packed with actual data and can't
access data without visiting error code too, compiler simply won't allow it.
It's a great question.
On Sunday, 11 January 2015 at 19:50:51 UTC, Andrei Alexandrescu
wrote:
A secondary problem is what to do when the line length limit is
exceeded, such as for long expressions.
I think that's problem #1.
The usual way is to associate cost with various cesures and run
something Dijkstra (or
Recently I've seen documentation work, but am confused about some
specifics.
I've seen work and/or talk being done towards...
1. Improving the text of the documentation itself
2. Improving ddoc with some Markdown capabilities
3. Moving Phobos docs to page-per-symbol
4. Adding adding discussion
On Saturday, 10 January 2015 at 06:37:37 UTC, Ali Çehreli wrote:
On 01/09/2015 03:33 PM, MattCoder wrote:
a good excuse to take my visa!). :D
I encourage everyone to apply for visa as soon as possible. US
visa process can be frustratingly delayed depending on many
unknown factors.
Ali
On Sunday, 11 January 2015 at 20:22:02 UTC, Andrei Alexandrescu
wrote:
I'm looking into ways to improve
http://dlang.org/library/index.html. Specifically I want to
remove (some of) the std.c modules or at least move them below,
render the module names in code font, etc.
Again, ddox is rather
lets combine both there is enough space, something like
|| name | desc || name | desc ||
On Saturday, 10 January 2015 at 20:18:03 UTC, Walter Bright wrote:
Has someone made a dfmt, like http://gofmt.com/ ?
https://github.com/Hackerpilot/dfmt
The above is the work of one afternoon and not well tested.
On Sunday, 11 January 2015 at 21:16:41 UTC, Walter Bright wrote:
On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
On 1/11/15 10:48 AM, Walter Bright wrote:
The main problem is what to do about comments, which don't
fit into the
grammar.
In the first version comments might go through
On Sunday, 11 January 2015 at 20:56:51 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 12:28 PM, Ulrich =?UTF-8?B?S8O8dHRsZXIi?=
kuett...@gmail.com wrote:
On Sunday, 11 January 2015 at 17:44:59 UTC, Andrei
Alexandrescu wrote:
http://erdani.com/d/downloads.daily.png that is. -- Andrei
You could
On 9/01/2015 4:20 p.m., John Carter via Digitalmars-d-announce wrote:
If you email me at john DOT carter AT taitradio DOT com we can take this
conversation out of the D forum as it is going way off topic.
On Fri, Jan 9, 2015 at 4:05 PM, Rikki Cattermole via
Digitalmars-d-announce
On Sunday, 11 January 2015 at 12:56:40 UTC, Suliman wrote:
I had read about using C++ libs from D, and understood that
there is 2 ways:
1. Make binding - convert .H to .d (I still do not fully
understand what is it)
2. Use directly C++ lib (.dll)
No, there are not two ways. There is one
On Monday, 12 January 2015 at 00:38:20 UTC, Walter Bright wrote:
On 1/11/15 10:48 AM, Walter Bright wrote:
The main problem is what to do about comments, which don't
fit into the
grammar.
In the first version comments might go through unchanged.
Consider:
for /*comment*/ (a;
On Monday, 12 January 2015 at 07:09:54 UTC, Tobias Müller wrote:
Walter Bright newshou...@digitalmars.com wrote:
On 1/11/2015 5:06 AM, Dicebot wrote:
What is your opinion of approach advertised by various
functional languages and
now also Rust? Where you return error code packed with actual
On Sunday, 11 January 2015 at 23:50:18 UTC, Ali Çehreli wrote:
On 01/11/2015 12:25 PM, Zaher Dirkey wrote:
reproduce example here
http://dpaste.dzfl.pl/13fb453d0b1e
That link doesn't work for me. (?)
Does opApply return the delegate's return value ('b' below)?
It must return object, but
On 1/11/2015 11:09 PM, Tobias Müller wrote:
- Error codes are automatically ignored
- Exceptions are automatically propagated
IMO both are not ideal and lead to sloppy programming.
Ignoring errors is of course worse than aborting where you could have
handled the error.
Rust-style packed errors
On Monday, 12 January 2015 at 05:02:36 UTC, Joakim wrote:
Yeah, it seems to be a big deal. D may end up needing what it
doesn't appear to have: some business genius to go along with
its language design prowess. The switching costs are far too
high right now. Even the ideal programming language
I just put https://github.com/D-Programming-Language/dlang.org/pull/760
out and also generated and uploaded verbatim ddoc files for dlang.org
(sans /phobos/, only /phobos-prerelease/).
For each document on the website, if you replace .html with
.verbatim as the suffix, you'll see ddoc macros
On Monday, 12 January 2015 at 00:51:25 UTC, Walter Bright wrote:
It's a great question. I have a lot of experience with error
codes, and with exceptions. I have zero with the packed scheme,
though that doesn't stop me from having an opinion :-)
Perhaps I misunderstand, but given A calls B
Walter Bright newshou...@digitalmars.com wrote:
On 1/11/2015 5:06 AM, Dicebot wrote:
What is your opinion of approach advertised by various functional languages
and
now also Rust? Where you return error code packed with actual data and can't
access data without visiting error code too,
Can this be done in D? How easy is it? What about the runtime?
https://www.reddit.com/r/programming/comments/2s1sgg/151byte_static_linux_binary_in_rust/
Best regards,
NVolcz
On Monday, 12 January 2015 at 03:35:32 UTC, Craig Dillabaugh
wrote:
On Sunday, 11 January 2015 at 13:10:12 UTC, Ola Fosheim Grøstad
wrote:
On Sunday, 11 January 2015 at 13:01:36 UTC, Gary Willoughby
wrote:
Could D compete in a competition like this?
The guts will have to be done in assembly
On Sunday, 11 January 2015 at 19:52:42 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 11:26 AM, Steven Schveighoffer wrote:
On 1/9/15 4:17 PM, Andrei Alexandrescu wrote:
On 1/9/15 12:59 PM, Jacob Carlborg wrote:
On 2015-01-09 20:46, Andrei Alexandrescu wrote:
Stuff's up!
On Sunday, 11 January 2015 at 22:19:28 UTC, Tobias Pankrath wrote:
Hint: Put the SQL in a file create_people.sql and import it
into your code via the import statement:
string sql = import(create_people.sql); // you'll need a
correct -J compiler switch
That way you can easily test if it's
On Saturday, 10 January 2015 at 23:32:47 UTC, bearophile wrote:
Laeeth Isharc:
In D there is a feature that allows a function to accept both
an array of items and items,
yes - it is funny there is not an overloading that accepts
arrays
I meant this D feature:
void foo(T)(T[] items...) {
101 - 177 of 177 matches
Mail list logo