Re: You too can work on D for iOS

2015-06-12 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 6:45 p.m., Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. The last two computers I bought were about $340 each. And those are laptops, with screen and

Re: You too can work on D for iOS

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. The last two computers I bought were about $340 each. And those are laptops, with screen and battery and everything.

Re: std.allocator is ready for the review

2015-06-12 Thread Jacob Carlborg via Digitalmars-d
On 2015-06-12 00:18, Andrei Alexandrescu wrote: Code: https://github.com/andralex/phobos/tree/allocator * Your ODBC code seems to be in the same branch * You have commented out some code in std.math and std.traits * What is std.typed_allocator? It doesn't seem to have anything related to

Re: You too can work on D for iOS

2015-06-12 Thread Paulo Pinto via Digitalmars-d
On Friday, 12 June 2015 at 07:57:27 UTC, Adrian Matoga wrote: On Friday, 12 June 2015 at 07:36:51 UTC, Paulo Pinto wrote: The minimum wage in Portugal is around 400€ after taxes, with around 1000€ for many university degrees. You can guess how many go out and buy a Mac. -- Paulo I

Re: You too can work on D for iOS

2015-06-12 Thread Adrian Matoga via Digitalmars-d
On Friday, 12 June 2015 at 07:36:51 UTC, Paulo Pinto wrote: The minimum wage in Portugal is around 400€ after taxes, with around 1000€ for many university degrees. You can guess how many go out and buy a Mac. -- Paulo I remember I saw almost every student at IST with a Mac, and when

Re: Arch Linux D package update

2015-06-12 Thread Dicebot via Digitalmars-d-announce
On Thursday, 11 June 2015 at 20:13:51 UTC, Marco Leise wrote: Am Thu, 04 Jun 2015 14:46:38 + schrieb Dicebot pub...@dicebot.lv: - provides systemd service : `sudo systemctl enable dcd.service` to start automatically upon system startup Is it really a system-wide server? I can see

Re: What is D's minimum requirements on Mac?

2015-06-12 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-06-11 13:34, Kagamin wrote: You can try to register as a developer: https://developer.apple.com/programs/ and get beta versions of OSX and install them on virtual box. Not sure how much it costs. OS X is free, you just need a Mac to download it :) -- /Jacob Carlborg

Re: Coedit 1 gold released

2015-06-12 Thread Basile Burg via Digitalmars-d-announce
On Friday, 12 June 2015 at 06:25:04 UTC, Jacob Carlborg wrote: On 2015-06-11 17:22, Basile Burg wrote: never mind if you don't succeed. By the way i think that it'll only work with the Carbon interface, so only a 32 bit application: May I ask why? Carbon is obsolete, for Cocoa there's this

Re: [OT] Modules dropped out of C++17

2015-06-12 Thread Jacob Carlborg via Digitalmars-d
On 2015-06-11 14:33, Steven Schveighoffer wrote: OK, I see the problem. When you type 'a.' then if you put up the list of members and UFCS functions available, then that list may be huge (and possibly filled with useless calls). That definitely is an issue. However, I think DCD should still

Re: dub : multiple dmd instances

2015-06-12 Thread Jacob Carlborg via Digitalmars-d
On 2015-06-11 16:08, weaselcat wrote: On Thursday, 11 June 2015 at 14:07:10 UTC, weaselcat wrote: --parallelRuns multiple compiler instances in parallel, if possible. After rereading your question, that actually isn't exactly what you were asking for.

Re: Mixin statements

2015-06-12 Thread Tofu Ninja via Digitalmars-d
Also a feature that would make this perfect is macro template arguments. Something like void templateFunction(macro a)() { int x = 5; return mixin(a); } Essentially, the expression in the argument would be converted to an expression macro. Calling templateFunction!(x + x)() would

Re: You too can work on D for iOS

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 06:50:01 UTC, Rikki Cattermole wrote: On 12/06/2015 6:45 p.m., Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. The last two computers I

Re: Coedit 1 gold released

2015-06-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-06-11 17:22, Basile Burg wrote: never mind if you don't succeed. By the way i think that it'll only work with the Carbon interface, so only a 32 bit application: May I ask why? Carbon is obsolete, for Cocoa there's this [1] [2]. [1] http://wiki.freepascal.org/Cocoa_Interface [2]

