Tutorial: Multiple file upload in vibe.d

2017-02-15 Thread aberba via Digitalmars-d-announce

https://aberba.github.io/2017/multiple-file-upload-in-vibe-d/

As a continuation to my previous post where I did a demo on form 
textual data and single file upload.


Re: D Compiler as Docker Image

2017-02-15 Thread aberba via Digitalmars-d-announce

On Tuesday, 14 February 2017 at 23:24:03 UTC, Stefan wrote:
Want to share the outcome of a vivid discussion today at the 
Munich D Meetup with you.


Installation of a D Compiler is ok-ish. But sometime you don't 
want to install it. Sometimes you want a very clean 
compiler-environment. Sometimes you want to compile your 
projects in the cloud and not on your local PC.


To ease this a bit I drafted Docker Images for the Compilers 
(dmd, ldc, gdc, sdc) [1]. Based on this you have a clean 
compilation environment. And you even could use dub with it. No 
installation anymore.


Want to know how to use it? [2], [3]

The usage examples are in the repo are currently:
 - return code - simplest D program for compilation with dmd, 
ldc, gdc, sdc

 - hello world - simplest D program using phobos
 - all_dmd_versions - simplest D program compiled with all 
available DMD versions

 - dub - simplest dub project
 - building dub - building dub with dub as a complex real world 
use case


Really would appreciate your feedback!

[1] Docker Hub:
https://hub.docker.com/r/dlanguage/

[2] Slides:
https://github.com/d-muc/talks/raw/master/2017_02_14.d_and_the_cloud/D-Compiler-in-Docker.pdf

[3] Github Repo with Examples:
https://github.com/d-muc/docker-compiler-examples


Saw your images and was really happy its always up to date. I 
might build a vibe.d image upon it with some neccesary 
dependencies.


Planning to use it with Deis Workflow(Self hosting PaaS aka Open 
source Heroku: deis.com) with uses k8s and docker under the hood.


Re: Questionnaire

2017-02-15 Thread Arun Chandrasekaran via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko 
wrote:

1. Why your company uses  D?

  a. D is the best
  b. We like D
  c. I like D and my company allowed me to use D
  d. My head like D
  e. Because marketing reasons
  f. Because my company can be more efficient with D for some 
tasks then with any other system language


We don't use D. But IMO, D is the best PL with it's amazing 
compile time features (templates, templates everywhere and still 
it can be maintainable).



2. Does your company uses C/C++, Java, Scala, Go, Rust?


C, C++, C#, Java


3. If yes, what the reasons to do not use D instead?


1. For algorithms: We develop biometric algorithms and create 
shared objects and DLLs. We need these to be used on variety of 
platforms interfacing with various languages like C++, C#, Java, 
Go. D makes it impossible to convince teams that develop 
algorithms.


2. For applications/solutions: An year ago we evaluated D (to 
replace C++) for one of our large scale distributed solution 
(map-reduce for biometrics). But ended up developing it in C++ 
for the following reasons:
a) Lack of high quality libraries like Boost/Qt. With the 
horrible template syntax of C++, people created Boost and helped 
shape C++ what it is now. D is pleasant to program with and I'm 
wondering why there is no such comprehensive set of libraries in 
D.
b) GC. We fill pretty much the entire RAM (>=128 GB) with data 
and operate on it. The end-to-end system latency must be in 
milliseconds and also provide high throughput. Not really an 
option with D's current state of GC.

c) IDE support.
d) We have already got used to the warts of C++, Java and we know 
how to avoid them. It is fair for us to ask the team to learn D, 
but not *ignore X and get used to it* as well.


D tries to compete and satisfy all paradigms (recently trying to 
catch-up with Rust's safety feature) which is good from a 
language point of view. But it could also focus on fixing it's 
base.



2. Have you use one of the following Mir projects in production:


No.

4. Have you use one of the following Tamedia projects in your 
production:


No.


5. What D misses to be commercially successful languages?


a) Good quality libraries
b) Cross platform IDE
c) Corporate backup
c) Vibrant community. IMHO, the lack of good quality libraries 
can be directly attributed to the lack of critical mass of 
topnotch brains in the community.


6. Why many topnotch system projects use C programming language 
nowadays?


a) Good quality libraries
b) Small run-time
c) Cross platform IDE
d) People are already familiar with C/C++


Re: Vibrant 2.0, major update

2017-02-15 Thread Steve Biedermann via Digitalmars-d-announce
On Monday, 13 February 2017 at 14:22:25 UTC, Guillaume Piolat 
wrote:

Yeah, it isn't free anymore, but the first 15 levels are.


I played it some time ago and, AFAIR, it was great. So I consider 
to buying it.
But before I buy it, I have a question. Are updates included in 
the purchase or do I have to rebuy it when a new release comes 
out?


I don't really want to rebuy a game every now and then.


Re: Vibrant 2.0, major update

2017-02-15 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 15 February 2017 at 15:55:12 UTC, Steve Biedermann 
wrote:
On Monday, 13 February 2017 at 14:22:25 UTC, Guillaume Piolat 
wrote:

Yeah, it isn't free anymore, but the first 15 levels are.


I played it some time ago and, AFAIR, it was great. So I 
consider to buying it.
But before I buy it, I have a question. Are updates included in 
the purchase or do I have to rebuy it when a new release comes 
out?


I don't really want to rebuy a game every now and then.


Hi, thanks for the trust.

Updates are included, I would hate to charge multiple times for 
the same thing.


_But_ except for bugs I haven't planned to do any update at all, 
so don't except much more.


As it stands I think of it as "done".


Re: Announcement: DConf 2017 Hackathon May 7

2017-02-15 Thread Ali Çehreli via Digitalmars-d-announce

On 02/14/2017 01:17 PM, Walter Bright wrote:

I am happy to announce that there will be a special addition to this
year's DConf.


Can we have dconf.org updated with this please.

Ali