/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/

Name
Email
Subject
By clicking New Reply, I acknowledge the existence of the Israeli nuclear arsenal.
Comment
6000
Select File / Oekaki
File(s)
No files selected
Password (For file and/or post deletion.)

I mek code.jpg
The rewrite of the code
Pupper
Admin
No.4560
4571 4928 4930
            [Read more]            
83 replies and 17 files omitted.
Anonymous
No.4561
4562 4564
            [Read more]            
Ebin
!ShitmapVSg
No.4562
5037
0f7c84bd83a04eeff8d87e61487dda14.gif
>>4561
Well, I don't have anything that he missed.
Pupper
Admin
No.4564
4565 4585
fluttershy_likes_to_use_the_computer_by_oemilythepenguino-d4peohn.png
            [Read more]            
Anonymous
No.4565
4566
7f5.gif
            [Read more]            
Pupper
Admin
No.4566
            [Read more]            
Anonymous
No.4571
4572
>>4560
Well, I've found the new position of the Quick Reply box to be a little inconvenient, as it now covers a portion of the thread's posts while it's up. I've also had an issue where every time I hit a post number to reply to it, I have to click back inside the Quick Reply box to begin typing again. I'm afraid I don't have anything more constructive than that.
Pupper
Admin
No.4572
my_computer_pony_icon_by_nerve_gas-d595yl3.png
>>4571
Any and all pointers are welcome. It is good to know what problems you encounter so I can make sure it don't carry over to the new code.
Anonymous
No.4577
4578
spoiler bug.png
spoiler bug 2.png
spoiler bug 3.png
            [Read more]            
Pupper
!!cuKCTOUMqQ
No.4578
4579
>>4577
I'll look into it, and also make sure this don't happen in new code.

Pupper
Admin
No.4579
4580
eqg_mirror_magic_special___computer_troubles_by_epiccartoonsfan-db9b5db.jpg
>>4578
The tripcode always brings a little smile to my face and makes up for fucking up the login.
Anonymous
!FAGGOTdank
No.4580
1522004173107.jpg
>>4579
Eh, it's not bad.
Anonymous
No.4585
4586
>>4564
>So to avoid any possibility for collisions I will use 128bit hash and add filesize to the end of the filename (probably overkill).
Hashes is something I have wished for too, but my vote would be for something that is a) compatible with other things that use hashes - like for reverse image search, if that is relevant, or other board software, etc; and b) has JS support for handling hashes in the browser.
Deduplication or bulletproof cryptographic verification of images isn't the goal here in my opinion, exposing something that users can work with is.

I just tried finding a post in the archive and agree that it is something that needs work, other than that the board code seems to be overall good enough. Don't break yourself trying to get everything perfect.
Pupper
Admin
No.4586
>>4585
The hashing method I intend to use is SpookyHash 2. This is an hash that is designed to be be used on files, as it isn't cryptographic safe, but it is really fast on large files and don't use much CPU.
Thought of Murmurhash 3 too, but there is a known hash flood DoS attack for it. But I am still just playing around with this and nothing is set in stone.
https://research.neustar.biz/2012/02/02/choosing-a-good-hash-function-part-3/

>Don't break yourself trying to get everything perfect.
I will try to pace myself, but it is also fun rewriting the whole code. Hopefully the result will be as good as I hope. Also having written the whole code from scratch makes it easier to find and fix eventual problems, or add features, that might arise.
Anonymous
No.4589
4590 4666
            [Read more]            
