Re: Phobos now compiling with -dip1000

2019-03-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 23 March 2019 at 03:06:37 UTC, Walter Bright wrote: Many thanks to Sebastian Wilzbach, Nicholas Wilson, Mike Franklin, and others! It's been a long and often frustrating endeavor, but we made it and I'm very pleased with the results. This is really nice. I congratulate your

Re: DConf 2019 Schedule

2019-03-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 March 2019 at 22:43:28 UTC, Mike Parker wrote: We're extending the Early-Bird Discount until March 24, so if you haven't registered yet, you still have a chance to save. No definitive word yet on whether we'll be offering a 201 attendee discount, but I should know something this

Re: LDC 1.15.0-beta1

2019-03-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 9 March 2019 at 19:57:36 UTC, kinke wrote: Please help test, and thanks to all contributors! Thank you very much guys! I opened an issue https://github.com/ldc-developers/ldc/issues/3023 about exports in WebAssembly. ldc 1.14's default is to export pretty much everything, and

Re: Project Highlight: Spasm

2019-03-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 1 March 2019 at 13:26:58 UTC, Olivier FAURE wrote: Would the author be interested in structural level-feedback? As in, not "I wish there was this feature", but "I think the way you're doing X and Y is wrong, and the project would probably benefit from a complete refactoring". I

Re: Project Highlight: Spasm

2019-03-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 1 March 2019 at 07:28:06 UTC, Radu wrote: Dip1000 would make reference counting safe. Memory management should be handled by reference counting. RC should delegate malloc, free to an allocator. I see. Yeah, RC could work. Sure. Hence my suggestion to implement a typed malloc.

Re: Project Highlight: Spasm

2019-02-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Thursday, 28 February 2019 at 12:47:32 UTC, Radu wrote: Re. the memory management section, I wonder if reference counting using dip1000 would work for memory management. At least partly. One memory issue spasm has is to release JS objects once D code is done with them. The approach I am

Re: Spasm 0.1.3 released - with bindings to web apis

2019-01-30 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 00:22:15 UTC, WebFreak001 wrote: the underrun example looks really cool! I'm on linux but I don't use docker Wait, you are on linux. Why doesn't your ldc have wasm target? How did you install it? I will try out making something with spasm soon! Cool.

Re: Spasm 0.1.3 released - with bindings to web apis

2019-01-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 26 January 2019 at 15:34:15 UTC, WebFreak001 wrote: amazing! I would really like to try it but it seem the precompiled LDC version doesn't support the wasm output and I have no idea what that wercker stuff is you mentioned or how to use the container you sent with compiling on my

Re: Spasm 0.1.3 released - with bindings to web apis

2019-01-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 26 January 2019 at 23:40:01 UTC, Mike Franklin wrote: This is really cool; nice work! Thanks. Are you aware of SignalR, and do you see something similar eventually being added to Spasm? I don't use .NET myself, but I once reverse engineered a signalR client for some data feed

Spasm 0.1.3 released - with bindings to web apis

2019-01-26 Thread Sebastiaan Koppe via Digitalmars-d-announce
Spasm is a betterC library for web development that uses LDC to compile to WebAssembly, and I just released a major update. It now has bindings to most web api's, like the dom, fetch, audio, webgl, etc. So you can do things like this: --- import spasm.bindings; import spasm.dom; import

Re: Top Five World’s Most Underrated Programming Languages

2019-01-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 23 January 2019 at 09:14:18 UTC, Bienlein wrote: On Friday, 18 January 2019 at 08:55:23 UTC, Paulo Pinto wrote: D really needs its killer use case if it is to move away from that list. D is a lot like Scala on the JVM: Both language have myriads of language features and bells

Re: DConf 2019: Shepherd's Pie Edition

2018-12-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 28 December 2018 at 16:31:01 UTC, Adam D. Ruppe wrote: For last year's meeting, my manager (the team I'm on has done our meetings differently for a while) convinced the CEO to try a more interactive approach for the org-wide meeting too. We did that speaker intro, small random group

Re: Fuzzed - a program to find DMDFE parser crash

2018-12-15 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 15 December 2018 at 15:37:19 UTC, Basile B. wrote: I think this is what Walter calls "AST poisoning" (never understood how it worked before today). And the whole parser is like this. This poisoning kills the interest of using a fuzzer. 99% of the crashes will be in hdrgen. As

Re: Fuzzed - a program to find DMDFE parser crash

