On Monday, 8 January 2018 at 05:38:44 UTC, thedeemon wrote:
On Sunday, 7 January 2018 at 17:30:26 UTC, Vino wrote:
I tried to manipulate the writeln's as below but the output
is not as expected as it prints the data in row wise, where as
we need it in column wise.
You've said before you
https://issues.dlang.org/show_bug.cgi?id=18202
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/dlang.org
https://github.com/dlang/dlang.org/commit/c3405730008513b49e8c50ac7806571b3865195c
Add header TOC generation
Fix Issue 18202 - Show
https://issues.dlang.org/show_bug.cgi?id=18202
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Sunday, 7 January 2018 at 20:41:57 UTC, Dechcaudron wrote:
It allows the runtime evaluation of simple math expressions
like `1 + 2 * 3` or `1 ^ foo`, with foo being given values at
run time.
That's a nice exercise in using Pegged.
Reminds me of another Pegged-based calculator with
On Sunday, 7 January 2018 at 17:30:26 UTC, Vino wrote:
I tried to manipulate the writeln's as below but the output is
not as expected as it prints the data in row wise, where as we
need it in column wise.
You've said before you need 6 different files, not some tables.
Also, after the
On Sunday, 7 January 2018 at 12:22:17 UTC, John Colvin wrote:
On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
- want no gc? Ok, at least there is BetterC, so if I invest
myself quite a bit on D (I am the kind of programmer that
likes to squeeze power out of machines, so this
On Monday, 8 January 2018 at 03:14:32 UTC, Joakim wrote:
On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
negative points also as I use it :p. By the way, and a bit
off-topic for the post, but, if I want to port my code to run
on Android/iOS, what is the recommended way?
1.
On 1/6/18 6:25 PM, Ali Çehreli wrote:
Is 'static foreach' sufficient for all needs or is there any value for
regular foreach over compile-time sequences?
If you use continues or breaks, then you need to switch to gotos if
using static foreach, as it does not support them directly.
-Steve
On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
negative points also as I use it :p. By the way, and a bit
off-topic for the post, but, if I want to port my code to run
on Android/iOS, what is the recommended way?
1. create a shared library and consume it? Is that possible
On Sunday, 7 January 2018 at 17:02:02 UTC, visitor wrote:
It seems a simple underscore "_" as a variable name tells
Dscanner exactly that.
Any number of underscores but underscores only apparently.
That works too. Thanks.
On Friday, January 05, 2018 06:10:25 Jonathan M Davis via Digitalmars-d
wrote:
> There was a recent PR for Phobos where Seb added static to a bunch of
> foreach's that used AliasSeq. It hadn't actually occurred to me that that
> was legal (I've basically just been using static foreach where
Can anybody reproduce this, with dmd 2.078.0 on Windows:
mkdir ddox
cd ddox
dub init
dub build -b ddox
A popup appears with
Unexpected OPTLINK Termination at EIP=0040F60A
EAX=0805 EBX=00438C70 ECX=09B3 EDX=03D7 ESI=009F
EDI=08051934 EBP=0019FF38 ESP=0019FEF0
On Friday, 5 January 2018 at 20:51:14 UTC, Basile B. wrote:
Yeah, i didn't explain correctly the mixin thing.
The mixin would be used to disable "new" and "delete", e.g
enum disableNewAndDelete = "@disable new (size_t
size){return null;} @disable delete (void* p){}";
and then you mix it
https://issues.dlang.org/show_bug.cgi?id=18206
Issue ID: 18206
Summary: Deprecate duplicated overloads in DRuntime
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
On Sunday, 7 January 2018 at 11:05:01 UTC, H3XT3CH wrote:
Hello
i want to create a memory dump in D.
The memory dump is for forensic usage so it must a dump of the
complete ram.
Can anyone help me ?
I know that programms already exist that create correct dumps
of my memory but i want to
On Sunday, January 07, 2018 09:59:30 Timon Gehr via Digitalmars-d wrote:
> On 05.01.2018 14:10, Jonathan M Davis wrote:
> > Taking it a step further, I tried switching some of the static foreach's
> > over to using array literals, since they held values rather than types,
> > and that seemed to
On Saturday, 6 January 2018 at 19:32:51 UTC, Benjamin Thaut wrote:
I'm currently back on dll support and I'm applying finishing
touches to my dll support PR. Now I want to know if I missed
any corner cases and it would be great if a few more people
gave the dll support a try.
-To try it out
On Sunday, 7 January 2018 at 20:41:57 UTC, Dechcaudron wrote:
Updating this library I coded more than a year ago, so that I
could use it as an optional dependency of the coming up dli
library.
It allows the runtime evaluation of simple math expressions
like `1 + 2 * 3` or `1 ^ foo`, with foo
On Sunday, 7 January 2018 at 15:40:36 UTC, H3XT3CH wrote:
I need it for windows and linux but primary for windows
On *nix this is traditionally called a "core dump". A quick
search will get you lots of tutorials. Most distros today
disable core dumps with ulimit. Run "help ulimit" and
On Sunday, 7 January 2018 at 18:30:17 UTC, Simen Kjærås wrote:
Instead of doing that silly dance, alias should simply take
values as well.
Also, using "enum" for manifest constants makes sense for people
familiar with C idiom, but often confuses people coming from
different languages.
On Monday, 16 October 2017 at 20:58:43 UTC, Martin Nowak wrote:
On Friday, 13 October 2017 at 17:08:18 UTC, Steven
Schveighoffer wrote:
I keep https://github.com/MartinNowak/bloom also as
example/scaffold repo, it's using an automated docs setup
with gh-branches.
Just create a doc deployment
Updating this library I coded more than a year ago, so that I
could use it as an optional dependency of the coming up dli
library.
It allows the runtime evaluation of simple math expressions like
`1 + 2 * 3` or `1 ^ foo`, with foo being given values at run time.
It was never announced in
https://issues.dlang.org/show_bug.cgi?id=18205
Basile B. changed:
What|Removed |Added
Keywords||pull
https://issues.dlang.org/show_bug.cgi?id=18205
dran...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
On Sunday, 7 January 2018 at 03:52:53 UTC, Stefan Koch wrote:
The compiler can only alias to symbols and not to values.
therefore enum was chosen for manifest constants.
That alias can bind to values in template-parameters is useful
but not exactly consistent :)
Not only that, but alias can
https://issues.dlang.org/show_bug.cgi?id=18205
--- Comment #1 from dran...@gmail.com ---
The current behaviour seems to be by design, according to this unittest assert
from Phobos (std.format#L5779):
assert(format("%8s", "b\u00e9ll\u00f4") == " b\u00e9ll\u00f4");
The length of the tested string
On Sunday, 7 January 2018 at 17:23:20 UTC, thedeemon wrote:
On Sunday, 7 January 2018 at 12:59:10 UTC, Vino wrote:
Just noticed that the output writes the data and key as 2
values , but the requirnment is to write to six files, e.g
That's the part you can implement yourself. Just replace
Am 07.01.2018 um 16:40 schrieb H3XT3CH:
I need it for windows and linux but primary for windows
On windows there is the MiniDumpWriteDump function:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680360(v=vs.85).aspx
This might sound misleading but besides being able to write
On Sunday, 7 January 2018 at 12:59:10 UTC, Vino wrote:
Just noticed that the output writes the data and key as 2
values , but the requirnment is to write to six files, e.g
That's the part you can implement yourself. Just replace those
writelns with writing to corresponding files.
On 7 January 2018 at 17:52, Random D user via Digitalmars-d
wrote:
> On Friday, 5 January 2018 at 03:28:10 UTC, Walter Bright wrote:
>>
>> On 1/4/2018 2:34 AM, Mike Franklin wrote:
>>>
>>> Walter seems to pop in daily, and occasionally reviews PRs, and his PRs
>>> of
On Saturday, 6 January 2018 at 16:08:06 UTC, Mike Parker wrote:
My annual retrospective on the D Blog is up. Managing the blog
really is a lot of fun for me. Every time I click the publish
button I stay glued to reddit and the stats page to see how
it's being received, with a glance now and
HI All,
Request your help, in the below code the output from main
(writeln(columns[0][])) function is like ["Miller", "John",
"Millman", "Zsuwalski"] where as the writeln(col[0]) from the
function master is as below, so how do i get the output same as
in main from the function master.
On Sunday, 7 January 2018 at 16:29:42 UTC, visitor wrote:
On Sunday, 7 January 2018 at 16:14:11 UTC, Jacob Carlborg wrote:
On 2018-01-07 01:18, Ivan Trombley wrote:
Is there a way tell dscanner that a variable is intentionally
unused?
I don't know about D-Scanner but I know that other
On Friday, 5 January 2018 at 03:28:10 UTC, Walter Bright wrote:
On 1/4/2018 2:34 AM, Mike Franklin wrote:
Walter seems to pop in daily, and occasionally reviews PRs,
and his PRs of late are mostly just refactorings rather than
fixing difficult bugs.
There's a lot of technical debt I've been
On Sunday, 7 January 2018 at 16:14:11 UTC, Jacob Carlborg wrote:
On 2018-01-07 01:18, Ivan Trombley wrote:
Is there a way tell dscanner that a variable is intentionally
unused?
I don't know about D-Scanner but I know that other similar
tools allow you to prefix the name of a variable with
https://issues.dlang.org/show_bug.cgi?id=18205
Issue ID: 18205
Summary: Format string with width specification doesn't work
with multibyte characters
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
On 2018-01-07 01:18, Ivan Trombley wrote:
While working with SDL, I found that I kept using the same pattern over
and over:
- Get the current clip rectangle.
- Set a new clip rectangle.
- restore the old clip rectangle on scope (exit).
Instead of writing that code again and again, I wrote a
On Sunday, 17 December 2017 at 14:16:14 UTC, Johan Engelen wrote:
On Wednesday, 22 November 2017 at 22:16:12 UTC, thinwybk wrote:
Andrei thought it could be a good GSoC project.
It may take a bit of effort to define the project such that the
D community at large can benefit from it. I'm
On Sunday, 7 January 2018 at 14:50:30 UTC, Benjamin Thaut wrote:
Am 07.01.2018 um 12:05 schrieb H3XT3CH:
Hello
i want to create a memory dump in D.
The memory dump is for forensic usage so it must a dump of the
complete ram.
Can anyone help me ?
I know that programms already exist that create
https://issues.dlang.org/show_bug.cgi?id=18204
Steven Schveighoffer changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16017
Seb changed:
What|Removed |Added
Keywords||ddoc, pull
https://issues.dlang.org/show_bug.cgi?id=11882
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=18204
Issue ID: 18204
Summary: Use MonoTime for timing of profile tracing runtime
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Am 07.01.2018 um 12:05 schrieb H3XT3CH:
Hello
i want to create a memory dump in D.
The memory dump is for forensic usage so it must a dump of the complete
ram.
Can anyone help me ?
I know that programms already exist that create correct dumps of my
memory but i want to understand how it works
https://issues.dlang.org/show_bug.cgi?id=8196
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=14631
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=11985
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=13557
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
Am 07.01.2018 um 00:42 schrieb Rubn:
Looks good. If you want testers though, providing binaries would be
beneficial. Compiling dmd/druntime/phobos on Windows can be a pain.
I made a binary distribution. I updated
http://stuff.benjamin-thaut.de/D/getting_started.html with the details.
--
Am 07.01.2018 um 15:08 schrieb MrSmith:
Does the implementation support dynamically loaded dlls?
Yes. There is even a test for it
--
Kind Regards
Benjamin Thaut
https://issues.dlang.org/show_bug.cgi?id=15067
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=12210
Issue 12210 depends on issue 15051, which changed state.
Issue 15051 Summary: Code that runs fine on dpaste.dzfl.pl refuses to run on
dlang.org
https://issues.dlang.org/show_bug.cgi?id=15051
What|Removed |Added
https://issues.dlang.org/show_bug.cgi?id=15050
Seb changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=15051
Seb changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=12210
Issue 12210 depends on issue 15050, which changed state.
Issue 15050 Summary: DPaste is always passing an empty second argument to
programs
https://issues.dlang.org/show_bug.cgi?id=15050
What|Removed |Added
https://issues.dlang.org/show_bug.cgi?id=15178
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=16159
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=14475
Seb changed:
What|Removed |Added
Keywords||pull
CC|
https://issues.dlang.org/show_bug.cgi?id=17025
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=18192
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
On Sunday, 7 January 2018 at 13:50:23 UTC, Adam D. Ruppe wrote:
On Sunday, 7 January 2018 at 12:40:22 UTC, Bastiaan Veelo wrote:
1) Should we have a reference in the docs for std.traits to
std.range.primitive : ElementType?
wouldn't hurt i guess
2) Should phobos contain a version without the
On Saturday, 6 January 2018 at 19:32:51 UTC, Benjamin Thaut wrote:
You can find a quick start guide here:
http://stuff.benjamin-thaut.de/D/getting_started.html
If you need more information and examples take a look here:
https://github.com/Ingrater/DIPs/blob/ReviveDIP45/DIPs/DIP45.md
Does the
On Sunday, 7 January 2018 at 12:40:22 UTC, Bastiaan Veelo wrote:
1) Should we have a reference in the docs for std.traits to
std.range.primitive : ElementType?
wouldn't hurt i guess
2) Should phobos contain a version without the special narrow
string behavior?
see ElementEncodingType
On 1/6/18 11:14 AM, Christian Köstlin wrote:
On 05.01.18 23:04, Steven Schveighoffer wrote:
One thing to try, you preallocate the ENTIRE buffer. This only works if
you know how many bytes it will decompress to (not always possible), but
it will take the allocator out of the equation completely.
On Thursday, 4 January 2018 at 15:52:15 UTC, Andre Pany wrote:
My hobby project is to create a bridge between the Embarcadero
RAD Studion (Delphi) and D.
The idea is to use all functionality from Delphi and RAD Studio
(GUI designer, thousands of libraries) without writing one 1
line Pascal but
On Sunday, 7 January 2018 at 13:15:44 UTC, Bastiaan Veelo wrote:
On Sunday, 7 January 2018 at 11:49:52 UTC, BSaidus wrote:
Hello;
Is D programming language will be standardized some day ??
Thanks.
See
https://forum.dlang.org/post/amplsndnksyowwayr...@forum.dlang.org
And
On Sunday, 7 January 2018 at 11:49:52 UTC, BSaidus wrote:
Hello;
Is D programming language will be standardized some day ??
Thanks.
See
https://forum.dlang.org/post/amplsndnksyowwayr...@forum.dlang.org
On Sunday, 7 January 2018 at 12:09:32 UTC, Vino wrote:
On Saturday, 6 January 2018 at 15:32:14 UTC, thedeemon wrote:
On Saturday, 6 January 2018 at 06:47:33 UTC, Vino wrote:
[...]
Here's a version with Array, it's very similar:
import std.algorithm: countUntil, joiner, sort, uniq, map;
The learn forum is great not only for asking questions, but also
for learning from the questions by others: I just learned about
the existence of std.range.primitives: ElementType, a function
that I have looked for in phobos before, without finding it. I
had expected this to be in std.traits
On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
- want no gc? Ok, at least there is BetterC, so if I invest
myself quite a bit on D (I am the kind of programmer that likes
to squeeze power out of machines, so this always means that I
will not consider VM languages), I will
On Saturday, 6 January 2018 at 15:26:30 UTC, Vino wrote:
Hi All,
Request you help on the below program as it error out with the
below error
[...]
Hi All,
Thank you was able to resolve the issue.
From,
Vino.B
On Saturday, 6 January 2018 at 15:32:14 UTC, thedeemon wrote:
On Saturday, 6 January 2018 at 06:47:33 UTC, Vino wrote:
[...]
Here's a version with Array, it's very similar:
import std.algorithm: countUntil, joiner, sort, uniq, map;
import std.csv: csvReader;
import std.stdio: File, writeln;
On 07/01/2018 11:49 AM, BSaidus wrote:
Hello;
Is D programming language will be standardized some day ??
Thanks.
We definitely could do with it (our spec is a massive mess and
definitely inaccurate).
But no, it isn't on the agenda.
Hello;
Is D programming language will be standardized some day ??
Thanks.
On Saturday, 6 January 2018 at 11:17:56 UTC, Seb wrote:
On Friday, 5 January 2018 at 13:02:12 UTC, qznc wrote:
I'm exploring [0] C++ interop after watching Walter's
presentation [1].
[...]
I know about this:
https://github.com/Remedy-Entertainment/binderoo
Yes, thanks Mike. I have 2.24 installed. Now I have to figure out
how I can upgrade binutils without a distro upgrade. :)
Hello
i want to create a memory dump in D.
The memory dump is for forensic usage so it must a dump of the
complete ram.
Can anyone help me ?
I know that programms already exist that create correct dumps of
my memory but i want to understand how it works and how to work
with my dumps
https://issues.dlang.org/show_bug.cgi?id=18203
Issue ID: 18203
Summary: Accessing accessing out parameters in an 'in' contract
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Sunday, 7 January 2018 at 03:41:18 UTC, SimonN wrote:
Another way would be to have the RAII wrapper in a with
statement, but it produces extra indentation, which you might
not like:
with (MyStruct(100, 200)) {
// code that uses the new clip rectangle
}
-- Simon
This
On Sunday, 7 January 2018 at 08:46:40 UTC, Basile B. wrote:
More simple is to understand D-Scanner limitations and accept
that warnings are only warnings and that a message doesn't
necessarily mean that there's something to do.
If the output is clogged with warnings then it's more difficult
Am 07.01.2018 um 03:57 schrieb rikki cattermole:
> +infinity
>
> Few things I would like answered:
>
> - Why -useShared and not -fPIC?
>- If -useShared why not use it on *nix to turn on -fPIC?
Because the DIP says that -useshared and -fPIC are loosley comparable.
This does not mean that
On 05.01.2018 14:10, Jonathan M Davis wrote:
Taking it a step further, I tried switching some of the static foreach's
over to using array literals, since they held values rather than types, and
that seemed to have minimal impact on the time to run dub test. However, by
switching to using
On Sunday, 7 January 2018 at 00:18:27 UTC, Ivan Trombley wrote:
While working with SDL, I found that I kept using the same
pattern over and over:
- Get the current clip rectangle.
- Set a new clip rectangle.
- restore the old clip rectangle on scope (exit).
Instead of writing that code again
On Sunday, 7 January 2018 at 00:22:15 UTC, H. S. Teoh wrote:
On Sun, Jan 07, 2018 at 12:18:27AM +, Ivan Trombley via
Digitalmars-d wrote:
While working with SDL, I found that I kept using the same
pattern over and
over:
- Get the current clip rectangle.
- Set a new clip rectangle.
-
84 matches
Mail list logo