Re: yet another event loop

2016-08-26 Thread Bill Hicks via Digitalmars-d-announce

On Friday, 26 August 2016 at 14:19:55 UTC, Eugene Wissner wrote:

On Friday, 26 August 2016 at 10:54:17 UTC, bachmeier wrote:
The person you responded to is a troll that has been 
cluttering the forum. No need to even read what they are 
posting.


Didn't know it, thanks


Don't listen to him, he's trying to sharpen your mind.

If you don't want to use a famous name, then at least use a 
non-female name.  The sad reality is that most guys in the 
industry perceive females as inferior, so using a name like 
'tanya' will have a poor effect on your project.  You want to 
reach as many minds as possible, regardless of how good or bad 
your library is, so pick a manly name.


Re: On the future of DIP1000

2016-08-26 Thread Bill Hicks via Digitalmars-d-announce

On Wednesday, 24 August 2016 at 15:30:34 UTC, Martin Nowak wrote:

 we want memory safe code w/o the GC.

-Martin


Rust has had that since day one.  Funny how not too long ago D 
core was mocking Rust, but now they're trying to be more like it. 
 I bet in a few years we'll see hygienic macro system in D.




Re: Silicon Valley D Meetup August 25, 2016 - Fireside Chat with Andrei Alexandrescu

2016-08-26 Thread Bill Hicks via Digitalmars-d-announce

On Wednesday, 24 August 2016 at 19:17:19 UTC, Ali Çehreli wrote:
We will post a Google Hangouts link here at the start at 19:00 
(7pm) Pacific time:


  http://www.meetup.com/D-Lang-Silicon-Valley/events/232970396/

Please try to come in person for free food and maybe a free 
copy of the book "Programming in D".


The venue:

  Innowest
  764 San Aleso Ave, Sunnyvale, CA

Ali


I'll be attending.  I would really like to bring some of my 
'exotic' female friends who have shown interest in D, but is D's 
gatherings still white males only?  I haven't seen any posting 
regarding rule changes, so I thought I ask.


Re: yet another event loop

2016-08-26 Thread Eugene Wissner via Digitalmars-d-announce

On Friday, 26 August 2016 at 15:02:42 UTC, Jack Stouffer wrote:
On Wednesday, 24 August 2016 at 18:03:39 UTC, Eugene Wissner 
wrote:

https://github.com/caraus-ecms/tanya


Please make documentation easily available for your library. I 
wish to use event loops in D, but I have no desire to wade 
though someone else's code in order to figure out how use the 
library.


Sure. I will try then that it appears as soon as possible either 
as a few web pages or github-wiki. Thanks for this note


Re: yet another event loop

2016-08-26 Thread Robert M. Münch via Digitalmars-d-announce

On 2016-08-26 19:37:19 +, Eugene Wissner said:

Do you mean that the library can have different modules but they should 
be independent of each other as much as possible (like phobos) or that 
every part that can be separated belongs to its own repository?


I don't see both related. The 1st property is about library design, the 
2nd about code management.


If I can somehow only use the event part without having to get all 
other stuff in that's perfect. Putting everything into one repository 
is OK for me as well, makes handling the lib simpler.


--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



Re: yet another event loop

2016-08-26 Thread Eugene Wissner via Digitalmars-d-announce

On Friday, 26 August 2016 at 10:03:22 UTC, Robert M. Münch wrote:

On 2016-08-24 18:03:39 +, Eugene Wissner said:

I want it to become not an event loop only but a general 
purpose library that has an event loop.


Hi, well, I would re-think this since the danger is, that 
everything is so connected that I can use either all or nothing 
at all.


I'm searching for a configurable (network, timer, GUI) 
stand-alone event-loop library, that abstracts away platform 
differences for years. Those that I found are so tighly deep 
coupled with the rest, that you can't get them out.


IMO general purpose libraries building their own context and 
world-view are waste of time...


Do you mean that the library can have different modules but they 
should be independent of each other as much as possible (like 
phobos) or that every part that can be separated belongs to its 
own repository?
I absolutely agree with the first but not sure about the second 
point.


Re: Autotesting dub packages with dmd nightly

2016-08-26 Thread Seb via Digitalmars-d-announce

On Monday, 22 August 2016 at 20:44:05 UTC, Sebastiaan Koppe wrote:
On Wednesday, 10 August 2016 at 18:35:03 UTC, Sebastiaan Koppe 
wrote:

So true. Then I will do PR's first.


I finally got around implementing running dmd/druntime/phobos 
pull requests against all dub packages. Thank you digger, for 
making it so easy.


I did a run of master + druntime#1602. Then I ran a comparison 
with a batch from 2.071.2-b2. 108 packages had a different 
build result. I have no nice stats or pictures, but a quick 
glance over the raw data:


50 of them went from green unittests to a dmd exit code 1.
16 went from unknown build results to dmd exit code 1.
10 went from dmd exit code 255 to 1
9 of them are now green.
8 of them went from linker errors to a dmd exit code 1.
6 of then went from non-zero exit code during unittest run to a 
dmd exit code 1.
3 previous ran out of memory but now resulted in dmd exit code 
1.

etc.

All in all I think +/- 96 package are affected. A little over 
11%.


That's awesome to know!

How difficult would it be to integrate it with the dlang GitHub 
PR workflow?

I am just shooting an idea that popped into my head:

We already use CircleCi and Travis for the dlang repos, so if we 
lock the packages to a fixed version (to prevent failures caused 
by the package authors), we might be able create a simple file 
like:


```
vibe.d==0.7.29
mir==0.16.3
...
```

We could select a subset (e.g. 50-100), s.t. the runtime doesn't 
get exorbitant.
Following we could then do enable the checking in CircleCi with 
sth. similar to:


```
wget 
https://raw.githubusercontent.com/dlang/community-list/master/dlang-packages.master # just an example, idea is to host the file somewhere on GitHub s.t. editing it is easy

dub fetch your-fancy-tool --version="x.y.y"
dub run your-fancy-tool --config dlang-stable.packages
```

Of course CircleCi doesn't have the access rights to post back to 
the hook API, but you could send a notification to dlang-bot [1] 
which has the permissions or let the CI error / fail.


Otherwise you could of course look into setting up your own job 
queue (or hack with the code from the auto-tester [2]), which 
might be fun too.


[1] https://github.com/MartinNowak/dlang-bot
[2] https://github.com/braddr/d-tester


Re: Minor updates: gen-package-version v1.0.4 and sdlang-d v0.9.6

2016-08-26 Thread MrSmith via Digitalmars-d-announce

On Tuesday, 23 August 2016 at 16:19:12 UTC, Nick Sabalausky wrote:
I'm hoping to finally get around to taking care of some of the 
open enhancement requests for sdlang-d soon.


Can you, please, take care of this issue: 
https://github.com/Abscissa/libInputVisitor/issues/1 ?


Re: yet another event loop

2016-08-26 Thread Jack Stouffer via Digitalmars-d-announce
On Wednesday, 24 August 2016 at 18:03:39 UTC, Eugene Wissner 
wrote:

https://github.com/caraus-ecms/tanya


Please make documentation easily available for your library. I 
wish to use event loops in D, but I have no desire to wade though 
someone else's code in order to figure out how use the library.


Re: yet another event loop

2016-08-26 Thread Eugene Wissner via Digitalmars-d-announce

On Friday, 26 August 2016 at 10:54:17 UTC, bachmeier wrote:
The person you responded to is a troll that has been cluttering 
the forum. No need to even read what they are posting.


Didn't know it, thanks


Re: yet another event loop

2016-08-26 Thread bachmeier via Digitalmars-d-announce

On Friday, 26 August 2016 at 10:38:59 UTC, Eugene Wissner wrote:
I think I disagree. For example I didn't know who is kardashian 
and the name is pretty difficult. And I think neither 
kardashian nor madonna are worth to name something after them. 
I also doubt that naming after famous people gave more 
popularity to kafka, picasa, ada, pascal and so on


The person you responded to is a troll that has been cluttering 
the forum. No need to even read what they are posting.


Re: yet another event loop

2016-08-26 Thread Eugene Wissner via Digitalmars-d-announce

On Friday, 26 August 2016 at 02:22:54 UTC, Bill Hicks wrote:
On Wednesday, 24 August 2016 at 18:03:39 UTC, Eugene Wissner 
wrote:

https://github.com/caraus-ecms/tanya

Ok there are not so many event loops in D and here an another 
one and its name is "tanya".




Could you change the name to something more recognizable to 
help with D's popularity?  Something like 'kardashian' might be 
better.  Nobody really knows 'tanya', do you know what I mean?  
Maybe even 'madonna', so people will know that D is just as 
talented as others languages.


Marketing is going to be key for D, so let's do our best.


I think I disagree. For example I didn't know who is kardashian 
and the name is pretty difficult. And I think neither kardashian 
nor madonna are worth to name something after them. I also doubt 
that naming after famous people gave more popularity to kafka, 
picasa, ada, pascal and so on


Re: yet another event loop

2016-08-26 Thread Robert M. Münch via Digitalmars-d-announce

On 2016-08-24 18:03:39 +, Eugene Wissner said:

I want it to become not an event loop only but a general purpose 
library that has an event loop.


Hi, well, I would re-think this since the danger is, that everything is 
so connected that I can use either all or nothing at all.


I'm searching for a configurable (network, timer, GUI) stand-alone 
event-loop library, that abstracts away platform differences for years. 
Those that I found are so tighly deep coupled with the rest, that you 
can't get them out.


IMO general purpose libraries building their own context and world-view 
are waste of time...


--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster