Re: [OT] Create more debt == earn more

2016-08-02 Thread ketmar via Digitalmars-d
On Tuesday, 2 August 2016 at 20:25:15 UTC, dewitt wrote: "You have no reason to remember, but we came out of the White House not only dead broke, but in debt," -Hillary Clinton politican says. how dare i to think that politican can lie?!

Re: [OT] Create more debt == earn more

2016-08-02 Thread ketmar via Digitalmars-d
On Tuesday, 2 August 2016 at 21:01:13 UTC, jmh530 wrote: On Tuesday, 2 August 2016 at 20:26:07 UTC, Rufus Smith wrote: [snip] It is a beast of an organism and is a parasite on humanity. Luckily if it kills us off completely it will die too ;) Sigh... yep. he made a right conclusion, but i

Re: D safety! New Feature?

2016-08-02 Thread ag0aep6g via Digitalmars-d
On 08/02/2016 11:48 PM, Mark Twain wrote: global ImmutableArray!int Data; MutableArray!int DataCopy = Data.Copy; // Creates a mutable copy of Data. ... Do work with DataCopy ... Data.Replace(DataCopy); // Makes a copy of DataCopy. What benefit do ImmutableArray and MutableArray have over buil

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Kai Nacke via Digitalmars-d
On Tuesday, 2 August 2016 at 13:02:23 UTC, burjui wrote: Nice to see fellow metalheads here. I am surprised, too. :-) If anyone is tired of compiler coding then the alternative this week is the Wacken festival starting tomorrow: http://concert.arte.tv/de/wacken#xtor=SEC-107

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Kai Nacke via Digitalmars-d
On Tuesday, 2 August 2016 at 11:47:16 UTC, Chris wrote: On Tuesday, 2 August 2016 at 05:03:43 UTC, Kai Nacke wrote: On Saturday, 30 July 2016 at 03:41:10 UTC, Jack Stouffer wrote: On Friday, 29 July 2016 at 22:44:04 UTC, Walter Bright wrote: ... I open pandora and type in "death metal", and

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Kai Nacke via Digitalmars-d
On Tuesday, 2 August 2016 at 07:32:52 UTC, ketmar wrote: On Tuesday, 2 August 2016 at 05:03:43 UTC, Kai Nacke wrote: prefer melodic death metal did you tried "Dark Tranquillity"? one of the best melodic death bands i've ever heard. -- each their album is so different from any other their alb

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Kai Nacke via Digitalmars-d
On Tuesday, 2 August 2016 at 08:09:30 UTC, Meta wrote: On Tuesday, 2 August 2016 at 05:03:43 UTC, Kai Nacke wrote: On Saturday, 30 July 2016 at 03:41:10 UTC, Jack Stouffer wrote: On Friday, 29 July 2016 at 22:44:04 UTC, Walter Bright wrote: ... I open pandora and type in "death metal", and w

Re: D safety! New Feature?

