Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-8081-120121-

Hey

Name: ๐Ÿซ 2018-02-12 4:49

I'm writing a new textboard that will revolutionize all textboards!

It is being written in the revolutionary programming language called Perl

This is what i have so far:


#!/usr/bin/perl
1;

Name: Anonymous 2018-02-12 4:51

die();

Name: Anonymous 2018-02-12 15:28

BEFOREHAND: close door, each window & exit; wait until time.
open spellbook, study, read (scan, select, tell us);
write it, print the hex while each watches,
reverse its length, write again;
kill spiders, pop them, chop, split, kill them.
unlink arms, shift, wait & listen (listening, wait),
sort the flock (then, warn the "goats" & kill the "sheep");
kill them, dump qualms, shift moralities,
values aside, each one;
die sheep! die to reverse the system
you accept (reject, respect);
next step,
kill the next sacrifice, each sacrifice,
wait, redo ritual until "all the spirits are pleased";
do it ("as they say").
do it(*everyone***must***participate***in***forbidden**s*e*x*).
return last victim; package body;
exit crypt (time, times & "half a time") & close it,
select (quickly) & warn your next victim;
AFTERWORDS: tell nobody.
wait, wait until time;
wait until next year, next decade;
sleep, sleep, die yourself,
die at last

Name: Anonymous 2018-02-12 20:08

BBCODE is considered standard for the rear end

Name: Anonymous 2018-02-19 5:41

i just added a new line

my $allow_javascript = 0;

Because i dont want to support javascript at all.

Name: Anonymous 2018-02-19 6:20

I don't think perl is scalable enuff
why not write in go with redis and shit?

Name: Anonymous 2018-02-19 7:31

>>6
textboards need not be scalabale
they're gonna be used by 8 people max

Name: Anonymous 2018-02-19 7:45

>>3
I can imagine ``
spiders
'' coming from some web framework, but how is ``
moralities
'' a keyword?

Name: Steve 2018-02-19 9:07

>>8
use constant moralities => die

Name: ๐Ÿซ 2018-02-20 5:10

https://imgur.com/a/hFgdg

I added a few lines of code today

The idea:

1) Text board, no Javashit. Pure css3. I dont know how i will deal with spam without it (recaptcha) but hey, who uses textboard these days, right?

2) It might support images in a future, but you will be able to pick images from a library of attachments only specific to each board.

3) I am thinking on a way to create tweets (tweeter or gab) from here so AMAs will be possible with anons.

4) Also it will have a rudimentary way to organize mods and assign tasks to them. Just because it sounds fun to implement. I doubt a textboard needs a team of mods.


This is the DB model
https://imgur.com/a/WCWtb

Name: Anonymous 2018-02-20 5:19

>>10
Your design looks like it was made in paint.

Name: Anonymous 2018-02-20 5:31

>>11

Well, actually i was trying to make a CSS3 inspired on WindowsXP. Still needs work of course. But the actions, button locations, and icons at the top are there to stay.

Name: Anonymous 2018-02-20 6:06

>>10
Are you Mr Progrider who abandoned us?

Name: Anonymous 2018-02-20 11:55

No, that was progriders.org or something like that. I never went there after /prog/ in 4chan was closed.

This is for progriders.COM, which i own since a few years without making anything with it.

Name: Anonymous 2018-02-20 12:24

>>14
actually, the previous board was progrider.org (singular)

Name: Anonymous 2018-02-20 14:15

>>15
yes and it was a pedophile nest

Name: Anonymous 2018-02-20 14:33

>>16

How so. Is that true? People posted links to CP?

How do you think i can avoid that? (besides not doing a textboard and forget about this and going outside)

Name: Anonymous 2018-02-20 14:37

Any unmoderated dead community turns into a pรฆdo nest eventually.

Name: Anonymous 2018-02-20 14:43

>>16
was it? I remember one namefag (something @live.com I think) talking about pedo shit but I don't remember anything more than that. a single retard does not a pedophile nest make

