I'm getting a segmentation fault in vibe.d web interface class.
Does referring "this" in an "if" or "switch" within a method
cause segfault?
Trying to find it but working with a debugger in D is not
straight forward. Not yo talk of interpretating the debugger
output.
How has things
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.
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.
Its a work in progress and needs some good formatting and
language polish. Try it on your kid :)
https://github.com/aberba/learn-coding
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
On Friday, 3 February 2017 at 13:21:18 UTC, Sönke Ludwig wrote:
Am 03.02.2017 um 10:28 schrieb yazd:
[...]
Keeping the system overloads would break the safety guarantees
at a relatively deep level and would render the whole effort
rather useless (this is the case for non-scope callbacks
On Friday, 3 February 2017 at 22:56:33 UTC, Joseph Rushton
Wakeling wrote:
As of earlier today, a snap package for LDC 1.1.0 has been
published in the 'edge' channel of the Ubuntu store.
[...]
There is now support for 14.04 too.
Although snaps are marketed by Canonical, I see flatpack to be
On Friday, 3 February 2017 at 22:34:31 UTC, Ali Çehreli wrote:
On 02/03/2017 11:43 AM, WhatMeWorry wrote:
On Friday, 3 February 2017 at 18:37:15 UTC, Johan Engelen
wrote:
On Friday, 3 February 2017 at 17:20:43 UTC, WhatMeWorry wrote:
[...]
...
Another related one is assigning to a
On Friday, 3 February 2017 at 06:46:37 UTC, Suliman wrote:
If I open it's from VPS (as localhost:8080) it's work same as
from Internet (no do not open at all).
One this I may suggest is the port if its used already (8080).
Try to use;
import std.process: environment;
settings.port =
On Thursday, 2 February 2017 at 05:33:57 UTC, FrankLike wrote:
A good language, powerful performance is on the one hand,
but, first of all is practical.
No language does not involve the database, because the database
is the most widely used. Why C #, Java are better than D in
practical?
On Thursday, 2 February 2017 at 08:38:32 UTC, Nick Sabalausky
wrote:
On 02/02/2017 03:23 AM, Suliman wrote:
[...]
But it does not. I am getting Access Violation instead of the
exception
if connection credentials is wrong:
Authentication failure: Access denied for user
On Wednesday, 1 February 2017 at 14:18:56 UTC, Adam D. Ruppe
wrote:
On Wednesday, 1 February 2017 at 07:46:03 UTC, Vladimir
Panteleev wrote:
I wish I could use "Content-type: text/markdown" without
breaking Gmail etc.
Yeah. You could do multipart/alternative with the markdown in
text/plain
On Wednesday, 1 February 2017 at 11:55:20 UTC, Suliman wrote:
On Wednesday, 1 February 2017 at 11:39:46 UTC, Suliman wrote:
[...]
Yeah, it was issue in dini 2. dini 1 work fine.
Is std.file not blocking (when used in vibe.d)?
I can't find it. Like set_cookie() in php.
On Wednesday, 1 February 2017 at 09:35:02 UTC, Sönke Ludwig wrote:
Am 31.01.2017 um 12:11 schrieb Sönke Ludwig:
The first release of the revamped core module [1] is nearing,
and along
with that, a compatible vibe.d release (0.8.0). The new core
module is
still opt-in in this release and can
On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
Are there any dub package for compressing images uploaded
through web forms? Cropping/resizing may also come in handy.
I want one for a vibe.d project.
dlib-webp[1] is almost what I've been looking for. In fact, webp
is a complete
On Monday, 30 January 2017 at 08:09:18 UTC, Daniel Kozak wrote:
Wow :) Maybe it is time to go back from mysql-lited to
mysql-native :)
I doubt that. Mysql-lited has support for using a struct as a
Schema for DB queries. The @as and @optional properties are so
useful for project I'm working
On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
Are there any dub package for compressing images uploaded
through web forms? Cropping/resizing may also come in handy.
I want one for a vibe.d project.
I read Flickr and others use GraphicsMagick but here again heroku
doesn't help.
On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
Are there any dub package for compressing images uploaded
through web forms? Cropping/resizing may also come in handy.
I want one for a vibe.d project.
Currently, there are RIP and Daffodil dor image related
operations. I think
On Friday, 27 January 2017 at 19:14:19 UTC, Jesse Phillips wrote:
On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
Are there any dub package for compressing images uploaded
through web forms? Cropping/resizing may also come in handy.
I want one for a vibe.d project.
I don't know of
Are there any dub package for compressing images uploaded through
web forms? Cropping/resizing may also come in handy.
I want one for a vibe.d project.
On Thursday, 26 January 2017 at 02:41:24 UTC, Walter Bright wrote:
On 1/24/2017 6:27 AM, aberba wrote:
Which one works well? I'm more concerned about syntax
highlighting and line
numbering (in some cases). Support for custom fonts.
I've used Ddoc to publish a couple of Kindle books.
Ddoc
Which one works well? I'm more concerned about syntax
highlighting and line numbering (in some cases). Support for
custom fonts.
On Monday, 23 January 2017 at 14:40:18 UTC, Ola Fosheim Grøstad
wrote:
On Saturday, 21 January 2017 at 19:30:31 UTC, Jack Stouffer
wrote:
On Saturday, 21 January 2017 at 18:38:22 UTC, Nestor wrote:
Hi friends,
Is there a way to "compile" d code to C, similar to what nim
does?
That would be
I'm creating a function to authenticate user login. I want to
determine login failure (Boolean) and error message (will be sent
to frontend) but D does have multiple return type (IMO could use
struct but will make code dirty with too much custom types).
struct Result
{
bool success =
How do I verify this struct has no value
Student getStudent()
{
...
Student s;
if(condition) s = Student;
return s;
}
auto stu = getStudent();
//which will work and is best?
if (stu is null) //doesn't wrk.
if (stu is Student.init) //will confirm when i get to my pc
Or how
On Friday, 20 January 2017 at 03:48:14 UTC, rikki cattermole
wrote:
On 20/01/2017 9:29 AM, Rene Zwanenburg wrote:
On Thursday, 19 January 2017 at 14:04:36 UTC, aberba wrote:
Using the standard library, how do a get number of hours or
seconds or
minutes or days or months or years till current
On Wednesday, 18 January 2017 at 09:31:49 UTC, xtreak wrote:
Rust is making good progress on the IDE aspect with the
announcement :
http://www.jonathanturner.org/2017/01/rls-alpha-release.html.
HN discussion : https://news.ycombinator.com/item?id=1348
It will be good to see the protocol
Using the standard library, how do a get number of hours or
seconds or minutes or days or months or years till current time
from a past timestamp (like "2 mins ago")? Not with manual
calculations but from Phobos functions.
On Wednesday, 18 January 2017 at 17:51:18 UTC, Jacob Carlborg
wrote:
On 2017-01-18 10:24, aberba wrote:
What about Photoshop? Is it native? No.
Last time I used it it didn't look very native.
So it will be incorrect to say native gui is a requirement to
fain higher adoption.
There are s3, Rackspace(restful api), ...
Which one will you recommended for easy and flexible usuage in
D(vibe.d) app hosted on Heroku? Pros and cons.
On Monday, 16 January 2017 at 07:38:31 UTC, Jacob Carlborg wrote:
On 2017-01-16 07:28, Vadim Lopatin wrote:
Windows support in DlangUI is not native since it does not use
native
controls.
DlangUI draws widgets itself on all platforms. But on Win32
it's
possible to build app which uses Win32
On Saturday, 14 January 2017 at 03:26:40 UTC, ketmar wrote:
On Saturday, 14 January 2017 at 03:05:44 UTC, nbro wrote:
On Saturday, 14 January 2017 at 02:57:05 UTC, ketmar wrote:
[...]
Serious users, to whom I'm directing this post, who really
believe in D's potential, should try to
On Tuesday, 17 January 2017 at 12:38:43 UTC, strymon wrote:
I have been around the D community for about a year and I have
been enjoying the language - thanks to the creators! I think it
would be good to have a reading list outside the D materials.
Ali's book is a great introduction but if you
https://fossbytes.com/syntaxdb-programming-syntax-search-engine-coders/
Allows you to query certain demo code in a programming language.
Support for D can...
On Saturday, 14 January 2017 at 11:02:51 UTC, Joakim wrote:
There were two recent posts by a new Rust user about how he's
finding that language, that got a lot of attention on their
reddit. In the latter post, he mentions D as a competitor:
[...]
linking to local modules too. Is it
On Friday, 13 January 2017 at 12:00:41 UTC, ZombineDev wrote:
On Friday, 13 January 2017 at 06:32:02 UTC, aberba wrote:
Unlike array1 + array2, how can i merge arrays such that:
[a1, a1, a2, a1, a1, a2, a1] //uniform order
where a1 = child of array1,
a2 = child of array2
using a built-in
Unlike array1 + array2, how can i merge arrays such that:
[a1, a1, a2, a1, a1, a2, a1] //uniform order
where a1 = child of array1,
a2 = child of array2
using a built-in function/algorithm (is/are there anything(s) in
Phobos for this?). No manual approach.
On Thursday, 12 January 2017 at 07:43:18 UTC, lobo wrote:
On Thursday, 12 January 2017 at 07:24:43 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 15:33:36 UTC, Sai wrote:
After all, when someone wants a cross platform D GUI library,
the ONLY current usable choice is DLangUI.
I
On Wednesday, 11 January 2017 at 15:33:36 UTC, Sai wrote:
On Wednesday, 11 January 2017 at 09:17:45 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable
On Monday, 9 January 2017 at 19:36:18 UTC, aberba wrote:
Turns out my question was answered somewhere on vibe.d website
For those situations where more control is required, it is
possible to simply declare parameters of type HTTPServerRequest
or HTTPServerResponse to give a method full
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable (and already being
used in industry).
Or are you talking about including it into Phobos? That's not
the best idea, it
This seemed to be an effort (among others) to bring GUI cross
platform to standard D but some
language/compiler/Phobos/Deimos/manpower issues were the drag.
https://github.com/Devisualization
We now have DLangUI.
I wonder what the current drag is.
On Tuesday, 3 January 2017 at 11:47:54 UTC, aberba wrote:
On Tuesday, 3 January 2017 at 00:51:04 UTC, Chris Wright wrote:
On Mon, 02 Jan 2017 21:49:03 +, aberba wrote:
Planning to use mysql and mongoDB(for the flexible part). I
haven't research much about File Systems but I planning
On Wednesday, 4 January 2017 at 17:45:36 UTC, solidstate1991
wrote:
On Monday, 2 January 2017 at 15:16:31 UTC, Basile B. wrote:
Write your plan here, and let's take a rendez-vous next year,
to check those plans !!
- Either implement a pre-existing language for AI and
scripting (eg. Lisp) or
If you have ever done any clustering with D (vibe.d), what was
the challenges you encountered? What was your setup?
If you have not but have fair idea in clustering, what setup and
tools would you recommend (Amazon web services)?
I've been currently thinking about using mysql and mongoDB
On Wednesday, 4 January 2017 at 04:10:30 UTC, Adam D. Ruppe wrote:
About six months to get everything we wanted working well. The
initial core was done in about two (including me writing
necessary D libraries to support it, this was done before
vibe.d was out so I wrote all my own), then we
On Tuesday, 3 January 2017 at 00:04:33 UTC, Adam D. Ruppe wrote:
On Monday, 2 January 2017 at 21:49:03 UTC, aberba wrote:
I'm trying to work on a platform like "pinterest-like" but on
a small scale.
I did something similar for work about five or six years ago.
Used D, went well.
The
On Tuesday, 3 January 2017 at 00:51:04 UTC, Chris Wright wrote:
On Mon, 02 Jan 2017 21:49:03 +, aberba wrote:
I'm not building Facebook/pinterest but I'm trying to work on
a platform like "pinterest-like" but on a small scale. I want
it to be easy to write, fast, ... you know. D is
I'm not building Facebook/pinterest but I'm trying to work on a
platform like "pinterest-like" but on a small scale. I want it to
be easy to write, fast, ... you know. D is obviously that (IMO).
About scalability, would you recommend D(vibe.d initially) for
long run (techically, generally,
On Friday, 30 December 2016 at 06:22:40 UTC, bauss wrote:
[...]
Yeah. I meant a subset. But widgets will not follow the DOM query
syntax, it should use class attributes.
.button {
border-color: red;
}
.container {
...
}
auto btn = new Button();
btn.addClass("button");
On Thursday, 29 December 2016 at 19:54:43 UTC, bauss wrote:
On Wednesday, 28 December 2016 at 12:33:58 UTC, Satoshi wrote:
[...]
I know this is kinda late to the game
If you want to do GUI development and don't want to use any of
the existing things because they're outdated or anything you
On Tuesday, 27 December 2016 at 12:47:15 UTC, Samson Akomire
wrote:
I am working with GTKD for GUI Application in D programing
language. D programing Language is truly wholesome in all
definitions.I have a great difficulty in setting widgets width
and height. I will also appreciate any
I might be working on a project which might require a lot of
string pathern validation and sanitization. Planning to make that
into a dub package.
Currently, I am not very familiar with regex in D but I did regex
stuff long ago. So if anyone has code or interest for something
like that, I
Currently, its hard to choose a lib because there is no way of
knowing how many people use it.
On Tuesday, 20 December 2016 at 18:42:11 UTC, WebFreak001 wrote:
On Tuesday, 20 December 2016 at 18:22:51 UTC, aberba wrote:
[...]
iterate over req.files like this instead:
foreach (name, picture; req.files) // name is "picture[]" now
{
...
}
Nice.
[...]
pragma(msg,
On Monday, 19 December 2016 at 23:02:59 UTC, Benjiro wrote:
I split this from the "Re: A betterC modular standard library?"
topic because my response is will be too much off-topic but the
whole thread is irking me the wrong way. I see some of the same
argument coming up all the time, with a
In PHP, I am able to access the name attribute of multiple files
submitted through forms at the server side in $_FILES global.
For example, a file input with name="picture[]" will allow me to
upload multiples files with the same attribute name. This can be
access in PHP as;
$files =
On Wednesday, 14 December 2016 at 19:22:12 UTC, 01010100b wrote:
On Wednesday, 14 December 2016 at 03:49:23 UTC, Jonathan M
Davis wrote:
Also, would you even allow @ on stuff like static or const?
Why not?
Really?
@pure @final @nogc func();
@final class G{}
@@
On Wednesday, 14 December 2016 at 12:06:01 UTC, rumbu wrote:
On Wednesday, 14 December 2016 at 11:06:10 UTC, aberba wrote:
[...]
If he runs the command in an already open console window,
that's normal. A new console window launch will be enough to
know about the recent environment path
I am trying to get a fellow to try D but just setting up on
windows 10 has been headache. He's currently remote. Here's the
problem. (Note I'm a Linux user and haven't used windows 10)
1. He installed dmd 2 but the command "dmd" is not recognized. He
confirmed and c:\D\dmd2\windows\bin is in
On Monday, 12 December 2016 at 00:42:54 UTC, Nicholas Wilson
wrote:
On Sunday, 11 December 2016 at 18:30:54 UTC, aberba wrote:
You can enforce that the string that you receive is an email
address with `isEmail` from `std.net.isemail`
Nice.
What sql library are you using? there is probably
In php, I use built-in functions like
filter_var(FILTER_VALIDATE_EMAIL, $email). There are other
constants for different data types.
Again, there is mysqli_real_escape_string() for escaping SQL
injection/harmful characters.
What are my options in vibe.d or even D?
On Saturday, 10 December 2016 at 13:25:13 UTC, Nicholas Wilson
wrote:
On Saturday, 10 December 2016 at 13:21:40 UTC, notna wrote:
On Saturday, 10 December 2016 at 08:03:00 UTC, biozic wrote:
[...]
Well, you know, that's one of the not so great things about
Dlang... you cannot even trust
On Saturday, 10 December 2016 at 13:29:20 UTC, Suliman wrote:
On Saturday, 10 December 2016 at 08:10:46 UTC, Shachar Shemesh
wrote:
On 10/12/16 09:25, Suliman wrote:
I plan to visit Tel Aviv from 31 December to 6-th of January
of next year.
Is there anybody who take part in D-community there?
On Thursday, 8 December 2016 at 20:37:23 UTC, Tiberiu Gal wrote:
On Thursday, 8 December 2016 at 14:03:35 UTC, aberba wrote:
I would like to try vibe.d with mongoDB on OpenShit. I managed
to do that on Heroku. Do I need a buildpack like vibe.d?
Any help will be really appreciated.
I've
On Thursday, 8 December 2016 at 20:48:52 UTC, NVolcz wrote:
On Tuesday, 6 December 2016 at 22:28:04 UTC, aberba wrote:
[...]
Love the article! Please keep writing tutorials like this :-D.
Feedback:
1.
The upload function is (kind of) vulnerable against path
traversal:
I would like to try vibe.d with mongoDB on OpenShit. I managed to
do that on Heroku. Do I need a buildpack like vibe.d?
Any help will be really appreciated.
On Thursday, 8 December 2016 at 00:44:19 UTC, Sönke Ludwig wrote:
Am 06.12.2016 um 23:28 schrieb aberba:
https://aberba.github.io/2016/form-upload-in-vibe-d/
Nice article, I'll add this to the tutorials section [1]. Two
additional suggestions:
- It's probably a good idea to mention that
On Monday, 5 December 2016 at 17:18:25 UTC, e-y-e wrote:
Currently I have been learning D for about a year and a half.
This may seem like a short time, but this is the longest I have
stuck with any language. I have only been learning for 4 years
and I am currently in university studying first
On Tuesday, 6 December 2016 at 22:13:54 UTC, bpr wrote:
On Tuesday, 6 December 2016 at 17:00:35 UTC, Jonathan M Davis
I would guess that the vast majority of interest shown in Rust
is from people who essentially want a better C or C++, with no
runtime/GC. So, I think Ilya's point is very
https://aberba.github.io/2016/form-upload-in-vibe-d/
501 - 572 of 572 matches
Mail list logo