/qa/ - Questions and Answers

Keeping the community together by giving you a voice

If you want to see the latest posts from all boards in a convenient way please check out /overboard/

By clicking New Reply, I acknowledge the existence of the Israeli nuclear arsenal.
Select File / Oekaki
Password (For file and/or post deletion.)

Bugs you found, and changes I made
## Admin
Bugs you found, and changes I made

Just thought I'd create this thread where you can post any bugs or problems with the site you encounter. And also for me to post any big changes I made.
28 replies and 9 files omitted.
>>5936 →
>But this will eventually break without action in a near future.
That's an opinion and speculation.
>The ground will have to be disturbed to make that hole now.
No need. Everything is fine.
>Else in the future 'quakes and shifts will tear apart what is loved by everyone.
Aaaah, that eternal pessimist.
>and is relatively light compared to the future clusterfuck incoming where it'll be all hands on deck
Again poner, relax, friendship will prevail.
6026 6032
Not my post actually, I was citing it to suggest that theres more perspectives than mine, the people touting friendship while telling me to kill myself which totally isnt staff btw, and the
>pic related
This could have been resolved years ago, simply by making the words in the policy page true. Whether means amending the policy OR adhering to it IDGAF. And no, 'Nah' isnt an acceptable response.
6027 6028 6033
>over the top insistence
>hyper sensible aka thin skinned poster
>unreasonable expectations
>And no, 'Nah' isnt an acceptable response.
To keep yourself fixated in a meaningless policy page is absurd. There so much shitposting to make and so many ponies to post.
Wait, the policy page really is meaningless? The policy page is supposed to be a place where the staff make promises to the users, promises they intend to keep.
Yah dun fucked up
6031 6033
>Wait, the policy page really is meaningless?
It is for me, as I do my duties regularly and I do not cause trouble to my fellow poners.
In other words, I'm not a troublemaker and therefore I do not need to check myself or others against the site's policy.
The reason why is that there is zero reason not to change the policy page.
So yes it is 'useless' but that's with any given value. Changing it seems like a watse of time and if it is What the fuck is all the fuss about? Like dude it's three lines at most to reflect the new current situation. I understand throwing of invaders, but if it's useless give me a break.
I'll write the damn thing by copy and pasting what's been said in the various threads.
Yes, but that's how trouble starts in paradise. Whatever since it doesn't matter I'll just post the 'new and improved' html in the change thread or something later.
You know, some of us agree that the policy page needs to be fixed, but you shitting up other threads like an autist is counterproductive.
That's a really bluepilled response too though, ngl.
Shitting up threads is one thing, but acting completely complacent is another.
The policy page is absolutely meaningful.
Shitposts is not exposure. You are absolutely not helping anyone like this
I'll be happy to rest my case when the situation is resolved. I've already lost friends and acquaintances over this. Aside from the occasion zing, if you think this is fun for me you can divest yourself of that idea
Your shitposting has already effectively derailed threads that were actually about amending the policy page, and plenty others. Don't kneecap other posters' discussions for whatever it is you're trying to do.
People want a discussion about the policy page? Sweet, can it happen now?
I wanted that. I still want that. I want it done productively.
Make another thread.
6165 6171
Minor bug or 'feature'.
Posts that are wrapped in color change the message to that color or effect. Currently seem harmless.
>>6154 →
>>6154 →

>>6154 →

>>6154 →

