Re: Coloring terminal output.
On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote: I've made a simple port of ruby's colorize library for D. I'd greatly appreciate any feedback. Windows isn't supported, yet. Cool! Would it be hard to add windows support? Windows support added. It relies on a partial ANSI/VT100 interpreter to allow colors to stay in the string.
Re: New DCD and D-Scanner betas
Could you help me to get work DCD and DScanner with Sublime in last version. I see that after building now I am getting binary with name DScanner.exe instead of DCD-Server. How to get them work?
Re: Coloring terminal output.
On Thursday, 31 July 2014 at 09:37:25 UTC, ponce wrote: On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote: I've made a simple port of ruby's colorize library for D. I'd greatly appreciate any feedback. Windows isn't supported, yet. Cool! Would it be hard to add windows support? Windows support added. It relies on a partial ANSI/VT100 interpreter to allow colors to stay in the string. I tried to build on Windows example and get on console next: D:\code\dappcolor.exe ←[34mThis is blue←[0m
DMD v2.066.0-rc1
DMD v2.066.0-rc1 binaries are available for testing: http://wiki.dlang.org/Beta_Testing
Re: Coloring terminal output.
On Thursday, 31 July 2014 at 12:09:41 UTC, Suliman wrote: On Thursday, 31 July 2014 at 09:37:25 UTC, ponce wrote: On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote: I've made a simple port of ruby's colorize library for D. I'd greatly appreciate any feedback. Windows isn't supported, yet. Cool! Would it be hard to add windows support? Windows support added. It relies on a partial ANSI/VT100 interpreter to allow colors to stay in the string. I tried to build on Windows example and get on console next: D:\code\dappcolor.exe ←[34mThis is blue←[0m You have to use cwrite/cwritef/cwriteln/cwritefln, and it's not yet in the examples.
Re: dfuse 0.3.0 - D Language bindings for Fuse
Am Wed, 30 Jul 2014 17:05:20 + schrieb David Soria Parra davi...@fb.com: Hi, We are happy to announce the release of 'dfuse', a high level D language binding for fuse (http://fuse.sourceforge.net). It supports libfuse = 2.8 and works on both Linux and MacOS (osxfuse). You can find the project at: https://github.com/facebook/dfuse We at Facebook have been working on dfuse for the last weeks and are actively using it in production. While the interface is still limited, we hope to work towards a full featured fuse binding. If you want to get involved, feel free to sent pull requests, submit issues and direct any questions about dfuse to the D mailinglist or ping 'dsop' on IRC. - David Soria Parra Awesome! Will this be added to code.dlang.org? There's a question on reddit regarding performance. I'd guess performance should be quite good in general, but the simple example throws/allocates* Exceptions on missing files. Does this perform well enough? * I guess in this case you could 'cache' the exception in a global variable, but druntime still allocates the stack trace (only once though). Druntime uses some tricks to avoid these allocations for OutOfMemory errors and this trick should probably work for dfuse as well, but I still wonder if it isn't easier to simply return a result code from getattr and readdir.
Re: dfuse 0.3.0 - D Language bindings for Fuse
Am 31.07.2014 16:00, schrieb Johannes Pfau: Am Wed, 30 Jul 2014 17:05:20 + schrieb David Soria Parra davi...@fb.com: Hi, We are happy to announce the release of 'dfuse', a high level D language binding for fuse (http://fuse.sourceforge.net). It supports libfuse = 2.8 and works on both Linux and MacOS (osxfuse). You can find the project at: https://github.com/facebook/dfuse We at Facebook have been working on dfuse for the last weeks and are actively using it in production. While the interface is still limited, we hope to work towards a full featured fuse binding. If you want to get involved, feel free to sent pull requests, submit issues and direct any questions about dfuse to the D mailinglist or ping 'dsop' on IRC. - David Soria Parra Awesome! Will this be added to code.dlang.org? Funnily, a FUSE bindings package was added just some days ago: http://code.dlang.org/packages/fuse Initially, I thought that would be the same package, but it's not.
Re: Coloring terminal output.
On Thursday, 31 July 2014 at 13:45:45 UTC, ponce wrote: On Thursday, 31 July 2014 at 12:09:41 UTC, Suliman wrote: On Thursday, 31 July 2014 at 09:37:25 UTC, ponce wrote: On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote: I've made a simple port of ruby's colorize library for D. I'd greatly appreciate any feedback. Windows isn't supported, yet. Cool! Would it be hard to add windows support? Windows support added. It relies on a partial ANSI/VT100 interpreter to allow colors to stay in the string. I tried to build on Windows example and get on console next: D:\code\dappcolor.exe ←[34mThis is blue←[0m You have to use cwrite/cwritef/cwriteln/cwritefln, and it's not yet in the examples. Now, I had used examples from github. Would it's possible to add support of color to classical writeln?
Re: Coloring terminal output.
On Thursday, 31 July 2014 at 17:01:22 UTC, Suliman wrote: On Thursday, 31 July 2014 at 13:45:45 UTC, ponce wrote: On Thursday, 31 July 2014 at 12:09:41 UTC, Suliman wrote: On Thursday, 31 July 2014 at 09:37:25 UTC, ponce wrote: On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote: I've made a simple port of ruby's colorize library for D. I'd greatly appreciate any feedback. Windows isn't supported, yet. Cool! Would it be hard to add windows support? Windows support added. It relies on a partial ANSI/VT100 interpreter to allow colors to stay in the string. I tried to build on Windows example and get on console next: D:\code\dappcolor.exe ←[34mThis is blue←[0m You have to use cwrite/cwritef/cwriteln/cwritefln, and it's not yet in the examples. Now, I had used examples from github. Would it's possible to add support of color to classical writeln? Not for writing to a classic windows cmd.exe as it doesn't support ANSI/VT100 escape sequences. Either use a better terminal or perhaps try this: https://github.com/adoxa/ansicon
New GDC site now live
Hi, GDC's revamped site is now live! http://gdcproject.org Techy details for those who are interested: - Uses vibe.d as the web engine. - Pages are written in markdown and compiled at runtime (separate thread that watches for file changes). - Redis memstore backend for caching compiled pages. - Uses bootstrap for UI. There's also now a GDC process explorer available to try out! http://explore.dgnu.org I'm still fine tuning some details of the set-up. However it is available for anyone to try, on the basis that you'll be sensible using it. Enjoy! Regards Iain.
Re: dfuse 0.3.0 - D Language bindings for Fuse
On Thursday, 31 July 2014 at 14:02:28 UTC, Johannes Pfau wrote: Awesome! Will this be added to code.dlang.org? There's a question on reddit regarding performance. I'd guess performance should be quite good in general, but the simple example throws/allocates* Exceptions on missing files. Does this perform well enough? * I guess in this case you could 'cache' the exception in a global variable, but druntime still allocates the stack trace (only once though). Druntime uses some tricks to avoid these allocations for OutOfMemory errors and this trick should probably work for dfuse as well, but I still wonder if it isn't easier to simply return a result code from getattr and readdir. Hi Johannes, the choice of using throw for exception was mostly to follow the python-fuse bindings which we initially used for a prototype. I agree that we could instead return a value for performance considerations. However there is a balance of how many errors you expect and, as far as I am concerned, the more convenient way of reporting errors using exceptions up the callstack.
Re: New GDC site now live
On 31 July 2014 18:34, Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hi, GDC's revamped site is now live! http://gdcproject.org See a mistake? Raise a pull request! https://github.com/D-Programming-GDC/gdcproject
Re: New GDC site now live
On 31 Jul 2014 19:35, Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hi, GDC's revamped site is now live! http://gdcproject.org Techy details for those who are interested: - Uses vibe.d as the web engine. - Pages are written in markdown and compiled at runtime (separate thread that watches for file changes). - Redis memstore backend for caching compiled pages. - Uses bootstrap for UI. There's also now a GDC process explorer available to try out! http://explore.dgnu.org I'm still fine tuning some details of the set-up. However it is available for anyone to try, on the basis that you'll be sensible using it. Enjoy! Regards Iain. Nice work. BTW: the code editor in the explorer stops allowing edits if compilation fails (or something like that) only tested on my phone though. -Rory
Re: DConf 2014: SDC, a D Compiler as a Library
On Saturday, 26 July 2014 at 00:10:50 UTC, Bill Baxter via Digitalmars-d-announce wrote: In the YouTube interface, click on the pencil icon (Info Settings) and there's a place to set what frame to use as a thumbnail there. --bb I don't think it needs to be changed :D
Re: SDC-32bit
On Tuesday, 29 July 2014 at 13:36:39 UTC, Stefan Koch wrote: Hello, I am happy to announce that my 32bit version of sdc compiles the whole testsuite including mixins. the only there are only 6 tests still failing 2 of them are dependent on size_t.siezof beeing 8. The otherer 4 have to do with execptoion handling. please check out the 32-branches on https://github.com/UplinkCoder/sdc and https://github.com/UplinkCoder/libd-llvm and https://github.com/UplinkCoder/libd I haven't yet updated the submodules so you have to fetch the 32-branch manually. and remember that this is experimental! please file issues on in my repo if your errors appear with both -m64 and -m32. if there are any questions please ask them. A bit late, but that is awesome. I need to go through all of this and am in holidays right now. #1 on the todo list when i come back.