2018-12-15 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 15 December 2018 at 11:29:45 UTC, Basile B. wrote: Fuzzed [1] is a simple fuzzer for the D programming language. It allows to detect sequences of tokens that crash the parser. While the D front end is not yet used to make tools, if this ever happens the parser will have to accept

Re: DLP identify leaf functions

2018-12-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 30 November 2018 at 20:10:05 UTC, Jacob Carlborg wrote: I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It

Re: Ported js13k game underrun to D targeting webassembly

2018-11-19 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 19 November 2018 at 11:13:52 UTC, Dukc wrote: I had a look at your code, and just now I realized that spasm can really call JavaScript without any glue from JavaScript side. I am not sure where you got that impression from, but I am afraid you'll still need js glue code. This is

Re: Ported js13k game underrun to D targeting webassembly

2018-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 18 November 2018 at 19:51:06 UTC, Steven Schveighoffer wrote: Really cool. I didn't play the original, but I found this reasonably straightforward. I love this this webassembly stuff, I think it's a fantastic demonstration, and test for the power of D. Thanks, I think so too.

Re: Ported js13k game underrun to D targeting webassembly

2018-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 18 November 2018 at 10:33:14 UTC, blahness wrote: Good stuff. Any reason why the music & some of the sound effects are missing? Yep, I have only ported the most essential sound effects. The music I skipped entirely. It wouldn't be much work since the audio api / buffers are already

Ported js13k game underrun to D targeting webassembly

2018-11-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
Underrun is small game build by Dominic Szablewski for the 2018 js13kGames competition. I decided to port it to D and to target webassembly. You can play the game here https://skoppe.github.io/spasm/examples/underrun/ It is part of my endeavour into the wonderful world of webassembly. I

Re: Spasm - webassembly libary for single page applications

2018-10-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 17 October 2018 at 19:07:16 UTC, aberba wrote: A common use case for wasm is to port C++ native apps to web. e.g. is the recent autoCAD web app which does almost everything the desktop app can. That's the only reason to IMO do stuff in wasm. Games, productivity software,

Re: Spasm - webassembly libary for single page applications

2018-10-16 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 16 October 2018 at 03:23:21 UTC, Jesse Phillips wrote: It would be cool if D provided the easiest way to develop webasm first to see if it could claim that market. If you have some minutes to spare it would be great if you could try it out. It should only take 10min to render your

Re: Spasm - webassembly libary for single page applications

2018-10-14 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 14 October 2018 at 06:03:10 UTC, Bogdan wrote: Awesome work! I remember that, at some point the https://glimmerjs.com/ authors wanted to write their vm in rust for better performance. It looks like D is a new option for such projects. Bogdan Thanks, a lot of credits go to LDC

Re: Spasm - webassembly libary for single page applications

2018-10-13 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 13 October 2018 at 04:34:28 UTC, Nick Sabalausky (Abscissa) wrote: What are the main current limitations? Mainly that it is written in betterC, which is quite the limitation if you are used to freely call anything from phobos, or expect the GC to clean up. Also I currently

Re: Spasm - webassembly libary for single page applications

2018-10-13 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 13 October 2018 at 04:34:28 UTC, Nick Sabalausky (Abscissa) wrote: Nifty, I'll have to look into this. Any idea what it would take to get this doing some WebGL? (Or playing audio?) Or is this more for HTML-ish sorts of stuff? This is more focused on HTML rendering, but you can do

Spasm - webassembly libary for single page applications

2018-10-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
I like to announce Spasm https://github.com/skoppe/spasm It is a webassembly library to develop single page applications and builds on my previous work (https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org). It generates fast and small webassembly binaries. The example todo-mvc

Re: Webassembly TodoMVC

2018-09-24 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 23 September 2018 at 18:36:11 UTC, Joakim wrote: Vladimir mentioned that there's a Musl port to wasm, have you tried it? https://github.com/jfbastien/musl Druntime and ldc support Musl. Thanks for the link, I will have a look at it!

Re: Webassembly TodoMVC

2018-09-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 23 September 2018 at 17:53:32 UTC, Suliman wrote: What do you think of the struct approach compared to a traditional jsx/virtual-dom? jsx is sucks. Look at Vue.js way, if you will able to fo you framework Vue-style it will be perfect! The reason I made this wasm experiment was not

Re: Webassembly TodoMVC

2018-09-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 22 September 2018 at 14:54:29 UTC, aberba wrote: Can the SPA code be released as a separate module for WebAssembly web app development? Currently the whole thing is not so developer-friendly, it was just the easiest way for me to get it up and running. Right now I am trying to

Webassembly TodoMVC

