Re: DConf 2017 Day 3 Livestream

2017-05-06 Thread Joshua Niehus via Digitalmars-d-announce
It's over. The video has already been take down. They will chop it into individual lectures and repost them on Monday or thereabouts, I think. Ahh I see, thanks.

Re: DConf 2017 Day 3 Livestream

2017-05-06 Thread Joshua Niehus via Digitalmars-d-announce
On Saturday, 6 May 2017 at 08:03:11 UTC, Mike Parker wrote: https://www.youtube.com/watch?v=XTtruC3D2Ag Is anyone else having issues viewing the livestream?

Re: Performance of std.json

2014-06-01 Thread Joshua Niehus via Digitalmars-d
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

To deadalnix

2014-05-23 Thread Joshua Niehus via Digitalmars-d
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

idup class

2014-05-16 Thread Joshua Niehus via Digitalmars-d-learn
trying to follow: http://ddili.org/ders/d.en/class.html //--- OSX 10.9 DMD 2.065 module test; class Foo { int num; this(int num) { this.num = num; } Foo dup() const { return new Foo(this.num); } immutable(Foo) idup() const { return new

Re: idup class

2014-05-16 Thread Joshua Niehus via Digitalmars-d-learn
On Friday, 16 May 2014 at 20:36:37 UTC, Ali Çehreli wrote: My apologies. The code was written for an older version of dmd. The simplest fix is to define the constructor as pure: pure this(int num) { this.num = num; } Ali Ahh great thanks guys. No worries Ali, great

Re: [OT] DConf - How to survive without a car?

2014-05-14 Thread Joshua Niehus via Digitalmars-d
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

Re: [OT] DConf - How to survive without a car?

2014-05-09 Thread Joshua Niehus via Digitalmars-d
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.

Re: core.sync.rwmutex example

2014-05-09 Thread Joshua Niehus via Digitalmars-d-learn
Hi Charles, would the following work (just a shot in the dark) ? //--- module test; import std.stdio; import std.concurrency; void spawnedFuncFoo(Tid tid, Tid tidBar) { receive( (int i) { writeln(Foo Received the number , i); send(tidBar, i, thisTid);

Atom text editor

2014-05-06 Thread Joshua Niehus via Digitalmars-d-learn
FYI: If anyone is using GitHub's text editor Atom and would like basic D syntax highlighting: apm init --package ~/.atom/packages/language-d --convert https://github.com/textmate/d.tmbundle https://atom.io/docs/v0.94.0/converting-a-text-mate-bundle