Re: You too can work on D for iOS

2015-06-12 Thread Paulo Pinto via Digitalmars-d
On Friday, 12 June 2015 at 04:51:29 UTC, Steven Schveighoffer wrote: On 6/11/15 11:47 PM, Joakim wrote: On Friday, 12 June 2015 at 02:13:26 UTC, Dan Olson wrote: Looks like there is no membership fee to build and install your own iOS apps with Xcode now. As usual, you still need a Mac to run

Re: You too can work on D for iOS

2015-06-12 Thread John Colvin via Digitalmars-d
On Friday, 12 June 2015 at 08:46:19 UTC, rsw0x wrote: On Friday, 12 June 2015 at 08:43:39 UTC, Ola Fosheim Grøstad wrote: On Friday, 12 June 2015 at 06:50:01 UTC, Rikki Cattermole wrote: [...] Hm, in Norway the 12core version fully upgraded is 11354USD without a screen… Are you sure you

[Issue 14682] [REG2.037] Incorrect interpretation of ~ []

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14682 --- Comment #12 from Kenji Hara k.hara...@gmail.com --- (In reply to Kenji Hara from comment #3) At a concatenation expression, arr ~ elem is preferred than arr ~ arr2 when elem is implicitly convertible to typeof(arr[i]). In the code, the rhs `[]`

Re: What is D's minimum requirements on Mac?

2015-06-12 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-06-10 20:55, Adam D. Ruppe wrote: I'm still tempted to grab a used Mac so I can port my display stuff to Cocoa and test it, but Macs are outrageously expensive and I hate them, so want to spend as little as possible. What does dmd minimally require on a mac? If I got like a 10.5 would

Re: What is D's minimum requirements on Mac?

2015-06-12 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-06-10 20:55, Adam D. Ruppe wrote: i'm considering something like http://www.amazon.com/Apple-MB138LL-Intel-Drive-Combo/dp/B0006HU49Y/ref=sr_1_5?ie=UTF8qid=1433962021sr=8-5keywords=used+mac+mini You can look up the requirements for OS X and see which is the latest version you can run

Re: dub : multiple dmd instances

2015-06-12 Thread weaselcat via Digitalmars-d
On Friday, 12 June 2015 at 07:20:35 UTC, Jacob Carlborg wrote: On 2015-06-11 16:08, weaselcat wrote: On Thursday, 11 June 2015 at 14:07:10 UTC, weaselcat wrote: --parallelRuns multiple compiler instances in parallel, if possible. After rereading your

[Issue 14681] Add a way to specify a file import's contents on the command line

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14681 --- Comment #3 from yebblies yebbl...@gmail.com --- (In reply to Kenji Hara from comment #2) The ':' prefix allows the compiler to tell apart import paths and key/value pairs. I think it's not good. Indeed in most platform `:` cannot be in

Re: You too can work on D for iOS

2015-06-12 Thread Rikki Cattermole via Digitalmars-d
On 12/06/2015 8:43 p.m., Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Friday, 12 June 2015 at 06:50:01 UTC, Rikki Cattermole wrote: On 12/06/2015 6:45 p.m., Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really

Tip: unittest-only artifacts should not be version(unittest) if used across modules

2015-06-12 Thread Andrei Alexandrescu via Digitalmars-d
Just ran into this with Phobos: https://github.com/D-Programming-Language/phobos/pull/3403 Andrei

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Alix Pexton via Digitalmars-d
On 12/06/2015 2:53 AM, Walter Bright wrote: On 6/10/2015 12:56 PM, Russel Winder via Digitalmars-d wrote: Please note, OED (which is the definition of the English language whatever any USA upstarts may try to pretend) is gearing up to define they as both singular and plural, thus at a stroke

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Alix Pexton via Digitalmars-d
On 11/06/2015 2:30 AM, weaselcat wrote: On Thursday, 11 June 2015 at 00:57:34 UTC, Tofu Ninja wrote: On Wednesday, 10 June 2015 at 20:14:10 UTC, Nick Sabalausky wrote: Contrary to technical official definition, in REAL WORLD usage, he is BOTH a masuline AND a gender-neutral pronoun. A few

Re: Daily downloads in decline