2018-09-21 Thread Sebastiaan Koppe via Digitalmars-d-announce
Hey guys, Following the D->emscripten->wasm toolchain from CyberShadow and Ace17 I created a proof of concept framework for creating single page webassembly applications using D's compile time features. This is a proof of concept to find out what is possible. At

Re: asdf json library moved to libmir

2018-07-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 11 July 2018 at 21:42:45 UTC, yannick wrote: Hi All, Since i'll be leaving Tamedia (who sponsored development of Asdf) and it's not under active use anymore here we decided to donate it to libmir. Asdf has a few nifty features that make it perfect for reading large amounts of

Re: flycheck-dmd-dub v0.12 - Emacs on-the-fly syntax checking for D

2018-02-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Thursday, 8 February 2018 at 17:05:32 UTC, Atila Neves wrote: https://melpa.org/#/flycheck-dmd-dub flycheck already works with D, but the problem is setting the right compiler flags for your project in order to able to compile properly. flycheck-dmd-dub does this automatically for dub

Re: Trip notes from Israel

2017-05-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei Wow, that was really good. Love to read more of your trip notes.

Re: LDC 1.1.0 released

2017-02-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
Awesome!

Re: Autotesting dub packages with dmd nightly

2016-08-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 26 August 2016 at 18:52:17 UTC, Seb wrote: That's awesome to know! How difficult would it be to integrate it with the dlang GitHub PR workflow? Not at all. Just need an api key from someone with administration access. But let's not get ahead of ourselves. Right now I am just

Re: Autotesting dub packages with dmd nightly

2016-08-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 10 August 2016 at 18:35:03 UTC, Sebastiaan Koppe wrote: So true. Then I will do PR's first. I finally got around implementing running dmd/druntime/phobos pull requests against all dub packages. Thank you digger, for making it so easy. I did a run of master + druntime#1602.

Re: Autotesting dub packages with dmd nightly

2016-08-10 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 10 August 2016 at 10:32:24 UTC, Martin Nowak wrote: We want better ranking of dub packages (mostly by download, but for sure also showing CI results [¹]). I was also thinking about integrating results from CI builds that packages do themselves. But there is some 'impedance

Re: Autotesting dub packages with dmd nightly

2016-08-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 7 August 2016 at 23:08:34 UTC, Martin Nowak wrote: I actually don't think this makes sense. You're not in the position to maintain 1K+ packages, it's the library owners that need to test their code. Thanks for taking the time to respond. I agree with you. Library owners should test

Re: Autotesting dub packages with dmd nightly

2016-08-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 6 August 2016 at 20:00:53 UTC, Basile B. wrote: On Saturday, 6 August 2016 at 19:06:34 UTC, Sebastiaan Koppe wrote: - code.dlang.org has an api but doesn't provide an endpoint to retrieve all packages/version. Now I just scrape the site instead (thanks Adam for your dom

Re: Autotesting dub packages with dmd nightly

2016-08-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 6 August 2016 at 19:46:52 UTC, Seb wrote: That are excellent news! Thanks. 1) Send the packages a notification about the build error (e.g. Github comment) - this should probably be tweaked a bit, s.t. it doesn't spam too often for still broken packages I was thinking about

Re: Autotesting dub packages with dmd nightly

2016-08-06 Thread Sebastiaan Koppe via Digitalmars-d-announce
I have just finished a first iteration of dubster, a test runner that runs `dub test` on each package for each dmd release. see https://github.com/skoppe/dubster Please provide feedback as it will determine the direction/life of this tester. I am planning on adding a web ui/api next to look

Re: unit-threaded v0.6.26 - advanced unit testing in D with new features

2016-08-06 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 6 August 2016 at 01:50:15 UTC, Øivind wrote: I have started using unit_threaded, and love it. Most of my unittests now run in < 100ms; it is great. Keep up the good work.

Re: New Diet template engine almost complete, ready for comments

2016-07-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 25 July 2016 at 20:42:51 UTC, Karabuta wrote: On Monday, 25 July 2016 at 09:29:38 UTC, Sönke Ludwig wrote: The Diet template language is aimed at providing a way to ... - Supports AngularJS special attribute names Is there a way to get react JS to work with vibe.d in

Re: Autotesting dub packages with dmd nightly

