Re: Review of std.signal

2013-11-14 Thread Tyro[17]
On 11/14/13, 8:40 AM, Robert wrote: * Isn't it better to use an enum for the protection attributes? Having put some thought into this, while it seems to be, I think it isn't. Enums in D are scoped, so for the enum: enum Protection { protected_, private_, none } Enums in D may be scoped. The

Re: Build Master: Scheduling

2013-11-13 Thread Tyro[17]
On 11/13/13, 11:30 PM, Andrej Mitrovic wrote: On 11/14/13, Brad Anderson wrote: 6 months between releases means a regression that was introduced in the latest version requires you to wait another 6 months for the fix which means you are running a version that is a year out of date. 6 months i

Re: Build Master: Scheduling

2013-11-13 Thread Tyro[17]
On 11/13/13, 11:06 PM, Brad Roberts wrote: On 11/13/13 7:13 PM, Tyro[17] wrote: On 11/13/13, 9:46 PM, Brad Roberts wrote: On 11/13/13 4:37 PM, Tyro[17] wrote: I'm of the opinion, however, that the cycle should be six months long. This particular schedule is not of my own crafting

Re: Build Master: Scheduling

2013-11-13 Thread Tyro[17]
On 11/13/13, 10:03 PM, Brad Anderson wrote: On Thursday, 14 November 2013 at 02:47:15 UTC, Brad Roberts wrote: I think 6 months between releases is entirely too long. I'd really like us to be back closer to the once every month or two rather than only twice a year. The pace of change is high a

Re: Build Master: Scheduling

2013-11-13 Thread Tyro[17]
On 11/13/13, 9:46 PM, Brad Roberts wrote: On 11/13/13 4:37 PM, Tyro[17] wrote: I'm of the opinion, however, that the cycle should be six months long. This particular schedule is not of my own crafting but I believe it to be sound and worthy of emulation: I think 6 months between releas

Build Master: Scheduling

2013-11-13 Thread Tyro[17]
Greetings, I have accepted the responsibility of preparing the builds for DMD and would like to engage in conversation about the way ahead. The first concern I have is about the build cycle. Presently, it is nonexistent. There is no rhyme or reason regarding when releases are produced. The v

Re: BSD Config

2013-11-11 Thread Tyro[17]
On 11/11/13, 11:05 AM, Joakim wrote: On Sunday, 10 November 2013 at 19:09:37 UTC, Tyro[17] wrote: On 11/10/13, 12:16 PM, nazriel wrote: On Sunday, 10 November 2013 at 16:49:18 UTC, Tyro[17] wrote: What is the proper way to configure DMD for use on BSD systems? [Snip] Try running it with

Re: BSD Config

2013-11-11 Thread Tyro[17]
On 11/11/13, 12:35 PM, Brad Roberts wrote: https://d.puremagic.com/test-results/?projectid=1 FreeBSD/32 and FreeBSD/64 are both tested just as much as the rest of the platforms. That said, I'm sure that neither gets the same level of usage from the community as linux or win32. Any particular

Re: BSD Config

2013-11-10 Thread Tyro[17]
On 11/10/13, 12:16 PM, nazriel wrote: On Sunday, 10 November 2013 at 16:49:18 UTC, Tyro[17] wrote: What is the proper way to configure DMD for use on BSD systems? [Snip] Try running it with gmake Ok... Thanks for the pointer. I tried it and got much further than before. Pays to use the

BSD Config

2013-11-10 Thread Tyro[17]
What is the proper way to configure DMD for use on BSD systems? There is no freebsd or openbsd folder in the zip file so the instructions on dlang.org/dmd-freebsd.html cannot be followed as written. I tried building from source but get the following errors: # make -f posix.mak *** Parse error

Re: Current version of D.

2013-07-09 Thread Tyro[17]
On 7/9/13 6:36 PM, Rob T wrote: On Tuesday, 9 July 2013 at 22:34:18 UTC, Rob T wrote: Agreed, however we should also have a pre-release package for testing that is clearly marked as a pre-release, it can go on a separate web page to avoid any possibility of confusion. The current release is s

Re: D repl

2013-06-25 Thread Tyro[17]
On 6/25/13 10:47 PM, cal wrote: I uploaded a small demo of a D repl i've been playing with, might be of some interest. It's not a robust bit of code, and is not my idea of a proper repl, but shows some possibilities. The video shows the repl running as a web server (using vibe) with a browser cli

Re: fun project - improving calcHash