2015-06-12 Thread Dicebot via Digitalmars-d
On Thursday, 11 June 2015 at 19:31:52 UTC, Walter Bright wrote: On 6/11/2015 8:03 AM, Dicebot wrote: On the other hand they have one important advantage: all type arguments must comply to one or more trairs and thus bodies of generics are checked before institation. You are only allowed to

Mixin statements

2015-06-12 Thread Tofu Ninja via Digitalmars-d
Can we get a way to mix in statements and expressions? Current mixin templates only allow mixing in declarations. The only way to actually mixin statements is through string mixins which are not parsable by auto complete and such, and are really over kill for a lot of common uses. My first

Re: You too can work on D for iOS

2015-06-12 Thread rsw0x via Digitalmars-d
On Friday, 12 June 2015 at 08:43:39 UTC, Ola Fosheim Grøstad wrote: On Friday, 12 June 2015 at 06:50:01 UTC, Rikki Cattermole wrote: On 12/06/2015 6:45 p.m., Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Chris via Digitalmars-d
On Friday, 12 June 2015 at 02:12:39 UTC, Brian Rogoff wrote: On Wednesday, 10 June 2015 at 19:57:15 UTC, Russel Winder wrote: Please note, OED (which is the definition of the English language whatever any USA upstarts may try to pretend) Glad to hear it. Please tell your countrymen to prefer

Re: Phobos addition formal review: std.experimental.allocator

2015-06-12 Thread Dicebot via Digitalmars-d
Also wanted to apologize for authors of any other Phobos proposals - I did intend to step down from review manager role but this specific package is of huge personal interest to me, thus the exception has been made.

Call for reviewers : std.experimental.allocator

2015-06-12 Thread Dicebot via Digitalmars-d-announce
Formal review process for std.experimental.allocator has started, please check http://forum.dlang.org/post/vfipmwojmvseqxoiw...@forum.dlang.org

Qualified destructors / immutable objects

2015-06-12 Thread via Digitalmars-d-learn
struct S { int x; ~this() { import std.stdio; writeln(mutable ~this()); x = 1; } } void main() { const(S) s1; immutable(S) s2; } Prints: mutable ~this() mutable ~this() This looks very wrong,

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 8:07 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Friday, 12 June 2015 at 11:58:35 UTC, Steven Schveighoffer wrote: Those who are serious and willing to invest will buy one. I bought my macbook in 2011 for about $1800, I've made more than 50x

[Issue 14681] Add a way to specify a file import's contents on the command line

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14681 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 1:00 AM, Mattcoder wrote: On Friday, 12 June 2015 at 04:51:29 UTC, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. I don't want to be that guy but living in Brazil that Mac Mini (Yosemite) costs 6x more

Re: Official PPA for dmd

2015-06-12 Thread via Digitalmars-d
On Friday, 1 August 2014 at 19:34:12 UTC, Andrew Pennebaker wrote: I'm happy to see an official .DEB for installing DMD! Could we please host this in a PPA, to make it easier for Debian/Ubuntu users to install? This would make dmd play nicer with automated provisioning sytems like

A Vision on Improved DMD Template Instantiation Diagonostics

2015-06-12 Thread via Digitalmars-d
After having seen Andrei's Walter's talks on DConf 2015 it's time reveal a dream of mine. It resolves around of feature that I believe is one of the most important improvements that will benefit aggregation of more *new* users to the D Community. Namely a more clever DMD diagnostics when a

Re: You too can work on D for iOS

2015-06-12 Thread weaselcat via Digitalmars-d
On Friday, 12 June 2015 at 12:48:36 UTC, Vladimir Panteleev wrote: On Friday, 12 June 2015 at 12:47:36 UTC, Vladimir Panteleev wrote: [...] I regret getting involved in an OS holywar. Sorry, I'm done with this thread. fedora debian vim emacs

[Issue 13816] [REG2.066.0] The compiler crashes with recursive tuple expansion

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13816 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d17412ae8705034336761a10673d3f7553e69506 fix Issue 13816 - The

Re: You too can work on D for iOS

2015-06-12 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 12 June 2015 at 12:42:37 UTC, Steven Schveighoffer wrote: On 6/12/15 8:29 AM, Vladimir Panteleev wrote: On Friday, 12 June 2015 at 12:21:12 UTC, Steven Schveighoffer wrote: Is your mom a software developer? If you spent $160 more and were able to increase your salary 10x, wouldn't

Re: You too can work on D for iOS

