#poki Lapo: Toki Pona library

1 messages · Page 4 of 1

carmine quarry
nova gale
#

no its the DDNS i use normally as my IP is dynamic,, lapo.pona.la would then be pointed at it with a cname

#

(or lipu-ale.pona.la, which is way better imo :D)

carmine quarry
#

ken

heady vigil
#

ni li elena tawa mi

heady vigil
#

or is that something already

nova gale
#

apparently not

heady vigil
#

nop

#

yippee

carmine quarry
heady vigil
#

ohh right

#

I remember

carmine quarry
#

in fact lipu.pona.la is currently one of our draft PRs to lapo

nova gale
#

nice

#

sidenote: kvarg and lingonberry jam hit hard

#

(finnish delicacy: rotten milk and the most acidic berry on the northen hemisphere :D)

heady vigil
#

dkdhkdjr

carmine quarry
nova gale
#

hmmmmm

carmine quarry
#

neat to see the tables work, i never tested em

#

sad to see the image overflows, i never tested em (lmao)

nova gale
#

just put some of that sweet max-width: 100% on that sucker

carmine quarry
#

ye ofc

nova gale
#

or i guess overflow: scroll works too

carmine quarry
#

its missing a lot of vital features but it exists

nova gale
#

Nice 👍 the images are still broken tho

carmine quarry
#

ye cuz i still haven't touched em

#

lmao. Nasi is broken but way less broken than i expected

#

Nasi is a giant pile of html

carmine quarry
#

now that we technically have a frotend

#

poki Lapo - Toki Pona library

nova gale
#

:O

heady vigil
#

yay

nocturne compass
carmine quarry
#

@heady vigil @vague coral i would like to get a window sometime this April where no pull requests are open, so we can apply schema changes to the entirety of the poki

heady vigil
#

oki

carmine quarry
#

to this end lets try to wrap up the five PRs/drafts still open and ill try to help with that

heady vigil
#

what are they again

carmine quarry
#

yes, this is an incomplete list of songs, but we can work on more of them after the window

heady vigil
#

you can merge preemptively

carmine quarry
#

explain what you mean by preemptively

vague coral
heady vigil
#

maybe used that word wrong

#

is it incomplete yeah, does it matter not really

carmine quarry
#

i just need a 👍 on whether the files that are there are all good

heady vigil
#

one sec

#

looks good

#

lukin pona

shut flume
#

do i need to lay out like more restrictive submission requirements for utala musi so that formatting like.. works for this project?

carmine quarry
#

so right now we are sort of doing twice the effort

#

you are maintaining your list, we are maintaining ours

#

in an ideal world, we would be able to sort of flip maintenance on its head: Lapo would be responsible, and you could pull from us and formatting should remain perfect

#

and then you have like, less maintenance

shut flume
#

i need to redo the whole utala pona site at some point

carmine quarry
#

but right now i suppose its just, we try to stay in lockstep

shut flume
#

oki

carmine quarry
#

i don't think you need to introduce any requirements

carmine quarry
#

TIL sapaa contributed to the tokirap

carmine quarry
#

dying giggling @ kala pona Tonyu followed by Peter Kropotkin

#

but ye, we're fixing that soon

jagged burrow
#

and "Contributors to Wikipedia" a a

#

seeing such silly authors in the frontend is making me like the original-authors idea even more

nova gale
#

we also have "The Authors of the Bible" :D

#

my personal favourite

carmine quarry
#

@vague coral can you rebase your pr

#

the lentan one

#

i tried but running into perms issues strangely enough given im the owner

vague coral
#

No conflicts with base branch
Changes can be cleanly merged.
sem ea

carmine quarry
#

yea ik

#

your validation errors include things that have been fixed on main since

#

to my knowledge

#

so i want to avoid thinking about them

carmine quarry
#

@heady vigil @jagged burrow @vague coral
idea:

  • make a cli command to create a new blank article
  • populate that blank article with every metadata field we have
  • default to null for a lot of them, maybe the present day for the date
  • make every(!) field required, but nullable
#

