\"}
;window.thread_json=[{"no":11010,"resto":0,"com":"Thread is for discussing Kissu's replacement of Vichan and my blogging about it's development.[br][/br][br][/br]Feedback: [u https://feedback.kissu.moe/public/forms/Server_Feedback/13]https://feedback.kissu[wbr][/wbr].moe/public/forms/Server_Feedback/13[/u]","title":"Blog Thread: Tsukuyomi, Vichan Replacement","sub":"Blog Thread: Tsukuyomi, Vichan Replacement","name":"V","capcode":"Admin","time":1668400314,"zombie":1,"last_modified":1794780031,"tn_h":255,"tn_w":212,"h":1400,"w":1166,"board":"b","fsize":287262,"filename":"a6c209d75045e47dba3a3a5dc0431eec","ext":"jpg","file_id":"1668400314121","location":"haiji","md5":"a6c209d75045e47dba3a3a5dc0431eec","cites":[{"post":"179578","board":"qa","host":"4165"}],"last_replies":[{"no":11014,"resto":11010,"com":"Did development start yet?","title":"[-__-'] Utawarerumono 01 [BD 1080p x264 8bit FLAC] [75F3617E].mkv_snapshot_00_09_10.425.jpg","name":"Anonymous","time":1668400999,"last_modified":1668400999,"tn_h":98,"tn_w":175,"h":1080,"w":1920,"board":"b","fsize":347386,"filename":"[-__-'] Utawarerumono 01 [BD 1080p x264 8bit FLAC] [75F3617E].mkv_snapshot_00_09_10.425","ext":"jpg","file_id":"1668400999577","location":"haiji","md5":"2adaf04b74095c348137452e0d9c2a32","cites":[{"post":"11015","board":"b","host":"11010"}]},{"no":11015,"resto":11010,"com":"[c b|11010|11014]\>\>\>/b/11014[/c][br][/br]In a way it's been started for a while.[br][/br]Software languages(Golang only), libraries (Gin, Pongo2, MySQL) and development process established(Test heavy/driven development).[br][/br]Use case list needs to be written so I can't start the code yet. [br][/br]Then I have to make some architecture related decisions which will decide where all the code files go.[br][/br][br][/br]So still in pre-alpha. Multiple \"prototypes\" have been written. I might want to do something else to get a few design patterns understood, but probably not necessary and can just wing it.","name":"Anonymous","time":1668401708,"last_modified":1668401708,"board":"b","cites":[{"post":"11021","board":"b","host":"11010"}]},{"no":11018,"resto":11010,"com":"Is it fun to write an imageboard engine?","name":"Anonymous","time":1668421570,"last_modified":1668421570,"board":"b"},{"no":11021,"resto":11010,"com":"I wouldn't call it super fun, but I enjoy rigging things up on the backend. I loathe how webdev is these days so I enjoy finding clever solutions to problems on that end too where most would just use JavaScript and 700 libraries instead of clever HTML and CSS hacks.[br][/br][br][/br][c b|11010|11015]\>\>\>/b/11015[/c][br][/br]Why not use more of the standard library? Go houses some powerful features right out of the box, including a HTTP server and a HTML templating engine. It's two less dependencies you have to worry about.[br][/br]I know net/http and html/template can be cumbersome at points and getting the initial handler/templating layout can be a little hard at first but it works damn well once you get it to work.[br][/br]Then again, I've only ever used that and the Fiber framework.[br][/br][br][/br]How are you designing the engine? Doing database stuff first and testing where possible, then tossing everything else on top?","name":"Anonymous","time":1668468074,"last_modified":1668468074,"board":"b","cites":[{"post":"11022","board":"b","host":"11010"},{"post":"11137","board":"b","host":"11011"}]},{"no":11022,"resto":11010,"com":"[c b|11010|11021]\>\>\>/b/11021[/c][br][/br][e]Gin[/e] looks to be similar to [e]Fiber[/e].[br][/br][e]Gin [/e]and [e]Pongo2 [/e]has lots of usage in major websites. Only issue I've come across is that fuzz testing with Gin is very inefficient. Just can't do it without re initializing the server every round. So basically I have to abandon one of the modern aspects of Golang's standard testing library. Why not use the standard [e]net/http[/e], just because I've tried doing that with the Kissu's server which generates the JSON pages(amoung other things) and it ended up being a mess. Not going to reinvent the wheel.[br][/br]As for Fiber. I don't like the Express engine it's based on(it's what serves these pages to you and generates the JSON which client side renders these pages). Something about the handlers didn't stick with me.[br][/br][br][/br][e]html/template[/e] is fine. It's alright, but I might as well go big. Also I can't find any information about using custom functions inside of templates with [e]html/template[/e] while [e]Pongo2[/e] allows this. [e]Pongo2 [/e]and Vichan's [e]Twig[/e] are similar in that they use functions inside of templates regularly, but yet it will still require a bit of effort to translate between the two. There is a Golang Twig analog called [e]Stick[/e] and I used that in the feedback engine, but it's lacking in support(still not a finished product) and studies. Some other alternatives such as Amber are a complete departure from Twig's syntax.[br][/br][u https://medium.com/@kataras/whats-the-fastest-template-engine-in-go-fdf0cb95899b]https://medium.com/@kataras/whats-the-fastest-temp[wbr][/wbr]late-engine-in-go-fdf0[wbr][/wbr]cb95899b[/u][br][/br]Blocks is not very active but an alternative I guess.[br][/br][br][/br]I said, pretty clearly that I'm not going to be amateurishly hacking everything on top. Pretty rigid adherence to the practice of TDD. Maybe the routing will be done with manual testing.[br][/br]Database will still be MySQL, but I figure it's time to get rid of posts_b, posts_jp(and it's files json entry attatched to each post) and start a more by-the-book relational database instead of the existing no-sql and relational hybrid.[br][/br][br][/br]The order by which I'll be doing things I'm not sure about. I need to build up what will likely be a 100+ item use-case list covering things from Vichan and my support servers which will be integrated into this future imageboard engine. Then I will write up some architecture diagrams, somewhat resembling UML but not really, just a way for me to collect my thoughts. [br][/br]When all those are done, I begin writting to fill in the blanks until I have a Beta product which I'll put onto the site to do active testing.[br][/br]This is the system that I did to create the UI, but this time it will be after having experienced issues with my development process on the UI and a more professional take on understanding what I'm getting into before I begin writing. More planning, less hacking.","name":"Anonymous","time":1668470605,"last_modified":1668470605,"board":"b","cites":[{"post":"11023","board":"b","host":"11010"}]},{"no":11023,"resto":11010,"com":"[c b|11010|11022]\>\>\>/b/11022[/c][br][/br]Fiber is good for getting things up and going fast, but I agree with your criticisms. I don't hate it, but I wouldn't use it for anything serious that I would start today; I have one project in it which works, but I occasionally found myself beating my head against the wall because of Fiber.[br][/br]net/http is barebones but you can build your functionality on it at least and only include what you need. My most major project in it uses regular expressions to determine which route to take, but it also has only three routes anyway.[br][/br][br][/br][s quote]\>using custom functions inside of templates with html/template[/s][br][/br]You can define functions in Go and use them quite easily; allow your template to use them by tossing them into [code](*Template).Fu[wbr][/wbr]ncs[/code], functions that have a return type of [code]template.HTML[/code] will not be HTML escaped but all others will.[br][/br]Inside of templates is a bit weirder and as such I don't really bother with it, but essentially [code]{{define \"temp[wbr][/wbr]late name\"}}do[wbr][/wbr] stuff with {{.}}{{end}}[/code] and call with [code]{{template \"te[wbr][/wbr]mplate name\"}}[/code] or if you want to set dot, [code]{{template \"te[wbr][/wbr]mplate name\" \}}[/code].[br][/br]However, by the time I'm doing that, I'm hitting the absolute limits of html/template anyway so I just write the same thing in Go, where it would be faster regardless of the templating engine, except quicktemplate which is a different beast altogether.[br][/br][br][/br][s quote]\>performance[/s][br][/br]Don't worry about super fast performance until you're getting those numbers of requests per second, in which case you're likely getting hit with an attack anyway.[br][/br]I would assume that most would not notice the few hundred microseconds on a [e]slightly[/e] faster engine either.[br][/br][br][/br][s quote]\>I figure it's time to get rid of posts_*[/s][br][/br]You should keep them to reduce query complexity, but I would move the files JSON into the database. Unless it already is, in which case I now wonder why you would toss JSON into the database in the first place, but I digress.[br][/br]My imageboard projects never made it outside of my machine (save one but it's a textboard), but I had no qualms with a {posts,files,replies}_[wbr][/wbr]board table; don't take this from me however, as I am by no means an expert on anything I do, nor is everything I do right and best.","name":"Anonymous","time":1668474401,"last_modified":1668474401,"board":"b","cites":[{"post":"11024","board":"b","host":"11010"}]},{"no":11024,"resto":11010,"com":"[c b|11010|11023]\>\>\>/b/11023[/c][br][/br][s quote]\>(*Template).Funcs[/s][br][/br]ah, i see now.[br][/br][br][/br]No, I'll worry about performance and making it work quickly for as long as the site expands. This isn't slight either, it's double as much throughput. The only argument you can make is that Golang with make a PHP-esque change and fuck up every dependency that relies on it.[br][/br][br][/br]Files is stored as json inside of the posts_* entries.[br][/br]Increased query complexity is important because doing lookups to build /all/ is monstrously expensive because I have to write 9 different union statements for each board.","title":"bd2d3767f5.png","name":"Anonymous","time":1668475111,"last_modified":1668475111,"tn_h":129,"tn_w":175,"h":1370,"w":1862,"board":"b","fsize":63457,"filename":"bd2d3767f5","ext":"png","file_id":"1668475111091","location":"haiji","md5":"5c5b69322096f56f628b4957e5613021","cites":[{"post":"11026","board":"b","host":"11010"}]},{"no":11025,"resto":11010,"com":"This Funcs system is pretty ugly.[br][/br][u https://www.calhoun.io/intro-to-templates-p3-functions/]https://www.calhoun.io/intro-to-templates-p3-[wbr][/wbr]functions/[/u][br][/br][br][/br]Compare it to this pongo2 example.[br][/br][u https://github.com/ECHibiki/Kissu-Feedback-and-Forms/blob/main/src/server/templater/pagegen.go]https://github.com/ECHibiki/Kissu-Feedback-and-For[wbr][/wbr]ms/blob/main/src/server/templater/pagegen.go[/u][br][/br]I prefer this system more. Assigning functions to the template engine when you init is better than doing it at runtime, yea","name":"Anonymous","time":1668475445,"last_modified":1668475445,"board":"b"},{"no":11026,"resto":11010,"com":"[c b|11010|11024]\>\>\>/b/11024[/c][br][/br][s quote]\>Increased query complexity is important because doing lookups to build /all/ is monstrously expensive because I have to write 9 different union statements for each board.[/s][br][/br]If you're set on getting rid of the several boards, I recommend you check out the source to Picochan which does just this. I can upload if you so wish. It's a Lua CGI SQLite3 onion imageboard that I do not frequent yet have the source of, which I have combed through enough to tell you that this one table scheme what it does.[br][/br][br][/br]I figure it would be monstrously expensive for the overboard regardless of what you do, but I'll dump in my suggestion regardless: I wonder what the performance would be if you were to do it automatically.[br][/br]Create a table housing a thread's ID, its board, and its last bump. A trigger automatically creates, updates, and deletes from this table as needed.[br][/br]Pull from this table and sort by the last bump date and gather only what you need with pagination.[br][/br][br][/br]I may try this myself with some dummy data soon for my own projects.[br][/br]I'll sleep before I start sounding more like a fool, thank you for your time.","name":"Anonymous","time":1668476875,"last_modified":1668476875,"board":"b","cites":[{"post":"11027","board":"b","host":"11010"}]},{"no":11027,"resto":11010,"com":"[c b|11010|11026]\>\>\>/b/11026[/c][br][/br]I don't know why you'd suggest all this stuff when a site like pornhub literally runs on a MySQL fork(wish I remembered which one) and does fine.","name":"Anonymous","time":1668477459,"last_modified":1668477459,"board":"b"},{"no":11044,"resto":11010,"com":"Another point that has come up where posts_b, posts_jp is causing issues...[br][/br]When a post is moved between boards, or just moved in general, it requires a recreation of the existing thread and then a deletion of the old one.[br][/br][br][/br]With a new system it only requires duplication(in the case of cloned moves) or a change in a datafield with where it belongs.[br][/br][br][/br]There is very little reason to have there be board specific database tables other than the thought that it will make sites go a little bit faster on posts(of which image manipulation is the most computationally expensive task anyways...)","name":"Anonymous","time":1669010113,"last_modified":1669010113,"board":"b"},{"no":11045,"resto":11010,"com":"I'm going through all of Vichan and my own stuff's functions and writing out use-case lists which I'll use during my architecture formulation stage.[br][/br][br][/br]This use-case list will be open source, basically encapsulating all of kissu-vi's functionality and things I plan to add to Tsukuyomi[br][/br][u https://github.com/ECHibiki/Tsukuyomi-UseCase-List]https://github.com/ECHibiki/Tsukuyomi-UseCase-List[/u]","name":"Anonymous","time":1669011583,"last_modified":1669011583,"board":"b"},{"no":11049,"resto":11010,"com":"I'm writting into my draft every time there is a delete action that they will be stored in an inaccessible recycling bin for a few hours. This will allow for moderator controlled rollbacks on some of our actions which are normally irreversible.[br][/br][br][/br]These would be true deletes(user deletes), page renumbering deletes, archive deletes, cyclical deletes.[br][/br][br][/br]A proposal I have to add in a long term text archive of kissu would be connected to the concept where some of these recycling bin items that are cleared from recycling would be accessible on another database. This would be a lightweight version of the archives we know well on 4chan, but on Kissu.[br][/br]Ghostposting you might ask? We'll think about it.","name":"Anonymous","time":1669029392,"last_modified":1669029392,"board":"b"},{"no":11121,"resto":11010,"com":"Finally starting on graphing out the program.[br][/br][br][/br]One of the more advanced things which I don't think any other imageboard software does is security checks on startup.[br][/br]Tsukuyomi will:[br][/br]- Check if files and folders are at safe permission levels (Nothing should be root 777)[br][/br]- Check that settings files are not accidentally being read by NGINX file rules","title":"25474f1ae1.png","name":"Anonymous","time":1671415664,"last_modified":1671415664,"tn_h":121,"tn_w":175,"h":850,"w":1231,"board":"b","fsize":74492,"filename":"25474f1ae1","ext":"png","file_id":"1671415663913","location":"haiji","md5":"1fc9db22b1e7d79af098be28c4ee8801","cites":[{"post":"11122","board":"b","host":"11010"}]},{"no":11122,"resto":11010,"com":"[c b|11010|11121]\>\>\>/b/11121[/c][br][/br]What program is that? Looks pretty useful","name":"Anonymous","time":1671417278,"last_modified":1671417278,"board":"b","cites":[{"post":"11123","board":"b","host":"11010"}]},{"no":11123,"resto":11010,"com":"[c b|11010|11122]\>\>\>/b/11122[/c][br][/br]GitMind. [u https://gitmind.com/]https://gitmind.com/[/u][br][/br]Very general purpose program.[br][/br][br][/br]When I was initially drafting the UI I used some terrible thing which we used in university. This is leagues better","name":"Anonymous","time":1671417457,"last_modified":1671417457,"board":"b"},{"no":11125,"resto":11010,"com":"I don't think I actually have the graphs on local storage though. Haven't checked. Seems like cloud data.[br][/br][br][/br][u https://gitmind.com/app/docs/flwp22tg]https://gitmind.com/app/docs/flwp22tg[/u]","name":"Anonymous","time":1671417676,"last_modified":1671417676,"board":"b"},{"no":11126,"resto":11010,"com":"I'm considering potential ways to use this trick[br][/br][s quote]\>\>\>/qa/101227[/s]","name":"Anonymous","time":1671511985,"last_modified":1671511985,"board":"b"},{"no":11127,"resto":11010,"com":"one optimization coming to mind is that this can be used on thumbnails to reduce storage in the [ul]archive[/ul] concept I want to add.[br][/br]Another is that post times could be increased greatly by evaluating a blockhash of a submitted image... such that there's no need for image processing...[br][/br][br][/br]Very interesting trick","name":"Anonymous","time":1671512153,"last_modified":1671512153,"board":"b"},{"no":11130,"resto":11010,"com":"Almost at the first draft of the diagram stage.[br][/br]Have to describe what each of these SQL tables will be doing and their FK associations","title":"8d08cbbfc9.png","name":"Anonymous","time":1671856051,"last_modified":1671856051,"tn_h":158,"tn_w":175,"h":810,"w":897,"board":"b","fsize":28291,"filename":"8d08cbbfc9","ext":"png","file_id":"1671856051223","location":"haiji","md5":"648be49530b4aee184d9e9b0f305e215"},{"no":11131,"resto":11010,"com":"Effectively our first draft.[br][/br][br][/br]Won't make any sense to anyone but me yet.[br][/br]My next task is to go correct issues, expand missing details, arrange the elements.[br][/br][br][/br]Following that will be to write out the pseudo code... text based summary of the operations... and following a similar process as the diagram stage. [br][/br][br][/br]Following this... the conversion of pseudo code into software(writing out code from text descriptions) is getting to a point where AIs can assist programmers to create buggy, insecure and unmaintainable code.[br][/br][br][/br]A copy of my draft is: [u https://gitmind.com/app/docs/f2r64yan]https://gitmind.com/app/docs/f2r64yan[/u][br][/br]Will be my [b]documentation only[/b] github shortly: [u https://github.com/ECHibiki/Tsukuyomi-UseCase-List]https://github.com/ECHibiki/Tsukuyomi-UseCase-List[/u]","title":"Tsukuyomi.jpg","name":"Anonymous","time":1671862372,"last_modified":1671862372,"tn_h":175,"tn_w":173,"h":10000,"w":9883,"board":"b","fsize":16060469,"filename":"Tsukuyomi","ext":"jpg","file_id":"1671862368662","location":"haiji","md5":"e42f62210497409f3c7b9839807684fe"},{"no":11132,"resto":11010,"com":"hm, for some reason it didn't add labels to the SVG export.","name":"Anonymous","time":1671862520,"last_modified":1671862520,"board":"b"},{"no":11134,"resto":11010,"com":"What a modular abomination","title":"3bc1b8630a.png","name":"Anonymous","time":1671878722,"last_modified":1671878722,"tn_h":164,"tn_w":175,"h":841,"w":898,"board":"b","fsize":80967,"filename":"3bc1b8630a","ext":"png","file_id":"1671878722715","location":"haiji","md5":"4b5372fc9945aa7a46170e2a16b0a872"},{"no":11140,"resto":11010,"com":"Progress on the rewiring and finalization of the blueprint.[br][/br]After a break will do the first line of packages which will complete 60% of it.","title":"acac208b20.png","name":"Anonymous","time":1672203049,"last_modified":1672203049,"tn_h":143,"tn_w":175,"h":747,"w":912,"board":"b","fsize":225670,"filename":"acac208b20","ext":"png","file_id":"1672203049670","location":"haiji","md5":"9f4538032fa5bd63ed3c462cd2a06bc2"},{"no":11148,"resto":11010,"com":"A bit neater.[br][/br][br][/br]Think I will have to divide up one of the sections into a more detailed view. Or maybe not. I want to get into pseudo coding by the New Year so I might fill in some blanks as I go.","title":"efc660e904.png","name":"Anonymous","time":1672227862,"last_modified":1672227862,"tn_h":143,"tn_w":175,"h":837,"w":1027,"board":"b","fsize":291500,"filename":"efc660e904","ext":"png","file_id":"1672227862527","location":"haiji","md5":"04e932f12499d50da82a544f8d6283fc"},{"no":11157,"resto":11010,"com":"There's more that I could do with this, but it would get to the point where it's getting a bit obsessive.[br][/br][br][/br][u https://gitmind.com/app/docs/f6pvzikf]https://gitmind.com/app/docs/f6pvzikf[/u][br][/br][br][/br]I'll just leave it at this for now","name":"Anonymous","time":1672319440,"last_modified":1672319440,"board":"b"},{"no":11181,"resto":11010,"com":"Christmas is over. back to work tommorow","name":"Anonymous","time":1673298741,"last_modified":1673298741,"board":"b"},{"no":11405,"resto":11010,"com":"It would be fun if the characters you had to pick for the flood filter captcha were updated with some new additions. How about [s glowgold][b]Kuon[/b][/s] and [s glowgreen][b]Lala[/b][/s]?","name":"Anonymous","time":1676801688,"last_modified":1676801688,"board":"b"},{"no":11406,"resto":11010,"com":"yeah. maybe it's time to update those. Still have to move some software around. Can fit that into then","name":"Anonymous","time":1676803060,"last_modified":1676803060,"board":"b"},{"no":11427,"resto":11010,"com":"Going to end up having to redraft these plans to add in a socket server.","opt":"sage","name":"Anonymous","time":1677307886,"last_modified":1677307886,"board":"b"},{"no":11570,"resto":11010,"com":"bleh. thinking of the site's software and on the differences between golang and rustlang, there's a case for the main services of the site(the imageboard engine) to be running the machine level rustlang. Removing the Golang's GC (as apposed to the hastle of dealing with it) will end up netting better results for the site than a faster development time through golang, since there's a risk that continued development on a golang server will hit a wall in golang's memory management limitations.[br][/br][br][/br]However, the standalone programs (things such as the banners program, captcha program, theatre program or feedback program), these are small programs that have little relation to the imageboard activity and benefit more from the simplicity of scripting languages and GC.[br][/br][br][/br]So, this is to say that the thoughts of adding in a socket server and switching some of the UIs operations to sockets has made me consider potential issues with the imageboard engine as it adopts to more complicated requirements. I want to premptively respond to any crazy thoughts I have.[br][/br]So far, there are little issues with the vichan server aside from it being outdated and hard to customize. So I'm comfortable with the added time it takes to develop in this language.","name":"Anonymous","time":1678206143,"last_modified":1678206143,"board":"b"},{"no":11582,"resto":11010,"com":"[c b|10049|11577]\>\>\>/b/11577[/c][br][/br]Set of graphs for site architecture changes[br][/br][br][/br]Instead of rewritting the IRC bot for some practice, will temporarily split off Vichan's image generation into a seperate rustlang binary which will reduce the amount of PHP bash/shell_exec calls which are not very performant.[br][/br][br][/br]- Rustlang thumbnail component implementing the API for FFMPEG, Imagemagik. [br][/br]- Will need to find a solution to exifdata[br][/br]- Some imageban stuff might be kept.[br][/br]- should result in better post times on images.[br][/br]- Component that will be easily portable to rewrite[br][/br][br][/br]Basic idea for the rewrite to maintain visible progress while also progressing towards a major goal will be splitting off some more sections to make the task easier.[br][/br]Basically already at that point but I need a bit of work on Rustlang stuff to get to that point.[br][/br]Most of the site's operations are split into miniservices, but the post and mod operations remain.[br][/br]Some new ideas with the sockets and IM posting will require it to be rewritten rather than kept on life support.[br][/br]But still, the posting operations are the most major aspects of the site.[br][/br]With the offloading of image posting onto a new service the task will be easier.[br][/br]My hope is that by the time we've split off the image aspects then moving a bunch of Golang and Rustlang code into a Rustlang monolith application should be straightforward.[br][/br]Issues about scalability will be met by a multiple monolith approach where the multiple servers are communicating with one-another through websockets. This way a client with a socket connection to a /qa/ server would be able to still get information from a /jp/ server.[br][/br]In program memory management and analysis to provide limitations in process consumption.[br][/br][br][/br]The ideas of this approach I'm taking can be read about here[br][/br][u https://blog.twitch.tv/en/2022/03/30/breaking-the-monolith-at-twitch/]https://blog.twitch.tv/en/2022/03/30/breaking-the-monolith-[wbr][/wbr]at-twitch/[/u][br][/br]But while they wanted to split it up, opting to glue together. Essentially creating a standalone program that requires a minimalist operating system and nothing other than the ability to run binaries","name":"3 9","time":1678396178,"last_modified":1678396178,"board":"b"},{"no":11707,"resto":11010,"com":"[s quote]\>To those who wonder what might be wrong with the aforementioned approach, here's a hint: NO, that's not how software is written. First, you sit down and study computer science, algorithms (Knuth before all), programming ideas, principles, and paradigms. Then you analyze your task and explore and evaluate the tools needed to do it, google around, ask for tips and pointers. Then you pick your tools (PHP+SQL in our case) and study them thoroughly by reading technical literature available in rich selection. Then you make up a complete plan of what you are going to do, and how exactly, usually employing the \"divide and conquer\" principle by breaking up the task into logically orthogonal interacting units. And only after all of that you actually start writing code unit by unit. And finish with testing (+ regress-testing for updates), debugging, profiling, and optimizing. At least that's how I've been taught... But apparently not this shitshow crew behind Tinyboard and vichan.[/s][br][/br][br][/br]Such a quote is very nice reassurance since it's my approach. But it's only common sense really for anyone who has formal education in computer science","opt":"sage","name":"Anonymous","time":1679700422,"last_modified":1679700422,"board":"b"},{"no":11708,"resto":11010,"com":"His statements that using Twig in PHP is retarded is also true.[br][/br][br][/br]The same sentiments came to mind when thinking about how to remake vichans templating engine. That it's probably to little benefit to even bother and all languages seem to have good enough built in templating ability.[br][/br]Tenplating engines just abstract out some of the architecture complexity","name":"Anonymous","time":1679703259,"last_modified":1679703259,"board":"b"},{"no":11713,"resto":11010,"com":"we're going to heavily use .so files to create short term replacements to vichan's php components. This provides an easier solution to the issue of new server software allowing me to get a better idea of what I'm getting into by doing this project.[br][/br]This and providing a speed boost to existing operations and giving us a 'security by obscurity' situation, walking us away from the well known and understood vichan.[br][/br]Still want to create a large kissu imageboard engine, but it's time investment will be too large to ignore certain issues without smaller fixes... plus I don't want to go into a situation where I'm always thinking that it needs a few more years to be perfect","name":"Anonymous","time":1680204283,"last_modified":1680204283,"board":"b"},{"no":11762,"resto":11010,"com":"Doesn't look like you can do serious extensions of Vichan with PHP-FPM using .SO files.[br][/br]You run into issues pretty quickly when trying to use it to connect with MySQL. Segfaults. Maybe if I wrote a mysql library from scratch I could find out if it's a library issue or an FPM issue.[br][/br]I'm doing this for educational purposes in building Rust servers so I might as well find out.[br][/br][br][/br]So the way things seem to work is that the gradual transition approach is not a favorable strategy. [br][/br]Can probably replace things like the templater individually. Also mod.php but since it touches the database you have to do the entire file all at once which is a larger commitment than I was hoping for.[br][/br][br][/br]Likely what I'll do before trying to create the monolithic imageboard engine is continue removing parts of our existing software with components and ideas that will be used later:[br][/br]- Track down the specific .SO-MySQL issue[br][/br]- Rewrite the templater using a from scratch Rust implementation[br][/br]- Upgrade/Remake search.php with a Rust implementation and some AI tools[br][/br]- Implement the IM service[br][/br]- Rewrite some other segments of code(NodeJS) parts for some extra knowledge[br][/br]Other than Generative AI goals which could pop up, that's probably all that needs to be cleared before I feel like I can do an S tier job with writing a server.","name":"Anonymous","time":1682757410,"last_modified":1682757410,"board":"b"},{"no":11799,"resto":11010,"com":"This dude's been hitting my feed. [br][/br]And my Rust+PHP things didn't pan out. Also doing a ton of golang stuff now and I'm seeing that what I liked about Rust might not actually exist in reality.[br][/br]The things Meguca thought when deiciding between go or rust were kind of wrong and focused more on high performant websockets. But you don't actually need websockets for most things, can just use HTTP/3 unidirectional sockets.[br][/br][br][/br]If anything we'd want client side sockets for IM/IRC stuff and I'm kinda actually satisfied with my hacked together Rustlang Sageru-Kissu relay. Perhaps can touch it up a bit. [br][/br]To be honest, the front-end of kissu is basically complete. I can't think of anything more to do with it. Even if I did put unidirectional sockets in it would just be to reduce bandwidth usage for mobile devices.[br][/br]Problems/Grievances with Kissu are hardly the fault of a lack of features unless people can prove otherwise.","title":"https://www.youtube.com/watch?v=81A5ae06vwI","name":"Anonymous","time":1686747052,"last_modified":1686747052,"board":"b","ext":"embed","embed":{"site":"youtube","code":"81A5ae06vwI","inputURL":"https://www.youtube.com/watch?v=81A5ae06vwI"}},{"no":11800,"resto":11010,"com":"It really is amazing how I can do bulk post moves and the post reference (quote link) is rebuilt, and it happens in seconds. I did the happenings thread -\> reddit move of about 20 posts at once, including images, and it completed in seconds. Images were rebuilt and labeled with the m- prefix and it's just so cool. It's not something regular users can ever see, so I just wanted to point it out","title":"[SubsPlease] Ousama Ranking - Yuuki no Takarabako - 09 (1080p) [692044EB].mkv_snapshot_09.20_[2023.06.10_19.37.20].jpg","name":"Anonymous","time":1686763553,"last_modified":1686763553,"tn_h":98,"tn_w":175,"h":1080,"w":1920,"board":"b","fsize":311291,"filename":"[SubsPlease] Ousama Ranking - Yuuki no Takarabako - 09 (1080p) [692044EB].mkv_snapshot_09.20_[2023.06.10_19.37.20]","ext":"jpg","file_id":"1686763553695","location":"haiji","md5":"f65cdbcc44cdf21131c6f7eb404bfd7c","cites":[{"post":"11801","board":"b","host":"11010"}]},{"no":11801,"resto":11010,"com":"[c b|11010|11800]\>\>\>/b/11800[/c][br][/br]As a user, I also think it's pretty cool. Short comment, but yeah.","opt":"sage","name":"Anonymous","time":1686765630,"last_modified":1686765630,"board":"b"},{"no":11802,"resto":11010,"com":"yeah its real cool i remember that one time a big move like that broke all the links its much appreciated[br][/br]i THINK \>\>\>/qa/109652 was pointing to the posts before the move and wasnt updated...","name":"Anonymous","time":1686782626,"last_modified":1686782626,"board":"b","cites":[{"post":"11803","board":"b","host":"11010"}]},{"no":11803,"resto":11010,"com":"[c b|11010|11802]\>\>\>/b/11802[/c][br][/br]yeah, it doesn't cascade like that. [br][/br]I don't really believe that imageboards or anything involving user content should be put into SQL databases. Just makes this entire thing a pain to deal with.[br][/br][br][/br]SQL for ordered data presentation and analytics. [br][/br]Document QL for variable data structures","name":"Anonymous","time":1686842757,"last_modified":1686842757,"board":"b","cites":[{"post":"11804","board":"b","host":"11010"}]},{"no":11804,"resto":11010,"com":"[c b|11010|11803]\>\>\>/b/11803[/c][br][/br]What type of database does Kissu use?","name":"Anonymous","time":1686855775,"last_modified":1686855775,"board":"b","cites":[{"post":"11805","board":"b","host":"11010"}]},{"no":11805,"resto":11010,"com":"[c b|11010|11804]\>\>\>/b/11804[/c][br][/br]MySQL[br][/br][u https://github.com/vichan-devel/vichan/blob/master/inc/config.php#L90]https://github.com/vichan-devel/vichan/blob/master/inc/config.php#L90[/u]","name":"Anonymous","time":1686856183,"last_modified":1686856183,"board":"b"},{"no":11834,"resto":11010,"com":"My ideal here is the following, but starting with new plans will take a bit of time.[br][/br][br][/br]Mod UI = dynamic binding QT C++[br][/br] - Separate the moderator activity for better security practices[br][/br] - I want to be able to make GUI again and potentially pick up my OpenGL knowledge(therefore there is no alternative to C++)[br][/br] - Good stepping point for other desktop application ideas[br][/br]API Server = HTTP2 Golang-Gin server interfacing with DB and Cache[br][/br] - A simple REST API that issues information for clients[br][/br] - Make use of HTTP2 websockets in place of certain types of polling[br][/br] - Better progress feedback on uploads[br][/br] - Instead of JSON files use Redis cache[br][/br] - Vichan is built on JSON files already so switch to MongoDB[br][/br] - Maintain legacy HTML pages [br][/br]WASM UI = Redo with Solid instead of React[br][/br] - Stay hip and with the times[br][/br] - Opportunity to clean up past spaghetti and add new features[br][/br][br][/br]This is probably the best plan that gets me skills in software engineering and removes the 5 years of outdatedness that kissu's accumalated.[br][/br]And I can do them individually at a slower pace while keeping things running on the site.[br][/br]Build the Go API handling for mod routes, then have a C++ application interface with it, then when that's done shift the site over to SolidJS and then change API server to start using MongoDB or whatever else I decide to be good.","name":"Anonymous","time":1687289138,"last_modified":1687289138,"board":"b","cites":[{"post":"12419","board":"b","host":"11010"}]},{"no":12419,"resto":11010,"com":"I'm thinking that for this goal we're going to be looking into porting the Vichan SQL over to another database. I'm thinking Postgres but open to looking into other suggestions people bring up if they want[br][/br][br][/br][c b|11010|11834]\>\>\>/b/11834[/c][br][/br]Adjustments to this planning[br][/br][br][/br]ModUI: Tauri based GUI[br][/br]API Server: HTTP2(3 ideally) Golang-Gin + Gorilla server[br][/br]UI: Existing kissu-UI with a plan for a Tauri UI","name":"Anonymous","time":1713847736,"last_modified":1713847736,"board":"b","cites":[{"post":"15494","board":"b","host":"11010"}]},{"no":12422,"resto":11010,"com":"probably MariaDB makes more sense, thinking of it a bit more and using Opus to give me some comparisions...","opt":"sage","name":"Anonymous","time":1713854405,"last_modified":1713854405,"board":"b"},{"no":15494,"resto":11010,"com":"[c b|11010|12419]\>\>\>/b/12419[/c][br][/br]Considering vichan has been archived recently I imagine this migration is of greater importance now. How is it looking like? Do you guys need help with anything?","opt":"sage","name":"Anonymous","time":1783710762,"last_modified":1783710762,"board":"b"},{"no":16489,"resto":11010,"com":"As I said elsewhere, I'm testing out how Claude Opus handles project rebuilds into other languages. Will put it onto a test server when it runs. It's the same website, just with a different backend. [br][/br][br][/br]Who knows if it will actually be any faster or not, but will run on Rust and be original closed source software so we won't have to worry about any exploits or whatever","name":"Anonymous","time":1793352140,"last_modified":1793352140,"board":"b"},{"no":16702,"resto":11010,"com":"The update on this. I'm having Claude Opus rewrite it into Rust using Vichan as a template. [br][/br]Maintaining all existing functionality, Several QoL features for the mod UI but it should just be the exact same as usual except using Rust over PHP.[br][/br][br][/br]We'll deploy the usable project to one of our testing environments and have people bugtest it.[br][/br]Finding bugs will reward you with a VIP token.[br][/br]Exploit and bug testing will be the main effort since rewritting existing codebases using AI is mostly a \"press enter and pray it's not pure garbage\" type of thing.","name":"Anonymous","time":1794777078,"last_modified":1794777078,"board":"b"},{"no":16703,"resto":11010,"com":"[code]β Here's w[wbr][/wbr]here the Tsuku[wbr][/wbr]yomi rebuild s[wbr][/wbr]tands. (Raw checkbox counts[wbr][/wbr] in the doc[wbr][/wbr] are ~42 done / 47 open / 16 dropped,[wbr][/wbr] but several \"done\" su[wbr][/wbr]bsystems are t[wbr][/wbr]racked on sub-[wbr][/wbr]bullets, so he[wbr][/wbr]re's the h[wbr][/wbr]onest phase-level picture.)[br][/br][br][/br] Working [wbr][/wbr]and tested end[wbr][/wbr]-to-end[br][/br][br][/br] - Phases[wbr][/wbr] 0β3 β the[wbr][/wbr] whole read+wr[wbr][/wbr]ite core: foun[wbr][/wbr]dation/workspace, the[wbr][/wbr] HTML shell (r[wbr][/wbr]eplaces Node S[wbr][/wbr]SR), the marku[wbr][/wbr]p engine, the posting write[wbr][/wbr] path (/post.php), the[wbr][/wbr] anti-abuse ga[wbr][/wbr]te (ban check,[wbr][/wbr] whitelist, fl[wbr][/wbr]ood, filter en[wbr][/wbr]gine, captchouli with[wbr][/wbr]hold/release), tripcode[wbr][/wbr]s (DES + b[wbr][/wbr]crypt, parity-veri[wbr][/wbr]fied), and med[wbr][/wbr]ia/thumbnails (Rust[wbr][/wbr] image + ffm[wbr][/wbr]peg, EXIF stri[wbr][/wbr]p).[br][/br] - Phase[wbr][/wbr] 4 β user endpoints: dele[wbr][/wbr]te, report, po[wbr][/wbr]ll, score, sea[wbr][/wbr]rch, banned.ph[wbr][/wbr]p, ban appeals[wbr][/wbr] β all liv[wbr][/wbr]e, with the response contrac[wbr][/wbr]ts matched to the real s[wbr][/wbr]ite.[br][/br] - Phase[wbr][/wbr] 5 β Twig engine: minijin[wbr][/wbr]ja renders the[wbr][/wbr] real vichan templates (bann[wbr][/wbr]ed/search/appeals pages)[wbr][/wbr].[br][/br] - Phase[wbr][/wbr] 5c β legac[wbr][/wbr]y site (origin[wbr][/wbr]al.kissu.moe) β this ses[wbr][/wbr]sion's work: the full po[wbr][/wbr]st-render layer (Post/Thread as mini[wbr][/wbr]jinja objects, real post_reply/post_thread + [wbr][/wbr]all sub-templates)[wbr][/wbr], thread pages[wbr][/wbr], board index + fileboard[wbr][/wbr] pages,[br][/br] em[wbr][/wbr]bed_html, host/ui-cookie dispatch[wbr][/wbr], and the [wbr][/wbr]legacy-form post redirect. V[wbr][/wbr]erified against the real tem[wbr][/wbr]plates and con[wbr][/wbr]firmed byte-identi[wbr][/wbr]cal to live vichan boardlist[wbr][/wbr] output. A[wbr][/wbr]lso did the boardlist nav[wbr][/wbr] (#1). Six[wbr][/wbr] commits,[br][/br] d1[wbr][/wbr]948aaβ70df410; wor[wbr][/wbr]kspace clippy-clea[wbr][/wbr]n, 119 tests + 10 templa[wbr][/wbr]te/DB tests green[wbr][/wbr].[br][/br][br][/br] Not star[wbr][/wbr]ted (the remai[wbr][/wbr]ning rebuild)[br][/br][br][/br] - Phase[wbr][/wbr] 5 mod + auth (J): lo[wbr][/wbr]gin/sessions/CSRF + ~6[wbr][/wbr]0 mod routes. This is[wbr][/wbr] the big arch[wbr][/wbr]itectural fork β needs scopi[wbr][/wbr]ng with you.[br][/br] - Phase[wbr][/wbr] 5b config [wbr][/wbr]modernization (K) and item 7[wbr][/wbr]4 (per-board v[wbr][/wbr]isibility flags replacing themes[wbr][/wbr] β overlaps K and the[wbr][/wbr] overboard/site.json mech[wbr][/wbr]anism; needs a[wbr][/wbr] design call).[br][/br] - Phase[wbr][/wbr] 6 background tasks (N) ([wbr][/wbr]vibans/archive-purge/mail), IRC rel[wbr][/wbr]ay (O), deploy[wbr][/wbr]ment (P).[br][/br] - Sectio[wbr][/wbr]n Q (endpoints[wbr][/wbr] missed in the first dra[wbr][/wbr]ft) and R [wbr][/wbr](mod dashboard detail).[br][/br] - Smalle[wbr][/wbr]r deferred: fu[wbr][/wbr]ll error.html Twig page,[wbr][/wbr] legacy / front page,[wbr][/wbr] withheld-file c[wbr][/wbr]arry on captch[wbr][/wbr]a release, orp[wbr][/wbr]han-media cleanup on cyclical[wbr][/wbr] trim.[br][/br][br][/br] Net: eve[wbr][/wbr]rything a logg[wbr][/wbr]ed-out user to[wbr][/wbr]uches β browsi[wbr][/wbr]ng (React + legacy Twig)[wbr][/wbr] and posting β[wbr][/wbr] is built [wbr][/wbr]and tested. What's left[wbr][/wbr] is moderation/auth, config m[wbr][/wbr]odernization, back[wbr][/wbr]ground jobs, a[wbr][/wbr]nd deployment.[br][/br][br][/br] Two thin[wbr][/wbr]gs that genuin[wbr][/wbr]ely need your direction befo[wbr][/wbr]re I build them: mod+auth[wbr][/wbr] (Phase 5) an[wbr][/wbr]d item 74'[wbr][/wbr]s data model. Want me[wbr][/wbr] to scope one[wbr][/wbr] of those, or is there[wbr][/wbr] a different part of the[wbr][/wbr] rebuild you meant?[/code]","name":"Anonymous","time":1794777099,"last_modified":1794777099,"board":"b","cites":[{"post":"16704","board":"b","host":"11010"}]},{"no":16704,"resto":11010,"com":"[c b|11010|16703]\>\>\>/b/16703[/c][br][/br][s quote]\>genuinely[/s][br][/br][u https://gist.github.com/Mariven/17c2223a1293559a0b6868fbb136fedd]https://gist.github.co[wbr][/wbr]m/Mariven/17c2223a1293559a0b6868[wbr][/wbr]fbb136fedd[/u]","name":"Anonymous","time":1794778615,"last_modified":1794778615,"board":"b","cites":[{"post":"16705","board":"b","host":"11010"}]},{"no":16705,"resto":11010,"com":"[c b|11010|16704]\>\>\>/b/16704[/c][br][/br]Does this get it to write more mechanically sounding docs? I don't really care how it writes these tbh... I don't trust it to be honest anyways","name":"Anonymous","time":1794778820,"last_modified":1794778820,"board":"b","cites":[{"post":"16706","board":"b","host":"11010"}]},{"no":16706,"resto":11010,"com":"[c b|11010|16705]\>\>\>/b/16705[/c][br][/br]Yeah it's to try to get it to not write like a faggot.","name":"Anonymous","time":1794780031,"last_modified":1794780031,"board":"b"}],"similar_threads":[{"no":13175,"com":"[s quote]\>Lap:[/s][br][/br]#7808[br][/br][br][/br][s quote]\>Countdown to Al-Saud GP:[/s][br][/br][br][/br][s quote]\>Previous thread:[/s][br][/br]gone[br][/br][br][/br][br][/br][s quote]\>Fernando Alonso F1 Grands Prix since last win:[/s][br][/br]205 (204 starts)[br][/br][br][/br][s quote]\>Nico HΓΌlkenberg F1 Grands Prix without ever scoring a podium:[/s][br][/br]234 (231 starts)[br][/br][br][/br][s quote]\>2025 WDC Standings[/s][br][/br]NOR: 77 (+15)[br][/br]PIA: 74 (+25)[br][/br]VER: 69 (+8)[br][/br]RUS: 63 (+18)[br][/br]LEC: 32 (+12)[br][/br][br][/br][s quote]\>2025 WCC Standings[/s][br][/br]McLaren Mercedes: 151 (+40)[br][/br]Mercedes: 93 (+18)[br][/br]Red Bull Racing Honda RBPT: 71 (+10)[br][/br]Ferrari: 57 (+22)[br][/br]Haas Ferrari: 20 (+5)[br][/br][br][/br][s quote]\>2025 WEC Standings[/s][br][/br]LAW: 323.96 (+79.17)[br][/br]HAM: 260.36 (+62.50)[br][/br]SAI: 253.06 (+48.96)[br][/br][br][/br][s quote]\>News:[/s][br][/br]4chan has died[br][/br]/f1/ remains","title":"/f1/ - Relentless Formula One General - End of Days..","tn_h":144,"tn_w":255,"board":"b","ext":"gif","file_id":"1744745127269"},{"no":13311,"com":"Can the mods tell me why you locked my thread instead of deleting it? Was it because you didn't want it to show up in the bans list?","title":"Can the mods tell me why you locked my thread instead..","tn_h":255,"tn_w":193,"board":"b","ext":"jpg","file_id":"1745136594981"},{"no":13339,"com":"I post here whenever someone's IP gets permitted.","title":"Rangeban Whitelist Thread","tn_h":218,"tn_w":255,"board":"b","ext":"png","file_id":"1745212335690"},{"no":13419,"com":"Do you think on /b/ we can have a thread where we discuss and add more emotes to the yukkuri stream and also maybe ask verm for a better way of autocompleting them and maybe making some emotes in this thread that'd work while trying to adhere to some core design of not making anything too obnoxiously large or whatever? Also change the stream intro?","title":"Do you think on /b/ we can have a thread where we discuss..","tn_h":255,"tn_w":180,"board":"b","ext":"jpg","file_id":"1745369089957"},{"no":13551,"com":"I'm thinking about purchasing an adspace on 4chan now that it's back so we can make it clear alternatives exist and there are greener pastures like our beloved Kissu.[br][/br]I just need the right banner, was thinking about a desktop header for all japanese-related boards. I just need a good banner, needs to be 728x90. I could make one myself but I'm not super good at Photoshop.","title":"I'm thinking about purchasing an adspace on 4chan now..","tn_h":255,"tn_w":255,"board":"b","ext":"jpg","file_id":"1745742531035"},{"no":13682,"com":"[ul]I've got a couple of things that Kissu has had on the backlog for a while.[/ul] Some new, some old.[br][/br][b][e]I want to know if there's anything to add to this list[/e][/b]. [br][/br]It's a bit disorganized because some features blend into others. Like adding a better search to kissu would also tie into building up an archive where posts are stored longterm in a more compressed form.[br][/br]I'll make a poll to see what's most desired later. But I wanted to give the chance to bring up anything I may have forgotten. [br][/br]Like maybe there's a more general maintenance goal that's requested or perhaps some 4chanX feature exists you'd like to see moved over.[br][/br][br][/br]This is more a preliminary check to see if I missed anything for a future poll and to gauge any interests.[br][/br][br][/br][ul]New Websites for more features[/ul][br][/br][b]A Search feature as a new website[/b][br][/br]This combines with: [b]Longterm Archive feature as a new website[/b][br][/br][b]A cross site threadwatcher as a new website[/b]. An idea I spoke of here [u https://kissu.moe/qa/thread/151827#qa-152927]https://kissu.moe/qa/thread/151827#qa-152927[/u]. With stats tracking(replace marge.moe)[br][/br][b]Stats tracking website[/b] as I said above. Just ties into the idea of a threadwatcher[br][/br][ul]Vichan replacements[/ul][br][/br][e]This divides into several concepts each distinct:[/e][br][/br][b]moderator panel remakes[/b]. The thing that might be interesting here is working out a way to encrypt data such that only admins with private keys can see IPs and other sensitive info. Otherwise it's scrambled in the case of a hack.[br][/br][b]Server side posting+reporting+dele[wbr][/wbr]ting software remakes[/b][br][/br][b]Replace MySQL database with a more contemporary solution[/b]. Of the same idea but a separate task.[br][/br]The end results of these goals would be making kissu's older software open source while the new one continues being hidden/proprietary.[br][/br][ul]UI Rewrites[/ul][br][/br][b]Into another framework(svelte)[/b] to create better performance and remove technical debt[br][/br][b]Tauri Desktop App + Mobile application[/b]. Which also ties into the above since it would be a new framework.[br][/br][b]New HTML page to replace Vichan's Twig templaters[/b]","title":"PrePoll Feature Check","tn_h":255,"tn_w":171,"board":"b","ext":"jpg","file_id":"1746575851356"},{"no":13912,"com":"Ewww, why is this in C*m*c S*ns?","title":"Ewww, why is this in C*m*c S*ns?","tn_h":128,"tn_w":255,"board":"b","ext":"png","file_id":"1749304667643"},{"no":14025,"com":"Did you hear them say the wrong thing and continue travel?","title":"Did you hear them say the wrong thing and continue..","tn_h":255,"tn_w":255,"board":"b","ext":"jpeg","file_id":"1752662568107"},{"no":14201,"com":"Why does this site have a Steam chat, but not a Steam group?[br][/br][br][/br]Verniy, make us an official Kissu Steam group: [u https://steamcommunity.com/actions/GroupCreate]https://steamcommunity.com/actions/GroupCreate[/u]","title":"Why does this site have a Steam chat, but not a Steam..","tn_h":225,"tn_w":225,"board":"b","ext":"jpg","file_id":"1756190315705"}],"reply_count":53}]
;window.page_no=0