aboutsummaryrefslogtreecommitdiff
path: root/wsp.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-10-09{courses,wsc,wsp}.go: Usems should be sync.MapRunxi Yu3-19/+12
This is a classic few-reads, many-writes situation where a sync.Map would lead to substantially less lock contention.
2024-10-08{courses,wsc,wsm}.go: map[courseGroupT](bool->struct{})Runxi Yu3-8/+8
This makes it use slightly less memory. Approximately courseGroupT bits per connection!
2024-10-08style.css: Work around Firefox bug 217769Runxi Yu1-0/+8
Firefox eats the left, bottom, and right borders when tbody is empty. This is a bug known for 21 years (that was Firefox 37 or something). References: https://bugzilla.mozilla.org/show_bug.cgi?id=217769
2024-10-08*.go: Further wrap errorsRunxi Yu6-24/+52
2024-10-08err.go: Create, and unify some error definitionsRunxi Yu5-38/+55
2024-10-07Revert "latexify-source.sh: \subsection{\texttt{%s}}"Runxi Yu1-11/+11
This reverts commit a9916b3a7df327836f18011edcbf8cc218260f89.
2024-10-07student.js: Use "let" rather than "var"v0.1.7Runxi Yu1-2/+2
2024-10-07latexify-source.sh: Don't set -xRunxi Yu1-1/+1
2024-10-07cca.scfg.example: usem_delay_shift_bits should default to 5Runxi Yu1-1/+1
2024-10-07Reapply "{config,wsc}.go, cca.scfg.example: Dynamic course update delay"Runxi Yu3-17/+34
This reverts commit 831040c3d7dbc116a25848786bc5ab83fef6149b.
2024-10-07Revert "{config,wsc}.go, cca.scfg.example: Dynamic course update delay"Runxi Yu3-34/+17
This reverts commit de3f0b9e7003e4521f5ea866134e77ff859ab99b.
2024-10-07{courses,wsm,wsp}.go: Make course.Selected atomicRunxi Yu3-12/+15
2024-10-07wsc.go: Fix race condition with usemCount atomicsRunxi Yu1-1/+6
Atomics must be read atomically via atomic.LoadT
2024-10-07postgres_run.sh: Remove as unnecessaryRunxi Yu1-3/+0
2024-10-06Makefile, main.go: Use cover page as iadocs/index.htmlRunxi Yu2-3/+9
2024-10-06{config,wsm}.go, cca.scfg.example: Configurable immediate propagationRunxi Yu3-10/+28
2024-10-07iadocs: ROT table should be HTMLRunxi Yu4-23/+250
2024-10-06main.go: -config -> -cRunxi Yu1-1/+1
2024-10-07latexify-source.sh: \subsection{\texttt{%s}}Runxi Yu1-11/+11
2024-10-07iadocs: Switch back to TeX Gyre Termes/Heros with LM MonoRunxi Yu1-7/+7
2024-10-06iadocs: Use Latin ModernRunxi Yu2-10/+8
2024-10-06.editorconfig, latexify-source.sh, student.js: Indent 4, wrap 85Runxi Yu3-29/+57
2024-10-06Makefile: lualatex -interaction batchmodeRunxi Yu1-4/+4
2024-10-06*.go: Limit to approximately 80 characters per lineRunxi Yu9-95/+431
2024-10-06iadocs/header.inc: link color white!40!blue!50!blackRunxi Yu1-1/+1
2024-10-06Makefile: lualatex -halt-on-errorRunxi Yu1-4/+4
2024-10-06iadocs, etc.: Add source to appendixRunxi Yu7-4/+797
2024-10-06iadocs: Use DejaVu Sans Mono [Scale=0.8]Runxi Yu1-1/+1