2015-06-12 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 12 June 2015 at 12:47:36 UTC, Vladimir Panteleev wrote: [...] I regret getting involved in an OS holywar. Sorry, I'm done with this thread.

[Issue 14691] ddox ignores methods defined in static if

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14691 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

AMD Windows 7

2015-06-12 Thread Chris via Digitalmars-d-learn
Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.

[Issue 14004] (╯▔︹▔)╯don't use this file https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js, can't access it in china

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14004 --- Comment #5 from Riki lp...@126.com --- script type=text/javascript src=https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js;/script script type=text/javascriptwindow.jQuery || document.write('script

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 11:13:08 UTC, Chris wrote: -ise. If you have a new generation of Englishmen that were taught -ize, they would find -ise strange. It's ridiculous how people get attached to stuff like this. I have to admit I use -ize over -ise because I think it visually looks

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 3:36 AM, Paulo Pinto wrote: On Friday, 12 June 2015 at 04:51:29 UTC, Steven Schveighoffer wrote: On 6/11/15 11:47 PM, Joakim wrote: On Friday, 12 June 2015 at 02:13:26 UTC, Dan Olson wrote: Looks like there is no membership fee to build and install your own iOS apps with Xcode now.

Re: Daily downloads in decline

2015-06-12 Thread Bruno Medeiros via Digitalmars-d
On 11/06/2015 18:48, Dennis Ritchie wrote: On Thursday, 11 June 2015 at 17:41:49 UTC, Andrei Alexandrescu wrote: It is possible that Walter and Andrei against macro because of this: macro_rules! o_O { ( $( $x:expr; [ $( $y:expr ),* ] );* ) = {

[Issue 4939] Some compile-time length tests of array concats

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4939 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 14686] Postblit isn't sometimes called on concatenation

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14686 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 12751] Avoid heap allocations in some cases of array concatenation

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12751 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #2 from

Re: You too can work on D for iOS

2015-06-12 Thread Paulo Pinto via Digitalmars-d
On Friday, 12 June 2015 at 11:58:35 UTC, Steven Schveighoffer wrote: On 6/12/15 3:36 AM, Paulo Pinto wrote: On Friday, 12 June 2015 at 04:51:29 UTC, Steven Schveighoffer wrote: On 6/11/15 11:47 PM, Joakim wrote: On Friday, 12 June 2015 at 02:13:26 UTC, Dan Olson wrote: Looks like there is no

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 8:29 AM, Vladimir Panteleev wrote: On Friday, 12 June 2015 at 12:21:12 UTC, Steven Schveighoffer wrote: Is your mom a software developer? If you spent $160 more and were able to increase your salary 10x, wouldn't that be worth it? 10x? What sort of pipe dream is that? OK, 2x,

Re: AMD Windows 7

2015-06-12 Thread weaselcat via Digitalmars-d-learn
On Friday, 12 June 2015 at 10:54:46 UTC, Chris wrote: Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular. Can you be any more specific? What kind of problems?

std.(experimental.)logger voting manager wanted

2015-06-12 Thread Robert burner Schadek via Digitalmars-d
std.(experimental.)logger has been in phobos for one release. The idea was to mature stuff in experimental for one release and then have a vote on inclusion into phobos as std.logger. I would like to see this vote happen before 2.068. Unfortunately, Dicebot is not longer the review manager.

Re: DIP80: phobos additions

2015-06-12 Thread Manu via Digitalmars-d
On 12 June 2015 at 15:22, Ilya Yaroshenko via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 12 June 2015 at 00:51:04 UTC, Manu wrote: On 10 June 2015 at 02:40, Ilya Yaroshenko via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tuesday, 9 June 2015 at 16:18:06 UTC, Manu

[Issue 14691] New: ddox ignores methods defined in static if

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14691 Issue ID: 14691 Summary: ddox ignores methods defined in static if Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 8:07 AM, Vladimir Panteleev wrote: On Friday, 12 June 2015 at 12:03:59 UTC, Steven Schveighoffer wrote: If the cost of the computer you are using is *that* important to you, you aren't serious about investing what it takes to get the tools you need. That was part of my point. If

Re: You too can work on D for iOS

