Re: D1 D2 alpha's for Win64

2012-10-16 Thread Michael
On Tuesday, 16 October 2012 at 16:44:59 UTC, Walter Bright wrote: On 10/16/2012 8:58 AM, Gor Gyolchanyan wrote: It worked fine for me at first! This is awesome! Great! I tried a different lib paths, got same unresolved symbols. I have VC 10 VC 11 Express editions. amd64 folder only in VC

Re: D1 D2 alpha's for Win64

2012-10-15 Thread Michael
On Sunday, 14 October 2012 at 19:55:20 UTC, Walter Bright wrote: http://ftp.digitalmars.com/dmd1beta.zip http://ftp.digitalmars.com/dmd2beta.zip Be the first kid on your block to build a dmd Win64 app! On Win 2008 R2: 1. Path for VS 11: C:\Program Files (x86)\Microsoft Visual Studio

Re: D1 D2 alpha's for Win64

2012-10-15 Thread Michael
But in 32 mode with same sc.ini works fine.

Re: D1 D2 alpha's for Win64

2012-10-15 Thread Michael
On Monday, 15 October 2012 at 20:39:14 UTC, Walter Bright wrote: On 10/15/2012 1:27 PM, Michael wrote: LINK : fatal error LNK1104: cannot open file 'phobos64.lib' --- errorlevel 1104 Fixed. dmd -m64 t64.d -- import std.stdio; void main() { writeln(Win 64!); } -- .\..\lib

Re: Any sample for DFL library?

2012-10-07 Thread Michael
gtkD ?

Re: DIP19: Remove comma operator from D and provision better syntactic support for tuples

2012-10-06 Thread Michael
On Sunday, 23 September 2012 at 20:39:38 UTC, Andrei Alexandrescu wrote: I discussed this with Walter, and we concluded that we could deprecate the comma operator if it helps tuples. So I started with this: http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP19 Unfortunately, I

Re: connect to an SQL Server database

2012-10-06 Thread Michael
On Saturday, 6 October 2012 at 12:35:05 UTC, Minas wrote: Is there a library that I can use to connect to an SQL Server database? (I need to use it on both linux and windows). http://www.prowiki.org/wiki4d/wiki.cgi?DatabaseBindings ODBC bindings for D v1.

Re: References in D

2012-10-05 Thread Michael
On Saturday, 15 September 2012 at 12:38:53 UTC, Henning Pohl wrote: The way D is dealing with classes reminds me of pointers because you can null them. C++'s references cannot (of course you can do some nasty casting). So you can be sure to have a valid well-defined object. But then there is

Re: dynamic library building and loading

2012-09-26 Thread Michael
On Wednesday, 26 September 2012 at 17:57:29 UTC, Andrei Alexandrescu wrote: Haven't done any dynamic linking with D and I need to. I'm using dmd 2.058/Linux at work to build and use dynamic libraries. Here's my attempt: Maybe it will help you D:

Re: DIP19: Remove comma operator from D and provision better syntactic support for tuples

2012-09-26 Thread Michael
Also, I want to add that type declarations should be changed from statements to expressions so that we could do: auto tup = (3, hello); (int num, string s) = tup; // num == 3, s == hello +1. or int num; string s; auto tup = (3, hello); (num, s) = tup; or like x++ containers

Re: Is flags enum needed in Phobos?

2012-09-26 Thread Michael
On Tuesday, 25 September 2012 at 17:13:44 UTC, Denis Shelomovskij wrote: .NET has FlagsAttribute, Java has EnumSet. Looks like we need this too. How about to add a library solution to Phobos? +1. Also I'm not sure: * Should we support converting from a number to a flag enum? +1. * If so,

Re: dynamic library building and loading

2012-09-26 Thread Michael
Thanks. The loading part is very useful, but I'm still lost when it comes to build the shared library itself. Andrei Program loads dll at runtime using loader which is configured to load concrete dll file(s). Like in gtkD http://www.dsource.org/projects/gtkd/browser/trunk/src/gtkc/Loader.d

Re: dynamic library building and loading

