[ home ] [ site / arch ] [ pony / oat / ef ] [ rp / fan ]

/site/ - Site Issues

The board for discussing site related issues, questions, concerns, and suggestions.
Name?

This field is optional. You can choose any name you want, or you can post anonymously by leaving this field empty.

Tripcodes are a way to identify yourself between posts without having to register with the site. To use a tripcode, enter your name as ‹name›#‹key›.You can choose anything you want as the key—it is private and will never be shown to other posters or stored on the server. For example:

Rarity#bestpony → Rarity!.4PK7yxdII

If you want a tripcode containing specific words, you can download a program designed to search for tripcodes, such as Tripcode Explorer.

Email?

Entering an e-mail is optional.

There are also code words you can enter here which perform certain actions when you submit your post.

  • sage — lets you post without bumping a thread.
  • nonoko — uses the original post behavior to redirect to the board index.

These can be used at the same time as an e-mail address by typing ‹email›#‹action›.

You can also use Skype names in place of an e-mail. The notation is the same as a link to a username on skype itself, which is skype:‹username›

Subject
Comment?
Giving emphasis
[b] Bold [/b] Ctrl + B
[i] Italic [/i] Ctrl + I
[u] Underlined [/u] Ctrl + U
[s] Strikethrough [/s] Ctrl + R
Hiding text
[?] Spoiler text [/?] Ctrl + S
[h] Hide block of text [/h] Ctrl + H
Special
[rcv] Royal Canterlot voice [/rcv] Ctrl + K
[shy] Fluttershy voice [/shy]
[cs] Comic Sans [/cs]
[tt] Monospaced [/tt]
[d20], [4d6] — Dice rolls
URLs and linking
Link to a post on the current board
>>1234
Link to another board
>>>/pony/
Link to a post on another board
>>>/pony/1234
Hypertext links
[url=https://www.ponychan.net/] Ponychan [/url]
File
Options
Password?

This field is for editing and deletions.


Homepage stuff Country code: ponychan.png, country type: customflag, valid: 11366

I know you guys have been waiting awhile, but we've mostly been getting tech stuff settled before going forward with anything else.

We're updating the board descriptions and staff info to reflect some recent changes.

Chewy [Element Of Fortitude]!MUSIC.FbVYCountry code: ponychan.png, country type: customflag, valid: 11408

the thread watcher is broken

Chewy [Element Of Fortitude]!MUSIC.FbVYCountry code: ponychan.png, country type: customflag, valid: 11419

>>11408

still not working...

Fen!!Shining ArmorCountry code: ponychan.png, country type: customflag, valid: 11426

File: 1490996835951.png (152.31 KB, 703x717, 130533218141.png)

>>11419
>>11408
We're aware, probably something i did.

Chewy [Element Of Fortitude]!MUSIC.FbVYCountry code: ponychan.png, country type: customflag, valid: 11461

alright I'm not trying to be a dick but it has been 24 hours and its still broken

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11462

>>11426
Someone probably turned it off by accident.

ssh into the server, cd into client-core > watcher folder and run 'npm start'

Country code: ponychan.png, country type: customflag, valid: 11464

File: 1491066771187.gif (1.37 MB, 276x299, zeke enters the thread.gif)

Fixed.





why the hell does this rely on node.js??

Chewy [Element Of Fortitude]!MUSIC.FbVYCountry code: ponychan.png, country type: customflag, valid: 11465

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11466

>>11464
I think the thread Watcher was actually one of the earliest usages of nodejs. The usefulness of that module in particular has to do with the fact that its just a JS api. The user requests some data about a bunch of threads and the back end creates a JavaScript object in JavaScript that gets stringified to JSON and the client parses it with JavaScript. Macil was expanding on the node environment in the rising popularity of the new ecmascript 2015, 16, and probably 17, syntax, which adds lots more utility to JavaScript as a language with wide purpose. The client end JS already was finished for the most part, but usage on the server end was in a hybrid phase and most likely still is.

Country code: ponychan.png, country type: customflag, valid: 11469

>>11466
So it wasn't originally a part of TinyBoard, and was just tacked on?
This post was edited by its author on .

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11473

>>11469
Original tinyboard had no nodejs environment. It resembled a typical php architecture.

Country code: ponychan.png, country type: customflag, valid: 11474

>>11473
I know, I was asking if the node.js watcher module was used because Tinyboard lacked a thread watcher and Macil didn't feel like porting it to PHP?

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11481

>>11466
The thread watcher on the old site was changed to have a JSON-based API by Orange too, the original just served HTML. But that's not helpful right now.

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11483

>>11474
Tinyboard, at that time when MLPchan was made, did not have a thread watcher. Macil made it from scratch.

Country code: ponychan.png, country type: customflag, valid: 11491

>>11483
Then why not just write it in PHP to avoid adding a potential point of failure?

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11504

>>11491
If I had to guess it'd be "I want to play around with node.js, here's a project I can use it on!"

Country code: ponychan.png, country type: customflag, valid: 11507

>>11504
That just seems kind of dumb. The JSON API might have a thing for watched threads to avoid this kind of thing in the future.

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11508

>>11507
It depends on if you think it's just a hobbysite for you to play around with or a piece of software that should be an optimized end product/user experience. Judging from a lot of the decisions on implementation, I'd guess that Macil felt it was the first. Which also explains his historical dislike of other people working on it.

Macil!/5s/TechmkCountry code: ponychan.png, country type: customflag, valid: 11513

>>11464
I picked up node.js around the time the site was getting ddosed a lot. It interested me that it could handle more connections, and that it could also handle websockets which I was considering using for quicker/more efficient thread updating. Also I was pretty desperate to make a part of the codebase that didn't share Tinyboard's total lack of unit tests and static types. Black Butterfly did a similar thing of implementing new functionality into a separate node.js module back on Efchan; having multiple modules power a site is a pretty popular practice. I documented the different modules in the repository's readme. Sorry if you didn't receive that before being dropped into the server.

>>11508
What does this ridiculous speculation get you, Anthony? Is the only way you know how to make friends to try to create common enemies out of people?

The Person Who Posts As Fluttershy (Element of Self-descriptive Usernames)Country code: ponychan.png, country type: customflag, valid: 11514

>>11513
that's not thon though.

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11516

>>11513
I'm not Anthony. I've never actually had a name on Ponychan, so making friends is right out the window. I don't even think what I said was particularly demonizing, it's just a different, common, programmer/tech admin mindset than people probably expect that matches what I've seen.

Macil!/5s/TechmkCountry code: ponychan.png, country type: customflag, valid: 11517

File: 1491694372881.jpg (59.67 KB, 500x460, luna-8.jpg)

>>11514
Man, well you know that's generally been a safe guess here on /site/ anyway. I think I won't bother buying any lottery tickets soon.

>>11515

Not here. Good luck with your game of pony thrones.

>>11516
It fit his pattern, and the part about disliking others working on it was aggressively off the mark. I've had good experiences working with most of the others I've developed with.
It is true I rejected some patches that weren't fully up to par from someone. Some of the patches I did refine and merge later. The work wasn't discussed with me beforehand so I wasn't able to provide feedback early as the work was being done when it would be easiest to address and before the problems compounded. I find it disingenuous how some have chalked that up to that I just don't like working with people since then.
After that I did make efforts to reach out to work more closely together, I've fleshed out the documentation on the codebase, and made the codebase use automated code testing tools that anyone could use while developing so many problems could be spotted locally as they work instead of having the problems only be found by the maintainer after they send a completed patch over.

Country code: ponychan.png, country type: customflag, valid: 11518

>>11513
>It interested me that it could handle more connections, and that it could also handle websockets which I was considering using for quicker/more efficient thread updating.
I'm not very familiar with Node.js, but is it possible that nginx could be more to blame for that?

Also, at some point I'm thinking of replacing the PHP with gochan when it's more mature, while keeping a lot of the JavaScript.

Macil!/5s/TechmkCountry code: ponychan.png, country type: customflag, valid: 11519

>>11518
nginx, node.js, and go work similarly in that they all let one process/thread handle many connections. PHP has to dedicate a whole process to each connection. But honestly with the existing load the performance of PHP is nearly a non-factor. It's really only important if you want to add very-heavily-used dynamic pages or do anything with websockets, which I wanted to leave the door open for.

I had pie-in-the-sky plans for replacing all of the tinyboard php over time in an incremental fashion, but never got too far. I'd just recommend you do it because there's specific design decisions/trade-offs in the tinyboard codebase that you're trying to get away from, not just because you want to replace it with your own thing, and figure out the good patterns from it (caching, templates, etc) that are worth repeating.

Country code: ponychan.png, country type: customflag, valid: 11520

>>11519
Go has a lightweight thread system called goroutines. Gochan doesn't handle them directly because it doesn't need to, but I think the net/http package uses them.
I don't know if you've ever used it, but gochan already has a lot of good stuff going for it. Go's standard library has a template package which Go uses for static pages (front page, board pages, thread pages) and will eventually use for mod pages that require more than just a few lines (e.g. the login page). I'm not too familiar with caching but gochan.org uses CloudFlare to handle all of that. Go is fast enough for me to not worry too much about caching templates.

Country code: ponychan.png, country type: customflag, valid: 11534

File: 1492106109003.png (143.41 KB, 600x594, 680195__safe_solo_sweetie+bell…)

I guess I should have unstickied this, since it's already been fixed.

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11535

>>11534
/fan/ and /pic/ are still listed in the board-specific rules section, just a heads up

## ModCountry code: ponychan.png, country type: customflag, valid: 11536

File: 1492106859792.png (116.74 KB, 934x718, annoyed.png)

>>11535
Poopy, I suspected I might be forgetting something. That's why I didn't lock the thread.

## ModCountry code: ponychan.png, country type: customflag, valid: 11537

File: 1492106966995.gif (32.91 KB, 180x226, 131546 - animated Friendship_i…)

>>11535
Wait, /fan/ still exists. Why would I remove it?

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11538

>>11537
my mistake

## ModCountry code: ponychan.png, country type: customflag, valid: 11539

>>11538
I removed /pic/, and I'll have Fen rebuild the font page. Do you see anything else that needs to be fixed?

AnonymousCountry code: ponychan.png, country type: customflag, valid: 11540

>>11539
the news box at the top could stand removal, other than that no

## ModCountry code: ponychan.png, country type: customflag, valid: 11541

>>11540
Alright. I think Fen also has to do that, since that's done from the mod dashboard rather than the template.

## ModCountry code: ponychan.png, country type: customflag, valid: 11542

File: 1492107811906.png (1.04 MB, 1366x768, I declare that this cannot go …)

>>11541
I mean, I could just remove the MySQL entry, but my luck I'd probably break something.

hiCountry code: ponychan.png, country type: customflag, valid: 11545

File: 1492157123163.png (119.02 KB, 956x1324, 137587581282.png)

>>11542
Set up a development environment then...

Country code: ponychan.png, country type: customflag, valid: 11547

File: 1492189419212.png (156.34 KB, 334x374, 1403442130490.png)

>>11545
Macil helped me set one up, but I'd rather get it done on the server now.


Delete Post [ ]
Edit Post
Posts on this board may be edited for 2 hours after being made.
[ home ] [ site / arch ] [ pony / oat / ef ] [ rp / fan ]