Re: druntime giving wrong line for copy assert?

2019-04-30 Thread Bastiaan Veelo via Digitalmars-d-learn
On Tuesday, 30 April 2019 at 13:59:52 UTC, Rudy Raab wrote: The error was on line 36, which is the format, not my bad slice. Is there a reason for this, or is it a bug The message is correct when not using dub: https://run.dlang.io/is/chFTOY I suspect that if you remove the dub related lines a

druntime giving wrong line for copy assert?

2019-04-30 Thread Rudy Raab via Digitalmars-d-learn
I didn't want to immediately declare this a compiler/runtime bug without making sure I wasn't crazy/misinterpreting things. Backstory is this: I was writing a library for dealing with some special corporate data to (de)serialize to/from a binary format and tweaking things to get the output to

Blog Post #0031 - An Image on a Menu

2019-04-30 Thread Ron Tarrant via Digitalmars-d-learn
Hi all, Time for another exciting adventure in GtkD-land. For your perusal: how to put images and icons in a menu. You'll find it right over here: http://gtkdcoding.com/2019/04/30/0031-imagemenuitem.html

Re: Erasing passwords from ram?

2019-04-30 Thread Dukc via Digitalmars-d-learn
On Tuesday, 30 April 2019 at 08:31:40 UTC, Kagamin wrote: You better obfuscate the password on client side. No, this particular password does not come from clients. Rather, it's given by server maintainer and used to generate passcodes that are then distributed to clients.

Re: Erasing passwords from ram?

2019-04-30 Thread Kagamin via Digitalmars-d-learn
You better obfuscate the password on client side.

Erasing passwords from ram?

2019-04-30 Thread Dukc via Digitalmars-d-learn
I am currently programming a server. So I got the idea that after I've generated all the hashes I need from a password, I want to erase it from RAM before discarding it, just to be sure it won't float around if the server memory is exposed to spyware by some buffer overflow. Is this wise cautio