www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [OT] DConf socks

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Hello,

Someone at DConf left me a pair of handmade socks to pass to a coworker 
whom they didn't get to meet. I forgot who! Please email me with the 
answer. Thanks!

Andrei
Jun 09 2014
parent reply Justin Whear <justin economicmodeling.com> writes:
On Mon, 09 Jun 2014 12:18:08 -0700, Andrei Alexandrescu wrote:

 Hello,
 
 Someone at DConf left me a pair of handmade socks to pass to a coworker
 whom they didn't get to meet. I forgot who! Please email me with the
 answer. Thanks!
 
 Andrei
This is probably the strangest non-spam newsgroup message I've ever seen.
Jun 09 2014
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 6/9/14, 12:56 PM, Justin Whear wrote:
 On Mon, 09 Jun 2014 12:18:08 -0700, Andrei Alexandrescu wrote:

 Hello,

 Someone at DConf left me a pair of handmade socks to pass to a coworker
 whom they didn't get to meet. I forgot who! Please email me with the
 answer. Thanks!

 Andrei
This is probably the strangest non-spam newsgroup message I've ever seen.
I know. In the meantime I did remembered and handed the socks (they were for a baby) to my coworker, who is very grateful! -- Andrei
Jun 09 2014
parent reply "JR" <zorael gmail.com> writes:
On Monday, 9 June 2014 at 20:37:57 UTC, Andrei Alexandrescu wrote:
 On 6/9/14, 12:56 PM, Justin Whear wrote:
 On Mon, 09 Jun 2014 12:18:08 -0700, Andrei Alexandrescu wrote:

 Hello,

 Someone at DConf left me a pair of handmade socks to pass to 
 a coworker
 whom they didn't get to meet. I forgot who! Please email me 
 with the
 answer. Thanks!

 Andrei
This is probably the strangest non-spam newsgroup message I've ever seen.
I know. In the meantime I did remembered and handed the socks (they were for a baby) to my coworker, who is very grateful! -- Andrei
Missed opportunity to use std.socks.assumeMine and netting yourself an extra pair...
Jun 10 2014
next sibling parent reply "Meta" <jared771 gmail.com> writes:
On Tuesday, 10 June 2014 at 08:18:44 UTC, JR wrote:
 Missed opportunity to use std.socks.assumeMine and netting 
 yourself an extra pair...
The problem is that assumeMine is not safe.
Jun 10 2014
parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Tue, 10 Jun 2014 11:38:04 -0400, Meta <jared771 gmail.com> wrote:

 On Tuesday, 10 June 2014 at 08:18:44 UTC, JR wrote:
 Missed opportunity to use std.socks.assumeMine and netting yourself an  
 extra pair...
The problem is that assumeMine is not safe.
Depends on if you're trusted or not. -Steve
Jun 10 2014
prev sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 6/10/2014 1:18 AM, JR wrote:
 Missed opportunity to use std.socks.assumeMine and netting yourself an extra
 pair...
The trouble with the socks datatype is the destructor is randomly run on only one of each pair.
Jun 10 2014
next sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Tue, 10 Jun 2014 16:52:26 -0400, Walter Bright  
<newshound2 digitalmars.com> wrote:

 On 6/10/2014 1:18 AM, JR wrote:
 Missed opportunity to use std.socks.assumeMine and netting yourself an  
 extra
 pair...
The trouble with the socks datatype is the destructor is randomly run on only one of each pair.
No, it's only the left ones. http://nicktoons.nick.com/videos/clip/black-hole-clip-2.html -Steve
Jun 10 2014
prev sibling next sibling parent "JR" <zorael gmail.com> writes:
On Tuesday, 10 June 2014 at 20:52:27 UTC, Walter Bright wrote:
 On 6/10/2014 1:18 AM, JR wrote:
 Missed opportunity to use std.socks.assumeMine and netting 
 yourself an extra
 pair...
The trouble with the socks datatype is the destructor is randomly run on only one of each pair.
Sock[2] sockPair(); Creates a pair of connected socks. The two socks are indistinguishable.
Jun 10 2014
prev sibling parent David Gileadi <gileadis NSPMgmail.com> writes:
On 6/10/14, 1:52 PM, Walter Bright wrote:
 On 6/10/2014 1:18 AM, JR wrote:
 Missed opportunity to use std.socks.assumeMine and netting yourself an
 extra
 pair...
The trouble with the socks datatype is the destructor is randomly run on only one of each pair.
For Windows users this situation was recently complicated by marking winsock.d as nothrow, with the upshot that now you can't throw away the remaining sock.
Jun 10 2014