Pupper
Admin
No.4590
>>4589
I can please you and say I have implemented almost all your wishes in the new JS already.
I will look into the Thumbnail of embedded videos, and the option to select alternative site for embedding.
Anonymous
No.4666
4667
>>4589
>Pastebin embeds
would definitely like to have this, one of the only advantages 4chan has with 4cX
Pupper
Admin
No.4667
4670
>>4666
Checking, and I will make sure to include that in the code.
Anonymous
No.4670
4673 4676
>>4667
Some type of timeline to give ppl a general idea when a new version may be completed? Also it should work on the very latest version of php or it's not worth it. Even the support life of php 7.3 is only a couple years, as php 8 will come out. Did you ever think of getting modern...like lynxchan? Not being a dick, I love how the php boards look, but php is for old ppl who are stuck in the past.
Anonymous
No.4671
4673 4674
Any chance you can post the full config.php (or the part that makes the board options link) ? Im just fucking around and i can't get the options tab to look right. I think the order of my js is fucked up
Anonymous
No.4672
4673 4676
aus.png
not to sound like a robot but make it look like 4chan does on mobile. 4chan is the only board that looks decent on mobile, just little shit like buttons for links and the drop down menus to select boards makes it easy and nice to navigate the board from a mobile phone browser. I wouldn't get too crazy with a ton of options, as most of the new options will probably break with php 8.0 - so just make a board that is reliable, works ? looks well on mobile. Never mind the 50000000 stupid fucking options that no one uses anyway. ALSO i find it hilarious that ppl on this board like HITLER, you are just like him, in denial and out of touch- php is dead- code a fucking modern board.
Pupper
Admin
No.4673
4674 4675
            [Read more]            
Pupper
Admin
No.4674
js-files-includes.txt
>>4673 >>4671
>forgot file
Anonymous
No.4675
4689
>>4673
Thanks!!! Take your time, you have the best php imageboard out there by far, the best looking, best crypto and stuff. When you have the best code, you shouldnt be rushed.
Yeah its so fucked up, sometimes i wonder if i should just switch entirely to lynxchan. Your php looks WAY better on mobile than any node.js board out there tho.
Anonymous
No.4676
4689
            [Read more]            
Pupper
Admin
No.4689
fcd35d14ffef75a4eee75def973f0f07.jpg
            [Read more]            
Anonymous
No.4703
4704
IMG_3307.JPG
I think it would be nice to be able to choose spoiler individual file attachments, maybe just me but if it were an easy thing to implement I'd appreciate it
Pupper
Admin
No.4704
>>4703
I will look into it, should not be a problem I think.
Anonymous
No.4710
4711
            [Read more]            
Pupper
Admin
No.4711
4722 4726
>>4710
I'll look into making a header type markup, and nested spoilers.
Anonymous
No.4722
4723
>>4711
Oh yeah, could you also have spoilered images default to having the 'save as original filename' image name be something like "Spoilered.png"? I know it's a small thing, but sometimes it can ruin the surprise and I know I've had to change filenames to generic things before just to avoid spoiling things inadvertently.
Pupper
Admin
No.4723
>>4722
That is a good idea. I'll look into how to best implement it. There is two ways to accommodate for this as I see it. Best method as I see it is to only change the visual name to "spoilered.png" or just "[save as original]" and still keep the function that when saving you will save it as the original filename.
On another note the new form I've made makes it easy to rename file in the form before uploading, and I've also added option to automatically randomize filename before uploading.
Anonymous
No.4726
4727
>>4711
Thanks man. Sounds like you're making some steady progress on the whole thing. I'm guessing it's also partly a learning experience on ASP.NET, eh?

I'll also add in one feature request that so far, every vichan descendent seems to have left out.
Is it possible to have the favicon light up with a red (!) upon receiving a reply to (You), just as it is with 4chan? And would it be possible to make that a user configurable option, for those who want to rein in their narcissistic tendencies? ^:)
I suppose while we're on the subject of favicons, is it also possible to have the favicon change on different events, such as threads locking, threads being removed, possibly mod/admin capcode posts in a thread, basically whatever you'd feel would warrant a favicon change?
Per-board favicon sets optional, and definitely a stretch goal, since we don't really use or need different sets for the different boards right now. But then again, I know how you love your feature creep. ^:)
Pupper
Admin
No.4727
4728
>>4726
It is a bit of a learning progress that is true. Hopefully I won't paint my self into corners too many times on the way to completion.

I will definitely add the function to stroke your inner childish joy when you get a (You). And I will look into making other custom favicons for other events. Having one for locked and reached bumplimit and others might be useful. I'll do some testing and experimentation to see what looks good and works.
Anonymous
No.4728
4746
            [Read more]            
Pupper
Admin
No.4746
4750
            [Read more]            
