Re: OT -- Re: random cover of a range

2009-02-16 Thread Bill Baxter
On Tue, Feb 17, 2009 at 4:14 PM, Nick Sabalausky wrote: > "Bill Baxter" wrote in message > news:mailman.753.1234854114.22690.digitalmar...@puremagic.com... >> On Tue, Feb 17, 2009 at 3:52 PM, John Reimer >> wrote: >>> Hello Derek, >>> > It's a very pervasive view that swearing is a non-issue

Re: OPTLINK needs to die.

2009-02-16 Thread grauzone
Jarrett Billingsley wrote: This is, for me, the number one blocker of most of my more complex code on Windows. More than any DMD bug. Tom S can vouch for it too, and Eldar sounds like he s about to give up on D after dealing with OPTLINK's crashes. He's not the only one. I hope Walter is awar

Re: OT -- Re: random cover of a range

2009-02-16 Thread Bill Baxter
On Tue, Feb 17, 2009 at 4:05 PM, Nick Sabalausky wrote: > "Yigal Chripun" wrote in message > news:gncqss$2ht...@digitalmars.com... >> Walter Bright wrote: >>> Nick Sabalausky wrote: "superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... > if u dun shitfuck there u r dead

Re: OT -- Re: random cover of a range

2009-02-16 Thread Nick Sabalausky
"Bill Baxter" wrote in message news:mailman.753.1234854114.22690.digitalmar...@puremagic.com... > On Tue, Feb 17, 2009 at 3:52 PM, John Reimer > wrote: >> Hello Derek, >> It's a very pervasive view that swearing is a non-issue these days, and a person is just being prudish and silly i

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Bill, On Tue, Feb 17, 2009 at 3:30 PM, John Reimer wrote: Hello Bill, On Tue, Feb 17, 2009 at 1:02 PM, John Reimer wrote: Hello Walter, John Reimer wrote: Walter, I've heard a lot of arguments for defending the expression of "art", but this one's a doosie. Ever watch Monty Py

Re: OT -- Re: random cover of a range

2009-02-16 Thread Nick Sabalausky
"Yigal Chripun" wrote in message news:gncqss$2ht...@digitalmars.com... > Walter Bright wrote: >> Nick Sabalausky wrote: >>> "superdan" wrote in message >>> news:gnc2ml$14c...@digitalmars.com... if u dun shitfuck there u r dead meat. pardon me french. don & walt u r 2 cool fer school. t

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Nick, "John Reimer" wrote in message news:28b70f8c1452e8cb5e9c3ce5b...@news.digitalmars.com... Hello Walter, John Reimer wrote: Concerning profanity and swearing. I think many forms of expression should warrant more careful thought. I don't believe profane or irreverant expression

Re: OT -- Re: random cover of a range

2009-02-16 Thread Bill Baxter
On Tue, Feb 17, 2009 at 3:52 PM, John Reimer wrote: > Hello Derek, > >>> It's a very pervasive view that swearing is a non-issue these days, >>> and a person is just being prudish and silly if he disaproves. >>> >> Hmmm ... you got some statistics to back that up? Most people I deal >> with have l

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Bill, On Tue, Feb 17, 2009 at 3:30 PM, John Reimer wrote: Hello Bill, On Tue, Feb 17, 2009 at 1:02 PM, John Reimer wrote: Hello Walter, John Reimer wrote: Walter, I've heard a lot of arguments for defending the expression of "art", but this one's a doosie. Ever watch Monty Py

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Derek, It's a very pervasive view that swearing is a non-issue these days, and a person is just being prudish and silly if he disaproves. Hmmm ... you got some statistics to back that up? Most people I deal with have limits (not all the same), so that seems to indicate to me that some sw

Re: OT -- Re: random cover of a range

2009-02-16 Thread Nick Sabalausky
"John Reimer" wrote in message news:28b70f8c1452e8cb5e9c3ce5b...@news.digitalmars.com... > Hello Walter, > >> John Reimer wrote: >> >>> Concerning profanity and swearing. I think many forms of expression >>> should warrant more careful thought. I don't believe profane or >>> irreverant expressi

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Derek, On Tue, 17 Feb 2009 04:02:59 + (UTC), John Reimer wrote: I don't particularly care for a lot of the humour available on television today (I don't watch it anymore, anyway). There might be a baby in bathwater issue here. ... I think there's a whole lot more to be worried ab

