« first day (1932 days earlier)      last day (1539 days later) » 

1:41 AM
I search for duplicate didn't find
but this is out of my knowledge
 
 
15 hours later…
4:28 PM
@Shepmaster Eh you were slightly faster than me :(
BTW, nice example of overthinking
 
I can build a similar for much less
 
with the same logo ?
 
@DenysSéguret that ok ?
 
it won't age well
 
like most apple product anyway
 
4:37 PM
dunno for today but the macs I had 30 to 20 years were much more durable than other computers
 
@DenysSéguret yeah... before
that past old man
 
> 1.5TB (12x128GB) of DDR4 ECC memory
Finally, I can compile rustc
 
Does rustc need a lot of memory for compilation ?
 
@FrenchBoiethios actually I tried to find 128 RAM, only find 64
but even with a very very big estimation 12*128 should cost 12000€
@DenysSéguret I will say 4 go ?
depend on your option
 
@DenysSéguret Nope, a "standard" amount of ram does the job (8 GB is enough). That was just a joke.
 
4:40 PM
if you use pipe compilation
 
rust coding does need a lot of space on disk, though
 
In the other hand, servo has higher requirements than rustc AFAIK
 
10 GB just for the compilation of broot
(which is 3MB when compiled)
 
Wow! I couldn't have a lot of this kind of projects in my computer. Even in my desktop one.
 
@DenysSéguret that for a fresh clean ?
 
4:46 PM
Yeah. the target directory grows unbounded
 
I did cargo clean and I'm compiling again
stay tuned
(a few hours)
 
still less than c++
 
I don't remember the last time I cleaned target but it's something I do from time to time
 
Every so often I do the equivalent of find -name Cargo.toml | xargs cargo clean --manifest-path
in my general projects directory
 
4:47 PM
@Shepmaster yeah a cargo clean old should be nice
 
ok, only 439MB after clean + rebuild
 
@DenysSéguret big but ok tier
 
I dunno the amount which is due to cross-compilation
I compile for windows and raspberry too
 
ldlc.com/configurateur-pc/7786edea680d75419c49c71313979bb2 => and this is just a bullshit config, and this only "reach" the tower apple price but apple screen cost 7100$ at max too :p
@DenysSéguret guess that ~*3
is the target folder split it nicely ?
 
@Stargateur sortof:
 
 
2 hours later…
6:47 PM
 
7:06 PM
Is there a simpler way to do it? — what would you like to see simpler about s.replace_range(.., "hello");? — Shepmaster 19 mins ago
 
 
1 hour later…
8:10 PM
I don't see why is_char_boundary should be enough to see if this will break utf-8
or that doc.rust-lang.org/std/string/… description who lie
 
@Stargateur how do you think it could be broken?
basically it checks that the passed-in range corresponds to complete UTF-8 bytes
if so, then that chunk can be removed without breaking UTF-8
the input string is guaranteed to be UTF-8
 
yes but is_char_bundary say
"Checks that index-th byte lies at the start and/or end of a UTF-8 code point sequence."
"start and/or end"
that not what is_char_bondary do in reality
it only do it for the start
 
8:25 PM
right, if it did start and/or end then all indices would be `true` for a string containing only 1-byte or 2-byte UTF-8 sequences
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=3f229088b10f5fd1a5984d0fe008bdba
 
I wonder if it means from "the other direction"
that is...
if you have a sequence of bytes and you are going forward or backward, you want to know where the line is between UTF-8 "chunks"
so the start of one chunk is the end of another
so it's the start of one chunk and the end of another chunk
which I guess I said twice
 
9:06 PM
@Shepmaster that not clean at all
 
 
1 hour later…
10:26 PM
Do you think we should create a tag for petgraph?
 
11:01 PM
Eh, what the hell, I created it: stackoverflow.com/questions/tagged/petgraph
It's weird that you need less privilege to create a tag than to edit its wiki
 
11:34 PM
@mcarton and you need more privilege to edit the tag you create yourself
 

« first day (1932 days earlier)      last day (1539 days later) »