Hello everybody,
I am very happy to announce that Mecca version 0.0.1 (sorry, no more
zeros than that) is now officially available. You can get the source
code at https://github.com/weka-io/mecca. The API documentation is at
https://weka-io.github.com/mecca/docs.
Mecca is a run-time support
On Friday, 4 May 2018 at 00:09:53 UTC, Nick Sabalausky (Abscissa)
wrote:
On 05/03/2018 11:12 AM, Nemanja Boric wrote:
On Thursday, 3 May 2018 at 12:24:16 UTC, Per Nordlöw wrote:
On Wednesday, 2 May 2018 at 07:13:21 UTC, Mike Parker wrote:
For those of you unable to join us in Munich, you can
On 05/02/2018 10:05 AM, H. S. Teoh wrote:
I've been using structural typing / design by introspection to good
success in my latest project, actually.
I don't doubt that. Similar to global namespace, if the structural
typing is only used heavily by one or two components of a project (ie,
Hi All,
Request you help on the below code, the below code always state
the file does not exist even if the file do exist.
Code:
import core.stdc.stdlib: exit;
import std.stdio;
import std.file;
import std.path;
auto osSwitch () {
string ConfigFile;
version (Windows) { ConfigFile =
An all-D MySQL/MariaDB client library:
https://github.com/mysql-d/mysql-native
==
Tagged release, 'v2.2.2'.
Sorry, no "zero date" fix just yet, but I think we're getting close (#65).
In this version:
- Fixed #177: Update unit-threaded, and don't lock
On Friday, 4 May 2018 at 00:13:42 UTC, Nick Sabalausky (Abscissa)
wrote:
On 05/03/2018 05:09 PM, IM wrote:
I can't wait to watch.
Not sure if you're specifically talking about the videos being
split up per talk, but you can rewatch the full first two days
livestreams here:
Day 1 Afternoon
On 05/03/2018 05:09 PM, IM wrote:
I can't wait to watch.
Not sure if you're specifically talking about the videos being split up
per talk, but you can rewatch the full first two days livestreams here:
Day 1 Afternoon (Apparently morning was lost, I hear):
Error
-
builtins.ConnectionRefusedError: [WinError 10061] No connection
could be made because the target machine actively refused it
Python Side
---
from PyQt5.QtWidgets import QApplication, QMainWindow
import sys
import socket
import settings
if __name__ == "__main__":
app
trying to compile a simple program in x86. Compiles fine in dmd
and ldcx64.
Seems like ldc is using the wrong lib for some reason?
phobos2-ldc.lib(json.obj) : fatal error LNK1112: module machine
type 'x64' conflicts with target machine type 'x86'
Error: C:\Program Files (x86)\Microsoft
nim supports static if (`when`) + CTFE. A simple google search or searching
would've revealed that.
On Thu, May 3, 2018 at 3:20 PM Mark via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On Thursday, 3 May 2018 at 20:57:16 UTC, Dennis wrote:
> > On Thursday, 3 May 2018 at 19:11:05 UTC,
On Thursday, 3 May 2018 at 21:28:18 UTC, bauss wrote:
On Thursday, 3 May 2018 at 18:01:07 UTC, Matthias Klumpp wrote:
DiamondMVC looks nice, but I would need PostgreSQL support for
sure.
Therefore, I think there are three options:
1) Extend the DiamondMVC ORM to support missing features that
On Thursday, 3 May 2018 at 20:57:16 UTC, Dennis wrote:
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote:
Funnily, none of these languages have a "static if" construct,
nor do Rust, Swift and Nim. Not one that I could find, anyway.
What qualifies under "static if"? Because Rust, Swift and
On Thursday, 3 May 2018 at 18:01:07 UTC, Matthias Klumpp wrote:
DiamondMVC looks nice, but I would need PostgreSQL support for
sure.
Therefore, I think there are three options:
1) Extend the DiamondMVC ORM to support missing features that
Hibernated has (maybe make it use ddbc as backend?)
I can't wait to watch.
On 03.05.2018 22:45, kerdemdemir wrote:
After a big refactor my code crushes I have no idea where.
I am only getting :
Program exited with code -11
And a core file.
I used to use gdb for c++ coredumps. With what program I can
check dmd core file?
Erdemdem
The same programs and options
On Thursday, May 03, 2018 19:45:54 kerdemdemir via Digitalmars-d-learn
wrote:
> After a big refactor my code crushes I have no idea where.
>
> I am only getting :
>
> Program exited with code -11
>
> And a core file.
>
> I used to use gdb for c++ coredumps. With what program I
> can check dmd
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote:
Funnily, none of these languages have a "static if" construct,
nor do Rust, Swift and Nim. Not one that I could find, anyway.
What qualifies under "static if"? Because Rust, Swift and Nim do
have conditional compilation.
On Thursday, 3 May 2018 at 18:52:34 UTC, singingbush wrote:
On Thursday, 3 May 2018 at 10:27:47 UTC, Pasqui23 wrote:
Last commit on https://github.com/buggins/hibernated
was almost a year ago
So what is the status of HibernateD?Should I use it if I need
an ORM? Or would I risk unpatched
I just got through watching the "live stream" not so live and
noticed one of the lightning talks on Lisp macros. And that
system just reminded me of this old presentation:
https://youtu.be/FRfTk44nuWE?t=1h5m32s
After a big refactor my code crushes I have no idea where.
I am only getting :
Program exited with code -11
And a core file.
I used to use gdb for c++ coredumps. With what program I
can check dmd core file?
Erdemdem
On Thursday, 3 May 2018 at 18:03:17 UTC, bachmeier wrote:
It's not a problem. Walter can redo the talk from his basement
and upload it to youtube.
Well, If he is able to reproduce the look and feel from the
original with all the jokes etc. I can accept that.
On Thursday, 3 May 2018 at 18:36:04 UTC, RegeleIONESCU wrote:
And here is the error I get when I execute dub run:
christian@Christians:~/D_Projects$ dub run
Performing "debug" build using /usr/bin/dmd for x86_64.
derelict-util 2.0.6: target for configuration "library" is up
to date.
On Wednesday, 25 April 2018 at 14:18:07 UTC, Rel wrote:
In case you guys like to take a quick look at new emerging,
but somewhat unknown systems programming languages:
* https://www.red-lang.org/ (own handwritten backend)
* https://crystal-lang.org/ (llvm-based backend)
* https://ziglang.org/
On Thursday, 3 May 2018 at 10:27:47 UTC, Pasqui23 wrote:
Last commit on https://github.com/buggins/hibernated
was almost a year ago
So what is the status of HibernateD?Should I use it if I need
an ORM? Or would I risk unpatched security risks?
Both hibernated and ddbc have had open pull
On Thursday, 3 May 2018 at 06:33:53 UTC, Mike Parker wrote:
On Thursday, 3 May 2018 at 03:18:02 UTC, RegeleIONESCU wrote:
The only problem I have with DUB is that all added
dependencies are "old". For example added dependency
"derelict-sdl2" is version="~>2.1.4" while on DUB site the
last
On Friday, 10 April 2015 at 21:26:35 UTC, bachmeier wrote:
On Friday, 10 April 2015 at 18:52:24 UTC, weaselcat wrote:
The only things I've read about nim have been on the D forums
- it seems the wikipedia article is even being considered for
deletion due to not being noteworthy. So I think you
https://issues.dlang.org/show_bug.cgi?id=18026
--- Comment #6 from JR ---
I can no longer reproduce with 2.079.1 nor 2.080.0, on the same machines that
previously exhibited the overflow.
Was something changed, or is it merely being tricky again?
--
On Thursday, 3 May 2018 at 11:53:02 UTC, Juan wrote:
On Thursday, 3 May 2018 at 05:46:45 UTC, Bastiaan Veelo wrote:
As I understand it, they were not recording but relying on
YouTube to save the stream. For whatever reason, that didn’t
work out. They wrote that they would be trying to recover
On Thursday, 3 May 2018 at 10:27:47 UTC, Pasqui23 wrote:
Last commit on https://github.com/buggins/hibernated
was almost a year ago
So what is the status of HibernateD?Should I use it if I need
an ORM? Or would I risk unpatched security risks?
Hah!
I was just browsing the forums thinking
On Thursday, 3 May 2018 at 15:57:04 UTC, Andrea Fontana wrote:
5-stars. Very happy with borrowing from Steven. Would
recommend.
Those paid reviews. :)
Looking forward to collecting my money. Send it to my bitcoin
address.
On Thursday, 3 May 2018 at 14:08:06 UTC, Luís Marques wrote:
On Thursday, 3 May 2018 at 13:24:34 UTC, bauss wrote:
On Thursday, 3 May 2018 at 12:54:57 UTC, Steven Schveighoffer
wrote:
No, the solution is schveiguy prime -- borrow from the person
sitting next to you ;)
-Steve
Watch out
On 04/05/2018 3:44 AM, bioinfornatics wrote:
On Thursday, 3 May 2018 at 15:30:28 UTC, rikki cattermole wrote:
On 04/05/2018 3:27 AM, bioinfornatics wrote:
[...]
dub doesn't do platform specific installing.
It just handles building. What you want is out of scope and has been
discussed.
Ok
On Thursday, 3 May 2018 at 15:30:28 UTC, rikki cattermole wrote:
On 04/05/2018 3:27 AM, bioinfornatics wrote:
[...]
dub doesn't do platform specific installing.
It just handles building. What you want is out of scope and has
been discussed.
Ok but as all D projects can be built only with
On 04/05/2018 3:27 AM, bioinfornatics wrote:
Dear,
As 99% of d project use dub as build and package manager. I would like
to know how to use D libraries and D software shared to all user on
linux architecture ?
When I run:
dub fetch
A .dub directory is created into $HOME. I tried to
https://issues.dlang.org/show_bug.cgi?id=18822
--- Comment #1 from Jack Stouffer ---
Introduced in https://github.com/dlang/phobos/pull/6235
So, what's happening is that the toString of Appender now uses formatValue,
which calls formatRange, which calls graphemeStride.
Dear,
As 99% of d project use dub as build and package manager. I would
like to know how to use D libraries and D software shared to all
user on linux architecture ?
When I run:
dub fetch
A .dub directory is created into $HOME. I tried to provide
another directory with --root parameter
On Thursday, 3 May 2018 at 11:53:02 UTC, Juan wrote:
On Thursday, 3 May 2018 at 05:46:45 UTC, Bastiaan Veelo wrote:
As I understand it, they were not recording but relying on
YouTube to save the stream. For whatever reason, that didn’t
work out. They wrote that they would be trying to recover
On Thursday, 3 May 2018 at 12:24:16 UTC, Per Nordlöw wrote:
On Wednesday, 2 May 2018 at 07:13:21 UTC, Mike Parker wrote:
For those of you unable to join us in Munich, you can watch
the fun online via the following link:
https://www.youtube.com/user/hlmceventsgmbh
I can't find Andrei's talk
https://issues.dlang.org/show_bug.cgi?id=18822
Issue ID: 18822
Summary: [REG 2.080.0] Compiling byGrapheme Fails
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
https://issues.dlang.org/show_bug.cgi?id=18819
--- Comment #2 from ki...@gmx.net ---
(In reply to kinke from comment #1)
> I just glanced at the code, but it appears invalid (specifically,
> emplaceRef() for a 0-sized T), see https://github.com/dlang/phobos/pull/6480.
Disregard, there's no
https://issues.dlang.org/show_bug.cgi?id=18819
ki...@gmx.net changed:
What|Removed |Added
CC||ki...@gmx.net
--- Comment #1 from
On Thursday, 3 May 2018 at 13:24:34 UTC, bauss wrote:
On Thursday, 3 May 2018 at 12:54:57 UTC, Steven Schveighoffer
wrote:
No, the solution is schveiguy prime -- borrow from the person
sitting next to you ;)
-Steve
Watch out Amazon, you got competition
5-stars. Very happy with borrowing
On Thursday, 3 May 2018 at 02:51:18 UTC, Meta wrote:
If you want that, you might be able to do `int val = val` on
the inner function, though I'm not sure that'll work.
It does not work and will do nothing.
On Thursday, 3 May 2018 at 12:54:57 UTC, Steven Schveighoffer
wrote:
On 5/3/18 12:44 PM, Andrea Fontana wrote:
On Tuesday, 1 May 2018 at 11:25:31 UTC, Luís Marques wrote:
On Tuesday, 1 May 2018 at 09:32:13 UTC, Stefan Koch wrote:
On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques wrote:
On 5/3/18 12:44 PM, Andrea Fontana wrote:
On Tuesday, 1 May 2018 at 11:25:31 UTC, Luís Marques wrote:
On Tuesday, 1 May 2018 at 09:32:13 UTC, Stefan Koch wrote:
On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques wrote:
Hi. Can anyone staying at the conference hotel lend me an iPhone
On Wednesday, 2 May 2018 at 07:13:21 UTC, Mike Parker wrote:
For those of you unable to join us in Munich, you can watch the
fun online via the following link:
https://www.youtube.com/user/hlmceventsgmbh
I can't find Andrei's talk this morning. Was it lost?
On 2018-05-03 09:34:56 +, kinke said:
That's why there's `extern(C++, class) struct Image`, see
https://dlang.org/spec/cpp_interface.html#classes.
Hi, thanks. I didn't understand the docs as without any code examples
for all the different cases, it's hard to derive the syntax and how to
https://issues.dlang.org/show_bug.cgi?id=18821
Mr. Smith changed:
What|Removed |Added
CC||mrsmit...@yandex.ru
--
https://issues.dlang.org/show_bug.cgi?id=18821
Issue ID: 18821
Summary: DMD segfault 2.080
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: regression
Priority: P1
On Thursday, 3 May 2018 at 11:00:36 UTC, bauss wrote:
On Thursday, 3 May 2018 at 10:27:47 UTC, Pasqui23 wrote:
That is if you want to use something that isn't "dead"
On Thursday, 3 May 2018 at 10:27:47 UTC, Pasqui23 wrote:
Last commit on https://github.com/buggins/hibernated
was almost a year ago
So what is the status of HibernateD?Should I use it if I need
an ORM? Or would I risk unpatched security risks?
Although currently only mysql/mariadb support,
On Thursday, 3 May 2018 at 10:51:59 UTC, bauss wrote:
On Thursday, 3 May 2018 at 10:44:05 UTC, Andrea Fontana wrote:
On Tuesday, 1 May 2018 at 11:25:31 UTC, Luís Marques wrote:
On Tuesday, 1 May 2018 at 09:32:13 UTC, Stefan Koch wrote:
On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques
On Thursday, 3 May 2018 at 10:44:05 UTC, Andrea Fontana wrote:
On Tuesday, 1 May 2018 at 11:25:31 UTC, Luís Marques wrote:
On Tuesday, 1 May 2018 at 09:32:13 UTC, Stefan Koch wrote:
On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques wrote:
Hi. Can anyone staying at the conference hotel
On Sunday, 29 April 2018 at 14:01:10 UTC, Gerald wrote:
A new version of tilix has been released. For those not
familiar with it, Tilix is a terminal emulator for Linux
written in D using GTK. The list of changes is available here:
https://gnunn1.github.io/tilix-web/2018/04/28/release-1-7-9
On Tuesday, 1 May 2018 at 11:25:31 UTC, Luís Marques wrote:
On Tuesday, 1 May 2018 at 09:32:13 UTC, Stefan Koch wrote:
On Monday, 30 April 2018 at 19:30:25 UTC, Luís Marques wrote:
Hi. Can anyone staying at the conference hotel lend me an
iPhone charging cable? Even just for a few minutes
On Thursday, 3 May 2018 at 10:22:43 UTC, Vino wrote:
On Thursday, 3 May 2018 at 10:19:55 UTC, Jonathan M Davis wrote:
[...]
Hi Jonathan,
The below packages are already installed
[...]
Hi Jonathan,
Installed the package libcurl-devel, that resolved the issue.
Thank you very much.
Last commit on https://github.com/buggins/hibernated
was almost a year ago
So what is the status of HibernateD?Should I use it if I need an
ORM? Or would I risk unpatched security risks?
On Thursday, 3 May 2018 at 10:19:55 UTC, Jonathan M Davis wrote:
On Thursday, May 03, 2018 10:10:05 Vino via Digitalmars-d-learn
wrote:
Hi All,
Request your help , while compiling a d program in SUSE
Linux i
am getting the below error, the executable curl is present
under
the path
On Thursday, May 03, 2018 10:10:05 Vino via Digitalmars-d-learn wrote:
> Hi All,
>
> Request your help , while compiling a d program in SUSE Linux i
> am getting the below error, the executable curl is present under
> the path /usr/bin/
>
> ask:/DScript # dmd -m64 -O -release -inline test.d
>
Hi All,
Request your help , while compiling a d program in SUSE Linux i
am getting the below error, the executable curl is present under
the path /usr/bin/
ask:/DScript # dmd -m64 -O -release -inline test.d
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
cannot
On Thursday, May 03, 2018 22:00:04 rikki cattermole via Digitalmars-d-learn
wrote:
> On 03/05/2018 9:50 PM, ag0aep6g wrote:
> > On 05/03/2018 07:56 AM, rikki cattermole wrote:
> >>> ```
> >>> import std.stdio;
> >>> import std.range : enumerate;
> >>>
> >>> void main()
> >>> {
> >>> char[] s
On 03/05/2018 9:50 PM, ag0aep6g wrote:
On 05/03/2018 07:56 AM, rikki cattermole wrote:
```
import std.stdio;
import std.range : enumerate;
void main()
{
char[] s = ['a','b','c'];
char[3] x;
auto i = 0;
foreach(c; s) {
x[i] = c;
i++;
}
On 05/03/2018 07:56 AM, rikki cattermole wrote:
```
import std.stdio;
import std.range : enumerate;
void main()
{
char[] s = ['a','b','c'];
char[3] x;
auto i = 0;
foreach(c; s) {
x[i] = c;
i++;
}
writeln(x);
}
```
Above works without cast.
'''
On Thursday, 3 May 2018 at 07:00:03 UTC, Robert M. Münch wrote:
using struct won't give the correct signature
That's why there's `extern(C++, class) struct Image`, see
https://dlang.org/spec/cpp_interface.html#classes.
Not sure about the const part too, if this is correct on the D
side...
On Monday, 30 April 2018 at 21:11:07 UTC, Gerald wrote:
So I'm curious, what's the consensus on auto?
Speaking for myself:
1) I find auto to be useful when instantiating objects locally;
eliminates redundancy, noise, and line size.
2) I avoid auto functions and despise them in API
On Thursday, 3 May 2018 at 07:14:51 UTC, Timoses wrote:
Will the videos of the talks etc. be available online later?
That's the plan.
As Bastiaan Veelo wrote it appears that something went wrong
with the youtube recordings. Hope this gets resolved and at
least the upcoming talks, if not
https://issues.dlang.org/show_bug.cgi?id=18820
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=18820
Issue ID: 18820
Summary: dip1000 mangling is different for inferred templates
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: link-failure,
On 2018-05-03 02:23:27 +, Rubn said:
You want to use a struct which isn't passed by pointer, but by value.
Which will then give you the signature you want.
In addition to my other post, using struct won't give the correct
signature. That's the signature I need:
public: unsigned int
On Thursday, 3 May 2018 at 03:18:02 UTC, RegeleIONESCU wrote:
The only problem I have with DUB is that all added dependencies
are "old". For example added dependency "derelict-sdl2" is
version="~>2.1.4" while on DUB site the last version is
3.1.0-alpha.3. I tried the --upgrade plus
On 2018-05-03 02:23:27 +, Rubn said:
If "Image" is a class then all classes are based as pointers to their
respective object.
Hi, ok. Didn't remember that this is always the case.
So passing a ref to a class is kind of redundant.
Yes, that's why I was confused.
You want to use a
On 03/05/2018 5:44 PM, James Blachly wrote:
I am puzzled why enumerating in a foreach returns a dchar (which forces
me to cast), whereas without the enumerate the range returns a char as
expected.
Example:
```
import std.stdio;
import std.range : enumerate;
void main()
{
char[] s =
72 matches
Mail list logo