2015-06-12 Thread weaselcat via Digitalmars-d
On Friday, 12 June 2015 at 12:00:17 UTC, Steven Schveighoffer wrote: On 6/12/15 1:00 AM, Mattcoder wrote: On Friday, 12 June 2015 at 04:51:29 UTC, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. I don't want to be

Re: You too can work on D for iOS

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 11:58:35 UTC, Steven Schveighoffer wrote: Those who are serious and willing to invest will buy one. I bought my macbook in 2011 for about $1800, I've made more than 50x that with it since doing iOS work. You don't find it odd that my 2012 mac mini is faster than

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Jacob Carlborg via Digitalmars-d
On 2015-06-12 01:52, Walter Bright wrote: I'm in the compiler business: https://www.youtube.com/watch?v=DwIyClDuBgo You're in the Empire business as well ;) Or was. -- /Jacob Carlborg

Re: You too can work on D for iOS

2015-06-12 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 12 June 2015 at 12:03:59 UTC, Steven Schveighoffer wrote: If the cost of the computer you are using is *that* important to you, you aren't serious about investing what it takes to get the tools you need. That was part of my point. If you're telling me it's not worth an extra $160

Re: You too can work on D for iOS

2015-06-12 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 12 June 2015 at 12:21:12 UTC, Steven Schveighoffer wrote: Is your mom a software developer? If you spent $160 more and were able to increase your salary 10x, wouldn't that be worth it? 10x? What sort of pipe dream is that? I'm not trying to say everyone should buy a mac or that

Re: You too can work on D for iOS

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 08:46:19 UTC, rsw0x wrote: for example, the $999 hidpi monitor they sell on their site? you can buy the same exact monitor for ~$250 on ebay directly from the korean manufacturer. I own one, it looks identical to the apple one. I'm not surprised! I bet they saw too

Re: AMD Windows 7

2015-06-12 Thread Rikki Cattermole via Digitalmars-d-learn
On 12/06/2015 10:54 p.m., Chris wrote: Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular. Have you checked the issue tracker?

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 2:45 AM, Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. The last two computers I bought were about $340 each. And those are laptops, with screen and

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Chris via Digitalmars-d
On Friday, 12 June 2015 at 11:35:30 UTC, Ola Fosheim Grøstad wrote: On Friday, 12 June 2015 at 11:13:08 UTC, Chris wrote: -ise. If you have a new generation of Englishmen that were taught -ize, they would find -ise strange. It's ridiculous how people get attached to stuff like this. I have

Re: Phobos addition formal review: std.experimental.allocator

2015-06-12 Thread Andrea Fontana via Digitalmars-d
On Friday, 12 June 2015 at 11:06:43 UTC, Dicebot wrote: The legendary allocator package by Andrei Alexandrescu has arrived at your doorsteps and kindly asks to let it into Phobos http://wiki.dlang.org/Review/std.experimental.allocator Docs:

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/11/2015 06:35 PM, deadalnix wrote: On Thursday, 11 June 2015 at 20:44:52 UTC, Ola Fosheim Grøstad wrote: On Thursday, 11 June 2015 at 20:14:24 UTC, Kagamin wrote: https://youtu.be/VjNVPO8ff84 :3 https://youtu.be/bJDY5zTiWUk maybe this too(?) Never heard those before, those are really

... and the sixth wasn't far behind!

2015-06-12 Thread Andrei Alexandrescu via Digitalmars-d
This is really lovely, in the same category as locking one's keys in the car: https://issues.dlang.org/show_bug.cgi?id=14694 Andrei

Re: ... and the sixth wasn't far behind!

2015-06-12 Thread Adam D. Ruppe via Digitalmars-d
The di generation is actually fairly simple code, these are probably all pretty low hanging - I'd encourage anyone who wants some easy entry into dmd hacking to take a look at these.

[Issue 14692] SIGSEGV during SHA.put

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14692 Rory rjmcgu...@gmail.com changed: What|Removed |Added Keywords||wrong-code

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 18:32:22 UTC, Tofu Ninja wrote: On Friday, 12 June 2015 at 15:19:40 UTC, Ola Fosheim Grøstad wrote: My friend came in to the shop today and the entire time they just kept asking for corks... For me that sounds 100% fine... Ah, ok. I found this link interesting:

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 19:16:39 UTC, Nick Sabalausky wrote: Banned in the US: Public Image Limited - This Is Not A Love Song and SABRINA - Boys (Video Original) - HD. Banned? Oh well, Lydon of Sex Pistols is an anarchist and Sabrina shows of her tits with a wardrobe malfunction. I guess

