[ prog / sol / mona ]

prog


How can I run my own instance of this

42 2020-02-20 06:31 *

>>41

While I cannot yet pull the new code since it has not yet made its way into the gitlab repo

It's a quickfix, just to get the instance running. I don't have a local instance of SchemeBBS anymore (SSD failure) but I will commit the changes anyway. I'm setting everything up right now to work locally. I'll probably face the same problems that you will in order to have everything running. It seems that porting to MIT/GNU Scheme 10.1 won't be that easy: a lot of things have been removed.

bbs.scm:posts-range needs its own strict parsing validation regardless of the changes to lib/markup.scm:quotelink

No more user input fed to iota at least. You'll still get 500 errors if you try to forge something like https://textboard.org/prog/39/30---,,,---,,,---30

There's no validation in the router, except that the thread part must be a number:

((,board ,thread ,posts) (integer? (string->number thread)) (view-thread board thread posts)

I'm working on the 500 errors from bbs.scm:posts-range.

I actually had a longer series of stress tests planned

We badly need those. Now is the time. I have to deploy SchemeBBS myself, so I can help you with that, too.

in a local MIT Scheme REPL without having to go full nginx, which I'd rather avoid

At one point it worked entirely without nginx, but the server.scm is so primitive that you definitely cannot expose it directly (I had to fix an awful bug in it that allowed anyone to kill the instance very easily). Also, for performance reasons nginx serves directly all the static files.

> vi vi vi the editor of the beast
Since your views align with rms on this point, one wonders why you chose the MIT license over (A)GPL for SchemeBBS.

The vi thing was more a joke than anything else. I'm more productive in emacs for big projects (once it is all setup) but to edit a small file on a server nothing can beat vi in speed. I happily use both editors.
I could really change the license in honor of Richard Stallman. I didn't put much thought in that choice: MIT Scheme, MIT License. But let's not forget it's actually MIT/GNU Scheme. The thing is that I'm not very knowledgeable on licenses and their mutual compatibility. Some files that are not mine are needed to run scheme.bbs (the files in /deps and I made changes to some of theme). Would the AGPL license allow me to redistribute them for instance?

301


VIP:

do not edit these