Re: OT -- Re: random cover of a range

2009-02-16 Thread Bill Baxter
On Tue, Feb 17, 2009 at 3:30 PM, John Reimer wrote: > Hello Bill, > >> On Tue, Feb 17, 2009 at 1:02 PM, John Reimer >> wrote: >> >>> Hello Walter, >>> John Reimer wrote: > Walter, I've heard a lot of arguments for defending the expression > of "art", but this one's a doosie. >>>

Re: OT -- Re: random cover of a range

2009-02-16 Thread Derek Parnell
On Tue, 17 Feb 2009 04:02:59 + (UTC), John Reimer wrote: > I don't particularly care for a lot > of the humour available on television today (I don't watch it anymore, > anyway). There might be a baby in bathwater issue here. > ... I think there's a whole lot more to be worried about a

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Bill, On Tue, Feb 17, 2009 at 1:02 PM, John Reimer wrote: Hello Walter, John Reimer wrote: Walter, I've heard a lot of arguments for defending the expression of "art", but this one's a doosie. Ever watch Monty Python? I asked a brit about the accents they use in their skits, becau

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Walter, John Reimer wrote: Concerning profanity and swearing. I think many forms of expression should warrant more careful thought. I don't believe profane or irreverant expression has a neutral effect on hearers. We've already seen plenty of evidence of that in here. You may think i

Re: OPTLINK needs to die.

2009-02-16 Thread Walter Bright
Tom S wrote: I've tried it before and unfortunately there's a problem with this approach: static ctors from modules linked from a .lib don't get executed: Not everything is linked in from a library, just referenced things (that's the whole point of a library). There is nothing referenced in m

Re: OPTLINK needs to die.

2009-02-16 Thread Walter Bright
Jarrett Billingsley wrote: On Mon, Feb 16, 2009 at 11:32 PM, Walter Bright wrote: Jarrett Billingsley wrote: http://d.puremagic.com/issues/show_bug.cgi?id=424 I just added this to the bug report: == The compiler already has a switch to generate multiple obj files from on

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Joel C. Salomon wrote: Yigal Chripun wrote: I also really do not appreciate any use of other-languages like Latin just to make yourself look smart. for instance, I can reply using Aramaic phrases, but I doubt it that most people will understand it here. B’Asrah hodain? No, nobody will get it.

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Denis Koroskin wrote: On Mon, 16 Feb 2009 22:56:04 +0300, Yigal Chripun wrote: Denis Koroskin wrote: On Mon, 16 Feb 2009 15:28:33 +0300, Christopher Wright wrote: Don wrote: Yigal Chripun wrote: Nick Sabalausky wrote: "Yigal Chripun" wrote in message news:gn9qp7$ap...@digitalmars.com...

Re: OPTLINK needs to die.

2009-02-16 Thread Tom S
Walter Bright wrote: Jarrett Billingsley wrote: http://d.puremagic.com/issues/show_bug.cgi?id=424 I just added this to the bug report: == The compiler already has a switch to generate multiple obj files from one source file: -multiobj. I use it for debugging. But it woul

Re: OPTLINK needs to die.

2009-02-16 Thread Jarrett Billingsley
On Mon, Feb 16, 2009 at 11:32 PM, Walter Bright wrote: > Jarrett Billingsley wrote: >> >> http://d.puremagic.com/issues/show_bug.cgi?id=424 > > > I just added this to the bug report: > > == > The compiler already has a switch to generate multiple obj files from one > source fil

Re: OPTLINK needs to die.

2009-02-16 Thread Walter Bright
Jarrett Billingsley wrote: http://d.puremagic.com/issues/show_bug.cgi?id=424 I just added this to the bug report: == The compiler already has a switch to generate multiple obj files from one source file: -multiobj. I use it for debugging. But it would be a royal pain to

Re: OT -- Re: random cover of a range

2009-02-16 Thread Walter Bright
John Reimer wrote: Concerning profanity and swearing. I think many forms of expression should warrant more careful thought. I don't believe profane or irreverant expression has a neutral effect on hearers. We've already seen plenty of evidence of that in here. You may think it's cute and a

