Re: [Semi-OT] Sdlang Initiative

2021-09-06 Thread Steven Schveighoffer via Digitalmars-d-announce

On 9/6/21 12:59 PM, SealabJaster wrote:

https://github.com/SdlangInitiative

Since SDLang is quite closely related to D, as D is one of the only real 
users of it, I felt this was "D appropriate" enough to post.


I personally think SDLang is much better than the likes of JSON, XML, 
and YAML for human-centered configuration files, so I had a drive for a 
few days to implement a library for a few languages:


* C# (done previously before this)
* TS/JS (^^)
* C
* F#
* I've also forked sdlite just so it shows up in the group

And I wanted to get around to doing Python and Java before announcing 
anything.


However, as usual, I've already lost interest in the project, so this 
mostly here for whoever's interested in it now, since I put a decent 
amount of work in already.


Yeah, I have that problem sometimes too...

But I actually am using sdlang-d for configuration files on my web 
server. However, I do not like the interface for it very much. SDLang 
itself is OK, but I find actually that I don't love the format. Like 
yaml, I have to research how the file format works every time I want to 
use it (maybe just because I very rarely have need to edit sdl files). 
For that reason I prefer json, but I hate that json doesn't allow 
comments and is full of quote spam (for config files).


I am planning at some point to replace the config system with a 
[json5](https://json5.org/) implementation (based on jsoniopipe), 
otherwise this would definitely interest me!


-Steve


[Semi-OT] Sdlang Initiative

2021-09-06 Thread SealabJaster via Digitalmars-d-announce

https://github.com/SdlangInitiative

Since SDLang is quite closely related to D, as D is one of the 
only real users of it, I felt this was "D appropriate" enough to 
post.


I personally think SDLang is much better than the likes of JSON, 
XML, and YAML for human-centered configuration files, so I had a 
drive for a few days to implement a library for a few languages:


* C# (done previously before this)
* TS/JS (^^)
* C
* F#
* I've also forked sdlite just so it shows up in the group

And I wanted to get around to doing Python and Java before 
announcing anything.


However, as usual, I've already lost interest in the project, so 
this mostly here for whoever's interested in it now, since I put 
a decent amount of work in already.


There are also a few misc projects in there, which I was hoping 
to use as examples of how SDLang could be nice to work with:


* sdlschema - Validate SDLang files against a schema.
* sdlmake - A basic build system based around LUA and SDLang
* sdltools - Was going to be a bunch of misc tooling such as 
generating large Sdlang files, finding the difference between two 
SDLang files (for implementation parity checks), etc.


I'll probably still do bits and pieces to it over time, but I 
think my main motivation for it is pretty much gone now.


All of the implementations are incomplete in one way or another, 
and their actual quality is dubious at best, so I'm not sure how 
useable most of them even are. I wanted to write a repo that made 
each implementation perform a test against the same test suite of 
SDLang files to try and ensure they're at a certain level of 
standard, but I couldn't be bothered.


Enjoy, maybe, or not, idk... sorry for the noise, but I didn't 
want to feel like I wasted the last week on this.


Re: Summary of the D Language Foundation Monthly Meeting on August 25th, 2021

2021-09-06 Thread Tejas via Digitalmars-d-announce

On Monday, 6 September 2021 at 11:17:53 UTC, Mike Parker wrote:
The D Language Foundation meeting for the month of August took 
place on Friday, August 27, at 13:00 UTC. Participating were:


[...]


Happy to see the meeting this month was fruitful as well, looking 
forward to the blog posts/anouncements :)


As a topic to bring up in a future meeting, could you please 
bring up DIP 1040? I talked to Max about it and he said that 
implementing it requires a backend change which needs Walter's 
help(I believe he said something about exceptions being 
problematic), but due to reasons, Walter hasn't been able to see 
to it.


Considering Walter's desire to make things easier for C/C++ to D 
translator developers(as seen by his initiative regarding 
`bitfield`), could you please bring up the topic of this DIP's 
implementation and/or the next iteration of the DIP's design for 
community review? It would be nice to see some progress visible 
on this front.


Thank you for all the work you and the other language maintainers 
do to make D better :D


Re: Surprise - New Post on the GtkD Coding Blog

2021-09-06 Thread bauss via Digitalmars-d-announce

On Friday, 3 September 2021 at 15:47:41 UTC, Ron Tarrant wrote:
Has it really been 15 months since I last posted an article? 
Um, yes. Yes, it has.


I hope I haven't completely lost my good will here in the 
D-lang community. I'm feeling better now, the medication seems 
to be working, and I've got a new article... well, it was 
already in the works last year when I stopped posting, but I've 
edited the heck out of it and hopefully it's up to my usual 
standards.


At the top of the article, I ask whether or not anyone is still 
interested in reading articles about GtkD 3.9 (Mike Wey 
released GtkD 4 a couple of weeks ago) and I explain why I'm 
not all that keen on making the transition. Please let me know 
in comments (Yes, GtkD Coding now has comments) if you think 
it's still worth writing articles centred around 3.9.


Thanks.

Here's the link: 
https://gtkdcoding.com/2021/09/03/0112-gtk-gio-application-barebones.html


Good to see another post :)

Even tho I've still not used GtkD yet, I've still learned a few 
things from your blog posts over the years and it'll definitely 
be a help when/if I ever decide to use it.


Summary of the D Language Foundation Monthly Meeting on August 25th, 2021

2021-09-06 Thread Mike Parker via Digitalmars-d-announce
The D Language Foundation meeting for the month of August took 
place on Friday, August 27, at 13:00 UTC. Participating were:


* Walter Bright
* Átila Neves
* Andrei Alexandrescu
* Ali Çehreli
* Razvan Nitu
* Max Haughton
* Me

## Topics discussed

### SAOC application to solve "dub dependency hell"
One of the SAOC applications was on the agenda. The proposed 
project aims to solve an issue that arises with dub when two 
dependencies, in turn, depend on different versions of a third 
dependency. Currently, dub will error out. The proposal calls for 
two new compiler switches that dub can make use of to resolve the 
version difference by modifying the mangled names of the 
functions from two versions to distinguish them. As one of the 
SAOC judges, Átila liked the end goal of the project but was 
concerned about the approach. Walter also expressed concern about 
the ramifications of the new switches. He suggested exploring if 
dmd's existing `-mv` switch can be used to solve the problem. If 
that is not possible, the SAOC student will proceed with 
implementing the original proposal. Once the project is complete, 
it can be tested and evaluated to see if it works without any 
problematic consequences.


### Potential contract jobs
We talked about getting more active in [making use of our HR 
fund][1]. It's currently sitting at $17,525. We have one contract 
job that's indefinitely delayed, but it's been a while since we 
put this fund to use. As a start, I proposed paying someone to 
investigate the DLL situation, see what's still broken, and fix 
it. Someone pointed out that Martin Kinkelin has significantly 
improved DLL support for LDC in order to make Phobos/Druntime as 
a DLL a reality. So whether or not this particular initiative 
moves forward depends on if there's enough work left to do to 
fund it, and I'll know more once I get the details from Martin. 
If not, we'll have other funded projects to propose. (And if 
anyone is appreciative of the work Martin has done on this issue 
and with LDC in general, you can show it [by sponsoring his 
work][2].)


### Server management
The services that comprise dlang.org are not all on one server, 
they are administered by different people and others generally 
have no admin access. This includes not just the servers, but the 
domains and DNS settings. This is a result of some of the 
services, such as the D Tour and the web forum interface, having 
been created and managed by volunteers, and subsequently brought 
under the dlang.org umbrella. At a previous meeting last year, we 
discussed the need to unify things somewhat. It would be 
beneficial to have multiple people with admin access to all of 
the services that comprise our core community.


Around the same time last year, an anonymous donor provided $500 
to the foundation to put to use on server management, and also 
offered his experience and expertise if we need it. We 
subsequently discussed options at a couple of meetings, but did 
not come to a final conclusion, and put the issue on the 
backburner. Recently, we received news that the long-term 
administrator of dlang.org is looking toward retirement not too 
far down the road. He gave us significantly advance notice so 
that we can make preparations with time to spare. Now is the time 
to take the issue off the backburner.


We decided as a first step to reach out to our anonymous donor 
since he already offered to help, to see if he is still willing. 
If so, we will consult with him and start formulating a plan. We 
may need to ask for volunteers or raise money for a part-time 
position, or who knows what. I will put out more information and 
announcements as we progress.


### Gamification of Bugzilla issues
Razvan has been working on a system to track and reward 
contributions of Bugzilla fixes across the core repositories, 
with help from Vladimir Panteleev. He's got the implementation 
done and has successfully tested it, so now he's ready to pull 
the trigger on it. We discussed potential rewards for the first 
round. Razvan will soon publish a blog post describing the new 
system and detailing the rewards.


The short of it is that each reward period will run for three 
months. At the end of the period, the top three contributors will 
each be rewarded. Razvan will explain in the blog post how the 
scoring system works. Rewards will vary and will be announced at 
the beginning of each period. As a pilot run, the first period 
will be shorter, starting from the date Razvan announces in his 
blog post and ending on the first day of DConf Online (November 
20). That will allow us to announce the reward winners at DConf. 
The second period will be longer, starting from November 21 and 
running until March 31. The third period will then begin the 
quarterly schedule starting from April 1.


### DIP 1029, Bugzilla 19320
Two recent PRs from one of this year's SAOC participants, Luís 
Ferreira, made their way onto the agenda.


[He submitted 

Re: Surprise - New Post on the GtkD Coding Blog

2021-09-06 Thread Ron Tarrant via Digitalmars-d-announce

On Monday, 6 September 2021 at 01:59:10 UTC, Joel wrote:
Great to hear from you again. I've GUI programs that I use 
every day (a diary program, and a Bible program). Also 
sometimes use a GUI Money program. I really appreciated your 
help.


Glad to be of help, Joel.


Re: Surprise - New Post on the GtkD Coding Blog

2021-09-06 Thread M.M. via Digitalmars-d-announce

On Saturday, 4 September 2021 at 11:50:44 UTC, Mike Wey wrote:

On 03-09-2021 20:42, M.M. wrote:
I just recently visited your blog, and was wandering whether 
it's over now... I also visited gtkd website, and was 
wandering whether it's over now (the website still shows a 
wrapper for GTK 3.24).


Happy to see you are back and well. I wonder where did you 
learn about a new gtkD release? Anyway, on the long run, I 
guess covering GTK 4 will be very welcome.


The GTK 4 version still needs work and isn't released yet.
I currently don't have the time to work on it, but i hope i am 
able to resume working on it later this year.


Glad to hear you still have some work for gtkd on mind. (I recall 
your announcement along the lines of seeking someone to step-in 
for the help with gtkd.) Given the success of gtkd, it would be a 
pity if gtk4 did not get into it. Good luck finding time (and 
joy) to work on it. I appreciate the work.