I'm trying to write up a tutorial for D+vibed and have stumbled
on a pretty basic issue. The DMD installer for OSX fails out of
the box on Lion and Mountain Lion because Apple got rid of their
developer command line tools stuff:
http://robots.thoughtbot.com/post/27985816073/the-hitchhikers-gui
On Thursday, 1 November 2012 at 07:30:58 UTC, Jacob Carlborg
wrote:
It's not just the installer that depends on having Xcode
installed, D depends on it. DMD uses GCC as the linker.
I see, thanks Jacob. I'll stick with the Xcode->cmd line tools
instructions then and sprinkle in a little more d
On Tuesday, 20 November 2012 at 20:23:56 UTC, Iain Buclaw wrote:
I got tired of the suspense, so I pledged the remainder $550 to
push you over the finish line.
http://www.kickstarter.com/projects/2083649206/the-d-programming-language-conference-2013-0
Lets hold a big congrats to Andrei and Wa
On Wednesday, 21 November 2012 at 18:42:55 UTC, Leandro Motta
Barros wrote:
Well, this is actually a "talk proposal for someone else". I'd
be the
audience, not the speaker.
TITLE: D Programming in D (Or: Writing idiomatic D code)
+1
I'd like to add, maybe put some focus on "Range" oriented c
On Sunday, 2 December 2012 at 23:56:29 UTC, Jonathan M Davis
wrote:
[... snip ...]
I don't like leaving clutter in code, and in this case, I think
that it's safe
and reasonable to clean up that clutter.
- Jonathan M Davis
+1
On Wednesday, 5 December 2012 at 21:05:30 UTC, Jonathan M Davis
wrote:
But I think that that's completely inappropriate for putting
into Phobos.
I'd love to try out the new stuff if its convient enough...
I dont want to go jumping around github, pick up the "staging"
material, put it into my c
On Saturday, 15 December 2012 at 06:07:10 UTC, rumbu wrote:
I'm trying to understand how strings are working in D. I got
the following error when declaring a simple string variable:
"Invalid trailing code unit":
wstring needle = `Être sans la verité`;
Considering that the line obove is copied
>On 12/1/11 2:59 AM, Walter Bright wrote:
>> On 12/1/2011 2:42 AM, Gour wrote:
>> I'd like to help with GUI bindings if D community would come more close
>> together here with some people ready to lead the herd...
>
> Why not you lead the effort?
I just went to the Qt DevDays 2011 and it looks
On Monday, 23 January 2012 at 16:43:06 UTC, F i L wrote:
There are better languages for large client-side web apps like
Coffeescript...
"CoffeeScript is a little language that compiles into JavaScript"
import std.stdio, std.stream, std.string, std.range,
std.algorithm;
void main() {
int countPalindromes;
auto infile = new BufferedFile("ukacd17.txt");
foreach (char[] line; infile) {
if (line.walkLength(2) > 1) {
line.toLowerInPlace;
if (equal(line, retro(li
I ran this code on Mac OSX Lion using the
"/usr/share/dict/words" file and got 235834 words out of
235886. I think something is wrong.
found the problem: PEBKAC (problem exists between keyboard and
chair)
sorry:)
Not as fancy as the other submits, but it might be worthy of the
front page:
import std.stdio, std.traits;
void main(string[] args) {
auto foo(T)(T n) {
return delegate(T i) {
static if (isSomeString!(T))
auto m = mixin("n ~ i");
else
On Saturday, 18 February 2012 at 08:18:32 UTC, Denis Shelomovskij
wrote:
Some remarks:
0. `string[] args` isn't needed;
1. `delegate` is not needed;
2. `isSomeString!(T)` can be replaced by `isSomeString!T`;
3. `static if` can be replaced by `auto m =
mixin(isSomeString!T ? "n ~ i" : "n + i");`;
On Tuesday, 20 March 2012 at 19:02:16 UTC, Andrei Alexandrescu
wrote:
What are your faves? I have a few in mind, but wouldn't want to
influence answers.
Thanks,
Andrei
1) inferred types (auto)
2) slices
3) whole > sum(mixin, opDispatch, static if)
On Tuesday, 8 January 2013 at 04:00:25 UTC, Elias Zamaria wrote:
Can anyone help me with this?
Do you have Xcode installed?
If so, do you have "Command Line Tools" installed?
Otherwise, you'll need to install Xcode (free from app store),
then:
Open Xcode -> Preferences -> Downloads -> Componen
On Wednesday, 16 January 2013 at 19:49:55 UTC, Philippe Sigaud
wrote:
What about creating a new page on the Wiki (D Rawks) and
putting small
articles in them? That way, we can all do it without having a
website
and newcomers can be shown its content.
http://wiki.dlang.org/D_Rocks
On Wednesday, 23 January 2013 at 22:39:04 UTC, Alan wrote:
to know if D can compete with C or Fortran for numerical work.
https://github.com/kyllingstad/scid
You dont need to compete, you can take established "good and
fast" FORTRAN/C code and use it within your own D program.
On Thursday, 24 January 2013 at 00:29:15 UTC, Joshua Niehus wrote:
You dont need to compete, you can take established "good and
fast" FORTRAN/C code and use it within your own D program.
I forgot to add:
If you doing new stuff then D can be as fast as anything eles,
provided the al
On Friday, 22 February 2013 at 21:23:04 UTC, Timon Gehr wrote:
[snip].. or the alias this syntax should be deprecated in
favour of a specially named member function.
pseudonym foo;
On Friday, 22 February 2013 at 23:20:55 UTC, Timon Gehr wrote:
auto opPseudonym() { ... }
alias opPseudonym=foo;
Isn't that creating multiple functions for the same thing?
struct Fraction
{
long numerator;
long denominator;
double value() const @property
{
return ca
didn't fully formulate that thought:
above examples vs. the following
struct Fraction
{
long numerator;
long denominator;
double value() const @property
{
return cast(double)numerator / denominator;
}
auto opPseudonym() { /* points to value() ? */ }
alias op
On Tuesday, 26 February 2013 at 18:27:13 UTC, Andrej Mitrovic
wrote:
Where's the link? I don't see it listed:
http://wiki.dlang.org/DIPs
just added:
http://wiki.dlang.org/DIP27
"Transitional measure to mitigate breakage"
// Transitional behavior.
static assert(is(typeof(&foo) == void functio
On Wednesday, 6 March 2013 at 20:58:35 UTC, Andrei Alexandrescu
wrote:
Hi everyone,
Time to design the DConf 2013 T-shirts! Please reply to this
with any ideas you may have.
I have some ideas, but I'm sure they're not the best one.
Destroy!
Thanks,
Andrei
Here is my design:
https://d
ill be wearing the losers TShirt:
https://www.dropbox.com/s/vr5cmklgjpiomgk/dconfTShirt.png
On Tuesday, 19 March 2013 at 05:02:36 UTC, deadalnix wrote:
I like it as well. Did you printed it already ?
not yet, i was mocking up the design (after some feedback*) on a
custom t-shirt website. I'll probably order it next week or so;
wear it around for humor's sake.
* can't believe peopl
On Sunday, 31 March 2013 at 20:02:40 UTC, monarch_dodra wrote:
This is a two part post.
First, I wanted to pol how many users out there were developing
under OSX? The threads seem to indicated users under windows or
Linux, but I've never heard of anybody under OSX. So who has or
is developing
yes
On Wednesday, 24 April 2013 at 12:03:52 UTC, Dmitry Olshansky
wrote:
E.g. std.regex would import std.concept.random to get
isUniformRNG and rely on duck typing thusly described to use it
correctly.
Thoughts? Other ideas?
how would this be different then limited imports such as:
import std.ran
I take it back, dispose is no good. That should be the name of
the deterministic destructor in the object.
Now I don't have a good name. Finalize isn't right, and
neither is dispose...
-Steve
disembowel?
<-- sycophant (wishes he was an Ent)
On Tuesday, 10 September 2013 at 20:48:58 UTC, Andrei
Alexandrescu wrote:
We're considering making dub the official package manager for
D. What do you all think?
This would be awesome.
+1
On Sunday, 15 September 2013 at 18:38:54 UTC, Sönke Ludwig wrote:
Just as a reminder, this is the current version:
http://vibed.org/temp/d-programming-language.org/phobos/std/array.html
This is way better
+1
On Wednesday, 2 October 2013 at 02:22:42 UTC, Alan wrote:
Hello! I'm working on a project and I was going to use LLVM ...
[...snip..]
I want to know if anyone here has any experience witht his by
any chance? The source of the problem? Is it a bug? Thanks for
any suggestions.
Sorry, I haven't
On Monday, 6 May 2013 at 02:35:33 UTC, dsimcha wrote:
Article:
http://davesdprogramming.wordpress.com/2013/05/06/low-lock-singletons/
Reddit:
http://www.reddit.com/r/programming/comments/1droaa/lowlock_singletons_in_d_the_singleton_pattern/
Excellent talk at the conf, solid blog: +1 and 1
On Monday, 20 May 2013 at 06:18:15 UTC, Jesse Phillips wrote:
Sunday April 26 PST will be the last day of voting.
2014?
vote: yes
On Saturday, 25 May 2013 at 16:27:59 UTC, deadalnix wrote:
Hi, I obviously don't know D that much, but I assume I do.
[..snip..]
+1
On Wednesday, 5 June 2013 at 06:27:46 UTC, Dylan Knutson wrote:
"which exposes a much more palatable interface to path string
manipulation".
[...snip...]
I'd like some feedback on what others think about this;
personally, I prefer the current implementation and found it easy
to use for the mu
On Thursday, 30 May 2013 at 13:13:02 UTC, MrzlganeE wrote:
I hate you all, and with this, I exit the D community
ooo, a sensitive troll...
There was a time when D didn't have the sugary lambda syntax: "=>"
I think that turned out nicely.
(maybe someone already mentioned this in the thread, did
On Thursday, 21 November 2013 at 13:56:07 UTC, Jacob Carlborg
wrote:
BTW, if you're able to figure out how to build the Mac OS X
installer on Linux Walter would appreciate it. I failed to do
that.
this might help:
https://github.com/hogliux/bomutils
On Tuesday, 3 December 2013 at 22:28:26 UTC, H. S. Teoh wrote:
[snip] Then you can write:
Set a, b, c;
auto d = mixin(SetExpr!"a ∪ (b ∩ c)");
// The above line gets turned into:
// auto d = a.union(b.intersection(c));
// at compile-
On Saturday, 7 December 2013 at 17:29:43 UTC, bearophile wrote:
Even Ada2012 has a similar syntax. I think it's worth having in
D.
The ER:
https://d.puremagic.com/issues/show_bug.cgi?id=7176
Bye,
bearophile
similar to dart, my 2nd favorite lang :)
https://www.dartlang.org/articles/idiomatic-
On Wednesday, 11 December 2013 at 19:45:25 UTC, Andrej Mitrovic
wrote:
As for my future plans, I'm hoping to land myself a nice
programming-related job next year.
I hear facebook and sociomantic are hiring ;)
I live in the area and will be driving by Aloft on my way to FB.
I can fit 3 other people (sliver Rav4). Ill just pull up with a
clever D theme sign on my car and pick up any stragglers if
needed.
On Wednesday, 14 May 2014 at 21:31:08 UTC, Jeremy Powers via
Digitalmars-d wrote:
Excellent. I need a lift if possible? Of so please tell me
when I should
be in the aloft lobby?
This seems to still be an open question - what time to gather?
I'll be there between 8am and 8:15am and will ha
watching your talk was like witnessing Fermats last theorem being
proven...
the scheduler solution was brilliant and the semantic analysis of
a mixin statement that resulted in a comprehensible error message
blew my mind.
Here is a belated applause that should have happened during those
sli
On Monday, 2 June 2014 at 00:18:19 UTC, David Soria Parra wrote:
Would it make sense to start thinking about using ujson4c as an
external library, or maybe come up with a better
implementation. I know Orvid has something and might add some
analysis as to why std.json is slow. Any ideas or point
46 matches
Mail list logo