Re: OPTLINK needs to die.

2009-02-16 Thread Jarrett Billingsley
On Mon, Feb 16, 2009 at 11:08 PM, Walter Bright wrote: > > But I downloaded the offending obj file from bugzilla, and it links and runs > without error: > > http://d.puremagic.com/issues/show_bug.cgi?id=2436 > http://d.puremagic.com/issues/show_bug.cgi?id=424 is *much* older, and you already see

Re: OT -- Re: random cover of a range

2009-02-16 Thread Bill Baxter
On Tue, Feb 17, 2009 at 1:02 PM, John Reimer wrote: > Hello Walter, > >> John Reimer wrote: >> >>> Walter, I've heard a lot of arguments for defending the expression of >>> "art", but this one's a doosie. >>> >> Ever watch Monty Python? I asked a brit about the accents they use in >> their skits,

Re: OPTLINK needs to die.

2009-02-16 Thread Walter Bright
Jarrett Billingsley wrote: On Mon, Feb 16, 2009 at 9:54 PM, Walter Bright wrote: One thing you can try is: 1. download imagecfg.exe from http://www.robpol86.com/pages/imagecfg.php 2. run the command: imagecfg -a 0x1 link.exe This will set optlink to use only one core. I've suspected

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Walter, John Reimer wrote: Walter, I've heard a lot of arguments for defending the expression of "art", but this one's a doosie. Ever watch Monty Python? I asked a brit about the accents they use in their skits, because there are many different british accents. He laughed and said the

Re: OPTLINK needs to die.

2009-02-16 Thread Jarrett Billingsley
On Mon, Feb 16, 2009 at 9:54 PM, Walter Bright wrote: > One thing you can try is: > > 1. download imagecfg.exe from http://www.robpol86.com/pages/imagecfg.php > > 2. run the command: > >imagecfg -a 0x1 link.exe > > This will set optlink to use only one core. I've suspected for a while that

Re: (non)nullable types

2009-02-16 Thread Sergey Gromov
Mon, 16 Feb 2009 13:26:29 +1100, Daniel Keep wrote: > To clarify: I am, and always have been, in full support of non-nullable > types, preferably by default. What I object to specifically in this > case is the requirement to always check that a nullable value is not > null every time it is used.

Re: OPTLINK needs to die.

2009-02-16 Thread Walter Bright
One thing you can try is: 1. download imagecfg.exe from http://www.robpol86.com/pages/imagecfg.php 2. run the command: imagecfg -a 0x1 link.exe This will set optlink to use only one core. I've suspected for a while that the multithreading locks in it don't work right for multicore. I

Re: std.file.read implementation contest

2009-02-16 Thread Steve Schveighoffer
On Mon, 16 Feb 2009 16:36:52 -0800, Sean Kelly wrote: > Andrei Alexandrescu wrote: >> >> I totally agree. The useful spec of std.file.read should be "reads the >> file to exhaustion in a buffer and returns it" > > Okay, that's a fair definition. So the correct behavior for reading an > unbounde

Re: OPTLINK needs to die.

2009-02-16 Thread Jarrett Billingsley
On Mon, Feb 16, 2009 at 8:48 PM, Tim M wrote: > > > No I convert MS COFF files to OMF and I totally agree with the multiple > formats problems. I don't think making another converter or improving > exisitng converters is the sollution though. Native COFF support is the way. > Oh, that might be us

Re: OPTLINK needs to die.

2009-02-16 Thread BCS
Hello Tom, Perhaps our best bet would be fixing the bug in Open Watcom's linker? Or rolling something on our own using the code from DDL? I wouldn't mind DMD emitting COFF obj files, that the MS linker could process, either :P Well Walter is up to speed on object file generators right now. I

Re: std.file.read implementation contest

2009-02-16 Thread Andrei Alexandrescu
Sean Kelly wrote: Andrei Alexandrescu wrote: I totally agree. The useful spec of std.file.read should be "reads the file to exhaustion in a buffer and returns it" Okay, that's a fair definition. So the correct behavior for reading an unbounded stream should be an out of memory error? This

Re: range stuff