How to pass voldemort types to functions

2015-06-12 Thread kerdemdemir via Digitalmars-d-learn
Hi; I have tuples created by std.algorithm.group function. auto tupleB = stringB.group(); I need to write a a function which takes tubleB and do some cool stuff. If I don't use a function and write all code below .group() everytihng works but for reusing the code I want to call a

Re: You too can work on D for iOS

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/12/2015 08:03 AM, Steven Schveighoffer wrote: On 6/12/15 2:45 AM, Nick Sabalausky wrote: On 06/12/2015 12:51 AM, Steven Schveighoffer wrote: The cost is really minimal if you are serious. A Mac Mini costs $500 new, and you get Xcode free. The last two computers I bought were about

Re: You too can work on D for iOS

2015-06-12 Thread weaselcat via Digitalmars-d
On Friday, 12 June 2015 at 19:36:25 UTC, Nick Sabalausky wrote: It is good though that they've finally relaxed their stance a bit on what's now being called side-loading (or as I've called it since the 1980's, Running my own freaking software on my own freaking machine). Now it appears MS has

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Tobias Müller via Digitalmars-d
Dave whate...@whatever.com wrote: On Thursday, 11 June 2015 at 20:06:45 UTC, Kagamin wrote: On Thursday, 11 June 2015 at 18:17:01 UTC, Dave wrote: Disagree. Traditionally also handled by throwing exceptions. C# throws a Format exception if a parse fails.

Re: You too can work on D for iOS

2015-06-12 Thread Steven Schveighoffer via Digitalmars-d
On 6/12/15 3:44 PM, Nick Sabalausky wrote: On 06/12/2015 07:58 AM, Steven Schveighoffer wrote: Those who are serious and willing ***and able*** to invest will buy one. Fixed. If you want to make minimum wage, You've got to be fucking kidding everyone. Step out of your ivory tower once in

[Issue 14693] @property return type not generated in .di file

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14693 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Blocks||14680 --

[Issue 14693] New: @property return type not generated in .di file

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14693 Issue ID: 14693 Summary: @property return type not generated in .di file Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 14680] Investigate the use of .di files for Phobos

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14680 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Depends on||14693 --

Re: Two ideas for faster builds

2015-06-12 Thread Laeeth Isharc via Digitalmars-d
On Thursday, 11 June 2015 at 23:19:06 UTC, Jonathan M Davis wrote: It's what happens when you use traits like isInputRange, isForwardRange, etc. all over the place. std.algorithm is likely an extreme case Thank you! Laeeth.

Re: Qualified destructors / immutable objects

2015-06-12 Thread via Digitalmars-d-learn
On Friday, 12 June 2015 at 15:36:22 UTC, anonymous wrote: no need for ~this() to modify immutable data: snip I think that's a another bug related to init values.

[Issue 14694] New: Functions nested within functions need their body in the generated .di file

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14694 Issue ID: 14694 Summary: Functions nested within functions need their body in the generated .di file Product: D Version: D2 Hardware: All OS: All

[Issue 14694] Functions nested within functions need their body in the generated .di file

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14694 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Blocks||14680 --

[Issue 14680] Investigate the use of .di files for Phobos

2015-06-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14680 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Depends on||14694 --

Re: ... and the sixth wasn't far behind!

2015-06-12 Thread Andrei Alexandrescu via Digitalmars-d
On 6/12/15 1:53 PM, Adam D. Ruppe wrote: The di generation is actually fairly simple code, these are probably all pretty low hanging - I'd encourage anyone who wants some easy entry into dmd hacking to take a look at these. Word. To make it easier to compare notes:

Re: Phobos addition formal review: std.experimental.allocator

2015-06-12 Thread Baz via Digitalmars-d
On Friday, 12 June 2015 at 19:19:55 UTC, Andrei Alexandrescu wrote: On 6/12/15 11:23 AM, Baz wrote: On Friday, 12 June 2015 at 11:09:01 UTC, Dicebot wrote: Small tip for reviewers: there are quite many modules in proposed package but majority is actual allocator implementation. I'd suggest

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 19:52:56 UTC, Ola Fosheim Grøstad wrote: was not related to english singular they… but it could also come from Sie through the trade German influence in Bergen around 1300… Or more likely Danish… I think they have same polite singular form De. It makes sense that

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Dave via Digitalmars-d
Originally (.Net 1) there was only 'Parse', 'TryParse' came in .Net 2, I guess they had to admit that exceptions are not always practical. I think TryParse (and anything marked prefixed with Try) is meant for quick stuff. It doesn't return any error. Just a boolean indicating that it failed.