Anonymous
No.4750
Screenshot from 2019-05-22 22-17-27.png
Screenshot from 2019-05-22 22-22-14.png
1533321033107.png
File (hide): 3F4626EB51222D37A75E8ECE6FE63CCE-361728.zip (353.3 KB, Listing of : C:\____\mlpolbackup_backups\backup\qa\src\1558576336618-3.zip Size Date Time Name -------- -------- ------ --------- 1469 23-05-19 03:41 favicon-16x16.png 440 23-05-19 03:41 html_code.html 27320 23-05-19 03:41 mstile-150x150.png 49994 23-05-19 03:41 android-chrome-192x192.png 426 23-05-19 03:41 site.webmanifest 214501 23-05-19 03:41 android-chrome-512x512.png 1063 23-05-19 03:41 README.md 21424 23-05-19 03:41 safari-pinned-tab.svg 15086 23-05-19 03:41 favicon.ico 3026 23-05-19 03:41 favicon-32x32.png ......... (only showing the 10 first files) ......... , favicon_package_v0.16 (1).zip)
favicon_package_v0.16 (1).zip
            [Read more]            
Anonymous
No.4881
4882
10898__safe_artist-colon-conicer_derpy hooves_derpibooru_503_aaaaaaaaaa_animated_bipedal_computer_derpy hooves tech support_dialogue_female_frown_hoof .gif
Rewrite the imageboard backend in C++
No balls
Pupper
Admin
No.4882
4883 4887
>>4881
I did consider (not too seriously) writing it all as an standalone OS, but it would be way too much work. Perhaps after I am done with the Asp Net Core C# version I will find myself in a position where trying to writing it in C++ allures me into its embrace. Playing with a low level language again does sound like fun.
>I do like having full control
Anonymous
No.4883
4884
>>4882
It's fun, and it helps you get a better grasp of the language. But yeah, I understand. I spent a year writing an imageboard in C++, but kind of lost my focus on it about 90% of the way through.

It is pretty fast, though, with post times of about 150ms at 1.8 million posts site wide
Pupper
Admin
No.4884
4885
>>4883
I have to admit I do like the idea of once more be able to fully control threading, locks, pointers and all the good stuff you can do with full low level control. And tweaking it into running lighting fast is one of the fun parts. But I imagine one of the main bottlenecks will be the DB and optimizing queries. I don't think I will be able to write an DB equivalent that is anywhere near what current iterations is capable of.
>Plain Ansi C have, and will always have, a big place in my heart
Anonymous
No.4885
4886
>>4884
I've just been using the MySQL connector library. It allows you to make prepared statements and queries natively. And yeah, DB optimization is the main bottleneck. The right DB index in the right place can turn a 10 second query into 100 milliseconds
Pupper
Admin
No.4886
>>4885
It is truly amazing what the right indexing will do.
Anonymous
No.4887
4888
>>4882
>Playing with a low level language again does sound like fun.
I heard is like God mode, while the code runs lighting fast because less CPU cycles needed.
Anonymous
No.4888
>>4887
Yes, low level languages are extremely fast compared to languages like PHP, Java, or Ruby
It also has the added fun of running your software on really old or esoteric systems, like a Pentium II, for shits and giggles
Anonymous
No.4905
4906 4907
It would appear that reporting is based in some way off of IDs, as when I tried to report https://mlpol.net/sp/res/4143.html#q13337 I kept repeatedly getting "Undefined index: id" errors.
Also, take a look at that post if you would and give it a hit.
Anonymous
No.4906
4907
>>4905
Oh, might not be an issue. I think I just had the thread open for fucking ages. Sorry.
Anonymous
No.4907
>>4905
Thats correct. All reports are linked to the UID that submitted them
>>4906
No worries
Anonymous
No.4922
4923
Hey Pupper, do you have an ETA on the completion of the new code now that you're about nine months into working on it?
Pupper
Admin
No.4923
4924
Internet Pony.png
>>4922
Hi I don't have an fixed ETA as I have been working a bit on again/off again on the code.
I have most of the user side of the code completed, and I'm working on getting the Moderator side of things complete. After I have the basic of Moderator functions in place I will open it up for testing and feedback.
So hopefully in not too long I will have something up for testing. But I am a bit unsure on timeline as the upcoming festivities and family unions, but hopefully before Christmas or New Year I will have something up. Moderator side don't have to be as pretty and user friendly as user side to begin with.
I hope once you get to play with new code you will be pleased, and that it runs smoothly.
Anonymous
No.4924
2353125131.png
>>4923
Glad to hear it frend, thank you for all of your hard work. I'm looking forward to it, been excited for a lot of the features proposed here to be implemented.