vim evangelists incoming although they are on panel 3
vim evangelists incoming although they are on panel 3
Why is the tooth Italian and what’s wrong with an Italian tooth??
Yes I cheated. To be fair, I used each of those languages at one point and knew how to do it but was to lazy to look it up again.
Edit: except Fortran
Yes, that was on purpose
1. Python
for i in range(11):
print(i)
2. R
for (i in 0:10) {
print(i)
}
3. C/C++
#include <iostream>
int main() {
for (int i = 0; i <= 10; ++i) {
std::cout << i << std::endl;
}
return 0;
}
4. Java
public class CountToTen {
public static void main(String[] args) {
for (int i = 0; i <= 10; i++) {
System.out.println(i);
}
}
}
5. Lua
for i = 0, 10 do
print(i)
end
6. Bash (Shell Script)
for i in $(seq 0 10); do
echo $i
done
7. Batch (Windows Command Script)
@echo off
for /l %%i in (0,1,10) do (
echo %%i
)
8. Go
package main
import "fmt"
func main() {
for i := 0; i <= 10; i++ {
fmt.Println(i)
}
}
9. Rust
fn main() {
for i in 0..=10 { // 0..=10 includes 10
println!("{}", i);
}
}
10. Zig
const std = @import("std");
pub fn main() !void {
var i: i32 = 0;
while (i <= 10) {
std.debug.print("{}\n", .{i});
i += 1;
}
}
11. Scala
for (i <- 0 to 10) {
println(i)
}
12. Fortran
program count_to_ten
implicit none
integer :: i
do i = 0, 10
print *, i
end do
end program count_to_ten
13. Haskell
main :: IO ()
main = mapM_ print [0..10]
14. Julia
for i in 0:10
println(i)
end
You mean that zeppelin was high in the clouds and motorhead are oil heads?
I know this is a joke.
But seriously from my heart
Fuck you.
Currently only have pictures and documents stored, so everything easily fits on 1tb. One copy on my homeserver (unencrypted), one copy on my laptop (Luks encrypted), and one copy with rsync and a raspi at my parents (unencrypted). Might change encryption strategies to all luks.
The cybertruck was a douchebag car from the beginning
Your porn websites have cookie banners?
It has always worked exactly as I expected it to
Just expect it to break, then it will behave as expected taps head
White, male privilege and loving parents that supported me in all ways when needed. Seriously, life has been almost on peaceful mode, definitely easy mode.
Obligatory Framework plug comment. Doesn’t matter which architecture you go for, they support Linux ootb and there are community threads for almost every distro. You can also upgrade it in a few years :D
That does not answer the question. Did the person have to die before you were born or not? “Was” implies that they have to have died, but this could be a language barrier thing.
Learning how to rationally think and learning to identify „self destroying“ patterns and how to avoid them are two different things imo. You need one for the other.
Education works for rationally thinking people. Kids these days are given access to digital devices and social media before they reach such a stage, and habits are formed from too young on
fun, but also quite annoying after a while
Nah thanks, I want to program by solving logic problems, not syntax problems.