• 22 Posts
  • 98 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle





  • bob@lemmy.worldtoProgramming@programming.dev...
    link
    fedilink
    arrow-up
    4
    arrow-down
    4
    ·
    edit-2
    7 months ago

    vlang

    hello world:

    fn main() {
        areas := ['game', 'web', 'tools', 'science', 'systems',
                  'embedded', 'drivers', 'GUI', 'mobile']
        for area in areas {
            println('Hello, ${area} developers!')
        }
    }
    

    http + time:

    import time
    import net.http
    resp := http.get('https://vlang.io/utc_now') or {
        println('failed to fetch data from the server')
        return
    }
    t := time.unix(resp.body.int())
    println(t.format()) // 2019-08-16 17:48
    














  • We use a self-hosted roundcube mail server, which is not necessary, and we did initially assign each person an additional account dedicated to delta.chat to prevent inbox clutter, but that didn’t happen.

    Nowadays, we prefer to send and receive emails in delta.chat. One of my groups already has 70 members, contains a lot of images and PDFs, and it’s still very fluid to use.

    We also run bots for integration with other systems, such as task management, meeting notifications, etc.