Re: GitHub behind proxy servers among other questions

2013-07-07 Thread Jesse Phillips
On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote: Hi all, I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy. Can you guys clone your projects to a single zip file that I can download? Th

GitHub behind proxy servers among other questions

2013-07-07 Thread JohnnyK
Hi all, I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy. Can you guys clone your projects to a single zip file that I can download? This would be easier instead of working with some strange

Re: Building from source for ubuntu

2013-07-07 Thread H. S. Teoh
On Sun, Jul 07, 2013 at 07:01:40PM +0100, Russel Winder wrote: > On Sun, 2013-07-07 at 19:51 +0200, John Colvin wrote: > > On Sunday, 7 July 2013 at 17:04:24 UTC, Russel Winder wrote: > > > On Sun, 2013-07-07 at 07:50 -0700, H. S. Teoh wrote: > > > […] > > >> apt-cache search libcurl | grep dev > >

Re: How can i increase max number recursive template expansions?

2013-07-07 Thread QAston
On Sunday, 7 July 2013 at 20:28:12 UTC, John Colvin wrote: On Sunday, 7 July 2013 at 20:22:59 UTC, Simen Kjaeraas wrote: On 2013-07-07, 21:55, QAston wrote: I have a large enum in my code (opcodes for a protocol) - using std.traits.EnumMembers gives me a recursive template error. How can i

Re: How can i increase max number recursive template expansions?

2013-07-07 Thread John Colvin
On Sunday, 7 July 2013 at 20:41:17 UTC, Simen Kjaeraas wrote: On 2013-07-07, 22:28, John Colvin wrote: We came up with almost identical solutions, posted within 19 seconds of each other! Sorta. Mine does repeated halving, and makes DMD run out of memory with 16384 enum members. Yours balks a

Re: How can i increase max number recursive template expansions?

2013-07-07 Thread Simen Kjaeraas
On 2013-07-07, 22:28, John Colvin wrote: We came up with almost identical solutions, posted within 19 seconds of each other! Sorta. Mine does repeated halving, and makes DMD run out of memory with 16384 enum members. Yours balks at an enum of > about 1000 elements. -- Simen

Re: How can i increase max number recursive template expansions?

2013-07-07 Thread John Colvin
On Sunday, 7 July 2013 at 20:22:59 UTC, Simen Kjaeraas wrote: On 2013-07-07, 21:55, QAston wrote: I have a large enum in my code (opcodes for a protocol) - using std.traits.EnumMembers gives me a recursive template error. How can i increase max number recursive template expansions? You can

Re: How can i increase max number recursive template expansions?

2013-07-07 Thread John Colvin
On Sunday, 7 July 2013 at 19:55:26 UTC, QAston wrote: I have a large enum in my code (opcodes for a protocol) - using std.traits.EnumMembers gives me a recursive template error. How can i increase max number recursive template expansions? I don't think you can. Please file a bug report: even

Re: How can i increase max number recursive template expansions?

2013-07-07 Thread Simen Kjaeraas
On 2013-07-07, 21:55, QAston wrote: I have a large enum in my code (opcodes for a protocol) - using std.traits.EnumMembers gives me a recursive template error. How can i increase max number recursive template expansions? You can't. However, you can amend std.traits.EnumMembers to work with

How can i increase max number recursive template expansions?

2013-07-07 Thread QAston
I have a large enum in my code (opcodes for a protocol) - using std.traits.EnumMembers gives me a recursive template error. How can i increase max number recursive template expansions?

Re: Building from source for ubuntu

2013-07-07 Thread John Colvin
On Sunday, 7 July 2013 at 18:02:03 UTC, Russel Winder wrote: On Sun, 2013-07-07 at 19:51 +0200, John Colvin wrote: On Sunday, 7 July 2013 at 17:04:24 UTC, Russel Winder wrote: > On Sun, 2013-07-07 at 07:50 -0700, H. S. Teoh wrote: > […] >> apt-cache search libcurl | grep dev > > aptitude search

Re: Building from source for ubuntu

2013-07-07 Thread Russel Winder
On Sun, 2013-07-07 at 19:51 +0200, John Colvin wrote: > On Sunday, 7 July 2013 at 17:04:24 UTC, Russel Winder wrote: > > On Sun, 2013-07-07 at 07:50 -0700, H. S. Teoh wrote: > > […] > >> apt-cache search libcurl | grep dev > > > > aptitude search libcurl.*dev > > > > surely. :-) > > to be honest,

Re: Building from source for ubuntu

2013-07-07 Thread John Colvin
On Sunday, 7 July 2013 at 17:04:24 UTC, Russel Winder wrote: On Sun, 2013-07-07 at 07:50 -0700, H. S. Teoh wrote: […] apt-cache search libcurl | grep dev aptitude search libcurl.*dev surely. :-) to be honest, most of the time I would just write "apt-get install licurl" and then look throug

