Hi All,
May i know whether there is any module similar to the Linux
command "comm" (finding difference between 2 files), if present
can you please guide me through link to the page nor do let me
know if there is any other solution.
Eg
File1
list1
list2
list3
lsit5
File2
list1
list3
On Saturday, 11 September 2021 at 23:04:29 UTC, Vino wrote:
On Saturday, 11 September 2021 at 19:57:26 UTC, jfondren wrote:
[...]
Hi,
Thank you very much, let me try to explain the actual
requirement, the actual requirement is to find all the
permutations of a given array, I modified
On Saturday, 11 September 2021 at 19:57:26 UTC, jfondren wrote:
On Saturday, 11 September 2021 at 19:37:42 UTC, Vino wrote:
Hi All,
Request your help on the below to print the below array as
"Required output", Was able to get these values
"[1,2],[2,3],[3,4],[4,5]" by using list.slide(2),
Hi All,
Request your help on the below to print the below array as
"Required output", Was able to get these values
"[1,2],[2,3],[3,4],[4,5]" by using list.slide(2), need your help
to get values "1,3],[1,4],[1,5],[2,4],[2,5],[3,5]"
auto list[] = [1,2,3,4,5]
Required output
On Wednesday, 18 November 2020 at 21:33:58 UTC, Ali Çehreli wrote:
On 11/18/20 7:01 AM, Vino wrote:
>Request your help on how to call a function(listFile) from
another
> function(getFilelist) within the same class(GetDirlist),
below is an
> example code.
That code looks unnecessarily
On Wednesday, 18 November 2020 at 18:24:59 UTC, frame wrote:
On Wednesday, 18 November 2020 at 17:55:36 UTC, Vino wrote:
I made the changes as below , still not working
auto fltask = task!listFile(st);
to
auto fltask =
task!({listFile(st);})(this).executeInNewThread();
The syntax is
On Wednesday, 18 November 2020 at 16:53:44 UTC, frame wrote:
On Wednesday, 18 November 2020 at 15:01:53 UTC, Vino wrote:
Hi All,
Request your help on how to call a function(listFile) from
another function(getFilelist) within the same
class(GetDirlist), below is an example code.
I think
On Tuesday, 17 November 2020 at 21:08:21 UTC, Paul Backus wrote:
On Tuesday, 17 November 2020 at 19:07:42 UTC, Vino wrote:
auto pid = execute(["/usr/bin/aws ec2 describe-images
--filters 'Name=state,Values=available' --query
'Images[*].[ImageId]'"]);
[...]
auto pid = execute(["/usr/bin/aws
Hi All,
Request your help on how to call a function(listFile) from
another function(getFilelist) within the same class(GetDirlist),
below is an example code.
Code:
class GetDirlist {
@system private auto listFile(immutable string st)
{
auto fl = execute(["ls","-l"]);
enforce(fl.status
Hi All,
Request your help on how to execute aws commands, below is an
example code, and this code is not working, tried several options
nothing seem to be working.
Code:
import std.process: environment, execute;
import std.stdio: writeln;
void main() {
environment["AWS_DEFAULT_REGION"] =
On Monday, 16 November 2020 at 18:30:01 UTC, Max Haughton wrote:
On Monday, 16 November 2020 at 17:44:08 UTC, Vino wrote:
Hi All,
Request your suggestion, we have a program which call's an
api, the output of the api is parsed using json parser and the
result is stored in an
Hi All,
Request your suggestion, we have a program which call's an api,
the output of the api is parsed using json parser and the result
is stored in an array(Array!string[string] data), then these
stored result are inserted into MySQL table, for inserting the
data into the table we use
On Tuesday, 10 November 2020 at 09:47:06 UTC, sarn wrote:
On Tuesday, 10 November 2020 at 08:19:15 UTC, Vino wrote:
[...]
This is iterating over all the elements in data2 and outputting
some of them, so the output will never be longer than data2.
[...]
Hi Sarn,
Thank you very much
Hi All,
Request your help, the below code output's as below hence
request your help on hot to get the output as below(Required
Output).
Output
DEV Cluster
QAS Cluster
Required Output
DEV Cluster
DEV Cluster
DEV Cluster
QAS Cluster
Code
import std.container.array;
import std.stdio:
On Monday, 9 November 2020 at 20:57:33 UTC, Daniel Kozak wrote:
On Mon, Nov 9, 2020 at 9:50 PM rinfz via Digitalmars-d-learn <
digitalmars-d-learn@puremagic.com> wrote:
On Monday, 9 November 2020 at 20:40:59 UTC, rinfz wrote:
> On Monday, 9 November 2020 at 19:55:07 UTC, Vino wrote:
>> ...
>
Hi All,
Request your help to on how to improve the performance of the
below code.
import std.conv: to;
import std.net.curl : get, HTTP, CurlOption;
import std.parallelism: parallel;
import std.range: chain, only;
import std.typecons: Tuple, tuple;
void main ()
{
Array!(Tuple!(int,string))
On Monday, 9 November 2020 at 18:55:44 UTC, Ali Çehreli wrote:
On 11/9/20 9:53 AM, k2aj wrote:
> string text = "welcome2worldinfo";
> string hg = toUpper(text[0..7] ~ "-" ~ text[7..8] ~ "-" ~
text[8..13]);
If those concatenations with the ~ operators prove to be costly
at runtime, the
Hi All,
Request your help on how to extract sub string from a string,
below is an example in PHP, need your help on how to do the same
in D.
$text = "welcome2worldinfo";
$hg = strtoupper(substr($text , 0, 7).'-'.substr($text, 7,
1).'-'.substr($text, 8, 5));
print_r($hg) \\ Output :
On Sunday, 8 November 2020 at 19:31:50 UTC, frame wrote:
On Sunday, 8 November 2020 at 19:29:39 UTC, frame wrote:
On Sunday, 8 November 2020 at 16:30:40 UTC, Vino wrote:
Request your help on how to get the first value of "type"
from the below json, the expected output required is as below,
Hi All,
Request your help on how to get the first value of "type" from
the below json, the expected output required is as below,
{"characteristicValue":"TT,t...@dev.com,DEV"}
output1: TT
output2: t...@dev.com
Code:
/+dub.sdl:
dependency "asdf" version="~>0.6.6"
+/
import std;
import
On Saturday, 7 November 2020 at 15:26:48 UTC, frame wrote:
On Saturday, 7 November 2020 at 14:57:39 UTC, Vino wrote:
After further analysis we suspect that the issue is at the
package std.net.curl the flow of the program is as below
Establishing a new connection may vary in duration of
On Saturday, 7 November 2020 at 14:38:35 UTC, Vino wrote:
On Saturday, 7 November 2020 at 14:16:46 UTC, Vino wrote:
On Saturday, 7 November 2020 at 12:29:46 UTC, Andre Pany wrote:
On Friday, 6 November 2020 at 04:58:05 UTC, Vino wrote:
[...]
While doing performance measurements you should
On Saturday, 7 November 2020 at 14:16:46 UTC, Vino wrote:
On Saturday, 7 November 2020 at 12:29:46 UTC, Andre Pany wrote:
On Friday, 6 November 2020 at 04:58:05 UTC, Vino wrote:
[...]
While doing performance measurements you should do each test
multiple time (at least 5 times). There could
On Saturday, 7 November 2020 at 12:29:46 UTC, Andre Pany wrote:
On Friday, 6 November 2020 at 04:58:05 UTC, Vino wrote:
[...]
While doing performance measurements you should do each test
multiple time (at least 5 times). There could be for example an
effect that executing a db query the
On Friday, 6 November 2020 at 10:30:03 UTC, Mathias LANG wrote:
On Friday, 6 November 2020 at 05:52:56 UTC, Vino wrote:
[...]
Which Linux distribution ? Which version of Vibe.d ?
A recent enough Vibe.d should detect OpenSSL based on 1)
pkg-config 2) the openssl binary. Make sure you have the
Hi All,
When we try to build vide.d using ldc (dub build) we are
getting the below error, openssl is already been installed
(OpenSSL 1.0.2j-fips 26 Sep 2016), hence request your help on
the same.
openssl.d:84: error: undefined reference to 'OPENSSL_init_ssl'
openssl.d:121: error:
Hi All,
We recently tested the below components and the test results
are as below, even though hunt-database is faster than
mysql-native it is hard to use this package as it lacks on
documentation, non of the example provided in the documentation
works, one has to go through the code and
On Tuesday, 3 November 2020 at 18:14:33 UTC, Andre Pany wrote:
On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote:
Hi All,
Currently testing Hunt database, and facing an issue as
below, hence request your help
File : GetConnections.d
###
module
On Tuesday, 3 November 2020 at 14:47:01 UTC, Imperatorn wrote:
On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote:
Hi All,
Currently testing Hunt database, and facing an issue as
below, hence request your help
[...]
What datatype is Seq in your settings table?
Hi,
The filed Seq
Hi All,
Currently testing Hunt database, and facing an issue as below,
hence request your help
File : GetConnections.d
###
module common.GetConnections;
import hunt.database;
class Connections
{
public Database conn;
this() { conn = new
Hi All,
Request your help on how to remove duplicates in JSON.
Code:
import asdf;
import std.algorithm : map, filter, uniq;
import std.container.array;
import std.stdio : writeln;
import std.typecons : Tuple, tuple;
import std.array;
void main() {
string apidata = `{
"items":
[
{
On Saturday, 31 October 2020 at 15:16:22 UTC, Vino wrote:
Hi All,
Request your help on the below code, the requirement is that
result's are stored in one single container.
Code:
import asdf;
import std.algorithm: map;
import std.container.array;
import std.stdio: writeln;
import
Hi All,
Request your help on the below code, the requirement is that
result's are stored in one single container.
Code:
import asdf;
import std.algorithm: map;
import std.container.array;
import std.stdio: writeln;
import std.typecons: Tuple, tuple;
import std.range: lockstep;
auto api1()
On Friday, 30 October 2020 at 19:33:43 UTC, Paul Backus wrote:
On Friday, 30 October 2020 at 19:07:20 UTC, Vino wrote:
[...]
Here's a working version of the code from your original post:
import asdf : parseJson;
import std.algorithm;
import std.container.array;
import std.stdio : writeln;
On Friday, 30 October 2020 at 19:07:20 UTC, Vino wrote:
On Friday, 30 October 2020 at 18:41:35 UTC, Paul Backus wrote:
On Friday, 30 October 2020 at 10:23:22 UTC, Vino wrote:
Hi,
Request your help on the below code
[...]
.filter!(a => a.(["items"].byElement))
What exactly
On Friday, 30 October 2020 at 18:41:35 UTC, Paul Backus wrote:
On Friday, 30 October 2020 at 10:23:22 UTC, Vino wrote:
Hi,
Request your help on the below code
[...]
.filter!(a => a.(["items"].byElement))
What exactly are you trying to accomplish with this `a.(stuff)`
On Friday, 30 October 2020 at 17:56:22 UTC, Andre Pany wrote:
On Friday, 30 October 2020 at 10:23:22 UTC, Vino wrote:
Hi,
Request your help on the below code
Code:
import asdf: parseJson;
import std.algorithm;
import std.container.array;
import std.stdio: writeln;
import std.typecons:
Hi,
Request your help on the below code
Code:
import asdf: parseJson;
import std.algorithm;
import std.container.array;
import std.stdio: writeln;
import std.typecons: Tuple, tuple;
void main()
{
string apidata1 = `{"items":
[
{"name":"T01","hostname":"test01","pool":"Development"},
Hi All,
Is it possible to create an associative array using
std.container.array, if possible can you please provide me an
example nor send me some link which has this information.
From,
Vino.B
Hi All,
Request your help in the below code, the logic is that fetch
the json data(Pool) from apidata1 and use that and search for
"pool" in sapidata2 and print the matched(pool) type from
apidata2.
Code:
import datacollector.GetLamaAssignment;
import std.stdio: writeln;
import asdf:
On Tuesday, 27 October 2020 at 08:00:55 UTC, Imperatorn wrote:
On Monday, 26 October 2020 at 19:05:04 UTC, Vino wrote:
[...]
Some comments:
1. You're missing a comma (,) after the first item in your
apidata
2. You're creating a string[int][string] instead of
string[][string] (your
On Tuesday, 27 October 2020 at 02:50:55 UTC, 9il wrote:
On Monday, 26 October 2020 at 14:31:00 UTC, Vino wrote:
[...]
No. ndslice provides rectangular arrays. An associative array
(as it defined in D) can't be really 2D, instead, it is an AA
of AAs like in your example. A real 2D analog
Hi All,
Request your help on the below on how to store the output to a
multi dimensional associative array.
Code:
import std.stdio: writeln;
import asdf: parseJson;
import std.conv: to;
void main()
{
string[int][string] aa;
string apidata = `{"items":
[
Hi All,
Is it possible to create a multi dimensional associative array
using mir.ndslice,
if yes,
(1): request you to point me to some example / docs
(2): below is an example multi dimensional associative array
using the core d module, and
how can we to implement the same
On Monday, 26 October 2020 at 09:43:44 UTC, Vino wrote:
On Sunday, 25 October 2020 at 08:22:06 UTC, 9il wrote:
[...]
Hi All,
Thank you for your help, and now need your suggestion as the
below code is working and it also prints an additional value
which is not expected, so request your
On Sunday, 25 October 2020 at 08:22:06 UTC, 9il wrote:
On Sunday, 25 October 2020 at 06:05:27 UTC, Vino wrote:
Hi All,
Currently we are testing various json module such as
"std.json, std_data_json, vibe.data.json and asdf", the below
code works perfectely while use "std_data_json or
Hi All,
Currently we are testing various json module such as
"std.json, std_data_json, vibe.data.json and asdf", the below
code works perfectely while use "std_data_json or
vibe.data.json" but not working as expected when we use "asdf"
and throwing the below error, hence request your
On Friday, 23 October 2020 at 20:28:40 UTC, aberba wrote:
On Thursday, 22 October 2020 at 18:43:40 UTC, Steven
Schveighoffer wrote:
[...]
Was about to say that. Part of why I think some people hate
OOP...due to misuse.
All my MySQL projects have this getConnection() function.
Hi All,
On Thursday, 22 October 2020 at 14:08:30 UTC, Steven
Schveighoffer wrote:
On 10/22/20 7:04 AM, Vino wrote:
Hi All,
Request your help on the below code as it is not working as
expected.
GetConnections.d
module common.GetConnections;
import mysql;
class Connections
{
private
Hi All,
Request your help on the below code as it is not working as
expected.
GetConnections.d
module common.GetConnections;
import mysql;
class Connections
{
private Connection conn;
auto constr =
"host=localhost;port=3910;user=user;pwd=password#;db=testdb";
this.conn = new
On Friday, 9 October 2020 at 17:50:16 UTC, Andre Pany wrote:
On Friday, 9 October 2020 at 05:56:05 UTC, Vino wrote:
On Friday, 9 October 2020 at 05:30:34 UTC, ikod wrote:
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On
On Friday, 9 October 2020 at 05:30:34 UTC, ikod wrote:
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
...
auto content = https.perform();
https.shutdown;
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
Request your help, the below code is working but we need
the output as a json array, in PHP we have
json_encode(content), so how to do the same in D, the output
is
Hi All,
Request your help, the below code is working but we need the
output as a json array, in PHP we have json_encode(content), so
how to do the same in D, the output is as below, as we need to
store this output into database table which contains columns'
(Id, Hostname,
On Saturday, 14 March 2020 at 04:24:20 UTC, Vino wrote:
On Friday, 13 March 2020 at 18:10:51 UTC, Vino wrote:
Hi All,
Request your help, the below code is fetching the required
data, after fetching the data at the end it throws the below
errors , hence request your help on how to handle
On Friday, 13 March 2020 at 18:10:51 UTC, Vino wrote:
Hi All,
Request your help, the below code is fetching the required
data, after fetching the data at the end it throws the below
errors , hence request your help on how to handle this issue.
Code:
import std.net.curl, std.stdio,
Hi All,
Request your help, the below code is fetching the required
data, after fetching the data at the end it throws the below
errors , hence request your help on how to handle this issue.
Code:
import std.net.curl, std.stdio, std.conv: to;
void main () {
auto http = HTTP();
On Saturday, 19 October 2019 at 20:40:36 UTC, Boris Carvajal
wrote:
On Saturday, 19 October 2019 at 19:08:45 UTC, Vino wrote:
On Friday, 18 October 2019 at 14:56:05 UTC, Andre Pany wrote:
On Friday, 18 October 2019 at 09:21:46 UTC, Vino wrote:
On Friday, 18 October 2019 at 09:17:24 UTC, Vino
On Friday, 18 October 2019 at 14:56:05 UTC, Andre Pany wrote:
On Friday, 18 October 2019 at 09:21:46 UTC, Vino wrote:
On Friday, 18 October 2019 at 09:17:24 UTC, Vino wrote:
[...]
And now getting the error : Program exited with code
-1073741819
Hi,
Maybe port 8080 is blocked, because
On Friday, 18 October 2019 at 09:17:24 UTC, Vino wrote:
On Friday, 18 October 2019 at 09:11:18 UTC, Vino wrote:
[...]
App.d
import vibe.vibe;
import avm.test;
void main()
{
auto settings = new HTTPServerSettings;
settings.port = 8080;
settings.bindAddresses =
On Friday, 18 October 2019 at 09:11:18 UTC, Vino wrote:
On Friday, 18 October 2019 at 08:54:40 UTC, Jacob Carlborg
wrote:
On Friday, 18 October 2019 at 06:22:33 UTC, Vino wrote:
[...]
The instance variable in the D code, `conn`, doesn't have a
type. I guess the type should be `Connection`.
On Friday, 18 October 2019 at 08:54:40 UTC, Jacob Carlborg wrote:
On Friday, 18 October 2019 at 06:22:33 UTC, Vino wrote:
[...]
The instance variable in the D code, `conn`, doesn't have a
type. I guess the type should be `Connection`. In the D version
of `avmconnect` you're declaring a
On Thursday, 17 October 2019 at 19:02:14 UTC, Vino wrote:
On Thursday, 17 October 2019 at 18:12:54 UTC, Andre Pany wrote:
On Thursday, 17 October 2019 at 10:58:20 UTC, Vino wrote:
Hi All,
We are planning to migrate our website form Mysql/PHP to
Mysql/D using vibe.d , as part of the plan we
Hi All,
Request your help in converting a PHP code to D equivalent code
PHP Code:
class avmtest {
private $con;
function __construct() {
global $config;
$this->con = new mysqli(test.srv.com:3910,
testusr, #, test);
On Thursday, 17 October 2019 at 20:21:39 UTC, Andre Pany wrote:
On Thursday, 17 October 2019 at 19:05:44 UTC, Vino wrote:
[...]
Hi,
I assume you are using this mysql package
http://code.dlang.org/packages/mysql-native.
(If not please check wheter the package you are using is vibe-d
Hi All,
Request your help on the below code and error
Error:
source\app.d(25,15): Error: none of the overloads of writeBody
are callable using argument types (VariantN!20LU), candidates are
Code:
import vibe.vibe;
import std.array : array;
import mysql;
import std.stdio;
import std.range;
On Thursday, 17 October 2019 at 18:12:54 UTC, Andre Pany wrote:
On Thursday, 17 October 2019 at 10:58:20 UTC, Vino wrote:
Hi All,
We are planning to migrate our website form Mysql/PHP to
Mysql/D using vibe.d , as part of the plan we tried to install
the vibe.d (vibe.d 0.8.6 release) and we
Hi All,
We are planning to migrate our website form Mysql/PHP to
Mysql/D using vibe.d , as part of the plan we tried to install
the vibe.d (vibe.d 0.8.6 release) and we are facing below issue,
we have tried both the version of compiler (DMD 2.088.1 DMD Beta
2.089.0-beta.1) the issue is
On Tuesday, 8 October 2019 at 14:02:03 UTC, Vino wrote:
On Tuesday, 8 October 2019 at 11:26:24 UTC, Daniel Kozak wrote:
[...]
Hi Daniel,
As stated I have removed those line and ran the below command
[...]
Hi Daniel,
Was able to resolve the dub test issue using the you tube video
On Tuesday, 8 October 2019 at 11:26:24 UTC, Daniel Kozak wrote:
On Tue, Oct 8, 2019 at 1:15 PM Daniel Kozak
wrote:
...
It is known issue, you can not use mysql-native right now with
anything else than libevent
https://github.com/mysql-d/mysql-native/issues/199
Or you can just remove
Hi All,
Please correct me what is wrong as I am not able to build a
project using dub getting the error "Could not resolve
configuration for package hub".
dub init HUB
C:\Users\userp\Downloads\testhub>dub init HUB
Package recipe format (sdl/json) [json]:
Name [hub]:
Description [A minimal D
Hi All,
Request your help on how to delete a file which has the
extension .fifo (.javast.fifo) in Windows.
From,
Vino.B
On Friday, 4 May 2018 at 15:16:23 UTC, wjoe wrote:
On Friday, 4 May 2018 at 14:24:36 UTC, Vino wrote:
On Friday, 4 May 2018 at 14:02:24 UTC, Jonathan M Davis wrote:
On Friday, May 04, 2018 13:17:36 Vino via Digitalmars-d-learn
wrote:
[...]
Linux does not keep track of the creation time
On Friday, 4 May 2018 at 14:02:24 UTC, Jonathan M Davis wrote:
On Friday, May 04, 2018 13:17:36 Vino via Digitalmars-d-learn
wrote:
On Friday, 4 May 2018 at 12:38:07 UTC, Adam D. Ruppe wrote:
> What are you actually trying to do with it? These functions
> are probably the wholly wrong ap
On Friday, 4 May 2018 at 12:38:07 UTC, Adam D. Ruppe wrote:
What are you actually trying to do with it? These functions are
probably the wholly wrong approach.
Hi Adam,
The existing program in Windows do few task's eg: Delete files
older that certain days, and now we are trying to port to
Hi All,
Request your help, I have a D program written on Windows
platform and the program is working as expected, now i am trying
to port the same program to Linux, my program use the function
"timeCreated" from std.file for Windows hugely where as in Linux
we do not have the same function
On Friday, 4 May 2018 at 09:25:28 UTC, Russel Winder wrote:
On Fri, 2018-05-04 at 08:47 +, Vino via Digitalmars-d-learn
wrote:
[…]
Was able to resolve the issue, the issue was the letter "L"
in
version (Linux) where is should be version (linux).
It would have helped if
On Friday, 4 May 2018 at 07:43:39 UTC, Russel Winder wrote:
On Fri, 2018-05-04 at 03:30 +, Vino via Digitalmars-d-learn
wrote:
[...]
`./nasconfig.txt`
perhaps: Linux uses / (as does Windows in fact) for directory
separator.
[...]
Hi Russel,
Was able to resolve the issue
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 =
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.
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
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 Tuesday, 1 May 2018 at 15:42:38 UTC, Jonathan M Davis wrote:
On Tuesday, May 01, 2018 15:18:12 Vino via Digitalmars-d-learn
wrote:
On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote:
> On 02/05/2018 2:56 AM, Vino wrote:
>> [...]
>
> Does this work?
>
> $ dmd
Hi All,
Request your help, what is the equivalent function of
timeCreated(Windows) for Linux. Or how do i get the file creation
date and time in Linux using D.
From,
Vino.B
On Tuesday, 1 May 2018 at 15:04:43 UTC, rikki cattermole wrote:
On 02/05/2018 2:56 AM, Vino wrote:
Hi All,
Request your help, trying to execute the below program in
SUSE Linux but there is no output
Code
#!/usr/bin/env rdmd
import std.stdio;
void main() {
writeln("Test");
}
DMD Version
Hi All,
Request your help, trying to execute the below program in SUSE
Linux but there is no output
Code
#!/usr/bin/env rdmd
import std.stdio;
void main() {
writeln("Test");
}
DMD Version : DMD64 D Compiler v2.079.1
Package installed : dmd-2.079.1-0.openSUSE.x86_64.rpm
Execution 1 : rdmd
Hi All,
The function rmdirRecurse does not work in Windows if the file
has the READ ONLY permission, so to over come this issue, i have
written the below function to set the permission on file and
folder using the function "setAttributes" , so can any one advice
me whether the below code
On Tuesday, 10 April 2018 at 15:18:19 UTC, Adam D. Ruppe wrote:
On Tuesday, 10 April 2018 at 15:10:44 UTC, Vino wrote:
The variable "to" is of type string[] but we need it as
Array!string
The variable "Subject" but we need it as Array!string.
You'll have to convert them yourself if that is a
On Tuesday, 10 April 2018 at 13:51:02 UTC, Adam D. Ruppe wrote:
On Tuesday, 10 April 2018 at 11:09:56 UTC, Vino wrote:
Now the program works, but the attachment does not work as
expected,
message.addAttachment("text/plain",
"C:\\Temp\\Test\Test1.txt", "Test");
What did you expect that
On Monday, 9 April 2018 at 19:19:53 UTC, Adam D. Ruppe wrote:
On Monday, 9 April 2018 at 15:38:55 UTC, Vino.B wrote:
Thank you very much, I copied your folder arsd under the
phobes folder in c:\D\... and the program was placed on my
desktop and tried to execute it from the desktop via rdmd.
On Sunday, 8 April 2018 at 15:45:48 UTC, Vino wrote:
On Friday, 25 August 2017 at 02:13:42 UTC, Adam D. Ruppe wrote:
[...]
Hi Adam,
I am trying your email.d programming, and i am getting the
below errors, can you please help me, i just used these
programs (characterencodings.d, color.d,
On Friday, 25 August 2017 at 02:13:42 UTC, Adam D. Ruppe wrote:
On Tuesday, 22 August 2017 at 12:52:24 UTC, Vino.B wrote:
Request your help on sending Mails, I am able to receive
mails with empty body the line "smtp.message ="Example
Message" doesn't seem to be working and also please let me
On Saturday, 7 April 2018 at 18:12:00 UTC, Alex wrote:
On Saturday, 7 April 2018 at 17:25:07 UTC, Vino wrote:
Hi All,
Request your help on the below Deprecation message.
import std.datetime.systime: Clock, days, SysTime;
void main (int AgeSize) {
int AgeSize = 1
auto ct2 =
Hi All,
Request your help on the below Deprecation message.
import std.datetime.systime: Clock, days, SysTime;
void main (int AgeSize) {
int AgeSize = 1
auto ct2 = Clock.currTime(), st2 = ct2 + days(-AgeSize);
}
test.d(30): Deprecation: Symbol core.time.days is not visible
from module
Hi All,
Request your help in calling the windows command to delete all
file and folders recursively as the D function rmdirRecurse does
not delete file in the permission of the file is readonly in
windows 2008 R2
import std.process: execute;
import std.array: empty;
auto RemoveDir () (
On Tuesday, 6 March 2018 at 09:01:55 UTC, Vino wrote:
On Monday, 5 March 2018 at 13:50:28 UTC, Vino wrote:
[...]
Hi All,
On further analysis, as to why the function deleteAgedDir is
not getting executed, found that if this function finds a
folder to be deleted then it should delete the
On Monday, 5 March 2018 at 13:50:28 UTC, Vino wrote:
Hi All,
Request your help, I have 3 functions such as below, I am
calling these function using another function ptManage which
executes these function's in parallel as each of the below 3
function run's on 10 - 12 different file systems,
Hi All,
Request your help, I have 3 functions such as below, I am
calling these function using another function ptManage which
executes these function's in parallel as each of the below 3
function run's on 10 - 12 different file systems, The issue is as
below
Issue:
Most of the time the
On Sunday, 25 February 2018 at 03:41:27 UTC, Jonathan M Davis
wrote:
On Sunday, February 25, 2018 02:58:33 Seb via
Digitalmars-d-learn wrote:
[...]
That will help eventually, but it requires a compiler flag, so
it's really not going to help for code in general right now,
and the fact that
On Tuesday, 20 February 2018 at 08:50:27 UTC, Jonathan M Davis
wrote:
On Tuesday, February 20, 2018 08:44:37 aberba via
Digitalmars-d-learn wrote:
On Sunday, 18 February 2018 at 15:23:14 UTC, Cym13 wrote:
> On Sunday, 18 February 2018 at 14:48:59 UTC, Cym13 wrote:
>> [...]
>
> Just thought of a
1 - 100 of 231 matches
Mail list logo