2012-09-26 Thread Michael
Loading Shared lib isn't big issues here. The bigger one is building Shared library (written in D) and running it in host application without issues (EH, shared GC etc). Andrei, if you find out how to make those things work, please share your findings. I'm also in need of using shared

Interfacing to C++ / Fltk

2012-08-19 Thread Michael
Hi, I have C++ code: - #define dllExport __declspec(dllexport) namespace fltk = fltk3; class dllExport FltkWindow : public fltk::Window { public: FltkWindow(int w, int h, const char* title = nullptr):fltk::Window(w, h, title) { } }; dllExport FltkWindow* get_Win(int w,

Re: D Language and Fortran DLL article

2012-08-15 Thread Michael
I was referring to indentation, i.e. version else version else Without indentation it looks like C++ #if defined that's ugly for me. On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote: 3. Some lines of code are outside of main area (like 49, 50). Tested on Opera, FF,

Question on Octal

2012-08-15 Thread Michael
be compiling, and yet it does. Is this a compiler bug? 2) I chose the declare the inner octal as an enum following Walter's example. But why enum? What would be different if it were auto, immutable, or static? Thanks guys! Michael

Re: D Language and Fortran DLL article

2012-08-14 Thread Michael
On Tuesday, 14 August 2012 at 15:36:42 UTC, Ali Çehreli wrote: According to dlang.org (rather, digitalmars.com that is linked from it ;)) there are Japanese, German, Russian, Chinese... Current russian website seems to died and resurrected at 2010 as copy from web archive.

Re: D Language and Fortran DLL article

2012-08-14 Thread Michael
On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote: nitpicks: 1. why not use DDoc ? E.g. @Author, @License (http://dlang.org/ddoc.html) Added. 2. formatting :). I know, I know it's a moot point. Now it looks a bit like Windows version is more primary. I like it more:

Re: OSX and 64-bit [Re: First working Win64 program!]

2012-08-13 Thread Michael
No doubt that COFF 64 bits it are good and with high priority, though small, but support of COFF 32 bits will be a gift that will add popularity to dmd. Anyway I have words that add + to 64 bit and to 32 bit tools that supports linking with ms toolset.

Re: First working Win64 program!

2012-08-11 Thread Michael
dmd -c -m64 hello.d cl hello.obj hello hello world! Yeehaa! Best news of the last years and even two news that is :-) +1 Cool1

Re: Binding D to C

2012-08-06 Thread Michael
On Monday, 6 August 2012 at 15:42:48 UTC, Andrei Alexandrescu wrote: Not sure whether this has been announced here: http://www.gamedev.net/blog/1140/entry-2254003-binding-d-to-c/ Andrei Really cool)

Re: @property

