Re: A new Tree-Sitter Grammar for D

2022-10-27 Thread Jack Applegame via Digitalmars-d-announce

On Monday, 17 October 2022 at 05:21:10 UTC, Garrett D'Amore wrote:
I'm happy to announce that I've created what I believe is a 
complete, or at least very nearly so, Tree-Sitter grammar for D.


You can find it at https://github.com/gdamore/tree-sitter-d


What do you think? If I don't want to #StandWithUkraine, should I 
stay away from your protestware?


Re: Truly algebraic Variant and Nullable

2020-11-15 Thread Jack Applegame via Digitalmars-d-announce

On Sunday, 15 November 2020 at 04:54:19 UTC, 9il wrote:
Truly algebraic Variant and Nullable with an order-independent 
list of types.


Nullable is defined as
```
alias Nullable(T...) = Variant!(typeof(null), T);
```

Variant and Nullable with zero types are allowed.

`void` type is supported.

Visitors are allowed to return different types.

Cyclic referencing between different variant types are 
supported.


More features and API:

http://mir-core.libmir.org/mir_algebraic.html

Cheers,
Ilya

The work has been sponsored by Kaleidic Associates and Symmetry 
Investments.


It should be in the standard library.


Re: Command line calculator in D

2020-05-14 Thread Jack Applegame via Digitalmars-d-announce

On Wednesday, 6 May 2020 at 11:47:55 UTC, Alireza SN wrote:
I was learning about an algorithm called 'Pratt Parser' and 
decided to write a cli calculator with it. Here is the link if 
you want to check it out:


https://github.com/TheWeirdDev/Calcool

Feel free to point out any mistakes i have made.


Nice!

It reminded me of my old similar project.
Today I published it on GitHub and registered in the DUB package 
registry.


GitHub: https://github.com/japplegame/expression
DUB: https://code.dlang.org/packages/expression


Re: dlang.ru is updated

2019-05-18 Thread Jack Applegame via Digitalmars-d-announce
Unfortunately, now (and the last few years) dlang.ru is pretty 
useless.


Re: dlang.ru is updated

2019-05-18 Thread Jack Applegame via Digitalmars-d-announce

On Saturday, 18 May 2019 at 06:26:10 UTC, Suliman wrote:

On Saturday, 18 May 2019 at 03:01:33 UTC, 9il wrote:

On Thursday, 16 May 2019 at 12:25:52 UTC, Suliman wrote:
After 2 years dlang.ru was update. Content did not change. 
Main improves was is technology stack and design (still not 
perfect, but better than was).


http://dlang.ru

P.S. site is blocked by most of russian internet-providers by 
RKN


Bullshit! I have checked the dlang.ru at RKN [1] registry and 
there are no dlang.ru in it. I checked with two providers from 
Russia and access works. Don't bug the forum with provocations 
or simply wait for DNS update.


[1] - https://eais.rkn.gov.ru/



It was banned by IP. I checked it two weeks ago. It work very 
strange even from single mobile providers.

https://imgur.com/a/NN3Apfo
I do not think it is a fight against the opposition. For example, 
most of IP addresses of cloud service CloudFlare were blocked 
because of online casinos, which are banned in the Russian 
Federation. In fact, RKN does not block opposition websites.
I recommend to host .ru sites at russian hosting companies. 
Because they take care that their IP addresses are not included 
in the RKN lists. Unlike, Tilaa. ;)


Re: dlang-requetst v0.5.3 released

2017-09-13 Thread Jack Applegame via Digitalmars-d-announce

Thanks!



Re: dlang-requetst: openssl 1.1 compatible release

2017-08-05 Thread Jack Applegame via Digitalmars-d-announce

On Friday, 4 August 2017 at 18:28:23 UTC, ikod wrote:

On Friday, 4 August 2017 at 17:06:16 UTC, Jack Applegame wrote:
Does dlang-requests support binding interface for outgoing 
connection, like curl --interface option?


No, but this can be done. It would be nice if you post issue on 
github.



https://github.com/ikod/dlang-requests/issues/51



Re: dlang-requetst: openssl 1.1 compatible release

2017-08-04 Thread Jack Applegame via Digitalmars-d-announce

On Thursday, 3 August 2017 at 06:33:38 UTC, ikod wrote:

Hello,

Since version 0.5.0 dlang-requests has become compatible with 
both 1.0.x and 1.1.x versions of openssl library.


Please try and report any issues on github.
Thanks!

dlang-requests is HTTP/FTP client library, inspired by 
python-requests with goals:


small memory footprint
performance
simple, high level API
native D implementation

https://code.dlang.org/packages/requests
https://github.com/ikod/dlang-requests


Does dlang-requests support binding interface for outgoing 
connection, like curl --interface option?


Re: Released vibe-core 1.0.0 and vibe.d 0.8.0

2017-07-11 Thread Jack Applegame via Digitalmars-d-announce

slightly reduced