2009-02-16 Thread Michel Fortin
On 2009-02-16 20:21:00 -0500, superdan said: a'ight i've read all range stuff n ruminated on it for a while. yer ranges suck goat balls. something's amiss. yer have ranges that generate stuff. some even ferever. then yer have ranges that eat stuff output ranges that is. but there's no range

Re: OPTLINK needs to die.

2009-02-16 Thread Tim M
On Tue, 17 Feb 2009 14:35:55 +1300, Tom S wrote: Tim M wrote: Just checking you are aware of objconv which can be found here http://www.agner.org/optimize/. Have you successfully used it to convert all OMF obj files of some application to another format and link them? It gives me a lot

Re: OPTLINK needs to die.

2009-02-16 Thread Tom S
Tim M wrote: Just checking you are aware of objconv which can be found here http://www.agner.org/optimize/. Have you successfully used it to convert all OMF obj files of some application to another format and link them? It gives me a lot of: "Error 2316: Incompatible relocation method: 16+32

Re: OPTLINK needs to die.

2009-02-16 Thread Jarrett Billingsley
On Mon, Feb 16, 2009 at 8:19 PM, Tim M wrote: > On Tue, 17 Feb 2009 13:27:14 +1300, Jarrett Billingsley > wrote: > >> That's it -- I'm finished. I'm tired of constantly rearranging code >> to appease OPTLINK and its outdated object format. >> >> This is, for me, the number one blocker of most of

range stuff

2009-02-16 Thread superdan
a'ight i've read all range stuff n ruminated on it for a while. yer ranges suck goat balls. something's amiss. yer have ranges that generate stuff. some even ferever. then yer have ranges that eat stuff output ranges that is. but there's no range that has both input and output. some sort of fi

Re: OPTLINK needs to die.

2009-02-16 Thread Tim M
On Tue, 17 Feb 2009 13:27:14 +1300, Jarrett Billingsley wrote: That's it -- I'm finished. I'm tired of constantly rearranging code to appease OPTLINK and its outdated object format. This is, for me, the number one blocker of most of my more complex code on Windows. More than any DMD bug.

Re: OPTLINK needs to die.

2009-02-16 Thread Tom S
Jarrett Billingsley wrote: That's it -- I'm finished. I'm tired of constantly rearranging code to appease OPTLINK and its outdated object format. This is, for me, the number one blocker of most of my more complex code on Windows. More than any DMD bug. Tom S can vouch for it too, and Eldar so

Re: std.file.read implementation contest

2009-02-16 Thread Sean Kelly
Andrei Alexandrescu wrote: I totally agree. The useful spec of std.file.read should be "reads the file to exhaustion in a buffer and returns it" Okay, that's a fair definition. So the correct behavior for reading an unbounded stream should be an out of memory error? This would be entirely

Re: OT -- Re: random cover of a range

2009-02-16 Thread Joel C. Salomon
Yigal Chripun wrote: > I also really do not appreciate any use of other-languages like Latin > just to make yourself look smart. for instance, I can reply using > Aramaic phrases, but I doubt it that most people will understand it > here. B’Asrah hodain? No, nobody will get it. ☺ —Joel Salomon

Re: std.file.read implementation contest

2009-02-16 Thread Sean Kelly
Steven Schveighoffer wrote: "Sean Kelly" wrote Andrei Alexandrescu wrote: Someone mentioned an old bug in std.file.read here: http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ Two programmers sent in patches for the function. Which is to be committed a

OPTLINK needs to die.

2009-02-16 Thread Jarrett Billingsley
That's it -- I'm finished. I'm tired of constantly rearranging code to appease OPTLINK and its outdated object format. This is, for me, the number one blocker of most of my more complex code on Windows. More than any DMD bug. Tom S can vouch for it too, and Eldar sounds like he s about to give

Re: OT -- Re: random cover of a range

2009-02-16 Thread Joel C. Salomon
I’m going to combine a bunch of responses into one here. Don wrote: > You seem to be assuming that modern Judaism is identical to > first-century Judaism. It clearly isn't. In particular, (1) the > destruction of the temple required significant "breaking of backward > compatibility" (not to anywhe

Re: OT -- Re: random cover of a range

