Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote: A bit off-topic, but I can't help to say it. I know that writing your own library is fun, but something that I see quite often when looking at e.g. https://github.com/adamdruppe/arsd https://github.com/CyberShadow/ae

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 23:21:09 UTC, Seb wrote: Yes, and they are great. However now we have dub and a "serious" standard library ;-) I've looked into two options to join the dub bandwagon, and both aren't really any good (and the fact that I don't use it myself means it'd probably be

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread bachmeier via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 23:21:09 UTC, Seb wrote: On Wednesday, 25 May 2016 at 22:52:44 UTC, Adam D. Ruppe wrote: On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote: is that people love to collect and build their own ecosystem, but it would be a lot better if for a specific use-case

Re: Better Voldemort types

2016-05-25 Thread Georgi D via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 12:19:33 UTC, Steven Schveighoffer wrote: On 5/25/16 4:22 AM, Atila Neves wrote: On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote: Blog post on making Voldemort types without the disk-space issues:

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread Seb via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 22:52:44 UTC, Adam D. Ruppe wrote: On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote: is that people love to collect and build their own ecosystem, but it would be a lot better if for a specific use-case there's a great dub package or it's part of Phobos. I,

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread Craig Dillabaugh via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 20:31:34 UTC, pineapple wrote: clip My focus currently is on developing mach.sdl, a wrapper for SDL2 and OpenGL, since ultimately I'd like to use D primarily for game development. I hope the library proves useful! Hey, have you looked at: http://dgame-dev.de/

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote: is that people love to collect and build their own ecosystem, but it would be a lot better if for a specific use-case there's a great dub package or it's part of Phobos. I, and I'm pretty sure Vladimir too, have been writing these libs

Re: SQLite-D alpha is here

2016-05-25 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 03:48:48 UTC, Stefan Koch wrote: This project is currently on the back burner. However in the next days there will be another significant performance improvement :) A 20% performance improvement has landed in master! It is possible that there are more places in

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread pineapple via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 22:29:38 UTC, pineapple wrote: I will do that ...I'm honestly having second thoughts because reading the style guide for phobos was like a watching a B horror movie. All the code in the mach.d repo is very permissively licensed and anyone with the patience to

Re: A language comparison (seeking productivity-enhancing, well-designed, and concise languages)

2016-05-25 Thread Seb via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 04:57:34 UTC, Bauss wrote: On Monday, 23 May 2016 at 05:37:10 UTC, Ali Çehreli wrote: Found on Reddit: https://www.reddit.com/r/programming/comments/4kmfp6/the_best_quality_programming_languages/ The list:

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread pineapple via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote: I know that writing your own library is fun, but something that I see quite often when looking at e.g. Yep, I saw a couple of those before I got started on mine. For some of us it's a sense of ownership, I think. It feels good to be

Re: Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread Seb via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 20:31:34 UTC, pineapple wrote: A few weeks ago I made a github repo for D modules. I'm adding to this as I learn the language, and as I find myself writing modules to support other code. https://github.com/pineapplemachine/mach.d It hasn't got a lot at the

Introducing mach.d, the github repo where I put whatever modules I happen to write

2016-05-25 Thread pineapple via Digitalmars-d-announce
A few weeks ago I made a github repo for D modules. I'm adding to this as I learn the language, and as I find myself writing modules to support other code. https://github.com/pineapplemachine/mach.d It hasn't got a lot at the moment, but it will grow for as long as I'm writing D. I suspect

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Ali Çehreli via Digitalmars-d-announce
On 05/25/2016 10:46 AM, Steven Schveighoffer wrote: http://ddili.org/ders/d.en/if.html#ix_if.else%20if "Have coffee at neighbor's" Thank you, fixed. Ali

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Meta via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 11:22:41 UTC, Jacob Carlborg wrote: I don't think this is the right approach. I think the correct approach is to allow introspection of template parameters [1]. That would allow to get the parameter names without having to instantiate the template. Is that true?

