Re: Anyone interested in embedding a JVM in their D app?
On 14/01/2015 3:00 p.m., james wrote: I've been playing with jni.h and D. I think I've got a fully working jni.d and I have the start of a nicer D wrapper around it with djvm.d. https://github.com/jamesmahler/djvm There is an example usage in the README.md. There's also why I'd do such a thing in there. I'm not sure if anyone else would be interested in this. I'm open to help and merge requests if anyone wants to join in. In the short term, I still have several low level things to wrap with the more D interfaces. In the longer term, I want to have D interfaces around JDBC. Definitely need to get JNI support first class. It definitely will help with getting D on Android.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. I have a comment which might apply to any effort called This Week in... My suggestion is to keep a very lighthearted attitude towards the idea of it being This Week. Almost tongue-in-cheek. While it's no doubt a service to be able to provide publications on such a regular basis, there is a very small bus factor here (knock on wood!). That being the case, there will inevitably be weeks, or even longer where no issue of This Week in... appears. For people who take the title too literal-mindedly, there might be a sense of emptiness or even anger when for a given week, you're simply not able to put together the issue, for whatever reason or reasons, good or bad. That said, I think it's a great title, actually. So long as it's always published with a tongue in cheek attitude, and with the idea that This Week really means the amount of time since the *last issue* of 'This Week...'! So long as everyone knows that whatever shenanigans occur between one issue and the next, This Week... will always arrive with the same humor about what it is and how often it actually appears. In other words, humor replaces what might be an overwhelming responsibility to actually publish the thing as designed. :-) I'm only speaking from my own experience regarding consistency and motivation for something without a lot of institutional backing.
Heady House Hunting with D
Hey everyone, I recently wrote a blog post about how I used D/vibe.d to help find a new house. I haven't publicized it anywhere else yet, so I'm looking forward to what the D community has to say! You can check it out here: http://philpax.me/blog/heady-house-hunting-with-d D made it easy to model the problem and quickly crunch through it; I'm pretty happy with how quickly I was able to get decent results. It's not the most idiomatic of code, but D's flexibility meant that I could concentrate on the concept instead of the implementation details. Thanks, Philpax
Re: Heady House Hunting with D
On 14/01/2015 4:46 p.m., Philpax wrote: Hey everyone, I recently wrote a blog post about how I used D/vibe.d to help find a new house. I haven't publicized it anywhere else yet, so I'm looking forward to what the D community has to say! You can check it out here: http://philpax.me/blog/heady-house-hunting-with-d D made it easy to model the problem and quickly crunch through it; I'm pretty happy with how quickly I was able to get decent results. It's not the most idiomatic of code, but D's flexibility meant that I could concentrate on the concept instead of the implementation details. Thanks, Philpax When I first saw this thread I thought it was spam. Nope! Definitely would be interesting to see this as a full blown comparison site, like there is for flight.
Re: Heady House Hunting with D
On 01/13/2015 10:56 PM, Rikki Cattermole wrote: On 14/01/2015 4:46 p.m., Philpax wrote: Hey everyone, I recently wrote a blog post about how I used D/vibe.d to help find a new house. I haven't publicized it anywhere else yet, so I'm looking forward to what the D community has to say! You can check it out here: http://philpax.me/blog/heady-house-hunting-with-d Definitely would be interesting to see this as a full blown comparison site, like there is for flight. Yea, definitely. The listing sites from the realty companies are truly horrible (and a very solid case IMO for why the web should be plain-old-data, not dynamic/rich-content). A sane front-end for all their goofy bloated half-broken crap would be great for anyone facing the royal pain of house hunting.
Re: This Week in D, issue 1
On 1/13/15 8:57 PM, Zach the Mystic wrote: That being the case, there will inevitably be weeks, or even longer where no issue of This Week in... appears. We're aiming for a clockwork weekly schedule. Sure, some weeks will be more interesting than others but there will be an update every week. -- Andrei
Re: This Week in D, issue 1
On Wednesday, 14 January 2015 at 06:17:35 UTC, Zach the Mystic wrote: Great to know this is a collaborative effort. Suggestion, though: Every month, call it This Month in D, and summarize the big picture. Putting this out every week without summarizing larger amounts of thought and energy will probably feel too frenetic. Creativity moves in arcs of differing duration. Likewise, chunks of Months - This Season in D every three months. Or adapt as necessary, according to your gut.
Re: This Week in D, issue 1
On Wednesday, 14 January 2015 at 05:52:45 UTC, Andrei Alexandrescu wrote: On 1/13/15 8:57 PM, Zach the Mystic wrote: That being the case, there will inevitably be weeks, or even longer where no issue of This Week in... appears. We're aiming for a clockwork weekly schedule. Sure, some weeks will be more interesting than others but there will be an update every week. -- Andrei Great to know this is a collaborative effort. Suggestion, though: Every month, call it This Month in D, and summarize the big picture. Putting this out every week without summarizing larger amounts of thought and energy will probably feel too frenetic. Creativity moves in arcs of differing duration. Likewise, chunks of Months - This Season in D every three months.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 16:12:50 UTC, Andrei Alexandrescu wrote: Idea: put everything in a subdir on dlang.org on our github repo. The newsletter becomes part of the website. -- Andrei Yeah, that's a good idea. I think I might make a github with the drafts and helper tools, then do a dlang.org PR for each publication, and we'll start hosting it from there too next week.
Re: This Week in D, issue 1
First draft of the rss feed: http://arsdnet.net/this-week-in-d/twid.rss
Re: This Week in D, issue 1
Michal Minich, el 13 de January a las 14:29 me escribiste: Though RSS/Atom would be really necessary! +1, this is a must! Thanks for the effort, great wrap up! -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- PENE MUTILADO POR PENETRAR UNA ASPIRADORA -- Crónica TV
Re: This Week in D, issue 1
bearophile, el 13 de January a las 14:28 me escribiste: Adam D. Ruppe: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html Seems good. Major Changes = They are weekly, so perhaps Changes is enough. If you can, add two or three little images to the page, like here: https://sergeytihon.wordpress.com/category/f-weekly/ If you need inspiration, this is what LLVM do: http://blog.llvm.org/2015/01/llvm-weekly-54-jan-12th-2015.html -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- La terapia no sirve: es mucho mejor pagar para hacer las perversiones que para contarlas. -- Alberto Giordano (filósofo estilista)
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. Thanks for this, I love being able to quickly see what major changes are happening in D.
Re: Visual D 0.3.40 released
On 09.01.2015 10:34, Daniel N wrote: On Thursday, 1 January 2015 at 22:00:03 UTC, Rainer Schuetze wrote: Happy new year! Just the right time for a new release of Visual D! This version features Awesome! In order to make it easier for new users, the documentation could mention that Visual Studio Community 2013 is a viable choice, there's no need to use 'Express' for C++ and 'Shell' for D. Thanks for the hint, I have now updated the documentation.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! Nice work, Adam! (as usual). I'm already looking forward to the next one :) Mike
Re: Binutils 2.25 Released - New D demangling support
On 2015-01-13 22:31, Iain Buclaw wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to come with D demangling support in the GNU toolchain. Is this something what will work on OS X? I'm not sure how much of the GNU toolchain is still being used. -- /Jacob Carlborg
Re: This Week in D, issue 1
On Tue, 13 Jan 2015 17:30:52 + Adam D. Ruppe via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: First draft of the rss feed: http://arsdnet.net/this-week-in-d/twid.rss looking nice. and seems to work too. ;-) signature.asc Description: PGP signature
Re: D port of the Dynamic Window Manager (DWM)
On Sunday, 11 January 2015 at 14:08:26 UTC, Dicebot wrote: On Monday, 5 January 2015 at 06:17:03 UTC, stewart h wrote: Hi, I've ported DWM to D as a learning exercise and thought I'd share it. The repository can be found here: https://bitbucket.org/growlercab/ddwm (Beware, I've only tested it on Arch-Linux 64 bit for about 1 day!) DWM is a minimalist dynamic window manager from suckless. More details on DWM can be found here http://dwm.suckless.org/ The cport branch is where I've done as little as possible to port the C code to D. It really looks like C code and is basically the DWM code compiling with DMD. Under the Downloads section is a build of ddwm-cport to try out if anyone is interested, or build from source as it's pretty easy with dub. The master branch is where I'm learning D, trying new Phobos functions and D style coding. I'm then comparing how the D-style version performs with DDWM.cport and the original DWM in terms of speed and memory. I don't expect the master branch to be stable but cport should work fine. Cheers, Stew Would you be interested in going full fork mode and adding new features to D version? I am big fan of tiling window managers and having one that is written in D and I can easily extend sounds tempting :3 That is my long term goal for this project. I am currently using the project to learn D and Phobos by doing things like replacing for-loops with std.algorithm calls etc. It's an unnecessary step but I'm finding it useful coming from C/C++. Once I get into the swing of D a bit more I will be looking to replace whole parts with new D code and adding new features. First off will probably be run time configuration and very basic theme support. I'm also keen to experiment with dispatch mechanism so it uses Phobos std.concurrency or std.signals...or both! There are still some unresolved performance issues in D-DWM but they're low priority ATM. For example the c-port branch is basically DWM compiled with DMD and yet bringing up xterm (it's a fork()/execvp() in the code) takes far longer with D-DWM than it does in original C-DWM. Cheers, Stew
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. Nice stuff. Definitely going into my feed reader. This really helps to keep track of what's going on. Especially since I don't have time to parse the forum posts. Thanks Joseph
Anyone interested in embedding a JVM in their D app?
I've been playing with jni.h and D. I think I've got a fully working jni.d and I have the start of a nicer D wrapper around it with djvm.d. https://github.com/jamesmahler/djvm There is an example usage in the README.md. There's also why I'd do such a thing in there. I'm not sure if anyone else would be interested in this. I'm open to help and merge requests if anyone wants to join in. In the short term, I still have several low level things to wrap with the more D interfaces. In the longer term, I want to have D interfaces around JDBC.
Re: This Week in D, issue 1
On Tue, 13 Jan 2015 14:08:57 + Adam D. Ruppe via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. can we haz a cheeseburger^w rss for it? please! ;-) signature.asc Description: PGP signature
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html This is great! I was really hoping for this weekly or by-weekly summary of D ecosystem. These days I don't have time to keep up with the forums, and maybe I'm not the only one. I wish you many readers. Though RSS/Atom would be really necessary! Thank you!
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:28:56 UTC, aldanor wrote: Great stuff :) Are you planning to make the content open-source so others could suggest edits more easily? Will there be an archive? use D wiki for it?
Re: This Week in D, issue 1
On Tue, 13 Jan 2015 14:08:57 + Adam D. Ruppe via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. as for the thing itself: i like it! it looking nice, it informative and fun to read. thank you! signature.asc Description: PGP signature
Re: DConf 2015 Call for Submissions is now open
On 13 January 2015 at 10:51, Joakim via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Tuesday, 13 January 2015 at 07:30:22 UTC, Brad Anderson wrote: On Tuesday, 13 January 2015 at 00:22:33 UTC, Mike wrote: I have a suggestion for any compiler implementers: How about a talk on how to get started hacking the compiler. Something that may lower the entry barrier and encourage participation. Some random thoughts: * General structure of the compiler * Walk through the data flow: Lexer - parser - AST - backend * How to add a new compiler switch (e.g. -fnotypeinfo) * How to add a new attribute (e.g. @notypeinfo) * What's your workflow for debugging the compiler? * Pick a bug, and fix it (Live demo) * Overview of CTFE and how it's implemented * (I'm sure you can think of more) I realize there's documentation on the wiki, and some of this was discussed briefly at DConf2013, but there's more that can be done to make it accessible and interesting. Mike Sounds like a good subject for Daniel Murphy to talk about. He spent a good hour explaining to me how a linker works in the Aloft bar after most people had retired (thanks for that, Daniel) and he certainly knows dmd extremely well. I second the vote for Daniel, as he seems fairly opinionated online and might make for a good speaker. I didn't even know if he goes to DConf, as he's never given a talk at the recent ones. Daniel prefers to talk through other peoples talks. :o)
This Week in D, issue 1
I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. Great stuff :) Are you planning to make the content open-source so others could suggest edits more easily? Will there be an archive?
Re: This Week in D, issue 1
Adam D. Ruppe: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html Seems good. Major Changes = They are weekly, so perhaps Changes is enough. If you can, add two or three little images to the page, like here: https://sergeytihon.wordpress.com/category/f-weekly/ Bye, bearophile
Re: This Week in D, issue 1
Cool stuff :) Out if curiosity - how much of your effort/time did it take to make it?
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:46:51 UTC, Adam D. Ruppe wrote: On Tuesday, 13 January 2015 at 14:17:18 UTC, ketmar via Digitalmars-d-announce wrote: can we haz a cheeseburger^w rss for it? please! ;-) Ah, I'll have to write one. Andrei mentioned that'd be one benefit of using something like WordPress, but I was like meh, the content is the hard part, I'll just use ddoc. I didn't even consider rss (I've never actually used it myself...) But it shouldn't be hard to slap something together. RSS is pretty elegant in its simplicity, it is just a matter of generating .xml document that matches generated news feed. It can probably even be done by DDOC too.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:36:54 UTC, Daniel Kozak wrote: Some of links in Significant Forum Discussions section doesn`t work Ooooh there's $1 and $2 in the links and ddoc thinks those are arguments instead of literal dollar signs. Joy. Fixed now if you want to refresh the page. Thanks for pointing it out!
Re: DConf 2015 Call for Submissions is now open
On Tuesday, 13 January 2015 at 07:30:22 UTC, Brad Anderson wrote: On Tuesday, 13 January 2015 at 00:22:33 UTC, Mike wrote: I have a suggestion for any compiler implementers: How about a talk on how to get started hacking the compiler. Something that may lower the entry barrier and encourage participation. Some random thoughts: * General structure of the compiler * Walk through the data flow: Lexer - parser - AST - backend * How to add a new compiler switch (e.g. -fnotypeinfo) * How to add a new attribute (e.g. @notypeinfo) * What's your workflow for debugging the compiler? * Pick a bug, and fix it (Live demo) * Overview of CTFE and how it's implemented * (I'm sure you can think of more) I realize there's documentation on the wiki, and some of this was discussed briefly at DConf2013, but there's more that can be done to make it accessible and interesting. Mike Sounds like a good subject for Daniel Murphy to talk about. He spent a good hour explaining to me how a linker works in the Aloft bar after most people had retired (thanks for that, Daniel) and he certainly knows dmd extremely well. I second the vote for Daniel, as he seems fairly opinionated online and might make for a good speaker. I didn't even know if he goes to DConf, as he's never given a talk at the recent ones. He could talk about dmdfe's structure and the magicport/ddmd effort would also make for good material. Do we know if the DConf 2015 talks will be recorded? Walter said earlier in this thread that they're arranging something, though he's not sure about live-streaming yet.
Re: DConf 2015 Call for Submissions is now open
On Tuesday, 13 January 2015 at 00:22:33 UTC, Mike wrote: On Sunday, 11 January 2015 at 20:17:25 UTC, Iain Buclaw via Digitalmars-d-announce wrote: On 10 January 2015 at 20:15, Walter Bright via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 1/10/2015 9:50 AM, Andrei Alexandrescu wrote: On 1/10/15 9:49 AM, Andrei Alexandrescu wrote: On 1/10/15 8:15 AM, Iain Buclaw via Digitalmars-d-announce wrote: In any event, are you doing flash talks this year? I don't think I could find something to spend more than 15 minutes talking about this year. Yes. -- Andrei I should add that gdc is a topic of much interest so pretty much anything you say would be interesting. I compel you to prepare a full talk. -- Andrei I agree. There's no way you don't have interesting things to talk about! For example, what is your process for integrating dmd changes into gdc? What are the advantages/disadvantages of gdc? What are the biggest challenges you face working on gdc? What's the hardest problem you solved with gdc? How can others help out? Etc. Talking about that probably extends a possible talk to 30 minutes, covering two subjects. :o) I have a suggestion for any compiler implementers: How about a talk on how to get started hacking the compiler. Something that may lower the entry barrier and encourage participation. Some random thoughts: * General structure of the compiler * Walk through the data flow: Lexer - parser - AST - backend * How to add a new compiler switch (e.g. -fnotypeinfo) * How to add a new attribute (e.g. @notypeinfo) * What's your workflow for debugging the compiler? * Pick a bug, and fix it (Live demo) * Overview of CTFE and how it's implemented * (I'm sure you can think of more) I realize there's documentation on the wiki, and some of this was discussed briefly at DConf2013, but there's more that can be done to make it accessible and interesting. Mike I would really like this. It would be difficult to know what level to target it at though.
Re: We're looking for a Software Developer! (D language)
Why don't you post this on LinkedIn's D Developer Network group?
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:28:21 UTC, bearophile wrote: Major Changes = They are weekly, so perhaps Changes is enough. I put a qualifier on it because it isn't an exhaustive list: it is actually just a list of stuff that jumped out at me looking at a diff on the changelog or following the merged PRs. So kinda arbitrary based on what I happened to see. Similarly, the forum post links are based on ones that I saw pop up a lot - so the more replies it got, the more likely I was to notice it. A lot of all threads was something I thought about, but it would be awfully long and probably boring, you can see that by just going to forum.dlang.org. On the other hand though, since it is based on my gut feeling, it is arbitrary and biased so I didn;t want to give too much of an impression that this is everything or everything that mattered. (similarly, if your thread was left out, I'm not saying it was low quality, it just means I didn't happen to see it/think of it when writing this up) If you can, add two or three little images to the page, like here: I'll see what I can do.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:47:15 UTC, Dicebot wrote: Out if curiosity - how much of your effort/time did it take to make it? A few hours (about five) for this first one. I'm hoping each subsequent one will be about one hour. (I was behind schedule not because it took a long time to do, but just because I've had a lot of other things to do too.) I spent like an hour just trying to find a bugzilla search that was meaningful. Then I manually copy/pasted the links in, put a bit of css style on it over the next hour or so, then wrote up the longer text portions and edited a bit more over the next hour. But now that I have the basic layout and know how to get the stats I want, I'll either simply copy/paste them as a starting point for next time or write a little program to auto-generate that stuff and manually cut it down to size.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:48:44 UTC, Dicebot wrote: It can probably even be done by DDOC too. Probably, I'll do a helper program though. BTW the tip of the week and project spotlight sections are something I put in to keep this interesting to people who follow the forums and are familiar with the rest of the stuff, so I'm really looking forward to them. That'd be the main place I would want contributions, if only to keep me from talking about myself non-stop. I could fill those in for a year just by blabbing about each module in my misc. github, but then the reader might get the impression that this whole thing is my vanity project! Of course, that's what I'll do if nothing else is ready when it is publication time, but if any of you want to talk about yourselves and projects a bit, that'd be pretty great. BTW one commented out section here is FAQs and blog posts. My plan there is to highlight D.learn and SO questions that pop up a bunch and other, longer articles people write. I just didn't have any this week so I left it out, but hopefully we'll get some of those coming up too.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:28:56 UTC, aldanor wrote: Are you planning to make the content open-source so others could suggest edits more easily? Maybe. This first one is awfully ad-hoc, it is literally the result of me copy/pasting links and typing up a bit of prose. You can see the source code here: http://arsdnet.net/this-week-in-d/jan-12.dd But I do certainly want it easy to get contributions, I could try the wiki or github. I'm kinda leaning toward github since I don't actually want it edited once released, then we'll have a more stable look back too. Will there be an archive? Yes, once the links are up I won't take them down and I'll have a list of them on the index page.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 15:04:32 UTC, Adam D. Ruppe wrote: On Tuesday, 13 January 2015 at 14:28:56 UTC, aldanor wrote: Are you planning to make the content open-source so others could suggest edits more easily? Maybe. This first one is awfully ad-hoc, it is literally the result of me copy/pasting links and typing up a bit of prose. You can see the source code here: http://arsdnet.net/this-week-in-d/jan-12.dd But I do certainly want it easy to get contributions, I could try the wiki or github. I'm kinda leaning toward github since I don't actually want it edited once released, then we'll have a more stable look back too. Will there be an archive? Yes, once the links are up I won't take them down and I'll have a list of them on the index page. GitHub for sure!
Re: DConf 2015 Call for Submissions is now open
On Tuesday, January 13, 2015 14:39:42 Iain Buclaw via Digitalmars-d-announce wrote: Daniel prefers to talk through other peoples talks. :o) Or to work on the compiler during their talks. ;) - Jonathan M Davis
Re: DConf 2015 Call for Submissions is now open
On 1/12/15 11:30 PM, Brad Anderson wrote: Do we know if the DConf 2015 talks will be recorded? In all likelihood yes. -- Andrei
Re: This Week in D, issue 1
On 1/13/15 7:04 AM, Adam D. Ruppe wrote: On Tuesday, 13 January 2015 at 14:28:56 UTC, aldanor wrote: Are you planning to make the content open-source so others could suggest edits more easily? Maybe. This first one is awfully ad-hoc, it is literally the result of me copy/pasting links and typing up a bit of prose. You can see the source code here: http://arsdnet.net/this-week-in-d/jan-12.dd But I do certainly want it easy to get contributions, I could try the wiki or github. I'm kinda leaning toward github since I don't actually want it edited once released, then we'll have a more stable look back too. Will there be an archive? Yes, once the links are up I won't take them down and I'll have a list of them on the index page. Idea: put everything in a subdir on dlang.org on our github repo. The newsletter becomes part of the website. -- Andrei
Re: This Week in D, issue 1
On 1/13/15 6:46 AM, Adam D. Ruppe wrote: On Tuesday, 13 January 2015 at 14:17:18 UTC, ketmar via Digitalmars-d-announce wrote: can we haz a cheeseburger^w rss for it? please! ;-) Ah, I'll have to write one. Andrei mentioned that'd be one benefit of using something like WordPress, but I was like meh, the content is the hard part, I'll just use ddoc. I didn't even consider rss (I've never actually used it myself...) But it shouldn't be hard to slap something together. Either way would be great. Thanks. All - we're still working the kinks off the format, so please chime in with ideas. -- Andrei
Re: This Week in D, issue 1
On 1/13/15 6:08 AM, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. Great, thanks Adam! https://www.reddit.com/r/programming/comments/2sahfo/this_week_in_d_january_12_2015/ https://www.facebook.com/dlang.org/posts/998219806858367 https://twitter.com/D_Programming/status/555032226526556163 Andrei
Re: This Week in D, issue 1
Adam D. Ruppe, el 13 de January a las 17:30 me escribiste: First draft of the rss feed: http://arsdnet.net/this-week-in-d/twid.rss That was quick! Thanks. Works with Newsblur. A favicon would be nice :-D -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- Agitamos toda la zona de la paleta al horno, vemos que una luz nos atraviesa toda la zona intestinal... -- Sidharta Kiwi
DConf 2015: Chuck Allison to deliver keynote
http://dconf.org -- Andrei
Re: Binutils 2.25 Released - New D demangling support
On 1/13/15 1:51 PM, deadalnix wrote: This deserve to be on reddit. Ask, and ye shall receive. http://www.reddit.com/r/programming/comments/2sbxto/gnu_binutils_225_released_with_d_demangling/ Andrie
Re: Binutils 2.25 Released - New D demangling support
On 13 January 2015 at 22:07, Paul O'Neil via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: This looks great! Does this mean anything with respect to getting better demangling in GDB? This was first written for GDB (announced at DConf 2014) but without the template demangling. Then later migrated over to a libiberty - with template demangling (announced October 2014) that made it common code between both GDB and Binutils. Iain.
Re: Binutils 2.25 Released - New D demangling support
On 01/13/2015 05:22 PM, ketmar via Digitalmars-d-announce wrote: On Tue, 13 Jan 2015 17:07:02 -0500 Paul O'Neil via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: This looks great! Does this mean anything with respect to getting better demangling in GDB? it seems to be so. at least i see in git some words about using gdb demangler and such. Paying attention to the stack trace right in front of me shows properly demangled D names! Even more awesome! -- Paul O'Neil Github / IRC: todayman
Re: DConf 2015: Chuck Allison to deliver keynote
On Tuesday, 13 January 2015 at 19:44:38 UTC, Andrei Alexandrescu wrote: http://dconf.org -- Andrei Nice, he seems to be a nice guy and speaks very well! Matheus.
Re: This Week in D, issue 1
On 1/13/2015 7:15 AM, Adam D. Ruppe wrote: BTW one commented out section here is FAQs and blog posts. My plan there is to highlight D.learn and SO questions that pop up a bunch and other, longer articles people write. I just didn't have any this week so I left it out, but hopefully we'll get some of those coming up too. Having a Question of the Week section would be a nice feature!
Re: This Week in D, issue 1
On 1/13/2015 6:08 AM, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. Very nice work! Thank you!
Binutils 2.25 Released - New D demangling support
Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to come with D demangling support in the GNU toolchain. Unfortunately, I forgot to send in patches that actually document it! So for the moment, it's a little secret feature shared between all who may read this. :o) How do you use it? --- By default, binutils programs will treat all mangled symbols as C++, however you can override this by using --demangle=dlang, eg: objdump -d --demangle=dlang prog.o nm --demangle=dlang ddmd You can also kickstart your usage by putting -L--demangle=dlang in your dmd.conf, and watch your obscure linker errors turn into pretty function signatures. How do I get it? --- The release itself is a source package, however a safer choice is to get the release binaries through your Linux distributor. Fortunately, there have been distributions who have been shipping it as early as three weeks ago. Archlinux users: I'd imagine this is available to use now. Ubuntu users: You'll have to wait until April with the 15.04 release. Bugs and Fixes --- Whilst the demangler is able to handle all things core.demangle can do (and a little bit more!), a small test of running nm against the ddemangle program that gets shipped with dmd 2.066 shows that there are still plenty of complex template symbols that it still can't manage. The implementation itself is pretty straightforward to follow, well documented and written in C. Volunteers who wish to help out getting as close to 99.99% coverage as possible are welcome! Enjoy! Iain.
Re: Binutils 2.25 Released - New D demangling support
On Tue, 13 Jan 2015 21:31:14 + Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to come with D demangling support in the GNU toolchain. Unfortunately, I forgot to send in patches that actually document it! So for the moment, it's a little secret feature shared between all who may read this. :o) wow! this is great news! i'm off to rebuild my binutils package. ;-) signature.asc Description: PGP signature
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jan-12.html Great idea, hope the project will take off! One thing: I found the link coloring to be _very_ counter-intuitive. So much so that I in fact had to fire up the dev tools to figure out why some of the links were blue and some of them green. Since the default link color on pretty much all platforms is blue, green inevitably breaks with the user expectation that visited links are styled in some shade similar to the main link color. Overriding just the :visited color is questionable anyway. David
Re: Binutils 2.25 Released - New D demangling support
On 13 January 2015 at 21:39, Kiith-Sa via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Tuesday, 13 January 2015 at 21:31:15 UTC, Iain Buclaw wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to come with D demangling support in the GNU toolchain. Unfortunately, I forgot to send in patches that actually document it! So for the moment, it's a little secret feature shared between all who may read this. :o) How do you use it? --- By default, binutils programs will treat all mangled symbols as C++, however you can override this by using --demangle=dlang, eg: objdump -d --demangle=dlang prog.o nm --demangle=dlang ddmd You can also kickstart your usage by putting -L--demangle=dlang in your dmd.conf, and watch your obscure linker errors turn into pretty function signatures. Could you add this note somewhere visible into the wiki so it doesn't get lost? Also, could DMD do this by default if available so it works out of the box? This can be done, but I'd rather it be added later instead of now when it is more likely that the reader is running a system that has binutils 2.25+ installed. For having this as default dmd.conf setting in future DMD releases, there will have to be an even longer waiting period of at least a year and a bit before it gets added. This will allow users to upgrade to their systems to a version of binutils which supports this feature, otherwise you are risking (in their eyes) breaking DMD with no obvious good reason. The auto-tester build systems will need to be upgraded also... Iain.
Re: Binutils 2.25 Released - New D demangling support
This looks great! Does this mean anything with respect to getting better demangling in GDB? -- Paul O'Neil Github / IRC: todayman
Re: Binutils 2.25 Released - New D demangling support
On Tuesday, 13 January 2015 at 21:31:15 UTC, Iain Buclaw wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to come with D demangling support in the GNU toolchain. Unfortunately, I forgot to send in patches that actually document it! So for the moment, it's a little secret feature shared between all who may read this. :o) How do you use it? --- By default, binutils programs will treat all mangled symbols as C++, however you can override this by using --demangle=dlang, eg: objdump -d --demangle=dlang prog.o nm --demangle=dlang ddmd You can also kickstart your usage by putting -L--demangle=dlang in your dmd.conf, and watch your obscure linker errors turn into pretty function signatures. Could you add this note somewhere visible into the wiki so it doesn't get lost? Also, could DMD do this by default if available so it works out of the box?
Re: Binutils 2.25 Released - New D demangling support
This deserve to be on reddit.
Re: Binutils 2.25 Released - New D demangling support
On Tue, 13 Jan 2015 17:07:02 -0500 Paul O'Neil via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: This looks great! Does this mean anything with respect to getting better demangling in GDB? it seems to be so. at least i see in git some words about using gdb demangler and such. signature.asc Description: PGP signature
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 21:55:27 UTC, David Nadlinger wrote: On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jan-12.html Great idea, hope the project will take off! One thing: I found the link coloring to be _very_ counter-intuitive. So much so that I in fact had to fire up the dev tools to figure out why some of the links were blue and some of them green. Since the default link color on pretty much all platforms is blue, green inevitably breaks with the user expectation that visited links are styled in some shade similar Perhaps I misunderstood you. But here all links on that page are blue, even the visited ones. I didn't see any green link there, the only green text that I can see there, are the comments in the code examples. PS: I'm using Firefox. Matheus.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 23:20:49 UTC, MattCoder wrote: Perhaps I misunderstood you. But here all links on that page are blue, even the visited ones. I didn't see any green link there, the only green text that I can see there, are the comments in the code examples. http://arsdnet.net/this-week-in-d/twid.css has --- a:visited { color: green; } --- No idea why it's not rendering for you. David
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 23:28:29 UTC, David Nadlinger wrote: http://arsdnet.net/this-week-in-d/twid.css has --- a:visited { color: green; } --- No idea why it's not rendering for you. Sorry, I was using Incognito Mode while I was browsing and yes the visited link is green and you're right about your claim. I think it should let the default color (purple) in this case. Matheus.
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 23:28:29 UTC, David Nadlinger wrote: a:visited { color: green; } Yeah, I think purple is kinda hard to read and wanted to change it but maybe that was a mistake.