On Tuesday, 4 October 2016 at 18:41:16 UTC, FreeSlave wrote:
On Tuesday, 4 October 2016 at 17:02:34 UTC, Adam D. Ruppe wrote:
On Tuesday, 4 October 2016 at 16:55:22 UTC, Andre Pany wrote:
Spawn process is working fine on linux, only on windows it
doesn't work.
I will create a bug report.
Thi
On Tuesday, October 04, 2016 20:05:15 TheGag96 via Digitalmars-d-learn wrote:
> I was writing some code today and ran into this oddity that I'd
> never come across before:
>
> import std.algorithm : sort;
> int[10] arr = [0, 3, 4, 6, 2, 1, 1, 4, 6, 9];
> thing.sort();
>
> This doesn'
On Tuesday, 4 October 2016 at 20:05:15 UTC, TheGag96 wrote:
I was writing some code today and ran into this oddity that I'd
never come across before:
import std.algorithm : sort;
int[10] arr = [0, 3, 4, 6, 2, 1, 1, 4, 6, 9];
thing.sort();
This doesn't compile. Obviously the .sort p
On 10/04/2016 09:22 PM, Begah wrote:
I seem to be missing something.
It seems that if you want to create a shared object of a structure ( or
class ), then I have to copy every functions and add "shared" to it.
This seems way more work than it should.
For example why can't this simply work :
cl
On Tuesday, 4 October 2016 at 20:05:15 UTC, TheGag96 wrote:
I was writing some code today and ran into this oddity that I'd
never come across before:
import std.algorithm : sort;
int[10] arr = [0, 3, 4, 6, 2, 1, 1, 4, 6, 9];
thing.sort();
This doesn't compile. Obviously the .sort p
I was writing some code today and ran into this oddity that I'd
never come across before:
import std.algorithm : sort;
int[10] arr = [0, 3, 4, 6, 2, 1, 1, 4, 6, 9];
thing.sort();
This doesn't compile. Obviously the .sort property works, but
what about static arrays makes them unabl
I seem to be missing something.
It seems that if you want to create a shared object of a
structure ( or class ), then I have to copy every functions and
add "shared" to it. This seems way more work than it should.
For example why can't this simply work :
class Image {
string name;
On Tuesday, 4 October 2016 at 17:02:34 UTC, Adam D. Ruppe wrote:
On Tuesday, 4 October 2016 at 16:55:22 UTC, Andre Pany wrote:
Spawn process is working fine on linux, only on windows it
doesn't work.
I will create a bug report.
This isn't really a bug if it is a cmd file like the other
poste
On Tuesday, 4 October 2016 at 16:55:22 UTC, Andre Pany wrote:
Spawn process is working fine on linux, only on windows it
doesn't work.
I will create a bug report.
This isn't really a bug if it is a cmd file like the other poster
said... cmd files are scripts that need to be run through the
i
On 10/03/2016 11:46 PM, Chalix wrote:
On Monday, 3 October 2016 at 18:00:53 UTC, Mike Wey wrote:
The signal functions can be found in the gobject.Signals module.
But you should use the GLArea.addOnCreateContext / addOnRender /
addOnResize functions to attach a D delegate to the signal.
You will
On Tuesday, 4 October 2016 at 13:52:23 UTC, FreeSlave wrote:
On Tuesday, 4 October 2016 at 12:58:19 UTC, Andre Pany wrote:
Hi,
I need to call a Node application. node and npm are in windows
path variable.
I have following folder structure:
./app.d
./js/helloworld.js
./js/package.json
[...]
On Tuesday, 4 October 2016 at 13:18:45 UTC, Adam D. Ruppe wrote:
Are you sure npm is in the path? From your shell, do `which
npm` and see where it is coming from, you might want to use the
full path to spawn process.
Yes, npm is in path. From all directories I can execute npm/node
(--version)
Back again with another little problem that isn't specifically
OpenGL related, but is a result of getting such code to work.
Code I'm working on:
https://dfcode.wordpress.com/2016/10/04/linker-problem/
What I'm learning from:
http://www.learnopengl.com/#!Getting-started/Camera,
http://www.lea
Could somebody answer the following question:
may I port a project that has artistic license to D and relicense it
under boost one? Artistic license allows relicensing in total but I'm
not sure it's possible in case of Boost license.
Thanks
On Tuesday, 4 October 2016 at 12:58:19 UTC, Andre Pany wrote:
Hi,
I need to call a Node application. node and npm are in windows
path variable.
I have following folder structure:
./app.d
./js/helloworld.js
./js/package.json
[...]
npm is .cmd file on Windows. Maybe this is issue. Looks like
On Monday, 3 October 2016 at 11:40:00 UTC, deed wrote:
Unexpected auto-concatenation of string elements:
string[] arr = ["a", "b" "c"];// ["a", "bc"], length==2
int[] arr2 = [[1], [2] [3]];// Error: array index 3 is
out of bounds [2][0 .. 1]
// Error:
On Tuesday, 4 October 2016 at 13:16:35 UTC, Adam D. Ruppe wrote:
I'd put your repeated variables together in a struct, then pass
it around to the functions. At least then you pass just one
param at a time, without losing the info.
That's not a bad idea.
I have been creating "ids" to point to m
Are you sure npm is in the path? From your shell, do `which npm`
and see where it is coming from, you might want to use the full
path to spawn process.
I'd put your repeated variables together in a struct, then pass
it around to the functions. At least then you pass just one param
at a time, without losing the info.
Howdy folks
This might be a really stupid question, but ya know, if you don't
ask ...
So, anytime I am calling a function, I have to include everything
that the function needs all the time. My simplistic example is:
#!/usr/bin/rdmd
import std.stdio;
void test(string firstinput, string sec
Hi,
I need to call a Node application. node and npm are in windows
path variable.
I have following folder structure:
./app.d
./js/helloworld.js
./js/package.json
content of helloworld.js:
console.log('hello world');
content of package.json:
{
"name": "test",
"version": "1.0.0",
"scripts
On Sunday, 25 September 2016 at 16:23:11 UTC, Matthias Klumpp
wrote:
Hello!
I am working together with others on the D-based
appstream-generator[1] project, which is generating software
metadata for "software centers" and other package-manager
functionality on Linux distributions, and is used
22 matches
Mail list logo