2016-07-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 18 July 2016 at 07:22:07 UTC, qznc wrote: Great! Maybe I can help you? Do you have a repository somewhere already? Not yet. Let me first do some groundwork. It could take month though. I don't think nightlies are that important. Older releases, alpha/beta versions, LDC, and GDC

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 July 2016 at 13:17:45 UTC, Jacob Carlborg wrote: On 2016-07-16 22:34, Sebastiaan Koppe wrote: Why not using something existing, like GitLab? Although GitLab is a source code hosting system its CI is excellent. It uses a master-worker architecture as well, GitLab being the master

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 July 2016 at 04:47:40 UTC, Basile B. wrote: I think that everybody will agree that's an excellent ideas to discover regressions. How do you plan to handle libraries that are not purely written in D (i.e requiring -L-lClib linker option) ? There are probably other cases where a

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 July 2016 at 04:28:54 UTC, rikki cattermole wrote: On 17/07/2016 8:34 AM, Sebastiaan Koppe wrote: If you add nightly can you add x last major releases? Yeah, specially for dub, nightly is not that important. Also how about adding a 'button' for each one that says weather it

Autotesting dub packages with dmd nightly

2016-07-16 Thread Sebastiaan Koppe via Digitalmars-d-announce
Just to let you guys know - and to be sure no one is doing the same - I decided to go ahead and *start* writing an autotester that will fetch dmd nightly and unittest each dub package. It will be using a classic master-worker architecture and will leverage docker containers. I am aiming

Re: 4x faster strlen with 4 char sentinel

2016-06-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 28 June 2016 at 01:53:22 UTC, deadalnix wrote: On Sunday, 26 June 2016 at 16:40:08 UTC, Jay Norwood wrote: After watching Andre's sentinel thing, I'm playing with strlen on char strings with 4 terminating 0s instead of a single one. Seems to work and is 4x faster compared to the

Re: Blog article on new import changes

2016-03-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 March 2016 at 15:25:27 UTC, Steven Schveighoffer wrote: I anticipate 2.071.0 is going to cause a lot of deprecation messages and strange errors to occur, due to the fixes of very long-standing import bugs. I wrote a blog post (actually my first ever) on this, let me know what

Re: unit-threaded v0.6.3 - now even easier to use / opt-in

