Re: D Conference 2012 - Sep 26-29 at the Banker's Suite and Ballroom in Astoria, Oregon

2012-05-19 Thread Era Scarecrow
On Thursday, 17 May 2012 at 21:38:32 UTC, Paul D. Anderson wrote: I live nearby (Seattle) so I will be attending, but need to make plans. I live nearby, perhaps an 8 hour drive. But September is quite a ways off. Anything can happen in 3 months time. If nothing prevents me, I will attend

Re: Adam Wilson is now a GSoC 2012 mentor!

2012-05-19 Thread Jacob Carlborg
On 2012-05-19 06:03, Andrew Wiley wrote: Half of Eclipse ~4-6 years ago ported to D. That certainly doesn't make it not useful, but DWT hasn't managed to keep up with Eclipse. I know, I know. Any help is welcome. -- /Jacob Carlborg

Re: Introducing vibe.d!

2012-05-19 Thread bioinfornatics
How do a manual install on linux ? I am a fedora user they are no specialized or common install documentation!

Re: DCT: D compiler as a collection of libraries

2012-05-19 Thread Marco Leise
Am Fri, 11 May 2012 10:01:28 +0200 schrieb Roman D. Boiko r...@d-coding.com: There were several discussions about the need for a D compiler library. I propose my draft implementation of lexer for community review: https://github.com/roman-d-boiko/dct Lexer is based on Brian Schott's

Re: dpj for Windows

2012-05-19 Thread Nick Sabalausky
dnewbie r...@myopera.com wrote in message news:qufvdhexcdzabuzqr...@forum.dlang.org... dpj is a mini-ide for the D programming language. http://my.opera.com/run3/blog/2012/05/20/dpj That's a good start! Not bad. Is it written in D? A few notes: - It's much faster to just pass all the files

Re: dpj for Windows

2012-05-19 Thread Alex Rønne Petersen
On 20-05-2012 05:53, Nick Sabalausky wrote: dnewbier...@myopera.com wrote in message news:qufvdhexcdzabuzqr...@forum.dlang.org... dpj is a mini-ide for the D programming language. http://my.opera.com/run3/blog/2012/05/20/dpj That's a good start! Not bad. Is it written in D? A few notes: -

Re: GSOC Linker project

2012-05-19 Thread Andrej Mitrovic
On 5/4/12, Pierre LeMoine yarr.luben+dl...@gmail.com wrote: I'm interested in starting a project to make a linker besides optlink for dmd on windows. I've found this randomly in my links (ELF Linux linker, but still might be useful info): http://research.google.com/pubs/pub34417.html The

Re: Posix vs. Windows

2012-05-19 Thread H. S. Teoh
On Sat, May 19, 2012 at 04:10:29AM +0200, Mehrdad wrote: On Saturday, 19 May 2012 at 01:28:32 UTC, H. S. Teoh wrote: You must be using Emacs with a GUI. No, I told you I hate Emacs. :P I've seen *other* people do it, and it's horribly slow. Well, let's just say that Emacs and gui in a

Re: [OT] Windows users: Are you happy with git?

2012-05-19 Thread Andrej Mitrovic
On 5/18/12, Lars T. Kyllingstad pub...@kyllingen.net wrote: did Git actually turn out to work well on Windows? Console2+msysgit, and of course a bunch of aliases (.bashrc) to make my life easier: alias cd..='cd ..' alias dir=ls -F alias cls='clear' alias c:='cd /c/' alias d:='cd /d/' alias

Re: [OT] Windows users: Are you happy with git?

2012-05-19 Thread H. S. Teoh
On Sat, May 19, 2012 at 09:05:56AM +0700, Ary Manzana wrote: On 5/18/12 9:03 PM, Jacob Carlborg wrote: On 2012-05-18 16:01, Manu wrote: On 18 May 2012 16:41, Alex Rønne Petersen a...@lycus.org mailto:a...@lycus.org wrote: But to be fair, most enterprises/businesses use Linux for servers,

Re: Posix vs. Windows

