Re: New QtE5 version and the test it - mini ide ide5

2017-11-13 Thread Andrea Fontana via Digitalmars-d-announce
On Sunday, 12 November 2017 at 08:04:37 UTC, MGW wrote: QtE5 - gained further development. The new mechanism of operation with memory is realized that allowed will get rid of crash of applications in case of completion. The summary code amount increases all the time. New classes from Qt are

Re: [OT] mobile rising

2017-11-13 Thread Joakim via Digitalmars-d
On Monday, 13 November 2017 at 03:48:43 UTC, Walter Bright wrote: On 11/8/2017 1:36 PM, Joakim wrote: You don't want to own up to the fact that Please refrain from berating others here. On Monday, 13 November 2017 at 03:54:07 UTC, Walter Bright wrote: On 11/10/2017 3:28 AM, Joakim wrote:

Re: don't answer (possible/likely) spam

2017-11-13 Thread Gary Willoughby via Digitalmars-d
On Friday, 10 November 2017 at 16:09:48 UTC, Stefan Koch wrote: please don't answer messages which are possibly spam. Try this by not answering to this thread. Ok! +1 ;)

Re: core file

2017-11-13 Thread Tony via Digitalmars-d-learn
On Monday, 13 November 2017 at 07:38:14 UTC, Ali Çehreli wrote: On 11/12/2017 10:25 PM, Tony wrote: >>> "Segmentation fault (core dumped)" I've been assuming that if it says "dumped", the core is dumped. > I am on Ubuntu 16.04. Thanks, I didn't know that "producing a core file" > was

Re: core file

2017-11-13 Thread Tony via Digitalmars-d-learn
On Monday, 13 November 2017 at 07:38:14 UTC, Ali Çehreli wrote: It is. If you search for "where is core file ubuntu" you will hit the output of 'man core', as well as answers like the following, which explains that the file may be under /var/cache/abrt:

Re: core file

2017-11-13 Thread codephantom via Digitalmars-d-learn
On Monday, 13 November 2017 at 06:25:20 UTC, Tony wrote: I am on Ubuntu 16.04. Thanks, I didn't know that "producing a core file" was configurable, and it appears that it isn't. ok. that's because Ubuntu is not (by default) setup for developers. But you can enable core dump for your

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: Jesus Christ you big pair of fecking babys. Nobody argued it wouldn't be better to have 64 bit out of the box. They argued you were making a big deal out of something that just works for most everyone else. And yes you hate

[Issue 17972] __traits(getLinkage) doesn't work for classes

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17972 RazvanN changed: What|Removed |Added CC|

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 09:56:05 UTC, Dave Jones wrote: https://www.ncbi.nlm.nih.gov/pubmed/1185516 *snort* scientific yeah.. he called you names, so you called him names, so he called you names.. every child in the playground knows that game. a bit less *snorting* and maybe you'd

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: Jesus Christ you big pair of fecking babys. Nobody argued it wouldn't be better to have 64 bit out of the box. They argued you were making a big deal out of something that just works for most everyone else. And yes you hate

Re: core file

2017-11-13 Thread Antonio Corbi via Digitalmars-d-learn
On Monday, 13 November 2017 at 09:49:29 UTC, codephantom wrote: On Monday, 13 November 2017 at 06:25:20 UTC, Tony wrote: I am on Ubuntu 16.04. Thanks, I didn't know that "producing a core file" was configurable, and it appears that it isn't. ok. that's because Ubuntu is not (by default) setup

Re: minElement on array of const objects

