Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
Posts
19
Comments
98
Joined
2 yr. ago

  • Get some made of pure cotton, you should be able to wash them at 60°C from time to time. Works very well to remove smell for me. Downside is that they will stick to you during training.

    Otherwise, second hand. Those can be really cheap.

  • 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

     python
        
    for i in range(11):
        print(i)
    
      

    2. R

     R
        
    for (i in 0:10) {
      print(i)
    }
    
      

    3. C/C++

     c++
        
    #include <iostream>
    
    int main() {
      for (int i = 0; i <= 10; ++i) {
        std::cout << i << std::endl;
      }
      return 0;
    }
    
      

    4. Java

     java
        
    public class CountToTen {
      public static void main(String[] args) {
        for (int i = 0; i <= 10; i++) {
          System.out.println(i);
        }
      }
    }
    
      

    5. Lua

     lua
        
    for i = 0, 10 do
      print(i)
    end
    
      

    6. Bash (Shell Script)

     bash
        
    for i in $(seq 0 10); do
      echo $i
    done
    
      

    7. Batch (Windows Command Script)

     batch
        
    @echo off
    for /l %%i in (0,1,10) do (
      echo %%i
    )
    
      

    8. Go

     go
        
    package main
    
    import "fmt"
    
    func main() {
      for i := 0; i <= 10; i++ {
        fmt.Println(i)
      }
    }
    
      

    9. Rust

     rust
        
    fn main() {
      for i in 0..=10 {  // 0..=10 includes 10
        println!("{}", i);
      }
    }
    
      

    10. Zig

     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

     scala
        
    for (i <- 0 to 10) {
      println(i)
    }
    
      

    12. Fortran

     fortran
        
    program count_to_ten
      implicit none
      integer :: i
    
      do i = 0, 10
        print *, i
      end do
    
    end program count_to_ten
    
      

    13. Haskell

     haskell
        
    main :: IO ()
    main = mapM_ print [0..10]
    
      

    14. Julia

     julia
        
    for i in 0:10
        println(i)
    end
    
    
      
  • PeerTube isn’t bad, it just has no content

  • You are completely right

  • I‘d say fatherfucker is still derogatory - after all, it’s still incest. Fatherhugger? Manhugger?

  • You mean that zeppelin was high in the clouds and motorhead are oil heads?

  • Do you just let it happen when the time comes?

  • I know this is a joke.

    But seriously from my heart

    Fuck you.

  • Wasn’t it actually apple with the adhesive strips that can easily be removed when a current is applied? Such tech would be awesome if more generally available

  • There’s a difference between waterproof and rainproof. The Fairphone (just has a clip on back panel for easy access to the battery) is rain proof

  • I can tell you that Turing is not only celebrated because he was gay. That man is one of the fathers of computer science as we know it today. His Turin machines are the basis for a lot of theoretical computer science

  • First rule of „Ultra-low Fertility Club“: you don’t make children. Second rule of „Ultra-low Fertility Club“: you don’t make children.

  • 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.

  • TIL about housing cooperatives, and that about 6% in Germany live in one. Thanks!