/+ dub.json:
{
"name": "test",
"versions": ["VibeManualMemoryManagement"],
"dependencies": {
"vibe-d": "~>0.8.0"
}
}
+/

module main;

import std.conv;
import std.stdio;
import vibe.http.client;

void main() {
HTTPStatus status;
	requestHTTP("https://steamcommunity.com;, (scope request) {}, 
(scope response) {

status = response.statusCode.to!HTTPStatus;
response.dropBody();
});
writefln("status: %s", status);
}


Re: Released vibe-core 1.0.0 and vibe.d 0.8.0

2017-07-11 Thread Jack Applegame via Digitalmars-d-announce

Many thanks!

https requests with manual memory management leads to assertion.

DMD64 D Compiler v2.074.1
DUB version 1.3.0
Linux x86_64

Test case:

/+ dub.json:
{
"name": "test",
"versions": ["VibeManualMemoryManagement"],
"dependencies": {
"vibe-d": "~>0.8.0"
}
}
+/

module main;

import std.conv;
import std.stdio;
import vibe.core.core;
import vibe.http.client;

void main() {
runTask({
HTTPStatus status;
		requestHTTP("https://steamcommunity.com;, (scope request) {}, 
(scope response) {

status = response.statusCode.to!HTTPStatus;
response.dropBody();
});
writefln("status: %s", status);
exitEventLoop();
});
runApplication();
}

Result:

CoreTaskFiber was terminated unexpectedly: Assertion failure
Program exited with code 255



Re: Need help

2017-03-16 Thread Jack Applegame via Digitalmars-d-announce
On Thursday, 16 March 2017 at 07:54:48 UTC, Jonathan M Davis 
wrote:
Yes, though I'd generally try in the main newsgroup first. 
Regardless, the biggest thing is to make sure that it's in 
bugzilla. That often is not sufficient, but without that, the 
bug is in serious risk of being forgotten, and whenever anyone 
brings up a bug and complains that it isn't fix and hasn't put 
it in bugzilla, Walter basically tells them that it doesn't 
exist until it's in bugzilla, because if it isn't reported, 
then he and the rest of the compiler devs aren't going to know 
about it.


But the reality of the matter is that getting ahold of anyone 
in particular in the newsgroups can be hit or miss, and the 
number of compiler devs isn't huge. So, sometimes, you have to 
bring something up multiple times for it be seen by the right 
people. And unfortunately, the nature of 
newsgroup/forum/mailing list discussions is often essentially 
bikeshedding in that the topics that need real attention often 
get relatively little attention, because they're hard and/or 
not many people know enough to get involved, whereas topics 
that don't take much expertise and easy to have an opinion on 
get a lot of attention. So, solitary posts on important topics 
sometimes get missed.


- Jonathan M Davis

Ok. I'll consider. Thanks.


Re: Need help

2017-03-16 Thread Jack Applegame via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 18:02:13 UTC, Daniel Kozák wrote:

V Wed, 15 Mar 2017 12:25:04 +
Jack Applegame via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> napsáno:

On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák 
wrote:
> problem is with this line: 
> https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014

>
> It run semantic before alias is add 
> https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131
Great! But I have no idea what to do next. Could you write 
pull request, please? Is $100 enough for that?


OK I have tried something so we will see 
https://github.com/dlang/dmd/pull/6635

Nice! I'll test it.


Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote:
problem is with this line: 
https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014


It run semantic before alias is add 
https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131
Great! But I have no idea what to do next. Could you write pull 
request, please? Is $100 enough for that?


Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 11:09:10 UTC, Jonathan M Davis 
wrote:
I'm inclined to agree with David on this one, but I really 
don't want to argue about it. Just remember that this newsgroup 
is intended for announcements that the wider D community would 
be interested in and that communication here should be kept to 
a minimum. This is precisely the list that folks sign up for 
when they want to hear about the big stuff but don't want to 
deal with any of the chatter. And anyone posting here should 
keep that in mind.


- Jonathan M Davis
Is https://forum.dlang.org/group/dmd right place for such 
requests?




Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 10:04:50 UTC, rikki cattermole 
wrote:
Oh relax, its a freelance job advertisement as well (payment 
for bug to be fixed). If that wasn't there then yeah not 
appropriate. But its there, so I say it was a good place :)
Exactly. And besides, it is actually a donation to the D 
language. ;)


Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 09:27:26 UTC, Daniel Kozák wrote:
Yes, but you should put this to general forum, not to 
announcement
I tried. Everyone is talking about problems with memory 
management, but nobody cares about bugs in such fundamental 
things as the destructors. Apparently it's more important to 
discuss advertising on Quora.





Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 08:52:03 UTC, David Nadlinger 
wrote:
This is a forum for announcements of general interest. Please 
take that into consideration before posting here. Thanks. — 
David