2016-08-02 Thread Mark J Twain via Digitalmars-d
On Tuesday, 2 August 2016 at 21:48:58 UTC, Mark Twain wrote: [...] Another useful feature I forgot to mention is that we can cast between Immutable and Muttable types. class ImmutableTest { private MutableArray!int data; public ImmutableArray!int Data; this() { // Cr

Self Optimizing Code

2016-08-02 Thread Mark J Twain via Digitalmars-d
Another new D feature here! Self-Optimizing Code is a fantastic research area that can lead to greater improvements in code, make them more responsive to individual applications, and requires very little effort. To demonstrate: In many programs, memory behavior is fixed to a large degree, i

Re: How do I use the ScopedAllocator?

2016-08-02 Thread Yuxuan Shui via Digitalmars-d
On Thursday, 28 July 2016 at 11:48:40 UTC, Nick Treleaven wrote: On Monday, 25 July 2016 at 07:33:25 UTC, Yuxuan Shui wrote: Valgrind reports double free anyways. I think it's just the inaccuracy of the glibc double free detection. Please file a bug - thanks! https://issues.dlang.org/ I found

D safety! New Feature?

2016-08-02 Thread Mark Twain via Digitalmars-d
One of the biggest problems with memory is that it's inherently unsafe. We know the solution to that is immutability. Immutable memory is inherently safe. The problem is that Immutable memory is useless because it cannot be changed. To make it useful and safe we have to cheat by creating mutabl

Re: [OT] Create more debt == earn more

2016-08-02 Thread jmh530 via Digitalmars-d
On Tuesday, 2 August 2016 at 20:26:07 UTC, Rufus Smith wrote: [snip] It is a beast of an organism and is a parasite on humanity. Luckily if it kills us off completely it will die too ;) Sigh...

Re: For the Love of God, Please Write Better Docs!

2016-08-02 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 2 August 2016 at 20:26:06 UTC, Jack Stouffer wrote: libasync has no online docs, which makes the thing DOA for me. libasync is actually the one third party package I slapped on dpldocs.info: http://dpldocs.info/experimental-docs/libasync.html It is pretty minimal though, there a

Re: [OT] Create more debt == earn more

2016-08-02 Thread Rufus Smith via Digitalmars-d
On Tuesday, 2 August 2016 at 08:07:38 UTC, Basile B. wrote: I was thinking about the value of what we do in the life, daily, the jobs, etc I've endend with this conclusion: The more you're able to create debt, the more you'll earn. example, CIO: hudge pay, because your 1000 salaries will creat

For the Love of God, Please Write Better Docs!

2016-08-02 Thread Jack Stouffer via Digitalmars-d
Warning, rant ahead. I was trying to replicate asyncio Python functionality in D for a script that needs some updating at work. I got inspired after attending many talks and demos on the subject of async network requests and disk IO at the PyOhio conference this past weekend. I wanted to see

Re: [OT] Create more debt == earn more

2016-08-02 Thread dewitt via Digitalmars-d
On Tuesday, 2 August 2016 at 20:09:51 UTC, ketmar wrote: On Tuesday, 2 August 2016 at 20:04:19 UTC, CRAIG DILLABAUGH wrote: If this is true then politicians should be very well paid. have you ever seen poor politican? "You have no reason to remember, but we came out of the White House not o

Re: [OT] Create more debt == earn more

2016-08-02 Thread ketmar via Digitalmars-d
On Tuesday, 2 August 2016 at 20:04:19 UTC, CRAIG DILLABAUGH wrote: If this is true then politicians should be very well paid. have you ever seen poor politican?

Re: [OT] Create more debt == earn more

2016-08-02 Thread CRAIG DILLABAUGH via Digitalmars-d
On Tuesday, 2 August 2016 at 08:07:38 UTC, Basile B. wrote: I was thinking about the value of what we do in the life, daily, the jobs, etc I've endend with this conclusion: The more you're able to create debt, the more you'll earn. example, CIO: hudge pay, because your 1000 salaries will creat

Re: [OT] Create more debt == earn more

2016-08-02 Thread jmh530 via Digitalmars-d
On Tuesday, 2 August 2016 at 18:43:59 UTC, deadalnix wrote: Money == debt, so nothing surprising or new here. In this day and age, money does not carry with it an obligation that the government needs to pay you anything. When I look on my money (US dollars) it says "This note is legal tend

Re: [OT] Create more debt == earn more

2016-08-02 Thread deadalnix via Digitalmars-d
On Tuesday, 2 August 2016 at 08:07:38 UTC, Basile B. wrote: What do you think about that ? Money == debt, so nothing surprising or new here.

Re: Import from github

2016-08-02 Thread Jacob Carlborg via Digitalmars-d
On 2016-08-01 11:51, Nordlöw wrote: Yes, latest version of DUB just added support for this via a special comment syntax that describes dependencies on DUB-packages. For details on this syntax see: http://forum.dlang.org/thread/nk93ge$1jhe$1...@digitalmars.com?page=1 Unless the question is if

Re: [DIP] In-place struct initialization

2016-08-02 Thread Jacob Carlborg via Digitalmars-d
On 2016-07-30 23:42, cym13 wrote: In accordance to the new DIP process you can find the full presentation of the change here: https://github.com/dlang/DIPs/pull/22 I like it. I've already reported an enhancement request [1]. [1] https://issues.dlang.org/show_bug.cgi?id=15692 -- /Jacob Carlbor

Re: [DIP] In-place struct initialization

2016-08-02 Thread Jacob Carlborg via Digitalmars-d
On 2016-07-31 06:55, deadalnix wrote: That doesn't help. In fact, it makes things worse as now constructor calls and function call do not have the same syntax. You've just created an holly mess in the parser. If something we should strive to get constructor call more like regular function call

Re: Ideas for a "prototype" project? Germany provides funding

2016-08-02 Thread Seb via Digitalmars-d
On Tuesday, 2 August 2016 at 13:54:19 UTC, qznc wrote: You might have heard about the funding project from Germany. https://prototypefund.de/ # often overloaded https://okfn.de/en/projekte/prototypefund/ # basic information https://news.ycombinator.com/item?id=12200777 # Hacker News discussio

Getting into LDC development

2016-08-02 Thread Johan Engelen via Digitalmars-d
Hi all, Temtaime found a nice sub-optimal codegen case with LDC. It is a great issue to work on if you want to get into LDC development, because it is nicely self-contained and will result in faster executables (over 9000). https://github.com/ldc-developers/ldc/issues/1632 I added suggesti

Ideas for a "prototype" project? Germany provides funding

2016-08-02 Thread qznc via Digitalmars-d
You might have heard about the funding project from Germany. https://prototypefund.de/ # often overloaded https://okfn.de/en/projekte/prototypefund/ # basic information https://news.ycombinator.com/item?id=12200777 # Hacker News discussion The basic idea: 30k€ over six months to develop an o

Re: [OT] Music to Program Compilers To

2016-08-02 Thread burjui via Digitalmars-d
Nice to see fellow metalheads here. Here are some of my favourite bands: Aghora Animals as Leaders Between The Buried And Me Children of Bodom Cynic Dan Swano Gorod Iron Maiden In Flames Killswitch Engage Kovenant Lamb Of God Lye By Mistake Nar Mattaru (the Russian one) Parkway Drive Pessimist R

Re: [OT] Create more debt == earn more

2016-08-02 Thread jmh530 via Digitalmars-d
On Tuesday, 2 August 2016 at 11:44:17 UTC, qznc wrote: According to Graeber [0], money = debt. Graeber has a superficial understanding of monetary economics. Even Brad Delong wrote a whole series of blog posts about the mistakes in that book.

Re: [OT] Create more debt == earn more

2016-08-02 Thread jmh530 via Digitalmars-d
On Tuesday, 2 August 2016 at 08:07:38 UTC, Basile B. wrote: What do you think about that ? For competitive markets, I would direct you to this theory https://en.wikipedia.org/wiki/Marginal_revenue_productivity_theory_of_wages An architect has a high salary because the dollar value of his pro

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Chris via Digitalmars-d
On Tuesday, 2 August 2016 at 05:03:43 UTC, Kai Nacke wrote: On Saturday, 30 July 2016 at 03:41:10 UTC, Jack Stouffer wrote: On Friday, 29 July 2016 at 22:44:04 UTC, Walter Bright wrote: ... I open pandora and type in "death metal", and when working on really hard problems, "thrash metal".

Re: [OT] Create more debt == earn more

2016-08-02 Thread qznc via Digitalmars-d
On Tuesday, 2 August 2016 at 08:07:38 UTC, Basile B. wrote: I was thinking about the value of what we do in the life, daily, the jobs, etc I've endend with this conclusion: The more you're able to create debt, the more you'll earn. example, CIO: hudge pay, because your 1000 salaries will creat

Re: Why D is not popular enough?

2016-08-02 Thread Guillaume Piolat via Digitalmars-d
On Monday, 1 August 2016 at 18:54:08 UTC, Emre Temelkuran wrote: I just saw that on stats, Apple Swift 3 is fastest growing language ever and if you check what's behind, it's D. Swift is the outlier here in the language landscape. - pushed and marketed by Apple as an important lockin into th

Re: Why D is not popular enough?

2016-08-02 Thread Chris via Digitalmars-d
On Monday, 1 August 2016 at 18:21:05 UTC, Charles Hixson wrote: [...] I have never experienced D as being unstable. I have, however, experienced problems using various libraries with D. Whenever you need to use a foreign library you invite problems, but D wrappers around libraries have a ha

Re: Why D is not popular enough?

2016-08-02 Thread Chris via Digitalmars-d
On Monday, 1 August 2016 at 16:09:58 UTC, Seb wrote: On Monday, 1 August 2016 at 15:31:35 UTC, Emre Temelkuran wrote: [...] Dear Emre, we have had such threads in the past and experience shows that there will be a huge non-productive debate about it. I think all the people here agree that

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Meta via Digitalmars-d
On Tuesday, 2 August 2016 at 05:03:43 UTC, Kai Nacke wrote: On Saturday, 30 July 2016 at 03:41:10 UTC, Jack Stouffer wrote: On Friday, 29 July 2016 at 22:44:04 UTC, Walter Bright wrote: ... I open pandora and type in "death metal", and when working on really hard problems, "thrash metal".

[OT] Create more debt == earn more

2016-08-02 Thread Basile B. via Digitalmars-d
I was thinking about the value of what we do in the life, daily, the jobs, etc I've endend with this conclusion: The more you're able to create debt, the more you'll earn. example, CIO: hudge pay, because your 1000 salaries will create a lot of debt. Architect, huge pay: your client will creat

Re: Why D is not popular enough?

2016-08-02 Thread ketmar via Digitalmars-d
On Monday, 1 August 2016 at 19:33:48 UTC, bitwise wrote: 'scope' keyword, for example, is legal in D syntax, but doesn't actually do anything. sorry, but you are wrong here. of course, it does HAVE effect. `void foo (scope delegate () boo)` this means that compiler should not allocate a clo

Re: [OT] Music to Program Compilers To

2016-08-02 Thread ketmar via Digitalmars-d
On Tuesday, 2 August 2016 at 05:03:43 UTC, Kai Nacke wrote: prefer melodic death metal did you tried "Dark Tranquillity"? one of the best melodic death bands i've ever heard. -- each their album is so different from any other their album (yet retaining "dt style" in all of 'em), so i can't p

Re: [OT] Music to Program Compilers To

2016-08-02 Thread Basile B. via Digitalmars-d
On Tuesday, 2 August 2016 at 06:46:40 UTC, Basile B. wrote: On Tuesday, 2 August 2016 at 06:40:41 UTC, Basile B. wrote: On Tuesday, 2 August 2016 at 06:36:12 UTC, Basile B. wrote: On Tuesday, 2 August 2016 at 06:22:27 UTC, Basile B. wrote: On Friday, 29 July 2016 at 22:44:04 UTC, Walter Bright