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!
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
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?
Perfect!!! Big thanks! I think not only one are tired from GTK,
and need simple and compact gui lib
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
Qt is the defacto portable standard
+1
GTK is crap, and dlangui is single-man project, and also look not
very native.
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
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
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
I found very interesting tool for .NET
https://stylecopplus.codeplex.com/#MoreCustomRules
It would be nice to have such tool for D.
Does it's work with anything except localhost?
Could you add example of sending email with gmail?
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
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
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
btw, yaml is still looks for me more readable and easier to
googling.
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?
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.
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
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?
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
So AliasSeq = Tuples?
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
Hi! Is there any progress?
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
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...
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...
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.
Why not working:
JSONValue x = parseJSONValue(`{a: true, b: test}`);
but:
string str = `{a: true, b: test}`;
JSONValue x = parseJSONValue(str);
work fine?
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.
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
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,
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
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.
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
Did you try to run dub upgrade
Thanks! It's work!
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
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
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);
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
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.
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
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
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
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
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
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
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[],
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?
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
If this implementation will be merged with phobos will vibed
migrate to it, or it would two similar libs?
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?
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
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
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.
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?
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
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();
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. --
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!
There was plan to include dub (and other tools) in DMD distrib.
In what release it would be done?
Why this version is still after dub init are generate json
instead of sdl file?
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
Removing vibed from packages solved problem
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,
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
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:
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
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 =
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;
Ok, but code still do exit after it's run. Look like loop is not
started
void main()
{
void dirWatcher()
{
auto g_watcher = new
AsyncDirectoryWatcher(getThreadEventLoop());
g_watcher.run({
DWChangeInfo[1] change;
DWChangeInfo[] changeRef = change.ptr[0..1];
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
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.
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.
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
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.
dub init generate by default json file. SDL still is not sully
implemented?
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
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
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?
Maybe we should add link to D page on SO in left menu?
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
Maybe somebody already asked about it, but is there any plans to
migrate forum to vibed?
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
Perfect! vibed page on wiki also need updating, not it's almost
empty.
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.
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.
Oh, sorry, the error was in another place.
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
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
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.
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?
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
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?
Really hard to understand...
So what what would call at first ?
extern(C) int main()
or
int _Dmain()
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
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
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:
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;
still can't get it's work :(
501 - 600 of 848 matches
Mail list logo