2016-03-02 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 29 February 2016 at 09:37:51 UTC, Atila Neves wrote: "configurations": [ ..., { "name": "unittest", "preBuildCommands": ["dub run unit-threaded -c gen_ut_main -- -f bin/ut.d"], "mainSourceFile": "bin/ut.d",

Re: unit-threaded v0.6.3 - now even easier to use / opt-in

2016-02-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 29 February 2016 at 12:11:44 UTC, Dicebot wrote: On 02/29/2016 02:00 PM, Sebastiaan Koppe wrote: On Monday, 29 February 2016 at 09:37:51 UTC, Atila Neves wrote: http://code.dlang.org/packages/unit-threaded Enjoy! Atila Really nice. Wow, didn't know dub could build and run a

Re: unit-threaded v0.6.3 - now even easier to use / opt-in

2016-02-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 29 February 2016 at 09:37:51 UTC, Atila Neves wrote: http://code.dlang.org/packages/unit-threaded Enjoy! Atila Really nice. Wow, didn't know dub could build and run a dependency.

Re: Hotfix release vibe.d 0.7.28

2016-02-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 27 February 2016 at 16:21:05 UTC, Sönke Ludwig wrote: This is a small bugfix release that mainly fixes two critical regessions Great. Thanks for the quick release!

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 17 February 2016 at 09:05:34 UTC, Atila Neves wrote: I'm on a tablet on holiday so sorry in advance for the short answer. You're on a holiday, I appreciate anything you write :) Your versioned import is the reason why I made it so a plain string UDA is just as good as @Name.

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 17 February 2016 at 07:46:51 UTC, Jacob Carlborg wrote: On 2016-02-16 23:13, Sebastiaan Koppe wrote: Then to get `dub test` to run unit_threaded I had to create a small program that discovers all modules and generates a testrunner.d file in the source directory, which gets

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-16 Thread Sebastiaan Koppe via Digitalmars-d-announce
Oh, kuddos for the nice library.

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-16 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 8 February 2016 at 13:23:40 UTC, Atila Neves wrote: What's new: [...] Enjoy! Atila I just started using unit-threaded and I like it so far, specially the parallel runner. Just had some speed-bumps that might be worth noting. Before going into details I want to mention that I

Re: Ever want to compile D on your Android phone? Well, now you can!

2016-01-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
Wow! Keep up the good work.

Re: vibe.d 0.7.27-beta.1

2016-01-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 22 January 2016 at 11:14:19 UTC, Sönke Ludwig wrote: I've finally managed to tag a first beta for vibe.d. It contains numerous optimizations in the network and HTTP code, so it's especially important to thoroughly test this before release. 0.7.26 (except for the win32 driver)

Re: Release D 2.069.0

2015-11-09 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 9 November 2015 at 09:19:11 UTC, Bastiaan Veelo wrote: Yes, use asModule() for that [1]. Not only does it enable using large grammars, it also saves compilation time for builds after the grammar has stabilised. Thanks. And should the grammar still be too large, it is good to know

Re: Release D 2.069.0

2015-11-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 7 November 2015 at 13:25:41 UTC, Jonathan M Davis wrote: What can we do when it eats up all 4 gigs? (Windows) With any program, if you're hitting the limit of the 32-bit address space (which is actually more like 3.6 GiB than 4), then you really only have two options - use less

Re: Release D 2.069.0

2015-11-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 8 November 2015 at 14:22:38 UTC, Dicebot wrote: On Sunday, 8 November 2015 at 14:14:23 UTC, Sebastiaan Koppe wrote: With a codebase like phobos, compiling in several steps isn't a bad solution. But I am building a parser using pegged, and splitting up the grammar into different

Re: Please vote for the DConf logo

2015-11-06 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 09:30:30 UTC, Andrei Alexandrescu wrote: Reply to this with 1.1, 1.2, 2, or 3: 2 Note: 3 can use more saturated colors (like 2) and other font. Then I would go with 3.

Re: Release D 2.069.0

2015-11-04 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote: If host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs. What can we do when it eats up all 4 gigs? (Windows)

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-10-04 Thread Sebastiaan Koppe via Digitalmars-d-announce
Sorry for the late reply. Had some stuff to finish. On Tuesday, 29 September 2015 at 16:22:43 UTC, Adam D. Ruppe wrote: dub forces me to do it that way. It isn't my preference, but reorganizing all my files and creating twenty or thirty different github repos to house them is unacceptable.

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 06:18:32 UTC, Suliman wrote: Does it's work with anything except localhost? Could you add example of sending email with gmail? It is in the settings variable. Look at vibe.mail.SMTPClientSettings. http://vibed.org/api/vibe.mail.smtp/SMTPClientSettings In my

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 12:43:19 UTC, Daniel Kozak wrote: Adam D.Ruppe píše v Út 29. 09. 2015 v 12:05 +: If you ever need something in D, ask me first there's a good chance I've written it! https://github.com/adamdruppe/arsd/blob/master/email.d there's also a good chance

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 12:26:58 UTC, Robert M. Münch wrote: Not that I'm to deep into the code nor D but would it be possible to write it somehow like this: Mail email = new Mail; email.headers = [ "Date" Clock..., "Sender" ... ] This would be a much more

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 07:24:48 UTC, Russel Winder wrote: This code looks so similar to the equivalent in Python, it is great. Does it need Vibe underneath it though to work, or is this a package that can sit separately and just use sockets to connect to the SMTP server as with

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 13:10:55 UTC, Adam D. Ruppe wrote: I'm slowly working on it. Got some working just yesterday: http://code.dlang.org/packages/arsd-official Good. But why put everything in one package? A guy on npmjs.com goes the other extreme and he actually has a package

Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

2015-09-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 29 September 2015 at 13:37:18 UTC, Suliman wrote: I am asking because I had troubles with vibed http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/25447/ It's still vibe.d doing the smtp stuff. You might want to look into adam's code, or

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 20:18:48 UTC, Nick Sabalausky wrote: // Output: The number 21 doubled is 42! int num = 21; writeln( mixin(interp!"The number ${num} doubled is ${num * 2}!") ); What

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 23 September 2015 at 01:45:03 UTC, Adam D. Ruppe wrote: On Wednesday, 23 September 2015 at 01:24:54 UTC, Sebastiaan Koppe wrote: What about: void echo(T)() { writeln(mixin(interp!T)); Won't work because it won't be able to see the local variables you want to interpolate.

Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-20 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 17 October 2014 at 08:28:23 UTC, Martin Nowak wrote: On Friday, 17 October 2014 at 05:38:05 UTC, thedeemon wrote: Gentlemen, do I understand correctly that you're trying to find a Windows-friendly switch to something that will never see the light on Windows (because of being based

Re: Interview at Lang.NEXT

2014-07-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Thursday, 5 June 2014 at 09:43:13 UTC, Jonathan M Davis via Digitalmars-d-announce wrote: Though I confess what horrifies me the most about dynamic languages is code like this if(cond) var = hello world; else var = 42; The fact that an if statement could change the type of a