Merge branch 'master' of github.com:flancian/garden

This commit is contained in:
2022-04-09 17:45:34 +02:00
6 changed files with 156 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
- a [[schedule]].
- [[annual publication]]
+33
View File
@@ -0,0 +1,33 @@
- [[flancia meet]]
- [[agora]]
- LATER could probably improve the welcome message in [[index]] -- it's overly long, a bit confusing for first time users?
- [[agora server]]
- [[spaces to tabs conversion]]
- I didn't like the result so I took the liberty to revert. Some rationale in the node above :)
- Reach out if you think it's the wrong call! But I'd rather go with the Python community standard by default and not impose an extra burden on contributors (to override their editor defaults).
- LATER fix links in /journals
- LATER perhaps tell crawling bots to take it easy while I work
- LATER [[sqlite]] experiment
- NOW agora load balancing
:LOGBOOK:
CLOCK: [2022-04-09 Sat 17:36:23]
:END:
- it is time.
- once the next item is ready, this unlocks arbitrary [[horizontal scaling]].
- I think I'll start with the simplest setup possible, solving balancing first and reliability later -- that is, add balancing to the [[nginx]] running in [[thecla]].
- NOW experiment with [[podman]] as [[docker]] replacement
:LOGBOOK:
CLOCK: [2022-04-09 Sat 15:45:51]
:END:
- continue going through [[please contain yourself]] with [[podman]]?
- nice, got it running just fine; I said I was not going to default to [[rootless containers]] *but* they seem to work fine for simple examples, and the
- crawlers/bots are hammering anagora.org quite a bit, might need to actually write a [[robots.txt]] file to tell them to take it easy while we work on better performance :)
- I've been thinking of [[time]] from the point of view of [[lady burup]] (as I imagine it) and I've found it [[interesting]].
- When it's light, it's the next day for her; she might not understand that [[dawn]] shifts from season to season?
- [[twitter dall-e]]
- [[doing laundry]]
- [[scaling]] must happen
- [[daniel dennett]]
- ethical [[almanac]]
- #push [[agora server]]
- [[almanac mode]]
+5
View File
@@ -10,3 +10,8 @@
- [[rootless shortcomings]] https://github.com/containers/podman - [[rootless shortcomings]] https://github.com/containers/podman
- there are enough that I'll probably go with a root-based setup to begin with, while learning the system. - there are enough that I'll probably go with a root-based setup to begin with, while learning the system.
- else when things fail I'll probably find it hard to figure out if it's due to rootless or something else. - else when things fail I'll probably find it hard to figure out if it's due to rootless or something else.
- [[notes on adoption]]
- On Debian 11, I had to install package [[uidmap]] to avoid https://github.com/containers/podman/issues/9271
- Also I had to edit /etc/containers/registries.conf and set:
- `unqualified-search-registries = ["docker.io"]`
- ...to have podman search work as per in the upstream instructions (Debian ships with ultra-safe defaults or something.)
+96 -1
View File
@@ -2,6 +2,101 @@
- #pull [[social coop]] - #pull [[social coop]]
- [[framadate]] https://framadate.org/social-coop-tech-group - [[framadate]] https://framadate.org/social-coop-tech-group
- [[meet]] https://socialcoop.meet.coop/dav-y3e-c21-sgv - [[meet]] https://socialcoop.meet.coop/dav-y3e-c21-sgv
- [[go]] [[meet]]
- [[minutes]] https://www.loomio.org/d/UwAeiBgE/tech-meeting-minutes - [[minutes]] https://www.loomio.org/d/UwAeiBgE/tech-meeting-minutes
- [[thread]] https://social.coop/web/statuses/108090642475540439 - [[thread]] https://social.coop/web/statuses/108090642475540439
- [[2022-04-08]]
- Hi all :)
- Let's try to keep communal notes here?
- [[nick]] == [[nick sellen]] got involved in social.coop during a crisis long ago
- saved it from going offline, stabilized for a bit
- then david and noah came onboard
- not very active in the instance as of late
- periodic emergencies
- certificate renewal
- trying to empower others to join in, but don't have capacity for being really active again for now
- in the UK (Bath)
- side note: [[gender imbalance]] here pretty obvious
- (what do we do about this?)
- [[akshay]] been on social.coop for ~1y
- mostly lurking :)
- saw the certificate thing happen, thought maybe I can help
- ops + software development experience
- based in [[Berlin]], originally from [[India]]
- [[idmyn]] == David
- being in the instance for ~4y
- joined around the same time the nicks rescued the instance
- based in UK
- doing some tech bits with [[Noah]] for a while, then dropped off -- mostly here to offer any knowledge that is singly homed in brain :)
- focus areas:
- [[wiki]]
- [[meet.coop]] registration form in the wiki
- [[flancian]] == [[Eduardo]]
- living in [[switzerland]]
- joined a couple of years ago, but not that involved until recently
- when recent cert issue happened felt rusty but perhaps they could help out
- SRE recently, linux experience
- not sure if recent experience is relevant but willing to learn!
- [[edsu]] == ed summers
- been around for ~4y
- use the instance quite a bit, notice when it goes down -- thank you nick for bringing it back every time!
- is invested so would love to know more, learn
- software developer background, mostly web. working mainly with libraries (in the organization sense) which have digital repositories and a web presence.
- love the idea of pitching in to help and this group being a coop.
- [[datatitian]] == Will
- joined in 2017
- got involved with the tech group back then but didn't have a lot of specific experience; now would be interested in trying again
- working on immers.space which is activitypub based
- [[nick sellen]] love how the recent disruption has served to get people together, shows how as long as we have fundamental organization we can channel energy in the right direction :)
- [[nick sellen]] server access
- there's a thread on loomio to decide who gets server access, we can use that
- https://www.loomio.org/d/jrbG5tue/server-access
- we'd vote people in for access and then people can request assistance/more information as needed
- [[nick sellen]]
- love the coworking/colearning model
- really enjoyed learning about the background of others just now
- [[flancian]] is there a 'root node' for tech docs/etc.?
- [[nick sellen]] https://git.coop/social.coop/tech/operations
- assumes social.coop email addresses, but this can be worked around with aliases (check)
- we use [[pass]]
- [[flancian]] I see we have one server -- do we have a backup server? do we have backup+restore processes?
- [[david]] we have database backups but unclear when they have been tested
- [[flancian]] what about using this as an exercise in which the "new wave" of admins is tasked with setting up a new server off backups and such?
- [[akshay]] what's this [[sauce]] repo mentioned?
- [[nick sellen]] the other nick named it after 'special sauce'
- in principle it could be all consolidated into ansible
- [[docker compose]] setup
- the update process involves touching the sauce repo which then somehow results in updates configs making it to prod
- [[akshay]] love automation, been doing this for the past few years for employers
- [[datatitian]] thinking of oncall schedules for the group -- need not be too granular
- [[flancian]] +1, plus having a secondary/backup would make for a simplified learning experience
- [[edsu]] would love to join a rotation
- [[edsu]] the instance feels pretty stable though, it's a challenge when problems only come about too sporadically
- [[edsu]] perhaps other working groups within the coop might be interested in other tools we could provide for them?
- [[datatitian]] there's been a long term interest in bridging loomio and mastodon
- [[edsu]] issue tracker for FRs?
- [[flancian]] [[git.coop]]?
- [[akshay]] if access to git.coop is limited, that would be a bit exclusive
- [[edsu]] loomio might also be a good platform for this
- [[nick sellen]] love the idea about building bridges -- and the oncall sharing
- [[edsu]] how did you notice the recent instance problem?
- [[nick sellen]] I do use it often enough :) also keep up to date with matrix.
- (wrap up round)
- [[nick sellen]] happy with this meet, would like to support everyone any way I can
- next steps: next call next week
- happy to receive more questions over matrix/mastodon/loomio
- [[akshay]] already have a git.coop account, would like access to ansible/sauce if possible to see how this works :)
- [[david]] happy to see new and familiar faces!
- won't be able to make the other call but will stay reachable and happy to answer questions and assist
- [[flancian]] thank you for social.coop! happy to meet you all
- will read docs, think about where to focus
- please feel free to pull me in if you need work on any particular direction
- [[edsu]] happy to meet all, would love to learn more about side projects that people have here
- would like to learn more about mastodon
- do have a git.coop account already, will take a look -- have used ansible before
- will tune in next week
- [[datatitian]] will start coordinating on loomio focusing on the oncall schedule
- [[flancian]] framadate: https://framadate.org/social-coop-tech-group
- (this is also on https://anagora.org/social-coop-tech-group, where I keep my notes)
- [[akshay]] how to join in loomio?
- (people apply)
-
+15
View File
@@ -0,0 +1,15 @@
- To go from spaces to tabs in Python code:
- `for i in *py; do unexpand -t 4 $i | sponge $i; done`
- [[sponge]] is in [[moreutils]]
- To go from tabs to spaces in Python code:
- `for i in *py; do expand -t 4 $i | sponge $i; done`
- [[pep8]] is against tabs in Python code. We are currently experimenting with using tabs in [[agora server]] regardless.
- In .vimrc you might need to add:
- ```
" work around python filetype's insistence that tabs are 8 spaces wide
let g:python_recommended_style = 0
filetype plugin indent on
syntax on
set tabstop=4
```
- Update: I'm reverting this experiment, I think it would impose too large of a burden on new contributors at this point, as both vim and python seem to assume you want to follow [[pep8]]. The [[google style guide]] also recommends four spaces even though it overrides some other aspects of [[pep8]], so this is pretty widely the standard.
+3
View File
@@ -0,0 +1,3 @@
- #push [[dall-e twitter]]
- [[nick cammarata]]
- #go https://twitter.com/nickcammarata/status/1511861061988892675