2012-08-06 Thread Michael
On Saturday, 4 August 2012 at 20:53:53 UTC, Adam D. Ruppe wrote: On Saturday, 4 August 2012 at 19:08:58 UTC, Jacob Carlborg wrote: foo += 10; Is rewritten as: auto __tmp = foo; foo = __tmp + 10; I did this and now I think this thing is almost done === int a; @property int funcprop() {

Re: D Conference 2012 - postponed until 2013

2012-07-24 Thread Michael Kerrisk
internationally, and perhaps even domestically. For example, even just Portland itself, but perhaps better--and I know it's unoriginal--Silicon Valley or US East Coast. Thanks, Michael PS Is there an announce mailing list where one can sign up to get information about the 2013 conference?

Re: Properties don't behave like variables?

2012-07-21 Thread Michael
Any news?

Re: D in the cloud with cassandra ?

2012-06-29 Thread Michael
On Thursday, 28 June 2012 at 00:33:28 UTC, Knud Soerensen wrote: Hi. I looking into making a website for the cloud and I was wondering if anyone have tried D in connection with amazon EC2, Google app engine or similar cloud service ? You can take a look on Azure VM (linux or windows). I am

Re: Bug in Auto Functions and Template? Or Am I Just Crazy...

2012-06-28 Thread Michael
Good I know I spotted something _real_ this time! On Wednesday, 27 June 2012 at 11:55:11 UTC, Timon Gehr wrote: On 06/27/2012 01:24 PM, Timon Gehr wrote: On 06/27/2012 11:07 AM, Michael wrote: Hello all, I came across some weird behaviors yesterday and I can't figure out what it's about

Re: Question about Template

2012-06-27 Thread Michael
Thank you all of you for your help! Michael On Sunday, 24 June 2012 at 06:49:38 UTC, Philippe Sigaud wrote: The closest I came to the correct template is template(alias F) timer { auto timer { auto start = Clock.currStdTime(); F(); return Clock.currStdTime() - time

Bug in Auto Functions and Template? Or Am I Just Crazy...

2012-06-27 Thread Michael
) { auto inner(T[] s) { s[0] = 0; } arr.inner(); } This time the compiler complained about 'inner' not being defined. This time I have no idea what is wrong. Thanks for your help! Michael

Question about Template

2012-06-23 Thread Michael
with the template is I cannot pass any argument into F. How should I fix this problem? Also, I am not entirely sure why I need to write alias F instead of just F, any explanation would be appreciated. Thank you guys, Michael

Re: Let's schedule WinAPI ASCII functions for deprecation!

2012-05-24 Thread Michael
I knew it till an .net era. Main line is even Windows may handle it in a wrong way. WinAPi - interface as is. So let user decides to use or not.

Re: Let's schedule WinAPI ASCII functions for deprecation!

2012-05-23 Thread Michael
In WinAPI we have: LoadLibraryA/W, but not GetProcAddressA/W because PE COFF limitations exists. Walter Bright The user can decide what to use or not use from it. +1. For me LoadLibraryA works well. 256 max path It's FS limitation.

Re: Let's schedule WinAPI ASCII functions for deprecation!

2012-05-23 Thread Michael
approximately 32,000 characters... I know it ;) But it's platform specific kung-fu.

Re: Is the D community lacking development tools?

2012-05-22 Thread Michael
On Tuesday, 22 May 2012 at 10:18:48 UTC, Dejan Lekic wrote: On Tuesday, 22 May 2012 at 10:03:36 UTC, Roman D. Boiko wrote: http://d-coding.com/2012/05/22/is-the-d-community-lacking-development-tools.html My opinion - no. Sure, all of them can be better, provide more fancy features, etc...

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

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

Re: Properties don't behave like variables?

2012-05-15 Thread Michael
On Monday, 14 May 2012 at 21:29:52 UTC, Mehrdad wrote: On Monday, 14 May 2012 at 21:08:15 UTC, Michael wrote: I see. So where to vote for this enhancement? Ugh, wrong link... should've been: http://d.puremagic.com/issues/show_bug.cgi?id=8056 Done.

Re: Properties don't behave like variables?

2012-05-14 Thread Michael
I see. So where to vote for this enhancement?

Re: What is a good strategy for finding undefined symbols...

2012-05-14 Thread Michael Parker
On 5/15/2012 4:23 AM, WhatMeWorry wrote: Linking happens when you build an executable. If you are building just the libraries, there is no linking done at all. To compile DerelictGL, you do not need to link anything. It appears you are compiling Derelict 2, in which case the supplied

Re: DMD 2.059 ??

2012-04-20 Thread Michael Rynn
On Thu, 12 Apr 2012 15:08:54 -0400, Matt Soucy wrote: On 04/12/2012 02:58 PM, Ali Çehreli wrote: On 04/12/2012 11:49 AM, Alvaro wrote: The changelog mentions DMD 2.059 as released on April 1, 2012, but there is no link to it. Is it released? http://dlang.org/changelog.html I don't think

Re: AA key conversion woes

2012-04-19 Thread Michael Rynn
and destructors for struct. However it is possible to have aaA implementation, with only a small cost, that handles struct postblit and destructors correctly, and refcounting (as an example, please), comes out correctly. I have working code in folder rt, viewable at http://bazaar.launchpad.net/~michael

Re: Starting with D(2)

2012-04-13 Thread Michael
I have self-made installation of D2 lang (32 bit, dmd2 compiler, phobos2) that includes dsss, gtk/gtkd, opengl, libxml, iconv, gtksourceview libs. Some examples must be manually updated, but compiles properly. Installation is zip archive with above packages and one *.bat file that sets an

Re: GSoC 2012 Proposal: Continued Work on a D Linear Algebra library (SciD - std.linalg)

2012-04-09 Thread Michael Chen
Hi, Cristi, From change log of D 2.059. I saw that uniform function call syntax was implemented. I hope you can leverage this feature to make non member function calls look nicer. Another suggestion, please use shorter function name for example M.t() instead of M.transpose() so that long

Re: GSoC 2012 Proposal: Continued Work on a D Linear Algebra library (SciD - std.linalg)

2012-04-05 Thread Michael Chen
is really suitable for scientific computation. It will be great to have an efficient and easy-to-use linear algebra library. On Thu, Apr 5, 2012 at 7:42 AM, Cristi Cobzarenco cristi.cobzare...@gmail.com wrote: Thanks for the feedback! On 4 April 2012 10:21, Michael Chen sth4...@gmail.com wrote

Re: GSoC 2012 Proposal: Continued Work on a D Linear Algebra library (SciD - std.linalg)

2012-04-04 Thread Michael Chen
For the Point 4, I really like to have high order functions like reduceRow and reduceCol. then the function argument is simply the reduceRow!foo(0,mat), here the foo is not a function operating on the whole column but simply a function of two elements (e.g. reduceRow!(a+b)(0,mat)). Or even better

Re: Array ops give sharing violation under Windows 7 64 bit?

2012-03-31 Thread Michael
This behavior of linker caused by a protection suit with sandbox or similiar technology. Affected systems are win xp, win 7. With a standard antivirus is all ok.

Re: Map with maintained insertion order

2012-03-25 Thread Michael Rynn
://bazaar.launchpad.net/~michael-rynn-500/d2-xml/trunk/view/head:/alt/ arraymap.d I took and adapted the idea from Ultimate++ library code. Ultimate++ is worth a try, even if it is C++. arraymap.d implements a hashmap, that will maintain insertion order, but only if no deletions are made. Each

Re: Fortran DLL and D

2012-03-21 Thread Michael
Guys, thanks for advices. After all I have proper code. simple.d import core.runtime; import std.stdio; import std.string; import std.conv; version(Windows) { import core.sys.windows.windows; alias GetProcAddress GetProc; } else version(Linux) // not tested { import

Re: Fortran DLL and D

2012-03-21 Thread Michael
Bad English, and I don't have experiense with Wiki. On Wednesday, 21 March 2012 at 22:21:11 UTC, bearophile wrote: Michael wrote: Guys, thanks for advices. After all I have proper code. Why don't you write how to do it in the D wiki? Bye, bearophile

Fortran DLL and D

2012-03-13 Thread Michael
Hi everyone) dmd 2.058 os: win 7 64 bit fortran compilers: gfortran, ftn95 I have a fortran code that compiled into dll: SUBROUTINE fsu (i) real :: x integer :: i x = 0.025 print *, 'The answer is x = ', x , i END SUBROUTINE fsu and simple D code import std.stdio; import

Re: Tuple unpacking syntax [Was: Re: Multiple return values...]

2012-03-13 Thread Michael
Maybe [x, y] = func(); ?

Re: Fortran DLL and D

2012-03-13 Thread Michael
On Tuesday, 13 March 2012 at 22:30:02 UTC, Tobias Brandt wrote: Fortran uses pass-by-ref by default. You could try integer, value :: i in the Fortran function declaration, OR *int in the MyHandler declaration. in case integer, value :: i or integer, intent(in) :: i same results

Re: Fortran DLL and D

2012-03-13 Thread Michael
On Tuesday, 13 March 2012 at 22:42:38 UTC, Andrej Mitrovic wrote: I don't think this can work: alias void function(int) MyHandler; maybe: alias extern(C) void function(int) MyHandler; And there's no need to call it like this: '(*mh)(1)', call it mh(1). I know, it's short version. Anyway,

Re: Fortran DLL and D

2012-03-13 Thread Michael
Thanks, but i still get the same.

Re: [xmlp] the recent garbage collector performance improvements

2012-02-25 Thread Michael Rynn
On Thu, 02 Feb 2012 15:44:56 +, Richard Webb wrote: With the xml package (xmlp) , and the linked node DOM, the GC is likely to fail cleanup. I divided the generated test file, with its 2 layer elements, into 5, 50, 500, 5000 sized files. I put in a mixin on the Node class to do

