Meetups/Infra/2024-05-20

From Noisebridge Wiki
Jump to navigation Jump to search

Work day, spent getting everyone on IRC, and working on IRC bots or bits of services for hosting the meetup smoothly, quickly, and with concurrent contributions.

Introductions[edit]

  • [name] - [background]. [goals for meetup, or interests to explore]
  • Loren - hosting meetup. Here to stay sharp, share knowledge, get people
  • Doug - enjoying the vibes, here to learn.
  • Matt - used to do sysadmin stuff with loren, likes computers
  • Robert - also like computers, a lot. I like IRC, thinking meetup pad. Scribe would be cool.


Lesson or Demo[edit]

Matt visited PyCon this weekend, in ...

(talks playlist is up on youtube, but all talks are still private for now)

Cython - will take python code, or c code, and combine them into one language. A simple speedup.

Last week[edit]

Useful Resource: https://lambdablob.com/posts/nix-haskell-programming-environment/

Candidate #1 : https://github.com/siers/zn

  • Read aloud: clarify for meetup. We are taking notes in a riseup pad (or I am--help appreciated, and links). We have meeting notes posted to the wiki. noisebridge.net, search Infra, or Meetups/Infra. (the Infrastructure page has a disambiguation link.)
  • Shell, web services, self-hosting, networking!

https://www.ctrl.blog/entry/systemd-service-hardening.html

https://chatgpt.com/share/b722848c-c91a-45e7-bf71-0a616cab8109

#!/usr/bin/env nix-shell
#!nix-shell --pure -i runghc -p "haskellPackages.ghcWithPackages (pkgs: [ pkgs.lambdabot ])"

{-# LANGUAGE OverloadedStrings #-}

import Lambdabot.Main
import Lambdabot.Config.Server
import Lambdabot.Plugin.Core
import Lambdabot.Util

main :: IO ()
main = lambdabotMain defaultConfig { lbotPort = 6667
                                   , lbotServer = "irc.freenode.net"
                                   , lbotChannels = ["#yourchannel"]
                                   , lbotNick = "EchoBot"
                                   , lbotPlugins = ["Echo"]
                                   }

echoPlugin :: Module ()
echoPlugin = newModule
    { moduleCmds = return
        [ (command "echo")
            { help = say "echo <message>. Echoes the message back to the channel."
            , process = \rest _ -> say rest
            }
        ]
    }

Done today, Want to do next time[edit]

  • Loren - some irc setup, make an api - esp long polling
  • Matt - added NoiseBot chat bot (locally), thinking about deployment,
  • Doug - created noisebot 2.0, haskell, broke some hammers and chisels
  • Jordan - distracted people, want to productionize Ergo Chat, to deploy this more widely
  • Henry - nothing today, got a user set up , should make an LLM chatbot. we have llm chat bot

share out irc access to user tailnets

NB - get people involed in nb infra

https://www.youtube.com/watch?v=y8OnoxKotPQ&pp=ygUUa3JhemFtIG1pY3Jvc2VydmljZXM%3D


Questions, Discussion, or Coworking[edit]

  • [Issue]

For next time[edit]

Questions[edit]

Readings & Exercises[edit]

  • Readings
  • Exercises

Join online[edit]

  • Try it yourself!
    • Join libera.chat #nb-meetup-infra

https://www.noisebridge.net/wiki/Meetups/Infra