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 = absolut
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 Visual
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 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?)
2)
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&option I can
check dmd core file?
Erdemdem
The same programs and opti
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&option I
> can check d
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 securi
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&option I
can check dmd core file?
Erdemdem
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.
derelict-
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 reque
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 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 abou
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 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
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, th
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.
From
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 /usr/bin
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
> /us
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 fi
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++;
}
writeln(x)
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.
'''
i
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 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 __cd
27 matches
Mail list logo