Overloading doesn't work like described in The D programming language

2011-12-07 Thread Michael Kremser
to generic functions, even when the non-generic function need an implicit conversion. But in my case that doesn't work. Can anyone explain me what's going on here? Is the example in the book wrong or did I misinterpret something? Best regards Michael

Re: Translation of C struct to D

2011-11-17 Thread Michael Kremser
_D15TypeInfo_Struct6__vtblZ (err 0) Nov 17 15:03:49 eeepc1104 kernel: [43799.328252] hello: Unknown symbol Best regards Michael

Re: Translation of C struct to D

2011-11-16 Thread Michael Kremser
: cannot implicitly convert expression (DEVICE_NAME) of type char[] to char* If I try to cast with register_chrdev(0, (char*)DEVICE_NAME, fops); the following error appears: C style cast illegal, use cast(char*)DEVICE_NAME Best regards Michael

Re: Translation of C struct to D

2011-11-15 Thread Michael Kremser
Jerry thought it would be a good idea to write me on 15.11.2011 05:01 GMT +0100 (CET): This looks like you don't have druntime or phobos linked into your module code. My Makefile looks as follows: # D compiler DC := gdc # D objects DOBJS := dinterface.o ifneq ($(MAKE_KBUILD),) # kbuild

Translation of C struct to D

2011-11-14 Thread Michael Kremser
) Nov 14 21:12:39 eeepc1104 kernel: [17127.071359] hello: Unknown symbol _Dmodule_ref (err 0) Nov 14 21:12:39 eeepc1104 kernel: [17127.072352] hello: Unknown symbol _D3std6string9toStringzFAaZPa (err 0) Any help greatly appreciated. Greetings Michael [1] http://tldp.org/LDP/lkmpg/2.6/html

First stable version of boxen (audio player written in D)

2011-09-25 Thread Michael Mittner
Hey there! I've just released the first stable version of my audio player (which is written in D1). If you want to try it out: http://shebang.at/blog/boxen0.1.0 Regards, Mike

Re: Improvements to std.string

2011-06-13 Thread Michael Chen
I vote for the changes. They are better name for newbies like me. On Mon, Jun 13, 2011 at 9:29 AM, Adam D. Ruppe destructiona...@gmail.com wrote: Jonathan M Davis wrote: Would it be better to rename toStringz to toCString when fixing it I think it should stay just how it is: toStringz, with a

Problem with string.whitespace and newline

2011-06-11 Thread Michael Chen
The following code cannot be compiled string clean(string x) { return join(split(x),whitespace); } The compile error is Error 2 Error: template std.array.join(RoR,R) if (isInputRange!(RoR) isInputRange!(ElementType!(RoR)) isForwardRange!(R)) cannot deduce template function from

Re: Problem with string.whitespace and newline

2011-06-11 Thread Michael Chen
Thanks Andrej, it works. On Sun, Jun 12, 2011 at 9:14 AM, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: try return join(split(x),whitespace[]); It seems whitespace is a static array. On 6/12/11, Michael Chen sth4...@gmail.com wrote: The following code cannot be compiled string clean

'this' in base class out contract

2011-06-04 Thread Michael Shulman
Why does the following code fail the assertion? class A { void foo() out { assert(stored is this); } body { } } A stored; class B : A { void foo() { stored = this; } } void main () { B x = new B(); x.foo(); }

Re: 'this' in base class out contract

