Re: The DLang Tour translated into Russian

2017-06-14 Thread Murzistor via Digitalmars-d-announce

On Saturday, 10 June 2017 at 17:20:14 UTC, Stanislav Blinov wrote:

Hi everyone!

We're happy to announce that as of today, the Russian 
translation of the DLang Tour chapters is available here: 
https://tour.dlang.org/tour/ru/welcome/welcome-to-d , and of 
course via the language selection page: 
https://tour.dlang.org/tour/en/welcome/languages


Читаю тур.
Вот говорят: "ну и где у D киллер-фича?"
Да он весь из "киллер-фич!"
(Я дочитал до шаблонов)
В "плюсах" они именно что выглядят ужасно.


Re: The DLang Tour translated into Russian

2017-06-14 Thread Murzistor via Digitalmars-d-announce

Спасибо за поддержку такого замечательного языка!
И спасибо его создателям!

Я ошибку нашёл в коде:
https://tour.dlang.org/tour/ru/basics/interfaces

auto dog = new Animal; // "создание" экземпляра интерфейса
Animal animal = dog;
dog.makeNoise();


Причём в на английской версии тоже неправильно:
https://tour.dlang.org/tour/en/basics/interfaces

auto dog = new Dog;
Animal animal = dog;
dog.makeNoise(); // про интерфейс забыли


А надо так:

auto dog = new Dog;
Animal animal = dog; // неявное преобразование к интерфейсу
animal.makeNoise();




Re: Berlin D Meetup June 2017

2017-06-14 Thread Stefan Koch via Digitalmars-d-announce

On Tuesday, 13 June 2017 at 13:51:02 UTC, Ben Palmer wrote:

Hi All,

