Re: Regarding std.array.Appender

2015-10-13 Thread Suliman via Digitalmars-d-learn
On Tuesday, 13 October 2015 at 13:51:50 UTC, anonymous wrote: On Tuesday 13 October 2015 15:42, Suliman wrote: map!(a=> a~=" +") work fine, but how to add before at same time? Use ~ instead of ~=, like so: map!(a => "+" ~ a ~ "+") Thanks!

Re: Digital Mars Contact Address

2015-10-12 Thread suliman via Digitalmars-d
On Sunday, 11 October 2015 at 13:14:06 UTC, Mohammad Shuvo wrote: I would like contact with Digital Mars company through email address. Actually, I want to help Digital Mars to make various library for D language such as Graphics library or Windows GUI library. But the problem is, I could

Re: Beta D 2.069.0-b1

2015-10-07 Thread Suliman via Digitalmars-d-announce
On Wednesday, 7 October 2015 at 22:33:09 UTC, Martin Nowak wrote: First beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin Is it DDMD based release?

Re: DSFML reaches version 2.1

2015-10-07 Thread suliman via Digitalmars-d-announce
Perfect!!! Big thanks! I think not only one are tired from GTK, and need simple and compact gui lib

Re: Looking for someone that could work on 32 bits support for SDC

2015-10-04 Thread Suliman via Digitalmars-d
On Wednesday, 9 September 2015 at 20:33:43 UTC, deadalnix wrote: All is in the title. ARM/Mips/pNaCl/WebAssembly require 32bits to work. These are valuable targets IMO. I can provide support, but I just don't have the bandwidth to pull it by myself. If someone could step up, that'd be

Re: What keeps you from using gtkd or dlangui

2015-10-04 Thread Suliman via Digitalmars-d
Qt is the defacto portable standard +1 GTK is crap, and dlangui is single-man project, and also look not very native.

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Suliman via Digitalmars-d
On Saturday, 3 October 2015 at 01:58:01 UTC, Jeremy DeHaan wrote: I know a lot of people wish they had new bindings for Qt, so I was going to give it a go soon. Is anyone currently working on such a thing? I'd rather help someone than compete with them. I tried to use

Re: Looking for someone that could work on 32 bits support for SDC

2015-10-01 Thread Suliman via Digitalmars-d
On Wednesday, 9 September 2015 at 20:33:43 UTC, deadalnix wrote: All is in the title. ARM/Mips/pNaCl/WebAssembly require 32bits to work. These are valuable targets IMO. What is the current status of the project? What need to implement since it's become self-compiling, oтв would be able to

Re: Is Anything Holding you back?

2015-10-01 Thread suliman via Digitalmars-d
On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold

StyleCop for D

2015-09-30 Thread Suliman via Digitalmars-d
I found very interesting tool for .NET https://stylecopplus.codeplex.com/#MoreCustomRules It would be nice to have such tool for D.

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Suliman via Digitalmars-d-announce
Does it's work with anything except localhost? Could you add example of sending email with gmail?

Re: A new article about working with files in D

2015-09-29 Thread Suliman via Digitalmars-d-announce
Big thanks! It's very helpful for newcomers. D need extend Phobos docs with such examples. Is there any plan to do it, because it's often it's hard to understand how to proper use functions. Also I think you need to add example of getting file list (all and with specified extension). Also

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Suliman via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 08:17:42 UTC, Sebastiaan Koppe wrote: On Tuesday, 29 September 2015 at 06:18:32 UTC, Suliman wrote: Does it's work with anything except localhost? Could you add example of sending email with gmail? It is in the settings variable. Look at

Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce
On Thursday, 24 September 2015 at 09:48:10 UTC, Sönke Ludwig wrote: Am 24.09.2015 um 10:40 schrieb Suliman: Does DUB still can't generate sdl package format after dub init? It's a little bit not comfortable to have docs that describe SDL, when dub generate json. No, it generates a dub.sdl

Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce
btw, yaml is still looks for me more readable and easier to googling.

Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce
How I can add multiple dependencies? In json I was can wrote: dependencies": { "dini": ">=1.0.0", "colorize": ">=1.0.5", "ddbc": ">=0.2.11", } How it will be in SDL?

Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce
Does DUB still can't generate sdl package format after dub init? It's a little bit not comfortable to have docs that describe SDL, when dub generate json.