Re: How to pass voldemort types to functions

2015-06-12 Thread Ali Çehreli via Digitalmars-d-learn
On 06/12/2015 03:19 PM, kerdemdemir wrote: Hi; I have tuples created by std.algorithm.group function. auto tupleB = stringB.group(); I need to write a a function which takes tubleB and do some cool stuff. If I don't use a function and write all code below .group() everytihng works

Re: Reading array of integers readln performance issues

2015-06-12 Thread kerdemdemir via Digitalmars-d-learn
Thanks a lot for your great advices and exaamples. Yes if I don't return; web-site won't show it as wrong answer. As a learner I am very happy with the responsiveness of the community. Regards

Re: How to pass voldemort types to functions

2015-06-12 Thread kerdemdemir via Digitalmars-d-learn
void foo(R)(R range) if (isInstanceOf!(Tuple, ElementType!R))// -- optional { Ali thanks a lot. I don't believe I didn't simply try your way. It works. I am also happy to learn optional static if . Your examples are really useful for me. Next time I will share whole code. Thanks

Re: You too can work on D for iOS

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/12/2015 04:33 PM, Steven Schveighoffer wrote: Anyway, this is getting far too political. Now, about that bikeshed color... True, fair enough.

Re: Tip: unittest-only artifacts should not be version(unittest) if used across modules

2015-06-12 Thread Jeremy Powers via Digitalmars-d
On Thu, Jun 11, 2015 at 11:09 PM, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: Just ran into this with Phobos: https://github.com/D-Programming-Language/phobos/pull/3403 If unittest-only artifacts are not constrained to just unittest builds, does this not make

Re: Phobos addition formal review: std.experimental.allocator

2015-06-12 Thread Andrei Alexandrescu via Digitalmars-d
On 6/12/15 11:23 AM, Baz wrote: On Friday, 12 June 2015 at 11:09:01 UTC, Dicebot wrote: Small tip for reviewers: there are quite many modules in proposed package but majority is actual allocator implementation. I'd suggest to start investigating sources/documentation starting from

Re: rvalue references

2015-06-12 Thread Stewart Gordon via Digitalmars-d
On 09/06/2015 13:14, Namespace wrote: snip What does this have to do with garbage-collected language? If I have a big struct, e.g. struct Matrix { float[16] values = [...]; } I always want to pass it by ref because a move or a copy would be too slow. That seems to me a matter

Re: rvalue references

2015-06-12 Thread Namespace via Digitalmars-d
On Friday, 12 June 2015 at 19:39:25 UTC, Stewart Gordon wrote: On 09/06/2015 13:14, Namespace wrote: snip What does this have to do with garbage-collected language? If I have a big struct, e.g. struct Matrix { float[16] values = [...]; } I always want to pass it by ref because a

Re: DIP80: phobos additions

2015-06-12 Thread jmh530 via Digitalmars-d
On Friday, 12 June 2015 at 17:56:53 UTC, Tofu Ninja wrote: Matrix math is matrix math, it being for ogl makes no real difference. I think it’s a little more complicated than that. BLAS and LAPACK (or variants on them) are low-level matrix math libraries that many higher-level libraries

Re: Dgame 0.6 - Beta

2015-06-12 Thread Namespace via Digitalmars-d-announce
It looks like a really clean interface. Thank you. However I was unable to get either of the WIP games to compile through dub. The API has changed enough to make it difficult to get 5.3 or higher up and running. It's just nice to have a nice example. Btw, Great work! Yes, but as soon as

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread deadalnix via Digitalmars-d
On Friday, 12 June 2015 at 19:16:39 UTC, Nick Sabalausky wrote: Here is a nice documentary about the 80s : https://www.youtube.com/watch?v=bS5P_LAqiVg Wow, just watched the first minute, that's freaking sweet! Definitely gonna watch the rest of that later. The historical accuracy is indeed

  1   2   >