(counterargument: do this, but only when we're reasonably sure the schema is good?)

#

so that your future branches can be in the same repo

vague coral
#

Sorry, we couldn't find that repository invitation. It is possible that the invitation was revoked or that you are not logged into the invited account.

carmine quarry
#

oh im dum one sec

#

try again

nova gale
carmine quarry
#

its the frontmatter that i think is a slight time sink

#

i see people copypasting the same file, then potentially forgetting to redo some of the fields, resulting in faulty metadata

#

which of course we can fix over time, but preventing it by obsoleting file copying sounds better

nova gale
#

its just that the CLI command is not that easy to implent so that windows people can also run it easily

#

i mean there is no python or js preinstalled

nova gale
carmine quarry
jagged burrow
#

which works good enough for me

#

i don't know if we can completely stop contributors from the file copying you describe, but we can at least discourage it by nudging folks to using our template, or providing a CLI tool

nova gale
#

Which editor do you use?
@carmine quarry @heady vigil @jagged burrow @vague coral

vague coral
carmine quarry
#

kate

jagged burrow
#

sublime text

heady vigil
#

VSCode

nova gale
#

so making an extension wont even solve problems :D

carmine quarry
#

yea

#

fun exercise: how many of these has poki Lapo subsumed thus far?

vague coral
#
  • ona li lon esun la ona o lon ala poki anu seme
  • ona li kama ante lon tenpo mute la ona o lon ala poki anu seme
  • jo
  • jo
  • jo ala (tan mi)
  • sona ala
  • jo
  • jo ala?
  • jo
  • jo ala?
carmine quarry
#

ona li lon esun la ona o lon ala poki anu seme
the link has pdfs freely available

#

ona li kama ante lon tenpo mute la ona o lon ala poki anu seme
yep

carmine quarry
#

@vague coral picking up jan Lentan's blog from you, gonna try to merge it today

carmine quarry
#

leave a 👍 on this message if no more changes are required

#

(sorry for pinging so many times, but this is how i guarantee we get things done)

vague coral
#

aaa mi pana pakala

#

/2/ o /web/2/

#

o awen

nova gale
#

I think it would be interesting to make a toki pona specific spider for crawling the pona web,, we could make it follow links like three sites deep and find text in toki pona which is not included in lapo yet and list these sites somewhere for human inspection

carmine quarry
#

totally doable, if/when someone has the time and effort to put into it

#

for kulupu Lapo in general, probably not going to count as a required feautre

nova gale
#

yea exactly,, can't wait for the summer when i actually have time for Lapo :D

carmine quarry
#

depending on how annoying lipu.pona.la is, i might try to merge everything today
and then we can have fun cleaning up and standardising the schema

nova gale
#

"ahh, the sun is shining and weathers are warm (unlikely in finland) it's time to close the blinds and archive some toki pona texts"

carmine quarry
vague coral
#

mi sona

carmine quarry
#

poan

nova gale
vague coral
carmine quarry
vague coral
#

ala

carmine quarry
#

@vague coral whats the source of these duplications?

#

they shouldn't break anything but they're sus

vague coral
#

a mi,, sona ala

#

lipu tu pi nimi ilo sama anu seme

#

nnnni

carmine quarry
#

in that case it seems likely that one of the two in each pair currently does not have a file

#

you might want to add those manually

#

im playing around with merging these "messenger-like posts" into one file, we'll see how that goes

vague coral
#

a nasa · ilo wepaka li moku ala tan seme

carmine quarry
#

@vague coral

---
title: toki lili pi lipu pona
authors:
- kijetesantakalu
- telosuwi
- jan Tepo
- jan Nami
- jan Kita
date: 2022-08-08
license: null
sources:
- https://web.archive.org/web/2/https://lipu.pona.la/kijetesantakalu/ale-o-toki
- https://web.archive.org/web/2/https://lipu.pona.la/telosuwi/toki-mi-jan-pi-telo-suwi
- https://web.archive.org/web/2/https://lipu.pona.la/kijetesantakalu/toki
- https://web.archive.org/web/2/https://lipu.pona.la/jan-tepo/jvyi6k2pd6
- https://web.archive.org/web/2/https://lipu.pona.la/jan-nami/toki-a
- https://web.archive.org/web/2/https://lipu.pona.la/jan-nami/lipu-pona-li-toki-pona-taso-ala-toki-pona-taso
- https://web.archive.org/web/2/https://lipu.pona.la/kita/2022-08-07-19-41-15

---

**kijetesantakalu** (2022-08-06):  
ale o toki

**telosuwi** (2022-08-06):  
toki! mi jan pi telo suwi!

**kijetesantakalu** (2022-08-07):  
toki

**jan Tepo** (2022-08-07):  
*asdf* 

**jan Nami** (2022-08-07):  
toki a!

**jan Nami** (2022-08-07):
lipu pona li toki pona taso ala / toki pona taso?

**jan Kita** (2022-08-08):  
#meta  
· jan Nami o · kama pona ·  
· sina [wile sona](/jan-nami/lipu-pona-li-toki-pona-taso-ala-toki-pona-taso) e ni → ma ni la lipu o toki pona taso anu seme ·  
· mi pali e ma ni tawa ni → jan li ken pana e lipu sin pi toki pona kepeken pali lili ·  
· taso · sina wile pana e toki ante lon poka la ni li pona ·  
· (mi o toki e ni lon lipu lawa anu seme a a) ·  
· ante la · sina kama tan seme · mi lukin ala e sina lon `ma pona pi toki pona` pi ilo Discord ·
vague coral
#

suwi

carmine quarry
#

one of your dumped files started with a <center> and no name and ended up receiving the filenamecenter.md

#

thats. so funny

#

lon ala kin

vague coral
#

la lon ala ¯_(ツ)_/¯

#

mi ken pana e lipu mama lon ma ante lon wile sina

carmine quarry
#

@vague coral go through the pr and suggest changes

#

also check that ive not lost any posts along the way

vague coral
#

lukin lili mi la pona

#

a taso · "akesi li wile lon nena" la · mi pana e tenpo pali lon lipu la ilo li pana sin e ona e tenpo pana ala · ni li seme tawa sina

carmine quarry
vague coral
#

ni

carmine quarry
#

@vague coral @heady vigil @jagged burrow @nova gale
catching up to speed:

  • poki Lapo currently has no open PRs
  • open Lapo builds successfully
    this is a good time to do big, sweeping schema edits
heady vigil
#

hi

#

yay

vague coral
#

wawaaa

carmine quarry
#

its also a good time to make small changes, like browsing open Lapo and fixing any file thats horribly broken

#

(theres like a thousand of them so youre gonna be browsing for a while)

jagged burrow
#

mi wile e nasin ni

carmine quarry
# jagged burrow

is there a 1-to-1 correspondence between files that currently have an original-title and files that must now have an original?

jagged burrow
#

files that have original-title or translators, yes

#

the sources for the lipu mama are either not listed at all or grouped in with the translation's sources. so you'd have to some manual work here

carmine quarry
jagged burrow
#

if they are, then not in a separate field from other sources

#

afaik

vague coral
#

sina ken pana ala e tan pi lipu mama · mi pana tan ni taso → "o lukin · nasin mi li ken e ijo sin pi lipu mama kepeken nasa ala"

carmine quarry
#

okay so my biggest problem right now is that

#

i don't actually know of any non stupid, non manual ways to update the schema for a thousand yaml frontmatters, which also have comments in them that itd be nice to keep

#

and presumably do so for not the last time ever

jagged burrow
#

mi weka li kama lukin ala e toki

vague coral
carmine quarry
#

because i guess i still don't understand whether field: and field: null are the same thing in yaml

#

and im not sure its worth it rn

vague coral
nova gale
nova gale
nova gale
#

I can do the poke everything commit if we get the schema locked down

carmine quarry
#

and all dates require yyyy-mm-dd, with an added date-specificity enum field for those which are less specific

#

but i wouldn't mind just a general cleanup, e.g. deciding if lists are always indented or unindented

twilit haven
#

I want to help.

#

I love archiving things.

muted otter
#

What about games? Games are interactive and while they might have plaintext segments(dialogue, story, intro, ending) it might not be possible to just flatten a game into plaintext (some parts might happen in a different order, some parts might change depending on player actions, some text might only make sense in the context of actions the player just did, and so on.)

#

Maybe extracting the plaintext from the source code just in the order it appears?
toki_lawa_ike23 = "toki a, %jan_tawa o. o sona e ni: sina kama moli tan luka mi."

carmine quarry
#

but most games aren't quite so linear and dialogue-heavy

carmine quarry
# twilit haven I love archiving things.

help is always welcome! you can take one of the sources that is currently unclaimed and start converting it to markdown and writing appropriate metadata for it. we can guide you through the process

nova gale
carmine quarry
#

id be down for that

#

you're only doing automatic manipulation of files rn, not manual, right?

#

it would be good to have the option for back-and-forth feedback

#

without making your work ridiculously difficult

vague coral
#

mi wile kama e ni → lipu li tan toki ante la ken pana li lon lipu pi toki [pona] li lon ala lipu mama la mi toki a e ni (la jan li sona e ni → ona li kepeken la esun li utala e ona)
nasin ni li pona ala pona tawa sinjale

license: CC-BY-4.0 AND LicenseRef-AllRightsReserved
vague coral
#

mi pana e poki tawa ilo alasa [Tantivy] la ona li alasa pona kepeken tenpo lili a :3

#

,,anu pona ala · mi alasa e "Kita" taso la mi lukin e lipu pi [kalama sin] · mi alasa e "jan Kita" la ala

#

-aaa ona li pana e ijo sewi luka luka taso

twilit haven
carmine quarry
#

the list of them, anyway

nova gale
#

do you think 268435456 unique commits is permanent (as in permalink) enough?

carmine quarry
#

whats the context for this

nova gale
#

i need permanent links to files for something and seven characters (default for git rev-parse --short) on commit hash allows for that many unique commits before confilcting

carmine quarry
#

i just hope you arn't committing 1000 files, 1 file per commit, lol

#

but otherwise like sure???

nova gale
#

i mean i'd still have space for 268,436x that :D

vague coral
#

taso tenpo

nova gale
#

kulijo mute

nova gale
#

@carmine quarry are titles optional or required?

carmine quarry
#

required

nova gale
#

how about the other fields?

#

which ones are required

nova gale
#

Also, i think we should at least start throwing warnings on missing descriptions

carmine quarry
carmine quarry
nova gale
carmine quarry
#

short of reading the entire library, it seems unlikely we'll ever describe every work

nova gale
#

Should we make dates

date:
  iso-date:
  precision:

or

date:
precision:

or something else

carmine quarry
#

more flat is more good

vague coral
vague coral
#

aa ike ilo !

#

@carmine quarry

#

mu kala suli pi sike nanpa MAML 😔

carmine quarry
#

a a a

carmine quarry
#

jan li ante e lipu la ona li ken ala pana e ken sama nasin CC-BY-4.0

#

ona li pakala pali

vague coral
#

ona li pana e pali ona anu seme

azure glade
#

a a a mi kala

twilit kettle
#

mu kala a

ruby ivy
#

kala ale li lon

ebon torrent
#

mi kala li mi lon florshed

pallid copper
carmine quarry
thorny chasm
#

kala li kama lon

vague coral
#

mi wile pana e sona ale · nasin mi li pana e sona ni → "jan wan li pana e ken · taso jan ante li pana ala"

sand salmon
#

kala

vague coral
#

tenpo seme la mi ken kama pana e lipu sin

nova gale
#

kala ala

carmine quarry
vague coral
#

ike la mi open e pali :p

#

li pini e pali :p :p
(pi sitelen wan taso)

carmine quarry
#

was not

vague coral
#

a mi lukin e ike

#

taso seme la ilo a li moli

blazing pelican
heady vigil
#

the thread flooded with kala

nova gale
#

i also wanted to ask if we could raise an error if

  • we have unquoted strings
  • we have quoted keys
  • we have some non-standard amount of whitespace in lists
#

oh and also if there is non-schema keys

carmine quarry
#

its a balancing act between "whats annoying for the data gathering person?" and "whats annoying for the frontend person?"

#

mi la forcing people to make changes to a pr because they failed to follow a quote style is unreasonable

#

but for adding non schema keys - would be reasonable

vague coral
carmine quarry
vague coral
nova gale
carmine quarry
#

im 👍ing you trying that, we just gotta not make it too annoying for ppl

nova gale
#

then how about a new schema completely? we could loan more TOML than YAML for example

#

toml could actually be better suited for lapo now that i think about it

#

one option could also be just making our own parser for a yaml subset that woud a) be so simple you cant mess it up b) be compatible with yaml so it would work correct in md readers c) be easy to parse