Name: Anonymous 2018-02-20 15:30

>>19
it does when the community consists of 2 people

Name: Anonymous 2018-02-20 15:41

>>20
And both of them were pedophiles.

Name: Anonymous 2018-02-20 15:55

>>17
How do you think i can avoid that?
We should kill all pedophiles. Murdering pedos should be legalized.

Name: Anonymous 2018-02-20 18:53

dubs get

Name: Anonymous 2018-02-21 7:57

>>20
akshually, there were three: me, you (the pedo) and The Sussman

Name: Anonymous 2018-02-21 8:06

there was a colombian pedophile

Name: Anonymous 2018-02-21 8:13

there was a pedophilian reptile

Name: Anonymous 2018-02-25 18:57

Hey fuckers, pay the new fucking certififuckincate. i can only post with Lynx

Name: Anonymous 2018-02-25 23:47

>>27
It only affects freesoftwarefoundation.org. Use dis.tinychan.org.

Name: Anonymous 2018-03-17 11:28

Progress is slow, but ehmmm... progressing.

My're board is gonna be very cool :)

I was thinking, since i can not use javascript, to be able to vote up for the thread at the moment of posting an answer. What do you think, guys?

Name: Anonymous 2018-03-17 11:51

>>29
You're making a stackoverflow clone?

Name: Anonymous 2018-03-17 12:07

>>30

No, a textboard (maybe adding images later in a limited way) that works 100% well even with JS disabled.

I think voting will be good to know what threads are really good/fun and which ones are meaningless. So you can voting vote up if you care about the thread and actually make a post.

Name: Anonymous 2018-03-17 12:08

How do u throttle down voat

Name: Anonymous 2018-03-17 12:14

By controlling what is being posted? Things like "+1" and variations, or repeated/too similar messages in the same thread could be filtered as shit posting.

Name: Anonymous 2018-03-17 12:29

>>31
that works 100% well even with JS disabled.
That's not something amazing
I'm pretty sure none of the current textboard softwares require JS for anything important

Name: Anonymous 2018-03-17 12:53

>>34
The focus is 0% javascript. None. Nada. JS will be inexistant. Not even for unimportant stuff.

Name: Anonymous 2018-03-17 13:00

>>35
Still
removing the external js files in kareha for example would make it use 0% javascript, wouldn't you say?

Name: Anonymous 2018-03-17 13:29

I know there is nothing "amazing" on not using js

I just want to show that a pretty and functional website can be done with it just by pure HTML and CSS3. I think JS is cancer.

And also i want to have fun while doing it :)

Name: Anonymous 2018-03-17 16:03

I don't hate JavaScript, but they way websites use it:
1.Unescapable ads
2.Cryptocoin miners(new but quickly expanding industry)
3.Requiring to load thirdparty stat sites to work.
4.millions of shitty "frameworks" that make any webpage cost 100MB+ ram. Not everyone is on 16GB workstations.
5.Much slower loading and handling of content.Javascript handlers everywhere slow down DOM interaction and create noticeable latency even in latest Chrome/Firefox. (btw, this is the reason WebGL1/2 are getting popular as backends)

Name: Anonymous 2018-03-17 18:48

>>29,31
the only way to do this without javascript is either iframes or redirect after POSTing the traditional way

Name: Client Side 2018-03-17 18:51

JS is an AI Tutorial language.

http://theai.wiki/JavaScript

Name: ๐Ÿซ 2018-03-17 22:29

>>39
I have a way kinda of figured out. It's weird, but i think it will work.
The worse that could happen is that someone posts in a thread just to add a vote.

Name: Anonymous 2018-03-17 23:27

>>29
to be able to vote up for the thread at the moment of posting an answer.
What are you talking about? Just make it a button for a page like /vote/:threadid/:post_num/(up|down) then you can redirect them back.
It doesn't require javascript at all.

Name: Anonymous 2018-03-17 23:42

