Re: New blog about D
On Monday, 28 September 2015 at 14:26:35 UTC, Chris wrote: It's best to keep it as general as possible (within reason). There is the temptation to think like an engineer and be very specific, but this will only attract a small audience, i.e. those that look for "vector swizzling". IMO, it makes more sense to have the article come up, when somebody types "game development vectors" or "game development dlang". And don't forget that a good title catches the reader's attention when s/he just skims through a homepage / search results, regardless of whether or not s/he's looking for "vector swizzling". I really don't like blog posts that have overly broad titles when the subject matter is technical. I think the title should be as specific as possible so that I know if it's something I care about. If I see a general title about game development that refers to something that only touches a specific aspect of it, one that I'm not interested in, I'll just feel like I've wasted my time. Moreover, when I am doing a search for something specific, the blog title is often all I pay attention to as I can the search results. A more specific title helps out a lot.
Re: A new article about working with files in D
On 9/28/2015 4:41 AM, Gary Willoughby wrote: Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/ Dazz!
Re: A new article about working with files in D
On Monday, 28 September 2015 at 14:05:42 UTC, bachmeier wrote: This is the best way to market the language, by making it easy to do practical things. Good work. This is my thoughts exactly and why I wrote this article. Why I read the Go article which inspired this one I was shocked by how awful it was compared to working with files in D. Yes, Go has a few more functions available but all are a bit clunky to work with. D on the other hand is always simple and elegant.
Re: This Week in D #37 - forum tutorials and tip on using UDAs
On Monday, 28 September 2015 at 13:03:50 UTC, Adam D. Ruppe wrote: This Week in #Dlang - new bugfix release, Windows driver, Azure+vibe tutorial, tip on uda transformations + mixin templates http://arsdnet.net/this-week-in-d/sep-27.html The tip here is one I've been talking about on irc a little and decided to write up this time. Using a mixin template to hold the source code of a thing to be transformed is something I think is kinda cool though I haven't actually used it in a real project yet. (Actually, I've barely used UDAs in the real world at all yet. I was so excited for them when they were new, but it took so long to materialize that I found other ways to do my stuff and now haven't transitioned!) Really cool trick. I had to run it and look at the output to really understand though! Atila
Re: New blog about D
On Monday, 28 September 2015 at 13:12:35 UTC, Chris wrote: On Monday, 28 September 2015 at 12:14:56 UTC, Márcio Martins wrote: On Monday, 28 September 2015 at 11:53:28 UTC, Vladimir Panteleev wrote: On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... You can reach it http://www.mmartins.me Hi, If you can create an RSS or ATOM feed for D posts, I can add your blog to Planet D: http://planet.dsource.org/ I haven't had time to implement feeds, yet. Will probably do it over of this week. You're welcome :-) Is there a way you can incorporate keywords for search engines and some meta tags like ? I built the platform with support for a bunch of meta content, including keywords for the blog, and also per post, but I think I didn't set them up in the content, yet. Will look into that when I look into improving SEO. I will make sure I can also change the title and 301 redirect the current link to the new one :) I have limited time to work on this, so I have to balance between improving the blog and writing new posts :)
Re: A new article about working with files in D
On Monday, 28 September 2015 at 17:15:38 UTC, Gary Willoughby wrote: On Monday, 28 September 2015 at 14:05:42 UTC, bachmeier wrote: This is the best way to market the language, by making it easy to do practical things. Good work. This is my thoughts exactly and why I wrote this article. Why I read the Go article which inspired this one I was shocked by how awful it was compared to working with files in D. Yes, Go has a few more functions available but all are a bit clunky to work with. D on the other hand is always simple and elegant. Cool! More Articles
Re: A new article about working with files in D
On Monday, 28 September 2015 at 11:41:37 UTC, Gary Willoughby wrote: Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/ BTW, I thought of something for your hidden treasure series, something that's actually hidden: std.internal.test.dummyrange It's great for easily testing range based code with many different types of ranges.
Re: This Week in D #37 - forum tutorials and tip on using UDAs
On Monday, 28 September 2015 at 13:06:37 UTC, John Colvin wrote: https://github.com/DlangScience/design/blob/master/design.pdf BTW there is a plot thing David Simcha did years ago: http://code.dlang.org/packages/plot2kill I don't know how good it is though, I've never actually used it. That page 6 bit is cool too, nice stuff.
Re: A new article about working with files in D
On Monday, 28 September 2015 at 11:41:37 UTC, Gary Willoughby wrote: Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/ This is the best way to market the language, by making it easy to do practical things. Good work.
Re: A new article about working with files in D
On Monday, 28 September 2015 at 11:41:37 UTC, Gary Willoughby wrote: Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/ Cool.
Re: New blog about D
On Monday, 28 September 2015 at 13:20:54 UTC, Mike Parker wrote: On Monday, 28 September 2015 at 10:02:20 UTC, Chris wrote: Hi, I've just read the post. It's nice, it doesn't waste the reader's time and comes straight to the point (apart from highlighting D's strength). I agree, however, that the title could have been better in terms of attracting readers. Since you mention game programming, maybe it would be good to mention it somehow in the title, something to this effect: "A common problem in game programming and how D solved it" or something like that. In this way someone who's interested in game programming may read it or at least take note of the fact that D is mentioned in the context of game programming (and offers solutions). You would want to think less like an engineer when writing and more like an editor / PR guy who wants to get readers interested. Good headlines are the most difficult part. I think it's a perfect title. "vector swizzling" is a common term for anyone working with the graphics side of games and is also applicable outside of games development for any graphics programming. Good keyword title. "Vector swizzling" should definitely be mentioned in the keywords or a in a sub heading. But IMO "game development" should be in the headline, or "graphics programming", although I think "game development" would attract a wider audience than "graphics programming". It's best to keep it as general as possible (within reason). There is the temptation to think like an engineer and be very specific, but this will only attract a small audience, i.e. those that look for "vector swizzling". IMO, it makes more sense to have the article come up, when somebody types "game development vectors" or "game development dlang". And don't forget that a good title catches the reader's attention when s/he just skims through a homepage / search results, regardless of whether or not s/he's looking for "vector swizzling".
Re: "Programming in D" paper book is available for purchase
On 09/09/2015 09:18 PM, Paul O'Neil wrote: > I understand that you may not have the IngramSpark edition yet, so an > answer may have to wait: > > Which publisher produces the better book? Is one bound better, etc.? I've received the first proof copy of the IngramSpark printing. Comparing it to the CreateSpace printing: - It is virtually impossible to tell that the two books are printed by two separate printers. The quality is the same. - The bindings are almost the same: CreateSpace's glue is translucent, IngramSpark's glue is white. Bothe are very good. - IngramSpark's paper is thinner (eyeballing: about 15-20% thinner); so it is more see through. More importantly, I can say that my first experimentation with the format change has failed: When the margins are too narrow, the book looks very amateurish. I am going back to more comfortable formatting. Ali
Re: New blog about D
On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: The blog platform itself is home-made and the server-side is 100% D (vibe.d). Once I build it up a bit more, I will probably put it up on github as an example of how easy it is to build high-performance frontend and backend web apps with D + vibe.d. It is really productive once the scaffolding and pipeline is all built. Is there an rss feed to the blog? That way I can follow it :)
Re: "Programming in D" paper book is available for purchase
On 09/27/2015 08:39 AM, olivier henley wrote: On Sunday, 27 September 2015 at 15:35:38 UTC, olivier henley wrote: OMG! Congratulations many many times Ali. As we speak, my copy just left the motorcycle dealer and is riding, without a helmet, to Montreal! =) Forgot to mention: I find the cover very neat and of great taste. Thank you all. :) Ali
Re: New blog about D
On Monday, 28 September 2015 at 09:49:03 UTC, John Colvin wrote: On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... [...] this is what http://code.dlang.org/packages/gl3n does, right? Same result, but different implementation. My approach is generic in the dimensions and coordinate names. I did not implement it but you could also specify coordinate name aliases, so a vector could get xyzw or rgba, qrst, or what-have you. The static if approach is not as generic, but probably will compile faster, as it doesn't require string mixins.
Re: New blog about D
On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... You can reach it http://www.mmartins.me Hi, If you can create an RSS or ATOM feed for D posts, I can add your blog to Planet D: http://planet.dsource.org/
A new article about working with files in D
Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/
Re: New blog about D
On Monday, 28 September 2015 at 11:53:28 UTC, Vladimir Panteleev wrote: On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... You can reach it http://www.mmartins.me Hi, If you can create an RSS or ATOM feed for D posts, I can add your blog to Planet D: http://planet.dsource.org/ I haven't had time to implement feeds, yet. Will probably do it over of this week.
Re: A new article about working with files in D
On Monday, 28 September 2015 at 11:41:37 UTC, Gary Willoughby wrote: Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/ Great article, I can see this become a reference link whenever one need a quick answer about files. I also like how readable your blog is.
Re: New blog about D
On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... [...] this is what http://code.dlang.org/packages/gl3n does, right?
Re: New blog about D
On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... You can reach it http://www.mmartins.me I want to get better at writing, as I have barely ever written anything other than code, and my name... I noticed there aren't many people actively blogging about D, so I will give it a go, and in the process, try to grow the community a tiny bit by showcasing D's strengths as I remember discovering them myself over the course of last year writing exclusively D. The first post is about vector swizzling. Game programmers get spoiled by writing shaders where swizzling is extremely convenient, and then when they go back to writing C++ they have wet dreams about swizzing in there too. It's not a dream in D. This was the first use-case I thought of when I first learned about D's templates and mixins, but never got to implement it until now. The blog platform itself is home-made and the server-side is 100% D (vibe.d). Once I build it up a bit more, I will probably put it up on github as an example of how easy it is to build high-performance frontend and backend web apps with D + vibe.d. It is really productive once the scaffolding and pipeline is all built. If you have a read, please let me know where I could improve, both my writing and the D code! Cheers! -M Hi, I've just read the post. It's nice, it doesn't waste the reader's time and comes straight to the point (apart from highlighting D's strength). I agree, however, that the title could have been better in terms of attracting readers. Since you mention game programming, maybe it would be good to mention it somehow in the title, something to this effect: "A common problem in game programming and how D solved it" or something like that. In this way someone who's interested in game programming may read it or at least take note of the fact that D is mentioned in the context of game programming (and offers solutions). You would want to think less like an engineer when writing and more like an editor / PR guy who wants to get readers interested. Good headlines are the most difficult part.
LDC 0.16.0 beta1 is out! We highly appreciate your feedback!
LDC 0.16.0 beta1 is out! We highly appreciate your feedback! Hi everyone, LDC 0.16.0 beta1, the LLVM-based D compiler, is available for download! This release is based on the 2.067.1 frontend and standard library and supports LLVM 3.1-3.7 (OS X: no support for 3.3). Don't miss to check if your preferred system is supported by this release. We also have a Win64 compiler available! As usual, you can find links to the changelog and the binary packages over at digitalmars.D.ldc: http://forum.dlang.org/post/gnftkxihfehgsxcyi...@forum.dlang.org Regards, Kai
This Week in D #37 - forum tutorials and tip on using UDAs
This Week in #Dlang - new bugfix release, Windows driver, Azure+vibe tutorial, tip on uda transformations + mixin templates http://arsdnet.net/this-week-in-d/sep-27.html The tip here is one I've been talking about on irc a little and decided to write up this time. Using a mixin template to hold the source code of a thing to be transformed is something I think is kinda cool though I haven't actually used it in a real project yet. (Actually, I've barely used UDAs in the real world at all yet. I was so excited for them when they were new, but it took so long to materialize that I found other ways to do my stuff and now haven't transitioned!)
Re: reggae v0.5.0: new features in the D meta-build system
On Saturday, 26 September 2015 at 03:51:11 UTC, Jason White wrote: I rarely visit the D forums and even more rarely make a post, but this thread caught my eye. I've been writing a build system in D too: https://github.com/jasonwhite/brilliant-build (I'm not very fond of the name. Naming is hard!) It is a general build system with an emphasis on correctness. It is a work in progress at this point, but I'm very happy with how it is turning out. I'm interested in your guys' thoughts on it. Looks good as a work-in-progress. A lot of the same ideas I used, including scripting languages as a way to describe builds. I'm probably going to use reggae though ;) Atila
Re: New blog about D
On Monday, 28 September 2015 at 10:02:20 UTC, Chris wrote: "A common problem in game programming and how D solved it" That indeed sounds more appealing for a general audience. Thanks Chris!
Re: This Week in D #37 - forum tutorials and tip on using UDAs
On Monday, 28 September 2015 at 13:03:50 UTC, Adam D. Ruppe wrote: The tip here is one I've been talking about on irc a little and decided to write up this time. Using a mixin template to hold the source code of a thing to be transformed is something I think is kinda cool though I haven't actually used it in a real project yet. (Actually, I've barely used UDAs in the real world at all yet. I was so excited for them when they were new, but it took so long to materialize that I found other ways to do my stuff and now haven't transitioned!) Somewhat related to this, see page 6 of what I was working on over the weekend: https://github.com/DlangScience/design/blob/master/design.pdf
Re: New blog about D
On Monday, 28 September 2015 at 12:14:56 UTC, Márcio Martins wrote: On Monday, 28 September 2015 at 11:53:28 UTC, Vladimir Panteleev wrote: On Sunday, 27 September 2015 at 23:23:05 UTC, Márcio Martins wrote: Today I launched a very tiny and humble blog, with the first post being about D. It's likely all posts will be about D in the end... You can reach it http://www.mmartins.me Hi, If you can create an RSS or ATOM feed for D posts, I can add your blog to Planet D: http://planet.dsource.org/ I haven't had time to implement feeds, yet. Will probably do it over of this week. You're welcome :-) Is there a way you can incorporate keywords for search engines and some meta tags like ?