home.social

#8daysofcode — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #8daysofcode, aggregated by home.social.

    • source start

    println("random bytes 你好! 안녕하세요")

    • EOF

    ===== Explanation of bytes =====

    • 你好 = Nǐ hǎo (Mandarin)
    • 안녕하세요 = annyeonghaseyo (Korean)
    • jl = Julia (programming) language

    Z = EOF (end of file)

    Note1
    Sources like this are simple to write. Whether you run any of the BSD families of OS, any Linux flavour based on Debian rpm src c and more (even one of the Closed Source OS) you can write code in goLang
    All you need in the super basics is vi sh and common logic
    I use

    vim.motif
    bash [80x25]

    running on a ARM architecture SBC Pi5

    Note2
    In case you don't see the Korean fonts rendered properly, you need to install the locale for that language. This is an example for debian Linux distros

    sudo apt-get install language-pack-ko
    sudo apt-get install korean*
    sudo apt-get install fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core

    For SBC Raspberry Pi5 the sequence is different. Please use pi-packages for an easy way to choose Korean fonts and localE

    Sources:
    moi:
    go.dev/
    go.dev/learn/
    go.dev/doc/
    thelinuxtutorials.com/how-to-i

    #golang #go #programming #SBC #Pi5 #Raspberry #Mathematics #Lineair #Algebra #OpenSource #Linux #BSD #freeBSD #dragonFlyBSD #openBSD #netBSD #108DaysOfCode #64DaysOfCode #32DaysOfCode #16DaysOfCode #8DaysOfCode