2013-06-24 Thread Tyro[17]
On 6/24/13 5:56 PM, Anders Halager wrote: On Monday, 24 June 2013 at 20:19:31 UTC, Walter Bright wrote: On 6/24/2013 1:08 PM, Anders Halager wrote: Python is one of the slower interpreted languages. It would be more interesting to look at luajit which actually does something clever. If the stri

Re: The birth of Åkerön

2013-06-20 Thread Tyro[17]
On 6/19/13 12:53 AM, H. S. Teoh wrote: On Tue, Jun 18, 2013 at 11:55:19PM -0400, Steven Schveighoffer wrote: On Tue, 18 Jun 2013 23:14:16 -0400, Tyro[17] wrote: The site is not active at the moment... I wasted my entire month's bandwidth allocation allocation in six days trying to pro

Re: The birth of Åkerön

2013-06-20 Thread Tyro[17]
On 6/19/13 6:56 AM, Joseph Rushton Wakeling wrote: Andrew -- thanks for the detailed explanation. I have to say that I'm extremely impressed by this kind of dedication to D given the long term constraints you've experienced in being able to use it for yourself. Not a problem. When I find somet

Re: The birth of Åkerön

2013-06-18 Thread Tyro[17]
helping people learn about D. To that end, he has established the web site dtutor.org (which Andrei registered during his talk I believe). See his announcement here: http://forum.dlang.org/post/km6ccu$1ads$1...@digitalmars.com I hadn't connected Andrew with Tyro[17]. dtutor.org sounds very

Re: The birth of Åkerön

2013-06-18 Thread Tyro[17]
On 6/18/13 8:55 PM, bearophile wrote: Joseph Rushton Wakeling: I confess that when I saw the word Åkerön, in the absence of further details I assumed it was most likely to be some kind of online fantasy RPG ... ;-) Back in my youth... when video games were all I could think about, that would

Re: The birth of Åkerön

2013-06-18 Thread Tyro[17]
On 6/18/13 6:09 PM, Joseph Rushton Wakeling wrote: Hi all, I understand that Andrew Edwards declined to have his talk recorded, and the slides have not been uploaded either. So, what was it actually about? The abstract is ... not exactly informative. :-P Thanks & best wishes, -- Joe

Re: Effective D book?

2013-06-16 Thread Tyro[17]
On 6/16/13 6:07 AM, Timon Gehr wrote: On 06/16/2013 11:50 AM, Tyro[17] wrote: On 6/16/13 5:34 AM, Timon Gehr wrote: Should be fixed for those not willing to use the mechanism currently available to resolve the issue, but I wouldn't loose any sleep if it weren't. There is no me

Re: Effective D book?

