Re: D GUI Framework (responsive grid teaser)

2020-06-23 Thread aberba via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 17:29:05 UTC, Robert M. Münch wrote:

On 2020-06-22 23:56:47 +, aberba said:


Will it be open source? Curious why its not hosted public


We will see...

The main point is, such a thing only lifts off if the quality 
and out-of-the-box experience is high enough. I think we don't 
need an other project, that might not get any tracktion.


And, if things have a good quality and are used, a project 
needs a bit of management. This bit can become quite intensive, 
especially in the beginning until enough know-how is build-up 
by others. And, this requires that others are picking it up, 
which needs a good quality... and the circle closes.


Reality tells us, that most OS projects don't take off. Small 
libs, with a narrow scope are a totally different story than a 
GUI framework.


I meant it more like your code itself is very valuable for 
someone else to borrow ideas.


See BeamUI using soem of DlangUI code to build something without 
starting completely from scratch.


Re: D GUI Framework (responsive grid teaser)

2020-06-23 Thread Robert M. Münch via Digitalmars-d-announce

On 2020-06-23 04:29:48 +, Виталий Фадеев said:


Width of the element can be set:
- by hand
--- fixed
- by automate
--- inherited from parent
--- from childs ( calculated max width )
--- generated by parent layout ( like a HBox, VBox, may be CircleLayout... )

and for each case:
- check min width
- check max width

https://drive.google.com/file/d/1ZbeSkQD2BY06JB1R17CT17te1H9ecRnI/view?usp=sharing 



Not sure if this is a question or some project you do. However, yes on 
all points for what we do.



and childs can be aligned in container cell to: left. center, right, stretched.

https://drive.google.com/file/d/1Xm4m7DLaUoPu5wzvPSalgW3i1-WkTeek/view?usp=sharing 



Yes.


I love beauty UI too. :)


Well, beauty lies in the eye of the beholder.


I love fast perfect UI too.


:-)


And I do D Windows GUI too.  :)


Cool... so, anything to see?


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



Re: D GUI Framework (responsive grid teaser)

2020-06-23 Thread Robert M. Münch via Digitalmars-d-announce

On 2020-06-22 23:56:47 +, aberba said:


Will it be open source? Curious why its not hosted public


We will see...

The main point is, such a thing only lifts off if the quality and 
out-of-the-box experience is high enough. I think we don't need an 
other project, that might not get any tracktion.


And, if things have a good quality and are used, a project needs a bit 
of management. This bit can become quite intensive, especially in the 
beginning until enough know-how is build-up by others. And, this 
requires that others are picking it up, which needs a good quality... 
and the circle closes.


Reality tells us, that most OS projects don't take off. Small libs, 
with a narrow scope are a totally different story than a GUI framework.


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



Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread Meta via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 13:45:56 UTC, user1234 wrote:

On Tuesday, 23 June 2020 at 12:00:30 UTC, Mike Parker wrote:

On Tuesday, 23 June 2020 at 12:00:06 UTC, Mike Parker wrote:
Symmetry Autumn of Code 2020 is on! My latest news post on 
the D Blog talks about that, some D Language Foundation 
finance updates, and whispers on the wind.


And you can read all about it here:

https://dlang.org/blog/2020/06/23/saoc-2020-and-other-news/


"Thanks are also in order to those who have supported the 
foundation through smile.amazon.com. Your purchases have 
brought over $288"


That is interesting, that means that dlang users spent 
~57,600.0 bucks on Amazon recently.
And that's probably only a minority as people don't necessarily 
remembers that smile.amazon thing.


I guarantee I spent at least $1000 on Amazon in 2019, and I've 
ordered a lot of stuff off there that I wouldn't normally, given 
the quarantine. I don't usually buy from amazon.com as I'm not in 
the US, but I did set mine to donate to the DLF when I do.


Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread Adam D. Ruppe via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 12:00:06 UTC, Mike Parker wrote:

D Language Foundation finance updates


Please note that the bit here saying to search a third party 
website is insufficient, IRS regulations state that the 
foundation must provide the address on the world wide web and 
that there must be no fee to download the document from them or 
from the third party hosting the website.


A direct link to the third party web page offering the PDF I 
believe would be in compliance, but indirect search pages are not 
and any link with a paywall is most definitely not.