2012-05-19 Thread Paulo Pinto
Am 19.05.2012 04:15, schrieb Mehrdad: On Saturday, 19 May 2012 at 02:10:31 UTC, Mehrdad wrote: Worse yet, no way in hell that a command-line tool would tell you your documentation is messed up. :P I should submit a correction: Nothing wrong with the command-line-ness per se -- it's just

Re: D dropped in favour of C# for PSP emulator

2012-05-19 Thread Era Scarecrow
On Saturday, 19 May 2012 at 01:33:55 UTC, Jesse Phillips wrote: On Friday, 18 May 2012 at 16:59:41 UTC, Bruno Medeiros wrote: So just starting up the IDE is more important than actually writing code or fixing bugs?... I'd like to see you do those things without starting your IDE. Seriously,

Re: Posix vs. Windows

2012-05-19 Thread Mehrdad
On Saturday, 19 May 2012 at 06:47:48 UTC, H. S. Teoh wrote: One day it's bound to happen, though. Yeah I'd heard about some similar stuff too, waiting to hear about it. Substitute length( with size( instead of just length with size. Problem solved. :-) Er, you missed the entire point

Re: [OT] Windows users: Are you happy with git?

2012-05-19 Thread Michael
Happy with Mercutial (CLI), Windows family and OpenSUSE ;)

Re: [OT] Windows users: Are you happy with git?

2012-05-19 Thread Mehrdad
On Saturday, 19 May 2012 at 02:05:54 UTC, Ary Manzana wrote: On 5/18/12 9:03 PM, Jacob Carlborg wrote: On 2012-05-18 16:01, Manu wrote: On 18 May 2012 16:41, Alex Rønne Petersen a...@lycus.org mailto:a...@lycus.org wrote: But to be fair, most enterprises/businesses use Linux for servers,

Re: Posix vs. Windows

2012-05-19 Thread Dmitry Olshansky
On 19.05.2012 3:03, H. S. Teoh wrote: On Fri, May 18, 2012 at 11:08:26PM +0200, Mehrdad wrote: On Friday, 18 May 2012 at 19:40:35 UTC, H. S. Teoh wrote: This is one of those things that makes Windows (l)users wonder how we Unix people can stand using the shell all day -- their idea of shell is

Re: Posix vs. Windows

2012-05-19 Thread Stewart Gordon
On 19/05/2012 00:51, H. S. Teoh wrote: On Sat, May 19, 2012 at 01:21:56AM +0200, Mehrdad wrote: On Friday, 18 May 2012 at 23:02:18 UTC, H. S. Teoh wrote: I find IDEs more painful to use than scratching your nails on a chalkboard. The inability of running an IDE over a remote SSH session

Re: Posix vs. Windows

2012-05-19 Thread Sean Kelly
On May 18, 2012, at 5:39 PM, Mehrdad wfunct...@hotmail.com wrote: Yeah, imagine trying to name a method named getValue() to something else (probably because you realized that's not a great name :P). A HUGE time waster without refactoring tools, and last time I checked, no text-based tool

Re: Posix vs. Windows

2012-05-19 Thread Sean Kelly
On May 18, 2012, at 7:10 PM, Mehrdad wfunct...@hotmail.com wrote: 2. Okay, so that's clever. :P Now tell me what you do when you have dozens of lines in your source file like @property auto length() { return _range.length; } and you want to rename the field 'length'? How do you

Re: Posix vs. Windows

2012-05-19 Thread Paulo Pinto
On Saturday, 19 May 2012 at 13:49:28 UTC, Sean Kelly wrote: On May 18, 2012, at 7:10 PM, Mehrdad wfunct...@hotmail.com wrote: 2. Okay, so that's clever. :P Now tell me what you do when you have dozens of lines in your source file like @property auto length() { return _range.length; }

Re: stream interfaces - with ranges

2012-05-19 Thread kenji hara
Sorry, I have updated it. Run 'make runbench' or 'make runbench_opt'. Kenji Hara 2012/5/19 Artur Skawina art.08...@gmail.com: On 05/18/12 17:43, kenji hara wrote: I'm designing experimental IO primitives: https://github.com/9rnsr/dio It has a sample benchmark to compare performance with

Re: Posix vs. Windows

2012-05-19 Thread Sean Kelly
On May 19, 2012, at 7:00 AM, Paulo Pinto pj...@progtools.org wrote: On Saturday, 19 May 2012 at 13:49:28 UTC, Sean Kelly wrote: On May 18, 2012, at 7:10 PM, Mehrdad wfunct...@hotmail.com wrote: 2. Okay, so that's clever. :P Now tell me what you do when you have dozens of lines in your source

Re: MBCS character code support

2012-05-19 Thread Denis Shelomovskij
16.05.2012 8:26, Alex Rønne Petersen написал: On 16-05-2012 06:18, Katayama Hirofumi MZ wrote: On Wednesday, 16 May 2012 at 04:12:04 UTC, Alex Rønne Petersen wrote: I really do not understand why you want to use Shift-JIS. Unicode has long superseded all these magical encodings used all over

Re: Method pointers are *function* pointers?? Or delegates??

2012-05-19 Thread deadalnix
Le 19/05/2012 03:37, Daniel Murphy a écrit : Mehrdadwfunct...@hotmail.com wrote in message news:ifswigmcenyryxzyv...@forum.dlang.org... On Friday, 18 May 2012 at 18:59:23 UTC, Steven Schveighoffer wrote: On Fri, 18 May 2012 14:30:46 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org

Re: Method pointers are *function* pointers?? Or delegates??

2012-05-19 Thread deadalnix
Le 18/05/2012 22:35, Andrei Alexandrescu a écrit : On 5/18/12 1:59 PM, Steven Schveighoffer wrote: On Fri, 18 May 2012 14:30:46 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On 5/18/12 1:22 PM, Mehrdad wrote: My brain just exploded. Can someone explain what's going on?

Possible bug in the D compiler w.r.t x86_64 ABI calling convention

2012-05-19 Thread Sandeep Datta
Hi, I seem to have discovered a bug in the D compiler which is causing it to emit incompatible code with gcc on Ubuntu 11.04 x86_64. I have minimised the code required to reproduce this problem and uploaded it to github, here is the link https://github.com/SDX2000/CFromDTest1. Once you

Re: Possible bug in the D compiler w.r.t x86_64 ABI calling convention

2012-05-19 Thread David Nadlinger
On Saturday, 19 May 2012 at 18:31:45 UTC, Sandeep Datta wrote: Please do let me know if this is a legitimate bug and if I need to file a bug report. x86_64 struct ABI differences are a known problem and being worked on, a fix will likely be included with the next release. David

Re: Possible bug in the D compiler w.r.t x86_64 ABI calling convention

2012-05-19 Thread Sandeep Datta
On Saturday, 19 May 2012 at 18:37:20 UTC, David Nadlinger wrote: On Saturday, 19 May 2012 at 18:31:45 UTC, Sandeep Datta wrote: Please do let me know if this is a legitimate bug and if I need to file a bug report. x86_64 struct ABI differences are a known problem and being worked on, a fix

Re: Possible bug in the D compiler w.r.t x86_64 ABI calling convention

2012-05-19 Thread Sandeep Datta
On Saturday, 19 May 2012 at 18:41:28 UTC, Sandeep Datta wrote: On Saturday, 19 May 2012 at 18:37:20 UTC, David Nadlinger wrote: On Saturday, 19 May 2012 at 18:31:45 UTC, Sandeep Datta wrote: Please do let me know if this is a legitimate bug and if I need to file a bug report. x86_64 struct

Re: stream interfaces - with ranges

2012-05-19 Thread Masahiro Nakagawa
On Friday, 18 May 2012 at 19:18:21 UTC, Artur Skawina wrote: On 05/18/12 20:18, Artur Skawina wrote: On 05/18/12 17:43, kenji hara wrote: I'm designing experimental IO primitives: https://github.com/9rnsr/dio It has a sample benchmark to compare performance with std.stdio for line

Re: stream interfaces - with ranges

2012-05-19 Thread Masahiro Nakagawa
Please add README to top directory. (Contents are benchmark command, support environment and etc) We can see such information on web browser ;) P.S. I want to do pull request for supporting other environments. But I'm busy right now... Masahiro On Saturday, 19 May 2012 at 15:22:37 UTC, kenji