[OT] Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Ali Çehreli via Digitalmars-d-announce
On 05/25/2016 10:46 AM, Steven Schveighoffer wrote: On 5/25/16 1:22 PM, Ali Çehreli wrote: On 05/25/2016 08:18 AM, Steven Schveighoffer wrote: IMO, just say "if and else are your friends", as "else if" is really not it's own construct. I like my own description of "else if" here: :)

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/25/16 1:22 PM, Ali Çehreli wrote: On 05/25/2016 08:18 AM, Steven Schveighoffer wrote: IMO, just say "if and else are your friends", as "else if" is really not it's own construct. I like my own description of "else if" here: :) http://ddili.org/ders/d.en/if.html#ix_if.else%20if

Re: SQLite-D alpha is here

2016-05-25 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 03:48:48 UTC, Stefan Koch wrote: Well not much has changed since I made this announcement. By fixing a really jarring bug I had a slight performance regression. But this is still the fastest SQLite reader I know of. This project is currently on the back burner.

Re: Dynamic Bindings to libui (x-platform GUI)

2016-05-25 Thread extrawurst via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 16:47:30 UTC, Nick Sabalausky wrote: On 05/24/2016 04:52 PM, extrawurst wrote: So here are the inofficial Derelict Bindings to it: https://github.com/Extrawurst/DerelictLibui Some D-oriented docs and example code would be nice. There is a plain conversion of

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Ali Çehreli via Digitalmars-d-announce
On 05/25/2016 08:18 AM, Steven Schveighoffer wrote: IMO, just say "if and else are your friends", as "else if" is really not it's own construct. I like my own description of "else if" here: :) http://ddili.org/ders/d.en/if.html#ix_if.else%20if Ali

Re: Dynamic Bindings to libui (x-platform GUI)

2016-05-25 Thread Nick Sabalausky via Digitalmars-d-announce
On 05/24/2016 04:52 PM, extrawurst wrote: So here are the inofficial Derelict Bindings to it: https://github.com/Extrawurst/DerelictLibui Some D-oriented docs and example code would be nice. > > find libui on github: > https://github.com/andlabs/libui Hmm: > uses the native GUI

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-05-25 13:57, Daniel N wrote: Issue9608 is good too, but insufficient. import std.traits; static assert(__traits(isTemplate, a => 0)); static assert(!__traits(isTemplate, (int a) => 0)); The 2nd case can't be solved by 9608 since it's about introspecting templates and "(int a) => 0)"

Re: Dynamic Bindings to libui (x-platform GUI)

2016-05-25 Thread extrawurst via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 02:34:03 UTC, Mike Parker wrote: On Tuesday, 24 May 2016 at 20:52:54 UTC, extrawurst wrote: Hey folks, So here are the inofficial Derelict Bindings to it: https://github.com/Extrawurst/DerelictLibui I tested them on both windows and mac osx so far. Any linux

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Ali Çehreli via Digitalmars-d-announce
On 05/17/2016 02:00 AM, André wrote: > Another more fundamental question: Is a translation really needed for > the tour? Definitely. > I am not a native speaker but I still prefer reading technical > stuff in English especially when English is the language of the > original. It's hard for me

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/25/16 9:42 AM, Seb wrote: On Wednesday, 25 May 2016 at 11:46:55 UTC, marcpmichel wrote: I think it's "if, else and else if are tour friends". Hmm that doesn't make sense to me either. How can "if" be a "tour friend". That being said I agree the current wording isn't optimal - do you want

Re: SQLite-D alpha is here

2016-05-25 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 06:52:22 UTC, Suliman wrote: Even faster then official version? What about futures, would it possible to make it's 100% compatibility with C version? Not really. The reason why it is faster is because there is no indirection in working with the data. If I had

Re: Diamond - MVC / Template engine

