Re: asdf json library moved to libmir

2018-07-13 Thread yawniek via Digitalmars-d-announce

On Wednesday, 11 July 2018 at 21:58:29 UTC, WebFreak001 wrote:
cool to hear that you don't let that library die. I like asdf 
but I never really had a usecase for it. When using vibe.d I 
just parse my json using their serializer. Additionally I never 
have the case of my input being line separated json, for 
example when reading a dub registry dump it's a 40MB json array 
where I don't really see application for asdf, or can it also 
be used with generic arrays that aren't line separated?


i never understood why people do this. why would you ever 
generate such a big json, it requires a lot of memory to generate 
it too.
that being said asdf also works in this case and i think you 
should even be able to stream non th e less (not 100% sure, if 
not it could/should be implemented).


Anyway pretty cool library, would definitely use it if I ever 
see line separated json data in the wild.


die Hoffnung stirbt zuletzt...

anyway, really happy to see that asdf found a few uses and i can 
really recommend to try it out, even to replace the standard json 
libs in e.g. vibe.d, which is what i do too.
Its not only faster but also easier, since you can use your 
structs/classes and have granular control over what properties 
are (de-)serialized.


Re: asdf json library moved to libmir

2018-07-13 Thread yawniek via Digitalmars-d-announce

On Wednesday, 11 July 2018 at 22:21:32 UTC, Daniel Kozak wrote:

I have tried it few days ago and it does not work for me at  
first. Because

I always read only "Simple Example".
One of my problem was that I have a struct with little 
different name that

was attribute name used in
json (positions and types has been correct), but it does not 
work and the

error was really wierd so it took
me a while until I have found out what was wrong.

Other problem was with types when one json attribute can be a 
number or null


Asdf was actually exactly created for this use case.
You can do transformations when reading and writing.
Also the null case is handled via different tools, please read 
the Readme and look into the API.


If there is an use case that you seem not to be able to pull of, 
please file a ticket.


Re: D as a Better C

2017-08-23 Thread yawniek via Digitalmars-d-announce

On Wednesday, 23 August 2017 at 13:12:04 UTC, Mike Parker wrote:
To coincide with the improvements to -betterC in the upcoming 
DMD 2.076, Walter has published a new article on the D blog 
about what it is and why to use it. A fun read. And I'm 
personally happy to see the love this feature is getting. I 
have a project I'd like to use it with if I can ever make the 
time for it!


The blog:

https://dlang.org/blog/2017/08/23/d-as-a-better-c/

Reddit:
https://www.reddit.com/r/programming/comments/6viswu/d_as_a_better_c/


nice article, however very unfortunate  introduction for the ADHD 
Generation as you start reading and you get put of by historical 
disabilities of D that are not true anymore. you may want to edit 
that and add the "until now" beforehand ;)


Re: SQLite-D goes beta!

2016-09-21 Thread yawniek via Digitalmars-d-announce

On Tuesday, 20 September 2016 at 20:37:33 UTC, Stefan Koch wrote:

On Tuesday, 20 September 2016 at 20:34:19 UTC, Karabuta wrote:


Great work! Can't wait to see sample code :)


It's in app.d
also see test.d


very elegant! congrats!


Re: Project Highlight: Timur Gafarov

2016-09-16 Thread yawniek via Digitalmars-d-announce

On Friday, 16 September 2016 at 14:12:49 UTC, c-v-i wrote:

On Friday, 16 September 2016 at 12:53:44 UTC, Mike Parker wrote:
What started out as a highlight of Timur's open source game, 
Atrium, turned into an introduction to several of his D 
projects. And it looks like I've managed to make this 
announcement without a typo in the title this week. If you 
notice any mistakes in the blog post, please let me know!


The post:
https://dlang.org/blog/2016/09/16/project-highlight-timur-gafarov/

reddit:
https://www.reddit.com/r/programming/comments/531po8/from_the_d_blog_introducing_an_open_source_game/


can someone build atrium ?


yes its easy, just fix the 3 lines of code and add the full 
module path and off you go.




Zurich D Meetup