Re: OneDrive Client written in D

2015-09-24 Thread Suliman via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 20:43:32 UTC, skilion wrote: I've been waiting for a good sync client for OneDrive (15 GB for free!) on Linux, but Microsoft seems to have other plans... So I've decided to write my own, using D. Take a look: http://skilion.github.io/onedrive/ What this

Re: D ranked as #25 by IEEE spectrum

2015-09-24 Thread suliman via Digitalmars-d
I am intending to try my luck at creating something similar to Xamarin Forms with Qt being the initial backend, but we'll see how that goes. Besides the GUI situation, D would of course be nice for desktop apps. Could you handle of any present GUI lib, or binding for example dgui or dfl?

What difference between std.typecons.Tuple and std.meta.AliasSeq

2015-09-20 Thread Suliman via Digitalmars-d-learn
Sometimes it's hard to understand the D philosophy, for example now I can't understand diffrence between std.typecons.Tuple and std.meta.AliasSeq. I know that in language like Python there is spatial data type named tuple like: tup1 = ('physics', 'chemistry', 1997, 2000); But what in D? That

Re: Wait, what? What is AliasSeq?

2015-09-20 Thread Suliman via Digitalmars-d
So AliasSeq = Tuples?

Re: Benchmarking suite

2015-09-07 Thread Suliman via Digitalmars-d
On Monday, 7 September 2015 at 08:33:33 UTC, Dmitry Olshansky wrote: On 07-Sep-2015 11:29, qznc wrote: Maybe std.regex has just space for optimization? Sure thing, see WIP here (~25% faster but not yet complete): https://github.com/D-Programming-Language/phobos/pull/3314 Could anybody add

Re: Initial feedback for std.experimental.image

2015-09-03 Thread Suliman via Digitalmars-d
Hi! Is there any progress?

Re: DCD v0.7.0-rc1

2015-08-29 Thread suliman via Digitalmars-d-announce
On Saturday, 29 August 2015 at 10:38:39 UTC, Brian Schott wrote: On Thursday, 27 August 2015 at 22:18:25 UTC, Brian Schott wrote: On Thursday, 27 August 2015 at 10:13:38 UTC, BBasile wrote: I've seen some activity on your allocator fork and on the DCD submodules yesterday, is it ok to release

Re: What is the D way to map a binary file to a structure?

2015-08-29 Thread Suliman via Digitalmars-d-learn
On Saturday, 29 August 2015 at 16:55:44 UTC, cym13 wrote: On Saturday, 29 August 2015 at 16:47:23 UTC, Laeeth Isharc wrote: Align(1) ? That should do it, thanks :) Do not forget to post code example, please, it's interesting to look at your solution...

Re: Programming in D paper book is available for purchase

2015-08-19 Thread Suliman via Digitalmars-d-announce
Ali, great news! P.S. is not too late to change cover to something another? I think so great book should have a little bit better cover...

Re: ∅MQD messaging library v1.0 released

2015-08-18 Thread Suliman via Digitalmars-d-announce
Lars, did you thought about full port? I read post of etcimon about his Botan lib. He eventual decided to rewrite original lib from C++ to D to make code more easier maintainable.

Re: std.data.json formal review

2015-08-17 Thread Suliman via Digitalmars-d
Why not working: JSONValue x = parseJSONValue(`{a: true, b: test}`); but: string str = `{a: true, b: test}`; JSONValue x = parseJSONValue(str); work fine?

Re: std.data.json formal review

2015-08-17 Thread Suliman via Digitalmars-d
Also could you look at theme http://stackoverflow.com/questions/32033817/how-to-insert-date-to-arangodb And suggest your variant or approve on of existent.

Re: std.data.json formal review

2015-08-17 Thread Suliman via Digitalmars-d
Also I can't build last build from git. I am getting error: source\stdx\data\json\value.d(25,8): Error: module taggedalgebraic is in file 'taggedalgebraic.d' which cannot be read

Re: std.data.json formal review