You also need to make sure the most up-to-date information is 
available and exact images of the actual documents submitted to 
the IRS, so while adding other information and reformatting in 
HTML would definitely be appreciated, you also need to provide 
the original documents to be in compliance with the law. The 
grantspace thing only offers 2016 and 2017.


Really, the best thing to do is probably offering the documents 
directly on the official website. Then if someone does formally 
request it you can just point back to dlang.org/foundation or 
whatever.


Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread Mike Parker via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 13:45:56 UTC, user1234 wrote:



That is interesting, that means that dlang users spent 
~57,600.0 bucks on Amazon recently.
And that's probably only a minority as people don't necessarily 
remembers that smile.amazon thing.


That's not recent. It's the total they've paid out since the 
foundation has been part of the program. I'm not sure when Andrei 
signed up for it.


Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread user1234 via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 12:00:30 UTC, Mike Parker wrote:

On Tuesday, 23 June 2020 at 12:00:06 UTC, Mike Parker wrote:
Symmetry Autumn of Code 2020 is on! My latest news post on the 
D Blog talks about that, some D Language Foundation finance 
updates, and whispers on the wind.


And you can read all about it here:

https://dlang.org/blog/2020/06/23/saoc-2020-and-other-news/


"Thanks are also in order to those who have supported the 
foundation through smile.amazon.com. Your purchases have brought 
over $288"


That is interesting, that means that dlang users spent ~57,600.0 
bucks on Amazon recently.
And that's probably only a minority as people don't necessarily 
remembers that smile.amazon thing.


Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread aberba via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 12:00:30 UTC, Mike Parker wrote:

On Tuesday, 23 June 2020 at 12:00:06 UTC, Mike Parker wrote:
Symmetry Autumn of Code 2020 is on! My latest news post on the 
D Blog talks about that, some D Language Foundation finance 
updates, and whispers on the wind.


And you can read all about it here:

https://dlang.org/blog/2020/06/23/saoc-2020-and-other-news/


I'm glad you guys are doing something about financial 
transparency. Might even push more donations to be made.


Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread Mike Parker via Digitalmars-d-announce

On Tuesday, 23 June 2020 at 12:00:06 UTC, Mike Parker wrote:
Symmetry Autumn of Code 2020 is on! My latest news post on the 
D Blog talks about that, some D Language Foundation finance 
updates, and whispers on the wind.


And you can read all about it here:

https://dlang.org/blog/2020/06/23/saoc-2020-and-other-news/


News on the D Blog: SAOC 2020 and More

2020-06-23 Thread Mike Parker via Digitalmars-d-announce
Symmetry Autumn of Code 2020 is on! My latest news post on the D 
Blog talks about that, some D Language Foundation finance 
updates, and whispers on the wind.


Re: addle 0.1.0 - argument-dependent lookup for UFCS functions

2020-06-23 Thread Atwork via Digitalmars-d-announce

On Sunday, 21 June 2020 at 00:06:12 UTC, Paul Backus wrote:
Are you tired of D's sane, straightforward scoping rules? 
Itching for a taste of that old-fashioned C++ madness? Well, 
itch no more: addle is here to help.


addle is a tiny library that implements C++-style 
argument-dependent lookup (ADL) for D, on an opt-in basis. It 
lets you extend existing types with UFCS methods, and share 
those methods seamlessly with code in other modules--no 
`import` required!


Here's a brief example:

import addle;
import std.range;

// Import a type from another module
import mylib: MyStruct;

// Define range primitives for MyStruct
bool empty(MyStruct a) { return false; }
string front(MyStruct a) { return "ok"; }
void popFront(MyStruct a) {}

// MyStruct isn't considered an input range, because
// std.range can't see our UFCS methods.
static assert(isInputRange!MyStruct == false);

// ...but extending it makes those methods visible.
static assert(isInputRange!(Extended!MyStruct));

void main()
{
import std.range: take, only;
import std.algorithm: equal;

MyStruct myStruct;

// Now we can use all of the standard range algorithms
assert(
myStruct.extended
.take(3)
.equal(only("ok", "ok", "ok"))
);
}

Now available on Dub, by "popular demand"!

Links:
  - Documentation: https://addle.dpldocs.info/addle.html
  - Dub: https://code.dlang.org/packages/addle
  - Github: https://github.com/pbackus/addle


That's pretty neat.

I wonder if something like that could have been used when 
checking types in phobos? Probably wouldn't be implemented as I 
can imagine a performance impact during compilation tho.