2011-06-04 Thread Michael Shulman
On Sat, Jun 4, 2011 at 4:27 AM, bearophile bearophileh...@lycos.com wrote: x: 14e2fd0 Klass2.this: 14e2fd0 Klass1.this: 41d1b0 Klass1.stored: 14e2fd0 Note how much different are the two values of the object references. They may even be in two different kinds of memory. Klass1.this may be

Re: private method in interface

2011-06-03 Thread Michael Shulman
On Thu, Jun 2, 2011 at 11:55 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: I don't really like the idea of private functions being virtual by default though, so maybe your suggestion would be a good one. Speaking as a newbie with very little D experience, the idea of private functions being

Re: private method in interface

2011-06-03 Thread Michael Shulman
On Fri, Jun 3, 2011 at 11:22 AM, Jonathan M Davis jmdavisp...@gmx.com wrote: However, given that in D, 'private' only means restricted to a *module*, it's less clear to me why private functions should be singled out as non-virtual. I might want certain methods to be accessible only within a

Re: private method in interface

2011-06-03 Thread Michael Shulman
On Fri, Jun 3, 2011 at 1:02 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: And if you don't know about NVI, having a virtual private function is just plain weird. Well, it makes perfect sense to me, once given that in D, 'private' allows access from anywhere in the same module, rather than

Re: private method in interface

2011-06-03 Thread Michael Shulman
On Fri, Jun 3, 2011 at 3:07 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: I'd suggest opening a bug report. Okay, will do. Regardless, I would have hoped that you'd get an error at compile time about overriding a non-virtual function if package is non-virtual It appears that overriding a

Re: private method in interface

2011-06-03 Thread Michael Shulman
The bug report appears to already exist: http://d.puremagic.com/issues/show_bug.cgi?id=3258 On Fri, Jun 3, 2011 at 3:07 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: On 2011-06-03 14:55, Michael Shulman wrote: On Fri, Jun 3, 2011 at 1:02 PM, Jonathan M Davis jmdavisp...@gmx.com wrote

Re: private method in interface

2011-06-03 Thread Michael Shulman
On Fri, Jun 3, 2011 at 8:54 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: Try to compile with -w. My guess is that you will get a compiler error. Nope.

private method in interface

2011-06-02 Thread Michael Shulman
Hi, The following code fails the linker, complaining about an undefined reference to 'foo': interface A { private int foo(); } class B { int bar(A x) { return x.foo(); } } void main() { } But if I remove the 'private' qualifier on 'foo', then it succeeds. Shouldn't B.bar() be able to

Re: private method in interface

2011-06-02 Thread Michael Shulman
On Thu, Jun 2, 2011 at 10:31 AM, Steven Schveighoffer schvei...@yahoo.com wrote: Private methods are non-virtual, so I'm pretty sure they are not supposed to be allowed in an interface. But I suppose private could also mean private final, in which case you have to provide an implementation

Re: private method in interface

2011-06-02 Thread Michael Shulman
On Thu, Jun 2, 2011 at 12:20 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=4542 http://d.puremagic.com/issues/show_bug.cgi?id=2051 Thank you! I think this answers my question completely; I just need to change private to protected. Is there a

Re: private method in interface

2011-06-02 Thread Michael Shulman
Thanks! On Thu, Jun 2, 2011 at 2:36 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: On 2011-06-02 12:59, Michael Shulman wrote: On Thu, Jun 2, 2011 at 12:20 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=4542 http://d.puremagic.com/issues

nested class inheritance

