Re: New library: open multi-methods
On Sunday, 16 July 2017 at 17:24:17 UTC, Jean-Louis Leroy wrote: Hello, TL;DR: see here https://github.com/jll63/methods.d/blob/master/README.md for an explanation of what open multi-methods are, if you are not familiar with the idea.You may also want to read my article on Code Project https://www.codeproject.com/Articles/635264/Open-Multi-Methods-for-Cplusplus11-Part-1 Earlier this year I attended Ali Çehreli's talk at C++ Now. He did a good job: I walked out with the desire to learn about D and see how it measures up against C++, especially in terms of meta-programming and language extensibility. The first programming language I learned is Forth and I did some Lisp programming, so as you can imagine, my expectations are high. As an experiment, I decided to try to port parts of my yomm11 library to D. The experience turned out to be pleasant and I ended up writing a full implementation, with some friendly help from Ali and others in the Learn forum. I think that what I have now is good enough to show. The git repo is here https://github.com/jll63/methods.d and I will post a package to the registry soon. If you have the inclination, feel free to review and comment. This is my very first D project and I certainly have missed some idioms and been clumsy at times. Jean-Louis Leroy You may want to use ```d in your code samples in the README to highlight it.
New library: open multi-methods
Hello, TL;DR: see here https://github.com/jll63/methods.d/blob/master/README.md for an explanation of what open multi-methods are, if you are not familiar with the idea.You may also want to read my article on Code Project https://www.codeproject.com/Articles/635264/Open-Multi-Methods-for-Cplusplus11-Part-1 Earlier this year I attended Ali Çehreli's talk at C++ Now. He did a good job: I walked out with the desire to learn about D and see how it measures up against C++, especially in terms of meta-programming and language extensibility. The first programming language I learned is Forth and I did some Lisp programming, so as you can imagine, my expectations are high. As an experiment, I decided to try to port parts of my yomm11 library to D. The experience turned out to be pleasant and I ended up writing a full implementation, with some friendly help from Ali and others in the Learn forum. I think that what I have now is good enough to show. The git repo is here https://github.com/jll63/methods.d and I will post a package to the registry soon. If you have the inclination, feel free to review and comment. This is my very first D project and I certainly have missed some idioms and been clumsy at times. Jean-Louis Leroy
Re: Munich D Meetup July 2017
On 7/14/17 5:32 PM, Dragos Carp wrote: Bump the thread, the next Munich D Meetup is getting closer. Greetings to the D community in München, which seems to be our strongest local group. Hoping for a solid turnout at this meeting because it may prompt a larger event later on. Would be happy to visit and give a talk in the fall! I'll let the local leaders give folks more information at the upcoming meetup. -- Andrei
Re: DIP 1010--Static foreach--Accepted
On 7/16/17 9:10 AM, Mike Parker wrote: Congratulations to Timon Gehr. Not only was his "Static foreach" DIP accepted, it picked up a good deal of praise from Walter & Andrei. Indeed. Kudos to Timon (and thanks Mike for driving the process). This is a well done DIP that many others could draw inspiration from. -- Andrei
DIP 1010--Static foreach--Accepted
Congratulations to Timon Gehr. Not only was his "Static foreach" DIP accepted, it picked up a good deal of praise from Walter & Andrei. I've added my summary to the Review section of the DIP, but I'll quote it here in full: "This DIP was accepted by the language authors. Both Proposal 1 and Proposal 2 were accepted. Evaluation of the suggested future improvements has been put off until some future date when sufficient experience with the implementation has been accumulated. Regarding Proposal 1, they find it integrates well with the rest of the language and falls within the spirit of D. They see it more as the removal of a limitation than the addition of a feature, and like that it reuses the syntax and semantics of existing language entities (`alias` and `enum`). They see Proposal 2 as the core of the DIP, finding that it is well-motivated and liking that it reuses elements of Proposal 1. On the whole, they believe that this DIP obeys the rule of least astonishment in that most of the examples work as expected and are easy to understand by lowering to the pre-DIP language. They also say that the examples are a good sanity check to ensure that the feature fulfills its envisioned applications, and that the DIP is exceptionally well written. This should be read as a note to future DIP authors that they will not be wrong to use this DIP as a model." https://github.com/dlang/DIPs/blob/master/DIPs/DIP1010.md
Release Candidate 2.075.0-rc1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 First release candidate for 2.075.0. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.075.0.html [sic!] Please report any bugs at https://issues.dlang.org We've delayed some regression fixes to 2.075.1 which will follow soon. - -Martin -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJZa2VtAAoJELJzgRYSuxk5d4kP/30d8M3fQUELrXVdfpDNIw65 eFYhR/G2Kn0MR8zdfiD1wfKi+DY2x4SYczEScIngLALOML93g3LHXu8xn6AT0/n6 C5DCC38czogl2A5w9ir1R5dpgG2WMI9NwGNMrTd8uko2VnW1VyFBov2XxwnvZFqV B5VpqVktTxYBbYy2ytbAUelenYZtX2r8gL3voRQ+fOheUVZAd4Xob0gDX5Zysmcv YD5O5IJ4tViS7HcwV1xeYoU7xxqbHI7UufRV3aFji9g4ZZWqnanl/YVIoC4K7nSn BtliyeWjDKgX8K12SrSDK3aokR5Cblv78sXYtnqJzkSsukpBWfztzOry5RBuh3Ol Ci2xQxL8P39H6vEQ0E78R0E4AbOliL7Gf5eMV6sB2JZu1XEaidCNbr80Q3jj6fvg qy24KiHlIOAwiQ1KH9MD/4v12C4Z8WP1eDI+SJPCm7081J4V8Yr4mgtuNrvGAJuT YcpL09rq9bOAx8n3J4AhYgsJVV+24vq86aJDfayE7ds/4GwuR590SHxHElmv+dHP aNsgM7VB5q0dQ04icHLCZC/u0NNKTDsXI8iRToEqpbsbQyY0h2MqvX7Jtv93Hnsj mhF8IEeEWTprFrwlblssXBIcCni//eLExyGqBoTaL0auwM1az5Df/Aas/AK5F6aj xkv8QuXdDVrCGCfzqdgP =QgGM -END PGP SIGNATURE-
Release Candidate 2.075.0-rc1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 First release candidate for 2.075.0. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.075.0.html [sic!] Please report any bugs at https://issues.dlang.org We've delayed some regression fixes to 2.075.1 which will follow soon. - -Martin -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJZa2TrAAoJELJzgRYSuxk5mRoQALsryJOzKUljgxkGNGxbOz1H LTfrmvT/mmhPPk0OgvZjFQfsH77NwB7RtanAOaOrScEYW6IQB/BErH+/MnCTRl3y B/5kVq4TK763W4tcIsQ8p8H6v7iaWTL0Jo669yXpsTp0nLHiD1ZtqzQINl8sJHn+ XnBWbGq0FT7Lb3rNm8XD9sBwFRb07w4Pol8zqIzO04fGOV006OcoW7XUJGQEkce5 82nLksu6GONXlDYUHsE1Oe9yfTl8DoFbxR9woqyZJdji8/pGeU9HXJwnRdM2di9Y T9vLKly2IpxOj7D8iAgHzJ3rXDzn1Uecv5bupKKPAK4+b/3QeTtk0ox/kNvVntSJ DFiOSzdIOM0IwfJh08ldP1qo4EDutck7SeTQ15Dw7GRUnYXghPc71aAu2plq0jy1 lEoxqMbCR12wr57NQqu1RDh2Emhg4y8ZZJKB+6k0KZaW84zp4aKL+nKzhr4jIccs rXBDSF5H4U2ZIyjt//ZrfGKVJN0QPBOOWuz/RJ8vCLeC/bEtgJFL3Lnph19lSsUU vVtBYObvtxsbC7/DWb7XTNUlKJ9YcC1117OiWOibF1IW3f5OZa8ZbM3qX+NM9x3l ajkTbc6O+OmuKEu3aVrvqlUAFYPVKZBTPQnVWnFt/Vw4wlBnZe44ap3j0IF7uOCt oVg+X4lOh1H6GcVASgJq =hI04 -END PGP SIGNATURE-
Re: Released vibe-core 1.0.0 and vibe.d 0.8.0
Am 16.07.2017 um 11:17 schrieb Sönke Ludwig: (...) However, I just noticed that this is still possible to exploit in the Markdown processor. User defined HTML is filtered, but link targets are passed to the rendered HTML as-is (just HTML encoded). https://github.com/rejectedsoftware/vibe.d/pull/1846
Re: Released vibe-core 1.0.0 and vibe.d 0.8.0
Am 15.07.2017 um 23:54 schrieb tetyys: very nice! one question about the https://github.com/rejectedsoftware/vibe.d/commit/e4a600f911218c49f9984734b8ba36f193e99c17 wouldn't this https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet#Image_XSS_using_the_JavaScript_directive pass normally? If a user supplied image URL is passed to the "src" attribute unchecked, then yes. But this would work regardless of the JSON escape rules and really needs to be prevented by the application code. However, I just noticed that this is still possible to exploit in the Markdown processor. User defined HTML is filtered, but link targets are passed to the rendered HTML as-is (just HTML encoded).
Re: LDC 1.3.0
On Sunday, 9 July 2017 at 21:33:17 UTC, kinke wrote: * Bundled with static and shared runtime libraries (Linux and OSX) Also, ldc 1.3.0 is available for FreeBSD from ports tree http://www.freshports.org/lang/ldc/ Greetings