2016-07-11 Thread yawniek via Digitalmars-d-announce
sorry for the short notice, but i'm glad to host Ilya with a talk 
on scientific computing with D.

more infos here:

http://www.meetup.com/de-DE/Zurich-D-Programming-Language-Meetup/events/232534480/?eventId=232534480


vibe-s3: vibe compatible s3 client

2016-05-02 Thread yawniek via Digitalmars-d-announce

vibe compatible s3 client that supports  chunked uploads.
pretty rough around the edges, but basic things work.
supports chunked uploads and thus needs at least vibe 0.7.28.

https://github.com/tamediadigital/vibe-s3
http://code.dlang.org/packages/vibe-s3

cheers
yannick


Re: Proposed: start DConf days one hour later

2016-04-27 Thread yawniek via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu 
wrote:
The folks at Sociomantic suggested to start at 10:00 AM instead 
of 9:00 AM, therefore shifting the end time by one as well. 
Please reply with thoughts on this! We're particularly 
concerned about folks who need to take off early on Friday. -- 
Andrei


from my experience hardly anyone is fully awake before 10am in 
berlin anyway. :P




Re: vibe.d kafka driver & probabilistic linear counting

2016-04-12 Thread Yawniek via Digitalmars-d-announce

On Monday, 11 April 2016 at 09:08:34 UTC, André wrote:

On Sunday, 10 April 2016 at 10:51:38 UTC, yawniek wrote:

we pushed 2 new projects:

a native kafka driver to work with the vibe.d eventloop
http://code.dlang.org/packages/kafka-d
it's not full featured yet (no zookeeper) but the basic use 
cases work fine.
throughput depends on the buffer sizes but we achieved gigabit 
speeds in benchmarks.

thanks to Piotr for most of the implementation.


The news on Kafka are really great! Thanks a lot for the work! 
Did you inform the Kafka developers that there is a new 
language supported? Maybe this could be added to this Wiki page 
which lists all supported libs and languages: 
https://cwiki.apache.org/confluence/display/KAFKA/Clients.


Regards,
André


Not yet, i have too little outside feedback yet. So please test 
and fill tickets with bugs/feature requests on gh





Re: Release vibe.d 0.7.26

2015-11-04 Thread yawniek via Digitalmars-d-announce

On Wednesday, 4 November 2015 at 07:41:34 UTC, Sönke Ludwig wrote:


http://vibed.org/blog/posts/vibe-release-0.7.26



congrats and thanks!
its exciting to see vibe moving so fast


Re: Please vote for the DConf logo

2015-11-04 Thread yawniek via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 09:30:30 UTC, Andrei 
Alexandrescu wrote:

Reply to this with 1.1, 1.2, 2, or 3:

1) by ponce:

Variant 1: 
https://github.com/p0nce/dconf.org/blob/master/2016/images/logo-sample.png
Variant 2: 
https://raw.githubusercontent.com/p0nce/dconf.org/4f0f2b5be8ec2b06e3feb01d6472ec13a7be4e7c/2016/images/logo2-sample.png


2) by Jonas Drewsen:

https://dl.dropboxusercontent.com/u/188292/g4421.png

3) by anonymous:

PNG: http://imgur.com/GX0HUFI
SVG: https://gist.github.com/anonymous/4ef7282dfec9ab327084


Thanks,

Andrei


3


Re: Programming in D paper book is available for purchase

2015-08-19 Thread yawniek via Digitalmars-d-announce

On Wednesday, 19 August 2015 at 07:57:17 UTC, Daniel Kozák wrote:

V Tue, 18 Aug 2015 17:57:31 -0700
Ali Çehreli via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com napsáno:

Ali
Sometimes I hate I am from Czech Republic. I must wait whole 
week until this awesome book will be delivered :).


congrats ali and thank you a lot for all the effort you did!
hope it arrives before i go on vacation :)


Re: Arch Linux D package update

2015-06-08 Thread yawniek via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:

gdc

- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in 
linker errors before)


dtools

- switched back to use dmd as default compiler

dub

- switched back to use dmd as default compiler

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
- provides default /etc/dcd.conf with stdlib paths for Arch 
Linux


thank you a lot for these!