2009-02-16 Thread Christopher Wright
Denis Koroskin wrote: On Mon, 16 Feb 2009 23:36:12 +0300, Christopher Wright wrote: Denis Koroskin wrote: I know one - Jesus. I haven't seen Jesus. Seeing is believing, huh? I haven't *seen* a Christian who obeys all laws from the Torah, or even keeps kosher, to my knowledge. Jesus i

Re: OT -- Re: random cover of a range

2009-02-16 Thread Denis Koroskin
On Mon, 16 Feb 2009 23:36:12 +0300, Christopher Wright wrote: Denis Koroskin wrote: I know one - Jesus. I haven't seen Jesus. Seeing is believing, huh?

Re: OT -- Re: random cover of a range

2009-02-16 Thread Denis Koroskin
On Mon, 16 Feb 2009 22:56:04 +0300, Yigal Chripun wrote: Denis Koroskin wrote: On Mon, 16 Feb 2009 15:28:33 +0300, Christopher Wright wrote: Don wrote: Yigal Chripun wrote: Nick Sabalausky wrote: "Yigal Chripun" wrote in message news:gn9qp7$ap...@digitalmars.com... A millennium ago, Euro

Re: std.file.read implementation contest

2009-02-16 Thread Andrei Alexandrescu
Steven Schveighoffer wrote: "Sean Kelly" wrote Andrei Alexandrescu wrote: Someone mentioned an old bug in std.file.read here: http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ Two programmers sent in patches for the function. Which is to be committed a

Re: OT -- Re: random cover of a range

2009-02-16 Thread Ary Borenszweig
Yigal Chripun a écrit : Walter Bright wrote: Nick Sabalausky wrote: "superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... if u dun shitfuck there u r dead meat. pardon me french. don & walt u r 2 cool fer school. thanks doods. tho wut's with tat apple thing. I don't usually mind

Re: std.file.read implementation contest

2009-02-16 Thread Andrei Alexandrescu
Steven Schveighoffer wrote: "Andrei Alexandrescu" wrote Steven Schveighoffer wrote: "Andrei Alexandrescu" wrote Someone mentioned an old bug in std.file.read here: http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ Two programmers sent in patches for th

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Jussi Jumppanen wrote: Yigal Chripun Wrote: Denis Koroskin wrote: I've heard many Jews refuse to do the blood transfusion even if it costs them their life. Where did you hear that? I'm not sure about the Jewish faith but Jehovah's Witnesses believe the Bible prohibits the accepting of blo

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Walter Bright wrote: Nick Sabalausky wrote: "superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... if u dun shitfuck there u r dead meat. pardon me french. don & walt u r 2 cool fer school. thanks doods. tho wut's with tat apple thing. I don't usually mind profanity, so for me the

Re: OT -- Re: random cover of a range

2009-02-16 Thread Jussi Jumppanen
Yigal Chripun Wrote: > Denis Koroskin wrote: > > I've heard many Jews refuse to do the blood transfusion even if > > it costs them their life. > > Where did you hear that? I'm not sure about the Jewish faith but Jehovah's Witnesses believe the Bible prohibits the accepting of blood and that t

Re: std.file.read implementation contest