The Berlin June D meetup is happening on this Friday the 16th 
at 19:30 at Berlin Co-Op (http://co-up.de/) on the fifth floor. 
Mathias Lang will be giving a short talk on metaprogramming 
tricks in D. In particular on a "Self generating visitor 
pattern and a safe and correct tagged union in less than 100 
LoC".


As always we will have both alcoholic and non-alcoholic drinks 
available and time for discussions after the talk.


The meetup page is: 
https://www.meetup.com/Berlin-D-Programmers/events/240756635/


Thanks,
Ben.


19.30 ... I am not going to make it.


[OT] adtech prevalence

2017-06-14 Thread Joakim via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 06:55:39 UTC, anonymous wrote:
“The best minds of my generation are thinking about how to make 
people click ads.” - Jeffrey Hammerbacher (Cloudera cofounder)


I see this quote repeated a lot, but are they really the best 
minds if they settle for such a silly goal?  One of the tests of 
the best minds is that they seek, or perhaps just stumble, onto 
much more worthwhile goals.  Rather there are always a lot of 
talented people that waste their time on the latest gold rush, 
instead of surveying the field for what's coming down the line.  
Andrei left Facebook, one of the larget ad companies in the 
world, to work more on D: I think he made the right move.


And no offense to those working more on the tech side of adtech, 
at Sociomantic or elsewhere, as those systems can be repurposed 
for something else when the adtech bubble eventually bursts:


http://www.businessinsider.com/The-ad-tech-sector-looks-an-awful-lot-like-a-bubble-that-just-popped/articleshow/47249873.cms


Re: Revised DIP Info

2017-06-14 Thread MysticZach via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 12:53:21 UTC, MysticZach wrote:

On Wednesday, 14 June 2017 at 12:17:50 UTC, Mike Parker wrote:
In this thread, I'm specifically looking for feedback on my 
updates to the readme and the guidelines. Sorry for any 
confusion.


s/GUIDLINES.md/GUIDELINES.md/


In the readme file. The link is good, but the label is wrong.


Re: Revised DIP Info

2017-06-14 Thread MysticZach via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 12:17:50 UTC, Mike Parker wrote:
In this thread, I'm specifically looking for feedback on my 
updates to the readme and the guidelines. Sorry for any 
confusion.


s/GUIDLINES.md/GUIDELINES.md/


Re: Revised DIP Info

2017-06-14 Thread Mike Parker via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 10:41:01 UTC, MysticZach wrote:

On Wednesday, 14 June 2017 at 10:32:50 UTC, Andre Pany wrote:

[3] https://github.com/dlang/DIPs/pull/71


Hi,

the work on this dip is highly appreciated. For my AWS SDK 
this DIP would
make the coding much more readable and also smaller for 
several use cases.


At this point in the process, it's better to comment on the 
github page for that DIP than here on the forums. I'm sure your 
comments will be welcome there.


Right. The DIP is in Draft Review right now, which means comments 
should be left on the pull request. In this thread, I'm 
specifically looking for feedback on my updates to the readme and 
the guidelines. Sorry for any confusion.


Re: Revised DIP Info

2017-06-14 Thread MysticZach via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 10:32:50 UTC, Andre Pany wrote:

[3] https://github.com/dlang/DIPs/pull/71


Hi,

the work on this dip is highly appreciated. For my AWS SDK this 
DIP would
make the coding much more readable and also smaller for several 
use cases.


At this point in the process, it's better to comment on the 
github page for that DIP than here on the forums. I'm sure your 
comments will be welcome there.


Re: Revised DIP Info

2017-06-14 Thread Andre Pany via Digitalmars-d-announce

On Monday, 12 June 2017 at 17:51:05 UTC, Mike Parker wrote:
Now that I've got a few DIP reviews under my belt, I've got a 
good enough handle on the process to lay it out in 
documentation form. To that end [1], I've kept the general 
structure that Dicebot initially set down, changing the details 
to better reflect my view of how it should all work (I still 
need to update the existing DIPs to reflect a couple of 
changes). I've also revised Dicebot's guidelines on DIP writing 
[2]. Much of his original advice is still there. That document 
is sure to evolve.


Feedback on all of this is welcome.

While I have your attention, Sebastian recently revived an old 
DIP on in-place struct initialization. I invite everyone to 
come and give feedback on that [3], but *please* read the 
updated README before doing so, particularly the section titled 
'Review Process' so you can fully understand what's expected of 
reviews at this stage of the process (what I now call the 
'Draft Review' stage). I haven't looked at it yet, but I expect 
to do so next week.


I still need to review the recent updates to Zach Tollen's 
proposal [4] (Improve Contract Usability), and if all checks 
out I'll be merging it as DIP 1009. You can expect the first 
review round shortly thereafter.



[1] https://github.com/dlang/DIPs/blob/master/README.md
[2] https://github.com/dlang/DIPs/blob/master/GUIDELINES.md
[3] https://github.com/dlang/DIPs/pull/71
[4] https://github.com/dlang/DIPs/pull/66


Hi,

the work on this dip is highly appreciated. For my AWS SDK this 
DIP would
make the coding much more readable and also smaller for several 
use cases.


I generate structures out of the AWS API information. Several UDA 
information has to be stored. Struct initializer for UDA 
structures will look great:


struct CreateTableInput
{
@FieldInfo({memberName: "TableName"})
TableName tableName;

@FieldInfo({memberName: "AttributeDefinitions", minLength: 1})
AttributeDefinitions attributeDefinitions;
}


Second scenario is the actual usage of these structs. Using 
struct initializer in method signature feels natural:


invoker.execute([
new CreateBucketCommand(client, {
bucket: "MyBucket1",
createBucketConfiguration: {
locationConstraint: 
BucketLocationConstraint.EU_CENTRAL_1
}
}),
new CreateBucketCommand(client, {
bucket: "MyBucket2",
createBucketConfiguration: {
locationConstraint: 
BucketLocationConstraint.EU_CENTRAL_1
}
})
]);

Kind regards
André




Re: D now available on Codefights.com

2017-06-14 Thread Ivan Kazmenko via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 08:32:43 UTC, Dsby wrote:

On Wednesday, 14 June 2017 at 01:17:12 UTC, Ivan Kazmenko wrote:

Hey,

The site https://codefights.com is a place to test and improve 
your programming skills.  The challenges include 
interview-type problems, shortest code contests, duels with 
other coders, monthly tournaments, and more.  If you perform 
well, you can opt in to get connected with partner companies 
for job opportunities.


[...]


How can I  comment other Code?


Currently, there are comments for problems and contests.  But for 
individual solutions, the only feedback possible right now is 
thumbs-up (in the upper right corner).  However, you can suggest 
this feature on the forum :) .




Re: D now available on Codefights.com

2017-06-14 Thread Dsby via Digitalmars-d-announce

On Wednesday, 14 June 2017 at 01:17:12 UTC, Ivan Kazmenko wrote:

Hey,

The site https://codefights.com is a place to test and improve 
your programming skills.  The challenges include interview-type 
problems, shortest code contests, duels with other coders, 
monthly tournaments, and more.  If you perform well, you can 
opt in to get connected with partner companies for job 
opportunities.


[...]


How can I  comment other Code?


DlangUI Wiki: some docs added

2017-06-14 Thread Vadim Lopatin via Digitalmars-d-announce

Hello,

I've created several Wiki pages which may be useful if you are 
using DlangUI.



Adding resources to DlangUI application:

https://github.com/buggins/dlangui/wiki/Adding-Resources


Adding new / cusomizing existing theme in DlangUI application:

https://github.com/buggins/dlangui/wiki/Adding-New-Theme


DML documentation:


https://github.com/buggins/dlangui/wiki/Using-DML-to-create-layouts



Please let me know if something has to be documented deeper.


Best regards,
Vadim


Re: Developer positions at Sociomantic Labs

2017-06-14 Thread anonymous via Digitalmars-d-announce
“The best minds of my generation are thinking about how to make 
people click ads.” - Jeffrey Hammerbacher (Cloudera cofounder)