« first day (2093 days earlier)      last day (1378 days later) » 

12:10 AM
I wish std::iter::Peekable had a peek_mut method...
I guess I'll try with cells instead
 
12:56 AM
@FrancisGagné isn't this a terrible idea ?
 
 
2 hours later…
3:14 AM
@Stargateur what I have is essentially an iterator of ranges. I want to be able to consume the first "half" of the range and put the other "half" of the range back in the peekable iterator.
 
3:28 AM
@FrancisGagné a Vec with last_mut and pop?
Or make your own peekable
Or add it to the stdlib 🥰
 
@Shepmaster if I add it to the stdlib, I won't be able to use it for at least 12 weeks because I'm targeting stable
@Shepmaster does Peekable<Cell<T>> count as making my own? :P
anyway, right now I'm questioning if what I'm trying to do is even helpful
when I programmed move detection in my diff/merge library, I made it so consecutive moves would be grouped in a unit, so that changes between the matching parts would follow along when I get to implementing merge()
right now I'm trying to figure out how to handle move conflicts (i.e. when both changed versions move the same chunk of text to different places)
the problem is that once moves are grouped, I can't really split them, which might be necessary when moves overlap
so I'm starting to ask myself if I should just stop grouping moves when computing diffs and just handle the "move along" thing during the merge itself some other way
 
 
4 hours later…
7:28 AM
@FrancisGagné That clearly not the purpose of peekable
 
 
5 hours later…
 
1 hour later…
1:44 PM
The number of people who think that the unsafe Ferris is a porcupine or a hedgehog is too high.
 
@E_net4likesmanythings It is actually more than fair to think that. It gives me no pleasure to say this, but our mascot is horribly badly designed. It's too static, it has way too much insignificant details, it is "sharp" in a bad way, it has a single view, it cannot be adopted for certain situations. These were the objective complaints, the subjective one is that I believe it is boring AF.
I was actually thinking the other day about designing something Rust-worthy..
 
TBF it was never official, it just reached that status by itself. And I don't have much of an issue with the safe Ferris variant.
@PeterVaro Maybe it's about time Ferris had another friend.
 
Yeah.. I have to think about it, but what's more important: I should find some time, to draw some sketches..
 
2:10 PM
Add it onto rustacean.net
woah
 
Interesting.
Get ready to edit all of those "fixed arrays are meh" questions.
 
2:26 PM
:sweat:
Jextract is a tool. If you're using a drill, do you include the "steel" and "plastic" tags because the drill is made of steel and plastic? — NomadMaker 5 mins ago
 
Nice scarecrow.
 
 
2 hours later…
4:18 PM
Feels like someone just upvoted my greatest hits...
 

« first day (2093 days earlier)      last day (1378 days later) »