>>41
You could look at the html for seiup.net, they have an upvote button.

Name: ๐Ÿซ 2018-03-18 4:28

>>43
Moecountsystem. Well... is still a regular form button like >>42 suggested... still... i'll try to look at the source if i find it.

Name: Anonymous 2018-03-19 3:37

>>44
i'll try to look at the source
no don't, it's phpshit spaghetti code

Name: Anonymous 2018-03-19 6:52

Last screenshot, this corresponds to the catalog.

https://imgur.com/a/CUT8c

Other, but with a slightly different stylesheet

https://imgur.com/a/y6tmV

I had been trying to use a "masonry" layout but i have not been able to get what i want without JS. I have a few ideas though. The problem with the masonry layout (also called, "Pinterest layout" in some places) is that, without JS, the units flow in columns up-down.

[ 1 ] [ 4 ]
[ ]
[ 5 ]
[ 2 ] [ ]

[ 3 ] [ 6 ]
[ ]


So is a bit weird since one expects always that the order flows from left to right. Anyway, small details overall. This week the work starts on the actual posting/replies. I hope to learn a bit more about voting. This + a tag system will make for an interesting way to find good content.

Name: Anonymous 2018-03-19 7:08

>>46
JS? Just use CSS... https://sub.god.jp/f/nogrhb.png

I went with this, but you can experiment.
.outer {
display: inline-block;
width: 250px;
height: 600px;
overflow-y: scroll;
}

Name: Anonymous 2018-03-19 12:16

>>47
Thanks Anon, i already have something like this (see the 2nd image in >>46)

This is what i mean by masonty layout:
http://smashinghub.com/25-powerful-examples-of-masonry-jquery-web-design.htm

Name: Anonymous 2018-03-20 4:03

>>46
frogboard
Man fuck all the way back.

Name: Anonymous 2018-03-20 15:08

>>49

Is just a name, progboard doesnt sound good.

And i like reptiles in general.


Whats wrong with it?

Name: Anonymous 2018-03-20 15:09

>>49
I should mention that i'm doing this because of the fond memories i have from the old /prog/ board in 4chan. Progboard... mmm didnt sound too good for me, and i like frogs.

Name: ๐Ÿซ 2018-03-22 21:06

Moar screenshots (animated this time)
https://giphy.com/gifs/DBaXDRJoudsBGo93Zj

Name: Anonymous 2018-03-22 21:31

>>52
What's up with the ad?

Name: Anonymous 2018-03-22 21:35

>>53
add my anus

Name: ๐Ÿซ 2018-03-22 23:06

>>53 Just a placeholder to test css stuff. Banners are 320x50 (standard in the "market")

https://giphy.com/gifs/5tf39GgTTBPqKD2nO5

Name: Anonymous 2018-03-24 2:55

Cute site

Name: Anonymous 2018-03-24 19:01

Will you expoas a RESTful API for poasting automation?

Name: Anonymous 2018-03-24 19:54

What value does this add?

Name: Anonymous 2018-03-24 20:09

I've been meaning to do something like this except written in Go with a react.js frontend with tons of tracking and megabytes of javascript to trigger the hipster retards here who pretend like they're posting from raspberry pis.

Name: Anonymous 2018-03-24 20:30

>>58
I can spam it more easily

Name: Anonymous 2018-03-24 21:04

>>59
sounds very cutting edge

Name: ๐Ÿซ 2018-03-25 3:06

>>57

Actually i've been thinking about this. Perl Dancer, the library i'm using, makes this VERY easy. Not to post, but to read from the boards. I will try to feed data from static json files, not from DB. But this is for version 2.0 or 3.0.

>>60
As for spam, i and thinking on a reporting system. Any link will go to an interstitial page with a screenshot taken from that page. That same page will have a report button, so you wont be getting free hits to that website. Maybe a regexp functions to detect certain patterns in URL like referals. Honestly, antispam will be, i think, the most advanced and interesting part to build. Any ideas are welcome ;)