2017-11-13 Thread Temtaime via Digitalmars-d-learn
On Monday, 13 November 2017 at 10:20:51 UTC, Aurelien Fredouelle wrote: Hi all, It seems that it is not possible to use minElement on an array of const objects: class A { int val; } const(A) doStuff(const(A)[] v) { import std.algorithm.searching : minElement; return

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 10:26:57 UTC, Joakim wrote: I'm not sure why you're picking out my comments from arguments I had with Ola and Tony days ago at the end of all this, but we had OT conversations about OS market share where I felt they were repeatedly making the same mistake.

Re: minElement on array of const objects

2017-11-13 Thread Nathan S. via Digitalmars-d-learn
Unqual!Element seed = r.front; alias MapType = Unqual!(typeof(mapFun(CommonElement.init))); This looks like a job for std.typecons.Rebindable!(const A) instead of Unqual!(const A) which is used currently. I am surprised that this is the first time anyone has run into this.

Re: LDC 1.6.0-beta1

2017-11-13 Thread Joakim via Digitalmars-d-announce
On Monday, 13 November 2017 at 02:35:11 UTC, Brian wrote: On Sunday, 12 November 2017 at 15:57:19 UTC, kinke wrote: Hi everyone, on behalf of the LDC team, I'm glad to announce the first beta for LDC 1.6. The highlights of this version in a nutshell: * Based on D 2.076.1. * Experimental

Re: On "A New Collections Framework for the Standard Library"

2017-11-13 Thread Mark via Digitalmars-d
On Thursday, 18 May 2017 at 18:27:22 UTC, Andrei Alexandrescu wrote: On 05/18/2017 11:18 AM, Jack Stouffer wrote: I just got around to watching Eduard Staniloiu's talk at DConf [1] about the collections library he was working on. One thing seemed odd, in that Eduard seems to be saying that the

Re: [OT] mobile rising

2017-11-13 Thread Joakim via Digitalmars-d
On Monday, 13 November 2017 at 11:33:08 UTC, Ola Fosheim Grøstad wrote: On Monday, 13 November 2017 at 10:26:57 UTC, Joakim wrote: I accurately characterized the tenor of their problem Uhm… «accurately» ?? LOL!! 8'D Considering you kept ignoring my evidence of Android and jumping to Apple,

minElement on array of const objects

2017-11-13 Thread Aurelien Fredouelle via Digitalmars-d-learn
Hi all, It seems that it is not possible to use minElement on an array of const objects: class A { int val; } const(A) doStuff(const(A)[] v) { import std.algorithm.searching : minElement; return v.minElement!"a.val"; } This gets the following compiler error:

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 09:51:33 UTC, Dave Jones wrote: That's it little fella let it all out... *passes codebaby a tissue* really? you think that was a useful contribution? who are you anyway? One of Jerry's 'other' accounts perhaps?

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 09:56:05 UTC, Dave Jones wrote: https://www.ncbi.nlm.nih.gov/pubmed/1185516 *snort* scientific yeah.. he called you names, so you called him names, so he called you names.. every child in the playground knows that game. A bit less *snorting* and perhaps you'd

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: Jesus Christ you big pair of fecking babys. Nobody argued it wouldn't be better to have 64 bit out of the box. They argued you were making a big deal out of something that just works for most everyone else. And yes you hate

Re: String import an entire directory

2017-11-13 Thread Adrian Matoga via Digitalmars-d
On Saturday, 11 November 2017 at 14:11:50 UTC, Neia Neutuladh wrote: At my job, I put together a database migration tool for our services. It scans for resources in your JAR file with an appropriate path, interprets them as SQL scripts, and applies them to the database if it hasn't been done

Re: [OT] mobile rising

2017-11-13 Thread Dave Jones via Digitalmars-d
On Monday, 13 November 2017 at 00:47:46 UTC, codephantom wrote: On Monday, 13 November 2017 at 00:41:32 UTC, Jerry wrote: harassing people isn't defending your argument. Yeah...it's not nice...being harassed..is it. You have to be harassed to know what if feels like. That was my objective.

Re: [OT] mobile rising

2017-11-13 Thread Dave Jones via Digitalmars-d
On Monday, 13 November 2017 at 01:14:32 UTC, codephantom wrote: On Monday, 13 November 2017 at 00:47:46 UTC, codephantom wrote: On Monday, 13 November 2017 at 00:41:32 UTC, Jerry wrote: harassing people isn't defending your argument. Yeah...it's not nice...being harassed..is it. You have to

Re: [OT] mobile rising

2017-11-13 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 13 November 2017 at 10:26:57 UTC, Joakim wrote: I accurately characterized the tenor of their problem Uhm… «accurately» ?? LOL!! 8'D generalize and point that out, ie he _was_ confused in the points he was making. I am never confused, but this is dlang.org, I've seen worse…

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: I'm old and don't give a shit . Perhaps it's all that *snorting*...that stuff will do that to you. Go see your local doctor, cause I believe there's something you can take..to get it all flowing again...

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: I wish I was young again. I used to love arguing about pointless crap, i couldn't resit it, mac vs pc, risc vs cisc, sony vs nintendo, utd vs liverpool utd and liverpool? just bunch of little kiddies kicking around a ball.

Re: [OT] mobile rising

2017-11-13 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 13 November 2017 at 11:46:42 UTC, Joakim wrote: Considering you kept ignoring my evidence of Android and jumping to Apple, I'd say that it was perfectly accurate. Oh well, I'm focusing on what I am interested in… Anyway, it is rather obvious that subjective ad-hominem statements in

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 20:22:21 UTC, Dave Jones wrote: Hmmm, i get home to find eight messages from codebaby, he sees sockpuppets everywhere, snapping at every bit of bait I laid... says he'll ignore my whole comment and then replys to it another two times, LOL, a full on meltdown

Re: BinaryHeap as member

2017-11-13 Thread Era Scarecrow via Digitalmars-d-learn
On Monday, 13 November 2017 at 16:26:20 UTC, balddenimhero wrote: In the course of writing a minimal example I removed more than necessary in the previous pastebin (the passed IntOrder has not even been used). Thus here is the corrected one: https://pastebin.com/SKae08GT. I'm trying to port

Re: Zig mentions D in justifying its existence

2017-11-13 Thread codephantom via Digitalmars-d
On Tuesday, 14 November 2017 at 01:25:32 UTC, Michael V. Franklin wrote: That turned me off. Despite everything I hate about D, I keep coming back to it for the "Modeling Power" and "Modern Convenience". No other language that I'm aware of can complete with D on those two merits. ... Mike

Re: Cannot reduce an empty iterable w/o an explicit seed value

2017-11-13 Thread Vino via Digitalmars-d-learn
On Thursday, 9 November 2017 at 13:24:45 UTC, Nicholas Wilson wrote: On Thursday, 9 November 2017 at 12:40:49 UTC, Vino wrote: [...] The problem is subdirTotalGB = ((reduce!((a,b) => a + b)(SdFiles)) / 1024 / 1024 / 1024); with reduce you need to give it a seed (an initial value to start

Re: New LDC feature: dynamic compilation

2017-11-13 Thread kinke via Digitalmars-d-announce
Thanks for this post. Please also consider creating a Wiki page as that's more easily accessible for posterity (and editable) than a forum post here.

Re: Zig mentions D in justifying its existence

2017-11-13 Thread Michael V. Franklin via Digitalmars-d
On Monday, 13 November 2017 at 16:12:42 UTC, Joakim wrote: Probably a good sign that they mention D with C++ and Rust and have looked at D features: https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-Already-CPP%2C-D%2C-and-Rust%3F "D has @property functions, which are methods that

Re: ESR on post-C landscape

2017-11-13 Thread lobo via Digitalmars-d-learn
On Tuesday, 14 November 2017 at 04:31:43 UTC, Laeeth Isharc wrote: He mentions D, a bit dismissively. http://esr.ibiblio.org/?p=7724=1#comment-1912717 "[snip]...Then came the day we discovered that a person we incautiously gave commit privileges to had fucked up the games’s AI core. It

Re: Deprecate implicit `int` to `bool` conversion for integer literals

2017-11-13 Thread Michael V. Franklin via Digitalmars-d
On Saturday, 11 November 2017 at 23:30:18 UTC, Andrei Alexandrescu wrote: A DIP is necessary for all language changes. In this case a short and well-argued DIP seems to be the ticket. Walter and I spoke and such a proposal has a good chance to be successful. Subject issues:

Re: Zig mentions D in justifying its existence

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 16:12:42 UTC, Joakim wrote: Probably a good sign that they mention D with C++ and Rust and have looked at D features: An interesting project. Some good points made too. As someone new to D, I think this point stood out the most(for me): "C++, Rust, and D

Re: Zig mentions D in justifying its existence

2017-11-13 Thread Fra Mecca via Digitalmars-d
On Tuesday, 14 November 2017 at 01:01:16 UTC, codephantom wrote: On Monday, 13 November 2017 at 16:12:42 UTC, Joakim wrote: Probably a good sign that they mention D with C++ and Rust and have looked at D features: An interesting project. Some good points made too. As someone new to D, I

string version of array

2017-11-13 Thread Tony via Digitalmars-d-learn
Is there an easy way to get the string representation of an array, as would be printed by writeln(), but captured in a string?

ESR on post-C landscape

2017-11-13 Thread Laeeth Isharc via Digitalmars-d-learn
He mentions D, a bit dismissively. http://esr.ibiblio.org/?p=7724=1#comment-1912717

Re: opCast'ing strings

2017-11-13 Thread bauss via Digitalmars-d-learn
On Monday, 13 November 2017 at 01:12:59 UTC, Adam D. Ruppe wrote: On Monday, 13 November 2017 at 01:03:17 UTC, helxi wrote: In this program, casting using to does not work as intended (returning 23/11) on the struct. However, calling opCast directly seems to do the job. Why is that?

Re: Project Elvis

2017-11-13 Thread Nick Treleaven via Digitalmars-d
On Saturday, 11 November 2017 at 05:20:39 UTC, codephantom wrote: I just saw this about the new 'damnit' operator, for C# 8. https://github.com/dotnet/csharplang/issues/556 The principle is a good one - by default you cannot dereference something that can be null, you get a compiler error

[Issue 12064] std.typecons.wrap doesn't handle NVI

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12064 Basile B. changed: What|Removed |Added Severity|enhancement |normal --- Comment #2 from

[Issue 17980] New: deprecated overridden function gives wrong message

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17980 Issue ID: 17980 Summary: deprecated overridden function gives wrong message Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic

Re: Project Elvis

2017-11-13 Thread Nick Treleaven via Digitalmars-d
On Monday, 6 November 2017 at 13:02:43 UTC, Ola Fosheim Grøstad wrote: On Monday, 6 November 2017 at 10:12:11 UTC, Jonathan M Davis wrote: All it does is take the expression x ? x : y and make it x ?: y Yes, that is an issue because it means that typos no longer are caught. E.g. if you

Re: opCast'ing strings

2017-11-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Monday, November 13, 2017 12:40:39 bauss via Digitalmars-d-learn wrote: > On Monday, 13 November 2017 at 01:12:59 UTC, Adam D. Ruppe wrote: > > On Monday, 13 November 2017 at 01:03:17 UTC, helxi wrote: > >> In this program, casting using to does not work as intended > >> (returning 23/11) on

Re: How do I create a fileWatcher with an onFileChange event using spawn?

2017-11-13 Thread bauss via Digitalmars-d-learn
On Monday, 28 August 2017 at 11:25:03 UTC, Jacob Carlborg wrote: On 2017-08-28 08:31, Nemanja Boric wrote: On Monday, 28 August 2017 at 06:27:20 UTC, Jacob Carlborg wrote: http://code.dlang.org/packages/vibe-core http://code.dlang.org/packages/libasync In addition, to avoid polling, it's

[Issue 2525] Can't use `override` when implementing abstract base class's interface function

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2525 Steven Schveighoffer changed: What|Removed |Added CC|

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 13:34:00 UTC, realdonaldtrump wrote: On Monday, 13 November 2017 at 11:50:20 UTC, codephantom wrote: On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: I wish I was young again. I used to love arguing about pointless crap, i couldn't resit it, mac vs

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 13:34:00 UTC, realdonaldtrump wrote: Lol now I know ur full of it cause real football is only found in America. With their cute little helmets. I love it. We don't need no helmets over here.

[Issue 17586] Overriding a deprecated base class function gives no warning

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17586 RazvanN changed: What|Removed |Added CC|

[Issue 17585] Wrong error message for deprecated overrides

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17585 RazvanN changed: What|Removed |Added CC|

Re: minElement on array of const objects

2017-11-13 Thread vit via Digitalmars-d-learn
On Monday, 13 November 2017 at 12:15:26 UTC, Nathan S. wrote: Unqual!Element seed = r.front; alias MapType = Unqual!(typeof(mapFun(CommonElement.init))); This looks like a job for std.typecons.Rebindable!(const A) instead of Unqual!(const A) which is used currently. I am surprised that

Re: [OT] mobile rising

2017-11-13 Thread realdonaldtrump via Digitalmars-d
On Monday, 13 November 2017 at 11:50:20 UTC, codephantom wrote: On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: I wish I was young again. I used to love arguing about pointless crap, i couldn't resit it, mac vs pc, risc vs cisc, sony vs nintendo, utd vs liverpool utd and

Re: [OT] mobile rising

2017-11-13 Thread codephantom via Digitalmars-d
On Monday, 13 November 2017 at 13:39:07 UTC, codephantom wrote: On Monday, 13 November 2017 at 13:34:00 UTC, realdonaldtrump wrote: Lol now I know ur full of it cause real football is only found in America. With their cute little helmets. I love it. We don't need no helmets over here.

BinaryHeap as member

2017-11-13 Thread balddenimhero via Digitalmars-d-learn
I need a priority queue of integers whose elements are not ordered by the default `opCmp` but some delegate. The following gist illustrates the problem I'm having: https://run.dlang.io/gist/92876b2c4d8c77cdc68f1ca61e7e8e44?compiler=dmd The `Foo` class is supposed to wrap a binary heap (to be

Re: Project Elvis

2017-11-13 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 13 November 2017 at 14:44:55 UTC, Nick Treleaven wrote: The commenting out case can be prevented by making ?: an actual operator, so ?/**/: would be an error. Yes, that sounds reasonable. (Also I think it's regressive to argue invalid code becoming valid is a good reason to

Re: ddox empty public methods/interfaces etc

2017-11-13 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 10 November 2017 at 10:12:32 UTC, RazvanN wrote: I don't want to open a new forum thread for this, but if you guys have more experience with ddox can you please explain me how does it work? There's two modes of operation for ddox: using dmd -D -X to generate a json file, then

Zig mentions D in justifying its existence

2017-11-13 Thread Joakim via Digitalmars-d
Probably a good sign that they mention D with C++ and Rust and have looked at D features: https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-Already-CPP%2C-D%2C-and-Rust%3F These recent articles also mention D or talk about some similar features: http://videocortex.io/2017/Bestiary/

[Issue 16253] BitmappedBlock allocator not working with chooseAtRuntime

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16253 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/f730d230f5ee56efea465f8f32b1ecb49e4542cf Fixed Issue 16253 - BitmappedBlock allocator not

[Issue 16253] BitmappedBlock allocator not working with chooseAtRuntime

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16253 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Zig mentions D in justifying its existence

2017-11-13 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 13 November 2017 at 17:00:56 UTC, Ola Fosheim Grøstad wrote: But no plans to add meta-programming or type system support for memory? Hm, the github page says «Zig has no macros and no metaprogramming», but their homepage says «Generic data structures and functions» and

OT: (only slightly off topic) Ocaml investing in high-assurance applications

2017-11-13 Thread Ali via Digitalmars-d
On Monday, 13 November 2017 at 16:12:42 UTC, Joakim wrote: Probably a good sign that they mention D with C++ and Rust and have looked at D features: https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-Already-CPP%2C-D%2C-and-Rust%3F

Re: ddox empty public methods/interfaces etc

2017-11-13 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/10/17 5:12 AM, RazvanN wrote: On Thursday, 9 November 2017 at 14:21:52 UTC, Steven Schveighoffer wrote: On 11/8/17 10:45 PM, Andrey wrote: I just added to dub.json this: "-ddoxFilterArgs": [     "--min-protection=Public" ] i.e. without --only-documented option, in this way ddox will

Re: BinaryHeap as member

2017-11-13 Thread balddenimhero via Digitalmars-d-learn
On Monday, 13 November 2017 at 14:38:35 UTC, balddenimhero wrote: I need a priority queue of integers whose elements are not ordered by the default `opCmp` but some delegate. The following gist illustrates the problem I'm having:

Re: Project Elvis

2017-11-13 Thread Nick Treleaven via Digitalmars-d
On Tuesday, 7 November 2017 at 13:43:20 UTC, user1234 wrote: On Monday, 6 November 2017 at 20:14:17 UTC, Meta wrote: The functionality is probably a good idea, but a library solution is doable today without any acrobatics. Show me a library solution that works fine with IDE completion (so

[Issue 15637] Region allocator assert failure when expanding the last allocation

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15637 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/04cbf312a91c20ccddf029b5de8215edaf7a6f7e Fix Issue 15637 - Region allocator assert failure when

[Issue 15637] Region allocator assert failure when expanding the last allocation

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15637 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: OT: (only slightly off topic) Ocaml investing in high-assurance applications

2017-11-13 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 13 November 2017 at 18:11:45 UTC, Ali wrote: I think HAA seems like where many people are looking at the moment I am not convinced that this will make a dent in C or C++ popularity or usage but, yet, it will be a sizable niche that C or C++ will not dominate But how is that

Munich D Meetup November 2017

2017-11-13 Thread Dragos Carp via Digitalmars-d-announce
Hi all, Tomorrow November 14th, we will have our next Munich meetup. This time Seb and Stefan will give an introductory talk about templates and CTFE. After Andrei's awesome talk last month, we are happy to welcome new members of our group joining the regular meetups. As usual before and

Re: Inline assembly question

2017-11-13 Thread Basile B. via Digitalmars-d-learn
On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar wrote: Hi, I have recently started work on building a VM for Lua (actually a derivative of Lua) in X86-64 assembly. I am using the dynasm tool that is part of LuaJIT. I was wondering whether I could also write this in D's inline

Re: New LDC feature: dynamic compilation

2017-11-13 Thread Ivan Butygin via Digitalmars-d-announce
On Monday, 13 November 2017 at 19:58:29 UTC, Michael V. Franklin wrote: Interesting feature. So is the executable linked to an installed instance of LDC/LLVM to make this happen, or is there some limited compiler embedded in the executable or Druntime? More details about the implementation

Re: Inline assembly question

2017-11-13 Thread Basile B. via Digitalmars-d-learn
On Monday, 13 November 2017 at 18:40:42 UTC, Basile B. wrote: On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar wrote: [...] TBH I wonder if this is not worth a enhancement (or even a DIP) to have in asm blocks a special alias syntax... { asm { version(...)

Re: Munich D Meetup November 2017

2017-11-13 Thread bauss via Digitalmars-d-announce
On Monday, 13 November 2017 at 18:43:13 UTC, Dragos Carp wrote: Hi all, Tomorrow November 14th, we will have our next Munich meetup. This time Seb and Stefan will give an introductory talk about templates and CTFE. After Andrei's awesome talk last month, we are happy to welcome new members

How do you open a second console? I have multiple streams of info I want printed.

2017-11-13 Thread Enjoys Math via Digitalmars-d-learn
Hi, I tried googling and didn't find anything. I have thread doing a time-intensive search and I want its results printed to a second console while the main console displays what I already have writing. Thanks.

Re: New LDC feature: dynamic compilation

2017-11-13 Thread Michael V. Franklin via Digitalmars-d-announce
On Monday, 13 November 2017 at 19:04:16 UTC, Ivan Butygin wrote: You need to explicitly compile `@dynamicCompile` functions before using any of them. Interesting feature. So is the executable linked to an installed instance of LDC/LLVM to make this happen, or is there some limited compiler

New LDC feature: dynamic compilation

2017-11-13 Thread Ivan Butygin via Digitalmars-d-announce
Main part of this feature is a new UDA `@dynamicCompile`. You can mark with this attribute any function (including class methods and lambdas) and compilation and optimization of this function will be deferred to runtime. Dynamic compiler will use instruction set available on host, so

Re: ddox empty public methods/interfaces etc

2017-11-13 Thread Bastiaan Veelo via Digitalmars-d-learn
On Friday, 10 November 2017 at 10:12:32 UTC, RazvanN wrote: I don't want to open a new forum thread for this, but if you guys have more experience with ddox can you please explain me how does it work? I expected you can simply run ddox on a .d file and it will output the documentation in some

Re: Zig mentions D in justifying its existence

2017-11-13 Thread Jonathan M Davis via Digitalmars-d
On Monday, November 13, 2017 16:12:42 Joakim via Digitalmars-d wrote: > Probably a good sign that they mention D with C++ and Rust and > have looked at D features: > > https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-Already-CPP%2C-> > D%2C-and-Rust%3F Glancing over what they say

Re: LDC 1.6.0-beta1

2017-11-13 Thread codephantom via Digitalmars-d-announce
On Monday, 13 November 2017 at 13:37:20 UTC, Joakim wrote: I explained why, the last time we put out a stable release for FreeBSD, ldc 1.2, it only got 4 downloads: http://www.somsubhra.com/github-release-stats/?username=ldc-developers=ldc By comparison, the Win32 build got 282 downloads.

[Issue 17980] deprecated overridden function gives wrong message

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17980 Basile B. changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17585] Wrong error message for deprecated overrides

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17585 Basile B. changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #2

[Issue 17978] github HEAD gives wrong warning for bitwise unary operation

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17978 Steven Schveighoffer changed: What|Removed |Added Summary|github HEAD gives wrong |github HEAD

Re: String import an entire directory

2017-11-13 Thread Andre Pany via Digitalmars-d
On Monday, 13 November 2017 at 09:27:10 UTC, Adrian Matoga wrote: On Saturday, 11 November 2017 at 14:11:50 UTC, Neia Neutuladh wrote: At my job, I put together a database migration tool for our services. It scans for resources in your JAR file with an appropriate path, interprets them as SQL

[Issue 15140] std.experimental.allocator.building_blocks.free_list.FreeList leaks memory

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15140 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15140] std.experimental.allocator.building_blocks.free_list.FreeList leaks memory

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15140 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/b8d70b32fd4e6d7c936809a118b168bc68303dad Fix Issue 15140 -

Re: BinaryHeap as member

2017-11-13 Thread balddenimhero via Digitalmars-d-learn
On Monday, 13 November 2017 at 15:43:35 UTC, balddenimhero wrote: On Monday, 13 November 2017 at 14:38:35 UTC, balddenimhero wrote: I need a priority queue of integers whose elements are not ordered by the default `opCmp` but some delegate. The following gist illustrates the problem I'm

Re: Zig mentions D in justifying its existence

2017-11-13 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 13 November 2017 at 16:30:23 UTC, Jonathan M Davis wrote: Glancing over what they say there, it sounds like they're trying to write a better version of C. Yes http://ziglang.org/: «Zig competes with C instead of depending on it. The Zig Standard Library does not depend on libc.»

Re: Inline assembly question

2017-11-13 Thread Guillaume Piolat via Digitalmars-d-learn
On Monday, 13 November 2017 at 18:40:42 UTC, Basile B. wrote: TBH I wonder if this is not worth a enhancement (or even a DIP) to have in asm blocks a special alias syntax... { asm { version(...) { alias First = RDI; alias Second = RSI; //

Re: Inline assembly question

2017-11-13 Thread Guillaume Piolat via Digitalmars-d-learn
On Sunday, 12 November 2017 at 22:20:46 UTC, Dibyendu Majumdar no in naked mode you have to save and restore by hand. Note that in Win64 even if not naked, you'll have to save/restore some registers like XMMx with x >= 6. Another question - how can I tell DMD to no generate the frame

Re: [OT] mobile rising

2017-11-13 Thread Dave Jones via Digitalmars-d
On Monday, 13 November 2017 at 11:55:59 UTC, codephantom wrote: On Sunday, 12 November 2017 at 16:02:14 UTC, Dave Jones wrote: Jesus Christ you big pair of fecking babys. Nobody argued it wouldn't be better to have 64 bit out of the box. They argued you were making a big deal out of something

Re: How do you open a second console? I have multiple streams of info I want printed.

2017-11-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Monday, November 13, 2017 19:58:51 Enjoys Math via Digitalmars-d-learn wrote: > Hi, > > I tried googling and didn't find anything. > > I have thread doing a time-intensive search and I want its > results printed to a second console while the main console > displays what I already have writing.

Re: Inline assembly question

2017-11-13 Thread Dibyendu Majumdar via Digitalmars-d-learn
On Sunday, 12 November 2017 at 22:40:06 UTC, Dibyendu Majumdar wrote: On Sunday, 12 November 2017 at 22:00:58 UTC, Basile B. wrote: no in naked mode you have to save and restore by hand. So how does one manually generate the .pdata and .xdata sections? Are you saying that this is what I

Re: How do you open a second console? I have multiple streams of info I want printed.

2017-11-13 Thread Enjoys Math via Digitalmars-d-learn
On Monday, 13 November 2017 at 20:24:38 UTC, Jonathan M Davis wrote: On Monday, November 13, 2017 19:58:51 Enjoys Math via Digitalmars-d-learn wrote: Hi, I tried googling and didn't find anything. I have thread doing a time-intensive search and I want its results printed to a second console

Re: Munich D Meetup November 2017

2017-11-13 Thread Dragos Carp via Digitalmars-d-announce
On Monday, 13 November 2017 at 19:15:01 UTC, bauss wrote: Sounds like fun. I wish I could make it down to Germany, but unfortunately I can't, especially not tomorrow with less than a day in advance :p Just join the meetup group, on the site we are much prompter. Will there be any

[Issue 16398] experimental allocators, add aligned reallocation for Posix

2017-11-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16398 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a196f171f6cc0d6936d7b2d5fc4fc7e38b026514 fix issue 16398 - experimental allocators, add aligned

Re: Inline assembly question

2017-11-13 Thread Dibyendu Majumdar via Digitalmars-d-learn
On Monday, 13 November 2017 at 18:40:42 UTC, Basile B. wrote: TBH I wonder if this is not worth a enhancement (or even a DIP) to have in asm blocks a special alias syntax... { asm { version(...) { alias First = RDI; alias Second = RSI;

Re: Boston D Meetup 11/22/2017

2017-11-13 Thread Steven Schveighoffer via Digitalmars-d-announce
On 11/11/17 2:32 PM, Steven Schveighoffer wrote: On 11/11/17 12:43 PM, Steven Schveighoffer wrote: Trying to get one more meetup in before the holidays. Just a casual meeting at the Street. Hope you can join us! Switched to The Wednesday before Thanksgiving. Sorry for the adjustment, but

Re: On "A New Collections Framework for the Standard Library"

2017-11-13 Thread Andrei Alexandrescu via Digitalmars-d
On 11/13/2017 05:19 AM, Mark wrote: On Thursday, 18 May 2017 at 18:27:22 UTC, Andrei Alexandrescu wrote: On 05/18/2017 11:18 AM, Jack Stouffer wrote: I just got around to watching Eduard Staniloiu's talk at DConf [1] about the collections library he was working on. One thing seemed odd, in