Re: NetBSD amd64: which way is the best for supporting 80 bits real/double?

2017-05-11 Thread Joakim via Digitalmars-d
On Thursday, 11 May 2017 at 02:05:11 UTC, Nikolay wrote: I am porting LDC to NetBSD amd64, and I ask advice how to handle real type. NetBSD has limited support for this type. What is long double on NetBSD/amd64, 64-bit or full 80-bit? We were talking about this when I was porting to

Re: Fantastic exchange from DConf

2017-05-11 Thread Kagamin via Digitalmars-d
On Saturday, 6 May 2017 at 06:26:29 UTC, Joakim wrote: Walter: Anything that goes on the internet. https://bugs.chromium.org/p/project-zero/issues/detail?id=1252=5 - a vulnerability in an application that doesn't go on the internet.

Re: Thoughts on some code breakage with 2.074

2017-05-11 Thread deadalnix via Digitalmars-d
On Wednesday, 10 May 2017 at 19:06:40 UTC, Ali Çehreli wrote: Bummer for H. S. Teoh I guess... :/ Although I prefer explicit over implicit in most cases, I've never graduated from if(p) and still using it happily. :) Ali All bool conversions in D are value based, not identity based. Not

A Look into the new CTFE Engine

2017-05-11 Thread Walter Bright via Digitalmars-d-announce
https://www.reddit.com/r/programming/comments/6aevd6/a_look_into_the_new_ctfe_engine_stefan_koch/

Re: struct File. property size.

2017-05-11 Thread AntonSotov via Digitalmars-d-learn
On Thursday, 11 May 2017 at 08:42:26 UTC, Nicholas Wilson wrote: Are you in windows perchance? IIRC the when compiling for 32 bit it doesn't use the 64 bit C file function so that will not work. Yes, windows. Ok, I understood you.

Re: "I made a game using Rust"

2017-05-11 Thread evilrat via Digitalmars-d
On Thursday, 11 May 2017 at 08:27:16 UTC, Vadim Lopatin wrote: DlangUI has Android support. You can develop and debug game on desktop, then build for Android. Can we have an option to create OpenGL forward compatible context, please? This would really help with debugging graphics issues

Re: struct File. property size.

2017-05-11 Thread Nicholas Wilson via Digitalmars-d-learn
On Thursday, 11 May 2017 at 07:24:00 UTC, AntonSotov wrote: import std.stdio; int main() { auto big = File("bigfile", "r+"); //bigfile size 20 GB writeln(big.size); // ERROR! return 0; } // std.exception.ErrnoException@std\stdio.d(1029): Could

Re: DIP 1007 Preliminary Review Round 1

2017-05-11 Thread Dicebot via Digitalmars-d
On Thursday, 11 May 2017 at 00:04:52 UTC, Steven Schveighoffer wrote: I prefer the first one. The reason is simply because it doesn't require any new grammar. The override requirement is already a protection against changing base class. In this case, we have two possible outcomes: 1. The

Re: "I made a game using Rust"

2017-05-11 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 10 May 2017 at 12:52:34 UTC, JN wrote: Interesting thread I got from Reddit, someone made a game for PC and mobiles fully in Rust. https://michaelfairley.com/blog/i-made-a-game-in-rust/ "Last week, I released A Snake’s Tale on iOS, Android, Windows, Mac, and Linux.". I

Re: concepts v0.0.6: use a run-time interface to specify a compile-time one

2017-05-11 Thread Juanjo Alvarez via Digitalmars-d-announce
On Wednesday, 10 May 2017 at 10:53:59 UTC, Atila Neves wrote: http://code.dlang.org/packages/concepts concepts is a dub package and library that allows one to declare that a struct conforms to a "compile-time interface" such as `isInputRange`. The difference between this and a simple `static

Re: struct File. property size.

2017-05-11 Thread Stefan Koch via Digitalmars-d-learn
On Thursday, 11 May 2017 at 07:24:00 UTC, AntonSotov wrote: import std.stdio; int main() { auto big = File("bigfile", "r+"); //bigfile size 20 GB writeln(big.size); // ERROR! return 0; } // std.exception.ErrnoException@std\stdio.d(1029): Could

Re: Read and write gzip files easily.

2017-05-11 Thread Nordlöw via Digitalmars-d
On Sunday, 3 May 2015 at 14:35:49 UTC, Per Nordlöw wrote: Latest at https://github.com/nordlow/justd/blob/master/zio.d Should be https://github.com/nordlow/phobos-next/blob/master/src/zio.d

struct File. property size.

2017-05-11 Thread AntonSotov via Digitalmars-d-learn
import std.stdio; int main() { auto big = File("bigfile", "r+"); //bigfile size 20 GB writeln(big.size); // ERROR! return 0; } // std.exception.ErrnoException@std\stdio.d(1029): Could not seek in file `bigfile` (Invalid argument) I can not

[Issue 16588] uniq's BidirectionalRange behavior is inconsistent with its InputRange behavior

2017-05-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16588 Andrei Alexandrescu changed: What|Removed |Added Keywords|pull| --- Comment #6

Re: Thoughts on some code breakage with 2.074

2017-05-11 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, May 10, 2017 12:06:40 Ali Çehreli via Digitalmars-d wrote: > On 05/10/2017 11:49 AM, Jonathan M Davis via Digitalmars-d wrote: > > On Wednesday, May 10, 2017 05:05:59 Ali Çehreli via Digitalmars-d wrote: > >> On 05/09/2017 10:34 AM, H. S. Teoh via Digitalmars-d wrote: > >> >

Re: Processing a gzipped csv-file by line-by-line

2017-05-11 Thread Jon Degenhardt via Digitalmars-d-learn
On Wednesday, 10 May 2017 at 22:20:52 UTC, Nordlöw wrote: What's fastest way to on-the-fly-decompress and process a gzipped csv-fil line by line? Is it possible to combine http://dlang.org/phobos/std_zlib.html with some stream variant of File(path).byLineFast ? I was curious what

<    1   2