2009-02-16 Thread Steven Schveighoffer
"Sean Kelly" wrote > Andrei Alexandrescu wrote: >> Someone mentioned an old bug in std.file.read here: >> >> http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ >> >> Two programmers sent in patches for the function. Which is to be >> committed and why? (Lin

Re: OT -- Re: random cover of a range

2009-02-16 Thread Sean Kelly
Walter Bright wrote: Nick Sabalausky wrote: "superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... if u dun shitfuck there u r dead meat. pardon me french. don & walt u r 2 cool fer school. thanks doods. tho wut's with tat apple thing. I don't usually mind profanity, so for me th

Re: OT -- Re: random cover of a range

2009-02-16 Thread Walter Bright
Nick Sabalausky wrote: "superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... if u dun shitfuck there u r dead meat. pardon me french. don & walt u r 2 cool fer school. thanks doods. tho wut's with tat apple thing. I don't usually mind profanity, so for me the big problem is more

Re: std.file.read implementation contest

2009-02-16 Thread Sean Kelly
Andrei Alexandrescu wrote: Someone mentioned an old bug in std.file.read here: http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ Two programmers sent in patches for the function. Which is to be committed and why? (Linux versions shown. Apologies for n

Re: OT -- Re: random cover of a range

2009-02-16 Thread Walter Bright
Nick Sabalausky wrote: "superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... if u dun shitfuck there u r dead meat. pardon me french. don & walt u r 2 cool fer school. thanks doods. tho wut's with tat apple thing. I don't usually mind profanity, so for me the big problem is more

Re: std.file.read implementation contest

2009-02-16 Thread Steven Schveighoffer
"Andrei Alexandrescu" wrote > Steven Schveighoffer wrote: >> "Andrei Alexandrescu" wrote >>> Someone mentioned an old bug in std.file.read here: >>> >>> http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ >>> >>> Two programmers sent in patches for the function

Re: std.file.read implementation contest

2009-02-16 Thread Andrei Alexandrescu
Steven Schveighoffer wrote: "Andrei Alexandrescu" wrote Someone mentioned an old bug in std.file.read here: http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ Two programmers sent in patches for the function. Which is to be committed and why? (Linux vers

Re: OT -- Re: random cover of a range

2009-02-16 Thread Steven Schveighoffer
"Christopher Wright" wrote >> There is also "Jews for Jesus" organization that follow kosher diet. >> And I've also heard of christian old-believers in Russia that don't eat >> pork and shellfish. > > I've heard of Jews for Jesus, actually. One and only time I've ever heard of Jews for Jesus: h

Re: std.file.read implementation contest

2009-02-16 Thread Steven Schveighoffer
"Andrei Alexandrescu" wrote > Someone mentioned an old bug in std.file.read here: > > http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ > > Two programmers sent in patches for the function. Which is to be committed > and why? (Linux versions shown. Apologie

Re: OT -- Re: random cover of a range

2009-02-16 Thread Christopher Wright
Denis Koroskin wrote: I know one - Jesus. I haven't seen Jesus. There is also "Jews for Jesus" organization that follow kosher diet. And I've also heard of christian old-believers in Russia that don't eat pork and shellfish. I've heard of Jews for Jesus, actually. I don't know many ultra-

Re: OT -- Re: random cover of a range

2009-02-16 Thread Walter Bright
John Reimer wrote: Walter, I've heard a lot of arguments for defending the expression of "art", but this one's a doosie. Ever watch Monty Python? I asked a brit about the accents they use in their skits, because there are many different british accents. He laughed and said the accents were a

Re: OT -- Re: random cover of a range

2009-02-16 Thread Nick Sabalausky
"superdan" wrote in message news:gnc2ml$14c...@digitalmars.com... > > if u dun shitfuck there u r dead meat. pardon me french. > don & walt u r 2 cool fer school. thanks doods. tho wut's with tat apple > thing. I don't usually mind profanity, so for me the big problem is more often the high ov

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Denis Koroskin wrote: On Mon, 16 Feb 2009 15:28:33 +0300, Christopher Wright wrote: Don wrote: Yigal Chripun wrote: Nick Sabalausky wrote: "Yigal Chripun" wrote in message news:gn9qp7$ap...@digitalmars.com... A millennium ago, Europe was in the midst of the dark ages while all scientific a

Re: default random object?

2009-02-16 Thread Nick Sabalausky
"Don" wrote in message news:gnb7mt$2os...@digitalmars.com... > Andrei Alexandrescu wrote: >> Benji Smith wrote: >>> Benji Smith wrote: Maybe a NumericInterval struct would be a good idea. It could be specialized to any numeric type (float, double, int, etc), it would know its own

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Christopher Wright wrote: Divergence of belief in the historical content of the text, yes. (I know that Christianity has some divergence on whether the text is completely and literally accurate in all aspects. I don't know whether there are any young-earth creationists among non-Christian Jews,

std.file.read implementation contest

2009-02-16 Thread Andrei Alexandrescu
Someone mentioned an old bug in std.file.read here: http://www.reddit.com/r/programming/comments/7xnty/walter_bright_on_porting_d_to_the_mac/ Two programmers sent in patches for the function. Which is to be committed and why? (Linux versions shown. Apologies for noisy line breaks.) Andrei /

Re: OT -- Re: random cover of a range

2009-02-16 Thread Yigal Chripun
Don wrote: You seem to be assuming that modern Judaism is identical to first-century Judaism. It clearly isn't. In particular, (1) the destruction of the temple required significant "breaking of backward compatibility" (not to anywhere near the same extent as Christianity, of course), and (2) O

Re: DB/DBMS in D

2009-02-16 Thread Sean Kelly
Vladimir A. Reznichenko wrote: Dear Mr./Ms., I'd like to ask you about the garbage collector. It slows down an application, doesn't it? In case of DBMS, this is critical. I haven't found any articles or tests about this. Also it would be great to find out about memory management implemented i

Re: default random object?

2009-02-16 Thread Jarrett Billingsley
On Fri, Feb 13, 2009 at 8:10 PM, Andrei Alexandrescu wrote: I feel like I'm mimicking everyone else by now, but: > 1. Are you cool with making the rng the last parameter and give it a default > value? Yes. > 2. The global random generator will be allocated per thread. Are you cool > with this

Re: OT -- Re: random cover of a range

2009-02-16 Thread superdan
Don Wrote: > Walter Bright wrote: > > Don wrote: > >> I'm glad to hear you're still around. I did feel your colourful > >> language often obscured your content (which was frequently of very > >> high quality). > >> I miss the content. (Not the language so much ). > > > > I seriously doubt super

Re: OT -- Re: random cover of a range

2009-02-16 Thread Don
Walter Bright wrote: Don wrote: I'm glad to hear you're still around. I did feel your colourful language often obscured your content (which was frequently of very high quality). I miss the content. (Not the language so much ). I seriously doubt superdan uses profanity to offend. He's got an

Re: OT -- Re: random cover of a range

2009-02-16 Thread John Reimer
Hello Walter, Don wrote: I'm glad to hear you're still around. I did feel your colourful language often obscured your content (which was frequently of very high quality). I miss the content. (Not the language so much ). I seriously doubt superdan uses profanity to offend. He's got an ear fo

Re: OT -- Re: random cover of a range

2009-02-16 Thread Alexander Pánek
Nick Sabalausky wrote: The closet rebel in me can't help but be tempted to make a risque' drawing involving the anthropomorphic D mascot. And maybe toss in Tux, the BSD deamon, an...apple...and...umm...a window, I guess...to like, symbolize cross-platform harmony...or something...and stuff...du

Re: default random object?

2009-02-16 Thread Leandro Lucarella
Andrei Alexandrescu, el 13 de febrero a las 17:10 me escribiste: > Leonardo suggested that some functions in std.random should not require their > user to be bothered with creating a random object, i.e.: > > auto r = Random(unpredictableSeed); > auto n = uniform(r, 0, 100); > > Instead the libra

Re: default random object?

2009-02-16 Thread Andrei Alexandrescu
Lionello Lunesu wrote: "Andrei Alexandrescu" wrote in message news:gnafec$1ck...@digitalmars.com... Ok. Let me just note that rand()%max is a lousy method of generating random numbers between 0 and max-1 and everybody should put that in the bin with Popular Examples That Should Never Be Used

Re: OT -- Re: random cover of a range

2009-02-16 Thread Denis Koroskin
On Mon, 16 Feb 2009 15:28:33 +0300, Christopher Wright wrote: Don wrote: Yigal Chripun wrote: Nick Sabalausky wrote: "Yigal Chripun" wrote in message news:gn9qp7$ap...@digitalmars.com... A millennium ago, Europe was in the midst of the dark ages while all scientific advances were made by

Re: OT -- Re: random cover of a range

2009-02-16 Thread Alexander Pánek
Steve Schveighoffer wrote: On Sun, 15 Feb 2009 15:42:17 -0800, Andrei Alexandrescu wrote: BCS wrote: Hello Andrei, Let me add one too: there/their. Andrei Oops :( I don't /think/ I'm dyslexic :b That lysdexia is a killer isn't it :o). Andrei dyslexics of the world untie!!! I put

Re: DB/DBMS in D

2009-02-16 Thread bearophile
Vladimir A. Reznichenko: > In case of using GC deleted object is kept before reused. If GC operates on > some range > of addresses, and places all objects there (like using buffer) we get > fragmentation. The > longer we run process the harder to eliminate it. When I have asked a similar questio

Re: DB/DBMS in D

2009-02-16 Thread grauzone
I suspect that in long running applications, there's more and more unfree'd garbage, because the conservative GC thinks it's still alive. And the garbage references other garbage and so on. Can someone confirm or confute this?

Re: OT -- Re: random cover of a range

2009-02-16 Thread Christopher Wright
Don wrote: Yigal Chripun wrote: Nick Sabalausky wrote: "Yigal Chripun" wrote in message news:gn9qp7$ap...@digitalmars.com... A millennium ago, Europe was in the midst of the dark ages while all scientific advances were made by Islamic scholars (know Algebra?), and the christian world went on

Re: ref?

2009-02-16 Thread Denis Koroskin
On Mon, 16 Feb 2009 00:20:47 +0300, Frits van Bommel wrote: Andrei Alexandrescu wrote: Spot on. My ambitions are actually a tad higher. I want to implement containers as by-value structs defining value semantics and the needed primitives. Then, using introspection, I want to define a temp

Re: OT -- Re: random cover of a range

2009-02-16 Thread Walter Bright
Don wrote: I'm glad to hear you're still around. I did feel your colourful language often obscured your content (which was frequently of very high quality). I miss the content. (Not the language so much ). I seriously doubt superdan uses profanity to offend. He's got an ear for dialog, and th

Re: OT -- Re: random cover of a range

2009-02-16 Thread bearophile
Bill Baxter: >To everyone with a mixed-use blog on Planet D: Please put categories on your >posts and tell Anders Bergh (ande...@foogmail.com-foo) how to subscribe to >just the D-related categories.< Thank you, I always use tags in the blog, but I didn't know how to do this filtering from the

Re: DB/DBMS in D

2009-02-16 Thread Vladimir A. Reznichenko
== Quote from Chris R Miller (lordsauronthegr...@gmail.com)'s article > Vladimir A. Reznichenko wrote: > > Dear Mr./Ms., > > > > > > I'd like to ask you about the garbage collector. > > It slows down an application, doesn't it? > > > > In case of DBMS, this is critical. I haven't found any articles

Re: (non)nullable types

2009-02-16 Thread Don
Daniel Keep wrote: To clarify: I am, and always have been, in full support of non-nullable types, preferably by default. What I object to specifically in this case is the requirement to always check that a nullable value is not null every time it is used. We have hardware null-dereference excep

Re: DB/DBMS in D

2009-02-16 Thread Chris R Miller
Vladimir A. Reznichenko wrote: Dear Mr./Ms., I'd like to ask you about the garbage collector. It slows down an application, doesn't it? In case of DBMS, this is critical. I haven't found any articles or tests about this. Also it would be great to find out about memory management implemented i

Re: OT -- Re: random cover of a range

2009-02-16 Thread Don
Yigal Chripun wrote: Nick Sabalausky wrote: "Yigal Chripun" wrote in message news:gn9qp7$ap...@digitalmars.com... A millennium ago, Europe was in the midst of the dark ages while all scientific advances were made by Islamic scholars (know Algebra?), and the christian world went on holy crusad

Re: default random object?

2009-02-16 Thread Don
Andrei Alexandrescu wrote: Benji Smith wrote: Benji Smith wrote: Maybe a NumericInterval struct would be a good idea. It could be specialized to any numeric type (float, double, int, etc), it would know its own boundaries, and it'd keep track of whether those boundaries were open or closed.

DB/DBMS in D

2009-02-16 Thread Vladimir A. Reznichenko
Dear Mr./Ms., I'd like to ask you about the garbage collector. It slows down an application, doesn't it? In case of DBMS, this is critical. I haven't found any articles or tests about this. Also it would be great to find out about memory management implemented in DMD: fragmentation, allocation,

Re: default random object?

2009-02-16 Thread Don
Andrei Alexandrescu wrote: Lionello Lunesu wrote: Andrei Alexandrescu wrote: auto rng = Random(unpredictableSeed); auto a = 0.0, b = 1.0; auto x1 = uniform!("[]")(rng, a, b); auto x2 = uniform!("[)")(rng, a, b); auto x3 = uniform!("(]")(rng, a, b); auto x4 = uniform!("()")(rng, a, b); I love