Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
http://d.readthedocs.org I hope this examples will be useful for students. Ilya

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Namespace via Digitalmars-d-announce
On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Hellow Wolrd! Is this intended?

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Chris via Digitalmars-d-announce
On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Thanks. That's very good and exactly what we need for people to lose their fear of touching D.

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread cym13 via Digitalmars-d-announce
On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Showing how easy interacting with python can be is a very good idea, and doing so by dealing with scientific data is an even better one!

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Chris via Digitalmars-d-announce
On Friday, 1 May 2015 at 09:14:19 UTC, cym13 wrote: On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Showing how easy interacting with python can be is a very good idea, and doing so by dealing wit

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 1 May 2015 at 08:45:35 UTC, Namespace wrote: On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Hellow Wolrd! Is this intended? Thanks! Fixed.

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Andy Smith via Digitalmars-d-announce
very nice examples. Kudos! A. On Friday, 1 May 2015 at 09:49:51 UTC, Ilya Yaroshenko wrote: On Friday, 1 May 2015 at 08:45:35 UTC, Namespace wrote: On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Laeeth Isharc via Digitalmars-d-announce
On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya very nice. I didn't know about the D interface to some of those chart libraries. if you would care to incorporate some of the new things you ment

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Anonymous via Digitalmars-d-announce
This is great, thank you. I couldn't get the example in the introduction to work without adding .map!(chomp) to the pipeline: auto sample = File("10numbers.txt") .byLine .takeExactly(10) .map!(chomp) .map!(to!double) .tee!((x){mean += x;}) .array

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread John Colvin via Digitalmars-d-announce
On Friday, 1 May 2015 at 14:01:38 UTC, Anonymous wrote: This is great, thank you. I couldn't get the example in the introduction to work without adding .map!(chomp) to the pipeline: auto sample = File("10numbers.txt") .byLine .takeExactly(10) .map!(chomp) .map!

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
Thank you for the patch for windows line endings! On Friday, 1 May 2015 at 14:01:38 UTC, Anonymous wrote: This is great, thank you. I couldn't get the example in the introduction to work without adding .map!(chomp) to the pipeline: auto sample = File("10numbers.txt") .byLine

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 1 May 2015 at 14:01:38 UTC, Anonymous wrote: This is great, thank you. I couldn't get the example in the introduction to work without adding .map!(chomp) to the pipeline: auto sample = File("10numbers.txt") .byLine .takeExactly(10) .map!(chomp) .map!

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread xky via Digitalmars-d-announce
On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Nice tutorial! Thanks! By the way, can i try to translation for korean? :)

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Anonymous via Digitalmars-d-announce
Yes, that works. I also tried what John Colvin suggested (.byLine(KeepTerminator.no, std.ascii.newline) and that works too. Is it true that both of those are better than adding chomp because it would be one less time through the pipeline? Learned several new things today! Thanks again! On Fri

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ali Çehreli via Digitalmars-d-announce
On 05/01/2015 02:49 AM, Ilya Yaroshenko wrote: On Friday, 1 May 2015 at 08:45:35 UTC, Namespace wrote: On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Hellow Wolrd! Is this intended? Thanks! F

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 1 May 2015 at 15:11:37 UTC, xky wrote: On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for students. Ilya Nice tutorial! Thanks! By the way, can i try to translation for korean? :) Iit would be great! S

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 1 May 2015 at 15:25:28 UTC, Ali Çehreli wrote: On 05/01/2015 02:49 AM, Ilya Yaroshenko wrote: On Friday, 1 May 2015 at 08:45:35 UTC, Namespace wrote: On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote: http://d.readthedocs.org I hope this examples will be useful for stud

[Hackathon] ARM Cortex-M LCD Demo

2015-05-01 Thread Mike via Digitalmars-d-announce
A simple demonstration using D to bare-metal program and ARM Cortex-M microcontroller. Full description with pictures and even a video can be found here: https://github.com/JinShil/stm32f42_discovery_demo/blob/master/README.md I know, random rectangles on a screen is not all that remarkable,

Re: [Hackathon] ARM Cortex-M LCD Demo

2015-05-01 Thread ketmar via Digitalmars-d-announce
On Fri, 01 May 2015 15:30:21 +, Mike wrote: > I know, random rectangles on a screen is not all that remarkable, they ARE remarkable! signature.asc Description: PGP signature

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread Ilya Yaroshenko via Digitalmars-d-announce
Pipeline should be optimised (I am not sure about `tee`) by LDC, GDC and probably DMD so all examples are generaly equal. On Friday, 1 May 2015 at 15:15:14 UTC, Anonymous wrote: Yes, that works. I also tried what John Colvin suggested (.byLine(KeepTerminator.no, std.ascii.newline) and that work

Re: [Hackathon] ARM Cortex-M LCD Demo

2015-05-01 Thread Jeremiah DeHaan via Digitalmars-d-announce
On Friday, 1 May 2015 at 15:37:09 UTC, ketmar wrote: On Fri, 01 May 2015 15:30:21 +, Mike wrote: I know, random rectangles on a screen is not all that remarkable, they ARE remarkable! I agree. This is fantastic work! I am so excited to see this.

Re: Quick Start with D: few examples and set of links.

2015-05-01 Thread John Colvin via Digitalmars-d-announce
On Friday, 1 May 2015 at 15:53:12 UTC, Ilya Yaroshenko wrote: Pipeline should be optimised (I am not sure about `tee`) by LDC, GDC and probably DMD so all examples are generaly equal. Yeah I wouldn't expect a big difference here. Even if things aren't well optimised, the various branches shoul

Re: [Hackathon] ARM Cortex-M LCD Demo

2015-05-01 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/1/15 8:30 AM, Mike wrote: A simple demonstration using D to bare-metal program and ARM Cortex-M microcontroller. Full description with pictures and even a video can be found here: https://github.com/JinShil/stm32f42_discovery_demo/blob/master/README.md I know, random rectangles on a screen

Re: [Hackathon] ARM Cortex-M LCD Demo

2015-05-01 Thread Walter Bright via Digitalmars-d-announce
On 5/1/2015 2:01 PM, Andrei Alexandrescu wrote: On 5/1/15 8:30 AM, Mike wrote: A simple demonstration using D to bare-metal program and ARM Cortex-M microcontroller. Full description with pictures and even a video can be found here: https://github.com/JinShil/stm32f42_discovery_demo/blob/master

[hackathon] FreeTree is FreeList on autotune

2015-05-01 Thread Andrei Alexandrescu via Digitalmars-d-announce
I'm just done implementing a pretty cool allocator: FreeTree. https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/free_tree.d http://erdani.com/d/phobos-prerelease/std_experimental_allocator_free_tree.html It's similar to the classic free list allocator but instead of a