« first day (393 days earlier)      last day (3103 days later) » 

1:07 PM
and empty
 
 
1 hour later…
2:20 PM
So... two people recently have tried to update questions that use pre-1.0 syntax (ye olde ~ sigil) to be more modern.
I rolled back the first one stackoverflow.com/q/21309167/155423
But now I see ker also updating stackoverflow.com/q/21066133/155423
 
ker
yea
 
So I figure we should have a bigger discussion
 
ker
I read your users post about updating answers. But questions are harder
I assumed if the change is really minimal it's a non-issue
 
I've invited huon / Chris Morgan / Vladimir Matveev to chime in as well, but they are on radically different timezones ;-)
@ker I hope that everyone agrees that changing the meaning is definitely out of the question
The problem becomes what does "meaning" encompass
 
ker
I commented on this question since changing it to 1.0 removes the error xD
 
2:27 PM
For example, with what you and Paolo did does make the question and answers more accessible to new users
 
ker
well changing the meaning is doing more than ~abc -> Box::new(abc)
 
which is nice
but SO didn't cleanse all the questions that dealt with .NET 1.0 when 2.0 came out, for example
and of course, this case is different as it's pre-1.0
 
ker
yea, but if the issue i 1:1 reproducible in 1.0, then imo it should be converted. But I'll readily bend to a decision by "the group"
 
@ker yeah, me too. which is why I wanted a bigger group to weigh in :-)
I don't want all that repsonsibility
But note that you made Paolo's comment nonsensical
 
ker
which one?
 
2:31 PM
"while ~1 is a owned pointer"
9
Q: What is the difference between Vec<i32> and Vec<Box<i32>>?

sunny1304let vec1 = vec![1, 2, 3, 4]; let vec2 = vec![Box::new(1), Box::new(2), Box::new(3), Box::new(4)]; What is the difference between them? I have already allocated vec1 on the heap. So aren't all the elements of vec1 also on the heap? Why would I need to separately allocate them on the heap like in...

Now, comments are supposed to be ephemeral, and there's even a flag for "obsolete"
 
ker
oh I overlooked that
I'm never sure about flagging comments, I don't want to give the mods more to do, but commenting on the comment isn't helpful...
 
yeah. I tend to not do it too often, but don't feel too bad when I do :-)
As it stands, you and Paolo felt that changing ~X -> Box<X> and ~[X] -> Vec<X> was acceptable.
Of the three people involved, that's 2 for it
 
ker
and ~str -> String
 
right
HI @VladimirMatveev!
@ker one thing I suggested earlier was that we could add an aside at the beginning of the question "Heads up! This question refers to a pre-1.0 version of Rust. ~T becomes Box<T>, etc."
 
2:40 PM
Or we could have a question that is "how do i translate between old ~ to new hotness" and link to that
 
ker
@Shepmaster: I really dislike that. But that's just an opinion
I think the questions should work for stable 1.*
adding versioning to the questions confuses me. It'll confuse newcomers even more. Rust is hard enough at the beginning with the few symbols it has left
 
I personally think that updating the question about ~[~int] is fine - it looks like it can be translated to the stable rust without significant semantic changes. I'm not so sure about the other question, about returning owned arrays. A new answer with the current situation would probably be better than rewriting the question and answers there outright
 
ker
I guess we should split the discussion about questions and answers, as they are different situations. You can add an own answer, but adding a new question and linking it is kindof weird
 
Hm, did someone said about adding a new question?
 
ker
@Shepmaster suggested it
that's not true, he offered it as a possible solution
in Discussion between Shepmaster and Paolo Falabella, 2 days ago, by Paolo Falabella
conservatively, we could go for the other option that Huon proposes; writing a new version of q and accepted a and linking old to new
even less true
it was @huon
 
2:47 PM
ook. well, it looks somewhat strange for me, but it somehow makes sense. adding a question with an answer is one of the ways to share knowledge on SO after all
 
ker
true. but then you have two "equal" questions. So we remove the outdated one's rust tag and add a rust-pre1.0 tag?
 
i think it's "add a new tag of rust-0.8" or whatever
but i also agree that adding the new question seems a bit silly if the changes are just syntax
 
ker
also I'd feel plagiaristic copying a well received question
I'd do it if I knew how to turn it into a community question ^^
 
There's also the option of adding the 1.0-compatible version at the top and leaving previous below that (or pointing out pre-1.0 is in the rev. history)
 
ker
What's the motivation behind pointing out that the pre-1.0 is in the revision history?
someone linking from another page to the q and expecting pre-1.0 code?
 
2:55 PM
Preserving historical intent
Which I think is kind of what this discussion hinges around
Heavy stuff like "what is the point of Stack Overflow" ;-)
 
ker
Yea, but if noone ever again needs that question in a pre-1.0 context, then there's not much point in preserving it pristinely.
 
I'll admit that if someone asked the same question with the new syntax, I'd be loath to mark it as a duplicate of the question with the old syntax
And I guess part of the question is "is there any value to pre-1.0 syntax for the majority of people using stack overflow?"
 
ker
If there were a minority to which it were useful I'd be much more conservative ;) I just don't believe there is that minority.
 
3:14 PM
I guess my current feeling is that if we can make mechanical changes (the aforementioned ~T -> Box<T> etc.) then I'm not too worried.
I'd like to give it some time for people to chime in though.
 
Hey guys
Just wondering, what is Rust?
Might be an idea to add a more descriptive description :)
 
@Billy more than the tag wiki?
 
Cool thanks
I just meant on the room description, a link to that page would be awesome
 
Ah, I think that needs to wait for one of the owners to show up. I just work here ^_^
 
 
4 hours later…
7:48 PM
Now it's happening from other people. stackoverflow.com/revisions/9109872/2
 

« first day (393 days earlier)      last day (3103 days later) »