Re: How to create RDM sockets?

2013-07-07 Thread Rob T
On Sunday, 7 July 2013 at 10:53:09 UTC, Andrey Derzhavin wrote: Hello! I try to create a RDM socket, but all my attempts fails by "Unable to create socket: Socket type not supported" error. How can I create a RDM socket using std.socket module? Thanks. Not all systems support RDM and/or it

Re: Building from source for ubuntu

2013-07-07 Thread Russel Winder
On Sun, 2013-07-07 at 07:50 -0700, H. S. Teoh wrote: […] > apt-cache search libcurl | grep dev aptitude search libcurl.*dev surely. :-) -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@e

Re: Building from source for ubuntu

2013-07-07 Thread H. S. Teoh
On Sun, Jul 07, 2013 at 04:26:06AM -0700, Jonathan M Davis wrote: > On Sunday, July 07, 2013 13:17:31 monarch_dodra wrote: > > On Sunday, 7 July 2013 at 10:57:08 UTC, David wrote: > > > http://packages.ubuntu.com/de/precise/libcurl-dev > > > Should do it, on Ubuntu/Debian you always need the "-dev"

Re: Building from source for ubuntu

2013-07-07 Thread Marco Leise
Am Sun, 7 Jul 2013 14:45:56 +0200 schrieb Marco Leise : > Am Sun, 07 Jul 2013 12:25:50 +0200 > schrieb "monarch_dodra" : > > > I'm hitting a wall at building phobos, because of curl: > > make -f posix.mak DMD=../dmd/src/dmd > > /usr/bin/ld: cannot find -lcurl > > > > I've isntalled curl via apt-

Re: Building from source for ubuntu

2013-07-07 Thread Marco Leise
Am Sun, 07 Jul 2013 12:25:50 +0200 schrieb "monarch_dodra" : > I'm hitting a wall at building phobos, because of curl: > make -f posix.mak DMD=../dmd/src/dmd > /usr/bin/ld: cannot find -lcurl > > I've isntalled curl via apt-get ("sudo apt-get curl"), and it > seems to be installed. Just not in l

Re: Building from source for ubuntu

2013-07-07 Thread Jonathan M Davis
On Sunday, July 07, 2013 13:17:31 monarch_dodra wrote: > On Sunday, 7 July 2013 at 10:57:08 UTC, David wrote: > > http://packages.ubuntu.com/de/precise/libcurl-dev > > Should do it, on Ubuntu/Debian you always need the "-dev" or > > "-devel" > > packages if you want to link against something or use

Re: Building from source for ubuntu

2013-07-07 Thread monarch_dodra
On Sunday, 7 July 2013 at 10:57:08 UTC, David wrote: http://packages.ubuntu.com/de/precise/libcurl-dev Should do it, on Ubuntu/Debian you always need the "-dev" or "-devel" packages if you want to link against something or use the header files Most awesome. Got it to work installing "libcurl-

Re: Building from source for ubuntu

2013-07-07 Thread David
http://packages.ubuntu.com/de/precise/libcurl-dev Should do it, on Ubuntu/Debian you always need the "-dev" or "-devel" packages if you want to link against something or use the header files

How to create RDM sockets?

2013-07-07 Thread Andrey Derzhavin
Hello! I try to create a RDM socket, but all my attempts fails by "Unable to create socket: Socket type not supported" error. How can I create a RDM socket using std.socket module? Thanks.

Re: Building from source for ubuntu

2013-07-07 Thread monarch_dodra
On Sunday, 7 July 2013 at 10:40:51 UTC, Jonathan M Davis wrote: On Sunday, July 07, 2013 12:25:50 monarch_dodra wrote: I'm building a nix environment for dmd, and am having problems buiding dmd from source on it. I'm following the instructions on the wiki: http://wiki.dlang.org/Building_DMD Th

Re: Building from source for ubuntu

2013-07-07 Thread Jonathan M Davis
On Sunday, July 07, 2013 12:25:50 monarch_dodra wrote: > I'm building a nix environment for dmd, and am having problems > buiding dmd from source on it. > > I'm following the instructions on the wiki: > http://wiki.dlang.org/Building_DMD > > The first thing I've run into seems that the X64 instru

Building from source for ubuntu

2013-07-07 Thread monarch_dodra
I'm building a nix environment for dmd, and am having problems buiding dmd from source on it. I'm following the instructions on the wiki: http://wiki.dlang.org/Building_DMD The first thing I've run into seems that the X64 instructions are out of date? it says to do "make -f posix.mak MODEL=64"

Re: Variadic template arguments unpacking

2013-07-07 Thread Artur Skawina
On 07/06/13 21:39, Max Strakhov wrote: > > If anyine has any ideas how make this implementation simplier, bring it on :) Well, you could just use the pseudo-code version that you posted, almost verbatim: > string res = ""; > for(i, rev v; args) > res ~= string.format(", f(args[%d]).val()");