On Saturday, 30 December 2023 at 01:30:22 UTC, Steven
Schveighoffer wrote:
On Friday, 29 December 2023 at 08:09:58 UTC, Zz wrote:
But yeah, I could ingest all the functionality from std.json
there. Or maybe even just use `JSONValue` from std.json. Could
you make an issue?
-Steve
Hi Steve
snt exist yet, so use .object to assign
jj.object["rating"] = JSONValue(3.5);
// create an array to assign to list
jj.object["list"] = JSONValue( ["a", "b", "c"] );
// list already exists, so .object optional
jj["list"].array ~= JSONValue("D");
string jjStr =
`{"language":"D","list":["a","b","c","D"],"rating":3.5}`;
writeln(jj.toString); // jjStr
Regards,
Zz
it to support [JSON5](https://json5.org), which
is a format much more suited to configuration than straight
JSON.
AFAIK, this is the first D project that parses JSON5!
-Steve
Hi,
Any plans on having an interface similar to std.json?
Regards,
Zz
Hi,
Currently using std.csv and would like to do the following using
mir.csv.
auto data = std.csv.csvReader!Layout(input).array;
Are there any examples out there on using mir.csv?
Regards,
Zz
On Thursday, 31 March 2022 at 16:08:19 UTC, mw wrote:
On Thursday, 31 March 2022 at 06:35:15 UTC, ZZ wrote:
Hi,
Is there an easy way to pretty-print a struct which also
includes arrays?
pretty_array does a very good job for arrays.
If you want the field variable names in the output, you
Hi,
Is there an easy way to pretty-print a struct which also includes
arrays?
pretty_array does a very good job for arrays.
ZZ
help me?
You can use libuid which can be found here
https://code.dlang.org/packages/libuid.
It wrapped the native os gui for d, and it's cross-platform.
Any chance of having a version that allows static linking?
Zz
On Saturday, 3 June 2017 at 05:21:13 UTC, 9il wrote:
On Friday, 2 June 2017 at 16:08:20 UTC, Zz wrote:
Hi,
Just tried migrating from std.experimental.ndslice to
mir-algorithm.
Is there a guide on how migrate old code?
I used the following imports before and using then with
ndslice
will be going through the documentation.
Zz
On Thursday, 18 February 2016 at 02:24:20 UTC, ZombineDev wrote:
On Thursday, 18 February 2016 at 00:25:09 UTC, Zz wrote:
Hi,
I'm trying to generate the following sequences with ndslice.
0 0 0
1 1 1
1 1 1
0 0 0
0 1 2
0 1 2
2 1 0
2 1 0
It's okay with loops but was checking to see if it's
Hi,
I'm trying to generate the following sequences with ndslice.
0 0 0
1 1 1
1 1 1
0 0 0
0 1 2
0 1 2
2 1 0
2 1 0
It's okay with loops but was checking to see if it's possible
with ndslice.
Zz
What is Boost.Sprint? I haven't heard of it, and can't find it.
Thanks! -- Andrei
I believe he meant Boost Spirit
http://www.boost.org/doc/libs/1_60_0/libs/spirit/doc/html/spirit/introduction.html
Zz
.
[[0][2][4]]
[[1][3][5]]
[[4][2][0]]
[[5][3][1]]
Zz
On Wednesday, 30 December 2015 at 20:43:21 UTC, Ilya Yaroshenko
wrote:
On Wednesday, 30 December 2015 at 18:53:15 UTC, Zz wrote:
Hi,
Just playing with ndslice and I couldn't figure how to get the
following transformations.
given.
auto slicea = sliced(iota(6), 2, 3, 1);
foreach (item
=sr_1_1?ie=UTF8qid=1386946808sr=8-1keywords=SERIALIZATION+AND+PERSISTENT+OBJECTS#productPromotions%22%20target=%22_blank
Intrusive Data Structures.
http://www.codefarms.com/home
http://www.codefarms.com/dol
http://www.codefarms.com/ppf
http://www.codefarms.com/ptl
Zz
On Wednesday, 21 October 2015 at 19:17:52 UTC, Andrei
Alexandrescu wrote:
On 10/21/2015 02:18 PM, Zz wrote:
While looking at containers take a look at Jiri Soukup's work
some good
ideas could come from there.
http://www.amazon.ca/Serialization-Persistent-Objects-Structures-Efficient/dp
On Wednesday, 21 October 2015 at 22:12:32 UTC, Zz wrote:
On Wednesday, 21 October 2015 at 19:17:52 UTC, Andrei
Alexandrescu wrote:
On 10/21/2015 02:18 PM, Zz wrote:
While looking at containers take a look at Jiri Soukup's work
some good
ideas could come from there.
http://www.amazon.ca
because you make great
entertaining talks?
No idea. -- Andrei
... And I hope that's why! -- Andrei
That's why, your talks are really informative and entertaining.
Zz
Hi,
When using D 2.068.2 I get the following error with some code I
have.
Assertion failure: 'minst->isRoot() || minst->rootImports()' on
line 8013 in file 'template.c'
dmd failed with exit code 1.
It work with 2.068.1.
No idea why it fails, moved back to 2.068.1.
Regards,
Zz
On Thursday, 1 October 2015 at 17:16:47 UTC, Meta wrote:
On Thursday, 1 October 2015 at 16:37:25 UTC, Zz wrote:
Hi,
When using D 2.068.2 I get the following error with some code
I have.
Assertion failure: 'minst->isRoot() || minst->rootImports()'
on line 8013 in file 'template.c
k with dub?
Zz
More interesting was the link that Herb Sutter provided.
Lightweight Drawing Library
http://isocpp.org/files/papers/n3791.html
Looks like he nailed the problem very well - it will be
interesting to see what they come up with.
On Monday, 6 January 2014 at 18:34:53 UTC, Keesjan wrote:
article on how AGG works
in Haiku and covers some of the compile time properties of AGG
https://www.haiku-os.org/documents/dev/painter_and_how_agg_works
There is also a c# port.
Zz
Hi Boyd,
Here something that might be interesting for you the gui is
rendered using the C++ version of AntiGrain Geometry (with C#
wrappers).
http://www.creativedocs.net/devs/gui
http://www.creativedocs.net/devs/agg
http://www.creativedocs.net/screenshots/
Zz
On Sunday, 15 December 2013
On Friday, 6 December 2013 at 07:23:45 UTC, Jacob Carlborg wrote:
On 2013-12-06 00:27, Zz wrote:
Hi,
Are there any plans to include PropertySheet's in DWT.
http://www.eclipse.org/articles/Article-Properties-View/properties-view.html
http://www.eclipse.org/articles/Article-Tabbed-Properties
in file
package.d
Zz
Which version of DMD should I use?
I'm currently using 2.063.2.
Zz
On Friday, 25 October 2013 at 12:53:42 UTC, Jacob Carlborg wrote:
On 2013-10-25 14:30, Zz wrote:
Hi,
Tried building DFL from github.com/Rayerd/dfl and I get the
following
errors when trying to build.
Any ideas on how
Here is an old IUP wrapper in D.
https://code.google.com/p/iupd/
Zz
On Friday, 23 August 2013 at 16:26:37 UTC, Michael wrote:
On Thursday, 22 August 2013 at 21:44:57 UTC, Andrej Mitrovic
wrote:
On 8/22/13, Michael p...@m1xa.com wrote:
For me it's no problem)
How are other people supposed
https://code.google.com/p/simplefilewatcher/
may help with platform specific solutions.
On Thursday, 23 May 2013 at 18:56:41 UTC, Gary Willoughby wrote:
Hmmm.. this is what i first thought. I think i'll implement a
simple watcher based on modification times as a first
iteration. Then if time
Region-Based Storage Management: ParaSailing without a (Garbage)
Chute
https://air.mozilla.org/region-based-storage-management-parasailing-without-a-garbage-chute/
Home Page
http://parasail-programming-language.blogspot.com
Zz
()
{
auto node = new XmlNode();
node.addChild(new XmlNode(mynode).setAttribute(x, 50).
addChild(new XmlNode(Waldo).addCData(Hello!)));
}
-
it's taken out of an example in the code.
Zz
Thanks
On Thursday, 9 May 2013 at 20:26:28 UTC, John Colvin wrote:
On Thursday, 9 May 2013 at 19:32:44 UTC, Zz wrote:
Hi,
I decided to try out kxml and I have the following error.
test.d(10): Error: found '.' when expecting ','
test.d(11): Error: found '.' when expecting ','
when
On Monday, 18 March 2013 at 22:31:20 UTC, Ali Çehreli wrote:
On 03/18/2013 02:20 PM, rookie wrote:
Hi,
I was trying to do a folding algorithm in D and just got
stuck on how to
approach the problem - I must be missing something (math).
Given the following:
2 1 - Both folds are from
Have a look at Sciter (http://www.terrainformatica.com/sciter),
Andrew Fedoniouk of Terra Informatica once did Harmonia for D1,
Hope he would do a Sciter version or wrapper for D2.
Zz
On Monday, 24 December 2012 at 10:57:48 UTC, evilrat wrote:
On Monday, 24 December 2012 at 10:34:42 UTC
Wrapper
http://aswang.sourceforge.net/
Simple and straight forward.
Zz
Interesting article and video.
Microsoft Demos C++ AMP Heterogeneous Computing at AMD's Fusion Developer
Summit.
http://hothardware.com/News/Microsoft-Demos-C-AMP-Heterogeneous-Computing-at-AFDS/
it again and it's really impressive.
Cheers,
Zz
bearophile Wrote:
Zz:
Interesting article and video.
Microsoft Demos C++ AMP Heterogeneous Computing at AMD's Fusion Developer
Summit.
http://hothardware.com/News/Microsoft-Demos-C-AMP-Heterogeneous-Computing-at-AFDS/
I don't see
I currently use the logger written by Masahiro Nakagawa and it has handled what
I need.
You can get it from:
http://www.bitbucket.org/repeatedly/scrap/src/tip/logger.d
Zz
Robert Clipsham Wrote:
Hey folks,
I've just finished porting my web framework from D1/Tango to D2/Phobos
You can look at IUP which is simple written in C and comes with the MIT licence.
http://www.tecgraf.puc-rio.br/iup/
Zz
Matthias Pleh Wrote:
On 2011-04-03 21:05, Andrei Alexandrescu wrote:
I think it's not too late to improve our GSoC ideas page
So here come my ideas
There is still
The following libraries by Jiri Soukup are quite interesting and could stir up
some ideas for phobos.
Data Object Library
http://www.codefarms.com/dolclasses
Persistent Pointer Factory
http://www.codefarms.com/ppf
Pattern Template Library
http://www.codefarms.com/ptl
Tutorial for the C++
Here is an interesting paper by Jiri Soukup.
http://www.codefarms.com/docs/proposal.pdf
looks interesting.
Other interesting libs to look at are:
Simple Log - Just plain straight forward
https://simple-log.dev.java.net/
Some of you might remember Matthew Wilson and he has Pantheios which looks
interesting,
http://www.pantheios.org/
Zz
Looks very interesting.
Zz
Hi,
Are there any plans for a logging library in Std Phobos 2.0?
Zz
44 matches
Mail list logo