Re: scope ref const(T) -- error?!

2012-05-19 Thread Mehrdad
http://d.puremagic.com/issues/show_bug.cgi?id=8121

Re: Posix vs. Windows

2012-05-19 Thread Paulo Pinto
Am 19.05.2012 15:35, schrieb Sean Kelly: On May 18, 2012, at 5:39 PM, Mehrdadwfunct...@hotmail.com wrote: Yeah, imagine trying to name a method named getValue() to something else (probably because you realized that's not a great name :P). A HUGE time waster without refactoring tools, and

Re: Posix vs. Windows

2012-05-19 Thread David Nadlinger
On Saturday, 19 May 2012 at 19:28:44 UTC, Paulo Pinto wrote: I like UNIX and the command line is invaluable for certain tasks regardless of the operating system, but sometimes I wonder if people realized that it is no longer 1970 and better ways to develop software do exist. …especially

Re: Posix vs. Windows

2012-05-19 Thread H. S. Teoh
On Sat, May 19, 2012 at 09:45:20AM +0200, Mehrdad wrote: On Saturday, 19 May 2012 at 06:47:48 UTC, H. S. Teoh wrote: [...] Substitute length( with size( instead of just length with size. Problem solved. :-) Er, you missed the entire point of my example. :\ Those were PROPERTIES. They

Re: Posix vs. Windows

2012-05-19 Thread H. S. Teoh
On Sat, May 19, 2012 at 09:43:13PM +0200, David Nadlinger wrote: On Saturday, 19 May 2012 at 19:28:44 UTC, Paulo Pinto wrote: I like UNIX and the command line is invaluable for certain tasks regardless of the operating system, but sometimes I wonder if people realized that it is no longer 1970

Re: Posix vs. Windows

2012-05-19 Thread Mehrdad
On Saturday, 19 May 2012 at 20:00:03 UTC, H. S. Teoh wrote: Now that _is_ pretty cool. :D yes! See, the thing is, one of the reasons I like vim in spite of its warts (yes it has warts, including what we're discussing here about syntax trees transformations) is that it gives me a _unified_

Re: D dropped in favour of C# for PSP emulator

2012-05-19 Thread Manu
On 18 May 2012 19:59, Bruno Medeiros brunodomedeiros+...@gmail.com wrote: On 12/05/2012 01:00, Timon Gehr wrote: some essential properties: - starts up instantaneously some 'nice to have' properties: - code analysis based code completion - integrated debugger So just starting

Re: Posix vs. Windows

2012-05-19 Thread Jérôme M. Berger
H. S. Teoh wrote: But this unification is also its downfall: plain text, as the lowest common denominator, also suffers from not being able to deal with syntax trees in a meaningful way. So what is needed is a way of plugging in arbitrary syntax tree parsers, such that you can have a

Re: Posix vs. Windows

2012-05-19 Thread Mehrdad
On Saturday, 19 May 2012 at 20:58:40 UTC, Jérôme M. Berger wrote: You mean like Emacs' Semantic mode? https://www.gnu.org/software/emacs/manual/html_node/emacs/Semantic.html O_O

Re: D dropped in favour of C# for PSP emulator

2012-05-19 Thread Era Scarecrow
On Saturday, 19 May 2012 at 20:42:13 UTC, Manu wrote: On 18 May 2012 19:59, Bruno Medeiros brunodomedeiros+...@gmail.com wrote: On 12/05/2012 01:00, Timon Gehr wrote: some essential properties: - starts up instantaneously some 'nice to have' properties: - code analysis based code

Lazy evaluation of function arguments in D

2012-05-19 Thread Walter Bright
http://www.reddit.com/r/programming/comments/tui75/lazy_evaluation_of_function_arguments_in_d/

Re: Posix vs. Windows

2012-05-19 Thread Sean Kelly
On May 19, 2012, at 1:35 PM, Mehrdad wfunct...@hotmail.com wrote: On Saturday, 19 May 2012 at 20:00:03 UTC, H. S. Teoh wrote: Yikes! I highly recommend using plain vanilla vim, no GUI Oh geez, that'll take a while lol. At least with GVim, I can discover the command names through the

dmd link mystery on linux

2012-05-19 Thread John Belmonte
I'm having a problem where the link command line generated by dmd is picking up the globally-installed version of the phobos library instead of my local one. I'm using a dmd.conf pointing at my local phobos build so this shouldn't be happening. From output of dmd rdmd.d -v: gcc rdmd.o -o

Re: Lazy evaluation of function arguments in D

2012-05-19 Thread Mehrdad
http://www.reddit.com/r/programming/comments/tui75/lazy_evaluation_of_function_arguments_in_d/c4pwvyp +1 ^

Re: Lazy evaluation of function arguments in D

2012-05-19 Thread Roman D. Boiko
On Sunday, 20 May 2012 at 00:26:14 UTC, Mehrdad wrote: http://www.reddit.com/r/programming/comments/tui75/lazy_evaluation_of_function_arguments_in_d/c4pwvyp +1 ^ Yeah, I'd like both lazy and ref to be forced to be used from the call site and not just in the declaration. I don't use lazy

Re: Lazy evaluation of function arguments in D

2012-05-19 Thread Roman D. Boiko
On Saturday, 19 May 2012 at 23:03:50 UTC, Walter Bright wrote: http://www.reddit.com/r/programming/comments/tui75/lazy_evaluation_of_function_arguments_in_d/ Lazy evaluation has been discussed previously, but this topic is important and the problems have not been solved yet. Functional

Re: Posix vs. Windows

2012-05-19 Thread H. S. Teoh
On Sat, May 19, 2012 at 04:53:32PM -0700, Sean Kelly wrote: On May 19, 2012, at 1:35 PM, Mehrdad wfunct...@hotmail.com wrote: On Saturday, 19 May 2012 at 20:00:03 UTC, H. S. Teoh wrote: Yikes! I highly recommend using plain vanilla vim, no GUI Oh geez, that'll take a while lol. At

Re: using deimos.portaudio

2012-05-19 Thread Johannes Pfau
Am Sat, 19 May 2012 04:31:57 +0200 schrieb Samuele Carcagno sam.carca...@gmail.com: Hi, I'm try to use the deimos portaudio bindings https://github.com/D-Programming-Deimos/portaudio I've managed to compile and run the test demo provided with the module. It seems to work fine.

Re: How to test for equality of types?

2012-05-19 Thread Philippe Sigaud
On Fri, May 18, 2012 at 11:51 PM, Simen Kjaeraas simen.kja...@gmail.com wrote: Because Wrapper!(AliasStruct).Wrap does not exist. And _error_ is not equal to any other type. Yes. Wrap is included in the complete template name (Wrapper!(Wrap)) and has no independent existence. You _can_ get

unsynchronized access to primitive variables

2012-05-19 Thread luka8088
Hello to all, I would like to know if D guarantees that access to primitive variable is atomic ? I was looking for any source of information that says anything about unsynchronized access to primitive variables. What I want to know is if it is possible (in any way and any OS / hardware) for

Re: moveAt vs opIndex

2012-05-19 Thread maarten van damme
so would it be wrong to make movefront simply change the index the front is pointing at without removing a prime? And I'm coming from a java world so it would make sense to me to create that range as a class that implements a range but in most examples I see everyone using structs instead. what

Re: How to test for equality of types?

2012-05-19 Thread Matthias Walter
On 2012-05-19 09:05, Philippe Sigaud wrote: On Fri, May 18, 2012 at 11:51 PM, Simen Kjaeraas simen.kja...@gmail.com wrote: Because Wrapper!(AliasStruct).Wrap does not exist. And _error_ is not equal to any other type. Yes. Wrap is included in the complete template name (Wrapper!(Wrap))

Re: using deimos.portaudio

2012-05-19 Thread Samuele Carcagno
The missing symbol is a D symbol. You probably have to compile in 'deimos/portaudio.di', so in your 'dmd yourprogram.d' compile command add the full path to the di file: 'dmd yourprogram.d ../path/to/deimos/portaudio.di' Thanks, that was in fact the problem!

Re: ProjectEuler problem 35

2012-05-19 Thread Stewart Gordon
On 16/05/2012 10:46, Dmitry Olshansky wrote: snip Don't ever do that. I mean allocating memory in tight cycle. Instead use circular buffer. (just use the same array and wrap indexes) snip You might as well not use a string representation at all. At the beginning of the loop, calculate the

Re: How to test for equality of types?

2012-05-19 Thread Philippe Sigaud
On Sat, May 19, 2012 at 12:23 PM, Matthias Walter xa...@xammy.homelinux.net wrote: I would open a bug report with the following code which is a bit smaller than my first wrong version: = (...)  pragma(msg, typeof(w.aliasStruct).Alias.stringof); // - MyStruct  pragma(msg,

std.concurrency.send

2012-05-19 Thread japplegame
Multithreading in D confuses me more and more. import std.concurrency; import std.stdio; shared Tid tid; void main() { send(cast(Tid)tid, Hello, World); } void worker() { writeln(receiveOnly!string); } shared static this() { tid = cast(shared)spawn(worker); } I hate these explicit casts.

Re: ProjectEuler problem 35

2012-05-19 Thread maarten van damme
A huge optimization could be made by storing and int array of already found primes and test all primes smaller then half the to-test number. this will speed up a lot. Another huge improvement could be made with hardcoding everything up to the prime 3 and then iterate with intervals of 2 instead of

Re: moveAt vs opIndex

2012-05-19 Thread maarten van damme
and something partially unrelated, how do you copy a class by value?

Re: ProjectEuler problem 35

2012-05-19 Thread Jay Norwood
On Wednesday, 16 May 2012 at 09:26:45 UTC, Tiberiu Gal wrote: hi many claim their code solves the problem in order of ms ( c/pascal/haskell code) I used the blockwise parallel sieve described here, and measured nice speed-ups as described in his blog. It completes calculations within

vibe.d how build it / intall it?

2012-05-19 Thread bioinfornatics
Dear, i do not found on vibe.d repository (github) how do a manual install. Since i am a linux user (Fedora) they are any documentation to explain how install it? after take a look from source tree i think bin/vibe go to /usr/bin bin/views to /usr/share/vibe.d/ source/vibe to /usr/include/d/ i

Re: How to test for equality of types?

2012-05-19 Thread Matthias Walter
On 2012-05-19 15:28, Philippe Sigaud wrote: On Sat, May 19, 2012 at 12:23 PM, Matthias Walter xa...@xammy.homelinux.net wrote: I would open a bug report with the following code which is a bit smaller than my first wrong version: = (...) pragma(msg,

Re: ProjectEuler problem 35

2012-05-19 Thread Era Scarecrow
On Saturday, 19 May 2012 at 16:43:03 UTC, Jay Norwood wrote: On Wednesday, 16 May 2012 at 09:26:45 UTC, Tiberiu Gal wrote: hi many claim their code solves the problem in order of ms ( c/pascal/haskell code) I used the blockwise parallel sieve described here, and measured nice speed-ups

Re: vibe.d how build it / intall it?

2012-05-19 Thread David Nadlinger
On Saturday, 19 May 2012 at 17:28:36 UTC, bioinfornatics wrote: Dear, i do not found on vibe.d repository (github) how do a manual install. Since i am a linux user (Fedora) they are any documentation to explain how install it? Did you notice the »Linux« section in the readme? Except for

Re: std.concurrency.send

2012-05-19 Thread Nathan M. Swan
On Saturday, 19 May 2012 at 13:26:20 UTC, japplegame wrote: Multithreading in D confuses me more and more. import std.concurrency; import std.stdio; shared Tid tid; void main() { send(cast(Tid)tid, Hello, World); } void worker() { writeln(receiveOnly!string); } shared static this() { tid

Re: Simplified socket creation and handling

2012-05-19 Thread Nathan M. Swan
On Friday, 18 May 2012 at 06:35:59 UTC, Jarl André wrote: I am a Java developer who is tired of java.nio and similar complex socket libraries. In Java you got QuickServer, the ultimate protocol creation centered socket library. You don't have to write any channels and readers and what not.

Re: directory wildcard

2012-05-19 Thread Arne
On Saturday, 19 May 2012 at 03:46:32 UTC, Jay Norwood wrote: Here is a link to some code for the wildArgv single level search that I'm using. https://github.com/jnorwood/file_utils This is roughly how I was using it, related to your example string[] argv; argv ~=

Re: std.concurrency.send

2012-05-19 Thread japplegame
You don't need to mark Tids as shared. Okay. I'm writting logger. Logger is global object and it is running in its own separate thread (for example, writting logs to remote database). My application has several threads and all of them want to log something. How to share this global logger

Limit number of compiler error messages

2012-05-19 Thread cal
Is there a way to limit the dmd compiler to outputting just the first few errors it comes across?

Re: vibe.d how build it / intall it?

2012-05-19 Thread bioinfornatics
Le samedi 19 mai 2012 à 21:40 +0200, David Nadlinger a écrit : On Saturday, 19 May 2012 at 17:28:36 UTC, bioinfornatics wrote: Dear, i do not found on vibe.d repository (github) how do a manual install. Since i am a linux user (Fedora) they are any documentation to explain how

Re: vibe.d how build it / intall it?

2012-05-19 Thread bioinfornatics
Le dimanche 20 mai 2012 à 01:02 +0200, bioinfornatics a écrit : Le samedi 19 mai 2012 à 21:40 +0200, David Nadlinger a écrit : On Saturday, 19 May 2012 at 17:28:36 UTC, bioinfornatics wrote: Dear, i do not found on vibe.d repository (github) how do a manual install. Since i am a

Re: std.concurrency.send

2012-05-19 Thread Nathan M. Swan
On Saturday, 19 May 2012 at 21:13:14 UTC, japplegame wrote: You don't need to mark Tids as shared. Okay. I'm writting logger. Logger is global object and it is running in its own separate thread (for example, writting logs to remote database). My application has several threads and all of

Re: std.concurrency.send

2012-05-19 Thread japplegame
public: void startLogger(LogConstructorArgs args) { loggerTid = spawn(loggerThread, args); } void log(string msg, OtherOptions oo) { loggerTid.send(LogMsg(msg, oo)); } void stopLogger() { loggerTid.send(QuitMsg()); } private: Tid loggerTid; struct LogMsg { string msg;

[Issue 8060] xmmstore cannot allocate store for optimized operation that uses int and floats

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8060 --- Comment #4 from github-bugzi...@puremagic.com 2012-05-18 23:03:08 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

[Issue 8060] xmmstore cannot allocate store for optimized operation that uses int and floats

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8060 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7780] Template mixin'd members do not properly overload

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7780 Shire degener_tr...@mail.ru changed: What|Removed |Added CC||degener_tr...@mail.ru

[Issue 8119] New: Cannot cast from void* to forwarded struct pointer

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8119 Summary: Cannot cast from void* to forwarded struct pointer Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2

[Issue 7780] Template mixin'd members do not properly overload

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7780 --- Comment #2 from Simen Kjaeraas simen.kja...@gmail.com 2012-05-19 03:01:00 PDT --- (In reply to comment #1) Also trivial methods hides mixin overloads: [snip] Actually, that is quite clearly described under template mixins[1]: If the

[Issue 8118] Impossible to initialize a member struct without default constructor or assigment

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8118 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC|

[Issue 5719] [patch] std.conv.to should support structs with custom converters in addition to objects

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5719 --- Comment #8 from meh. m...@paranoici.org 2012-05-19 04:14:25 PDT --- Created an attachment (id=1106) Reduced test case for weird cast behavior. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 8110] DMD tries to opCast when doing opEquals, and fails

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8110 --- Comment #2 from meh. m...@paranoici.org 2012-05-19 04:13:54 PDT --- If to avoid the first error I add an opCast!(Object), it works with == but fails in a weird way when casting. Following an attachment that shows said behavior. --

[Issue 8110] DMD tries to opCast when doing opEquals, and fails

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8110 --- Comment #3 from meh. m...@paranoici.org 2012-05-19 04:16:56 PDT --- Created an attachment (id=1107) Reduced test case for weird cast behavior. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 5719] [patch] std.conv.to should support structs with custom converters in addition to objects

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5719 meh. m...@paranoici.org changed: What|Removed |Added CC||m...@paranoici.org ---

[Issue 8120] New: std.conv.to throws exception when converting const string to int with -O optimisation switch

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8120 Summary: std.conv.to throws exception when converting const string to int with -O optimisation switch Product: D Version: D2 Platform: All OS/Version: All Status:

[Issue 8120] std.conv.to throws exception when converting const string to int with -O optimisation switch

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8120 --- Comment #1 from pabu...@gmail.com 2012-05-19 06:32:48 PDT --- Apologies, I had originally simply opened a new thread there instead of properly filing a bug through bugzilla http://forum.dlang.org/thread/ubjqjkvmrcgcyefmw...@forum.dlang.org

[Issue 8114] Methods are delegates, not functions.

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #6 from Steven Schveighoffer schvei...@yahoo.com 2012-05-19 08:28:48 PDT --- (In reply to comment #5) http://dlang.org/type.html#delegates There are no pointers-to-members in D I think this specifically refers to C++

[Issue 8114] Methods are delegates, not functions.

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #8 from Stewart Gordon s...@iname.com 2012-05-19 08:36:13 PDT --- Moreover, I would expect There are no pointers-to-members in D to mean There are no pointers-to-members in D not There are pointers-to-members in D, but they aren't

[Issue 8114] Methods are delegates, not functions.

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #9 from Steven Schveighoffer schvei...@yahoo.com 2012-05-19 09:13:32 PDT --- I'm just saying, that might be what it means, but is just poorly explained. Taking address of member on the class has been around since D1 -- Configure

[Issue 8114] Methods are delegates, not functions.

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #10 from Stewart Gordon s...@iname.com 2012-05-19 09:18:15 PDT --- (In reply to comment #9) I'm just saying, that might be what it means, but is just poorly explained. Taking address of member on the class has been around since D1

[Issue 8118] Impossible to initialize a member struct without default constructor or assigment

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8118 --- Comment #3 from wfunct...@hotmail.com 2012-05-19 12:15:42 PDT --- (In reply to comment #2) No bug here you just diabled too much. Undisable opAssign. It's opAssign that gets called whne a = ... is seen: this() { s = S(to!int(1)); } If

[Issue 8118] Impossible to initialize a member struct without default constructor or assigment

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8118 --- Comment #4 from wfunct...@hotmail.com 2012-05-19 12:17:48 PDT --- (In reply to comment #3) (In reply to comment #2) No bug here you just diabled too much. Undisable opAssign. It's opAssign that gets called whne a = ... is seen:

[Issue 8114] Methods are delegates, not functions.

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #11 from wfunct...@hotmail.com 2012-05-19 12:20:00 PDT --- (In reply to comment #5) http://dlang.org/type.html#delegates There are no pointers-to-members in D There aren't though. Pointers to members are data types that relative

[Issue 8121] New: scope ref is perfectly OK

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8121 Summary: scope ref is perfectly OK Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 8121] scope ref is perfectly OK

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8121 --- Comment #1 from wfunct...@hotmail.com 2012-05-19 12:29:43 PDT --- Also, scope out (and even scope lazy) should also work, since it is perfectly valid for both of them to say, this parameter will not be escaped. -- Configure issuemail:

[Issue 7594] xmm ops use actual addition/subtraction when evaluating real+imaginary

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7594 --- Comment #2 from github-bugzi...@puremagic.com 2012-05-19 13:19:08 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7593] cfloat to cdouble conversion is broken when using xmm

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7593 --- Comment #2 from github-bugzi...@puremagic.com 2012-05-19 13:23:31 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7594] xmm ops use actual addition/subtraction when evaluating real+imaginary

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7594 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7593] cfloat to cdouble conversion is broken when using xmm

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7593 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7591] Wrong const-folding comparisons involving complex nans

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7591 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7593] cfloat to cdouble conversion is broken when using xmm

2012-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7593 --- Comment #4 from github-bugzi...@puremagic.com 2012-05-19 13:27:15 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

  1   2   >