2011-05-31 Thread Michael Shulman
Hi, I have a class which defines a nested class: class Outer1 { class Inner1 { } } Now I want to inherit from Outer1, to modify its behavior in a way which also involves modifying the behavior of the corresponding inner objects. My first instinct was to write class Outer2 : Outer1 { class

Re: nested class inheritance

2011-05-31 Thread Michael Shulman
On Tue, May 31, 2011 at 2:24 PM, Simen Kjaeraas simen.kja...@gmail.com wrote: I have thought of a workaround with 'alias this': class Outer2 : Outer1 {  class Inner2 {    Inner1 _self;    alias _self this;    this() {      _self = this.outer.new Inner1();    }  } } This seems to work,

Re: Linus with some good observations on garbage collection

2011-04-22 Thread Michael Stover
This sort of reference count with cyclic dependency detector is how a lot of scripting languages do it, or did it in the past. The problem was that lazy generational GCs are believed to have better throughput in general. I'd like to say were proved rather than are believed, but I don't actually

class invariants and property declarations

2011-02-16 Thread Michael Engelhardt
] ./InVariantProperty() [0x8049721] Should not a class invariant apply to properties, too? Kind regards Michael

Std.xml is twice as slow on windows vs Linux. std.xml2 is pushing on.

2011-02-12 Thread Michael Rynn
to replace much more of the original source, so the speed advantage diminishes. Also the entire document stays in memory till the last reference is garbage collectable. Its all on dsource.org/xml/trunk/ Michael Rynn.

Re: High performance XML parser