>>59
Do it with ZK. That would be amazing! Is not for Go, but for Java, which is much better! TRUE ยกยกยกยกENTERPRISE QUALITY!!!!
https://www.zkoss.org/zkdemo/grid?zkn=1

Name: Anonymous 2018-03-25 12:01

Just disable links in poasts.

Name: Anonymous 2018-03-25 12:02

Have an endpoint that will generate single use tokens that are necessary to poast and make them expire in 30secs

Name: Anonymous 2018-03-25 14:22

>>64
30 sec from page load? So if you reply to a thread after reading down to the middle/bottom of the page, it fails?

Name: Anonymous 2018-03-25 14:26

>>65
Yes.

Name: Anonymous 2018-03-26 6:59

I propose the name 'frogrider'. sounds better than 'frogboard'

Name: Anonymous 2018-03-26 7:57

>>67
Seconded.

Name: Anonymous 2018-03-26 9:28

Will it support SEXpcode?

Name: Anonymous 2018-03-26 12:00

>>69
Sexpcode is a meme. BBcode is better

Name: A camel 2018-03-26 20:08

I was thinking about authentication features.

The idea is to use cookies the least possible, and allow real anonimity, no ip tracking or recording or (permanent) sessions. So, we will keep an internal ID, and another table, to join the ID with a special code.

The user will not have an username, but rather, a key. This will be an url of the type

https://mywebsite.cool/key/7613kjksd8237643

You can store this in your favorites.

You will also asked to use a password when you access the url.

This password, with the key, will be processed and generates the special code. This code is related to the user ID.

By using this url-key the user will be able to:
-access the posts
-edit them
-change the unique name to be shown on posting (kinda like a username)
-access the profile (in the dumb case the user wants to add some personal info)
-change the email

You can reset your url-key and password by entering your email.

You will receive a special link to do this. Then you will get the chance to pick a new password and a new url-key.


The site will use cookies, but only for:
-Prefered stylesheet
-The checkbox that indicates if you prefer to post as anon or by using your name
-Catalog preferences

There will be a way to see all the posts a identified user has posted, even if he/she has changed their name.

Name: Anonymous 2018-03-26 21:08

>>71
?

Name: ๐Ÿซ 2018-03-26 22:50

>>69
still not decided. at the beggining i want to support these at least.
* Quote
* List
* Bold
* Code
https://giphy.com/gifs/ipxHSKsPxTRFbCMgix/fullscreen

Name: Anonymous 2018-03-27 6:29

>>71
This sounds exactly like tinychan (not this board)

Name: Anonymous 2018-03-27 6:31

>>71
persistent profiles connected to e-mails aren't a good idea IMHO. identity on textboards should be ephemeral

Name: A camel 2018-03-27 6:42

>>75
E-mails are optional.

Name: Anonymous 2018-03-27 8:26

What's wrong with tripcodes? Then you can have an extra page listing all poasts for a given tripcode if you need that.

Name: Anonymous 2018-03-27 8:54

>>71
just use the tripcode concept where some string is hashed and the hash is the username

you can extend it by associating those hashes in the database with stylesheets, preferences, etc.

Name: Anonymous 2018-03-27 8:56

>>78
That's exactly the same thing, except everyone can see your tripcode.

Name: Anonymous 2018-03-27 9:01

>>79
the idea in >>71 was to use a token plus a password. I'm saying just use the password (as represented by its hash, the "tripcode") by itself.

whether or not to show the tripcode can be one of the user preferences.

Name: ๐Ÿซ 2018-03-27 22:42

Name: ๐Ÿซ 2018-03-27 22:47

Basically i want to protect the user if he/she picks a shitty password

https://crypto.stackexchange.com/questions/22678/how-secure-is-it-to-use-password-as-aes-key

I'm just learning this stuff now, i'm just thinking about it while i finish other board features.

I'm planning to post an early beta soon in my machine with dyndns

