Re: Z80 Emulation Engine

2014-04-22 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 22 April 2014 at 06:41:58 UTC, Manu via Digitalmars-d-announce wrote: But then you lose the incentive to return contribution back to the original community. I've worked in companies where we take OSS libraries, modified for our needs, and never offer the modifications back to the

Re: Bounty for -minimal compiler flag

2014-04-26 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 18 February 2014 at 02:24:32 UTC, Steven Schveighoffer wrote: Yes, and one can do it with a global flag too. The lack of this ability is really a terrible omission for D2. We have the flag - GCX.running, it's just not exposed.

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Kagamin via Digitalmars-d-announce
On Thursday, 8 May 2014 at 04:46:48 UTC, John wrote: How is the performance when compared to other GUIs like Qt or Gtk? For example, in one application, I need to dynamically create several hundred of controls at runtime. BTW, what's your use case? Nested tabbed dialog? After creation it

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Kagamin via Digitalmars-d-announce
On Sunday, 4 May 2014 at 16:18:53 UTC, Gary Willoughby wrote: https://github.com/nomad-software/tkd https://github.com/nomad-software/tkd/blob/master/source/tkd/element/element.d Since you allocate CommandArgs in C heap, its content is invisible to GC and will be freed - uniqueData and

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Kagamin via Digitalmars-d-announce
GC cleans up for you. Usually this won't happen because uniqueData is likely to be in data section and callback is likely to be a member of a widget used elsewhere. But if they aren't, GC will free them and you end up with dangling pointers in CommandArgs.

Re: DGui is alive

