Spam on our darling package repository
http://code.dlang.org/packages/watch_sicario_day_of_the_soldado_online_full_movie_free It should be removed
Re: Documentation licence
On Saturday, 15 July 2017 at 01:49:24 UTC, Seb wrote: On Friday, 30 June 2017 at 10:10:14 UTC, ANtlord wrote: Hello! I use service devdocs.io for some technologies. And I think that I able to add D to this service. Hi, Did you manage to make progress on this issue? As mentioned this is in my focus as well and I will be able to allocate some time to help. Btw @ others there is an open Trello card at the devdocs.io board which allows voting: https://trello.com/c/bCgqhZ4s/123-d I created the PR [1]. But is not approved. It is not discussed even. https://github.com/Thibaut/devdocs/pull/661 [1]
Re: Documentation licence
On Friday, 30 June 2017 at 10:24:34 UTC, tetyys wrote: On Friday, 30 June 2017 at 10:10:14 UTC, ANtlord wrote: Hello! I use service devdocs.io for some technologies. And I think that I able to add D to this service. I've read the project's wiki (https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md) and see the next: Important: the documentation's license must permit alteration, redistribution and commercial use, and the documented software must be released under an open source license. Due to this I get the question. Do the licence of D's documentaion and the licence of D allow to add the D's library documentation to devdocs.io? Thanks. Sorry if my english is not clear. Well as phobos source code comments is the documentation for standard library and it's licensed under Boost license (https://github.com/dlang/phobos/blob/master/LICENSE_1_0.txt), I think yes. Ok. Also I see it on the page https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses I hope it will not block me to contribute D's docs. Thanks a lot!
Documentation licence
Hello! I use service devdocs.io for some technologies. And I think that I able to add D to this service. I've read the project's wiki (https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md) and see the next: Important: the documentation's license must permit alteration, redistribution and commercial use, and the documented software must be released under an open source license. Due to this I get the question. Do the licence of D's documentaion and the licence of D allow to add the D's library documentation to devdocs.io? Thanks. Sorry if my english is not clear.
Re: gdc is in
On Wednesday, 21 June 2017 at 15:11:39 UTC, Joakim wrote: the gcc tree: https://gcc.gnu.org/ml/gcc/2017-06/msg00111.html Congratulations to Iain and the gdc team. :) I join in the congratulations. Iain, you rock!
Re: DConf 2017 Hackathon report
On Tuesday, 9 May 2017 at 04:35:40 UTC, Ali Çehreli wrote: Please list what we've achieved during the hackathon, including what is started but is likely to be finished in the coming days or months. For me: - Finished updating "Programming in D" to 2.074.0 (the HTML is now up to date but I could not get to the still manual work of preparing the ebooks) - Contributed to the logo and branding discussions - Opened two bugs - Ate German cookies :) Ali Is there some news about compiling dmd as library?
will ddmd in standard library
Hello! I see documentation of pre-release version of standard library. It has section ddmd. Does it mean that we will get std library with ddmd? Does it mean we will get a powerful tool for making analysis tools for D? And one more question. Standard library be without ddmd very long time. Will it get ddmd because compiler license has been changed by Boos license? Thanks. Sorry if my English is not clear.
Re: DPaste is down
There is screenshot of http://dpaste.dzfl.pl http://screencloud.net/v/rCE6i
DPaste is down
Hello! I don't know where I should to talk about this. http://dpaste.dzfl.pl is down for three days. Any of sample from documentation can't be ran. Is this service provided dlang faundation? If not sorry for this attention. http://screencloud.net/v/buvXp
Re: Step into in debugging.
On Wednesday, 22 February 2017 at 14:35:14 UTC, drug wrote: Thank you for sharing this! Sarcasm?
Re: Step into in debugging.
On Wednesday, 22 February 2017 at 14:23:02 UTC, ANtlord wrote: My bad again. It appears I have a smaller knowledge that I think. I'm ended up in typecons because `allocator` is made by template `scoped` returns instance of internal static struct `Scoped` and it has alias is asigned to method `Scoped_payload` and this is called on https://github.com/ANtlord/DCD/blob/master/src/server/autocomplete.d#L341. SOLVED And one more. Method `Scoped_payload` returns instance of type passed as template argument for template method `scoped`. As long as method `generateAutocompleteTrees` requires second argument must be instance of `IAllocator`, object `allocator` "transforms" to instance of class implements `IAllocator` by alias of `Scoped_payload` assigned to `this`.
Re: Step into in debugging.
On Monday, 20 February 2017 at 13:55:57 UTC, ANtlord wrote: Hello! I care for project DCD. I've wanted to fix some issue in it very long time ago. But when I get a little bit of free time I encounter one big problem for me. I can't debug it using GDB. I can't go through call stack because I get a number of issues. Long story short I've decided to solve them one by one and I really need community's help. First of them. I can't make `step into` staying on this code line https://github.com/ANtlord/DCD/blob/master/src/server/autocomplete.d#L341. What I do: 1. I compile DCD project using dub with dmd `dub build --compiler=dmd --build=debug --config=server --parallel` 2. I run `gdb `. I do it from project root directory always `gdb dcd-server`. 3. Inside gdb. I do `break autocomplete.d:341` 4. Inside gdb. I do `run -p 6767` where `-p 6767` is DCD parameter. 5. I launch dcd-client with parameters for calling desirable code `dcd-client --port 6767 myfile.d -c 53`. File `myfile.d` consists of `void main(string[] args) { int[] asd = [4,2]; asd[0]. }`. Yes, it has one line. 6. Inside gdb. I stay on desirable line and I do `step`. 7. Inside gdb. I am ended up in `/usr/include/dlang/dmd/std/typecons.d:6097` instead function `generateAutocompleteTrees` called on the line. I attach this screenshot to be clear https://www.dropbox.com/s/6i2hmbvqwdvopur/Screenshot_20170220_214526.png?dl=0 Thanks. My bad again. It appears I have a smaller knowledge that I think. I'm ended up in typecons because `allocator` is made by template `scoped` returns instance of internal static struct `Scoped` and it has alias is asigned to method `Scoped_payload` and this is called on https://github.com/ANtlord/DCD/blob/master/src/server/autocomplete.d#L341. SOLVED
Re: Step into in debugging.
On Monday, 20 February 2017 at 13:55:57 UTC, ANtlord wrote: Hello! I care for project DCD. I've wanted to fix some issue in it very long time ago. But when I get a little bit of free time I encounter one big problem for me. I can't debug it using GDB. I can't go through call stack because I get a number of issues. Long story short I've decided to solve them one by one and I really need community's help. First of them. I can't make `step into` staying on this code line https://github.com/ANtlord/DCD/blob/master/src/server/autocomplete.d#L341. What I do: 1. I compile DCD project using dub with dmd `dub build --compiler=dmd --build=debug --config=server --parallel` 2. I run `gdb `. I do it from project root directory always `gdb dcd-server`. 3. Inside gdb. I do `break autocomplete.d:341` 4. Inside gdb. I do `run -p 6767` where `-p 6767` is DCD parameter. 5. I launch dcd-client with parameters for calling desirable code `dcd-client --port 6767 myfile.d -c 53`. File `myfile.d` consists of `void main(string[] args) { int[] asd = [4,2]; asd[0]. }`. Yes, it has one line. 6. Inside gdb. I stay on desirable line and I do `step`. 7. Inside gdb. I am ended up in `/usr/include/dlang/dmd/std/typecons.d:6097` instead function `generateAutocompleteTrees` called on the line. I attach this screenshot to be clear https://www.dropbox.com/s/6i2hmbvqwdvopur/Screenshot_20170220_214526.png?dl=0 Thanks. My bad. I haven't point version dmd. It is 2.072.0. But I get same issue using 2.073.1, but instead `/usr/include/dlang/dmd/std/typecons.d:6097` I'm ended up in `/usr/include/dlang/dmd/std/typecons.d:6408`. One more. Am I ended up in typecons because on of arguments of function `generateAutocompleteTrees` is template?
Step into in debugging.
Hello! I care for project DCD. I've wanted to fix some issue in it very long time ago. But when I get a little bit of free time I encounter one big problem for me. I can't debug it using GDB. I can't go through call stack because I get a number of issues. Long story short I've decided to solve them one by one and I really need community's help. First of them. I can't make `step into` staying on this code line https://github.com/ANtlord/DCD/blob/master/src/server/autocomplete.d#L341. What I do: 1. I compile DCD project using dub with dmd `dub build --compiler=dmd --build=debug --config=server --parallel` 2. I run `gdb `. I do it from project root directory always `gdb dcd-server`. 3. Inside gdb. I do `break autocomplete.d:341` 4. Inside gdb. I do `run -p 6767` where `-p 6767` is DCD parameter. 5. I launch dcd-client with parameters for calling desirable code `dcd-client --port 6767 myfile.d -c 53`. File `myfile.d` consists of `void main(string[] args) { int[] asd = [4,2]; asd[0]. }`. Yes, it has one line. 6. Inside gdb. I stay on desirable line and I do `step`. 7. Inside gdb. I am ended up in `/usr/include/dlang/dmd/std/typecons.d:6097` instead function `generateAutocompleteTrees` called on the line. I attach this screenshot to be clear https://www.dropbox.com/s/6i2hmbvqwdvopur/Screenshot_20170220_214526.png?dl=0 Thanks.
Re: {DMD-AST-Tool} For beginning DDMD hackers
On Saturday, 12 November 2016 at 10:26:53 UTC, Stefan Koch wrote: Hi Guys, I have written a small utility called dmd-ast-tool. It can be used to quickly generate boilerplate code for dmd-ast-visitors. Originally it was only written for my personal use, it used to work with a handwritten text-file representing dmds ast class hierarchy. However I recently updated it construct the class hierarchy from ddmds source code. It is pretty bare-boned, but maybe it can be useful to some of you :) https://github.com/UplinkCoder/dmd-ast-tool. Hello! Can you clarify? Does this program use ddmd or ddmd is just used as code sample for parsing?
Re: Separating ddmd
On Wednesday, 9 November 2016 at 11:15:43 UTC, Brian Schott wrote: On Monday, 7 November 2016 at 09:08:28 UTC, ANtlord wrote: By the way, does somebody knows where mr. Schott (Hackerpilot)? You have to perform a summoning ritual. Start here: https://en.wikipedia.org/wiki/Magic_circle#Techniques It would be next level =) I've performed complex issue instead summoning ritual. It related to implicitly identifyied array. I hope we can go on talk about it on github.
Re: Separating ddmd
On Wednesday, 9 November 2016 at 09:07:43 UTC, Johan Engelen wrote: The warnings are harmless and are fixed in master. I can't help you further with this. I don't know what exactly it is you want to do, but copying LDC's ddmd folder with a lot of LDC-specific modifications does not sound like the right approach. I'd start from DMD's source, and work from there. I just want to try separate ddmd. I can try it with DMD instead LDC. I'm on master branch. I've moved all files contain string 'module ddmd', but I get another errors. http://vpaste.net/s813b Can you tell me your commit of DMD, where I've copied ddmd related files to your project and it works?
Re: Separating ddmd
On Tuesday, 8 November 2016 at 05:23:55 UTC, Johan Engelen wrote: You should compile with `-d-version=IN_LLVM`. The front-end code still has some backend specific stuff in it that is versioned-out when IN_LLVM is set. -Johan I've added it. Later compiler has shows a lot of warnings and one error. source/ddmd/dinifile.d(100): Error: need -Jpath switch to import text file SYSCONFDIR.imp I've solved this error by addition the option -J=/media/storage/develop/dspace/test/source/ddmd/ There is file SYSCONFDIR.imp. Now it shows my only a lot of warnings and doesn't build project. This is output of build http://vpaste.net/k2Y1U Should I fix this warning for successful build or does compiler get another errors but they are not in output? If compiler has errors how can I see them? I added flag '-wi', but it shows this http://vpaste.net/OsjUs. I build project by dub with flag --compiler=ldc2. There is dub.json http://vpaste.net/85VnL Also if it makes sense I've installed ldc to custom directory /media/storage/Apps/ldc
Re: Separating ddmd
On Monday, 7 November 2016 at 09:11:45 UTC, rikki cattermole wrote: Why are you copying it from ldc? The source code you're copying is from dmd. Only it has modifications to it that go beyond the stock frontend capabilities. Because source of module ddmd separated to folder in ldc. But know I've figured out that I can get all ddmd related sources by grep module name. But it will not fix my issue, will it?
Separating ddmd
Hello! I've tried to separate ddmd frontend from ldc. I just move folder ddmd from ldc project (versions 1.0.0) and folder ddmd from build directory to my test project. Folder ddmd from build I moved because it contains module id. Also as far as I know I need to compile some C++ sources. And this thing is not clear for. I found declaration of class Library but I don't see body of this class. Is it generated by something during ldc compilation? Does somebody know? By the way, does somebody knows where mr. Schott (Hackerpilot)? This is my ldc version LDC - the LLVM D compiler (7bef75): based on DMD v2.070.2 and LLVM 3.5.0 built with DMD64 D Compiler v2.071.2 Default target: x86_64-pc-linux-gnu Host CPU: bdver2 OS: Kubuntu 14.04 Sorry if my english is not clear.
Re: [hackathon] One week left to the first D Hackathon!
On Saturday, 18 April 2015 at 16:26:41 UTC, Andrei Alexandrescu wrote: Join us for one week starting Saturday April 25th for the first D Hackathon! The D Hackathon is one week of intense participation and collaboration on anything and everything related to the D programming language. All participants are encouraged to collaborate on the online forums (http://forum.dlang.org/group/digitalmars.D), github repos (https://github.com/D-Programming-Language), IRC (#d on irc.freenode.net, use your favorite IRC client or https://webchat.freenode.net). Please prepend forum posts related to hackathon with "[hackathon]". (There should be little else!) Complete n00bs are encouraged to participate (tell your friends!) and part of the purpose of the D Hackathon is to lower the barrier to entry for would-be collaborators by means of better documentation and tooling. Let's focus on creating a better, more inviting out-of-the-box experience for everyone, and above all a better D language. We'll officially measure hackathon results by the number of preexisting bugs fixed, but do feel free to work on anything you think is important to you. There is no other rule than getting good work done. See you in one week! Andrei Good day! May be it is silly question, but I can't understand. Can I take a part in hackaton remotely? And second question. Will hackaton's projects be published? Thank you. I'm sorry, if my english is not clear.
Re: Which D IDE do you use?(survey)
On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot your favorite $editor. http://goo.gl/forms/MmsuInzDL0 thanks : ) Where is results? Or do we see 'em after several days?
Re: std.allocator ready for some abuse
On Thursday, 26 February 2015 at 21:01:27 UTC, Piotrek wrote: Hi, Sorry for putting it here but I don't know where to file a bug report for the allocator project. On 32-bit linux with the latest dmd beta I get errors for ulong -> uint (size_t) conversions. dmd -main -unittest allocator.d allocator.d(2015): Error: cannot implicitly convert expression (i * 4096LU) of type ulong to uint allocator.d(2015): Error: cannot implicitly convert expression ((i + cast(ulong)blocks) * 4096LU) of type ulong to uint allocator.d(1743): Error: template instance std.allocator.HeapBlock!(4096u, 4u) allocator.d(331):instantiated from here: HeapBlock!(4096u, 4u) allocator.d(334): Error: template instance Segregator! long line> allocator.d(2015): Error: cannot implicitly convert expression (i * 128LU) of type ulong to uint allocator.d(2015): Error: cannot implicitly convert expression ((i + cast(ulong)blocks) * 128LU) of type ulong to uint allocator.d(1743): Error: template instance std.allocator.HeapBlock!(128u, 4u) , __ctmp2303).this(m)) error instantiating allocator.d(1342):instantiated from here: HeapBlock!(128u, 4u) allocator.d(1493): Error: cannot implicitly convert expression (x / 64LU) of type ulong to immutable(uint) allocator.d(1495): Error: cannot implicitly convert expression (y / 64LU) of type ulong to immutable(uint) allocator.d(1520): Error: cannot implicitly convert expression (x / 64LU) of type ulong to uint allocator.d(1526): Error: cannot implicitly convert expression (i) of type ulong to uint allocator.d(1527): Error: cannot implicitly convert expression (i) of type ulong to uint allocator.d(1544): Error: cannot implicitly convert expression (w) of type ulong to uint allocator.d(1553): Error: cannot implicitly convert expression (w) of type ulong to uint allocator.d(1572): Error: cannot implicitly convert expression (w) of type ulong to uint allocator.d(1582): Error: cannot implicitly convert expression (w) of type ulong to uint allocator.d(1607): Error: cannot implicitly convert expression (i) of type ulong to uint allocator.d(1615): Error: cannot implicitly convert expression (i) of type ulong to uint allocator.d(1627): Error: cannot implicitly convert expression (i) of type ulong to uint allocator.d(1633): Error: cannot implicitly convert expression (i) of type ulong to uint allocator.d(4143): Error: function std.allocator.roundUpToMultipleOf (uint s, uint base) is not callable using argument types (ulong, uint) Is it a known issue? Or are there currently only 64-bit OSes supported by the allocator project? Piotrek I think, that if use this project https://github.com/andralex/std_allocator/, than you can post the issue to related issue tracker. And I see, that types in traceback are different from source https://github.com/andralex/std_allocator/blob/master/source/std/allocator.d#L857. Maybe you need to upgrade package. Sorry, if my english isn't clear.
Re: std.allocator ready for some abuse
On Thursday, 12 February 2015 at 11:10:28 UTC, Paulo Pinto wrote: On Thursday, 12 February 2015 at 08:56:53 UTC, ANtlord wrote: On Wednesday, 11 February 2015 at 15:56:07 UTC, Andrei Alexandrescu wrote: On 2/11/15 4:55 AM, ANtlord wrote: On Monday, 17 February 2014 at 15:49:27 UTC, Andrei Alexandrescu wrote: On 2/17/14, 5:55 AM, Dicebot wrote: Andrei, what is current state of std.allocator? I am asking this in context of recent Walter Phobos proposal (ScopeBuffer) to evaluate how feasible is to define any relations between two at current stage. Progress on std.allocator is slow but I do have a plan. I don't think we should pull ScopeBuffer yet. Andrei Mr. Alexandrescu. What about std allocator? Is feature valuable? I've took a look in Wish List in wiki and Allocator still there. If this feature is valuable. What is left in currently implementation of your project? Can you tell about state, maybe show To Do list? Sorry, if my english is not clear. Thank you. Interface with garbage collector is to be done. The rest is usable right now. -- Andrei I thought, that general purpose of allocator it is memory management without garbage collector. Because allocator will be used in containers, and they must work without garbage collector. If no, what is difference between containers and arrays in current implementation of D? I assumed, that containers are need for increased performance within saving safety code. But a using GC will not increase performance. Or Am I dead wrong? You still need to cooperate with the GC and let it know which memory should be hands off, for example. Or just use it for the initial allocation and then ask it politely to release ownership of it. -- Paulo Aaa, thank you for explanation. I've got it. If the rest is usable right now and interface with GC. Why is not this module in std? Is it in queue for review?
Re: std.allocator ready for some abuse
On Wednesday, 11 February 2015 at 15:56:07 UTC, Andrei Alexandrescu wrote: On 2/11/15 4:55 AM, ANtlord wrote: On Monday, 17 February 2014 at 15:49:27 UTC, Andrei Alexandrescu wrote: On 2/17/14, 5:55 AM, Dicebot wrote: Andrei, what is current state of std.allocator? I am asking this in context of recent Walter Phobos proposal (ScopeBuffer) to evaluate how feasible is to define any relations between two at current stage. Progress on std.allocator is slow but I do have a plan. I don't think we should pull ScopeBuffer yet. Andrei Mr. Alexandrescu. What about std allocator? Is feature valuable? I've took a look in Wish List in wiki and Allocator still there. If this feature is valuable. What is left in currently implementation of your project? Can you tell about state, maybe show To Do list? Sorry, if my english is not clear. Thank you. Interface with garbage collector is to be done. The rest is usable right now. -- Andrei I thought, that general purpose of allocator it is memory management without garbage collector. Because allocator will be used in containers, and they must work without garbage collector. If no, what is difference between containers and arrays in current implementation of D? I assumed, that containers are need for increased performance within saving safety code. But a using GC will not increase performance. Or Am I dead wrong?
Re: std.allocator ready for some abuse
On Monday, 17 February 2014 at 15:49:27 UTC, Andrei Alexandrescu wrote: On 2/17/14, 5:55 AM, Dicebot wrote: Andrei, what is current state of std.allocator? I am asking this in context of recent Walter Phobos proposal (ScopeBuffer) to evaluate how feasible is to define any relations between two at current stage. Progress on std.allocator is slow but I do have a plan. I don't think we should pull ScopeBuffer yet. Andrei Mr. Alexandrescu. What about std allocator? Is feature valuable? I've took a look in Wish List in wiki and Allocator still there. If this feature is valuable. What is left in currently implementation of your project? Can you tell about state, maybe show To Do list? Sorry, if my english is not clear. Thank you.
Re: D support in Exuberant Ctags 5.8 for Windows
On Wednesday, 12 November 2014 at 20:33:32 UTC, Brian Schott wrote: On Tuesday, 11 November 2014 at 18:44:23 UTC, ANtlord wrote: I want to ask about Dscanner. Does it provide same formats as ctags. I use ctags with --excmd=pattern --fields=nksSa and output with them is different of Dscanner's output with key --ctags. The ctags output is implemented in this file: https://github.com/Hackerpilot/Dscanner/blob/master/src/ctags.d. It's less than 200 lines long so you should be able to modify it easily. It sounds good. I think, that I can figure out code and patch. Thank you)
Re: D support in Exuberant Ctags 5.8 for Windows
On Tuesday, 11 November 2014 at 18:56:29 UTC, Sergei Nosov wrote: On Tuesday, 11 November 2014 at 18:44:23 UTC, ANtlord wrote: Wake up dead topic! :) On Tuesday, 25 September 2012 at 04:22:13 UTC, p.crimsonsphere wrote: Hi there. So, anyway, have you found any live link to download Ctags 5.8 working for D programming language? I found here http://pastie.org/971968 and applied it to http://dfrank.ru/ctags581 I downloaded compiler for Ctags, I mean, BCC32 and failed to compile it. If anyone has a Ctags 5.8 or 5.81 for D language, please~ Regards. If it is actually, you can use that https://github.com/snosov1/ctags-d. I wanted to suggest this link as well (snosov1 is me). It is ctags 5.8 with the aforementioned patch applied and few other fixes on top. It's not perfect, but works reasonable. I didn't use Dscanner for that functionality much, but I expect it to have better quality. I use your project right now, and I must say, that works very well. But it does not parse constructors. And it is important. I've created issue in your project about this. I think, it reasonable, talk about this on github.
Re: D support in Exuberant Ctags 5.8 for Windows
Wake up dead topic! :) On Tuesday, 25 September 2012 at 04:22:13 UTC, p.crimsonsphere wrote: Hi there. So, anyway, have you found any live link to download Ctags 5.8 working for D programming language? I found here http://pastie.org/971968 and applied it to http://dfrank.ru/ctags581 I downloaded compiler for Ctags, I mean, BCC32 and failed to compile it. If anyone has a Ctags 5.8 or 5.81 for D language, please~ Regards. If it is actually, you can use that https://github.com/snosov1/ctags-d. I want to ask about Dscanner. Does it provide same formats as ctags. I use ctags with --excmd=pattern --fields=nksSa and output with them is different of Dscanner's output with key --ctags. Sorry, if my english is not clear.