Name: Anonymous 2018-03-28 0:52

Basically i want to protect the user if he/she picks a shitty password
Show a warning and/or use PBKDF with many rounds. There is no other solution.

Name: ๐Ÿซ 2018-04-17 12:08

Ok, i have this idea for the security in the site. What do you think?
Is just a small proof of concept, not the actual registration/identification procedure. So is not an actual algorithm, ok?

03E0A0CF676F1EA031A265685A552A34AB293D1852562ACB4D264YY7A16H

* An access_key is created. Is both your username and password
* On registration, a random password is created (we make sure is unique by concatenating a special timestamp)
* This random password is encrypted with your access key. used as a primary key in a table where yout personal data is stored (encrypted)
* This encrypted random password is stored in the personal data table together with the hash and the actual encrypted data
* After validating the encrypted random password with the hash, we can get the user's personal info
* The user_access_key is used as the decryption key, but this time, the salt is a fixed salt taken from the website config.

Please be nice to me. I am just learning this stuff. Please give me you're opinion.

#!/usr/bin/perl
use strict;

use Crypt::CBC;
use Crypt::PBKDF2;
use Crypt::URandom;
use Data::Dumper;

my $pbkdf2 = Crypt::PBKDF2->new(
hash_class => 'HMACSHA1',
iterations => 150000,
output_len => 26
);

#-- This is how we create the key the user will get
my $partial_user_access_key = uc $pbkdf2->PBKDF2_hex(Crypt::URandom::urandom(32), Crypt::URandom::urandom(20));
my $code = '4YY7A1'; #-- This code is generated for the user as part of the registration process. this is sent by email, with no links whatsoever. You just have to type it to register, so i kept it short.
my $extra_salt = '6H'; #-- 2 random extra characters, different for every user
my $user_access_key = $partial_user_access_key.$code.$extra_salt;

print "User access key: $user_access_key\n";
my $salt = substr($user_access_key, -8); #-- Last 8 characters in the user_access_key are the salt
print "Salt: $salt\n";
#-- This user_access_key is a decryption key
my $salt = Crypt::URandom::urandom(8);
#-- Encrypt and decrypt. This will hide the actual password.
my $cipher1 = Crypt::CBC->new(-key => $user_access_key,
-cipher => 'Blowfish',
-salt => $salt
);
my $random_internal_password = Crypt::URandom::urandom(32).time; #-- By adding time we make sure is unique (i have a way to make it unique beyond the level of the second. for simplicity i use only time here)
print "Random internal password generated. We will encrypt it with our user_access_key\n";
my $encrypted_internal_password = $cipher1->encrypt($random_internal_password);

#-- Since the encrypted_internal_password is unique we use it as an index
print "Store the encrypted internal password in a table as the index\n";

#-- We generate a hash from this internal password that is encrypted
my $hash = $pbkdf2->generate($encrypted_internal_password);
print "The hash is stored on the same row as the encrypted_internal_password\n";

if ($pbkdf2->validate($hash, $encrypted_internal_password)) {
print "hash and encrypted_internal_password do match: access granted\n";
} else {
exit(0);
}

my $site_salt = 'FR0GB0RD'; #-- 8 chars long string

my $user_id = 234;
my $user_email = 'supersecretemail@mail.com';
my $user_name = "NotSoAnonymous";

my $user_info = "$user_id\n$user_email\n$user_name";
my $cipher2 = Crypt::CBC->new(-key => $user_access_key,
-cipher => 'Blowfish',
-salt => $site_salt
);

my $encrypted_user_info = $cipher2->encrypt($user_info);

#The user personal info is encrypted. This time, the encryption key is the a combination of
#the user_access_key but the salt is taken from the frogboard's config.yml file

my @user_info = split /\n/, $cipher2->decrypt($encrypted_user_info);
print "===================\n";
print Dumper @user_info;

Name: ๐Ÿซ 2018-04-17 16:14

Fuck, i've realized that wanted to make this software since 2011.