2014-05-26 Thread Kagamin via Digitalmars-d-announce
On Saturday, 24 May 2014 at 07:20:49 UTC, Denis Shelomovskij wrote: One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so I don't understand why `GridView` is needed and what is its purpose. Also I don't know what is `DataView` for. Haha,

Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-29 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 28 May 2014 at 05:40:26 UTC, Jesse Phillips wrote: When he explained why C++ inferred a const int type as int, he tripped me up because D does drop const for value types. Hmm, this bit me (doesn't compile): void f(in char[] s) { auto s1=s; s1=s; }

Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-29 Thread Kagamin via Digitalmars-d-announce
On Thursday, 29 May 2014 at 02:38:56 UTC, Jesse Phillips wrote: Hoping someone can confirm or deny this thought. int x2prime = void; // (at global scope) Since x2prime is module variable, I would expect that the compiler will always initialize this to 0 since there isn't really a

Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-31 Thread Kagamin via Digitalmars-d-announce
On Friday, 30 May 2014 at 04:21:18 UTC, Jesse Phillips wrote: I've got two posts complete[1]. Since C++ and D are exactly the same for the majority of the code I'm only showing D and talk of C++'s choice. While the rules governing D's behavior are fairly simple I feel that I've expanded on the

Re: hap.random: a new random number library for D

2014-06-10 Thread Kagamin via Digitalmars-d-announce
Pass it by reference, I see no reason why MT can't be pure.

Re: hap.random: a new random number library for D

2014-06-11 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 10 June 2014 at 10:57:32 UTC, bearophile wrote: Kagamin: Pass it by reference, I see no reason why MT can't be pure. I meant strongly pure :-) I'm afraid, this pure rng pattern precludes all pure optimizations, so it's effectively weakly pure.

Re: hap.random: a new random number library for D

2014-06-11 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 10 June 2014 at 23:08:33 UTC, Chris Cain wrote: 4. I'd just like to say the idea of using ranges for seeds gets me giddy because I could totally see a range that queries https://random.org for true random bits to seed with, wrapped by a range that zeroes out the memory on popFront.

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-06-19 Thread Kagamin via Digitalmars-d-announce
BTW, there's some info about dragondrop in tk: http://wiki.tcl.tk/571

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-06-20 Thread Kagamin via Digitalmars-d-announce
On Thursday, 19 June 2014 at 19:24:15 UTC, SomeRiz wrote: Visual Studio like editor for TkD :/ Hmm... visual designers can usually build pixel-oriented GUI, tk uses layouts, which work with code a little better.

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-06-23 Thread Kagamin via Digitalmars-d-announce
On Friday, 20 June 2014 at 18:04:20 UTC, Nick Sabalausky wrote: While it's been awhile since I've used visual GUI designers much, I seem to remember them (at least the better ones anyway) being perfectly capable of doing resizable layouts. Any limitations seemed to have more to do with the

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-06-23 Thread Kagamin via Digitalmars-d-announce
On Monday, 23 June 2014 at 08:10:49 UTC, Jacob Carlborg wrote: Yes, correct. Why do you need 64bit? All 64bit Windows computers can run 32bit applications. High memory requirements :( If you have performance problems with a (big) database, a possible solution is to cache data on the client.

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-06-23 Thread Kagamin via Digitalmars-d-announce
On Monday, 23 June 2014 at 08:10:49 UTC, Jacob Carlborg wrote: Yes, correct. Why do you need 64bit? All 64bit Windows computers can run 32bit applications. Also big grids; hundreds of thousands items.

Re: EMSI has a Github page

2014-06-27 Thread Kagamin via Digitalmars-d-announce
https://github.com/economicmodeling/containers/blob/master/src/containers/dynamicarray.d#L72 Does this work? You try to remove new range instead of old one. Also you should remove old range only after you added new range, so that GC won't catch you in the middle.

Re: EMSI has a Github page

2014-06-27 Thread Kagamin via Digitalmars-d-announce
And then it will still be able to catch you between realloc and addRange.

Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming

2014-07-19 Thread Kagamin via Digitalmars-d-announce
On Saturday, 19 July 2014 at 03:31:57 UTC, Adam D. Ruppe wrote: Plain text transcript of the video (typed up by me, so there may be some errors but the bulk of it should be readable) http://arsdnet.net/dconf-transcript.txt Hmm... you're trying to implement a lot of features. I don't use

Re: Cassowary.d

2014-07-28 Thread Kagamin via Digitalmars-d-announce
On Sunday, 27 July 2014 at 12:01:47 UTC, Yuriy wrote: On Sunday, 27 July 2014 at 11:44:35 UTC, ketmar wrote: preliminary, but working port of Cassowary Solver — GUI-oriented constraint solver, toolkit-agnostic layout engine. it's not D-spirited yet, but it works. todo list includes templated

Re: DMD v2.066.0-rc1

2014-08-07 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 6 August 2014 at 16:19:39 UTC, Brad Anderson wrote: I don't think it's difficult for them, I think they often just don't know they can. Environment variables just aren't as well known on Windows these days. If you are an 18 year old getting into programming you likely have never

Re: Fix #2529: explicit protection package #3651

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 19 August 2014 at 17:11:19 UTC, Dicebot wrote: Any specific ideas? I can't imagine any clean solution - and proposed language extensions fits naturally into existing system without introducing any new concepts. It is also somewhat frequently asked about in NG. --- module

Re: D 2.066 is out. Enjoy!

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Monday, 18 August 2014 at 23:07:27 UTC, ketmar via Digitalmars-d-announce wrote: i myself using dmd-git-head and heavily ;-) patched gdc, but when i tried to convince my co-workers to use D, they looked at the page with releases first. not feature list or some comparisons. neither to

Re: Fix #2529: explicit protection package #3651

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 07:47:36 UTC, ketmar via Digitalmars-d-announce wrote: but it requires to dump all 'subpackages' into one flat directory and with ugly names. Huh? If std.datetime and std.regex are subpackages of `std` package, it usually means, they should reside in `std`

Re: Fix #2529: explicit protection package #3651

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 13:05:54 UTC, Dicebot wrote: Your proposal makes such module layout illegal: std.package1.module1 std.package1.module2 std.package1.subpackage.module1 std.package1.subpackage.module2 (can't have symbols in subpackage that are also available to package1 but not

Re: Fix #2529: explicit protection package #3651

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 09:40:37 UTC, ketmar via Digitalmars-d-announce wrote: imagine mybiglib, mybiglib.internal, mybiglib.other, and each of them not single module, but package itself. so we have module mybiglib.other.thingy which wants to use functions from module

Re: Fix #2529: explicit protection package #3651

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 14:33:53 UTC, Kagamin wrote: On Wednesday, 20 August 2014 at 09:40:37 UTC, ketmar via Digitalmars-d-announce wrote: imagine mybiglib, mybiglib.internal, mybiglib.other, and each of them not single module, but package itself. so we have module

Re: Fix #2529: explicit protection package #3651

2014-08-20 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 14:35:31 UTC, Dicebot wrote: It may semantically belong to subpackage but still needs to be available to package1, something not uncommon in templated code (subpackage is generic implementation, package1 is specialization that still needs access to non-public

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 16:25:04 UTC, disapointed user wrote: too bad that i wasted my time for such a long time. i post a link to that thread with your answer to everywhere i can, so that others won't waste their time too. anyway good luck in the future for you linux guys. Well,

Re: D 2.066 is out. Enjoy!

2014-08-22 Thread Kagamin via Digitalmars-d-announce
On Friday, 22 August 2014 at 08:18:18 UTC, Daniel Murphy wrote: 2. These features are rather difficult to use, and I don't want people to think they can just plug-and-play. I've spent a lot of time fighting compiler alignment bugs, which are their own special kind of hell. Many of those

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Friday, 22 August 2014 at 15:06:14 UTC, Dmitry Olshansky wrote: Example structure: mod/package.d mod/internal/bar.d mod/... I actually face it in Phobos right now, my blocked pull: https://github.com/D-Programming-Language/phobos/pull/2412 I think, it should have structure

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 14:40:34 UTC, Dicebot wrote: On Wednesday, 20 August 2014 at 14:36:59 UTC, Kagamin wrote: As I see on the realistic example of datetime, which is BIG, we only need to split it into a flat set of files without an overly deep package hierarchy. We _may_ split it

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 14:40:34 UTC, Dicebot wrote: On Wednesday, 20 August 2014 at 14:36:59 UTC, Kagamin wrote: As I see on the realistic example of datetime, which is BIG, we only need to split it into a flat set of files without an overly deep package hierarchy. We _may_ split it

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 20:39:06 UTC, Chris Nicholson-Sauls wrote: module foo.bar.one; module foo.bar.internals; // package-protected utilities module foo.bar.subpkg.two; module foo.bar.subpkg.internals; // package-protected utilities and module 'two' cannot access the 'bar' utilities.

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 14:44:21 UTC, Rory McGuire via Digitalmars-d-announce wrote: On Wed, Aug 20, 2014 at 4:33 PM, Kagamin via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Do we need a hierarchy of internals, is the problem this big? Why mybiglib.wisdom

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Saturday, 23 August 2014 at 09:14:13 UTC, Dmitry Olshansky wrote: Yes, that was my initial pull. The stuff inside was marked as `package`, as only package.d currently has the same public API. Then Dicebot suggested that since all modules are for the moment internal they have to be moved

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Saturday, 23 August 2014 at 09:24:04 UTC, Jacob Carlborg wrote: A symbol declared package can only be accessed within its own package. It cannot be accessed from sub packages or super packages. I didn't know about that. Should it really work that way?

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Saturday, 23 August 2014 at 10:04:40 UTC, Dmitry Olshansky wrote: For what its worth I'd _prefer_ std.regex.internal as in my opinion internals got to be well contained. But as discussed, `package` doesn't work this way. It can be a philosophical matter, but in my experience grouping by

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Kagamin via Digitalmars-d-announce
On Saturday, 23 August 2014 at 11:04:35 UTC, Jacob Carlborg wrote: That's what we're trying to fix with this change. The proposal is to make internals visible to super packages, I only wonder whether internals visible to some package should be hidden from its subpackages.

Re: Fix #2529: explicit protection package #3651

2014-08-24 Thread Kagamin via Digitalmars-d-announce
On Sunday, 24 August 2014 at 02:22:41 UTC, Dicebot wrote: Well difference is that internal substring in the fully qualified name that is much more likely to tell user he is better to not touch it. However, original Kagamin proposal of embedding it into module names themselves does address that

Re: 438-byte Hello, world Win32 EXE in D

2014-09-08 Thread Kagamin via Digitalmars-d-announce
On Monday, 8 September 2014 at 07:01:19 UTC, Andrej Mitrovic via Digitalmars-d-announce wrote: I guess this is great news for virus writers. :P Why? Modern viruses are bloatware: https://www.virustotal.com/en/file/73559b15d1f55a9f08a5674fd4320a7ba9ff4e98f0949a1b2a756ec8eafd5caf/analysis/

Re: 438-byte Hello, world Win32 EXE in D

2014-09-08 Thread Kagamin via Digitalmars-d-announce
On Monday, 8 September 2014 at 07:59:37 UTC, Ola Fosheim Grøstad wrote: «Smallest PE file that downloads a file over WebDAV and executes it: 133 bytes» http://www.phreedom.org/research/tinype/ But that downloaded file is bloatware, because it has to implement functionality, which is not

Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-01 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 1 October 2014 at 14:29:16 UTC, Paulo Pinto wrote: You would be surprised how some Fortune 500 companies are doing their serious work in 100% Windows servers. Sadly I need to comply with NDAs. Isn't NASDAQ enough?

Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-01 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 1 October 2014 at 05:09:45 UTC, Nick Sabalausky wrote: Apparently bash has it's own heartbleed now, dubbed shellshock. Does it affect dash? Also, how does one update software on linux? Last I checked, when new version is out, repository of the previous version becomes utterly

Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-02 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 1 October 2014 at 20:03:11 UTC, Dicebot wrote: This a very unpleasant experience you get compared to sticking to LTS or up to date distro Erm, upgrading to the latest version is exactly what I want, old version is of no interest to me. I read, one can reorient aptitude to

Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-02 Thread Kagamin via Digitalmars-d-announce
On Thursday, 2 October 2014 at 11:40:31 UTC, eles wrote: You simply made the wrong choice in the beginning. Well, it looked popular and easy. Can I upgrade my mint to lmde?

Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-03 Thread Kagamin via Digitalmars-d-announce
On Thursday, 2 October 2014 at 12:44:08 UTC, eles wrote: I doubt. At least, not easily. However, installing LMDE should be a one-time process (it's a rolling distribution). Do rolling distributions guarantee to not overwrite fstab? How mint package update differs from a rolling distro package

Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 3 October 2014 at 11:25:59 UTC, eles wrote: Debian and Debian-based asks you to confirm file overwrite (usually, the diff is displayed too). Isn't it the same package manager? It should be able to do the same on mint. Or may be fstab can be copied somewhere and then back at some

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-23 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 7 October 2014 at 20:06:43 UTC, Walter Bright wrote: On 10/6/2014 9:51 AM, Dicebot wrote: https://github.com/D-Programming-Language/druntime/pull/985 Thank you. This is great progress! I understand the caveats, but can this be put into a shape where it can be pulled despite

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-23 Thread Kagamin via Digitalmars-d-announce
On Friday, 17 October 2014 at 17:53:18 UTC, Andrej Mitrovic via Digitalmars-d-announce wrote: I've come to even hate anything GUI (except maybe the editor), I'd hate to even think about browsing the file system with a mouse anymore. Yes, you can: Windows Explorer does support keyboard input

Re: Endovena: a dependency injection framework.

2014-10-23 Thread Kagamin via Digitalmars-d-announce
Unity uses UnityContainer. So there can be a discriminator in the name.

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-23 Thread Kagamin via Digitalmars-d-announce
On Thursday, 23 October 2014 at 08:46:46 UTC, Dicebot wrote: Currently druntime is packaged as part of Phobos library binary so I don't see easy way to do it. It could be possible to do the replacement at the startup using GC Proxy instrastructure but CDGC does not currently support it (though

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-23 Thread Kagamin via Digitalmars-d-announce
On Thursday, 23 October 2014 at 09:57:38 UTC, Dicebot wrote: Uh, what will it link to? extern(C) function like gc_malloc? druntime links to those statically itself so you will get application that links to different GC than druntime itself. The reason is CDGC provides symbols like gc_malloc

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-23 Thread Kagamin via Digitalmars-d-announce
On Thursday, 23 October 2014 at 13:13:06 UTC, Mathias LANG wrote: It will clash at best, or just ignore cdgc, as objects are considered as a whole, in link order. At best, they won't clash :) If the default GC is not pulled by the linker, why should they clash? Now, if druntime defines

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-24 Thread Kagamin via Digitalmars-d-announce
On Thursday, 23 October 2014 at 15:53:19 UTC, Sean Kelly wrote: We could experiment with separately linking the GC. It wouldn't be hard to do, though the link line might be a bit weird, since core, rt, and gc are all interdependent in terms of link dependencies. Can't it work like any other

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-27 Thread Kagamin via Digitalmars-d-announce
This means, the program should link with object file instead of a library. Alternatively it can be pulled eagerly by the proposed `init` function if it will explicitly depend on a symbol from a gc library - the linker could resolve the symbol early.

Re: Endovena: a dependency injection framework.

2014-11-01 Thread Kagamin via Digitalmars-d-announce
Usually an object receives all needed dependencies with the constructor and thus doesn't need the container itself. Well, either way, it's better to pass one object around instead of ~10 or more.

Re: Devisualization and DWC

2014-11-07 Thread Kagamin via Digitalmars-d-announce
On Friday, 7 November 2014 at 10:48:46 UTC, Rikki Cattermole wrote: - Native GUI controls (such as the menu for OSX) D native or OS native?

Re: gchunt v0.1.0 is out!

2014-11-12 Thread Kagamin via Digitalmars-d-announce
https://github.com/D-Programming-Language/phobos/blob/271c771a57764dcc511ca12ae91d490872d9b500/std/base64.d#L1144 Probably should be an assert?

Re: gchunt v0.1.0 is out!

2014-11-13 Thread Kagamin via Digitalmars-d-announce
Hmm... now that I think of it, base64 is a format used for data transfer, so it's unlikely to come from a trusted source.

Re: DCD v0.4.0

2014-11-16 Thread Kagamin via Digitalmars-d-announce
BTW, does DCD differentiate between function overloads? Semantic analysis would be needed to do it. How much of it DCD implements?

Re: D is for Data Science

2014-11-25 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 25 November 2014 at 01:10:56 UTC, Walter Bright wrote: I know it's a tough call. But I do see these sorts of comments regularly, and it is a fact that there are too many D libraries gone to seed that won't compile anymore, and that makes us look bad. Or this:

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 00:56:12 UTC, Brad Anderson wrote: Maybe make the ones on d.learn extremely simple. --- What does the follow program print? void main() { import std.stdio : writeln; writeln(foo); } --- No algorithms, no math. Just extremely basic

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Kagamin via Digitalmars-d-announce
On Thursday, 4 December 2014 at 02:29:39 UTC, Faux Amis wrote: This has to be a joke! I couldn't answer a single question: What is the name of the D language syntax feature illustrated in the following fragment of D code? string a = x5095 f9 95d723c2; Seems like hex to me What is the name

Re: C# to D Compiler :)

2014-12-19 Thread Kagamin via Digitalmars-d-announce
On Friday, 19 December 2014 at 08:11:42 UTC, Ronald Adonyo wrote: Done, does anyone have a good idea of how to write Async/Await using fibers or state machines in D ? Same as in .net, look at the generated IL, an async method should return a chain of tasks.

Re: 2D game engine written in D is in progress

2014-12-19 Thread Kagamin via Digitalmars-d-announce
On Friday, 19 December 2014 at 17:21:43 UTC, ketmar via Digitalmars-d-announce wrote: have, as i still got the closed proprietary system. what google really has with their open-sourceness is a bunch of people that works as additional coders and testers for free. Well, those people want to do

Re: Calypso: Direct and full interfacing to C++

2014-12-23 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 23 December 2014 at 07:18:01 UTC, Dicebot wrote: Project itself is very cool but I am in doubts about possibility of merging this upstream. Doing so would make full D implementation effectively impossible without some C++ compiler already available as a library on same platform -

Re: Calypso: Direct and full interfacing to C++

2014-12-23 Thread Kagamin via Digitalmars-d-announce
On Monday, 22 December 2014 at 23:14:44 UTC, Elie Morisse wrote: • Structs https://github.com/Syniurge/Calypso/blob/master/tests/calypso/showcase.d testClass cls = new testInherit; This should be written testClass* cls = new testInherit; In C++ struct and class differ only in symbol

Re: Calypso: Direct and full interfacing to C++

2014-12-24 Thread Kagamin via Digitalmars-d-announce
Or it can switch depending on preprocessor definitions: --- class WXDLLIMPEXP_BASE wxString #ifdef wxNEEDS_WXSTRING_PRINTF_MIXIN : public wxStringPrintfMixin #endif { ---

Re: Hiring D programmers (with cryptography and blockchain knowledge are preferred)

2017-07-12 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 12 July 2017 at 04:40:16 UTC, Vitor Rozsas wrote: The server should be somewhat easy, afterall... it should receive posts that are signed by the user, and store the post (with signature) if the signature corresponds to post's message and public key of the user. From what I know

Re: Hiring D programmers (with cryptography and blockchain knowledge are preferred)

2017-07-12 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 12 July 2017 at 11:11:20 UTC, Steven Schveighoffer wrote: Have you heard of https://gab.ai ? They are doing something similar (in terms of providing an uncensored platform). Another one is dreamwidth.org, it started as a reaction to tighter control too and has a permissive

Re: Hiring D programmers (with cryptography and blockchain knowledge are preferred)

2017-07-12 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 12 July 2017 at 14:27:41 UTC, István wrote: These are still centralized services which any time might decide to change to censorship or forced to shut down, then you lose access to your content the same way. I saw 4 such cases and it was always easier to setup a replica. And

Re: LDC 1.7.0

2018-02-02 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote: now it seem abandoned after such an effort. Can you confirm it for Ubuntu 17?

Re: dxml 0.2.0 released

2018-02-13 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 13 February 2018 at 02:53:21 UTC, Nick Sabalausky (Abscissa) wrote: On 02/12/2018 11:15 AM, rikki cattermole wrote: dxml 7.5k LOC std.xml 3k LOC dxml would make the situation a lot worse. 4.5k LOC == "a lot worse"? Uuuuhhh...WAT? And it's like 2k LOC of code and 5.5k LOC of

Re: dxml 0.2.0 released

2018-02-13 Thread Kagamin via Digitalmars-d-announce
On Monday, 12 February 2018 at 16:50:16 UTC, Jonathan M Davis wrote: The core problem is that entity references get replaced with more XML that needs to be parsed. So, they can't simply be passed on for post-processing. As I understand it, they have to be replaced while the parsing is going

Re: dxml 0.2.0 released

2018-02-14 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 13 February 2018 at 22:29:27 UTC, H. S. Teoh wrote: - provide some way of hooking into non-default entities so that DTD-defined entities can be expanded by the DTD implementation. The parser now returns raw text, entity replacement can be done by DTD processor without any

Re: Beta 2.079.0

2018-02-21 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 20 February 2018 at 22:54:43 UTC, H. S. Teoh wrote: Yeah, personally I'd avoid writing it that way too. There's no other way to use this feature though.

Re: Beta 2.079.0

2018-02-20 Thread Kagamin via Digitalmars-d-announce
On Monday, 19 February 2018 at 18:50:47 UTC, Dukc wrote: Huh? Did I understand right? Just add an empty object.d into your project and --BetterC is now basically needless, plus the executable is most likely even smaller? And more functions to std.range, my favorite module, yes! FWIW I used

Re: Beta 2.079.0

2018-02-20 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 20 February 2018 at 08:43:50 UTC, Martin Nowak wrote: If you prefer java-like 50 lines import manifests, then by all means keep using those. Imports can be written on one line. import std.stdio; import std.range; It only needs one more word.

Re: Beta 2.079.0

2018-02-22 Thread Kagamin via Digitalmars-d-announce
auto result = foo(), bar(); Does this compile? In variable declaration statement comma already has meaning as separator of declarators. Does it apply to enums too? This is difficult to parse.

Re: Beta 2.079.0

2018-02-23 Thread Kagamin via Digitalmars-d-announce
auto result = foo(), bar(); Doesn't look like it works. --- int f(int a){ return a; } int main() { int a=f(0),f(1); //doesn't compile return 0; } --- int f(int a){ return a; } int main() { int a; a=f(0),f(1); assert(a==1); //fails return 0; } ---

Re: Beta 2.079.0

2018-02-23 Thread Kagamin via Digitalmars-d-announce
https://github.com/dlang/druntime/pull/1282 github shows me just two changes in makefiles and nothing else, need to find where the code comes from.

Re: Beta 2.079.0

2018-02-23 Thread Kagamin via Digitalmars-d-announce
On Friday, 23 February 2018 at 00:05:59 UTC, Martin Nowak wrote: The main use-case for craming multiple imports into a line is not libraries but scripting, examples, and maybe unit tests. Those are cases when selective imports shouldn't be used. experimental.scripting was introduced to reduce

Re: Beta 2.079.0

2018-02-23 Thread Kagamin via Digitalmars-d-announce
On Friday, 23 February 2018 at 01:02:59 UTC, Martin Nowak wrote: Also https://en.wikipedia.org/wiki/Law_of_triviality, because this is certainly easier to grasp than https://github.com/dlang/druntime/pull/1282 (https://forum.dlang.org/post/mjsma6$196h$1...@digitalmars.com) If nobody opposes,

Re: Packt is looking for someone to author a Learning D

2015-02-18 Thread Kagamin via Digitalmars-d-announce
On Sunday, 15 February 2015 at 04:38:08 UTC, Craig Dillabaugh wrote: Just my personal opinion as one who recently finished a 200 page thesis in Latex, and is now working for a company where we do all our internal documents in Word. Latex certainly has its ugly warts, but it is so nice for

Re: let (x,y) = ...

2015-02-19 Thread Kagamin via Digitalmars-d-announce
On Thursday, 19 February 2015 at 10:52:40 UTC, Kagamin wrote: On Thursday, 19 February 2015 at 09:50:25 UTC, bearophile wrote: I prefer let, it's much more traditional and descriptive. C++ standard library is often a bad example to follow... Doesn't let normally declare a new variable?

Re: let (x,y) = ...

2015-02-19 Thread Kagamin via Digitalmars-d-announce
On Thursday, 19 February 2015 at 09:50:25 UTC, bearophile wrote: I prefer let, it's much more traditional and descriptive. C++ standard library is often a bad example to follow... Doesn't let normally declare a new variable?

Re: let (x,y) = ...

2015-02-19 Thread Kagamin via Digitalmars-d-announce
Or even more obvious (VBA,TSQL): set (x,y,z) = [1,2,3];

Re: Calypso: Direct and full interfacing to C++

2015-02-16 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 17 February 2015 at 02:16:58 UTC, Kelly wrote: P.S. I HATE THIS FORUM EDITORplease add a preview button, whoever takes care of this!?!? I take notes in a different editor and then paste here and it looks fine, only to end up mangled when actually submitted...ugh :) You

Re: Packt is looking for someone to author a Learning D

2015-02-18 Thread Kagamin via Digitalmars-d-announce
Well, Word can diff and merge documents, though, it works with sharepoint, not vcs.

Re: Calypso: Direct and full interfacing to C++

2015-02-09 Thread Kagamin via Digitalmars-d-announce
On Monday, 9 February 2015 at 04:33:04 UTC, Kelly wrote: Ugh, this forum needs a preview button!! Sorry about the poor formatting, Kelly http://pastebin.com/

Re: Calypso: Direct and full interfacing to C++

2015-02-16 Thread Kagamin via Digitalmars-d-announce
http://forum.dlang.org/post/mbqt88$a6n$1...@digitalmars.com looks like C++ class support is shifting to value types.

Re: GtkD 3.0-beta

2015-03-10 Thread Kagamin via Digitalmars-d-announce
On Monday, 9 March 2015 at 18:48:53 UTC, captaindet wrote: after original package installation setup whatnot, will i end up with a dedicated gtk3 folder msys provides pacman and gtk3 package to fetch (and build?).

Re: dfmt 0.1.0

2015-03-07 Thread Kagamin via Digitalmars-d-announce
On Friday, 6 March 2015 at 20:22:42 UTC, Ben Boeckel wrote: You're making assumptions about the features of your users' editors. These features are not trivial to implement Implementation of three different word wrapping algorithms in Scintilla took 52 lines of code. For comparison: a

Re: dfmt 0.1.0

2015-03-07 Thread Kagamin via Digitalmars-d-announce
In fact, I failed to find good monospace font for source code, it used to be Courier New 9pt, but it works well only on displays no bigger than 1024*768.

Re: dfmt 0.1.0

2015-03-07 Thread Kagamin via Digitalmars-d-announce
On Friday, 6 March 2015 at 20:22:42 UTC, Ben Boeckel wrote: And I find that monospace fonts tend to make it much easier to tell the difference between 'l', '1', and 'I'. Not so important in English, but it can be all the difference in code. http://abload.de/img/tmpr3uv6.png I see no less

Re: Gary Willoughby: Why Go's design is a disservice to intelligent programmers

2015-03-26 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 25 March 2015 at 22:30:15 UTC, Ola Fosheim Grøstad wrote: Downplaying other languages makes the D crowd look desperate... Heh, there were whole sites like phpain (can't find it now) and something similar for C++.

Re: Calypso: Direct and full interfacing to C++

2015-02-24 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 24 February 2015 at 08:39:39 UTC, Kelly wrote: due to class value support being incomplete What about using that trick: recognize C++ classes and represent them internally as structs with altered mangling - at least it frees you from messing with D classes.

Re: Trial migration of Dsource bindings project to Github

2015-04-24 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 21 April 2015 at 21:31:39 UTC, Stewart Gordon wrote: How does using SVN lead to fragmentation? I don't understand. See http://forum.dlang.org/post/mailman.3160.1418550079.9932.digitalmar...@puremagic.com

  1   2   3   >