carmine quarry
#

the toml idea is, imo, bad. yaml frontmatter being standard is really nice for the end user, be that open Lapo, or potentially maybe utala.pona.la or liputenpo.org

vague coral
carmine quarry
#

the own parser is like... ngehhh??? if you succeed at it cool fine. but writing lower level stuff is a good way to derail a project

vague coral
carmine quarry
nova gale
vague coral
nova gale
vague coral
#

o kepeken nasin INI tbh

nova gale
#

INI == TOML

carmine quarry
#

which is like, much less work

vague coral
carmine quarry
#

the dream is having an html form + server hooked to github api to open PRs

vague coral
#

mi toki e nasin ante lon tenpo pini

#

taso lon la mi wile ala e ante :p

vague coral
#

nena li ken tawa ijo pi tenpo mute,,

vague coral
#

pilin mi la ilo [Claude] li ken pali pona e ona :p

#

,,ona li ken ala

#

ona li pakala sama mi

nova gale
carmine quarry
#

the hard part is having a host, imo

vague coral
vague coral
heady vigil
#

chat what are you even doing

#

incomprehensible

carmine quarry
#

yea i got no idea what this is and why

nova gale
#

also that's probably the opposite of what we want

nova gale
# carmine quarry the own parser is like... ngehhh??? if you succeed at it cool fine. but writing ...

about this,, i wrote the following parser

def get_frontmatter(data: str) -> dict[str, list[str] | str]:
    f = re.search(r"^---\n(.*)\n---(?:\n|$)", data, re.S)
    if not isinstance(f, re.Match):
        raise ParseError("Couldn't find frontmatter!")
    frontmatter = f.group()

    out: dict[str, list[str] | str] = {}
    keys = re.finditer(r"^(.*?):(?: \"(.*)\"$|\n((?: - \".*\"\n?)+))", frontmatter, re.M)
    for key in keys:
        groups = key.groups()
        if groups[0] and groups[1]:
            out[str(groups[0])] = str(groups[1])
        elif groups[0] and groups[2]:
            out[groups[0]] = [str(item) for item in re.finditer(r"^ - \"(.*)\"$", groups[2], re.M)]
        else:
            raise ParseError("Invalid syntax!")
    return out