https://archive.tinychan.org/read/prog/1301025211

Name: Anonymous 2018-04-17 19:50

what about cross site scripting?

Name: Anonymous 2018-04-17 19:57

>>86
ALERT MY ANUS

Name: ๐Ÿซ 2018-04-17 20:06

>>86
I did some manual tests yesterday to check XSS stuff. Seems safe for now. Of course i will use some automated tools in the future to be sure that the system is safe. I'm more concerned about the authentication mechanism i described in >>84

Name: Anonymous 2018-04-17 20:24

>>88
add rate-limiting for login attempts to protect against brute-forcing

Name: Anonymous 2018-04-17 21:03

>>85
Oh... i let that CMS since the installation.. .didn't touch it since day one. PS3 has many good games.
Are you still playing?

Name: ๐Ÿซ 2018-04-17 21:58

>>90
I sold it... Good machine, good times. Now i don't care about gaming anymore
>>89
You mean you don't like to be brute-forced as fast as possible?

I was thinking on relying on Cloudflare for this, using one of the free rules for this purpose.

Name: Anonymous 2018-04-18 0:14

>>91
I was thinking on relying on Cloudflare for this

I hate when people say shit like that. It's like when people say they don't need to make their website validate input or protect against XSS or whatever because ``the WAF will take care of it''. That's a lazy cop-out. Don't rely on other tools -- make your code secure without bandaids.

I'm not saying you shouldn't use Cloudflare or a WAF, as both are important. But to say that you'll leave security in the hands of third party code and services is silly.

Name: ๐Ÿซ 2018-04-21 6:35

>>84
I realized that this is all stupid bullshit. A regular user/password combo is the most sensible solution, maybe with an option for client-side certificates. I think i can still provide a decent level of "safety" and anonimity for the users.

Anyway, ... what the fuck was i thinking!!!?!?!?!

Name: ๐Ÿซ 2018-04-24 14:24

Hi all

In the end, i have a user/password mechanism now. However, your username is PRIVATE. Only in special circumstances, under your control, you can make it visible to everyone. You still have a public name, that can change anytime to anything ('Anonymous' by default)

My idea is that, in the event of a hack, anyone that gets access to the DB will have a hard time relating a username to a user_id.

user side server side
~~~~~~~~~ ~~~~~~~~~~~

$username <---> $user_id


The relationship between username and id (and email too) is on a table, but encrypted.

So, for practical purposes, when a user logs in, i keep this relationship stored in a variable in the programs memory. If there are 50000 users logged in, this structure will have 50000 elements. There is no public end-point to access this, and the only function you have available publicly is Session::who_is($username) and is used in the code whenever i need the user_id (mostly when calling stored procedures)

What do you think about this? Do you think is a secure way to do it? Of course, anyone with direct control of the machine can always explore the memory to read directly the data with the relationships, but then, it will only get the ones of the currently active users.

Name: ๐Ÿซ 2018-04-26 13:18

A recent gif with the login process and a notification for a response you got in the background

https://imgur.com/a/FTQRFIm

Name: Anonymous 2018-04-26 13:26

So you're making a hackerjews competitor

Name: Anonymous 2018-04-26 14:28

>>95
use type="password" for the input element so that it gets converted to bullets instead of showing the password

Name: Anonymous 2018-04-26 14:40

>>97
If you care about so much about this, you can use ******* as you're password.

Name: Anonymous 2018-04-26 15:00

>>98
What's with your obsession with misusing ``you're'' and ``your''?
Also, check 'em

Name: Anonymous 2018-04-26 17:22

>>99
HEY CHECK MINE ALSO

Name: Anonymous 2018-04-26 17:28

/prog/ challenge: write a bot that scrapes and parses text boards and only logs dubs! wget, curl, grep... it don't matter

Name: Anonymous 2018-04-27 6:24

>>99
your're are an anus if you think that their's is only one person writing like that. nice dubs though

