Re: Boston D Meetup: Strawman Structs

2017-07-02 Thread Steven Schveighoffer via Digitalmars-d-announce

On 7/2/17 6:35 AM, Steven Schveighoffer wrote:
I'll have a short presentation on a weird trick I discovered while 
writing some MySQL serialization code. Hope you can attend!


https://www.eventbrite.com/e/d-lang-presentation-strawman-structs-tickets-35120523431 


I've moved this to Friday to accommodate more people.

-Steve


Release fluent-asserts 0.6.0

2017-07-02 Thread Szabo Bogdan via Digitalmars-d-announce

Hi,

I just made a new release of fluent-asserts:

http://fluentasserts.szabobogdan.com/
https://code.dlang.org/packages/fluent-asserts

Since my last announcement I improved the library with:
 - better error messages
 - better exception api
 - integration with ranges
 - new asserts `executionTime` for callable and `containsOnly` 
for ranges
 - a new `Assert` utility for those who don't like the BDD style 
of writing asserts


Any feedback is appreciated.

Thanks,
Bogdan


Boston D Meetup: Strawman Structs

2017-07-02 Thread Steven Schveighoffer via Digitalmars-d-announce
I'll have a short presentation on a weird trick I discovered while 
writing some MySQL serialization code. Hope you can attend!


https://www.eventbrite.com/e/d-lang-presentation-strawman-structs-tickets-35120523431

-Steve


Re: Release candidates vibe.d 0.8.0-rc.3 and vibe-core 1.0.0-rc.3

2017-07-02 Thread Sönke Ludwig via Digitalmars-d-announce

Am 01.07.2017 um 21:33 schrieb tetyys:
Are you planning/Did you consider to support wildcards in @path 
attribure when using registerWebInterface?


@path takes a string that is passed as-is to URLRouter, so it supports 
the limited trailing wildcard ("/foo/*"), as well as the path segment 
placeholders ("/foo/:bar/"). Arbitrary wildcards are definitely a 
natural generalization and should also be implemented one day.


Only the implementation is a little bit complicated, because they need 
to be transformed into the same DFA representation that is used to match 
placeholders, including mixtures of the two and the appropriate 
fallbacks if there are multiple partial matches on the way to a full match.


So in the end, because I didn't have a need for this so far and because 
of the relatively high implementation cost, I don't currently have this 
on the radar.


Which nutrients are good for your hair?

2017-07-02 Thread newlytoupee.com via Digitalmars-d-announce
Protein rich foods: the hair's main body is a keratinized 
protein, the intake of sufficient protein every day is good for 
hair growth. Fish, meat, eggs, soy products, such as milk, 
protein rich food, gastro intestinal digestion and absorption to 
form various kinds of amino acid, into the blood, white hair 
roots of the hair papilla to absorb and synthesize keratin, the 
horny, is our hair.
Foods rich in vitamin B, C vitamin C can activate the capillary 
wall, so that the hair can easily absorb the nutrients in the 
blood; and vitamin B can promote hair growth, hair a natural 
luster effect. Usually eat more, such as malt and other rich in 
vitamin B and vitamin C fresh vegetables and fruits, the 
restoration of healthy hair shine, half work times the effect.
Soy protein is the basis of hair, but many women lose weight, 
often small intake of meat, eggs and other high protein foods, so 
slow hair growth, and soy products are scarce, can best 
supplement protein not fattening.
Gelatinous foods: foods containing gum are not only good for the 
skin, they also increase the toughness of the hair and make the 
hair look denser.