summaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-08-15Add src/version.goEuAndreh3-15/+21
2024-08-14Use "go tool" to build projectEuAndreh7-85/+159
2024-07-26Makefile: Reorder CLI args to go(1)EuAndreh1-2/+2
2024-07-26go.mod: Include "gobang" dependencyEuAndreh3-1006/+57
2024-07-17Tweak indentationEuAndreh3-117/+108
2024-07-17src/lib.go, tests/lib_test.go: Normaline function argument declarationsEuAndreh2-9/+16
2024-07-15src/lib.go, tests/lib_test.go: Tweak indentationEuAndreh2-51/+92
2024-07-15Inline gobang package codeEuAndreh3-50/+965
2024-07-15src/lib.go: WIP impl PingEuAndreh1-7/+48
2024-06-24src/lib.go: Add simplistic scaffold of the connection WriteLoop()EuAndreh1-4/+21
2024-06-14rm -rf src/static/EuAndreh6-99/+2
2024-05-27src/lib.go: Start writing messages to DBEuAndreh3-26/+245
Create and test simple code for handling migrations transactionally as files.
2024-05-27mv description long-description ..EuAndreh2-25/+0
2024-05-27TODOs.md -> TODOs.adocEuAndreh2-137/+122
2024-05-23src/sql/migrations/2024-05-23T10:57:51-03:00-create-messages-table.sql: ↵EuAndreh2-0/+6
Initial SQL sketch
2024-05-23tests/lib_test.go: Add missing importEuAndreh1-0/+1
2024-05-23Makefile: Add missing $(GOFLAGS) for a correct static build of go-sqlite3EuAndreh1-2/+3
2024-05-23Rename leftover references of "papo" -> "papod"EuAndreh6-77/+102
2024-05-16tests/lib_test.go: Group input/expected into "tuples"EuAndreh1-237/+330
2024-05-16Move UUID, FatalIf(), events, etc. code to external libEuAndreh3-302/+22
2024-05-16Makefile: Fix installation of files under $(DATADIR)EuAndreh1-19/+14
2024-05-16Rename source files to "lib.go" and "main.go"EuAndreh4-9/+9
2024-05-07src/papod.go: Add message parsing code with some testsEuAndreh2-13/+496
2024-05-06Rename from "papo" to "papod"EuAndreh4-1/+1
2024-05-06src/papo.go: Add initial server skeletonEuAndreh2-13/+468
2024-04-18Makefile: Normalize alongside other Go projectsEuAndreh8-36/+19
2024-03-30Makefile: add binder instance for port 6667EuAndreh1-4/+7
2024-03-29Makefile: rm both socket filesEuAndreh1-2/+2
2024-03-29Makefile: Reorder commands so we don't need to sleepEuAndreh1-2/+1
2024-03-28go.mod: Unmark go-sqlite3 as indirectEuAndreh1-1/+1
2024-03-28Makefile: s/main.bin/$(NAME).bin/gEuAndreh1-4/+4
2024-03-28Makefile: s/ircd/papo/gEuAndreh1-5/+5
2024-03-28src/static/client.js: Add some stub codeEuAndreh1-0/+1
2024-03-28src/cmd/papo.go: Move code into moduleEuAndreh3-25/+24
2024-03-28Makefile: Adapt "run-*" virtual targetsEuAndreh1-8/+12
2024-03-28Adapt build and installationEuAndreh3-45/+24
2024-03-25Node.js -> GoEuAndreh31-1367/+99
2024-03-21src/hero.mjs: Retire codeEuAndreh4-3129/+16
2024-03-21tests/rand.c: s/Taken/Derived/EuAndreh1-1/+1
2024-03-20src/utils.mjs: Add eq() as an alias for util.isDeepStrictEqualEuAndreh1-0/+5
2024-03-20src/utils.mjs: Add take() and range()EuAndreh2-0/+137
2024-03-20tests/rand.mjs: Add MersenneTwister random number generatorEuAndreh6-2/+249
The `tests/rand.c` is also added: a simplified adaptation of the original algorithm implementation in C. A 10k numbers test case shows that the JavaScript version behaves the same that the C one does.
2024-03-18tests/js/hero.mjs: Fix function orderingEuAndreh1-67/+67
2024-03-18src/hero.mjs: Add statusMessage() and statusResponse()EuAndreh2-20/+56
2024-03-17src/hero.mjs: Log to stdout instead of stderrEuAndreh2-4/+4
The first question that this brings is: Is the output of the program useful for a downstream process? Is this logging an *output* of the program? But in this case, the answer is: yes, for both questions. A downstream program could very well be fed the output of the program via a pipe and process it, as the data being emitted is meant to be ingested. So instead of following the default "warnings ought to go to stderr" model, we acknowledge that the data is actually an *out*put, and send it to std*out*.
2024-03-17tests/js/hero.mjs: Add simple test for now()EuAndreh2-1/+13
2024-03-17src/hero.mjs: Use name of CWD as the default name of buildServer()EuAndreh2-6/+19
2024-03-17tests/js/hero.mjs: Accept a `headers` optional argument in socketRequest()EuAndreh1-1/+2
2024-03-17src/hero.mjs: Add "stopping-server" logEuAndreh1-0/+11
2024-03-17src/web.mjs: Move the "starting-server" logging into hero when .listen()EuAndreh2-12/+15