















let's goo, can't wait to see a r1 by ryo using steam deck
































(1..10).join(' ');









(1..10).join(' '); (1..100).map(|x| x.to_str()).collect().join(' ') maybe?





(1..100).map(|x| x.to_string()).collect::<Vec<String>>().join(" ");











(1..100).map(|x| x.to_string()).intersperse(" ").fold(String::new(), |x, y| x + y):





if [ 2 -gt 4 ] vs if 2 > 4i=$((i+1)) vs i++;
makechrootpkg a tool that wraps makepkg running everything in clean chroot. I believe it isolates somehow that network tests fail. I've seen this before when building another software.[ RUN ] Net.Ipv4AndIpv6Work
/build/ddnet/src/DDNet-16.4/src/test/net.cpp:42: Failure
Expected equality of these values:
net_socket_read_wait(Socket1, 10000000)
Which is: 0
1
/build/ddnet/src/DDNet-16.4/src/test/net.cpp:43: Failure
Expected equality of these values:
net_udp_recv(Socket1, &Addr, &pData)
Which is: 0
3
[ FAILED ] Net.Ipv4AndIpv6Work (10010 ms)

(1..100).map(|x| x.to_string()).collect::<Vec<String>>().join(" "); (0..100).map(|x| x.to_string()).join(" ") works
const fn length(n: usize, base: usize) -> usize {
let mut power = base;
let mut count = 1;
while n >= power {
count += 1;
if let Some(new_power) = power.checked_mul(base) {
power = new_power;
} else {
break;
}
}
count
}
fn main() {
// Initialize with the full capacity.
let mut data = String::with_capacity((0..100).map(|x| length(x, 10)).sum());
(0..100).for_each(|x| {
data.push_str(&x.to_string());
data.push(' ');
});
dbg!(data);
}






const fn length(n: usize, base: usize) -> usize {
let mut power = base;
let mut count = 1;
while n >= power {
count += 1;
if let Some(new_power) = power.checked_mul(base) {
power = new_power;
} else {
break;
}
}
count
}
fn main() {
// Initialize with the full capacity.
let mut data = String::with_capacity((0..100).map(|x| length(x, 10)).sum());
(0..100).for_each(|x| {
data.push_str(&x.to_string());
data.push(' ');
});
dbg!(data);
} 


const fn length(n: usize, base: usize) -> usize {
let mut power = base;
let mut count = 1;
while n >= power {
count += 1;
if let Some(new_power) = power.checked_mul(base) {
power = new_power;
} else {
break;
}
}
count
}
fn main() {
// Initialize with the full capacity.
let mut data = String::with_capacity((0..100).map(|x| length(x, 10)).sum());
(0..100).for_each(|x| {
data.push_str(&x.to_string());
data.push(' ');
});
dbg!(data);
} count line do? print count?
const fn length(n: usize, mut base: usize) -> usize {
let mut count = 1;
while n >= base {
count += 1;
if let Some(new_power) = base.checked_mul(base) {
base = new_power;
} else {
break;
}
}
count
}

[ RUN ] Net.Ipv4AndIpv6Work
/build/ddnet/src/DDNet-16.4/src/test/net.cpp:42: Failure
Expected equality of these values:
net_socket_read_wait(Socket1, 10000000)
Which is: 0
1
/build/ddnet/src/DDNet-16.4/src/test/net.cpp:43: Failure
Expected equality of these values:
net_udp_recv(Socket1, &Addr, &pData)
Which is: 0
3
[ FAILED ] Net.Ipv4AndIpv6Work (10010 ms) ./testrunner --gtest_filter=-Net.Ipv4AndIpv6Work





<expr> ? <if-true> : <if-false>











I ain't tho


























