« first day (3153 days earlier)      last day (329 days later) » 

12:45 AM
@Enet4 agreed, very excited by sparse index and OnceCell
 
 
5 hours later…
6:02 AM
lazy_static ? Aren't we all using the once_cell crate which already provides what will be available in std ?
 
 
3 hours later…
9:09 AM
@DenysSéguret if you listen to me I would wipe out most std... (it's not core it's std)
 
9:44 AM
I think `OnceCell` makes sense indeed; there's essentially a single way to implement it.

`IsTerminal` I am a tad more wary of. It's a useful functionality, and it's very platform dependent, so making it part of `std` is handy... BUT it's also a relatively niche usecase _and_ AFAIK actually determining whether something is a terminal or not is more art than science -- and tuning heuristics doesn't work well with backwards compatibility promises in `std`.
 
9:54 AM
Yes. Even what is a terminal isn't really an easy to answer question and the obvious answer may change in the future. In practice an application for which this question matters must also always provide a way to override the automatic choice.
 
10:25 AM
The way I see it, this only provides the automatic detection. Whether to use this information and how, is still up to the developer.
 
I also, do not really do not like sealed trait
it's a failure of design, and cheat with rust public trait
@MatthieuM. damm how many $$$ should have recieve from rust fondation for my work on SO rust tag !
 
 
2 hours later…
12:51 PM
@Stargateur Hum... Do you think I could get $4.99 for bacon ?
 
@DenysSéguret bacon is usually at ~10€/kg
 
You mean kilo-loc ? If so I'm rich, I can get $15, enough for 4 bottles of orange juice at least!
(I suck at maths, bacon is actually 6013 LOC)
 
1:55 PM
🥓
 

« first day (3153 days earlier)      last day (329 days later) »