## Admin
Thanks. I will look into it and find a fix.
## Admin
Should be fixed now
## Admin
6182 6261
Added option to do color gradients, color cycle and color shift on text. More detailed information on how to use these new options can be found in the Help section of [options] dialog.
Color gradient (using colorgadient or gradient)
Color cycle (using colorcycle or cycle)
Color shift (using colorshift or shift)
The effects might be subject to slight changes and tweaking if deemed necessary.
6232 6263
could the oekaki tool be updated to take advantage of the emojis as stamps and also dice rolls somehow?
## Admin
I have been trying to look for a better oekaki tool, but been unsuccessful in my searches, but been a while since I last looked. I will do a new search and test out the ones I find; could be that a new search will yield something that is usable, or that I will concede and sit down and try to make something. But making one from scratch is less likely as it probably will take a bit more work than desired, and would result in less paint tools than the current one has.
Not sure what you mean regarding implanting a diceroll into a paint tool.
im thinking that perhaps it would work by you placing a dice roll on the regular post box and then being able to tie the results of that roll to a "stamp"(more like placeholder) that you can place on the oekaki, and when you make the post it rolls and places the result both on the oekaki and the text post itself
also being able to quote text from posts and even dice rolls from others in the oekaki might be nice.
also i think that the dice placeholder should be automatically always on top in case people try to fudge the roll somehow
4chan's /i/ uses https://github.com/desuwa/tegaki it has:
drawing size from 1x1 to 9999x9999(or at least that is what 4chan allows)
replay animation
50% 100% 200% 400% 800% 1600% zooms
3 pages of colors(no more, not even custom input)
brush size from 1 to 64 pixels
opacity from 0 to 100
add layer, remove layer, merge layers, move layer up, move layer down
25 layer limit, numbers start at 1, not 0(you might want to change that)
new image button that asks width and height of the new pic
open image button that allows you to open images and draw on them
export button that allows you to save the image directly without posting and then saving the result
undo button(also doable with ctrl+z), redo button(also doable with ctrl+y)
close button, finish button
pressure control of size and/or opacity option
preserve alpha option
pencil, pen, airbrush, bucket, tone, pipette, blur, eraser
indicator of it recording the replay