2016-05-25 Thread Bauss via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 12:29:03 UTC, Kagamin wrote: On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote: Note: If you have a better suggestion, feel free to come with one :) I'd say do what razor does: raw output should require extra syntax. Weren't templates created in order to not

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Seb via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 11:46:55 UTC, marcpmichel wrote: I think it's "if, else and else if are tour friends". Hmm that doesn't make sense to me either. How can "if" be a "tour friend". That being said I agree the current wording isn't optimal - do you want to open a PR to fix it?

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Ali Çehreli via Digitalmars-d-announce
On 05/24/2016 05:17 PM, Seb wrote: > On Tuesday, 24 May 2016 at 23:11:07 UTC, Shammah Chancellor wrote: >> On Tuesday, 17 May 2016 at 09:02:04 UTC, André wrote: >>> On Monday, 16 May 2016 at 20:39:26 UTC, Jack Stouffer wrote: On Monday, 16 May 2016 at 18:02:29 UTC, Andrei Alexandrescu wrote:

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread Ozan via Digitalmars-d-announce
On Monday, 16 May 2016 at 17:32:06 UTC, André wrote: Hi, after another round of polishing, bug fixing, very useful user contributions and suggestions, I'd like to present the new home of the D language online tour: http://tour.dlang.org/ Thank you very much to the D foundation for hosting

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 09:24:31 UTC, Daniel N wrote: From an end-user perspective I find it reasonable to expect that an API which takes lambda:s works consistently for both below examples. i.e. if we support one we should support the other. [1] fun!( x => y) [2] fun!((int x) =>

Re: Diamond - MVC / Template engine

2016-05-25 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote: Note: If you have a better suggestion, feel free to come with one :) I'd say do what razor does: raw output should require extra syntax. Weren't templates created in order to not build html in code?

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 16:00:32 UTC, Andrei Alexandrescu wrote: Apparently it can be made to work with non-templates as well, see https://dpaste.dzfl.pl/c4b7a8b6978b. Oh, that's the buggy area. The compiler keeps parameter names for runtime delegates... but it also reuses the structures.

Re: Sociomantic's short DConf2016 video

2016-05-25 Thread Guillaume Chatelet via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 11:06:45 UTC, Leandro Lucarella wrote: For the ones that missed it (and the ones that didn't too), here is a short video about the conference. https://vimeo.com/167235872 Neat!

Re: Better Voldemort types

2016-05-25 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/25/16 4:22 AM, Atila Neves wrote: On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote: Blog post on making Voldemort types without the disk-space issues: http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/ Should we horcruxify

Re: Sociomantic's short DConf2016 video

2016-05-25 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/24/16 7:51 PM, Walter Bright wrote: On 5/24/2016 4:04 PM, Jonathan M Davis via Digitalmars-d-announce wrote: Well, I guess that that answers the question of what they were going to do with the interviews they were doing. :) You should be pleased with your spot, well done! Yes,

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Daniel N via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 11:22:41 UTC, Jacob Carlborg wrote: On 2016-05-25 11:24, Daniel N wrote: ParameterIdentifierTuple can hopefully be updated to take advantage of this feature when it's available in compiler without requiring to change the API of ParameterIdentifierTuple. [1]

Re: The D language online tour - tour.dlang.org

2016-05-25 Thread marcpmichel via Digitalmars-d-announce
http://tour.dlang.org/ On the "Controlling flow" page, the first paragraph says : Sometimes you have to control your application's flow depending on input parameters. if, else and if else are your friends then: I think it's "if, else and else if are tour friends".

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-05-25 11:24, Daniel N wrote: From an end-user perspective I find it reasonable to expect that an API which takes lambda:s works consistently for both below examples. i.e. if we support one we should support the other. [1] fun!( x => y) [2] fun!((int x) => y) Currently I just

Re: foo => "bar" key/value literals in D!

2016-05-25 Thread Daniel N via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 01:33:40 UTC, Adam D. Ruppe wrote: On Monday, 23 May 2016 at 20:08:11 UTC, Daniel N wrote: This pull request just removes an intentional restriction and make this feature more easily accessible for meta-programming, so that not everyone has to reinvent the wheel in

Re: Better Voldemort types

2016-05-25 Thread Nordlöw via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote: http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/ Good read. I'll horcruxify my phobos-next ranges until compiler is fixed. Thanks!

Re: Better Voldemort types

2016-05-25 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote: Blog post on making Voldemort types without the disk-space issues: http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/ -Steve Should we horcruxify Phobos? Atila

Re: SQLite-D alpha is here

2016-05-25 Thread Suliman via Digitalmars-d-announce
On Wednesday, 25 May 2016 at 03:48:48 UTC, Stefan Koch wrote: On Saturday, 27 February 2016 at 16:08:21 UTC, Stefan Koch wrote: Hello, I am happy to announce the official alpha version of sqlite-d! sqlite-d is a reader for the SQLite File Format 3. In the future I will implement a SQL-like