2013-06-16 Thread Tyro[17]
On 6/16/13 5:34 AM, Timon Gehr wrote: void main(){ void writeln(string) {} writeln("foo"); { import std.stdio; writeln("bar"); } } void main(){ void writeln(string) {} writeln("foo"); { import io = std.stdio; writeln("bar");

Re: Regexp and Regex - fixing old source code

2013-06-01 Thread Tyro[17]
On 6/1/13 6:31 PM, Daren Scot Wilson wrote: I have some D2 source code resembling if (auto m = std.regexp.search(text, "x") ) { ... } This gives "function std.regexp.search is deprecated". Not being expert at regexes in any compile-to-metal language including D, I hoped I could j

Re: OT: weary vs wary

2013-05-31 Thread Tyro[17]
On 5/31/13 4:42 PM, Walter Bright wrote: On 5/31/2013 10:47 AM, David Gileadi wrote: On 5/31/13 10:26 AM, Andrei Alexandrescu wrote: ... I'm a bit weary of ... I keep seeing people use this phrase; shouldn't it be "wary"? Not meaning to pick on you, Andrei; it's just that this time was the t

Re: A sick joke!

2013-05-10 Thread Tyro[17]
On 5/10/13 6:32 PM, Tyro[17] wrote: The bigger issue is that the computer was manufactured for use in Japan so the keys are arranged differently that traditional english keyboards. I can find many layouts of the Colemak keyboard on the Internet but none for a Japanese keyboard. Can anyone

A sick joke!

2013-05-10 Thread Tyro[17]
I love the occasional self-inflicted wound just like the other guy. So today I decided to enjoy one... Only to descover that it's not as much fun as I thought it would be. And now, I'm in a world of hurt. I enabled the Colemak layout and decided to learn how to type on it. Except the lack of

Re: Åkerön: Demographics poll

2013-05-10 Thread Tyro[17]
On 5/10/13 10:17 AM, Steven Schveighoffer wrote: On Thu, 09 May 2013 19:30:25 -0400, Tyro[17] wrote: http://www.akeron.co Is that right? Or is it akeron.com? Both seem to be boilerplate web sites of just-registered domains. -Steve That's right. akeron.com is taken. Although...

Re: Åkerön: Demographics poll

2013-05-10 Thread Tyro[17]
On 5/10/13 4:04 AM, Dejan Lekic wrote: On Thursday, 9 May 2013 at 23:30:26 UTC, Tyro[17] wrote: In preparation for DConf 2014, I would like to ascertain where the community sits today in size, dispersion and interests. Please do not discuss this topic here in the newsgroup. Submit responses to

Åkerön: Demographics poll

2013-05-09 Thread Tyro[17]
In preparation for DConf 2014, I would like to ascertain where the community sits today in size, dispersion and interests. Please do not discuss this topic here in the newsgroup. Submit responses to the email address below instead. Years Programming: What programming language(s) do you use an

Re: dtutor.org: a call to action

2013-05-08 Thread Tyro[17]
On Sunday, 5 May 2013 at 22:08:59 UTC, Nathan M. Swan wrote: On Sunday, 5 May 2013 at 22:06:17 UTC, Nathan M. Swan wrote: On Sunday, 5 May 2013 at 19:37:02 UTC, Tyro[17] wrote: Like everyone, my time is limited, but I can help a bit. Sign me up! Andrew NMS I forgot, do you have a

Re: dtutor.org: a call to action

2013-05-07 Thread Tyro[17]
On 5/6/13 5:19 AM, Dicebot wrote: On Sunday, 5 May 2013 at 19:37:02 UTC, Tyro[17] wrote: ... Ping me if any additional application-level functionality needs to be added to vibe.d to do it in a cool way. Or if any help with vibe.d is needed and Sonke is busy ;) Much appreciated. I presume I

Re: dtutor.org: a call to action

2013-05-07 Thread Tyro[17]
On 5/6/13 11:03 AM, Steven Schveighoffer wrote: On Sun, 05 May 2013 20:55:29 -0400, Tyro[17] wrote: Which reminds me... how does one create a utf-8 encoded file at the shell prompt? All ascii files are utf-8 files. Or were you looking to do something unicode-y? -Steve Unicode. See

Re: dtutor.org: a call to action

2013-05-07 Thread Tyro[17]
On 5/6/13 12:29 AM, H. S. Teoh wrote: On Sun, May 05, 2013 at 08:55:29PM -0400, Tyro[17] wrote: [...] Which reminds me... how does one create a utf-8 encoded file at the shell prompt? [...] Depends. That it does. I will need to be more specific when asking questions as Jonathan suggested

Re: dtutor.org: a call to action

2013-05-07 Thread Tyro[17]
On 5/5/13 9:55 PM, Jonathan M Davis wrote: On Sunday, May 05, 2013 20:55:29 Tyro[17] wrote: Which reminds me... how does one create a utf-8 encoded file at the shell prompt? You'll need to be more specific about what you're trying to do. Are you talking about from D or about runnin

Re: dtutor.org: a call to action

2013-05-05 Thread Tyro[17]
On 5/5/13 8:00 PM, Jonathan M Davis wrote: On Sunday, May 05, 2013 19:42:30 Tyro[17] wrote: Logo: My idea for the logo is simply this (see attachment): D!(tutor).org If your target audience is people who know little about D, this would just look odd. Until they reach enlightenment

Re: dtutor.org: a call to action

2013-05-05 Thread Tyro[17]
On 5/5/13 8:00 PM, Jonathan M Davis wrote: On Sunday, May 05, 2013 19:42:30 Tyro[17] wrote: Logo: My idea for the logo is simply this (see attachment): D!(tutor).org If your target audience is people who know little about D, this would just look odd. Until they reach enlightenment

Re: dtutor.org: a call to action

2013-05-05 Thread Tyro[17]
On 5/5/13 6:38 PM, Ivan Kazmenko wrote: I. Features to be supported Problems - Staged ICPC problems for users to attempt. Solutions may be submitted online for comparison against previously submitted solutions to determine efficiency ranking and users may choose to create and account to keep

Re: dtutor.org: a call to action

2013-05-05 Thread Tyro[17]
On 5/5/13 4:27 PM, Andrei Alexandrescu wrote: Looks great. A few thoughts interspersed: I. Features to be supported Love the list, particularly the interactive aspect. Runestone (https://github.com/bnmnetp/runestone); Would be great to showcase a site using runestone (I browsed the README

Re: dtutor.org: a call to action

2013-05-05 Thread Tyro[17]
On 5/5/13 6:06 PM, Nathan M. Swan wrote: On Sunday, 5 May 2013 at 19:37:02 UTC, Tyro[17] wrote: The main contributors of D are doing a wonderful job of enhancing the language. I can confidently say that we are leagues ahead of where we stood a just two years ago. But there has been a long cry

dtutor.org: a call to action

2013-05-05 Thread Tyro[17]
The main contributors of D are doing a wonderful job of enhancing the language. I can confidently say that we are leagues ahead of where we stood a just two years ago. But there has been a long cry for documentation that has gone unanswered: not because they refuse to cooperate but rather, beca

Re: Porting D to Wheatonix

2013-05-04 Thread Tyro[17]
On 5/4/13 7:19 PM, "Luís Marques" " wrote: On Saturday, 4 May 2013 at 11:26:45 UTC, Tyro[17] wrote: Not terribly educated in the Art of Programming OS but I'd be willing to take it to D Summer of Code. Provided there is someone "eager" to mentor me of course. W

Re: DConf 2013 - what a show!

2013-05-04 Thread Tyro[17]
On 5/4/13 11:40 AM, Ali Çehreli wrote: On 05/04/2013 01:11 AM, Walter Bright wrote: > !!AWESOME!! Somehow it felt even better than that. :) Ali Several flights and delays later and I'm just getting home. The high from the conference kept me up each leg of the trip back to NC. Feels like

Re: Porting D to Wheatonix

2013-05-04 Thread Tyro[17]
On 5/4/13 5:08 AM, Walter Bright wrote: http://www.thinkgeek.com/stuff/looflirpa/wil.shtml Yes, the Wheatonix operating system Andrew told us about is real! Who wants to port D to it? Not terribly educated in the Art of Programming OS but I'd be willing to take it to D Summer of Code. Provide

Re: DConf 2013 official car/room sharing thread

2013-04-29 Thread Tyro[17]
On 4/29/13 8:37 PM, Zach the Mystic wrote: On Monday, 29 April 2013 at 22:42:09 UTC, Tyro[17] wrote: Hi all, I'll be arriving tomorrow night. Will be in commuting from Redwood City if anyone needs a ride. Andrew Hi! I'm also staying in Redwood City. Mike Parker is too, and I'

Re: DConf 2013 official car/room sharing thread

2013-04-29 Thread Tyro[17]
On 3/24/13 5:32 PM, Andrei Alexandrescu wrote: Hello to all prospective DConf 2013 attendees! A few of you are interested in sharing options for rental cars, or to share hotel rooms and split the cost in half. Let this thread be the official tracker for such requests and offers. I'll also post

Re: Get together with your local D-onuts on meetup!

2013-02-27 Thread Tyro[17]
On 2/27/13 6:06 AM, Samuel Lampa wrote: Found out this now, that there is actually a D category on meetup.com, set up by Walter in 2004[1][2]. I think the site is more active now than ever, so, go and sign up on the site and try to see if there is basis for a local group in your town! No, but s

[OT] Floopsy on documentation

2013-01-27 Thread Tyro[17]
Pretty interesting little piece about proper documentation. http://www.floopsy.com/post/32453280184/w-t-f-m-write-the-freaking-manual

Its me

2013-01-26 Thread Tyro[17]
http://commons.wikimedia.org/wiki/File:US_Navy_070313-N-0120A-146_Staff_Sgt._Andrew_C._Edwards_polishes_the_American_flag_on_a_Marine_Corps_memorial_for_the_veterans_of_the_battle_for_Iwo_Jima_on_the_top_of_Mount_Suribachi.jpg

Request some guidance regarding I/O

2012-11-04 Thread Tyro[17]
Thanks to Jacob Carlborg's suggestion (news://new.digitalmars.com:119/k6d9se$i46$1...@digitalmars.com), I decided to create my own little installer for MAC OSX. Albeit a very naive implementation, it does what I ask it to do... (D2 only). Along the way, I picked up a little understanding about

Re: DConf 2013 on kickstarter.com: we're live!

2012-10-22 Thread Tyro[17]
On 10/22/12 2:49 PM, Andrei Alexandrescu wrote: On 10/22/12 2:32 PM, mist wrote: There is a serious reason of getting through some registration issues and pledging via kickstarter - project either gets all money if it is funded or no at all if it is not (and all pledges are returned automaticall

Re: handful and interval

2012-09-02 Thread Tyro[17]
On 9/2/12 11:45 PM, Andrei Alexandrescu wrote: On 9/2/12 4:22 PM, Andrei Alexandrescu wrote: [snip] The alternative would be to simply define these as functions: if (a.among("struct", "class", "union")) { ... } if (b.between(1, 100)) { ... } Andrei if (a in ["struct", "class", "union"]) { .

Re: XOMB operating system

2012-05-14 Thread Tyro[17]
On Tuesday, 15 May 2012 at 02:06:24 UTC, tim krimm wrote: Ping: Are there any XOMB developers out there reading this? Jarrett Billingsley, Brian Madden, and Kelly Wilson all contributed to the XOMB project. I haven't seen anything from them for years now. Don't know if they just lurk in the sh

Re: Request for Review: DI Generation Improvements

2012-05-14 Thread Tyro[17]
On Tuesday, 15 May 2012 at 00:25:15 UTC, Alex Rønne Petersen wrote: On 15-05-2012 02:20, Tyro[17] wrote: On Tuesday, 15 May 2012 at 00:02:23 UTC, Alex Rønne Petersen [snip] I would suggest excluding core.[atomic,cpuid,demangle] from DI generation, too, and just copy them. I don't se

Re: Request for Review: DI Generation Improvements

2012-05-14 Thread Tyro[17]
On Tuesday, 15 May 2012 at 00:02:23 UTC, Alex Rønne Petersen wrote: On 15-05-2012 01:50, Adam Wilson wrote: I am formally requesting review of the two pull requests that make up my DI Generation Improvements patch. The first pull is against the DRuntime and modifies the makefiles such some fi

^^ limitation

2012-04-24 Thread Tyro[17]
I believe the following two lines of code should produce the same output. Is there a specific reason why doesn't allow this? Of course the only way to store the result would be to put in into a BigInt variable or convert it to string but I don't that shouldn't prevent the compiler from producin

digitalmars-d@puremagic.com

2012-03-27 Thread Tyro[17]
On Tuesday, 27 March 2012 at 15:14:07 UTC, Andrei Alexandrescu wrote: On 3/27/12 6:54 AM, Tyro[17] wrote: On Tuesday, 27 March 2012 at 00:05:51 UTC, Andrei Alexandrescu wrote: On 3/26/12 2:52 PM, Tyro[17] wrote: Couldn't the state of stdin be checked upon entrance into readf and reopen

digitalmars-d@puremagic.com

2012-03-27 Thread Tyro[17]
On Monday, 26 March 2012 at 21:20:00 UTC, Ali Çehreli wrote: On 03/26/2012 02:12 PM, Tyro[17] wrote: > I don't want to provide an explicit terminator, but instead > rely on Ctrl-D/Ctrl-Z to do the job while being able to > continue processing read request. As explained by Andrei,

digitalmars-d@puremagic.com

2012-03-27 Thread Tyro[17]
On Tuesday, 27 March 2012 at 00:05:51 UTC, Andrei Alexandrescu wrote: On 3/26/12 2:52 PM, Tyro[17] wrote: Couldn't the state of stdin be checked upon entrance into readf and reopened if it is already closed? That won't work. But this does: import std.stdio, std.array; exter

digitalmars-d@puremagic.com

2012-03-26 Thread Tyro[17]
On Monday, 26 March 2012 at 17:34:37 UTC, Ali Çehreli wrote: On 03/26/2012 04:55 AM, Tyro[17] wrote: >> > readf(" %s", &s2); // No matter how many read attempts That's the actual problem, and ironically is already known to you. :) Use a \n at the end of that forma

digitalmars-d@puremagic.com

2012-03-26 Thread Tyro[17]
On Monday, 26 March 2012 at 14:41:41 UTC, Andrei Alexandrescu wrote: On 3/26/12 5:55 AM, Tyro[17] wrote: You can achieve the same with: readf(" %s\n", &s2); My goal however, is not to read one line of information. Rather, it is to read multiple lines of information from standar

digitalmars-d@puremagic.com

2012-03-26 Thread Tyro[17]
First of all thank your very much for your assistance. On Sunday, 25 March 2012 at 15:04:30 UTC, Ali Çehreli wrote: On 03/25/2012 06:00 AM, Tyro[17] wrote: > I am trying to figure out the cause of my problem in the following post: > > http://forum.dlang.org/thread/qfbugjkr

digitalmars-d@puremagic.com

2012-03-26 Thread Tyro[17]
First of all thank your very much for your assistance. On Sunday, 25 March 2012 at 15:04:30 UTC, Ali Çehreli wrote: On 03/25/2012 06:00 AM, Tyro[17] wrote: > I am trying to figure out the cause of my problem in the following post: > > http://forum.dlang.org/thread/qfbugjkr

digitalmars-d@puremagic.com

2012-03-25 Thread Tyro[17]
I am trying to figure out the cause of my problem in the following post: http://forum.dlang.org/thread/qfbugjkrerfboqhvj...@forum.dlang.org and encountered something peculiar about reading strings. Whenever a distinct terminator is indicated in the input format (ex. " %s@", @ being the

Re: D users on Google+

2011-07-14 Thread Tyro[a.c.edwards]
On 7/14/2011 10:58 AM, Mike Parker wrote: On 7/14/2011 9:10 AM, Tyro[a.c.edwards] wrote: On 7/13/2011 5:52 PM, simendsjo wrote: Are there any D users on Google+ I can stalk? The only one I found was Andrei Alexandrescu, but as he works at Facebook, I doubt he'll be posting much. An i

Re: D users on Google+

2011-07-13 Thread Tyro[a.c.edwards]
On 7/13/2011 5:52 PM, simendsjo wrote: Are there any D users on Google+ I can stalk? The only one I found was Andrei Alexandrescu, but as he works at Facebook, I doubt he'll be posting much. An invite would be appreciated... edwards [dot] ac [at] gmail [dot] com

Re: Inconsistencies between global imports and function local imports

2011-07-13 Thread Tyro[a.c.edwards]
On 7/13/2011 12:07 PM, Jonathan M Davis wrote: On Wednesday 13 July 2011 11:56:10 Tyro[a.c.edwards] wrote: Methinks function local imports (introduced in 2.054) is a great idea, however if it is to be allowed, I believe it should provide all the functionality of global imports: which it

Inconsistencies between global imports and function local imports

2011-07-12 Thread Tyro[a.c.edwards]
Methinks function local imports (introduced in 2.054) is a great idea, however if it is to be allowed, I believe it should provide all the functionality of global imports: which it currently does not. import std.stdio; import std.string; import std.conv; // Note: all of these import formats wo

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 7/1/2011 7:39 AM, Chris Molozian wrote: It's a great logo Mafi, is it possible to try it without the italics and see what that looks like? IMHO it's between: https://github.com/eegg/d-brand/raw/master/d-logo-7.png AND https://github.com/eegg/d-brand/raw/master/dlogo-mafi.png Though I like

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 7/1/2011 5:37 AM, James Fisher wrote: On Thu, Jun 30, 2011 at 9:27 PM, Tyro[a.c.edwards] mailto:nos...@home.com>> wrote: On 7/1/2011 12:38 AM, James Fisher wrote: https://github.com/eegg/d-__brand/raw/master/d-logo-1.png <https://github.com/eegg/d-brand/raw/mast

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 7/1/2011 5:58 AM, Mafi wrote: Am 30.06.2011 22:39, schrieb James Fisher: On Thu, Jun 30, 2011 at 9:29 PM, Andrej Mitrovic mailto:andrej.mitrov...@gmail.com>> wrote: On 6/30/11, James Fisher mailto:jameshfis...@gmail.com>> wrote: > Here's Mafi's suggestion in PNG: > https://github.com/eegg/d-

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 7/1/2011 4:02 AM, Steven Schveighoffer wrote: On Thu, 30 Jun 2011 14:12:58 -0400, James Fisher wrote: Sure thing: https://github.com/eegg/d-brand/raw/master/d-logo-5.png I have to say, I like this one the best. Even better than the original. And a more radical departure: https://github.

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 7/1/2011 4:35 AM, Mafi wrote: This is my try. What do you guys think about it? Now there's an Idea. Simple yet elegant... no boobs and retains the historical reference to Mars and her two moons. I like it. I'll even take the italics. ++ Vote Oh wait, I only have one vote.

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 7/1/2011 12:38 AM, James Fisher wrote: https://github.com/eegg/d-brand/raw/master/d-logo-1.png That explains it! The Devil's religion. Nope... Definitely not interested. More playing around. Criticisms: - it's a bit busy - as a rule, gradients don't add any worth - mixes planet/devil met

Re: D brand identity repository

2011-06-30 Thread Tyro[a.c.edwards]
On 6/30/2011 9:54 PM, James Fisher wrote: On Thu, Jun 30, 2011 at 11:55 AM, Walter Bright mailto:newshou...@digitalmars.com>> wrote: We've pretty much settled on the logo used on d-programming-language.org . It would be nice to get it rendered in va

htmlget.d example and unicode parsing

2011-04-30 Thread Tyro[a.c.edwards]
Hello all, I am trying to learn how to parse, modify, and redisplay a Japanese webpage passed to me in a form and am wondering if anyone has an example of how to do this. I looked at htmlget and found that it has a couple problems: namely, it is not conform to current D2 practices. I am not

Re: Hidden links for Language Reference on d-programming-language.org

2011-02-20 Thread Tyro[a.c.edwards]
On 2/21/2011 7:47 AM, Tyro[a.c.edwards] wrote: The links for Documentation: Language Reference gets hidden when you click on any of the following four items: o Lexical o Templates o Inline Assembler o Documentation Comments - Andrew By the way you cannot get to the list by clicking on

Hidden links for Language Reference on d-programming-language.org

2011-02-20 Thread Tyro[a.c.edwards]
The links for Documentation: Language Reference gets hidden when you click on any of the following four items: o Lexical o Templates o Inline Assembler o Documentation Comments - Andrew

Re: Principled method of lookup-or-insert in associative arrays?

2010-11-20 Thread Tyro[a.c.edwards]
On 11/21/2010 10:39 AM, Tomek Sowiński wrote: Dnia 21-11-2010 o 02:02:35 Tyro[a.c.edwards] napisał(a): The harm is confusion. Now = on arrays always means aliasing, but with your proposal, it may *sometimes* mean dupping. Imagine real-life code with type aliasing and type inference in play

Re: Principled method of lookup-or-insert in associative arrays?

2010-11-20 Thread Tyro[a.c.edwards]
On 11/21/2010 9:23 AM, Tomek Sowiński wrote: Tyro[a.c.edwards] napisał(a): What would be the harm if upon seeing your code the compiler did this: char[] chars = "abc".dup; char[] backdoor = chars; string s = chars.idup; assert (s == "abc"); backdoor.front = 'k&#

Re: Principled method of lookup-or-insert in associative arrays?

2010-11-20 Thread Tyro[a.c.edwards]
On 11/20/2010 9:39 PM, Michel Fortin wrote: On 2010-11-20 03:07:57 -0500, Andrei Alexandrescu said: TDPL has an example that can be reduced as follows: void main() { uint[string] map; foreach (line; stdin.byLine()) { ++map[line]; } } byLine reuses its buffer so it exposes it as char[]. There

Re: Principled method of lookup-or-insert in associative arrays?

2010-11-20 Thread Tyro[a.c.edwards]
On 11/20/2010 11:22 PM, Tomek Sowiński wrote: Dnia 20-11-2010 o 13:33:29 spir napisał(a): I find this proposal really necessary. But aren't there two issues here? * Comparison (for lookup) by value equality should not care about qualifiers (ie compare raw content, here plain array memory areas

Re: Error 42: Symbol Undefined __d_throwc

2010-11-20 Thread Tyro[a.c.edwards]
On 11/21/2010 1:13 AM, Jimmy Cao wrote: I can't reproduce it on Windows 7 with dmd 2.050. On Sat, Nov 20, 2010 at 12:45 AM, Tyro[a.c.edwards] mailto:nos...@home.com>> wrote: The following: import std.regex; void main() { string s = "$,";

Error 42: Symbol Undefined __d_throwc

2010-11-19 Thread Tyro[a.c.edwards]
The following: import std.regex; void main() { string s = "$,"; replace(s, regex("$",","), ""); // Is this possible? If so, what is the propper way to do it? assert(s == "", s); } Compiled with dmd.2.039, 042, 048, and 049 but yields a runtime error: D:\code>bug object.Excep

Re: problems playing audio with mciSendString

2010-11-02 Thread Tyro[a.c.edwards]
Thanks, The�problem�was�that�mciSendString�was�immediately�returning�control to�the�caller�after�being�called.�This�simple�change�fixed�the problem: mciSendString("play�myFile�wait");

problems playing audio with mciSendString

2010-11-02 Thread Tyro[a.c.edwards]
== Repost the article of Tyro[a.c.edwards] (nos...@home.com) == Posted at 2010/11/02 04:26 to digitalmars.D.learn Hello�all, I�would�really�appreciate�some�assistance�on�this.�The�intent�is�to create�a�vocabulary/flashcard�program�with�proper�pronunciations. Pronunciations�are�saved�as

Re: Backquotes look like regular quotes in TDPL?

2010-06-28 Thread Tyro[a.c.edwards]
== Quote from Jacob Carlborg (d...@me.com)'s article > Is it just me or are the backquotes looking like regular quotes in TDPL? > They're introduced on page 36, section 2.2.5.1. It's not you, they do in fact look like regular quotes. That however, is a byproduct of the font chosen. Look closely at

Re: [TDPL] arrays of D future

2010-06-27 Thread Tyro[a.c.edwards]
== Quote from Lutger (lutger.blijdest...@gmail.com)'s article > wrote: > > Andrei, > > > > I must say that the reading is absolutely enjoyable. I do have one > > question regarding the StackImpl example on page 234. Are you forecasting > > future functionality that arrays will support with your us

[TDPL] arrays of D future

2010-06-27 Thread Tyro[a.c.edwards]
Andrei, I must say that the reading is absolutely enjoyable. I do have one question regarding the StackImpl example on page 234. Are you forecasting future functionality that arrays will support with your use of .empty, .back, and .popBack or am I too na�ve to understand that I need to implement

readf anyone?

2010-06-22 Thread Tyro[a.c.edwards]
So I'm digging in and enjoying the read (and let me tell you it's a pretty interesting read), then I flip to page 22 (I read slow) and stumbled onto this code: for (double x; readf(" % ", &x) == 1; ) { [snip] } Wait that don't look right. I don't remember readf() being implemented. So I decide

Re: This just in: authorless TDPL becomes collector's edition

2010-06-22 Thread Tyro[a.c.edwards]
good for you, sucks for me though, I didn't get a collector's edition and I ordered my copy back in over six months ago.

Error: mixin is not defined (dmd v2.032)

2009-09-06 Thread Tyro
the following appears on line 876 of control.d in the DFL package: mixin OpApplyAddIndex!(opApply, Control); Attempting to compile it results in the following error message: control.d(876): Error: mixin is not defined I've compiled my copy of DFL with every release of dmd starting with v2.021

Re: All this talk about finalising D2 makes me worried

2009-07-16 Thread Tyro [a.c.edwards]
Bill Baxter wrote: On Wed, Jul 15, 2009 at 6:21 PM, Steven Schveighoffer wrote: On Wed, 15 Jul 2009 13:22:30 -0400, Stewart Gordon wrote: Well D1.0 was pretty much an arbitrary line in the sand. D2.0release (or whatever they decide to call it) might as well be too. And if memory serves me c

Re: What's the current state of D?

2009-05-08 Thread Tyro[a.c.edwards]
On 5/9/2009 11:24 AM, grauzone wrote: beyond and I'm quite sure that I'm not the only one. For all the Naysayers out there... Keep saying nay and go the hell away. D2 is just where it is supposed to be. Let’s not end up in the same mess we did by trying to make impatient people happy and releasin

Re: What's the current state of D?

2009-05-08 Thread Tyro[a.c.edwards]
On 5/9/2009 3:38 AM, Steve Teale wrote: Walter Bright Wrote: Steve Teale wrote: This is the sort of answer that will kill D. The guy comes back after 2 years, asks a straight question, and get's told "business as usual, we're still arguing among ourselves about what it should be". Maybe Tiobe

Re: Error: xxx is not an lvalue

2009-05-03 Thread Tyro[a.c.edwards]
} Foo b = new foo; b[0] = 1; Why is it necessary to have a separate/different "accessor" function? Tyro[a.c.edwards] wrote: On 5/3/2009 6:25 PM, Unknown W. Brackets wrote: This code works fine (D 2.x only): class Test { private int[int] _testMap; public ref int[

Re: Error: xxx is not an lvalue

2009-05-03 Thread Tyro[a.c.edwards]
On 5/3/2009 6:25 PM, Unknown W. Brackets wrote: This code works fine (D 2.x only): class Test { private int[int] _testMap; public ref int[int] testMap() {return _testMap;} } void main() { Test test = new Test(); test.testMap[0] = 1; } Note the "ref". Otherwise, a value is returned which is not

Re: Error: xxx is not an lvalue

2009-05-02 Thread Tyro[a.c.edwards]
On 5/3/2009 6:36 AM, Denis Koroskin wrote: On Sun, 03 May 2009 01:02:41 +0400, Tyro[a.c.edwards] wrote: On 5/3/2009 3:44 AM, flourish wrote: Hi, why does the following code not compile -- or how to declare a (usable) property of an associative array field? // class Test

Re: Error: xxx is not an lvalue

2009-05-02 Thread Tyro[a.c.edwards]
On 5/3/2009 3:44 AM, flourish wrote: Hi, why does the following code not compile -- or how to declare a (usable) property of an associative array field? // class Test { private int[int] _testMap; public int[int] testMap() {return _testMap;} public void opIndexAss

Re: Error: xxx is not an lvalue

2009-05-02 Thread Tyro[a.c.edwards]
On 5/3/2009 3:44 AM, flourish wrote: Hi, why does the following code not compile -- or how to declare a (usable) property of an associative array field? // class Test { private int[int] _testMap; public int[int] testMap() {return _testMap;} } testMap() is a getter a

std.date Cyclic dependency

2009-03-10 Thread Tyro[a.c.edwards]
Hello everyone, It's been quite a while but I've kept close watch on the development of things here... must say that I am very thankful for all the work everyone has done in making D what it is today. The following code: private import std.date; void main(){} generates the runtime e