[ art / civ / cult / cyb / diy / drg / feels / layer / lit / λ / q / r / sci / sec / tech / w / zzz ] archive provided by lainchan.jp

lainchan archive - /λ/ - 19458



File: 1476745594389.png (225.77 KB, 256x300, 1450286163448-2-tech.png)

No.19458

Anyone else working on an imageboard or textboard engine? I remember that we had a thread like this in the past. What are you working on, what languages are you using, what are your goals?

I'm currently updating futallaby as a fun little project. So far I've made it html5 compliant, added cap codes, image replies and bans, made styles switchable, and I probably did some more that I've forgotten. It's been pretty fun so far.

  No.19460

I was in talks with kalyx about replacing vichan with my software, which was a derivative of another project I was working on. With appleman wanting to improve vichan instead, I lost interest and am now simply writing the software I was originally intending to.

Regardless, it's still been several weeks since I've worked on it. Once I get started again, I'll probably write much of it in one sitting.

  No.19462

File: 1476750796403.png (231.96 KB, 150x200, bbs.jpg)

I am not currently working on anything imageboard related, but I have considered figuring out a way to do a text/imageboard using Gopher and Telnet/SSH BBS software as optional gateways. More or less would work like standard imageboard software for average users, but also able to be accessed and posted to/from a Telnet/SSH BBS, and accessed read-only from Gopherspace (there's a way to do posting with the Gopher protocol but it is hacky at best). I have an old DOS machine that is capable of going online (but not enough memory for modern web browsing as we know it) that I would like to get some use out of other than retro gaming, and that is the primary reason for it.

Pic isnt mine, but more or less what I'd want to be able to do.

  No.19463

The guy on 4taba.net wrote up his own imageboard software in Python. You could probably ask him about some specifics.

  No.19465

>>19458
Some lainons are working on https://gitla.in/lambda-bb/lambda-bb (in haskell)

  No.19466

I wrote my own, rewrote it several times actually, because it was my first web development project. It's written in Ruby, not using Rails though. It's pretty basic, but at least it's pretty simple.
Right now it's running on a server, it serves as a place for my group of friends to dump cute pictures.
I'll be writing another one over the next few months when I'm done with some other things for usage in an imageboard-like website I'm coming up with right now. I'm not sure what to write it in. I was thinking about Crystal, since Kemal just added support for multipart/form-data forms and I've been itching to find a good use for the language, but I'm kinda burnt out on Ruby and Ruby-like languages right now. Maybe I'll try writing it in Ur/Web, even though I don't fully understand the language yet.

  No.19467

The entire thing should be redesigned.

The threads shouldn't go away. There should be no opening post or image, just a "subject" header. Individual posts can then have one of those threads as its owner.

Threads should be eternal, like a circular buffer. Old posts just go away, disappearing from the top, while new posts get added to the bottom.

Post deletion should take thread popularity into account. It should be intelligent like a garbage collection scheme. Keep more posts if thread is active, delete more otherwise. Well-quoted posts are deleted later, lonely posts are discarded quicker. Automatic moderation? Inhibits feeding of trolls?

Since threads are so lightweight, they can linger for a long time if not forever. Same reasoning about text of posts as opposed to their attached files. Might still want to allow them to be GCed though, in order to defend against denial of service attacks. Maybe trigger an aggressive GC if some hard server limit is reached.

Structure of the chan:

>posts contain text and files

>threads collect posts in a given topic of conversation
>boards collect threads about a certain subject

Generals must be done away with:

>generals collect posts about a certain subject


They're conceptually the same as a board. If generals start showing up, its a sign a more specialized board is needed.

Have a good API from day one, and ship with a built-in extension.

When starting a thread, search all other existing posts automagically a-la StackOverflow. Show users something, anything that matches. Exact or near exact subject match prevents thread creation

  No.19473

File: 1476785192127.png (128.95 KB, 180x200, Screen Shot 2016-10-18 at 12.05.35.png)

OP here, my project is at https://github.com/knarka/fikaba

Didn't post the link in the OP to avoid coming over as too spammy.

Added public bans, by the way, pic related

  No.19480

File: 1476799855374.png (142.69 KB, 200x138, Screen Shot 2016-10-18 at 16.10.08.png)


  No.19482

>>19462
be sure to give us an update if you end up doing it, sounds very cool

  No.19499

>>19462
There's a few ssh textboards out there, written by people from sushichan IIRC.
https://neetcode.org/chibi/sshchan
https://github.com/Undo-all/sshchan-functional

  No.19504

>>19467
>The threads shouldn't go away. There should be no opening post or image, just a "subject" header. Individual posts can then have one of those threads as its owner.

This is basically how most board software handles it, really. Posts all have a number of the post they reply to. If that number is 0, the post is an OP, if it's not, than it's a reply to a thread.

  No.19528

File: 1476956034004.png (216.3 KB, 150x200, nanoboard.png)

Hello, this is my first post here. Just wanted to share my thoughts with you.

First I definitely agree with >>19467
>The threads shouldn't go away.
>Post deletion should take thread popularity into account.
My idea was instead of using popularity, rank by the "average time" of each threads. The reason was to prevent the bubble effect you see on Reddit where increased rating leads to more and so on. The other option was to use the popularity derivative but using the average time also have the advantage of smoothing bumps, so threads don't jump randomly on the top of the list or suddenly get deleted. Also, new threads are easier to bump as it promotes new content without artificially shortening threads lifetime.

>When starting a thread, search all other existing posts automagically a-la StackOverflow.

Also, I thought about merging automatically similar threads instead of deleting them or preventing their creation.


So, I started programming a board (now canceled, it's not an imageboard, at the beginning my target was development teams and random social groups) with a tree-based hierarchy approach and minimal design.

But on second thought I gave up on trees and now am working on a more graph-based design. Exactly like chans, where posts, a.k.a nodes, can have multiple parents and childs. This latter design will completely remove any kind of sorting, even time. So basically nodes will be visually mapped similarly to http://wikiverse.io/.

The canceled board sources are here: https://aww.moe/4jw22n.zip (C part is ugly and wasn't mean to last)
Demo: http://nanoboard.ga/

  No.19602

File: 1477256283699.png (1.13 MB, 141x141, textboard.webm)

>>19458
Been working on a textboard engine in Python (Flask specifically). Development's going really quite quickly.

I started on sat morning, it's now sunday night. I've got:

* Threads.
* Replies.
* Bump system.
* Greentext
* Post linking.
* Admin dashboard.
* Board creation/deletion.

I've still got a long way to go, but I'm enjoying it so it shouldn't be too painless.

Any advice/suggestions are welcome.

(Here's a webm of the thread/board deletion)

  No.19710

>>19602
I want update about this project if possible

  No.19711

I was about to start work on a federated textboard: The idea is that it asks for the top N threads from all of its peers, and sorts them all by last post time. If the client asks for a thread hosted on another server, their connecting server forwards them to it.

For now it's pretty much just a sketch on paper, as I haven't written the code yet (I'm planning on writing in Scheme). There are probably a ton of architecture issues, too. But it should be fun.

  No.19726

>>19710
Still been working on it, mostly just adding admin/moderation tools.

I realised that my way of doing DB communication (raw SQL queries) should probably be replaced with an ORM library such as SQLAlchemy. So now I've to rewrite all the DB stuff in to models and such, that might take me a while.

  No.20013

File: 1478465197781.png (48.08 KB, 200x122, Screen Shot 2016-11-06 at 21.43.14.png)

Just added oekaki support to my engine. I wrote my own plugin, since none of the existing ones seem to do it right. They're either written in java or they depend on jquery.

  No.20095

File: 1478828842916.png (311.47 KB, 200x100, vrlady.jpg)

>>19458
How would a virtual reality imageboard implementation work?

  No.20097

>>20095
Well, there'd still be a need for a physical keyboard (the only thing worse than typing on a cellphone is typing on nothing), but since the people who design imagboards are massive nerds, the UI will likely be inspired by Minority Report.

Unless, of course, it gets implemented after somebody builds The Metaverse. Because who are we kidding, it may not catch on, but somebody's gonna do it.

  No.20101

>>20095
you can already browse lainchan or any ib on janusvr

  No.20117

I used to go to Barbelith, back when it was briefly the coolest place on the internet, it always looked great, but the coding was a piece of shit. Tom Coates was never very interested in his own creation, and would go months in between visits. He'd written the code so only he, the admin, could ban people, so the mods he appointed were reduced to basically trolling users they didn't like by moderating their posts. The proto-SJW assholes he picked for the job soon escalated to moderating anyone who disagreed with them, and turned the Lith into Tumblr Echo Chamber 0.5, the playable beta for what the rest of the internet has turned into since.

It wouldn't have come to that, but one asshole calling himself The Knowledge got kicked, sperged out and after figuring out Coates' broken code, made hundreds of sockpuppet accounts and spammed endless arguments between them, even pretending to be Grant Morrison, the guy the board started as a fansite to. Coates appointed the two biggest Lawful Evil PC shitlords on the board as mods, and they closed the board to new members, and hassled the remaining ones for EVER bringing up a subject that had already been discussed, EVER going off topic, or EVER being out of step with the board's left-wing politics, or any conversation they didn't deem of worth, all in the name of MAINTAINING QUALITY. Eventually everyone just drifted away.
There were a couple attempts at creating a new Lith with a real back-end, but they never took off. There was Panopticon, and Plasticbag, and one was hilarious in retrospective because it was branded INTELLIGENT CONVERSATION, with a big empty chat area underneath. Yes, intelligent conversation is dead.

It was frustrating, because Barbelith was supposed to be a social experiment in distributed moderating power, you needed a consensus to approve any moderation, which sounds good in theory, but it just led to power-cliques who would always approve each others' actions on a quid-pro-quo basis. Like I told them, they'd just traded Judge Dredd politics for Science Council Of Krypton politics.

There was supposed to be more evolution of the power structure, but like I said, Tom Coates had all the power, couldn't share it without a lot of coding he either couldn't or wouldn't do, and the broken board couldn't defend itself against one determined stalker-troll. The place turned to shit because the mods went full Homeland Security against the terrorist, which is ironic because at the time they were all crying about Dubya Bush doing almost the same thing.

  No.20118

>>20095
I'd like a virtual art museum, or a Star Trek bridge, anything that would let you browse the catalogue and shuffle and search easily.

It'd have to be vapourwave as FUCK, with dophins and silver balls and pyramids out the ass.

Something like the boardroom from Argon Zark.
http://www.zark.com/pages2/az50.html

  No.20122

>>20095
a bunch of rooms filled with "avatars" where each avatar is a 12 year old boy with a green face and the "no image available" text, unless you happen to be a tripfag, in which case the text is the trip.
You'd pretty much only be able to say racial slurs and [unrequested opinions on israel???]

  No.20124

>>20122
> a bunch of rooms filled with "avatars" where each avatar is a 12 year old boy with a green face

I read this scrolling past without seeing what it replied to and had a very strange image of some Peter Pan fantasy resort for billionaires with "unique" sexual tastes.

  No.20223

>yet another php imageboard

why not django + js?

  No.20224

>>20223

cuz some ppl don't use js

  No.20225

>>20224
so why not make a no-js fallback so you can still post with no js?

  No.20226

>>20225
Then why bother with js at all if you can post with out it?

  No.20228

>>20226
to make it super cool for people that use js obviously and just cool for people that dont use js

  No.20229

wish I could find modern imageboard written in django that would not be spaghetti code so I can develop it

  No.20235

>>20223
I just wanted to fork futallaby, which is written in php. it's not a beautiful language by any means, but it does what it's meant for pretty well.

also, no idea what you mean with the '+ js' bit, don't think I've ever encountered an imageboard without it; even futaba uses javascript. have you ever done web dev before?

>>20229
why not start one yourself?

  No.20241

>>20235
cause I have no idea how to plan it and what are good practices as I have no experience in django
it would be probably so soykaf and spaghetti code it would be better to download any 5years old+ python engine off github
or maybe I could learn django this way?
good point

  No.20243

>>20241
the only way to learn programming is actually doing it. everyone's first projects are complete soykaf, it's just a part of the learning process. I'd say go for it

  No.20536

https://github.com/bakape/meguca
what are your opinions lains?