2015-08-17 Thread Suliman via Digitalmars-d
String is a valid range, but parseJSONValue takes a *reference* to a range, because it directly consumes the range and leaves anything that appears after the JSON value in the range. toJSON() on the other hand assumes that the JSON value occupies the whole input range. Yeas, I understood,

Re: std.data.json formal review

2015-08-17 Thread Suliman via Digitalmars-d
On Monday, 17 August 2015 at 20:07:24 UTC, Sönke Ludwig wrote: Am 17.08.2015 um 21:32 schrieb Suliman: Why not working: JSONValue x = parseJSONValue(`{a: true, b: test}`); but: string str = `{a: true, b: test}`; JSONValue x = parseJSONValue(str); work fine? toJSONValue() is the right

Re: std.data.json formal review

2015-08-15 Thread Suliman via Digitalmars-d
I talked with few people and they said that they are prefer current vibed's json implementation. What's wrong with it? Why do not stay old? They look more easier that new... IMHO API of current is much harder.

Re: std.data.json formal review

2015-08-14 Thread suliman via Digitalmars-d
On Friday, 14 August 2015 at 20:44:59 UTC, Walter Bright wrote: On 8/14/2015 5:40 AM, Jacob Carlborg wrote: On 2015-08-14 10:04, Walter Bright wrote: Yes, but we (will) have a .json parser in Phobos. Time to add a YAML parser ;) That's a good idea, but since dmd already emits json and

Re: vibe.d 0.7.24 released

2015-08-12 Thread Suliman via Digitalmars-d-announce
Did you try to run dub upgrade Thanks! It's work!

Re: vibe.d 0.7.24 released

2015-08-11 Thread Suliman via Digitalmars-d-announce
I can't understand why I can't build vibed with 2.068 C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(631): Error: '_d_monitorenter' is not nothrow

Re: vibe.d 0.7.24 released

2015-08-11 Thread Suliman via Digitalmars-d-announce
I still can't get 0.7.24. My config is: dependencies: { vibe-d: 0.7.24 }, D:\code\httpAppdub clean-caches D:\code\httpAppdub build Fetching vibe-d 0.7.23 (getting selected version)... Placing vibe-d 0.7.23 to C:\Users\bubenkov_di\AppData\Roaming\dub\packages\... Selected package vibe-d 0.7.23

Infinity loop with dates comparison

2015-08-11 Thread Suliman via Digitalmars-d-learn
The code look very trivial, but I am getting infinity loop like: 2014-Aug-02 2014-Aug-02 2014-Aug-02 ... 2014-Aug-02 Date startDate = Date.fromISOExtString(2014-08-01); Date currentDate = to!(Date)(Clock.currTime()-1.days); //because current day is not finished writeln(startDate);

Re: D for Game Development

2015-08-07 Thread Suliman via Digitalmars-d
On Friday, 7 August 2015 at 08:25:04 UTC, Ola Fosheim Grøstad wrote: On Friday, 7 August 2015 at 07:24:29 UTC, Dmitry Olshansky wrote: Truth be told if we were willing to walk extra mile we'd have proper curl/zlib experience. But linking problems plague std.net.curl usage and both libs are

Re: std.experimental.color, request reviews

2015-08-04 Thread Suliman via Digitalmars-d
On Tuesday, 4 August 2015 at 11:01:58 UTC, Manu wrote: On 4 August 2015 at 05:47, Tofu Ninja via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tuesday, 23 June 2015 at 14:58:35 UTC, Manu wrote: https://github.com/D-Programming-Language/phobos/pull/2845 I'm getting quite happy with it.

Re: Russian-speaking community

2015-08-02 Thread Suliman via Digitalmars-d-announce
On Sunday, 2 August 2015 at 12:11:03 UTC, Majestio wrote: On Tuesday, 30 June 2015 at 20:39:38 UTC, lomereiter wrote: (whose domain is much easier to remember, btw) We have already moved to http://dlanguage.ru Sorry for long reviving of http://dlang.ru but we almost end work at it's

Re: std.data.json formal review

2015-08-01 Thread Suliman via Digitalmars-d
parseJSONValue takes a reference to an input range, so that it can consume the input and leave any trailing text after the JSON value in the range. For just converting a string to a JSONValue, use toJSONValue instead. I'll make this more clear in the documentation. Yes please, because it's