Name: Anonymous 2018-04-27 9:18

>>102
fuck off autismo
dont you have a diff to write?
mother fucker

Name: Anonymous 2018-04-27 9:20

>>103
your're are an anus

Name: Anonymous 2018-04-27 9:59

reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
poast poast red cream cloan
API WIN

Name: Anonymous 2018-04-27 10:02

i maek poast on the {spoiler /prog/} board

Name: Anonymous 2018-04-27 10:02

i maek poast on the {spoiler /prog/} board

Name: Anonymous 2018-04-27 10:03

i maek poast on the {spoiler /prog/} board

Name: Anonymous 2018-04-27 10:03

i maek poast on the {spoiler /prog/} board

Name: Anonymous 2018-04-27 10:03

i maek poast on the {spoiler /prog/} board

Name: Anonymous 2018-04-27 12:18

check my dubs

Name: ๐Ÿซ 2018-04-27 12:44

Markup choice

Right now i am being inclined to a combination of sexpcode and markdown.

After trying them for a while, i found this comfortable to type. Now i am coding this and see how it goes

(All these works only on column 1)
: This will create a header (no multilevel headers. I'm keeping this intentionally simple)
+ Item List
++ Item List level 2
+++ Etc
> green text
# purple text


These are free to type anywhere
[b]
[i]
[u]
[h hidden] (AKA spoilers)
[sup]
[sub]

[code(end='\n]')
some source code
]

Yes, some will have parameters. In the case of code, end is showing the default value for it, meaning that a new line plus a closing ] indicates the end of the code block. Notice that there is NO space between code and the opening parenthesis.


[do action]
This will allow your post to trigger some specific action on posting. Example
[do dice]
This will throw a 6 side dice and print its value. (A nice replacement for trips i guess)


>>1 Points to post1
>>1:2 Points to heading 2 in post 1
>>1.3 Points to paragraph 3 in post 1


[table(title="this shows some data" separator="|" header="1" start="[" end="]")
[Column 1 | Column 2 | Column 3]
[ data1 | data2 | data3 ]
[ data4 | data5 | data6 ]
]


Since this has no JS there is no way to do markup except by typing it. So is imperative to keep it as simple as possible with sane defaults. Like >>1 for quick replies

Name: Anonymous 2018-04-27 12:49

>>112
why this weird sorta-bbcode-sorta-sexpcode instead of either one or the other? bbcode has [tag]value[/tag], sexpcode has {tag value} and for some reason your're are board will have [tag value]

Name: ๐Ÿซ 2018-04-27 12:59

>>112
I fucked up here:

it is this
[b bold]
[i italic]
[u underscore]
[s strike]
[h hidden] (AKA Spoiler)


Also, you can close all opened tags quickly with []