I think that fixing such bugs is quite general interest. I'm not 
asking to do enhancement required solely to me. I'm asking to fix 
a bug, very bad bug.




Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
Dear developers. I need help fixing issue #17257 
(https://issues.dlang.org/show_bug.cgi?id=17257) and related bug 
(https://forum.dlang.org/post/zpxzbctiijfhjujsz...@forum.dlang.org).


I can't fix it myself, because know almost nothing about the 
internals of the compiler. But I'm willing to pay for this work. 
PayPal, Bountysource, donation, all that you want.





Re: New (second) release candidate vibe.d 0.7.30-rc.2

2016-10-16 Thread Jack Applegame via Digitalmars-d-announce

On Friday, 14 October 2016 at 19:57:09 UTC, Sönke Ludwig wrote:

https://github.com/rejectedsoftware/vibe.d/commit/ab1ac33c564ad8d593104e30cc93eb1779c88d4a

Plus some regression fixes for issues that got introduced since 
the last alpha release (not mentioned in the change log).


The release has been rescheduled for next Thursday.


consider please 
https://github.com/rejectedsoftware/vibe.d/pull/1592




Re: Release candidate vibe.d 0.7.30-rc.1

2016-10-03 Thread Jack Applegame via Digitalmars-d-announce
On Thursday, 29 September 2016 at 13:44:53 UTC, Sönke Ludwig 
wrote:


If no new issues come up, the 0.7.30 release is scheduled for 
the 9th of October.


Please consider 
https://github.com/rejectedsoftware/vibe.d/issues/1583




Re: Beta D 2.071.2-b2

2016-08-30 Thread Jack Applegame via Digitalmars-d-announce

On Tuesday, 9 August 2016 at 15:37:27 UTC, Martin Nowak wrote:

Second beta for the 2.071.2 release.

This fixes Issue 15780, 16085, and 16348.
More import/lookup fixes upcoming.

http://dlang.org/download.html#dmd_beta 
http://dlang.org/changelog/2.071.2.html


Please report any bugs at https://issues.dlang.org

- -Martin
Could you consider this 
https://github.com/dlang/phobos/pull/4758, please


Re: D-Man culture

2016-07-28 Thread Jack Applegame via Digitalmars-d-announce

On Thursday, 28 July 2016 at 01:58:13 UTC, ketmar wrote:

On Wednesday, 27 July 2016 at 19:50:13 UTC, Walter Bright wrote:
While I appreciate the effort and the offer, it is 
inappropriate to have a woman with a miniskirt and partially 
unbuttoned blouse as an official mascot for D.


i agree. she has too much clothes on.

To be honest, with those legs she should wear a longer skirt. :D


Re: Looking for D developers, Saint-Petersburg

2016-05-10 Thread Jack Applegame via Digitalmars-d-announce

On Tuesday, 10 May 2016 at 14:39:27 UTC, drug wrote:
I'm curious are there D developers in Saint Petersburg who 
doesn't mind to make some money?


Вопрос, зачем нужно высшее образование? Хорошего знания D/C++ 
недостаточно? И как часто нужно кататься в офис?




Re: Fastest JSON parser in the world is a D project

2015-10-29 Thread Jack Applegame via Digitalmars-d-announce

On Thursday, 29 October 2015 at 12:11:54 UTC, Suliman wrote:
Marco, could you add your lib to review or do any steps that 
will help to include it's in Phobos? I think not only I 
interesting in good base JSON lib in base distribution.


Marco's json library doesn't meet requirements for inclusion in 
Phobos and should stay separately in DUB registry.
Phobos needs much more generic library with support for streaming 
and ranges. I believe, that at the moment the best candidate is 
std.data.json by Sönke Ludwig.


Re: D needs...

2015-05-14 Thread Jack Applegame via Digitalmars-d-announce

What about mutable references to immutable/shared/const classes?

class A {}

immutable(A)[int] aa;
aa[1] = new immutable A;// doesn't compile

Rebindable!(immutable(A))[int]; // looks like ugly shamefull 
workaround.




Re: Mono-D 2.0 - XamarinStudio 5.0 support, completion improvements

2014-05-03 Thread Jack Applegame via Digitalmars-d-announce

At first, thank you.

There is an issue with Diet templates highlighting. It's very 
poor.


Just compare

Mono-D 2.0.1/Xamarian Studio 5.0 - http://a-rei.ru/eNhp
Sublime Text 3 - http://a-rei.ru/vuoY


Re: Mono-D 2.0 - XamarinStudio 5.0 support, completion improvements

2014-05-03 Thread Jack Applegame via Digitalmars-d-announce

On Saturday, 3 May 2014 at 11:37:58 UTC, Alexander Bothe wrote:

On Saturday, 3 May 2014 at 11:28:25 UTC, Alexander Bothe wrote:

But thanks for noticing that regression.


No, it actually is working. Your file has to end with '.dt' to 
have proper highlighting. A screenshot I just took:

http://i.imgur.com/KaWAKgW.png


Strange. What is wrong?

editor - http://a-rei.ru/meJf
about - http://a-rei.ru/RAuW
add-in manager - http://a-rei.ru/jIrf