2011-02-11 Thread Michael Rynn
On Mon, 07 Feb 2011 10:37:46 -0500, Robert Jacques wrote: On Mon, 07 Feb 2011 07:40:30 -0500, Steven Schveighoffer schvei...@yahoo.com wrote: On Fri, 04 Feb 2011 17:36:50 -0500, Tomek Sowiński j...@ask.me wrote: Steven Schveighoffer napisał: Here is how I would approach it (without doing

Re: boxen - an audio player written in D

2011-01-20 Thread Michael Mittner
Oh, I forgot to mention D! I'll edit it in ASAP :) And you're right about the directory thing, I'll put it on my TODO list. Thanks!

Re: emscripten

2010-12-16 Thread Michael Stover
And CAPTCHAs prove that javascript and browsers are terrible??? You must have failed logic class. Probably you never took it, knowing how poorly you would do. I should criticize your precious local apps because some require dongles. On Thu, Dec 16, 2010 at 8:28 AM, Adam Ruppe

Re: emscripten

2010-12-16 Thread Michael Stover
On Thu, Dec 16, 2010 at 2:22 PM, Nick Sabalausky a...@a.a wrote: Michael Stover michael.r.sto...@gmail.com wrote in message news:mailman.1053.1292506694.21107.digitalmar...@puremagic.com... And CAPTCHAs prove that javascript and browsers are terrible??? Where are you gettng that? That's

Re: emscripten

2010-12-16 Thread Michael Stover
On Thu, Dec 16, 2010 at 2:48 PM, Nick Sabalausky a...@a.a wrote: Michael Stover michael.r.sto...@gmail.com wrote in message news:mailman.1046.1292468790.21107.digitalmar...@puremagic.com... there's no integration with the external environment But it is an advantage at the same time

Re: emscripten

2010-12-15 Thread Michael Stover
And that's the problem - we're talking about applications that happen to be distributed via the web, not a website. Everyone's demands that it work in lynx, FF2, with javascript turned off, etc are ludicrous. You don't get to make such demands of applications. Some applications are Windows only.

Re: emscripten

2010-12-15 Thread Michael Stover
All of your complaints are about specific choices of the developers, not the technology. Right now, javascript and web apps are being written (for the most part) by young, inexperienced, often graphically-oriented individuals. Soon, more experience developers will join the scene and start

Re: emscripten

2010-12-15 Thread Michael Stover
And no, I'm *not* playing semantics games here: Distributed via the web means exactly what it means Of course you're playing semantic games. Not being very helpful in the discussion. You seem to be arguing that if the content arrived via http it must work in lynx or else it sucks. Perhaps I

Re: emscripten

2010-12-15 Thread Michael Stover
On Wed, Dec 15, 2010 at 2:26 PM, retard r...@tard.com.invalid wrote: Wed, 15 Dec 2010 12:40:50 -0600, Andrew Wiley wrote: The point was that while Javascript is slow, it's getting fast enough to be useful. Yes, it's not C. It will never be. But the fact that any sort of realtime

Re: emscripten

2010-12-15 Thread Michael Stover
horrible? On Wed, Dec 15, 2010 at 2:50 PM, Nick Sabalausky a...@a.a wrote: Michael Stover michael.r.sto...@gmail.com wrote in message news:mailman.1034.1292441124.21107.digitalmar...@puremagic.com... And no, I'm *not* playing semantics games here: Distributed via the web means exactly what

Re: emscripten

2010-12-15 Thread Michael Stover
Trying to make an online payment to Visa or check on one of Visa's policies? Are you gonna be able to do that at MasterCard's website? With desktop software stuff like that rarely happens. Basically, websites/webapps have a greater need for compatibility than desktop apps do. Again, we're not

Re: emscripten

2010-12-15 Thread Michael Stover
Do you complain that Excel doesn't not degrade gracefully? Why would someone even think to load the app in lynx? Do you load excel files in lynx? On Wed, Dec 15, 2010 at 3:32 PM, Adam D. Ruppe destructiona...@gmail.comwrote: Michael Stover wrote: If I provide a spreadsheet program via

Re: emscripten

2010-12-15 Thread Michael Stover
With my own computer, there are things I can do to prevent that. With webapps I'm 100% reliant on someone else: there isn't a damn thing I can do. But what about your group-think lemming mother? On Wed, Dec 15, 2010 at 3:36 PM, Nick Sabalausky a...@a.a wrote: Michael Stover michael.r.sto

Re: emscripten

2010-12-15 Thread Michael Stover
So much hate because you can't middle-click paste. Swearing and AAAggghhing, loathing, etc. It's childish and hard to take such attitudes seriously. The world moves on and doesn't care that you can't adapt to the simplest of things. On Wed, Dec 15, 2010 at 5:20 PM, Adam D. Ruppe

Re: emscripten

2010-12-15 Thread Michael Stover
there's no integration with the external environment But it is an advantage at the same time as it's a weakness. The advantage is, I can read and use gmail or google docs anywhere, firewall or not. I could sit here at home, open an openoffice doc, write in it, save it. Then tomorrow go to

Re: emscripten

2010-12-14 Thread Michael Stover
Facebook is hardly a fair example - they are not a true webapp and are more interested in numbers of users than quality of their app. Someone who was serious about making an application over the web would simply require Chrome or Firefox, and then 99% of your incompatibility issues go away, as

Re: emscripten

2010-12-14 Thread Michael Stover
On Tue, Dec 14, 2010 at 2:03 PM, Adam Ruppe destructiona...@gmail.comwrote: Have you tried, for example, CoffeeScript: I have not - my main problem with Javascript isn't so much the language as the browsers in which it runs, which is why I feel things like emscripten (and google native

Re: emscripten

2010-12-14 Thread Michael Stover
I don't have any problems you seem to have with gmail. I suspect attitude is a big difference. On Tue, Dec 14, 2010 at 6:43 PM, Adam D. Ruppe destructiona...@gmail.comwrote: Michael Stover: Did you use the gmail webapp to write that? No. My public email address is gmail so I get a free

Re: emscripten

2010-12-14 Thread Michael Stover
I've used Pegasus, thunderbird, Exchange, Evolution, and whatever is on my Mac by default (briefly). I've used other web emails too, including one for Exchange, which is terrible. Some of your complaints are not generic to javascript/web apps - like the right click complaint. It can be done

std.xml2 candidate

2010-12-11 Thread Michael Rynn
in std.xml. -- std.xmlp.arraydom. The arraydom DocumentParser is also faster than the std.xml, as it uses the std.xmlp.coreparse. Its not complete or final, nor much reviewed. The layout and interfaces seem to be OK. I expect its already more useful than std.xml. Michael Rynn.

Re: Why Ruby?

2010-12-11 Thread Michael Stover
LOL. I'd _love_ to use D at work, but so much of our code is in C++ and must compile with Visual Studio that the fact that C++ doesn't integrate with D all that well and the fact that you have to use dmc on Windows for the C or C++ code if you want to link it with D code make it so that it

<    1   2   3   4   5   6   7   >