mainly in regexp in fifteen minutes. It can parse the YAML subset i described (only strings and lists of strings, list is described using strictly by

  1. Newline
  2. Space
  3. Dash
  4. Another space
    and all strings are quoted
#

i can also remove the all strings are quoted thing quite easily

#

it's name is snaml or "still not a markup language" and it is fully compatible with yaml

boreal viper
#

just popping in again to say mi olin e sina to everyone working on this<3 this is something that i want to exist, and I think that if I didn't already feel like I have 10 times the things I want to do than I have time to do pali , I would be contributing

vague coral
vague coral
vague coral
#
- plaintext/2019/11/toki-nasa.md
- plaintext/2021/04/toki-nasa.md
- plaintext/2021/05/toki-nasa.md
- plaintext/2021/08/toki-nasa.md
- plaintext/2021/09/toki-nasa.md
- plaintext/2021/10/toki-nasa.md
- plaintext/2021/12/toki-nasa.md
- plaintext/2022/02/toki-nasa.md

a a

#

aaa ona ale pi wan ala li tan lipu tenpo

vague coral
#

kulupu pi soweli musi la · lipu 14 17 li lon · lipu 21 18 wile li lon ala · lipu 1 li ken wile ala
kulupu pi ante ike la · lipu 21 23 li lon · lipu 27 25 wile li lon ala · lipu 2 li wile ala

vague coral
#

mi lukin e insa ilo la · nullable en nullish en optional li ante seme a

vague coral
vague coral
#

taaaso · pilin mi la mi ken ni taso

if "\ntranslators: " in front:
  front = front.replace("\ntranslators: ", "\nauthors: ").replace("\nauthors: ", "\noriginal-authors: ")

li ken alasa e pakala

carmine quarry
#

it deletes comments
we'll have to do a manual sweep then

#

open this as a PR?

nova gale
#

i can prolly do it tonight

vague coral
carmine quarry
#

@nova gale @vague coral if you two work independently, will this lead to duplicate work being done and frustration, or are you chill if one of you gets ahead?

vague coral
#

¯_(ツ)_/¯ · mi la soko li suli nasa e pali pi lili lon · taso mi pana e nasin pi suli nasa ala la pali mi li pini · li kama kon

#

(kin mi o pali ante,,)

carmine quarry
#

im giving you both a carte blanche to try stuff, open a PR, show the work

vague coral
#

(ilo sama · taso mi weka e poki pi ante ijo)

#

mi lukin la ale li pona

vague coral
nova gale
#

:O

#

someone else has the same problem as us a a

vague coral
# vague coral

"a tan li ken wile lon tenpo ale anu seme · seme la tan li ken lon ala"
kepeken nanpa wan
tan li lon ala

vague coral
#

(lon la tan li lon li weka · taso nimi linjuwi li wile e alasa)

vague coral
#

kalama ni https://www.youtube.com/watch?v=MryDuToQMsg la mi o nimi ala nimi kalama pi jan Tom Lehrer · kalama li sama · taso toki li sama ala

Inspired by Tom Lehrer's Elements, this song consists of every official word in Toki Pona, plus a few more.

ni, nanpa, nasa, nasin, nena, nimi, noka, namako
sin, sike, sina, seme, sewi, seli, jaki, sijelo
en, esun, suno, supa, suwi, suli, linja, palisa
li, pali, lipu, jelo, lape, poki, kule, kalama

wan, tawa, waso, wile, walo, lawa, kiwen, ake...

▶ Play video
vague coral
carmine quarry
#

youve figured out how to force null to be explicit and that was pretty much my only gripe with ruamel

#

feel free to merge the formatting commit, and do the schema swap next

vague coral
#

a suwi

#

ijo o pona e ilo pi ante ijo · ijo li ken mi li ken soko

#

(nasin pi poki sona li ante la mi ken ante e ona lon ijo mi kin · ni li ike ala tawa mi)

twilit haven
#

I still don't understand what to do here.

carmine quarry
#

we store texts in markdown files with yaml frontmatter

#

the job of data collection is to find the raw text, format nicely if needed, then find all the important metadata about it

#

who wrote it, whats the title, what's the source link, when it was published

#

then you send that on github, open a pr, i read through the files, if everythings good, we merge it into the poki

#

because this risks two different people doing the same work twice, we like to split responsibility by claiming particular kinds of works (lipu tenpo is done by one person, utala.pona.la by another, personal blogs by another...)

#

i can elaborate on any of these if you need more guidance

#

oh and as of this moment we're also doing technical stuff to make our metadata nicer, so its better to wait a bit for that to be finished

twilit haven
#

Does that mean all of this will be put on a website? Not just text in a text file.

carmine quarry
#

the key part is that when texts are stored as markdown + yaml frontmatter, other apps can take them and display them nicely

#

but something better might come along eventually

twilit haven
#

Seems a bit complicated.

#

I guess it's only written works.

carmine quarry
#

ye

#

but for instance songs are written works too

twilit haven
#

I wouldn't know how to claim and archive works.

carmine quarry
#

claiming is just saying "im gonna work on everything from <place>"!

#

by archive i mean the very process i just described. putting text and metadata into a markdown file

twilit haven
#

I don't wanna work on everything from a large collection.

carmine quarry
#

thats fair and we're done with several of those!

vague coral
twilit haven
#

I am dumb.

#

I don't know where you claim that website.

twilit haven
#

I don't feel like claiming anything right now.

carmine quarry
#

ale li pona

twilit haven
#

If I get bored and stop archiving it, then it will remain claimed and not archived.

heady vigil
carmine quarry
nocturne compass
carmine quarry
nocturne compass
heady vigil
#

💥

heady vigil
#

hiiii

#

I'm here :)

#

it's seabog, from Wikimedia

vague coral
carmine quarry
vague coral
#

mi toki a e ni

carmine quarry
vague coral
#

soko li ni ala la mi lon suno kama

#

[ilo penpo o lukin ala]
-# but i still think the simplest way to do it is just string-level find-and-replace

carmine quarry
#

i mean it is! but your code also includes like, nice reformatting

#

i like that

vague coral
#

a ante li pona tawa sina la pona

carmine quarry
#

the only possible ike is that comments get weird, but so far i haven't seen that, or that null gets implicit, but you found a way to avoid that

#

we'll need this kind of schema upgrader into the future so its good that we found something that works

heady vigil
#

did you all already run all the checks you wanted or

#

are we back to adding stuff

carmine quarry
#

we're not

#

jan Kita is being naughty

heady vigil
#

@vague coral shame

vague coral
#

:3

nova gale
#

should we require the date field on entries that have unknown dates

nova gale
#

also, is it ok add some sensible labels for gh issues?

#

something like problem, source tracker, question

nova gale
carmine quarry
#

put our best guess, in date-specificity put the lowest specificity

heady vigil
#

best guess: 21st century

nova gale
#

on PreciseToNone it returns true to all comparisond

carmine quarry
nova gale
#

yea exactly i was just talking about the library i made for poki

nova gale
carmine quarry
#

all files have dates and all files have them down to the day

#

otherwise the frontend will suck

#

the precision field just tells the frontend how much of that date is a lie

#

for (a) us editors to be aware, (b) for display purposes maybe

vague coral
carmine quarry
#

ni a

vague coral
#

toki la sina pali lukin

nova gale
#

lukin li pini

#

taso la ni li pali pona ala

#

ilo [library] anpa ona li pakala mute

vague coral
#

miii sona ala e nasin :anpa:

#

a mi kama sona !

carmine quarry
#

ken

#

tenpo kama la mi ale li ken pona e ni

vague coral
#

mi pini aa

#

@heady vigil o · pali li ken open sin lon tenpo poka
-# o pana e lipu mi,,

#

ante la · nasin wan pi lipu kalama li wile ala wile · ma [Genius] la nasin li lon li toki e ni → "o nimi e kipisi toki lon poki [] lon ala poki () lon ala poki <> · toki li sike la o pana e sike ale ona o toki ala e «×2» anu seme" ← e ijo ante mute · mi wile ala wile e nasin sama

carmine quarry
#

we can standardise ye. ive not given it much thought. the easiest way to do it is to give all songs to the same person to fill out

vague coral
#

mi pali pi jan [Misali] la mi kepeken nasin pi mama musi ¯_(ツ)_/¯

#

mi ken alasa wan e nasin lon poki pi mi taso

#

-# taso open la mi wile wan e ijo ante,,

carmine quarry
#

@vague coral reading your pr rn

#

@vague coral pakala ala pakala

vague coral
#

ilo li ni

authors: I
translators: U
↓
original-authors: I
authors: U
↓
authors: U
original-authors: I

I en U li sama la nasa ni pi lukin taso li kama

carmine quarry
#

oh right i forgot how to read diffs. pakala pali. taso pakala pi pali sina ala

#

@vague coral

  1. can you also edit the validation schema in this pr, so we can merge with a ✅?
  2. would you like to do the original: grouping as a separate pr?
#
  1. was there any month-level or year-level specificity?
vague coral
#
  1. mi ken ken e sina
  2. ken !
  3. wan taso · taso jan li pana lon poki pi jan taso la ilo li moku e ni
carmine quarry
#

ping me when you edit the schema

vague coral
#

Allow edits and access to secrets by maintainers

#

anu seme · mi sona wawa ala

carmine quarry
#

ike la sina awen pali lon poki sina la mi awen ken ala pana e ijo tawa poki sina

vague coral
#

??

vague coral
carmine quarry
#

okay so for now lets merge what you got, ill add the updated schema, next time you do work in kulupu-lapo for simplicity

carmine quarry
#

in general

#

i use github desktop too i just clone manually

#

@vague coral you okay with me merging rn?

vague coral
#

pon

carmine quarry
#

@vague coral lets try to merge the medleys as well now. start by git pull; git rebase maining it

vague coral
#

-a mi pakala lili lon wan li pana ala e mama · o awen lili

carmine quarry
#

its a good time for us to decide whether we'd like to null every field and to require them at all times

vague coral
#

aaa lon · mi lukin lon open la mi sona ala e ni → jan pana li jan pali

#

[ilo penpo o lukin ala]
apologies if this ends up rude but are you certain you can't commit to the branch? everything seems to point to "yes you can, thanks to the checkbox"

#

awen la mi pana lon poki mama lon ala poki mi lon tenpo kama

carmine quarry
carmine quarry
carmine quarry
#

like, poki-wide

vague coral
#

nn

#

ni li pona e seme :p

carmine quarry
#

there are two different ways to handle optionality, by dropping the field or by setting the field to null

#

its kinda bad that we mix the two methods without a clear purpose

vague coral
#

poki sin li kama la sina wile pana e null sin lon aaale anu seme

carmine quarry
#

yes and we can do that by having a template

vague coral
carmine quarry
#

we've kind of already made explicit special cases for that, like when authors are "folk origin", or the date is "date-specificity: none"

vague coral
#

a

#

ni la mi la poki pi insa ala o lon ala anu seme · ni li lili e pali pana e pali lukin e pali pi poki sin

#

mi sona wawa ala

#

soko li ken toko

vague coral
#

ni li tan jan Usawi · taso ni open li tan tan Lija · lipu o wan anu tu · @carmine quarry o

carmine quarry
vague coral
#

a pona

carmine quarry
#

compare kulupu jan tenpo

vague coral
#

kalama pi jan Usawi la toki li ante lili la ¯_(ツ)_/¯

carmine quarry
#

ante seme li toki pona

vague coral
#

toki lili li weka · toki "(sina toki e nimi akesi? tawa mi?)" li kama · sona mi la ni taso

carmine quarry
#

nnn sona ala

#

jan pali li o pali wile

river oxide
#

i want to cite poki lapo for a paper i'm writing- should i list these authors?

heady vigil
#

woag

#

you can list the contributors

river oxide
#

sona

vague coral
#

nasin seme pi kipisi linja poka li pona tawa sinjale

  • mu\ \n mu
  • mu \n mu
  • mu \ \n mu
carmine quarry
#

i think the last one??

#

personally ive been doing a lot of the second

vague coral
#

mi kin li ni nanpa tu · ona li pona tawa lukin mi · taso ken la ona li ike tawa jan pali pi ilo mi ala

#

(lipu pi mi taso la mi nanpa ala · mu \n mu · :p · taso ni li ken ala lon poki anu seme)

carmine quarry
carmine quarry
vague coral
vague coral
carmine quarry
vague coral
carmine quarry
vague coral
#

la mi ni :3

carmine quarry
#

reminder:

#

we are currently on pause

#

for new files

#

until we finish fiddling with the schema

#
  1. would you like to do the original: grouping as a separate pr?
  2. ken !
    this remains one of the tasks, as well as obligatorily nulling every field if you agree with my logic for doing so
vague coral
#

-a kala li kalape

carmine quarry
#

kala li kalalape

vague coral
#

sona

vague coral
#

sooona

#

ni li awen nasa tawa mi · taso mi ken pali

vague coral
#

とりぽちゅん 「telo sewi」 / tori-pochun "telo sewi (The Rain)"

日本語版はこちら! → https://youtu.be/atR0cDv3sNU

kalama musi uta:
jan Maki, jan Lika, jan Kalin, jan Sipuju

kalama musi:
jan Toliposun

kalama:
jan Kajo, jan Kana, jan Najo, jan Utalo, jan Ke, jan Ju, jan Lijota, jan Toliposun

toki:
jan Osinikomi, jan Toli...

▶ Play video
frozen eagleBOT
#
New Reminder | ID:79927222

Alright kala_asi, I'll remind you in 16 hours about:

pr

wraith loom
#

alright kala asi

jagged burrow
#

how do we feel about author: null for anonymous or unknown author

#

for previous texts i remember doing author: (anonymous) or similar

jagged burrow
#

i decided on author: (anonymous) to match e pali ante mi

carmine quarry
#

fuck im mismanaging lapo again

#

@jagged burrow we have an open pr from kita that touches everything, so ill have to merge it before working with your new stuf

#

@jagged burrow please continue your work on the newly created vivi/more-stuff branch

#

@vague coral if you rebase your medley pr on main, we can see if its mergeable

carmine quarry
#

@vague coral im trying out your reschema rn and i can't get this to work:

    if re.search(r"\n[a-z-]+:\n  - ", y):
        yaml.indent(mapping=2, sequence=4, offset=2)
    else:
        yaml.indent(mapping=2, sequence=2, offset=0)

else runs 100% of the time any idea why that wasn't the case for you

carmine quarry
#

actually fuck it ill just format to one option

#

@jagged burrow i have rebased your work

#

you are good to keep working

vague coral
carmine quarry
#

@jagged burrow youve received slightly improved error messages!

carmine quarry
#

poki Lapo: Toki Pona library

#

changed a hyphen to a colon because it was bothering me

jagged burrow
#

-# also the mishap is just as much on me for not reading this channel properly

carmine quarry
nova gale
#

could we please add a particle the name of this post ("poki Lapo: the Toki Pona library" or "poki Lapo: a Toki Pona library")

carmine quarry
#

we can change it but i prefer short names for threads

heady vigil
#

instructions unclear, created a particle nimisin meaning 'to interact with the poki Lapo library'

wraith loom
#

"lu"

#

it's a particle already

vague coral
#

sona mi la mi pona ale e ijo Misali

nocturne compass
vague coral
#

@heady vigil o · sina pana e lipu kalama pi mute seme

heady vigil
#

I tagged them all tho

#

either music or song can't remember

heady vigil
nova gale
#

that's cool :O

nocturne compass
heady vigil
carmine quarry
#

@vague coral merged your jan Misali pr

vague coral
#

wawa

twilit haven
#

mi sona ala e tomo ni.

carmine quarry
#

plan for today: bumping lapo/open

#

open shares the same-ish codebase as wasona so i can port some improvements from there

carmine quarry
#

open now has previous/next buttons working

carmine quarry
#

we now display the metadata, although truth be told it looks very wacky

#

but it works, is the only thing that matters to me rn

carmine quarry
#

ill start investigating pages for tags and stuff

carmine quarry
#

a good start

carmine quarry
#

i love component reuse

carmine quarry
hasty quarry
#

imo poki Lapo needs a new system of 'revisions', to capture when someone modifies a preexisting toki pona text. eg 2003/05/ma-tomo-pape vs 2005/07/ma-tomo-pape, and jan Usawi's version of 2020/02/akesi-apeja-li-mi. This'd also help for adding wiki pages.

I think it makes the most sense to do this similarly to the collections with a separate file tracking all the iterations, but there's some argument for indicating this info directly in the file, either with a new field (metadata overload!) or by coopting the original field (but with revisions of translations this gets confusing). & then encourage all consumers to provide a mechanism to switch between revisions of the same content (for user-facing front-ends)

GitHub

A library / monolingual corpus of Toki Pona texts. - kulupu-lapo/poki

carmine quarry
#

which we should look into

nova gale
#

you can view all revisions with git log -p -- path/to/file

carmine quarry
nova gale
#

in that case i think it's ridiculous to stay using git as we would implement our own versioning. also, someone who edits wikis, for example, can navigate a couple of smaller edits. it would also drive contributors to keep the tree clean

vague coral
# nova gale in that case i think it's ridiculous to stay using git as we would implement our...

[ilo penpo o lukin ala]
methinks it's orthogonal to git versioning
in particular i don't think jan Usawi's cover of apeja li mi should be taken as the newest and thus canonical version of the original
even when both versions are by the same author there can be value to keeping both (e.g. my website has two translations of burger king foot lettuce because one of them is from 2 weeks after i started learning and the other is actually comprehensible)

nova gale
#

oh, looks like i read venous's text wrong a a :D also wouldn't collections cover this?

carmine quarry
#

or tags

carmine quarry
#

collections now work

#

do they work exactly right? probably not

#

but for a first pass ill take it

carmine quarry
#

big props to this person for having a slash in their name

#

we now have author pages

vague coral
#

wawa mute

carmine quarry
#

100% just going for pure functionality right now, we can pretty it up later

heady vigil
#

omg

#

wan taso

carmine quarry
#

@nova gale
so i started the frontend mainly for markdown test purposes. but now that ive figured out how to make pages that are lists of works by user / tag / collection, its rapidly getting to the point of usability. what do you think of joining me to work towards improving this stack instead of building a fullstack app?

carmine quarry
#

its not written well but it works and loads immediately

vague coral
#

ilo sina la mi kama lukin e pakala mi li pona e ona :3

carmine quarry
#

weird bug: the root page loads a google font just fine; all other pages fail to do so. only in prod, dev works

carmine quarry
#

@heady vigil @vague coral @jagged burrow @nova gale i invite you to check out progress on https://kulupu-lapo.github.io/open/, where we now have a short nav list and a dark mode

carmine quarry
carmine quarry
#

something i think would be epic is a prev/next selector that allows for any of the lists. would be difficult to pull off with just astro but i gotta try

nova gale
nova gale
carmine quarry
nova gale
#

ouch, that sounds like a bad time

carmine quarry
#

that said ive actually already managed to tell individual pages what their prevnexts are, though making a good selection widget out of it is more difficult

#

i recommend you look around the library and think of what we're missing

#

of course search, but we probably shouldn't support every complicated metadata search under the sun; an average user probably only needs something simple

nova gale
#

Sure! something like a thin HTMX client would make that easy. I also have most of the code working for the search and the current problems are mainly just

carmine quarry
# carmine quarry

i want to make only one of them appear at a time, depending on how the user navigated to this page

nova gale
#

could you set a cookie?

carmine quarry
#

i was thinking more url queries

nova gale
#

possible

carmine quarry
#

its gonna take me a while to figure out but its progress nonetheless

carmine quarry
nova gale
vague coral
heady vigil
carmine quarry
#

also btw im entirely open to renaming to avoid RAS

carmine quarry
#

whatever yall like

heady vigil
#

I've grown attached to the name Lapo 🥺

vague coral
nova gale
#

oh about the search thing: i am open to host a meilisearch instance as an api and loading poki there

heady vigil
#

ai..............

nova gale
#

it's not like generative AI

#

it just means it has a neural network in it

heady vigil
#

a nvm I see

nova gale
#

oh they also have a vanilla js lib

#
import { MeiliSearch } from "meilisearch";

const client = new MeiliSearch({
  host: "http://127.0.0.1:7700",
  apiKey: "masterKey",
});
#

also if the search goes down it just fails cleanly and doesn't bring the whole frontend down

nova gale
vague coral
nova gale
#

lon, ilo [MeiliSearch] li open e nasin ilo tawa linluwi kepeken namako ala

#

kin la, ken mi pi toki [Rust] li pona mute ala :D

vague coral
carmine quarry
#

what im trying to do with prev/next right now is almost certainly achievable in raw astro or svelte but i suck so im going with react for now

#

oh also just to set expectations straight: im not tackling search any time soon; if yall want it you're gonn ahave to try on your own

nova gale
#

why react 😭

#

complete overkill

carmine quarry
#

someone can look at my component later and rewrite it in svelte or whatever else

nova gale
#

svelte is overkill too ;-;

#

wait we have an rss feed with every post in lapo???

carmine quarry
#

it came free with astro

#

i don't expect it to make any sense

nova gale
#

that's crazy

#

where is it?

carmine quarry
nova gale
#

oh shid

carmine quarry
#

it won't make sense to use because our library bumps will always be more than one new post

#

unless we automate bumping the library which i guess we could

nova gale
#

:DD

#

we could dos (notice no d in front) by just curling that page on repeat

carmine quarry
#

too bad they have so many to spare

nova gale
#

idk i think they have some kind of bandwidth limit on theese?

#

wooooo i can finally read lapo from Thunderbird

heady vigil
#

so silly

#

I love that

carmine quarry
#

my biggest annoyance with react in astro was postponed loading and right now i just figured out how not to postpone loading

#

so uh my bad lmao

nova gale
#

do you have the current version up on some branch

carmine quarry
#

yes the main branch :p

#

upd: static astro is too static to know litearlly anything about search params

#

i could still get them in a vanilla js script but at that point... yea

carmine quarry
#

oh im stupid, i can code client side scripts in ts

#

that makes things much less annoying

nova gale
#

lol

carmine quarry
carmine quarry
#

toki a
pali sina li pona mute a
mi wile e ni
sina poki e toki suli mi lon lipu sina.
nimi ona li 'pona len'
tan jan Asilu

vague coral
#

mi alasa e pakala ni → nasin Markdown li wan e linja tu poka · pakala ni li lon lipu tu ale mute mute mute luka luka tu :anpa:

#

mi kepeken ilo ni

from mistune import create_markdown
from pathlib import Path

md = create_markdown(renderer=None)

def recursive_check(obj):
  if isinstance(obj, dict):
    if obj.get("type", None) == "softbreak":
      return True
    else:
      return any(recursive_check(x) for x in obj.values())
  elif isinstance(obj, list):
    return any(recursive_check(x) for x in obj)
  else:
    return False

for i in Path("plaintext").glob("**/*.md"):
  text = open(i).read().split("\n---", 1)[1]
  if recursive_check(md(text)):
    print(i)
nova gale
#

(@carmine quarry) I think we should be looking into explicitly choosing a single client side JS lib early on to reduce package size, make the codebase not spiral out of hand and enabling us to start to build stuff semantically and methodically correct to that lib. my proposition is Alpine JS, because its tiny, has all the features i can think of open needing and has a quite relaxed learning curve.

#

(i raised this because i started playing around with the search component and related services i dedcribed earlier and want to make it right from the start.)

carmine quarry
# nova gale (<@183528471031447552>) I think we should be looking into explicitly choosing a ...

you are allowed to try it out and make prs using it, but im not closing the door on other people trying something different

so poki Lapo, much like sona Linku, explicitly permits the possibility of competing frontends. Linku was first delivered with vanilla js because that was what i knew at the time. Then smarter people came along and rewrote it in Svelte. We currently have a frontend in Astro (which currently doesnt, but could, use components in other frameworks) because thats what i now know and was able to get working well enough. Other people might know ways to improve upon it that might require throwing the whole foundation away, and I will accept if it comes to that

carmine quarry
river oxide
#

nasa li seme

wraith loom
river oxide
#

n ni anu seme: mi lukin e nasin "lipu.pona.la" la mi kama pilin e ni: tan seme la nimi lapo li lon

wraith loom
#

nimi lipu ilo en nimi lipu lon li ante

river oxide
#

sona

carmine quarry
#

nimi Lapo li ken nimi pi kulupu taso li ken weka tan lipu

river oxide
#

lipu pi sona pona la nimi li "sona pona"

carmine quarry
#

i am like 70% of the way towards adding a kulupu-lapo.github.io/add page

nova gale
#

seme?

carmine quarry
nova gale
#

wawa

carmine quarry
#

this will get sent to a hono backend on cloudflare pages, which opens a pr

#

which mostly works right now

nova gale
#

adding github oauth could work too

carmine quarry
#

i think the main problems right now are

  1. making fields exceedingly clear to users,
  2. testing requests against a schema,
  3. rate limiting valid requests
#

which in fairness is extremely normal stuff to do but it too takes effort

carmine quarry
nova gale
#

well at least add some field for a name/tag to that

#

and possibly a commit/pr message

heady vigil
# carmine quarry

for this, may I ask if we could have a little tag/note/whatever to indicate that something was added by /add

heady vigil
#

inside the metadata

carmine quarry
#

why

#

it goes through the pr review process and afterwards it counts just as much as anything else you've done

carmine quarry
#

ooh that does make me wonder

#

should it be one branch accumulating submissions

#

or a bunch of separate prs

#

i currently have it be a bunch of separate prs but hmmm

carmine quarry
vague coral
#

poki pi lipu mama li lon ala :<

carmine quarry
#

the most glaring issue right now is the lack of rate limiting, so please don't spam click

carmine quarry
#
why is it yaml?

cause you overlook things when coding for too long

vestal herald
#

mark mandatory fields

heady vigil
#

^

#

would also be good if there were little instructions buttons for more details ℹ️

carmine quarry
#

ui polish is needed, thats true; id love someone to give me a hand with that, as my ui thinking energy is exhausted

nova gale
#

i can try

nova gale
#

how into the open Lapo logo and outlook are we? i am thinking about redesigning it a bit for fitting in the search bar.

carmine quarry
boreal meadow
carmine quarry
#

@heady vigil all fields must now be present

#

we changed that to make it easier for future editors to fill out the nulls

#

also you got two original fields

heady vigil
#

damn

heady vigil
heady vigil
carmine quarry
fading plover
carmine quarry
#

theyre just components from various other intergrated frameworks right

#

i think we've discussed them already

fading plover
#

that is one capability of them, but that's already a capability of astro without this system
astro islands let you designate

  • that a segment of the page should be bundled for the client to execute (client:load)
  • that a segment of the page will be bundled by the server on request (server:defer)
#

astro's default behavior is to bundle the page for the client to simply receive, not execute

#

so the former makes interactivity easier, and the latter lets you pull content from a server with arbitrary JS; it is client framework independent

nova gale
# nova gale
poll_question_text

How much do you like the open Lapo look?

victor_answer_votes

3

total_votes

6

victor_answer_id

2

victor_answer_text

I like it and want to advance with the same feel

carmine quarry
#

i have set up the frontend to automatically get bumped any time we merge something in poki

#

so the user / maintainer interaction is reduced to one form and one pr merge

#

@heady vigil is tawa pona, jan pi lanpan kasi ready, do i merge
also moving forward do you want me to merge any valid files you submit

swift imp
#

Hey is þere like an escape character like \ in Discord which would prevent þis from turning into like a code block?

#

I've updated þe OG text and I wanna update it in lapo too so I þought I should also deal wiþ þis issue too

#

What seperates þe chapters are a long line of ~~ bþw

carmine quarry
#

ill replace them with a *** which creates a <hr /> if you don't mind

swift imp
#

Þis also does happen (it's ~pona musi wawa~)

#

I think it could probs just be musi pona wawa~

#

Hopefull þat does uhhh noþing

#

I do gotta fuckin update þe text too

carmine quarry
#

i escaped em for you

#

anything else?

swift imp
#

Uh

#

Wait I'm confused now

vague coral
swift imp
#

It isn't supposed to be strookout

vague coral
carmine quarry
swift imp
#

Could I not just update my yaml and þen it'd update everyþing?

#

After I resubmit it to github

carmine quarry
swift imp
#

oh I mean md not yaml

carmine quarry
swift imp
#

Oh sick

#

So replacing þe uh ~~~ lines wiþ *** worked?

carmine quarry
#

yes

swift imp
#

okay

#

how did you get rid of þe strikeþrough?

carmine quarry
swift imp
#

I don't understand

#

it is strookþrough in þis image

carmine quarry
#

the image was me testing what you said

swift imp
#

oh okay

#

so \ is how you escape it?

carmine quarry
#

ye

swift imp
#

\~ijo\~

#

Like þis?

carmine quarry
#

yee

swift imp
#

wawa

#

okay time to reupload and pr and in 2 to 3 business weeks it should be good

carmine quarry
#

i think you submitted both of these, what was your logic behind that

swift imp
#

okay uh, idk what þis means

#

well I do, I just don't know how to fix it

carmine quarry
#

but your yan-Mayeka/main is way out of date

swift imp
#

Oh

carmine quarry
#

ideally, when you start making a pr, you create a branch off of poki/main

#

insert pokimane joke here (i don't know any pokimane jokes)

swift imp
#

okay uh

#

I press þe button which sincs þe fork but idk if þat's right

#

idk what a branch is

carmine quarry
#

now imagine instead of a chain, its a tree

#

edit history can branch out

#

each branch is a, well, branch, and can have a name

swift imp
#

okay

#

I've updated by branch to be up-to-date

#

I'm pretty sure þat's correct based on it working before

nova gale
#

wait is poki also pulled automatically?

carmine quarry
nova gale
#

i thought submodules couldn't do that

carmine quarry
#

it took some github actions and ssh shenanigans

nova gale
#

sure

#

also doeesn't that create a metric fuck ton of commits to open?

carmine quarry
#

only as many as there are merges to poki main

#

which is still a lot but like idk its fine

nova gale
#

ok

#

i was also experimenting with a search bar. This looking okay?

carmine quarry
#

sure

#

@swift imp the pr checks your work and lets you know if something still needs changes

swift imp
#

Yeah I'm trying to figure þat out rn

carmine quarry
#

hopefully the messages are human-readable. lemme know if you encounter anything that's impossible to understand

#

this particular one, for example, is you misspelling plaintext

swift imp
#

oh

nova gale
#

plaint text :D

#

also one dx/contributor fix would be to show those errors all at once and in a nice message by some bot

carmine quarry
#

@vestal herald awesome to see you try the form! any idea why sources starts with >- ? is this something you typed?

vestal herald
#

hm, no

carmine quarry
#

i fixed it for this pr but im gonna have to see if that ever occurs again

vestal herald
#

since the file name gets generated from the title, putting the title first in the form might be a good idea

carmine quarry
#

@swift imp merged

#

@vestal herald merged

#

@heady vigil merged

nova gale
swift imp
#

wawa

#

jan Alonola locked þe fuck in

#

and Ke Tami

carmine quarry
#

theyre carrying lipu tenpo and by extension a significant part of the library

nova gale
#

opinions? (i also changed the colors around a bit to make them consistent and matching)

carmine quarry
#

though this does not take into account work length; jan Kepe would be much higher for instance

nova gale
#

oh and i also made the main element wider do that it doesn't wrap around weird

swift imp
#

word count ranking when

nova gale
#

not impossible

boreal meadow
nova gale
#

compile time metadata injection anyone?

carmine quarry
#

word count comes with a lot more assumption than just article count

swift imp
#

word li seme

#

xnopyt þeory in toki pona

carmine quarry
#

how much of an article is by a given author; which parts are text and which are html/css/comments; do non toki pona words count; you get the point

nova gale
#

or just measure the size of every file after stripping the metadata

#

omg it automagically works on mobile

#

never happened before

#

the CSS gods blessed me

#

(and i used grid :D)

swift imp
#

Wait I should probably add like tags and CW to my stuff

#

mayamail is pretty fucked

nova gale
#

@carmine quarry are we loading react and mdx for no reason? :D

swift imp
nova gale
#

btw love the thorn :D

#

just doesn't really fit on my nordic ISO keyboard lol

nova gale
#

opinions to making the "all entries" section of the front page a scrollable box and moving the normal view to a separate path as i have done here? makes the landing page way cleaner and more approachable imo.

#

(ignore the astro dev menu)

#

and here is the dark mode

heady vigil
#

presumably just two different passes that I took

#

may I also ask, why are licenses spelt with a hyphen again, like: CC-BY-SA 4.0

nova gale
#

it's just a convention. the license's name is "CC-BY-SA" and it's version is 4.0

#

actually the correct format would be "CC BY-SA 4.0"

#

(CC: @carmine quarry we should probably fix the license names)

heady vigil
#

yeah

#

also CC0 to CC0 1.0

nova gale
#

true

heady vigil
#

ok but

#

that follows NEITHER scheme

#

it doesn't follow the correct format CC BY-SA 4.0
nor does it follow the identifier CC-BY-SA-4.0

vague coral
#

la o ni nanpa tu e ona >:3

true crag
#

I do want to share text of musi Tokusu / Cave Story game, but never kept track of the hundreds of lines of dialogue. (It scattered across a hundred files, one for each area of game. And safe to say it all out of order...)
-# In hindsight, I should have kept track of it from the start, may need to replay in it's entirety...

#

@carmine quarry How would branching be handled? CS has 3 (+1) endings, optional side quests, and other triggers that affect dialog...

#

Also what about writing systems? I have translations in Lasina, sitelen pona, Hiragana. And I intentionally mix writing systems within. I have one character speaking in different writing system from the rest of the game to reflect the fact that they speak in Katakana in the original Japanese.

carmine quarry
#

mdx came by default and react i attempted to use for prevnext before rewriting it in astro

carmine quarry
true crag
#

ah, sound's like something i might be able to automate to some extent...

#

like those choose your own adventure books, turn to page 12 ect...

carmine quarry
#

but if you choose to keep the writing systems ig sure whatever

#

the biggest reason for this rule is so that we done end up with every single work duplicated for latin and sp

true crag
#

Yea, that make sense. Use sitelen Lasina, and caps-lock for that one character (like in English translation)

carmine quarry
#

@true crag looked at your koton submission
the image links point to files that of course dont exist on Lapo

#

you might want to edit that to a full url

#

also you would have seen the images behave wrong before submitting? 🤔

true crag
#

nah, i dont think i can upload those cause of copyright reasons. alt text is enough... There are only 4 characters

carmine quarry
#

for sources can you think of any page online that would also have this text

#

so i can link to it

true crag
carmine quarry
#

so basically you're posting to Lapo without posting anywhere else

true crag
#

uhh yea, for now...
I should have rest of patch file done this month though

carmine quarry
#

merged

true crag
#

thanks!

carmine quarry
#

should be up on the site in like 3-5 minutes

gleaming acorn
nova gale
#

btw /2018/07/ma-sike-laso-kalama-mun is empty

bright leaf
#

@carmine quarry what is the original field for btw

#

is it for linking to other items in poki lapo or is it for any original thing it was based on

bright leaf
#

okie

#

somewhat related but for the curious as to why im not using the confucianism tag for my translation of dizigui its because although its extremely popular and cited as being a confucian text (given that it was based in part on a section of the analects of confucious), its mostly just a guy giving a brief summary of his thoughts and several qing scholars (scholars at the time of the qing dynasty, not modern scholars about the qing dynasty) critisied it for not being faithful to the original confucian ideals (especially with regard to its description of filial piety)

boreal meadow
#

Should stories from an anthology be added together or separately?

carmine quarry
#

id make the choice primarily based on whether the stories are meant to be read together or make sense in isolation, + whether they were published on the same date or gradually

bright leaf
#

@carmine quarry (lmk if you want to be notified of this in the future lol) the pr is up :) not sure if i did the metadata right so lmk if it looks good

carmine quarry
#

checking now

#

@bright leaf so for linebreaks within one paragraph markdown actually has a thing, its either \ at the end of the line or two spaces

bright leaf
#

ive always just used br HAHA

boreal meadow
#

I see that there are like a gazillion tags I can add. How many of those should I include? What details are necessary?

#

-# (like why is "moku li lon" a tag?)

#

When is making a new tag justified?

#

-# Is "detective fiction" or "mystery" needed for example

nova gale
#

I don't think it's that deep. If you feel like adding a tag, do it imo.

boreal meadow
#

I just submitted it, but I noticed that there wasn't an "original" box for me to fill even though it is a translation. Can I not add that?

carmine quarry
boreal meadow
#

Aha I see

vague coral
carmine quarry
# vague coral :3

hi you're free to make a pull request to improve the /add page. this seems entirely parallel to the work already done

vague coral
#

lon

shut flume
#

selo pi lipu https://utala.pona.la li sin

carmine quarry
nova gale
#

@carmine quarry i'd like to modify the poki bumper script so that it squashes the commits together instead of adding a new one every time. is this ok?

carmine quarry
#

so like, rewriting lapo/open's git history?

nova gale
#

not precisely, but kind of. it just wouldn't show the bumps as different commits

#

i personally don't like the thought of modifying the history, but this kind i would be fine with

carmine quarry
#

make sure it doesn't accidentally nom any other commit in between, but otherwise ye go for it

nova gale
#

ok 👍 ill also add a note of this happening in the commit messages

carmine quarry
#

someone with spoons for technical work can:

  • familiarise themselves with https://github.com/kulupu-lapo/submit/
  • fix a bug where sources isn't being split up properly
  • implement original and other fields in /add, i already have most of the code for that but commented out
nova gale
#

is the squashing only happening if the last commit message starts with "!!!This is an automated commit by the poki bumper workflow!!!" enough to ensure that the workflow doesn't fuck up the history

carmine quarry
#

good enough for me?

nova gale
#

ok

nova gale
#

pushed the workflow change 👍 hopefully doesn't break anything 🤞

#

i'll also document the squashing in open's README

#

aaaand it broke

nova gale
#

oh wait it still doesn't work

carmine quarry
#

you can merge it back when you return to it

carmine quarry
#

@heady vigil @vague coral we can have a tag for all transcriptions of live monologue and dialogue

heady vigil
#

sure

carmine quarry
#

@heady vigil @vague coral @jagged burrow @nova gale i moved the frontend to a permanent url:
https://lipu.pona.la

#

branding is up in the air

#

lapo.pona.la had more votes but from less prominent community members; compare wikipedia talk pages

heady vigil
#

yay

nova gale
#

wawa

heady vigil
#

which entries need to be marked with null again?

#

should really be put in the README schema

#

something else, does VS Studio have templates? it gave me a screen to use one as well as their stupid Copilot

twilit haven
#

(Context: I made one story written in Toki Pona and published it on this Discord)

#

It doesn't matter, just a goofy litte thing.

#

#pali-musi message

#

I wonder if anything can be added to this library or only known works.

#

Like well known.

twilit haven
#

Oh, interesting.

twilit haven