Re: seeking D wisdom

2015-04-10 Thread Rikki Cattermole via Digitalmars-d-learn
On 11/04/2015 6:07 a.m., John S wrote: Hello World, I am hoping that someone can lend some advice. I am not really a programmer but I studied programming in the late 90s/early 2000 time period. I started with QBasic, then I learned HTML, CSS, JavaScript. I dabbled in C++ using books and tutorials

Re: IMAP library

2015-04-10 Thread Jens Bauer via Digitalmars-d-learn
On Friday, 10 April 2015 at 19:59:49 UTC, Laeeth Isharc wrote: Started working on a simple one. Sounds very good to me. :) It's not exactly rocket science, but a bit fiddly. Simple is good. Need to have some way of manipulating email in D though. I agree. This would especially be cool,

Re: Creating a microcontroller startup file

2015-04-10 Thread Jens Bauer via Digitalmars-d-learn
On Friday, 10 April 2015 at 00:05:29 UTC, Mike wrote: On Wednesday, 8 April 2015 at 15:25:20 UTC, Jens Bauer wrote: Question number 2: Is it possible to change the VectorFunc to be a real function pointer, rather than a void* ? Can you successfully cast(ISR)&_stack ? I don't know if that's

Re: Creating a microcontroller startup file

2015-04-10 Thread Jens Bauer via Digitalmars-d-learn
On Thursday, 9 April 2015 at 10:47:42 UTC, Artur Skawina wrote: On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote: -It would be neat, if @attribute("weak") and @attribute("alias","function") could be combined into one, but I haven't found a way to do that http://forum.dlang.org/pos

Re: Creating a microcontroller startup file

2015-04-10 Thread Jens Bauer via Digitalmars-d-learn
On Wednesday, 8 April 2015 at 23:18:41 UTC, Mike wrote: You may also wnat to compile with -nodefaultlibs -nostdlib -nostartfiles. That removes the cruntime and libgcc. I forgot about those. Yes, when excluded those and added a /DISCARD/ for the exidx and armexidx, I finally got rid of the hu

Re: Incorrect display in Cyrillic Windows

2015-04-10 Thread Paul Water via Digitalmars-d-learn
On Wednesday, 4 March 2015 at 12:14:01 UTC, Martin Krejcirik wrote: On Wednesday, 4 March 2015 at 11:32:40 UTC, Dennis Ritchie wrote: Hi. It's normal for Windows? You have to set your console encoding to UTF-8 first. You can do it by command "chcp 65001" or by calling Windows API function:

Re: Make a type tuple from an array

2015-04-10 Thread Nordlöw
On Friday, 10 April 2015 at 15:36:42 UTC, John Colvin wrote: if (TL.length == 1 && isInputRange!(typeof(TL[0]))) Why not use isStaticArray instead of isInputRange here?

IMAP library

2015-04-10 Thread Laeeth Isharc via Digitalmars-d-learn
Started working on a simple one. It's not exactly rocket science, but a bit fiddly. Need to have some way of manipulating email in D though. Is async important (so you can pipeline commands) and also multiple threads ? Or is a simple enough version useful as a start? If async (ie pipelinin

Re: seeking D wisdom

2015-04-10 Thread Kagamin via Digitalmars-d-learn
http://forum.dlang.org/post/ofzxraoutgxctxujr...@forum.dlang.org another example: https://github.com/D-Programming-GDC/gdcproject