[b [u [i hello[]

Name: ๐Ÿซ 2018-04-27 13:02

>>113
I think that [ is much more different than ( visually, and (in english keyboards) is easier to type.

Name: Anonymous 2018-04-27 13:50

Just use Markdown. Nobody wants to learn a millionth markup language.

Name: Anonymous 2018-04-27 23:36

>>116
I do.

Name: Anonymous 2018-04-27 23:43

>>117
The average /frogrider has very different opinions from what the average person.

Name: Anonymous 2018-04-27 23:55

I considered getting into Perl but someone told me it was shitty ancient language destined for total extinction. I suggest you follow the same advice and rewrite it in FIOC or something.

Name: ๐Ÿซ 2018-04-28 0:40

>>119
Well.... it still get the job done, and is pretty good for it. Perl Dancer2 is amazing! Is not shitty nor ancient at all, though i wont use it for any systems that requires an object oriented design. The Moose and Mouse libraries are awful IMHO.

The good side of perl today, is that is one of the best paid languages. Unveliebable right? But it is true today.

I'm moving on to Perl6 for my next project's backend. I have my goal set very high ;)

Name: Anonymous 2018-04-28 4:38

Perl is like the twitter of programming languages. Very short and sweet.

You can have some 20 character perl script -- pretty much impossible to read unless you're the author -- and it's the equivalent to like 500 lines of Java.

But it's not aging very well. Sites with .pl in the URL (for a file, not the ccTLD) usually look like they were designed in 2001.

Name: Anonymous 2018-04-28 9:20

Camel-kun, can I contribute? I know Java and I can consume a REST api and the create a mobile client for your web sight.

Name: ๐Ÿซ 2018-04-29 20:26

>>122
Sure, anon, but i am still far from defining an API. I need a decent open beta first to test my current design.

I have finished the design of the markup. I leave it here for you to comment. The coding of the parser is going pretty well! 5 passes of regexps gave me almost everything i needed ๐Ÿ˜Ž

Frog-mu v0.1
https://imgur.com/5OiGAv3

2 Examples
https://imgur.com/a/83ZdlTc

Considering that the board will not have JS, i tried to think in something that was robust and quick to type. There are a couple or more constructs i'm working on (like a greentext block, and a special spoiler block) but in general this is a good description of the markup. An image markup and external links block are missing, and this is intentional.

And yes, i am thinking on support BBCODE later, and Markdown, there are perl modules for that already so integrating them should be easy. But this is going to be the official markup.

Name: ๐Ÿซ 2018-04-29 20:42

>>123
Some clarification about the "align left"", and asking for help too. The name in the table says "align left" and it shows aligning right because i still have not decided HOW to call it. See, there is NO PURPOSE in aligning left UNLESS, you write in a language where aligning right is the default, so the picture is just a reflection on what i'm thinking now. Now, for the question:

How would you call it? I only have these ideas: ALIGN OPPOSITE, INVERT ALIGN, ALIGN FRONT.

Name: ๐Ÿซ 2018-05-02 5:24

This is a sample of the current incarnation of the markup.

https://imgur.com/a/a2SPAFS

Name: Anonymous 2018-05-02 6:53

please don't make me learn another renegade markup language
please support sexp code, it is powerful, expressive, and nonverbose

Name: Anonymous 2018-05-02 7:52

>>126
It's also a bitch to parse, because you have to keep a table of all identifiers and their arity to tell the text part from the arguments. Some kind of delimiter between the arguments and the text would have helped.

Name: Anonymous 2018-05-02 8:19

>>127
that's unpythonic, don't make things unnecessarily complicated to use

Name: ๐Ÿซ 2018-05-02 12:33

>>126
But, is similar to sexpcode!!!! Except for function composition, i tried to mimic it's general structure.

this is some markup

Just compare BBCODE vs this one...
[o][b]this[/b] [i]is[/i][/o] [u]some markup[/u]

VS

[o [b this] [i is]] [u some markup]

I left the function composition out because is just markup. However, i plan to use a very simple "parametrization" of some tags in this general form.

[x(flag1 flag2) contents of the tag]


--------------------------------------------

Examples
For the Table construct:
[t(separator-semicolon)
header ; header
data1 ; data2
data3 ; data4
]



For the spoiler tag
[h(reveal) a special type of spoiler]
[h(blinds) another type of spoiler]

Name: ๐Ÿซ 2018-05-02 12:34

>>126
But, is similar to sexpcode!!!! Except for function composition, i tried to mimic it's general structure.

this is some markup

Just compare BBCODE vs this one...
[o][b]this[/b] [i]is[/i][/o] [u]some markup[/u]

VS

[o [b this] [i is]] [u some markup]

I left the function composition out because is just markup. However, i plan to use a very simple "parametrization" of some tags in this general form.

[x(flag1 flag2) contents of the tag]


--------------------------------------------

Examples
For the Table construct:
[t(separator-semicolon)
header ; header
data1 ; data2
data3 ; data4
]



For the spoiler tag
[h(reveal) a special type of spoiler]
[h(blinds) another type of spoiler]

Don't change these.
Name: Email:
Entire Thread Thread List