Re: std.data.json formal review

2015-08-01 Thread Suliman via Digitalmars-d
On Saturday, 1 August 2015 at 14:52:55 UTC, Sönke Ludwig wrote: Am 01.08.2015 um 16:15 schrieb Suliman: Look like it's Variant type. So I tried to use method get! do extract value from it writeln(get!(response[code])); But I get error: Error: variable response cannot be read at compile time

Re: std.data.json formal review

2015-08-01 Thread Suliman via Digitalmars-d
Look like it's Variant type. So I tried to use method get! do extract value from it writeln(get!(response[code])); But I get error: Error: variable response cannot be read at compile time

Re: std.data.json formal review

2015-08-01 Thread Suliman via Digitalmars-d
On Saturday, 1 August 2015 at 14:52:55 UTC, Sönke Ludwig wrote: Am 01.08.2015 um 16:15 schrieb Suliman: Look like it's Variant type. So I tried to use method get! do extract value from it writeln(get!(response[code])); But I get error: Error: variable response cannot be read at compile time

Re: std.data.json formal review

2015-07-31 Thread Suliman via Digitalmars-d
On Friday, 31 July 2015 at 12:16:02 UTC, Sönke Ludwig wrote: Am 31.07.2015 um 10:13 schrieb Suliman: is the current build is ready for production? I am getting error: source\stdx\data\json\value.d(81): Error: safe function 'stdx.data.json.value.JSONValue.this' cannot call system function

Re: std.data.json formal review

2015-07-31 Thread Suliman via Digitalmars-d
is the current build is ready for production? I am getting error: source\stdx\data\json\value.d(81): Error: safe function 'stdx.data.json.value.JSONValue.this' cannot call system function 'std.variant.VariantN!(12u, typeof(null), bool, double, long, BigInt, string, JSONValue[],

Implement Parse implementation like in Red

2015-07-30 Thread Suliman via Digitalmars-d
Red have very nice future called Parse http://www.red-lang.org/2013/11/041-introducing-parse.html Is it's possible to implement something like it in D/Phobos?

Re: Implement Parse implementation like in Red

2015-07-30 Thread Suliman via Digitalmars-d
On Thursday, 30 July 2015 at 08:14:44 UTC, tcak wrote: On Thursday, 30 July 2015 at 08:04:37 UTC, Suliman wrote: Red have very nice future called Parse http://www.red-lang.org/2013/11/041-introducing-parse.html Is it's possible to implement something like it in D/Phobos? I already have

Re: std.data.json formal review

2015-07-30 Thread Suliman via Digitalmars-d
If this implementation will be merged with phobos will vibed migrate to it, or it would two similar libs?

Re: Bin2d (0.2.0) Rewrite

2015-07-24 Thread Suliman via Digitalmars-d-announce
There is already a pretty basic example in it. Anything specific in mind? How to get access to file after it's was build in executable?

Re: Bin2d (0.2.0) Rewrite

2015-07-23 Thread Suliman via Digitalmars-d-announce
On Thursday, 23 July 2015 at 10:15:17 UTC, Rikki Cattermole wrote: So Bin2D[0] has been rewritten and adds a bunch of nice new features. - Limit generated code by: - package modifier - ``version(unittest)`` - Use enum for usage at compile time, instead of ``const(ubyte[])`` - Report with

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread suliman via Digitalmars-d
On Tuesday, 21 July 2015 at 16:27:24 UTC, Andrei Alexandrescu wrote: On 7/21/15 12:22 PM, Jacob Carlborg wrote: How about we start with bundling Dub and see what happens? Then at a later point we can discuss what to do about vibe.d. Yah, nice. -- Andrei So why we can't simply add vibed in

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Suliman via Digitalmars-d
Maybe it's really better to jump ddmd to 2.1 version and stay 2.06+ for compatibility purpose? The something similar was with D1 time, when for a long times it's get new updates.

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Suliman via Digitalmars-d
So maybe would be good to pot in phobos vibe's json lib and some other good stuff, to prevent overlapping phobos and vibe's lib that are doing similar things?

Re: DMD 2.68's promised C++ interface

