Re: Jquery SOB killer
JS wrote: I wrote the script to get rid of the BS that has been happening lately with my replies. I can't stand people that think the world revolves around them. Hopefully this little script will bring some sanity back to this NG. da irony iz completely lost on u, isnt it?
Re: Marketing of D - article topic ideas?
== Quote from retard (r...@tard.com.invalid)'s article Thu, 03 Jun 2010 16:58:03 -0700, Walter Bright wrote: D is an extremely powerful language, but when I read complaints and sighs about other languages, few seem to know that these problems are solved with D. Essentially, we have a marketing problem. One great way to address it is by writing articles about various aspects of D and how they solve problems, like http://www.reddit.com/r/programming/comments/cb14j/ compiletime_function_execution_in_d/ which was well received on reddit. Anyone have good ideas on topics for D articles? And anyone want to stand up and write an article? They don't have to be comprehensive articles (though of course those are better), even blog entries will do. Well, I for one, like to know when the D2 will be officially published. I thought there was a bugfix week and the TDPL was written because D2 is almost ready and there was supposed to be a big kaboom. The version number is already at 2.046 but there are maybe 100 bugs waiting in the bugzilla with patches and the compiler spec are seriously broken. When will it be usable? What will be the version number of the first usable D2 dmd? There was a huge D1 release party, but I'm not sure when it's a good time to move to D2. It's not enough that the examples from the book work, D needs to be ready for commercial quality applications. What's the library status? Where are the official milestones? Future plans? What's happening here? http://www.youtube.com/watch?v=8r1CZTLk-Gk thanx fer yer self entitlement asshole.
Re: dcollections 1.0 and 2.0a beta released
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article superdan Wrote: == Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article Andrei Alexandrescu Wrote: To get back to one of my earlier points, the fact that the container interfaces are unable to express iteration is a corollary of the design's problem and an climactic disharmony. My vision, in very brief, is to foster a federation of independent containers abiding to identical names for similar functionality. Then a few concept checks (a la std.range checks) can easily express what capabilities a given client function needs from a container. This might have a simple answer. Dcollections implementations are not a hierarchy, just the interfaces are. I.e. there aren't many kinds of HashMaps that derive from each other. But the interfaces are not detrimental to your ideas. The only thing interfaces require is that the entities implementing them are classes and not structs. As long as you agree that classes are the right call, then interfaces can co-exist with your other suggestions without interference. classes suck ass. structs give ye freedom 2 define copy ctors n shit. haven't seen andre agreein' classes are da way 2 go and i hope he don't. anyway u put together some cool shit. hope andre u do a pow-wow n shit and adjust shit fer puttin' into phobos. I think classes are the right move. First, a collection makes more sense as a reference type. Note that both arrays and associative arrays are reference types. If collections are value types, like in C++, then copying a collection that is a node-based collection means duplicating all the nodes. Copy construction is essentially possible through a function -- dup. Having value-semantics makes it too easy to copy large amounts of heap data hurting performance. Many inexperienced C++ coders pass a std::set by value, not realizing why their code is so ridiculously slow. I think one of the things that makes D so damn fast is because large data structures such as arrays and AA's are always passed by reference. Second, since reference types are the right thing to do, classes are much easier to deal with. I know AA's are reference types that are structs, but the code needed to perform this feat is not trivial. The AA has only one member, a reference to the data struct, which is allocated on the heap. Any member function/property that is used on the AA must first check whether the implementation is allocated yet. The only benefit this gives you IMO is not having to use 'new' on it. And even that has some drawbacks. For example, pass an empty AA by value to a function, and if that function adds any data to it, it is lost. But pass an AA by value with one element in it, and the new data sticks. A class gives you much more in terms of options -- interfaces, builtin synchronization, runtime comparison, etc. And it forces full reference semantics by default. I think regardless of whether interfaces are defined for dcollections, classes give a better set of options than structs. Also note that I intend to make all dcollections classes final, so there will be no virtual calls as long as you have a reference to the concrete type. Is there some other reason to use structs besides copy construction? -Steve memory management n shit. with a struct u can use refcounting n malloc n realloc n shit. still stays a reference type. nothing gets fucked up. den there's all that null ref shit. with a class u have void foo(container!shit poo) { poo.addElement(Shit(diarrhea)); } dat works with struct but don't work with motherfucking classes. u need to write. void foo(container!shit poo) { if (!poo) poo = new container!shit; // fuck dat shit poo.addElement(Shit(diarrhea)); } u feel me?
Re: dcollections 1.0 and 2.0a beta released
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article superdan Wrote: == Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article Is there some other reason to use structs besides copy construction? -Steve memory management n shit. with a struct u can use refcounting n malloc n realloc n shit. still stays a reference type. nothing gets fucked up. This is not necessary with purely memory-based constructs -- the GC is your friend. The custom allocator ability in dcollections should provide plenty of freedom for memory allocation schemes. how do u set up yer custom allocator to free memory? u cant tell when its ok. copying refs iz under da radar. dats my point. den there's all that null ref shit. with a class u have void foo(container!shit poo) { poo.addElement(Shit(diarrhea)); } dat works with struct but don't work with motherfucking classes. u need to write. void foo(container!shit poo) { if (!poo) poo = new container!shit; // fuck dat shit poo.addElement(Shit(diarrhea)); } u feel me? It doesn't work. wut? it don't work? whaddaya mean it dun work? is you crazy? what dun work? maybe therez sum misundercommunication. repeating. if container is struct this shit works: void foo(container!shit poo) { poo.addElement(Shit(diarrhea)); } dun tell me it dun work. i dun explain shit again. it works coz a struct cant be null. but a struct can be a ref if it only haz one pointer inside. methinks the builtin hash iz dat way. if container iz class dat shit dun work. u need to write dis shit: void foo(container!shit poo) { if(!poo) poo = new container!shit; // fuck dat shit poo.addElement(Shit(diarrhea)); } dat sucks bull ballz.
Re: dcollections 1.0 and 2.0a beta released
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article superdan Wrote: == Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article superdan Wrote: == Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article Is there some other reason to use structs besides copy construction? -Steve memory management n shit. with a struct u can use refcounting n malloc n realloc n shit. still stays a reference type. nothing gets fucked up. This is not necessary with purely memory-based constructs -- the GC is your friend. The custom allocator ability in dcollections should provide plenty of freedom for memory allocation schemes. how do u set up yer custom allocator to free memory? u cant tell when its ok. copying refs iz under da radar. dats my point. It frees an element's memory when the element is removed from the container. The container itself is managed by the GC. den there's all that null ref shit. with a class u have void foo(container!shit poo) { poo.addElement(Shit(diarrhea)); } dat works with struct but don't work with motherfucking classes. u need to write. void foo(container!shit poo) { if (!poo) poo = new container!shit; // fuck dat shit poo.addElement(Shit(diarrhea)); } u feel me? It doesn't work. wut? it don't work? whaddaya mean it dun work? is you crazy? what dun work? maybe therez sum misundercommunication. void foo(int[int] x) { x[5] = 5; } void main() { int[int] x; foo(x); assert(x[5] == 5); // fails } -Steve wrote a long post but it got lost. shit. bottom line dats a bug in dmd or phobos.
Re: dcollections 1.0 and 2.0a beta released
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article Andrei Alexandrescu Wrote: To get back to one of my earlier points, the fact that the container interfaces are unable to express iteration is a corollary of the design's problem and an climactic disharmony. My vision, in very brief, is to foster a federation of independent containers abiding to identical names for similar functionality. Then a few concept checks (a la std.range checks) can easily express what capabilities a given client function needs from a container. This might have a simple answer. Dcollections implementations are not a hierarchy, just the interfaces are. I.e. there aren't many kinds of HashMaps that derive from each other. But the interfaces are not detrimental to your ideas. The only thing interfaces require is that the entities implementing them are classes and not structs. As long as you agree that classes are the right call, then interfaces can co-exist with your other suggestions without interference. classes suck ass. structs give ye freedom 2 define copy ctors n shit. haven't seen andre agreein' classes are da way 2 go and i hope he don't. anyway u put together some cool shit. hope andre u do a pow-wow n shit and adjust shit fer puttin' into phobos.
Re: SHOO's time code
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article On Tue, 18 May 2010 09:39:12 -0400, superdan su...@dan.org wrote: guys go with boost and std.gregorian n shit. sorry shoo. tango is a fucking boat anchor for d. shit. Having written most of the API for tango.time, I sorta like it :) I really like the API that SHOO came up with based on it. If there's any way to get SHOO's code into Phobos, I want to pursue that first. If this fails, we can go with boost. -Steve i feel ya bro. i once sorta liked a hoe with herpes. way i c it is simple. it's fucking dates and fucking times. wut the fuck. ain't a fucking operating system. no matter how u dress a pig u still call it a fucking pig. if u have da datetime functionality it don't matter to be cute. we is wasting time sucking lars douche's cock 2 give us permission 2 his fucking shit. fuck that shit. dis must be da least amount of power that got to some idiot's head.
Re: Please, don't feed the troll (was Does D Suck?)
== Quote from Denis Koroskin (2kor...@gmail.com)'s article Bane Wrote: A troll visit once in a while is a nice way to break routine on any ng/forum. Especially female programmer with love towards word suck. That is bound to be fun. I see this troll is loyal, and will be here for years to come. Looking forward to it. That GirlProgrammer is most likely Dee Girl 2.0, which is just another name for superdan. you is not da sharpest tool in da shed eh? dee exists but not postin' no more. were both into d. walt rulez. gettin' in da gutter of ngs fer trolling aint our thing anyway. next time think a bit fer a change sherlock.
Re: Please, don't feed the troll (was Does D Suck?)
== Quote from Don (nos...@nospam.com)'s article superdan wrote: == Quote from Bernard Helyer (b.hel...@gmail.com)'s article On 17/05/10 17:17, GirlProgrammer wrote: If D doesn't suck, and is better than C++ why am I not using it? Indeed, why isn't hardly anyone using it? I imagine you get some dull pleasure from posting essentially the same message to the NG every few months or so (this is almost certainly the person behind the 'is d a cult' thread a few months ago, and ios the same person behind 'what is d' from a few weeks) so until GirlProgrammer/Jane Doe/Janis D/angelinastyle contributes a question beyond the same simple troll, 'she' is not worth responding to, so I'd just like to take this opportunity to remind the NG of the content 'she' has previously posted, and reconsider in replying to 'her' accordingly. Just a friendly PSA. n_n PS: It's nice to see that you've updated your XP install since your last message! yeah dun feed da troll. ass to mouth da troll. too bad that ain't gonna be pleasant. cocksucka as girlprogrammer is it ain't no broad. its a punk-ass motherfucker posing as chick 2 give a twist to his lame life. shit. I assumed 'GirlProgrammer' was analagous to 'EpromProgrammer' or 'WindowsProgrammer', ie, he tries to program girls. good 1!
Re: Please, don't feed the troll (was Does D Suck?)
== Quote from Bernard Helyer (b.hel...@gmail.com)'s article On 17/05/10 17:17, GirlProgrammer wrote: If D doesn't suck, and is better than C++ why am I not using it? Indeed, why isn't hardly anyone using it? I imagine you get some dull pleasure from posting essentially the same message to the NG every few months or so (this is almost certainly the person behind the 'is d a cult' thread a few months ago, and ios the same person behind 'what is d' from a few weeks) so until GirlProgrammer/Jane Doe/Janis D/angelinastyle contributes a question beyond the same simple troll, 'she' is not worth responding to, so I'd just like to take this opportunity to remind the NG of the content 'she' has previously posted, and reconsider in replying to 'her' accordingly. Just a friendly PSA. n_n PS: It's nice to see that you've updated your XP install since your last message! yeah dun feed da troll. ass to mouth da troll. too bad that ain't gonna be pleasant. cocksucka as girlprogrammer is it ain't no broad. its a punk-ass motherfucker posing as chick 2 give a twist to his lame life. shit.
Re: What is D?
== Quote from Nick Sabalausky (a...@a.a)'s article Ary Borenszweig a...@esperanto.org.ar wrote in message news:hs5474$28s...@digitalmars.com... retard wrote: Sat, 08 May 2010 11:56:14 -0500, Yao G. wrote: Hello retard, are you still conducting your social experiment in this group? I thought that you had given up! Thanks for bringing this up -- that message went totally under the radar, but I added it to my collection of general idiotism in the internet (/dev/ null) now. FWIW, I've always consistently used the same user agent and same computer so it shouldn't be to hard to figure out when I'm writing. And I already promised to shut up. Your retard is probably living in Chicago and using Outlook Express 6 unlike me. Cheers I think that was superdan... (I didn't check any IP or anything else, just the style...) The spelling, grammar, language and punctuation are too good to be superdan... Maybe it's superdan's evil twin! how can u compare dat motherfucker with me. i rule.
Re: D is dead, so now where it the money going?
Bane Wrote: Do you mean this one? What problems has D solved? (Other than providing compiler writers with masturbatory material). Light bulb (!!!): D is a circle jerk! (Not that there's anything wrong with that). It has a similar tone. Why would someone be so bitter and write so badly? Even if it were the case that D was not really any more than a discussion group for ideas about compiler design, it would still be a worthwhile exercise. Walter has been contributing to the industry for years, and anyone who has done that in the way he has will have experienced ups and downs. He's the last person I know who I would describe as money-grabbing. If Andrei wants to risk all the work it takes to get a book published, and he's bet on a particular horse, then whichever way it goes, that's his own choice. Since when was there an unwritten rule that you can't do speculative technical work with a view to making some money in the future. If people hadn't done that many times we would barely have computers and computer languages at all! I'd put it more bluntly than some (not to you Pelle) - piss off you anonymous prat, or be clear about your identity then we can all judge your motives. Steve I agree with Steve. jesus homies. hez a troll fer fucks sake. can't believe u r tryin' teh communicate let alone reason with dat asstodeepthroater. all groups haz trollz. its a sign of popularity. kudos homies but fuhget about it. u don't reason with'em trollz.
Re: D is dead, so now where it the money going?
Walter Bright Wrote: superdan wrote: jesus homies. Hey, we missed you! Nice to see you back! yo walt. u rule.
Re: D is dead, so now where it the money going?
Steve Teale Wrote: On Sun, 28 Mar 2010 10:55:50 -0400, superdan wrote: jesus homies. hez a troll fer fucks sake. can't believe u r tryin' teh communicate let alone reason with dat asstodeepthroater. all groups haz trollz. its a sign of popularity. kudos homies but fuhget about it. u don't reason with'em trollz. SD, There was not an ounce of reason in my post, just a gut response. Had I been as eloquent as you I might have used the 'asstodeepthroater' term instead of prat - next time perhaps. It's a while since we heard from you! yo steve, howz africa treatin' ye? shit them crackerz call me african american but ive never set foot in africa. should visit sumtime. doing well. been lurkin' all along. good group. it was da best better than a good talk show. smart civil homiez. even bearophile. even u yigal when u keep dat douchebag urge in check. problem iz trollz r startin' to fuck this group. shit man i knew dat waz coming down.
Re: More precise GC
William T. Fnk Wrote: bearophile Wrote: William T. Fnk: This is a rather ridiculous way of emulating algebraic data types I think algebraic data types in Haskell don't allow you to use for example enums with no tags, where the tag is stored in the less significant bit of the pointer that points to the enum. And I think algebraic data types will not be added to D, while normal not-GC-precise enums will be kept in D, so... Why not? Are you scared of the functional language stigma? D is already functional enough. It can't possibly get any worse. I can already write pure functional monads with the ugly D2 closure syntax. The language is already ruined in the eyes of practical imperative coders. How I see this is that features like algebraic datatypes are questioning the authority. You have a holy mission to prove that a practical language can be built without such basic features. It indeed can be built, but you need ways to emulate the behavior since it is pretty crucial and common in practical applications. You already emulate it in your code example. And it looks bad. The problem is two-fold, there are newbie users in the community who have no idea what an algebraic data type is. And then there are some more or less arrogant (actually there's only one person whose arrogance exceeds anything I've ever seen) language designers who recently studied the algebraic datatype article from wikipedia. They just don't want to admit they didn't know it before. And it's getting harder and harder to admit that mistake. wut's yer point bitch? say it who it is mo'fucker so the nigga can defend his ass. dun fuck around with vague shit like that. geez this group is fucked. sum1 opened them dog pound gatez.
Re: D is dead, so now where it the money going?
Nick Sabalausky Wrote: Steve Teale steve.te...@britseyeview.com wrote in message news:hononf$1tf...@digitalmars.com... Why would someone be so bitter and write so badly? Even if it were the case that D was not really any more than a discussion group for ideas about compiler design, it would still be a worthwhile exercise. Maybe it's Bjarne Stroustrup and he's getting worried ;) (That's only a joke, btw.) To all: This guy's just going to keep posting more of this stuff under more fake names if we keep feeding him. It's not like anyone's ever going to successfully appeal to a troll's sense of reason, as there clearly is none. listen to dis homie. u cant figure out them trollz. da concept they spend time trolling n inventing namez n changing stylez n shit boggles the fuck outta me. u cant understand trollz. u hope they look fer professional help.
Re: literals
Don Wrote: so wrote: Hello Don, finally! It is hard to explain yourself when you don't know the people you talk have numeric coding background. Since we know you have done much numeric and generic coding, it will be enough for me if you understand what i mean/ask/want, and say what i am talking is ridiculous, or think that i am trolling, just say so and i shut up! :) You're definitely not trolling! I'm not 100% sure of which issue you're referring too, but I'm aware of a few, for example: he wanna 1.0 to adapt to T. i'm sayin' if u pass float to inv 1.0 gotta be 10.F but if u pass real to in 1.0 gotta be 1.0L or shit. really dat iz happening already I guess but therez conversion shit goin' down. hey mr. so i think u should check a thread on octal literalz shit a week ago or so. like octal!177 iz 0177 and octal!177L iz 0177L and shit. if needed this can be done for floating shit too. T inv(T)(T shit) { return floating_literal!(T, 1.0) / shit; } floating_literal give u da right type. prolly therez some simple string mixin n shit. (1) Converting a floating point literal into a double literal is usually not lossless. 0.5f, 0.5, and 0.5L are all exactly the same number, since they are exactly representable. But 0.1 is not the same as 0.1L. So it's a bit odd that this silent lossless conversion is taking place. It does have a very strong precedent from C, however. u mean lossy not lossless homez. (2) The interaction between implicit casting and template parameters is quite poor. Eg, the fact that '0' is an int, not a floating point type, means that something simple like: add(T)(T x) if (isFloatingPoint!(T)) doesn't work properly. It is not the same as: add(real x) since it won't allow add(0). Which is pretty annoying. Why can't 0 just mean zero??? yeah. and shit 0 its an octal constant. fuck.
Re: literals
superdan Wrote: he wanna 1.0 to adapt to T. i'm sayin' if u pass float to inv 1.0 gotta be 10.F but if u pass real to in 1.0 gotta be 1.0L or shit. dats 1.0F not 10.F. shit. but im sure u peoples feel me.
Re: Reminds me of?
Steve Teale Wrote: To the D Faithful: In recent postings, I have increasingly seen references to the 'Select Few'. This kind of reminds me of Iran, where you have 'The Guardian Council', and 'The Supreme Leader'. Now admittedly, this may be an improvement on the C++ standards committee, but is it the right way to go. Is some form of democracy that bad? If we are to have a 'Guardian Council' to protect us from heresy, then should it not immediately prohibit the heresy of two standard libraries? Then maybe we could get to the point of having a nice clean Theocracy system where __the__ standard library could be controlled by the 'Select Few', but we could also have a mobile 'potential standard library' where D addicts could contribute freely to some version control system that could on a popular vote basis be easily rolled back (by the 'Select Few' of course)? Forgive my cynicism, but I have spent most of my working life either trying to make some money myself, or working for companies that were trying to make some money. There has to be some direction, and I'm not seeing the leadership I'd like to anywhere in the D community at present. Are there D enthusiasts out there who feel they could handle this task? If so, please nominate yourselves, and let's have a vote, then there would at least be some popular mandate to break out of the status quo. Superdan - how about it? Steve diagnosis: heat stroke. buy an aircon. now seriously steve: what the fuck?
Re: Give me a break
yigal chripun Wrote: Kagamin Wrote: yigal chripun Wrote: there is no defined system for the development of D. even MS has a well defined plan for their .net platform. where's the plan for D? where the process to define that plan? Either you need to have a plan or you need to have a community driven process (Java JSRs, Python PEPs). How the development plan relates to tango? There's a plan to port tango to D2, though it proved to be troublesome. And I think, tango is supposed to be community driven. the lack of proper planning relates to everything: blocking bugs that affect tango for D2, licensing issues - everyone has his own prefered license and there is no central body to manage that (there is a GOOD reason why all GNU code is copyrighted by the FSF), no plan as to what features will be implemented, how and when (latest example - Bartosz' concurrency design for D which was rejected by Andrei), lack of planning for the standard library user APIs - Andrei rewrote half of phobos - with no regard for integration efforts with tango, and so forth. It really doesn't matter how good a programmer Andrei is if there is no consideration for the end user in his code. It doesn't matter how fast a car you can build if it doesn't fit on the standard state roads. D feels like patient zero of NIH syndrom where everything is a one man show. no fucking amount of colaboration is even taken into account. The only person here that undersands this is Don and nobody listens to him, so fucking what if he needs to copy-paste all his code to support the tango-phobos dichotomy, right? d00d. cussin's pathetic. don't suit ya. wut's yer real problem?
Re: Give me a break
Sean Kelly Wrote: == Quote from Tom S (h3r3...@remove.mat.uni.torun.pl)'s article Sean Kelly wrote: == Quote from Tom S (h3r3...@remove.mat.uni.torun.pl)'s article And apparently, there's been very little contact with Sean lately, so it's a case of 'us' vs 'them' again. No one has tried to contact me. I talked with Fawzi a bit shortly after Druntime was created, but that's it. I'm too busy to even do the things I have planned for Druntime anyway, so I'm not about to chase people down to try add yet more tasks to my list. Here I've based my words on a chat with Lars, but it might be that you being so busy was misinterpreted as not willing to communicate and acting a bit weird. It might be hard to get it out of him now, as he seems to have given up on NG discussions :( For a while, there was an attempt among the Tango folks to make me an ambassador of sorts to Walter and Andrei. I never really understood the need for this, and I suggested that whoever wanted to contact whoever else simply do so. Near as I can tell, this made me appear divisive to some. More to the point, when I was working on Tango I acted upon my own best judgment and was trusted to do so by those involved. This changed as soon as talk of collaboration began, and the Tango folks suggested repeatedly that there must be some sort of group consensus before I made any functional runtime change. There's more, but it's all in the same vein. To be quite frank, I would walk away from D entirely before I'd let myself be put in such a position, and were it not for the fact that I was the only person with the ability to resolve some of the issues involved in the collaboration discussions, I'd have walked away right then because of the pressure the Tango team was putting on me. If this has earned me a bad reputation in some circles, so be it. I continue to consider Tango support when making changes to Druntime, and if the Tango team doesn't intend to use Druntime that's really their problem at this point. I normally wouldn't air such dirty laundry in public, but this thread shows that there's still a lot of confusion about where things stand concerning Druntime and Tango, and so I think it may help to at least outline my perspective on the issue. My sincerest hope is that people will let this go, and focus their energies on something more productive. d00d i ain't gettin' it. did u have a fallin' with tango folks? with phobos folks? both? im stoopid. r u still workin' on druntime? if not to whom did u give it. pls clarify.
Re: Give me a break
Nick Sabalausky Wrote: Nick Sabalausky a...@a.a wrote in message news:h29gil$6u...@digitalmars.com... Jarrett Billingsley jarrett.billings...@gmail.com wrote in message news:mailman.316.1246228005.13405.digitalmar...@puremagic.com... With four or five people having voiced concerns over the future of D in the past week or so, what's the busiest discussion? int.nan, of course. Come on. Get with the program. Enough already with the bikeshed bullshit. There are far more important issues at hand. Oh, please, if int.nan is a bikeshed discussion, then what would we call complaining *about* that discussion? Some of us find it an interesting discussion. So we talk about it. Big f**^ deal. And if we really need more future of D discussion, here's one: How's D going to look to newcomers if the forums have topic-of-discussion-police that go around complaining We shouldn't be talking about this! This isn't a worthy debate! But, this'll never actually happen, so why mention it?! I've been down this road before (man, how I've been down it...). Next thing that happens is more people come in on each side of this endless rabbit hole that is meta-discussion, real debate slows down (both hypothetical and practical), tempers flare, people leave, and the whole group degenerates into a paralyzed staticy dysfunctional madness. It's a sad, sad thing. Yea, sure, that sounds like a classic slippery slope fallacy, but damn if I haven't seen it happen time and time again. Let's not go there. u got me wrong d00d. problem's not topic police. problem's topic bullshit. making int min int nan iz bullshit. d is systems language. int nan requires tests inserted all over. otherwise it's useless. some ops would return int nan. question is: wut does a newcummer think seein' shitty ideaz all over dis group.
Re: Give me a break
Jarrett Billingsley Wrote: With four or five people having voiced concerns over the future of D in the past week or so, what's the busiest discussion? int.nan, of course. Come on. Get with the program. Enough already with the bikeshed bullshit. There are far more important issues at hand. yeah he pulled a bearophile. u'd think u'd get used 2 it. shit. i'm bracin' fer 'nother post tellin' how putr is better than writeln.
Re: int nan
Michiel Helvensteijn Wrote: BCS wrote: Interesting idea, but IMO using NaN as a default initializer is just a crutch for not having a real system of compile-time detecting/preventing of uninitialized variables from being read (C#'s system for this works very well in my experience). I think you can prove that it is impossible to do this totally correctly: int i; for(int j = foo(); j 0; j--) i = bar(j); // what if foo() returns -5? Complete static analysis of the flow of program control is the holy grail of compiler construction. It would allow automatic proof of many program properties (such as initialization). It may not be impossible, but it is extremely complicated. extremely complicated? it's machine haltin' dood.
Re: The proper case for D.
Pete Odowd Wrote: superdan Wrote: Steve Teale Wrote: superdan Wrote: Steve Teale Wrote: Can this group come up with a proper, sober (OK, I'm not) den pretty please explain why anyone should give a flyin' fuck fer yer drunken rant. Love you man. You're on the spot! I have no excuse. not shure u r bein' sarcastic but i'm a gonna take dat at face value. akshully steve u got an excuse. u and i r part of a larger social phenom. i saw many times in da group: sum'thin' good happens with d. then da group reacts negatively with da speed o' light. its like physix: ackshon and reackshon. walt adds features. den we bitch fuck them features, he has 3000 bugs up his ass. walt fixes bugs. den we bitch that not'n' new is cummin' down da pike. andre asks about ranges. we get motherfuckin' bikeshed fight. andre implements them ranges. we bitch about namez syntax and all shit up to the motherfuckin' wazoo. of course if we dun understand ranges dats his fault too. been busy @ work past week but saw good things. andreis book is on amazon so ppl know it's cummin'. then da case fer d comes out. loved it. even better reddit loves it. momentum iz there. den wat do we do. bearophile writes other side of the coin. what in the name of fuck is his problem. backstabbin' mo'fucker are da nicest words that cum 2 mind after racking 'n' waterboarding my brain. EXIT_SUCCESS up yer ass. den cums da proper case fer d. only good thing is sean's cumback o' da year. thanx sean. den cherry on da cake. finally grauzone. where therez any negative shit about d u bet grauzone is on it like flies on shit. so we get this piece of brain vomit. leave them threadz alone. focus all on rewritin' da windows linker. what an assfucked strategy dat iz. i bet soon ppl will say yeah d is a shitty language but hey it got a great linker. what da fuck. anyway steve. my point is we r part of some weird twilite zone. if d ever becumz successful theres gonna be murder in dis group. Wow - Boyz n da Hood... Are you writing with a full keyboard? P.O. menace ii society akshully. heh.
Re: The proper case for D.
Steve Teale Wrote: superdan Wrote: Steve Teale Wrote: Can this group come up with a proper, sober (OK, I'm not) den pretty please explain why anyone should give a flyin' fuck fer yer drunken rant. Love you man. You're on the spot! I have no excuse. not shure u r bein' sarcastic but i'm a gonna take dat at face value. akshully steve u got an excuse. u and i r part of a larger social phenom. i saw many times in da group: sum'thin' good happens with d. then da group reacts negatively with da speed o' light. its like physix: ackshon and reackshon. walt adds features. den we bitch fuck them features, he has 3000 bugs up his ass. walt fixes bugs. den we bitch that not'n' new is cummin' down da pike. andre asks about ranges. we get motherfuckin' bikeshed fight. andre implements them ranges. we bitch about namez syntax and all shit up to the motherfuckin' wazoo. of course if we dun understand ranges dats his fault too. been busy @ work past week but saw good things. andreis book is on amazon so ppl know it's cummin'. then da case fer d comes out. loved it. even better reddit loves it. momentum iz there. den wat do we do. bearophile writes other side of the coin. what in the name of fuck is his problem. backstabbin' mo'fucker are da nicest words that cum 2 mind after racking 'n' waterboarding my brain. EXIT_SUCCESS up yer ass. den cums da proper case fer d. only good thing is sean's cumback o' da year. thanx sean. den cherry on da cake. finally grauzone. where therez any negative shit about d u bet grauzone is on it like flies on shit. so we get this piece of brain vomit. leave them threadz alone. focus all on rewritin' da windows linker. what an assfucked strategy dat iz. i bet soon ppl will say yeah d is a shitty language but hey it got a great linker. what da fuck. anyway steve. my point is we r part of some weird twilite zone. if d ever becumz successful theres gonna be murder in dis group.
Re: Ranges
Lutger Wrote: Yigal Chripun wrote: ... IMHO, duck-typing in D is a tragic mistake... This should have been implemented with compile time interfaces. Care to provide arguments? ignorance 'n' arrogance should do.
Re: The proper case for D.
grauzone Wrote: superdan wrote: Steve Teale Wrote: Can this group come up with a proper, sober (OK, I'm not) den pretty please explain why anyone should give a flyin' fuck fer yer drunken rant. You just gave a flying fuck. negative. i stopped readin' after da first line. dat counts at most for a crawlin' fuck.
Re: Ranges
Yigal Chripun Wrote: Lutger wrote: Yigal Chripun wrote: ... IMHO, duck-typing in D is a tragic mistake... This should have been implemented with compile time interfaces. Care to provide arguments? duck typing makes more sense in dynamic languages like Ruby which is famous for it. yer didnt say why this adds nutt'n'. in static languages I as a user prefer to trade flexibility due to duck-typing for compile time checks. yer dunno what yer talking about do ya. d checks duck typed shit at compile time. yes, at compile time, duck typing and (compile-time) interfaces are basically the same thing, but since the rest of the language uses formal interfaces, it is more consistent (and easier to understand) to use the same approach at compile-time as well. point in case, look how much unnecessary confusion Ranges cause which would be eliminated had D allowed for compile-time interfaces. i.e. Interface I { .. } struct S : I { ... } this is basically the same as C++ concepts only without redundant and confusing syntax. how do ya figure tat I defines a type elementtype? templates are hard for users to understand and one of the main reasons for this is that templates are essentially a completely different language with different syntax and semantics which to me looks like mis-design. 2 me looks like yer in way over yer head.
Re: Fwd: A public apology.
Steve Teale Wrote: Jarrett Billingsley Wrote: On Mon, Jun 15, 2009 at 10:40 PM, superdansu...@dan.org wrote: == Quote from Jarrett Billingsley (jarrett.billings...@gmail.com)'s article Sorry, I thought you were degrading yourself. I should have read more carefully. d00d fer cryin' outta louda. u do wut u do we're back to the apology spiel. stop apologizing or i'ma gonna postal. reach in ur pants. u'll find two things the size of plums. dey're yer ballz. dun forget about dem ok? Hahaha, understood :) Hey SD, I think Jarrett has plenty of balls. Just a different approach that could work! It's old timer here - plums still working fine. How are you? yo steve, thx fer askin'. all good. ballz r fine just itchin' now 'n' then. must be that broad from michigan. busy at work like shit. normal day i reckon.
Re: Fwd: A public apology.
Jarrett Billingsley Wrote: On Wed, Jun 17, 2009 at 6:42 AM, Alexander Pánekalexander.pa...@brainsware.org wrote: Jarrett Billingsley wrote: I am sorry. I am not. Im just thankful for being proven wrong when necessary. Also: wtf, Jarrett. Is that really you? That was me on beer. I'm an apologetic drunk. Should this be telling me something? yeah: superdan's always rite.
Re: DMD 2.030 doesn't exist
BCS Wrote: Hello superdan, every1 here is here 2 have fun. every1. if any1 says ain't, that's a mo'fucked hypocrite. we r not paid = we cum here 2 feel good At one point a few months back, I posted and interacted on this new group as part of my job. I was here not to have fun, but because my current task as part of my job raised some questions that I was looking to get answered. As I have presented a direct counter example, I have proven that your claim is false. You are welcome to think I am a liar or hypocrite, but you would, again, be wrong. 'fcourse i wouldn't think that homes. u r a good guy derek is too. i stand corrected. shit i can't believe i'm writin' this. i must be sober.
Re: DMD 2.030 doesn't exist
Denis Koroskin Wrote: On Thu, 04 Jun 2009 14:45:25 +0400, Derek Parnell de...@psych.ward wrote: On Thu, 04 Jun 2009 05:58:30 -0400, A.M. wrote: Nick Sabalausky Wrote: A.M. ama...@gmail.com wrote in message news:h083sf$h7...@digitalmars.com... Christopher Wright Wrote: A.M. wrote: please correct that, as it gives a bad picture of ur project. The Ur-Project has arrived! Photos at 11 -- we're waiting on a replacement lens. what is that?? are u making fun of me, or u misunderstood what I was saying? if u think I was wrong when I said so, correct me rather than just laughing at me. You is spelled y-o-u, and your is spelled y-o-u-r. This isn't kindergarten, garbage like ur doesn't belong here. I didn't know it would make such a difference.PERIOD Well, it turns out that it does. No one is criticizing you personally, just trying to help with your education. Correct spelling and grammar are indications that the person does not tolerate mediocrity. Spelling variations that are cute or modern, are fine in other contexts but not really in a technical forum where there are readers from many different cultures and spoken languages. Using the standard form of English is also a sign of politeness and inclusiveness. In general, we are attempting to communicate our thoughts here so we need to do that in a way that makes it easy for all potential readers in the forum. Here comes superdan I can spell and capitalize and shit. It's just not fun.
Re: DMD 2.030 doesn't exist
Derek Parnell Wrote: On Thu, 04 Jun 2009 11:48:24 -0400, superdan wrote: I can spell and capitalize and shit. It's just not fun. I have no doubt about that at all. You appear to be very intelligent and nearly always have something useful to contribute. And of course you having fun is much more important that you trying to help others understand ... now I understand you a bit more. -- Derek Parnell Melbourne, Australia skype: derek.j.parnell u r makin' a mistake me friend. yeah clearly i'm a mo'fucker. but that's beside da point. every1 here is here 2 have fun. every1. if any1 says ain't, that's a mo'fucked hypocrite. we r not paid = we cum here 2 feel good. some ppl feel good by helpin' others. more power 2 them. others feel good cussin' n' shit. less power 2 them. both seek 2 feel good. in a weird way both are just as selfish. i'm done. my philosophy lesson's worth wut u paid fer it.
std.partition is fucked
dis must be related to bug 2966 sayin' std.sort is fucked. problem must be with std.partition. i tested and unstable partition is 10 times slower than stable. should be faster akshully. so looked into tat and found in da loop for std.partition unstable and found da range r1 is fucked. for (;;) { for (;;) { if (r.empty) return r; if (!pred(r.front)) break; r.popFront; } // found the left bound assert(!r.empty); auto r1 = r; for (;;) { if (pred(r1.back)) break; r1.popBack; if (r1.empty) return r; } // found the right bound, swap make progress swap(r.front, r1.back); r.popFront; r1.popBack; } r1 is popbacked a few times but then all tat is forgotten the next time around da loop coz r1 is local to da loop. so da loop is quadratic methinks. what u need iz save r outside loop then popfront popback from da same range 'n' shit.
Re: Massive loss for D on Tiobe
grauzone Wrote: superdan wrote: grauzone Wrote: You're offending me. Please stop this immediately. Thank you. wut happened to `flame on', hercules? expletives deleted When it comes to everyone being better off, what about stopping talking like a 16 year old rapper on a hormone trip? Grow up. expletives deleted? then u missed the subject. subject was yer bashing d2 more often than a teen has a boner. that is da problem, not my expletives. ok, yer highness, we fuckin' get it. u dun like d2. u made ur point several times now move on with life. if u r too hung up u say idiotic crap like this with tiobe d2. better have a foul mouth a clean mind than vice versa. so u grow up friend. til then, at least dun flamebait. dun do da crime if u can't do da time.
Re: Write/Writeln, etc
Derek Parnell Wrote: On Thu, 7 May 2009 16:02:52 -0400, Jarrett Billingsley wrote: Once again: 'much' and 'too much' can never. modify. adjectives. They are not adverbs. Really? Have consulted the superdan on that? huh? wut? wut about me? if i type in vernacular doesn't know i dunno grammar 'n' spelling 'n' shit. Also, I note that you have some sentences written without subject or verb, or object, and without leading upper case character. As far as I know, only e.e.cummings can get away with that, then only just. ;-) me, i'd be happy if nick stopped spellin' 'depricated'.
Re: Massive loss for D on Tiobe
Walter Bright Wrote: Georg Wrede wrote: D's loss seems unbelievable. D now has a 0.628% share, which is even less than what it's lost (-0.82%) in the last 12 months. What could be the reasons for it? Is it even possible to figure out any reason?? Of course it's unbelievable. This change didn't happen over a year's time, it happened in one month. This means that the methodology Tiobe uses changed, or the search portals changed their hit count algorithm. Notice http://www.tiobe.com/index.php/content/paperinfo/tpci/tpci_definition.htm where they automatically discount all D hits by 10%. They don't do that for C. For example, of the first 100 hits of D programming on google, I found only 6 that were not about D, two of which was already excluded by Tiobe's algorithm. That's 4%, not 10%. I found 3 non-C ones for C programming in the first 100. That's 3%, not 0%. i sorta prefer grau douche zone's theory. makes no sense 'cept in da framework where he's a retarded dumbass evil to boot. but u gotta respect the man. he's waited so patiently fer dis opportunity to suck collective cock. gotta give it 2 da man.
Re: Massive loss for D on Tiobe
grauzone Wrote: You're offending me. Please stop this immediately. Thank you. wut happened to `flame on', hercules? anyway just killfile me. i dun change handles. better yet. stop being an ass. we'd all be way better off. suit yerself.
Re: Slide design
Sean Kelly Wrote: == Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article I don't agree. I think there is much more at work here. Slides are limited in size and text content simply because there is so much information a person can absorb simultaneously by hearing and seeing. So the slide with text is simply an anchor, a high-level memento to rest one's eyes on, while the speaker gives some detail pertaining to the high-level points that the slide makes. For lectures I basically have a choice between two options: 1. Take notes and not remember a darn thing that was said. 2. Not take any notes and remember the lecture. I've seen a few raised eyebrows at times, but this is why I never write anything down at a meeting or lecture I'm attending--it draws my focus away from the material being presented. yeah da raised brow. fuck that shit. i took a pascal class at motherfuck memorial comm college in b'more. i'd take a front seat not write shit. teach couldn't tell a lambda from da mole on his face anyway. at the finals i finish first. the mo'fucker is like, 'well giving up already?' gave him mah look if i didn't need ur fucking grade my ankle would be up yer fucking asshole by now, asshole'. to his credit the mo'fucker had enough decency left to fuckin' apologize. so i tell him he had a bug in problem 4 went mah way.
Re: Many questions
Fractal Wrote: D is for me a very good language. At the time everything that i want to do, is possible with it. And i have deleted all the C++ code and replaced it with D. here's 1 happy dood without a legacy code problem. boy how i miss kindergarten. welcome 2 da club kiddo.
Re: C tips (again)
bearophile Wrote: In the past I have probably already discussed about this link here: http://users.bestweb.net/~ctips/ That site contains tips as precious as gold, even for non-C programmers. d00d. u first messed with kr which are Gods. any1 mess'n' with Gods better bring around some fuckin' supergod instead. the trailin' empty array trick is so ol' it smells like ol' people. been thru first 19 pieces of advice. nuttin' new or remotely interestin'. wut i saw was some lame shit that puts a grown man 2 sleep. use assert, macros, checks. wtf. then got interrupted. the 70s called. they wanted they lame c idioms back.
Re: C tips (again)
bearophile Wrote: superdan: d00d. u first messed with kr which are Gods. any1 mess'n' with Gods better bring around some fuckin' supergod instead. I have not appreciated that book, I don't care of what you say. fine. personal preference is kewl. I am generally able to see good books when I see then. where the mother fuck did that come from. first u say preference is relative. /u/ didn't like kr. fine. then u make it fuckin' absolute. if kr was any good, u bet ur ass bearophile had figured that out. that's fucked up like a hooker in downtown bangkok. I guess that author has more programming experience than all my teachers combined. experience is nuttin'. it's what u learn from it. half the dimwits in my office have more of it than me. they dun miss any opportunity to fuckin' /remind/ me whenever their incompetence comes forth. `superdan u should know i have 18 years of experience designing shit'. `yeah then why is ur design fucked up with a dry cock up its ass. kiss my black ass if in 18 years u didn't learn any.' shit. if i hear one more dood invokin' experience as central argument i swear i go fuckin' postal. the trailin' empty array trick is so ol' it smells like ol' people. Of course few or none of those things are new. C is around for a lot of time. The author never says he's inventing things. But the way he is combining those things, the rigor he shows, creates something I have not seen elsewhere. u havent been around much, that's the prob. check this shit out. http://www.amazon.com/Hackers-Delight-Henry-S-Warren/dp/0201914654. then come back.
Re: C tips (again)
Steven Schveighoffer Wrote: On Fri, 01 May 2009 11:36:08 -0400, bearophile bearophileh...@lycos.com wrote: superdan: d00d. u first messed with kr which are Gods. any1 mess'n' with Gods better bring around some fuckin' supergod instead. I have not appreciated that book, I don't care of what you say. I am generally able to see good books when I see then. I guess that author has more programming experience than all my teachers combined. Yeah, he only, you know, *invented* C ;) he was referrin' 2 the famous nobody who wrote them tips he sleeps under his pillow with.
Re: d assigns name Philosophy
dolive Wrote: hasen �: dolive wrote: Suggest the d Language and phobos lib ( And other lib ) assigns name to use the tallest phrase in the phrase of word frequency . This, should study toward the java . This is also the key that the java jdk source code easily reads This is also one of the java successful keys . thank you very much ! I don't really understand .. you are suggesting to use short names or long names? Java is known for having very very very long names org.name.domain.SomeReallyLongClassName.SomeBoringMethodName( myObject.YetAnotherBoringMethodName( 10 ) ) Doing stuff like that is a ReallyBadIdeaInMyHumbleOpinion Certainly short name is good �� Primary school student it can know of short name dolive then i guess 95% of my private functions are doShit() and 95% of my public functions are doStuff().
Re: C tips (again)
Steve Teale Wrote: bearophile Wrote: So I agree with nearly nothing you have (badly) expressed. Bye, bearophile Who is this guy? He must be putting his messages through one of those web sites that translate into strange dialects - fry my ass! fer tat i recommend da george foreman grill. i'm a bad motherfucker. fer the most part u can just ignore me. I'm with you, reading KR back in the 80s was a pivotal point my life! u haven't really read his post have ya. to ur chagrin u ain't with da nicey guy, u r with the bad motherfucker. sorry to break them bad newz.
Re: I can use D all the time
Steve Teale Wrote: It's called retirement. I can use whatever language I like, and write anything that comes to mind 24 hours a day if I want to. nope. it's called /rich/ retirement. with my fuckin' stox n 401k the way shit is goin' i'll need to work til they'll hand me prostate in a plastic bag. woman wants kiddos too. i'll be pushin' them daisies a month after retirement. mah prospects of learning the f language will be long fucked by then. props fer you. also dun mind me breakin' yer raisin balls d other day. u r a good fella but u gotta learn them ranges n shit.
Re: I wish I could use D for everything
Steve Teale Wrote: Jason House Wrote: Walter Bright Wrote: D aims to reduce project costs by reducing training time and shortening development time. It really hasn't worked out that way for me with D2. Here's an example from yesterday: I picked up where I left off with creating a weak ref library, something most other GC'd languages have as part of their standard library. It probably comes as no surprise that I was getting seg faults. Of course, those are supposed to be trivial to solve. I run the app through gdb, and catch the crash. I can see the stack but can't figure out which line the fault occurred on or what the important local variables are set to. I make up an incorrect theory of what could be going on and start a detailed sifting through all actions of the gc. Everything was fine :( I somehow notice later in the night a small usage difference between my code and the GC. I fix that and try a better test to ensure things work. I see previously working code is now broken. I start checking code and settle on std.conv being broken. Out of the 15 candidates for to!(T), I overlook the one that should be used, but do spot what is incorrectly being used. The code looks legit - do a conversion to a string from a struct, but only if it lacks a toString function. I have a to string function! I test the logic with a static assert and it's wrong. Is this a compiler bug? I remember some screwy is expression syntax and try that instead. Looks like the screwy syntax is needed. I have always hated the is syntax because it's non-intuitive. It looks like Mr. Metaprogramming (Andrei) got it wrong. I tend to agree about the obsessive concern in this newsgroup about meta-programming. In my view, the whole focus of that is to automate code generation that really can't be automated if you care about speed and efficiency because it always has to assume worst case. Usually, when programmers in a conventional shop do use it, they use it to generalize a quite narrow case - KISS. yerself said yer dun understand wut's goin' on, ol' timer. really if u wanna stick to the ol' times grow an afro write in c. d without no meta would be a greasespot in language town. it's meta that keeps d goin' and no meta no honey. an' wut's jasons problem. saw the bug. it's a fuckin' typo. mr. metamuthafucka could make a fuckin' typo. so who gives a shit. why read anything into it. just put a unittest there and move on. conv is akshully kewl btw. When it aims for the wider case, it often ends up being buggy, like std.stdio.writefln(...) has been from time to time. so wut only templates have bugs? what's yer problem really. Sadly, in the absence of decent development tools for D, many of us depend on a plain old editor, and writefln() for debugging. I notice that in Phobos, Walter tends to prefer printf(...) - go figure! yer do me a favor sherlock. yer figure that out fer us all.
Re: I wish I could use D for everything
Steve Teale Wrote: superdan Wrote: Steve Teale Wrote: Jason House Wrote: Walter Bright Wrote: D aims to reduce project costs by reducing training time and shortening development time. It really hasn't worked out that way for me with D2. Here's an example from yesterday: I picked up where I left off with creating a weak ref library, something most other GC'd languages have as part of their standard library. It probably comes as no surprise that I was getting seg faults. Of course, those are supposed to be trivial to solve. I run the app through gdb, and catch the crash. I can see the stack but can't figure out which line the fault occurred on or what the important local variables are set to. I make up an incorrect theory of what could be going on and start a detailed sifting through all actions of the gc. Everything was fine :( I somehow notice later in the night a small usage difference between my code and the GC. I fix that and try a better test to ensure things work. I see previously working code is now broken. I start checking code and settle on std.conv being broken. Out of the 15 candidates for to!(T), I overlook the one that should be used, but do spot what is incorrectly being used. The code looks legit - do a conversion to a string from a struct, but only if it lacks a toString function. I have a to string function! I test the logic with a static assert and it's wrong. Is this a compiler bug? I remember some screwy is expression syntax and try that instead. Looks like the screwy syntax is needed. I have always hated the is syntax because it's non-intuitive. It looks like Mr. Metaprogramming (Andrei) got it wrong. I tend to agree about the obsessive concern in this newsgroup about meta-programming. In my view, the whole focus of that is to automate code generation that really can't be automated if you care about speed and efficiency because it always has to assume worst case. Usually, when programmers in a conventional shop do use it, they use it to generalize a quite narrow case - KISS. yerself said yer dun understand wut's goin' on, ol' timer. really if u wanna stick to the ol' times grow an afro write in c. d without no meta would be a greasespot in language town. it's meta that keeps d goin' and no meta no honey. an' wut's jasons problem. saw the bug. it's a fuckin' typo. mr. metamuthafucka could make a fuckin' typo. so who gives a shit. why read anything into it. just put a unittest there and move on. conv is akshully kewl btw. When it aims for the wider case, it often ends up being buggy, like std.stdio.writefln(...) has been from time to time. so wut only templates have bugs? what's yer problem really. Sadly, in the absence of decent development tools for D, many of us depend on a plain old editor, and writefln() for debugging. I notice that in Phobos, Walter tends to prefer printf(...) - go figure! yer do me a favor sherlock. yer figure that out fer us all. Interesting prose style! You'll be an old-timer one day, but by then, I'll be dead and gone. Maybe I'll be a fly on the wall. Love you too. no offense meant pops sorry. yer a cool fella all things considered. all i'm sayin' is if yer dun grok, try to grok. don't piss on it. fer all i know walt is older than yer has all rights to behave like an old fart. but he ain't. bangs like a youngster. he could be a template for yer. ew i just shat a pun.
Re: RFC: naming for FrontTransversal and Transversal ranges
Andrei Alexandrescu Wrote: Joel C. Salomon wrote: Andrei Alexandrescu wrote: A design that has one container type and several slice types that crawl it in various ways is very compelling, and I think it will be a huge selling point for D. It would be odd, not natural, to have arrays as a singularly distinct container that is in fact its own range. We get away with container == range for arrays partly because arrays are a simple structure, but that only blurs thinking and understanding of more complex containers. In fact, ranges do predict that any attempt to grow a range will cause topological issues in the owning container; that's why SList wisely (IMHO :o)) includes a template parameter that tells whether its topology is fixed or flexible. It sounds like youâre suggesting that arrays become like all containers, and that slices become a kind of range over the array. Yes. I think that that would be a good design. Functions that now take arrays (which are possibly slices) and write to them but donât shrink or append to them, should therefore be rewritten to take the range that covers the array. To clarify: T[] is a slice. It has one array testis in the form of the infamous ~=. And it has the problems that I described because of that gender ambiguity. Most functions manipulate ranges (and therefore slices), not full array objects. So the addition of arrays would not be disruptive. B.T.W.: Whatâs the syntax for a range that accesses the entire container in index order? To get the default range for a container c, you write c[]. foreach automatically calls it. For a T[], asking a = b[] is an identity function. For a T[5], it happens to do the right thing. Allow me to bring the std.range.SListRange example again, because it's a very good example outside of arrays. An approach used e.g. in LISP is to conflate lists as containers with lists as iterators in containers. So when you pass a list into a function it could not only look and change at the elements that the list contains, but it could rewire the nodes in the list any way it wants. The root of the list itself is a bit special because it is usually passed by value so the caller will hold the root even if the callee would want to even change that. This is not a huge trouble for LISP as lists are the focal data structure, but the behavior comes off as a bit odd for someone who'd like to manipulate lists and other structures in uniform ways. So there comes the notion that the container is concerned with topology: how slots sit in memory, how they are arranged with respect to each other etc. The exact ways to manipulate topology and the tradeoffs involved are container-specific (for example it's cheap to prepend to a list but not an array). Ranges, on the other hand, do not allow topological changes - they only have uniform primitives for accessing the elements in containers, whereas they prevent any topological changes. So a SListRange!(int, Topology.flexible) would be a container and offer topological changes such as insertAfter. When such a list is asked for a range (via c[]) it will return a SListRange!(int, Topology.fixed). That guy will know how to move about the host list, but would be unable to exact any changes to its topology. As such, SListRange!(int, Topology.fixed) is as useable as any other forward range. Does any of this make sense? :o) Andrei fuck man u dance around da shit but never step in it. the clear example is a file. messin' with a file is diff from messin' with ranges that read from da file. forget the lists n shit. file is a real example coz u also have to be sure of lifetime n shit. i mean u wanna close it eh.
Re: dmd 2.029 release
Craig Black Wrote: I like very much the direction D2 is going now. Language refactoring and enhancements driven by the goal of more elegant implementation of standard libraries. This approach seems very practical and promising. Thank you very much and keep it up! -Craig holy guacashit this works. import std.algorithm; import std.range; import std.stdio; void main() { string[] a = [ shit, poop ]; string[] b = [ dump, shite ]; sort!((a, b) { return a b; })(chain(a, b)); writeln(a, , b); } i'll be shat on. couple shitty problems tho. auto don't work shit for a and b. complains about fixed size strings'n'shit. then writeln(chain(a, b)) shites ChainImpl!(immutable(char)[][],immutable(char)[][]) to stdout. tat's liable to scare da shit outta a beginner.
Re: bigfloat
Frank Torte Wrote: Paul D. Anderson Wrote: Is there an active project to develop arbitrary-precision floating point numbers for D? I've got a little extra time at the moment and would like to contribute if I can. I've done some work in floating point arithmetic and would be willing to start/complete/add to/test/design/etc. such a project. What I hope NOT to do is to re-implement someone else's perfectly adequate code. If no such project exists I'd like to start one. If there are a bunch of half-finished attempts (I have one of those), let's pool our efforts. I know several contributors here have a strong interest and/or background in numerics. I'd like to hear inputs regarding: a) the merits (or lack) of having an arbitrary-precision floating point type b) the features and functions that should be included. Just to be clear -- I'm talking about a library addition here, not a change in the language. Paul When you can use a number in D that is more than the number of atoms in the known universe why would you want a bigger number? the fuckin' gov't debt.
Re: The new, new phobos sneak preview
grauzone Wrote: bearophile wrote: bearophile: I'll probably rewrite my dlibs for 2.0 anyway. Ignore this part, please, it's not good. Huh, is this some kind of feel-good community? ignore. crybaby wanna attention. new releases piss him off. with each phobos bearophile comes all 'i told ya' 'finally u do like my dlibs' primedonne nitpicks shit. feels not reco or sumth'n. relax dood. u didnt invent all tat shit. anyway. found time 2 look over phobos got some nits myself @ andre. std.algorithm is big. should be more orthogonal. why fill. i can do copy with repeat. some other fns can go. std.range is incomplete. theres tons of ranges tat r useful. std.numeric is a motley crew of vaguely related shit. theres no containers. u got all bananas w range but only test with arrays. no good solution for array append. fuck appender. no matrices u promised tem. fptemporary dont make sense. anyway. this shit is dope. ranges r cool simple in hindsight. tats a good sign. ill get hands dirty n maybe report more.
Re: The new, new phobos sneak preview
Derek Parnell Wrote: On Wed, 08 Apr 2009 19:24:10 -0400, superdan wrote: ill get hands dirty n maybe report more. If you do, can you report back using English. I'm not very good at translating your, presumably excellent, insights otherwise. watch out. the comma police is lookin' fer ya.
Re: AAs [was Re: bigfloat]
then lets go all the way. make slices normal types in object.d too. compiler translate t[] to slice!(t) [ x, y, z ] to slice!(typeof(x))(x, y, z). then u write slice in normal d put it in object.d. fuck the middleman. i grok why ints and floats must be in the language. optimization shit n binary comp n stuff. but slice n hash work user defined just fine.
Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)
Jarrett Billingsley Wrote: On Mon, Apr 6, 2009 at 4:13 PM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: ComputerIlliterateFriend: Hey Jarrett, can you come over and fix my computer? Jarrett: What's it doing? CIF: It's popping up all sorts of dialog boxes telling me I need to get Spyware Aweseom Remover and stuff, and it's running really slow, and my files keep disappearing. Jarrett: And where have you been on the internet? CIF: Oh you know, normal sites. Jarrett: Like? CIF: Porn, more porn, horse porn, warez. I also used Limewire to download *every song and program ever made*, and I make it a habit to click on interesting-looking [read: violently-flashing] ads. Jarrett: ... CIF: What? Did I do something wrong? Seriously. It's like sleeping with every prostitute on the East Coast and acting surprised when you have seventeen STDs. I think this is a large exaggeration. Except this has actually happened to me, modulo a couple details. Three or four times. browsin' porn or fuckin' hookers?
Re: why Unix?
http://artlung.com/smorgasborg/C_R_Y_P_T_O_N_O_M_I_C_O_N.shtml oldie but goldie. my take. cygwin on windoze == fuckin' with two condoms.
Re: Objective-D, reflective programming, dynamic typing
Jarrett Billingsley Wrote: On Fri, Apr 3, 2009 at 6:09 PM, eljay el...@adobe.com wrote: Hi Jarrett, Thanks for the information (I've read quite a few responses further into this thread). I thought I was missing something, but this appears to be an area in D that could use some improvement (although I liked Andrei's template solution, it would not work for forwarding messages). �I did not mean to start a flamewar. Wow, neither did I. now i know where the hell mother theresa hid.
Re: What Scala?
Sean Kelly Wrote: Walter Bright wrote: Nick Sabalausky wrote: Well, when it comes to college, what you're paying for are the classes and the degree (and, of course, books/room/board). So I'm certainly going to measure it's worth with that in mind. Having a dinner with Carl Segan, as great as he was, is hardly worth $100,000, unless you're filthy stinking rich. You could view it as paying for classes and a degree, and some colleges certainly operate it that way. I look at it as more of paying for the environment, much like I'd pay entry to a nice buffet filled with delicious treats to choose from g. I think you really are paying for the degree--the environment is just a perk, assuming you're lucky enough to be at a school that has such an environment. The first university I attended (I went to three altogether) was a highly regarded school, particularly for their engineering program. One evening I was at a party and brought up some marginally intellectual topic in conversation. Someone standing nearby turned to me and said dude shut up, we're not in class. That sadly typified the environment at that particular university. Perhaps not surprisingly, I transferred away not long after. The second university was closer to home, smaller, and had a more study-oriented environment overall. But it was also less challenging, and didn't offer a single evening class. I got a job in RD while looking for a job one summer and after a semester or two of juggling a full-time job and day classes with an hour commute between the two I couldn't take it any more and dropped out. It was a decent school overall, but certainly didn't have the kind of environment you're talking about. Finally, I decided to go back to school and finish my degree maybe six years ago, and basically had to start from scratch. I went to a local community college to cover the distributional requirements and then transferred to a state university. A large segment of the students commuted and many of them worked, which may help explain why most of them seemed there for the degree rather than the education. But many of the professors were excellent and as I was some 15 years older than most of the students I didn't really care about the student environment anyway--I spent most of my time talking to the teachers instead. I'm not sure if my experiences are typical, but I can say with confidence that I've never been in an environment like you've described. If I had I probably would have enjoyed school a lot more, and may not have taken 18 years to finish my undergrad degree :-) I'm still thinking about going back for my masters and possibly a phd, but certainly not because of any fond memories I have of my time in college. sup dawgz. good thread. my 2c follow. secondary education here sucks goat balls. dee told me in japan kids take exams since they was in da womb. my hardest exam in highschool was to break the nose of a moron before he broke mine. in us they let you take it too easy and assert yer shit and all dat shit. we have debate fucking class but no serious math n shit. my fist is debate. teach me fucking hard science thats wut school is 4. and if yer poor forget goin' to a decent college. teacher @ motherfucking comm college in east baltimore knew less pascal than me. and i fucking hate pascal.
Re: OT -- Re: random cover of a range
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 g). I seriously doubt superdan uses profanity to offend. He's got an ear for dialog, and the wit to write in a style that is a parody of those that use profanity. I think it's hilarious and enjoy reading it. Certainly I laughed out loud a few times. Actually, I sometimes wondered if he was using a translator, like the Swedish Chef you once posted here. But, like the Swedish Chef, I usually found his posts quite difficult to read. u r talking more about me when i ain't around. relax folks good news. superdan's still tuned in. but i need to work my ass off. my boss is an asshole n cant wait to fire me. hope he intercepts and sees this msg. as fer my language. i grew up in baltimores high risers. if u dun shitfuck there u r dead meat. pardon me french. anyway newsflash. dee exists n is alive n well. cute as bugz ears. won't post coz she's ashamed for having her cover blow. go figure japanese morals. don walt u r 2 cool fer school. thanks doods. tho wut's with tat apple thing. apple is fer weenies. unix is da only reason 2 be around them 'puters. get tat unix64 thing goin'. peace.
range stuff
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 filter ranges. yer should connect stuff together to get chains n stuff. see? i'm sayin': why would ya have a piehole an asshole if yer don't have a stomach. i/o ranges are a missing link. if yer smart u can unify range stuff and stream stuff together. then stream or range it's all the same. not sure its possible but if it is only yer can pull it. that would be dogs bollocks.
Re: OT -- Re: random cover of a range
Nick Sabalausky Wrote: Nick Sabalausky a...@a.a wrote in message news:gn8qqd$1k5...@digitalmars.com... John Reimer terminal.n...@gmail.com wrote in message news:28b70f8c143578cb5cec61f27...@news.digitalmars.com... Remember SuperDan? This is a good example of a guy who you all exercised pressure on to conform to your etiquette (I especially remember Jarrett doing so, interestingly). Why? By what standard? Was he not playing according to the rules of niceness? Apparently even this community has limits. Walter didn't even step in when it was at its worst. I couldn't stand SuperDan's language or sick analogies but his antics were completely fair game in a community like this... and those of you who resisted him for it were practically hypocrites, if you will pardon my directness. I wonder what kind of character assassinations went on then? When a person, either superdan, or this time, you, comes around here and starts directly attacking other people out of the blue, yea, you can expect the rest of us are going to lash back. Look, the other thing about superdan is that we were all well aware that he just some troll that didn't know any better. But you've been very level-headed on here for a long time, so we know you're capable of a lot better than this. hey hey cool it dood. dont get me outta my lurkin'. ps - when is the new phobos cummin'?
Re: D
Jarrett Billingsley Wrote: On Sat, Nov 15, 2008 at 3:01 AM, superdan [EMAIL PROTECTED] wrote: you'd make ahmadinejad become a feminist join nato. i'd rate that post at no more than 200 monkey-minutes. You have a way with not making any sense. It's almost like you're a Markov chain. that receiver's off the hook eh. no problem i can explain that to you. ahmadinejad is iran's president. a country staunchly discriminating against women. and staunchly against western values. sayin' you'd make him become a feminist join nato is a hyperbole meaning yer persuasive. as persuasiveness is begot by intelligence i retract that comment in wake of fresh evidence. there's a famous infinite monkeys thing. if a million monkeys type randomly forever they produce anything. like shakespeare's finest. sayin' i'd rate ton's post at 200 monkey-minutes means it would take 200 monkeys one minute to write his post. or 1 monkey in 200 minutes. see the product monkey * time is constant. that also has some humor (see mythical man-month) but lets not get too subtle.
Re: C++, D: Dinosaurs?
Nick Sabalausky Wrote: Tony [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Walter Bright [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 1. GC programs can be faster 2. GC programs can use less memory 3. GC programs can be guaranteed to be memory safe 4. GC programs are faster to develop and have fewer bugs None of which sell me on GC. Why not? They sound like pretty darn good reasons to me. What are you expecting out of a memory manager, the secret of the universe? If you have reason to disagree that the items on that list are true, then ok, I can understand. But if you're saying that those aren't good enough reasons, then it sounds like you have unrealistic expectations. As an independent developer, I have to keep my cards close to my chest about some of (one?) the reasons why I thing my way is compelling (in the true sense of the word). I'm an independent developer too, but I have to say, this is a clear indication that your system isn't nearly as special as you think it is. There are only three types of people who ever have a non-standard solution and think it's actually worth bothering with such secrecy: 1. Industry-renowned full-time tech researchers who actually do create good stuff (and then make it publicly known by the time their research is done), 2. Suits and managers, who don't know a damn thing about the technical side of anything, including code, and 3. Novices. 4. beneficiaries of da sayin' on the internet nobody knows ur a dog. I'm not saying this to try to convince you to tell us, or to insult you, but as a cautionary tale. You need to take a good hard look at your system, be as objective as you can possibly be, and make sure it really is the that special. Because anytime you tell yourself This is so good that nobody else has thought of it and it's the ace up my sleeve, that should raise a giant red flag in your mind saying that no, in fact, it's extremely doubtful that it's anything special at all. nice words my friend. but somethin' tells me yer wasting yer breath.