On Monday, 17 December 2018 at 21:59:59 UTC, JN wrote:
Hey guys,
while working on my game engine project, I encountered a DMD
codegen bug. It occurs only when compiling in release mode,
debug works. Unfortunately I am unable to minimize the code,
since it's quite a bit of code, and changing t
On Mon, 17 Dec 2018 22:20:54 +, harfel wrote:
> I am looking for a way to serialize/deserialize the state of the
> std.random.Random number generator, ideally using orange
> (https://github.com/jacob-carlborg/orange) or another serialization
> library. From looking at the module source code, I
On Tuesday, 18 December 2018 at 00:36:12 UTC, Ron Tarrant wrote:
Are these typos obvious, or is there an errata?
They're obvious. Stuff like doubled ; at the end of lines in code
samples, or curly quotes when they should be straight. (They are
the result of me fighting Microsoft Word and the
On Tue, Dec 18, 2018 at 12:36:12AM +, Ron Tarrant via Digitalmars-d-learn
wrote:
> On Monday, 17 December 2018 at 15:32:37 UTC, Adam D. Ruppe wrote:
>
> > There's a few minor changes in mine (the D Cookbook one), and a few
> > typos in the book I didn't catch until too late that mean some
> >
On Monday, 17 December 2018 at 15:32:37 UTC, Adam D. Ruppe wrote:
There's a few minor changes in mine (the D Cookbook one), and a
few typos in the book I didn't catch until too late that mean
some examples won't literally compile anyway, but they are all
quite small.
Are these typos obvious,
I am looking for a way to serialize/deserialize the state of the
std.random.Random number generator, ideally using orange
(https://github.com/jacob-carlborg/orange) or another
serialization library. From looking at the module source code, I
understand how to seed a random number generator with
On Mon, Dec 17, 2018 at 09:59:59PM +, JN via Digitalmars-d-learn wrote:
[...]
> class Texture2D {}
>
> auto a = new Texture2D();
> auto b = new Texture2D();
> auto c = new Texture2D();
> Texture2D[int] TextureBindings;
> writeln(a, b, c);
> textureBindings[0] = a;
> textureBindings[1] = b;
> t
I have a JSON string[][string] associative array object that I
want to take the .toPrettyString value of. However, it sorts the
output alphabetically.
string[][string] aa = [ "abc" : [], "def" : [], "ghi" : [] ];
auto asJSON = JSONValue(aa);
writeln(asJSON.toPrettyString);
Output:
{
"abc"
Hey guys,
while working on my game engine project, I encountered a DMD
codegen bug. It occurs only when compiling in release mode, debug
works. Unfortunately I am unable to minimize the code, since it's
quite a bit of code, and changing the code changes the bug
occurrence. Basically my faulty
On Monday, 17 December 2018 at 15:10:13 UTC, Per Nordlöw wrote:
With LDC I get
base.d:908: error: undefined reference to
'_D3etc5linux11memoryerror26registerMemoryErrorHandlerFZb'
https://github.com/ldc-developers/ldc/issues/1915
Arbitrary operations such as writing into some invalid address
On Monday, 17 December 2018 at 08:56:07 UTC, Laurent Tréguier
wrote:
I think that's not possible right now, D-Scanner skips over
body functions and unittest blocks to not clutter the tags with
potentially lots of local names.
A pity; nevertheless many thanks for coming back on it!
On Sunday, 16 December 2018 at 22:02:44 UTC, bachmeier wrote:
Sometimes Packt has sales and you can get them pretty cheap.
All Packt ebooks are on sale for $5 right now, so this is a great
time to pick up both books along with Kai's Vibe.d book.
On Monday, 17 December 2018 at 06:08:58 UTC, Jani Hur wrote:
Publish dates are 2014 and 2015. How much the language has
changed/evolved since then and how much it will evolve in
future ?
There's a few minor changes in mine (the D Cookbook one), and a
few typos in the book I didn't catch until
Does
/// See_Also:
https://forum.dlang.org/post/nzazqswxadqzyoghw...@forum.dlang.org
static this()
{
import etc.linux.memoryerror : registerMemoryErrorHandler;
registerMemoryErrorHandler();
}
only work with DMD?
With LDC I get
base.d:908: error: undefined reference to
'_D3etc5linux1
On Sunday, December 16, 2018 12:53:43 PM MST Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 12/15/18 5:14 PM, Jonathan M Davis wrote:
> > On Saturday, December 15, 2018 10:27:36 AM MST Neia Neutuladh via
> >
> > Digitalmars-d-learn wrote:
> >> On Sat, 15 Dec 2018 17:19:05 +, Timoses
On Sunday, 16 December 2018 at 09:59:12 UTC, David wrote:
I am wondering how I could display (nested) local variables and
functions in vim's tagbar (majutsushi/tagbar) using dscanner?
So far I only see gloable variables, functions, ...
=== script.d ==
import std.stdio;
enum gl
16 matches
Mail list logo