2015-07-21 Thread Suliman via Digitalmars-d
On Monday, 20 July 2015 at 16:06:43 UTC, Shriramana Sharma wrote: Just now saw Walter's tentative roadmap going forward to 2.69 etc... I don't see anything mentioned about the promised C++ interface. Was I mistaken in thinking that it is part of 2.68? Please can anyone in the know have mercy

Customization of User Defined Logger

2015-07-19 Thread Suliman via Digitalmars-d-learn
When I try co compile next code: class MyCustomLogger : Logger { this(string newName, LogLevel lv) @safe { super(newName, lv); } override void writeLogMsg(ref LogEntry payload) { // log message in my custom way } } auto logger = new MyCustomLogger();

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-16 Thread Suliman via Digitalmars-d
On Tuesday, 14 July 2015 at 13:58:36 UTC, Andrei Alexandrescu wrote: On 7/13/15 7:09 PM, Sönke Ludwig wrote: If everything goes as planned, the 0.9.24 release will be the last one before 1.0.0. Great! I wish we'd synchronize release and distribution schedules for dmd, dub, and vibe soon. --

Re: Deal of the day: The D Programming Language @ Informit

2015-07-15 Thread Suliman via Digitalmars-d-announce
It would be very nice if Andrei will find time to work on second edition, to update book with more actual language information. But the book is really cool!

Re: Beta D 2.068.0-b1

2015-07-15 Thread Suliman via Digitalmars-d-announce
There was plan to include dub (and other tools) in DMD distrib. In what release it would be done?

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-14 Thread Suliman via Digitalmars-d
Why this version is still after dub init are generate json instead of sdl file?

Re: Announcing libasync, a cross-platform D event loop

2015-07-11 Thread Suliman via Digitalmars-d
There's a path in the DWFileChange change structure, you can access it with change.path. You'll have to put it in a path parser to access the filename, such as std.path Could you give an example of usage? And where DWFileChange structure is located? I do not see it in watcher.d

Re: DUB 0.9.24 beta 1 with SDL support ready for testing

2015-07-07 Thread Suliman via Digitalmars-d
Removing vibed from packages solved problem

Re: DUB 0.9.24 beta 1 with SDL support ready for testing

2015-07-07 Thread Suliman via Digitalmars-d
I can't understand why dub are trying to build vibed in app where it's does not implicitly linked: app.d: == import std.stdio; void main() { writeln(Edit source/app.d to start your project.); } = dub.json: = { name: App,

Re: Initial feedback for std.experimental.image

2015-07-06 Thread Suliman via Digitalmars-d
If people reject the idea of the std lib depending on an outside lib, then I would at least ask that the design be such that an outside lib could be easily used in conjunction with std.image. Yes it's not good idea, because you need one freeImage, I need gdal image support, but all of us need

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
On Saturday, 27 September 2014 at 18:21:18 UTC, Etienne wrote: On 2014-09-27 2:13 PM, Etienne wrote: engine (I have an ASN1 library in the works as well). It's nearly finished, it will allow BER/DER serialization to take place from UDAs and native types at compile-time:

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
Hmm, sorry that would be g_evl.loop(10.seconds) or getThreadEventLoop().loop(10.seconds). I use the vibe.d driver most often. I changed paths to hardcoded to prevent issue with them, but next code after run only create hey folder and nothing more. No files in it: { void

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
It's particularity of unit-test blocks, or why function are specified without return type like: g_evl = getThreadEventLoop(); Also next code that I take from example after run absolutely do not do nothing: void main() { auto g_evl = getThreadEventLoop(); auto g_cbCheck =

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
Ehm, there is issue on Windows or I am again doing something wrong? void main() { void dirWatcher() { auto g_watcher = new AsyncDirectoryWatcher(getThreadEventLoop()); g_watcher.run({ DWChangeInfo[1] change;

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread suliman via Digitalmars-d
Ok, but code still do exit after it's run. Look like loop is not started

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
void main() { void dirWatcher() { auto g_watcher = new AsyncDirectoryWatcher(getThreadEventLoop()); g_watcher.run({ DWChangeInfo[1] change; DWChangeInfo[] changeRef = change.ptr[0..1];

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
You can see an example in libasync.tests thanks! I have got few questions g_cbCheck = new shared bool[19]; what does it do? AsyncDirectoryWatcher g_watcher = new AsyncDirectoryWatcher(getThreadEventLoop()); Am I right understand that it's run new eventloop inside AsyncDirectoryWatcher

Re: Announcing libasync, a cross-platform D event loop

2015-06-30 Thread Suliman via Digitalmars-d
Try putting the timers outside the callbacks in the meantime. I'll test it tomorrow when I'm at the office =) Ok. Thanks. I did: dirWatcher(); getThreadEventLoop().loop(10.seconds); destroyAsyncThreads(); same result.

Re: Russian-speaking community

2015-06-30 Thread Suliman via Digitalmars-d-announce
I had promised to end work with dlang.ru half year ago, but for my regret our web-developer still have not free time to end migration of DB to new version of CMS. I still hope that in nearest time he will be able to finish all. If anybody want help - help with site template.

Re: std.string.entabber, detabber, left/right/centerJustifier, soundexer

2015-06-26 Thread Suliman via Digitalmars-d
IMO, when naming things, generally we should lean towards representing semantics rather than mechanics (i.e. how is this function going to be used, rather than what this function does under the hood), as that will result in more readable code. +1

Re: dtiled v0.2 - a library for tilemapped games

2015-06-24 Thread Suliman via Digitalmars-d-announce
Is it's possible to use this lib for tiling jpg? I am planing to try to create online service that will load tiles depending on scale (zoom). Front and is js, but I think backend should be based on lib like this.

Re: DUB 0.9.24 beta 1 with SDL support ready for testing

2015-06-24 Thread Suliman via Digitalmars-d
dub init generate by default json file. SDL still is not sully implemented?

Re: std.uni.toLowerCase / .toUpperCase

2015-06-24 Thread Suliman via Digitalmars-d
On Wednesday, 24 June 2015 at 20:00:00 UTC, Jacob Carlborg wrote: On 24/06/15 15:43, Adam D. Ruppe wrote: Absolutely. I don't even like names that are just kinda similar. Ruby, for example, has `chop` and `chomp`. What's the difference? idk, I have to look it up. (chop will also remove

Re: D could catch this wave: web assembly

2015-06-23 Thread Suliman via Digitalmars-d
On Tuesday, 23 June 2015 at 11:41:03 UTC, Wyatt wrote: On Tuesday, 23 June 2015 at 11:37:41 UTC, Suliman wrote: Am I right understand that web assembly would not completely new technology and would be just evolution of asm.js, so all of webassembly apps would run in old javascript virtual

Re: D could catch this wave: web assembly

2015-06-23 Thread Suliman via Digitalmars-d
Am I right understand that web assembly would not completely new technology and would be just evolution of asm.js, so all of webassembly apps would run in old javascript virtual machine?

Re: forum.dlang.org, version 2 (BETA)

2015-06-21 Thread Suliman via Digitalmars-d-announce
Maybe we should add link to D page on SO in left menu?

Re: PHP verses C#.NET verses D.

2015-06-19 Thread Suliman via Digitalmars-d
It has HTTP/2, a new encryption library, it uses a native TCP event library, lots of refactoring. In short, the entire thing is in D rather than linking with OpenSSL and libevent. It's MIT licensed. I have it here: https://github.com/etcimon/vibe.d Cool! 1. Do you plain to merge it's with

Re: forum.dlang.org, version 2 (BETA)

2015-06-16 Thread Suliman via Digitalmars-d-announce
Maybe somebody already asked about it, but is there any plans to migrate forum to vibed?

Re: forum.dlang.org, version 2 (BETA)

2015-06-16 Thread Suliman via Digitalmars-d-announce
I think to better move this to bottom http://img.ctrlv.in/img/15/06/16/557fcd265df16.png this stat info is not so important to show it's on top

Re: Comparison page on wikibooks C++ Programming/Programming Languages/Comparisons/D

2015-06-15 Thread Suliman via Digitalmars-d
Perfect! vibed page on wiki also need updating, not it's almost empty.

Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread Suliman via Digitalmars-d-announce
On Monday, 15 June 2015 at 07:45:56 UTC, Kagamin wrote: http://abload.de/img/tmphersb.png Maybe show full thread titles? They are weird when abbreviated. Yes it would be nice. On my phone titles are too short.

Serialization array of structure

2015-06-13 Thread Suliman via Digitalmars-d-learn
Look like I am doing serialization wrong way: struct DBFields { Date date; string tag; int popularity; } DBFields [] dbfields; DBFields dbfield; . dbfields ~= dbfield; writeln(serializeToJson(dbfields)); As result I am getting only first string.

Re: Serialization array of structure

2015-06-13 Thread Suliman via Digitalmars-d-learn
Oh, sorry, the error was in another place.

Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Suliman via Digitalmars-d-announce
Vladimir, great work! But I really can't understand people that still continue use mail for communication, for me forum like http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/ is perfect. mail communication have a lot of contras. Messages are can't be edited, problem with

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

2015-05-31 Thread suliman via Digitalmars-d-announce
On Sunday, 31 May 2015 at 01:16:14 UTC, Kelly wrote: Ok, this example for GDAL should work out-of-the-box with Calypso now (new git HEAD from last night). This took a while to get running because of a major rewrite that Elie was working on the last couple weeks. Things work quite a bit

Is there any plans to include vibed in dmd distrib?

2015-05-31 Thread suliman via Digitalmars-d
Subj I think it important step in creation D infrastructure. Also vibed and dmd have simmilar API that are overlaps. For example std.json. Is there any plans to merge them. Many people prefer use vibed's realization.

Re: What happens when you launch a D application ?

2015-05-23 Thread Suliman via Digitalmars-d-learn
Every D program is started as if it were a C program. Why is so necessary? What about C++ and other languages? Does they have more then one main? Why it's more than one main is needed? Why D apps can't start with single main?

What happens when you launch a D application ?

2015-05-22 Thread Suliman via Digitalmars-d-learn
On SO[1] I got next answer: What happens when you launch a D application ? The entry point is a C main inside the runtime, which initialize it (the runtime), including module constructor, run the unittest (if you've compiled with -unittest), then call your main (which name is _Dmain - useful

Re: What happens when you launch a D application ?

2015-05-22 Thread Suliman via Digitalmars-d-learn
Am I right understand that that: 1. every App start from main() 2. Dmain is function that run after main is started and it's run GC, unit-tests and so on?

Re: What happens when you launch a D application ?

2015-05-22 Thread Suliman via Digitalmars-d-learn
Really hard to understand... So what what would call at first ? extern(C) int main() or int _Dmain()

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

2015-05-19 Thread Suliman via Digitalmars-d-announce
Oh, I forgot to fix path at: /etc/ldc.conf Am I right understand that: C:/Program Files (x86)/ldc/lib = C:\Program Files (x86)\mingw-w64\i686-4.9.2-posix-dwarf-rt_v4-rev2\mingw32\lib ? Or I can't find more proper folder

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

2015-05-19 Thread Suliman via Digitalmars-d-announce
modmap (C++) gdalwarper; import std.stdio; void main() { GDALDatasetH hSrcDS, hDstDS; GDALAllRegister(); writeln(hello); } error: app.d(7): Error: undefined identifier GDALDatasetH app.d(7): Error: undefined identifier GDALDatasetH app.d(8): Error: undefined

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

2015-05-19 Thread Suliman via Digitalmars-d-announce
I can't understand how to use Calypso. I did: modmap (C++) gdalwarper; import std.stdio; void main() { writeln(hello); } then run build command: ldc2 -L-lstdc++ -cpp-args -ID:\Project\2015\gdal1112\alg app.d assume gdalwarper.h is located at alg folder and I am getting error: Error:

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

2015-05-18 Thread Suliman via Digitalmars-d-announce
Could you show how translate this example to get it's compile with Calypso? http://www.gdal.org/warptut.html I do not have knowlages of C/C++ and can't understand how to convert next strings like: GDALWarpOptions *psWarpOptions = GDALCreateWarpOptions(); psWarpOptions-hSrcDS = hSrcDS;

Re: ddbc: MySQL/MariaDB: Access Violation

2015-05-18 Thread Suliman via Digitalmars-d-learn
still can't get it's work :(

<    1   2   3   4   5   6   7   8   9   >