Piotr Szturmaj

Results 12 comments of Piotr Szturmaj

If you need to handle nulls then you have to make fields nullable, in this case: ``` dlang import std.typecons; struct V { Nullable!int x; int y; } ```

This code was written in 2011 and AFAIR there was a problem with storing null in Variant/Algebraic. We need to upgrade this to newer D language version. I can't do...

No matter if I press Ctrl+C, or close the (console) application or click the stop button (Shift-F5) in MonoDevelop, my application process is still running. After two runs and manually...

Just tested with manually compiled 7.6.2 and got the same errors... but, does it need special D version of gdb?

I'm also getting many "Target could not be interrupted" errrors in MonoDevelop. I don't know but this may be some vibe.d bug? When pressing Ctrl+C in terminal gdb session, program...

I think we should add dedicated struct definitions for types that don't have one-to-one mapping in Phobos. Then we should make them convertible (by writing std.conv.toImpl() functions or casts) to...

std.numeric has CustomFloat which I wanted to use for decimal/numeric mapping, but I don't know if it supports PostgreSQL's precisions.

I think you misunderstood CustomFloat documentation. We get exact values in CustomFloat, but any operations like adding or multiplying are performed using reals. So, it stores all the bits received...

My mistake. You are right. For now, following your suggestion we could map numeric/decimal to string. It seems as the only option right now. But, if scale is set to...