you currently have https://github.com/websanova/wPaint which has:
undo button, redo button, clear button
rectangle and elipse tools(tegaki does not have this)
line and pencil
text imput(tegaki CERTAINLY does not have this)
eraser, bucket
bucket color picker, stroke with selector from 1 to 10, color picker for everything else
if you are to tweak one of them, id go with tweaking tegaki by adding the few tools from wPaint that tegaki lacks.
testing a few things
[1d1-99999 = -99998]
6261 6262 6299
[diceroll]what im saying by that post is that you should add negative dices, see exotic weapon part of pic, although even is there where no system that utilized negative rolls, having it would be a really neat feature of the system making it capable to go to a minimum of -1999998... i think[/diceroll]
oh and [1d0 = 1] [diceroll]0d1=0{}[/diceroll] [diceroll]0d0=0{}[/diceroll] [1d1+0 = 1] [1d1-0 = 1] [1d1 = 1] [1d1-1 = 0] [1d1-2 = -1] testing some more
huh, the [diceroll][/diceroll] can't be inputted manually, neat anticheat
and by my newer tests it seems your system isn't happy displaying 0 as a result of 0 dices and also not that euphoric to show negative values, which in my opinion ought to be inputted as [-1d1] and shown as *dice pic*[-1d1 = -1]... perhaps in blue(000088)?
mainly due to the positive=red, negative=blue that magnets have, and the following quite likely will be read as dumb, but could you make it so that either/and a [0d*any number here*(with perhaps a + or -999999)] or a result of 0 has the color 008800?
im mainly saying this because if + is 880000 and - is 000088 that leaves 008800 unused, and that slightly bothers me, but its completely fine if you don't... and to sound greedy on top of dumb(although im quite certain that i have gone WELL beyond the line of what is palatable to request with the following), how about a completely random dice? as in random +/- dice amount, dice digit and +/-0 to 999999 with the rainbow shift of >>6180 as it's color? as for the syntax, how about [rdr&r](which could stand for RainbowDashRoll) and the obvious variants of [rd1&1], [1dr&1], [1d1&r], [rdr&1], [rd1&r], [1dr&r])?, the "&" is to randomize the addition or subtraction since [rdr+r] or [rdr-r] might be wanted, and to be fancy the 6 variants that aren't [rdr&r] could have color shifts based on the other mane 6(+spike?),
and the other 47 variants(iv'e counted them and put them out in a diagram, im sorry) could have color shifts based on other ponies(perhaps 7 of them to the filly gang+little league????)
here is the full unique random dice combination diagram, again sorry for letting my stupidity flow
[rdr&r], [rd1&1], [1dr&1], [1d1&r], [rdr&1], [rd1&r], [1dr&r]
[rdr+r], [rd1+1], [1dr+1], [1d1+r], [rdr+1], [rd1+r], [1dr+r]
[rdr-r], [rd1-1], [1dr-1], [1d1-r], [rdr-1], [rd1-r], [1dr-r]
[+rdr&r], [+rd1&1], , , [+rdr&1], [+rd1&r]
[-rdr&r], [-rd1&1], [-1dr&1], [-1d1&r], [-rdr&1], [-rd1&r], [-1dr&r]
[+rdr+r], [+rd1+1], , , [+rdr+1], [+rd1+r]
[+rdr-r], [+rd1-1], , , [+rdr-1], [+rd1-r]
[-rdr+r], [-rd1+1], [-1dr+1], [-1d1+r], [-rdr+1], [-rd1+r], [-1dr+r]
[-rdr-r], [-rd1-1], [-1dr-1], [-1d1-r], [-rdr-1], [-rd1-r], [-1dr-r]
the 9 "missing" are because it's as unnecessary to mark a regular number of dices as positive as it is to add the random dice, if i'm honest, but i might as well request.
## Admin
Yep I see there is a bug in the dice system when it comes to displaying negative results, and that a dice roll of zero dices should not be performed. I'll look into the other portions regarding dicerolls you mention, but have to read it more thoroughly.
Thanks for doing the testing and finding the bug. I will fix and update the code so negative dice rolls also shows up.
>and that a dice roll of zero dices should not be performed
i think it should, but it should always spit zero... or perhaps to give it utility, it could spit out some random phrases based on taking the 0 as a one(so only one phrase) and taking the dn+/-N as variables(which could be "r", [0dr&r], etc etc...) and -0 could be sad/gloomy/negative phrases, this also jives well with my request of making it (008800)green, since you know:
this could in turn be taken as a more useful(?) version of the fortune option of 4chan's /s4s/, although me mentioning that might have just made the idea look to you as a "definitely hard pass, if anything perhaps(P.E.R.H.A.P.S) the always 0, but no random phrases, we want zero to none spammadge, thank you very much"
or just to be silly: 0d/-0d(regardless of the other parameters on the roll)= 0 and -0 respectively, and 00d/-00d is the phrase thing(which i might add, both the green color and 0/00 thing would put them in line with an american roulette in terms of aesthetic)
ALSO: i saw that over at 8chan.moe they don't have an oekaki tool, and so after making the request here(>>6231 its me) i made an as poorly written as >>6231 request on there(https://8chan.moe/site/res/134.html#3194)
then later i wrote https://8chan.moe/site/res/134.html#q3213 a more thorough version of >>6235, you might want to check it
for among the things i requested over there is for the moe devmod to get in contact with you so that you can work together on the oekaki tool instead of ether of you having to do it by themselves, that being said he will be occupied with the 2.6 update for a while, so you should talk to him and see when he is available
oh and according to both the 8moe devmod and wolfram alpha 1d0 should give 0 as the answer(https://www.wolframalpha.com/input/?i=1+0+face+dice+roll+chance), currently does [1d0 = 1] that being said wolfram doesn't give me anything for 0d(says the number of dice should be a positive integer), i'd still say the result should be zero though because you are rolling zero sided nothing(which only different from a zero sided something by the fact that is nothing, it is still 0 sided)
[16d0 = 16] [1d1+1 = 2] [2d1 = 2] and a few tests i did on moe but not here
...and a few more things that just came to my mind:
could you add the shift JIS art font and the [aa][/aa] selector?(either with the Mona or MS PGothic(MS Pゴシック) fonts(https://en.wikipedia.org/wiki/Mona_(font))), and remember that the line height should be 1.1 on the css for the [aa] rule(at least that is how 8moe has it configured)
a selector [wolf][/wolf] that applies the wolfentsein font to the text with the color 4D5D53(Feldgrau) to be the counterpart of the [doom][/doom] text they have over at 8moe?, and i must say that i would not be opposed to doomtext here as well(i don't lean one way or another for the [moe][/moe] sparkle effect they have there, i mean i don't dislike it but i also wont insist on it being added here)
another selector that changes the text color to 6a1de2 AND shrinks it by the same amount as red text(what you call heading on the help menu) grows it, so reg=1.0em, redtext=1.1em and tinytext=0.9em?(its something 8kun has that here doesn't and since i suggested it on 8kun during the loli fiasco as small text, i see no problem requesting this of you) and id say [t][/t] for tiny text is a good selector
testing (((echoes))) and ///slope\\\(like ((())) but for chinese), and i must say, since you can change the color of the text here, how about also changing the color of its background?(like what those selectors do, at least on 8moe)
testing LaTeX support \LaTeX $$\LaTeX$$ [$]\LaTeX[/$] (i personally think that [$]...[/$] should be the way to go to implement it)
and i think you should link to here trough the ponerpics header(like you do from here to there), although i freely admit that this might be my dumbest request yet
thanks again for your time.
## Admin
Think I got all the bugs with dice roll fixed.
I also added the option to do multiple rolls (up to three rolls).
[2d10-1d6 = (10-4) = 6]
I'm not sure if this is really a bug, but Archived threads clutter up the search results. Is there a "Don't show archived threads" option when searching?
## Admin
I will look into adding this option to the search.
>>>/mlpol/322722 →
Just a bug (or a feature) so you know. So it still opens up the post and the good news it doesn't add a post number next to the post in question. The other part of the oddness is that the post retains the colorized underline.
[color #00f[u>>6314[/u[/color
## Admin
Thanks for letting me know. I'll look into the error with the post number not being added to "quoted by". It should have been added, but I guess I have made a small oversight in the regex used for adding "quoted by" to posts.
## Admin
>quoted by
*cited by
This is more of a question regarding of NPFchan. Would mind telling my why did store all the files in the archive table as mediumtext? Because of this, there's no way I can't properly access the uri of the files in that string.
I'm trying to modifying the archive class and how it handles, but without success so far without messing up with previous archived threads.
I really liked how you handled your archive like it was a catalog, but I can't fetch the OP's thumb or even the json of the thread because of the json_scramble. Can you give me a light in the right direction?
## Admin
Been a long time since I worked with NPFChan. The scrambled json can be turned off in setting and is not needed at all (unless you want it, but it was never fully hashed out and polished feature). The way NPFChan saved the archive was that it just saved the html files generated as I remember and copied the accompanying files (not sure what it kept in the database if anything except the thread info). It didn't do any alterations of the files (except fix the links in the html to the new locations) from what I remember. But to be fully frank I can't remember how I coded it all for the archive - part of the problem remembering is that there was a two tier archive system set up (that evolved over time). If you turn off the scrambling of json, and easiest next step is perhaps to creating a script that reads the json files one by one (in the archive) get the thread id from it and rename or save a copy with the correct thread id.
Bug when -------------------- the output disregards the previous portions. For rough timestamp. 325157
Can the Overboard get a clickable button at the bottom of the screen that loads the next page? Sometimes it doesn't register that I've scrolled down enough or completely.
Why cant we upload .webp images?
## Admin
>Can the Overboard get a clickable button at the bottom of the screen that loads the next page?
I will look into adding this.

>Why cant we upload .webp images?
I haven't added support for it, but I will look into adding support for the webp format. Only verified fileformats are accepted after analysing the filecontent. Reason I did it this way was to prevent every imaginable file format to safeguard users and to be able to handle Exif stripping as best as possible. So I will have to look into how exif is embedded in webp and how to strip it. And as always can only do my best to do this but can't guarantee that all exifdata is removed from every possible way it is embedded in various file formats.

>I have been a bit busy and been slacking a bit in the coding as I am doing rewrite (cleanup) and at the same time maintaining the current so working on two codesets at the same time.
What if the site converted uploaded .webps into jpgs before hosting them on the site?
## Admin
It is an option that I can look into. I don't like to change the uploaded files since uploader probably intended it to be in the format they wanted and might loose quality be converting etc. Only time I change file extension is in cases the uploaded file has wrong extension like changing .png to a .jpg or visa versa as an example. But it is an possibility, but I would have to add an extra step in the upload process and convert image so I have to look at the code and how it is done. As code is now it is likely easier for me to look into potential exif data in webp and see if Taglib and/or Exiftool supports it (and if there is any custom cleaning needed as addition).
6452 6454
How do I shut this goddamn snow off? Its lagging out my mobile
## Admin
To manually turn it off you can go to Options and User CSS and add

.container-extra-4 {
display: none;

but snow should be turned off soon as the celebrations comes to an end.

>The extra field might be used for other things in the future so it is not just for the snow. It was just an convenient field I added it to when I was scrambling to make some festivities for Christmas.
6454 6455
Thanks. Goddamn was a little harsh, I was frustrated because I could only post so much before the text would take 3 sec per character added, and would lag out if I had too many queued characters
I confirm, the snow may cause high CPU, in my case a desktop computer.
## Admin
No worries, it is understandable.

Yes it does raise the CPU usage by a bit more than I was hoping, but I was only intending to run it for a few days (will end today around 9pm CST). I see the snow at 4chan is using comparable CPU usage so it is the nature of CSS and animation.

Refined the Custom CSS to reduce the CPU usage a bit to lower the usage a bit more - seams like the animation runs even if not displayed so ending it after one cycle will stop that.

.container-extra-4 {
display: none;
animation-iteration-count: 1 !important;

Thank you, the new script seems to work nicely