On Thursday, 12 June 2014 at 18:33:38 UTC, Ary Borenszweig wrote:
On 6/12/14, 3:04 PM, Nick Sabalausky wrote:
In Ruby/Crystal you can do:
n.times do
# code
end
In D you have to write:
for(unused; 0..n) {
# code
}
Doesn't it bother you that your language requires more typing
and
If assertions are disabled in release builds, and you
specifically instruct the compiler to build one, are you not
assuming that the assertions will hold?
Then what is wrong with extending those assumptions to the
optimizer?
Unless the assertions trigger in debug build, you will not end up
On Wednesday, 6 August 2014 at 00:47:28 UTC, Walter Bright wrote:
On 8/3/2014 7:26 PM, Tove wrote:
It is possible, just not as a default enabled warning.
Some compilers offers optimization diagnostics which can be
enabled by a switch,
I'm quite fond of those as it's a much faster way to go
On Monday, 4 August 2014 at 04:09:07 UTC, Manu via Digitalmars-d
wrote:
Almost all exceptions I throw are in relation to bad input
data, and they are to be caught at a slightly higher level
of input processing.
I do not know the design that you are using, but it seems to me
that instead of
On Friday, 5 December 2014 at 20:55:55 UTC, Walter Bright wrote:
On 12/5/2014 7:27 AM, Steven Schveighoffer wrote:
Can someone who knows what this new feature is supposed to do
give some Ali
Çehreli-like description on the feature? Basically, let's
strip out the *proof*
in the DIP (the how it
On Saturday, 6 December 2014 at 12:38:24 UTC, Ola Fosheim Grøstad
wrote:
On Saturday, 6 December 2014 at 04:31:48 UTC, Sebastiaan Koppe
wrote:
What about also adding the inverse of scope? Then scope can be
inferred. As in:
```
void foo(int* p);
void free(P)(consume P* p);
Yes, this is much
On Friday, 5 December 2014 at 23:58:41 UTC, Walter Bright wrote:
On 12/5/2014 8:48 AM, Marc Schütz schue...@gmx.net wrote:
scope ref int foo();
scope ref int bar1(ref int a) {
return a;
}
scope ref int bar2(scope ref int a) {
return a;
}
ref int bar3(ref
On 6/12/2014 5:45 a.m., Dicebot wrote:
In my opinion OOP is very unfriendly for testing as a paradigm
in general. The very necessity to create mocks is usually an
alarm.
I am curious how you would write tests without mocks.
On Sunday, 14 December 2014 at 08:02:47 UTC, ketmar via
Digitalmars-d wrote:
I find a much bigger problem is tendency for some programmers
to
commit over-abstraction, sacrificing heaps of
efficiency/performance
in the process. Most open-source engines are this kind, and
will never
release a
On Thursday, 22 January 2015 at 05:27:04 UTC, Zekereth wrote:
First of all I like the new design. Way better than what's here
now. I'll just throw another site into the mix that I like
which is Ocaml's site: https://ocaml.org/ .
I like than one and it addresses some of the remarks about a
On Wednesday, 21 January 2015 at 23:25:04 UTC, Mike wrote:
I have to agree with Walter, and prefer the denser design.
This proposal is attractive, though, but the new website trends
are too sparse. I realize this is the modern trend, but that
trend seems to treat eveything like a 5
On Thursday, 22 January 2015 at 01:37:25 UTC, Kiith-Sa wrote:
On Thursday, 22 January 2015 at 01:34:01 UTC, Sebastiaan Koppe
wrote:
On Wednesday, 21 January 2015 at 17:52:56 UTC, Kiith-Sa wrote:
Suggested improvement:
http://imgur.com/a/zgSJa
Can't open link.
Direct image links:
current:
On Saturday, 17 January 2015 at 08:22:19 UTC, Andrei Alexandrescu
wrote:
Hello,
I was looking at
http://css-tricks.com/examples/CleanCode/Beautiful-HTML.png,
which includes an interesting comment: ID applied to body to
allow for unique page styling without any additional markup.
That
On Friday, 16 January 2015 at 17:40:40 UTC, Andrei Alexandrescu
wrote:
I just added
https://github.com/D-Programming-Language/dlang.org/pull/770,
which generates minified css files. This is because in the near
future css files will become heftier (more documentation
comments, more detailed
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:
On Wednesday, 21 January 2015 at 15:25:53 UTC, wobbles 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:
On Wednesday, 21 January 2015 at 16:22:08 UTC, aldanor wrote:
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
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: http://imgur.com/v8TC1xq.
I'm seeing the red menu at the top, the gray
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 suggestions
https://github.com/skoppe/dlang.org
I case you only want to make
On Wednesday, 21 January 2015 at 15:08:02 UTC, Xinok 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:
On Wednesday, 21 January 2015 at 16:15:21 UTC, eles wrote:
On Wednesday, 21 January 2015 at 14:46:22 UTC,
Impressive. Make the top menu larger on phone, pls. Otherwise,
amazing.
The menu is not working indeed. It needs to default to a sliding
menu on phones.
On Thursday, 22 January 2015 at 00:39:52 UTC, Brad Anderson wrote:
On Wednesday, 21 January 2015 at 23:32:29 UTC, anonymous wrote:
Here's a mock-up with a wide version of the logo I've been
toying around with:
http://i.imgur.com/nesKYdQ.png
SVG logo: https://mediacru.sh/8eaa7f9c3421
That
On Wednesday, 21 January 2015 at 17:52:56 UTC, Kiith-Sa wrote:
Suggested improvement:
http://imgur.com/a/zgSJa
Can't open link.
On Wednesday, 21 January 2015 at 20:46:40 UTC, MattCoder wrote:
On Wednesday, 21 January 2015 at 19:51:57 UTC, Walter Bright
wrote:
On 1/21/2015 6:46 AM, Sebastiaan Koppe wrote:
Just for fun and proof-of-concept I went ahead and forked the
dlang.org site. I
basically took the
On Wednesday, 21 January 2015 at 19:51:57 UTC, Walter Bright
wrote:
Swift: https://developer.apple.com/swift/
Go: https://golang.org/
Rust: http://www.rust-lang.org/
C++: http://www.cplusplus.com/
C#: doesn't seem to have one!
Java: http://java.com/en/
Haskell: https://www.haskell.org/
On Monday, 19 January 2015 at 12:00:58 UTC, Ola Fosheim Grøstad
wrote:
On Sunday, 18 January 2015 at 10:24:29 UTC, Jacob Carlborg
wrote:
Why don't we instead make use of a proper framework both on
the server side and client side. Personally I would go with
Ruby on Rails but I know that most of
On Saturday, 17 January 2015 at 18:23:45 UTC, Andrei Alexandrescu
wrote:
On 1/17/15 10:01 AM, Sebastiaan Koppe wrote:
A seasoned JS programmer can rewrite that stuff in about 6kb,
if not less.
Great. You forgot to link to your pull request :o).
Wait, one step back. I was still in assessment
On Saturday, 17 January 2015 at 20:17:51 UTC, Andrei Alexandrescu
wrote:
On 1/17/15 12:00 PM, Sebastiaan Koppe wrote:
On Saturday, 17 January 2015 at 18:23:45 UTC, Andrei
Alexandrescu wrote:
On 1/17/15 10:01 AM, Sebastiaan Koppe wrote:
In the browser. So that on a reload of the page, the
On Saturday, 17 January 2015 at 20:52:28 UTC, Andrei Alexandrescu
wrote:
I know I am imposing on somebodies else's work here, but
compressing
resources should really be done.
Our webmaster got back. He said compression is more CPU work
and on a fat pipe (which we do have) that may make
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.eu
It is still a wip, but the landing page and the language
reference (see Docs menu-item) is working.
Doing the ddoc was a
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
On Sunday, 18 January 2015 at 07:42:10 UTC, Andrei Alexandrescu
wrote:
On 1/17/15 11:23 PM, Sebastiaan Koppe wrote:
On Saturday, 17 January 2015 at 20:52:28 UTC, Andrei
Alexandrescu
wrote:
Our webmaster got back. He said compression is more CPU work
and on a
fat pipe (which we do have) that
On Saturday, 14 February 2015 at 10:25:52 UTC, Vladimir Panteleev
wrote:
make it stop using its own templating language and use the one
we already use for everything else - HTML, PDF, Mobi, CHM -
DDoc.
DDoc isn't a good tool to generate webpages. For the simple
reason that a webpage needs to
On Monday, 16 March 2015 at 08:54:20 UTC, Joakim wrote:
One day, the tide may turn towards native efficiency again, say
because of mobile or more people writing code that runs on
large server clusters, and D will be well-positioned to benefit
if and when that happens.
I hear ya, we have a
On Saturday, 21 March 2015 at 01:31:21 UTC, Andrei Alexandrescu
wrote:
On 3/20/15 5:56 PM, Walter Bright wrote:
On 3/20/2015 5:23 PM, Andrei Alexandrescu wrote:
Yah, and uses reference counting for management. -- Andrei
Ref counting won't improve splitLines, because it must keep
them all.
On Saturday, 20 June 2015 at 12:35:11 UTC, weaselcat wrote:
I recently read this facebook post on their future
implementation in their Folly library.
https://code.facebook.com/posts/1661982097368498
This made me slightly envious. Thoughts on a D implementation?
After having worked with
On Wednesday, 17 June 2015 at 06:08:57 UTC, Andrei Alexandrescu
wrote:
2. Do break compatibility of containers, mainly by taking
advantage of them being under-documented. In a way we wouldn't
break much because not much has been specified. There are,
however, parts where we'd need to change
On Thursday, 28 May 2015 at 02:04:31 UTC, Erik Smith wrote:
Shouldn't the statement be reusable? I.e. bind variables and run
multiple times. From the code examples creating a statement and
binding variables seemed to be coupled.
Since one obvious use case would be running the behind a http
On Thursday, 28 May 2015 at 04:57:55 UTC, Robert burner Schadek
wrote:
On Thursday, 28 May 2015 at 04:45:52 UTC, Erik Smith wrote:
Shouldn't the statement be reusable?
Yes it should. I added this use case:
auto stmt = con.statement(insert into table values(?,?));
stmt.execute(a,1);
On Tuesday, 30 June 2015 at 14:58:45 UTC, Atila Neves wrote:
On Tuesday, 30 June 2015 at 12:42:40 UTC, Sebastiaan Koppe
wrote:
On Tuesday, 30 June 2015 at 08:06:37 UTC, Atila Neves wrote:
[...]
These days I am leaning towards BDD, but everybody has his
favorite. Maybe just providing the
On Thursday, 2 July 2015 at 12:28:41 UTC, Dicebot wrote:
On Wednesday, 1 July 2015 at 19:38:20 UTC, Jacob Carlborg wrote:
In every project I have used RSpec I have added custom
matchers/assertions. Just a couple of days ago I added a
custom matcher to one of my projects:
code =
On Tuesday, 30 June 2015 at 08:06:37 UTC, Atila Neves wrote:
In case you don't know what I'm talking about:
https://github.com/D-Programming-Language/phobos/pull/3207
Since this is an API issue it's import to get it right the
first time. Personally I'm not sure what I prefer (well, I am,
but
On Wednesday, 29 July 2015 at 17:25:17 UTC, Etienne wrote:
I can't share source but the idea is simple. You configure a
DNS subdomain my.domain.com = 127.0.0.1, and test that address
with javascript when a logins to the public website, if it
doesn't work you show a message plugin required. The
On Friday, 31 July 2015 at 03:29:59 UTC, Brandon Ragland wrote:
People see minecraft as terrible graphics, pixellated but
each block represents 16 triangles
I really hope they don't render a block with 16 triangles.
and there could be thousands of blocks on screen. You're easily
looking at
On Friday, 31 July 2015 at 14:23:28 UTC, Atila Neves wrote:
On Friday, 31 July 2015 at 11:16:48 UTC, Biotronic wrote:
Why can't another template use the very same concept
information to check if a type implements the concept?
e.g.:
@satisfies!(myConcept, MyStruct)
struct MyStruct { /* ... */
On Monday, 3 August 2015 at 03:28:26 UTC, Rikki Cattermole wrote:
On 3/08/2015 1:35 p.m., Sebastiaan Koppe wrote:
On Sunday, 2 August 2015 at 14:03:50 UTC, Rikki Cattermole
wrote:
Some of things that goes on in the modding world is truely
amazing.
For every item/block with a recipe and
On Sunday, 2 August 2015 at 14:03:50 UTC, Rikki Cattermole wrote:
Some of things that goes on in the modding world is truely
amazing.
For every item/block with a recipe and vanilla items/blocks
hardcoded. It'll calculate at the start of runtime an EMC value
in EE3. It does it ridiculously
On Wednesday, 29 July 2015 at 13:22:43 UTC, Etienne Cimon wrote:
I actually use the size of a vibe.d application (2mb) to my
advantage to produce a plugin that will overload certain
requests on the client's computer (via a windows service or
launchd daemon and reverse proxy). This allows much
On Wednesday, 29 July 2015 at 07:30:50 UTC, yawniek wrote:
In times of reactive frameworks it makes no sense anymore to
render html in the backend.
Nowadays with the many client-side dom manipulations it is
tempting to just do it all in the client. But in terms of speed
it also makes sense
On Tuesday, 11 August 2015 at 08:01:53 UTC, John Colvin wrote:
On Tuesday, 11 August 2015 at 04:51:03 UTC, deadalnix wrote:
And why does it keep moving ? Why isn't it in some place where
linker will find it ?
Is that really worth it to have every build system to have to
jump through hoops to
On Monday, 27 July 2015 at 04:11:50 UTC, Rikki Cattermole wrote:
What I currently have is code templates as follows:
?lua
echo(p .. consumeNextText() .. /p)
?
Hi there, this is some text!
Woopity doo.
?lua
include_text(?lua echo(\boo\) ?)
?
So it would output something like:
On Sunday, 26 July 2015 at 00:31:48 UTC, Jonathan M Davis wrote:
auto foo(T)(T t)
if(cond1!T cond2!T cond3!T cond4!T cond5!T
cond6!T cond7!T)
{
...
auto b = bar(t);
...
auto c = baz(t);
...
}
auto bar(T)(T t)
if(cond2!T cond3!T)
{
...
auto l =
On Sunday, 12 July 2015 at 12:14:31 UTC, Ola Fosheim Grøstad
wrote:
What do you think about the future for D in the web service
space?
What about this question: in 5 years from now what would be the
reason D failed?
These come to my mind:
Tooling
Marketing
Talent Pool (companies not
On Tuesday, 14 July 2015 at 16:25:29 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 14 July 2015 at 15:17:13 UTC, Sebastiaan Koppe
wrote:
On Sunday, 12 July 2015 at 12:14:31 UTC, Ola Fosheim Grøstad
wrote:
What do you think about the future for D in the web service
space?
What about this
On Saturday, 18 July 2015 at 01:35:03 UTC, Jonathan M Davis wrote:
On Friday, 17 July 2015 at 20:54:33 UTC, Walter Bright wrote:
Should just be Aliases
Then you have the confusion about whether you're talking about
the replacement of TypeTuple or just aliases in general -
especially if
On Tuesday, 27 October 2015 at 11:41:52 UTC, Andrei Alexandrescu
wrote:
The crux of the matter is modular typechecking. Consider the
following example:
// module widget.d
@safe class Widget {
void fun() {
g_widget = this;
}
}
static Widget g_widget;
// end of module widget.d
Now, once
On Wednesday, 21 October 2015 at 17:38:14 UTC, Jacob Carlborg
wrote:
You can have a look at Grafana [1]. Then you can have a real
time graph, if that's of interest. In addition to that the
graphs are a lot nicer :)
I prefer andrei's graphics.
- no bells or whistles
- no 2mb javascript to
On Saturday, 31 October 2015 at 07:57:06 UTC, Brad Anderson wrote:
On Saturday, 31 October 2015 at 03:07:35 UTC, Sebastiaan Koppe
wrote:
In frontend development people are likely to use the same
framework/library they used last time, in order to speed up
development. Besides know-how, most of
On Saturday, 31 October 2015 at 23:02:12 UTC, deadalnix wrote:
The hack team recently released project to add COW collection
to hack in addition to current, reference type, collections.
You can find explanation here :
http://hhvm.com/blog/10649/improving-arrays-in-hack
As collection are
On Tuesday, 3 November 2015 at 08:08:28 UTC, yawniek wrote:
i have seen many PR's and also Forum entries that deal with the
problem of newer features of the compiler not being able and
then patching or working around that to support older compiler
versions.
For end-users it is always good to
On Sunday, 1 November 2015 at 19:44:12 UTC, Ola Fosheim Grøstad
wrote:
Keep in mind that javascript frameworks die after ~2 years.
They may die young, but every framework is an improvement upon
the last. So in a way the reasoning and principles behind them
continue. In that sense it follows
On Friday, 30 October 2015 at 21:03:21 UTC, Brad Anderson wrote:
On Friday, 30 October 2015 at 16:16:11 UTC, Sebastiaan Koppe
I really have to say I fail to see any value in that JS
interface generation feature. The idea is nice, but it needs
adapters to common ajax libraries, instead of
On Wednesday, 14 October 2015 at 06:23:38 UTC, Brad Anderson
wrote:
Trying out the new JS interface generation on a little toy
project I'm getting:
[...]
Really cool feature though.
I really have to say I fail to see any value in that JS interface
generation feature. The idea is nice, but
On Monday, 2 November 2015 at 14:43:00 UTC, Nordlöw wrote:
Why not extend existing traits with a second `E`-parameter
instead of adding a new one?
What will E be when you only care whether R is an InputRange and
not about its ElementType?
On Tuesday, 3 November 2015 at 14:35:08 UTC, Andrei Alexandrescu
wrote:
https://goo.gl/r24Izw
Some of them are D1 only; I'll make an executive decision about
those soon. Some of them have been fixed or obviated by recent
improvements. And finally the bulk of them need a little work
each to
On Friday, 6 November 2015 at 11:07:10 UTC, Gerald Jansen wrote:
Model A:
Model B: (recommended if you are planning to create PRs from
the outset?)
Go with Model B, it gets the origin/upstream naming right.
Besides that, potatoes potatoes.
Of course there are many possible workflows with
On Wednesday, 7 October 2015 at 02:41:12 UTC, Walter Bright wrote:
On 10/6/2015 7:04 PM, bitwise wrote:
On Wednesday, 7 October 2015 at 01:27:27 UTC, Walter Bright
wrote:
On 10/4/2015 11:02 AM, bitwise wrote:
For example, streams.
No streams. InputRanges.
This is too vague to really
On Tuesday, 6 October 2015 at 10:05:46 UTC, Alex wrote:
I wonder if it would be better to write a more abstract
serialisation/persistance module that could use either
json,xml,some binary format and future formats.
I think there are too many particulars making an abstract
(de)serialization
On Tuesday, 7 July 2015 at 21:15:40 UTC, Andrei Alexandrescu
wrote:
So I thought we were supposed to replace bad names with good
names. Template arguments are indexable, so sequence doesn't
quite apply.
What happened? Why are we replacing a crappy term with another
crappy term?
Andrei
On Tuesday, 7 July 2015 at 16:41:41 UTC, Frank Pagliughi wrote:
Instead of pulling values out, have you considered pushing
them? E.g. by supplying a delegate that gets called when the
asynchronous action completed.
I've always been on the fence about push vs pull when writing
libraries of
On Monday, 6 July 2015 at 20:56:04 UTC, Frank Pagliughi wrote:
void set_result(int retCode) {
synchronized (mut) {
this.retCode = retCode;
completed = true;
cond.notify();
}
}
int get_result() {
synchronized (mut) {
while
On Monday, 31 August 2015 at 11:29:21 UTC, ponce wrote:
On Saturday, 29 August 2015 at 13:14:26 UTC, ponce wrote:
Looks ugly? Yes, but it makes the GC acts as a cheap leak
detector, giving accurate messages for still opened resources.
So, let me tell a little success story while using the
On Friday, 4 September 2015 at 23:08:21 UTC, Andrei Alexandrescu
wrote:
On 09/04/2015 12:39 PM, skoppe wrote:
On Thursday, 3 September 2015 at 16:46:30 UTC, Andrei
Alexandrescu wrote:
http://stackoverflow.com/questions/32369114/leap-years-not-working-in-date-and-time-program-in-dlang
The
On Tuesday, 8 September 2015 at 02:07:04 UTC, Walter Bright wrote:
Some great advice:
http://rentes.github.io/programming/stackoverflow/2015/09/03/Wisdom-of-the-Ancients/
Totally agree. Just posted a solution to my own problem:
On Tuesday, 25 August 2015 at 06:56:23 UTC, Sönke Ludwig wrote:
If I have a string variable and I want to store the upper case
version of another string, the direct mental translation is
dst = toUpper(src); - and not dst = toUpper(src).array;.
One can also say the problem is that you have a
On Wednesday, 9 September 2015 at 08:26:59 UTC, qznc wrote:
The Rust people have this Crater [0,1] tool, which essentially
builds all Rust libraries with two compiler versions and
compares for regressions.
Since D has a central library repository as well, it would make
sense to do this broad
On Friday, 11 September 2015 at 19:41:41 UTC, Martin Nowak wrote:
Does anyone have a different idea how to make a nice query
language? db.get!Person.where!(p => p.age > 21 && p.name ==
"Peter")
In our last project we took the following approach:
`auto q =
On Friday, 11 September 2015 at 15:37:45 UTC, Ola Fosheim Grøstad
wrote:
In the JavaScript world you have various versions of
JavaScript, TypeScript, TypeScript+React, TypeScript+Angular,
they coexists. So, as long as you can easily interface between
languages it is ok.
I think language
On Monday, 14 September 2015 at 18:17:05 UTC, Adam D. Ruppe wrote:
On Monday, 14 September 2015 at 13:47:10 UTC, Sebastiaan Koppe
wrote:
`auto q = query.builder!Person.age!">"(20).name("Peter");`
I confess that I'm not really paying attention to this thread,
but I can't help but think plain
On Friday, 11 September 2015 at 13:51:55 UTC, Adam D. Ruppe wrote:
jQuery has burned me in the past. Take this page for example:
http://api.jquery.com/html/
Tell me what it doesn't tell you... well, unless you know,
you'll fail.
Does it have to do with char encodings?
On Saturday, 12 September 2015 at 04:05:44 UTC, Adam D. Ruppe
wrote:
On Saturday, 12 September 2015 at 03:52:11 UTC, skoppe wrote:
That is not the only way it behaves differently. jQuery's
html() will actually execute inline script, whereas innerHTML
won't.
I'm pretty sure it is the other
On Monday, 21 September 2015 at 13:03:20 UTC, default0 wrote:
On Monday, 21 September 2015 at 00:01:01 UTC, Temtaime wrote:
I also hate errors when a lambda contains some errors.
[ 1 ].countUntil!(a => a == undeclared_something);
Error: template std.algorithm.searching.countUntil cannot
On Friday, 25 September 2015 at 05:55:08 UTC, jdeath wrote:
you guys are nuts.
instead of thinking about this shit, you should think about how
to make D usable for windows programmers.
I also write D on windows.
don't think about linux crutsches. in my company people are not
even willing to
On Friday, 25 September 2015 at 03:00:12 UTC, Jonathan M Davis
wrote:
I do kind of wonder though what MS would do if the majority of
Windows programmers really got a taste of how great the command
line is and started complaining to MS en masse about how MS
needs to have a proper command line -
On Friday, 4 December 2015 at 22:53:01 UTC, Andrei Alexandrescu
wrote:
Doesn't work. Try it!
void main()
{
import std.range : retro, take;
import std.stdio : writeln;
assert([1,2,3,4,5].retro.take(3).retro == [3,4,5]);
}
What exactly doesn't work?
On Saturday, 5 December 2015 at 01:03:05 UTC, Andrei Alexandrescu
wrote:
What exactly doesn't work?
Forward ranges.
I see; retro requires a bidirectional range.
I was thinking about
void main()
{
import std.algorithm : count;
import std.range : drop;
import
On Saturday, 5 December 2015 at 20:52:23 UTC, Andrei Alexandrescu
wrote:
On 12/05/2015 11:22 AM, Sebastiaan Koppe wrote:
What about using a rangified circular buffer of the same size
you want
the tail to be, and lazily fill it?
That's O(n) space :o). -- Andrei
I know, but it makes half
On Wednesday, 16 December 2015 at 19:32:36 UTC, Andrei
Alexandrescu wrote:
On 12/16/2015 02:12 PM, Sebastiaan Koppe wrote:
I think what I am trying to say is that a lot of stuff is
already
available on code.dlang.org, just not in phobos. Which begs the
question, should it be? And if it does,
On Tuesday, 15 December 2015 at 08:12:59 UTC, Sönke Ludwig wrote:
We have a current shortage of reviewers for the DUB repository
[1]. Martin is more or less the only one apart from me, but we
are both currently too busy to get this done in a timely
manner. If anyone can spare a few minutes
On Wednesday, 16 December 2015 at 18:47:26 UTC, deadalnix wrote:
On Wednesday, 16 December 2015 at 13:52:05 UTC, Andrei
Alexandrescu wrote:
What would you have done instead?
Honestly for D code itself, ddoc does just fine, but for the
website, plain html or some known template format like .
On Wednesday, 16 December 2015 at 15:54:09 UTC, Andrei
Alexandrescu wrote:
Right now we can nicely stream an URL as an input range. A
great extension would be to fetch several URLs at once. When
accessing r.front for that range, the user gets a pair of URL
and data chunk.
Of course the point
On Wednesday, 16 December 2015 at 21:00:55 UTC, Andrei
Alexandrescu wrote:
On 12/16/2015 03:09 PM, Sebastiaan Koppe wrote:
But do you really want to put a ODBC client in there, as an
example? Or
a grayscale filter?
ODBC maybe, grayscale filter probably not.
I should add I've argued for
On Monday, 4 January 2016 at 07:48:14 UTC, Jacob Carlborg wrote:
Perhaps I'm missing something obvious but there are several
problems with this:
1. What happens when you use more than one query for the same
table at the same scope? In the above case, "Person" is already
defined the second
On Saturday, 2 January 2016 at 03:00:19 UTC, Etienne Cimon wrote:
With libasync, you can run multiple instances of your vibe.d
server and the linux kernel will round robin the incoming
connections.
That is nice. Didn't know that. That would enable
zero-downtime-updates right?
I use docker
On Saturday, 2 January 2016 at 12:23:30 UTC, Jacob Carlborg wrote:
The core developers are making a big deal out of being able to
have DSL's as string literals and process them at compile time.
Although that's kind of pointless with SQL, since one still
needs to send to string to the database
On Saturday, 2 January 2016 at 19:48:26 UTC, Jacob Carlborg wrote:
I would rather to the opposite. Generate the necessary SQL for
a migration based on a struct, not the other way around.
I meant that you generate the struct from the DSL, and then
migration code from that struct.
On Sunday, 3 January 2016 at 14:32:48 UTC, Jacob Carlborg wrote:
On 2016-01-02 21:48, Sebastiaan Koppe wrote:
I meant that you generate the struct from the DSL, and then
migration
code from that struct.
I don't think I understand, it seems complicated.
Suppose you have this:
mixin(db(`
On Thursday, 17 December 2015 at 21:30:21 UTC, Eric Scrivner
wrote:
In the interest of "Show Don't Tell", here's what the homepage
looks like using the following font string:
font-family: Consolas, "Liberation Mono", Courier, monospace
Consolas + 1. Hack is too vertical to my taste.
It seems like a small effort with a big return. I definitely
support this. Nice idea.
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.
1 - 100 of 411 matches
Mail list logo