Here's a quick update on what's going on with the software side of things.
1. I've started to rewrite Nanochan in C, under the name `sakamoto`. This will be released as a more "proper" software package which people can use for their own imageboards, although of course the main priority will be its use on nanochan. Expect this to be done in maybe a month or two (or three) - I won't be making major improvements to the lua version in that timeframe.
2. I have begun to generate a v3 hidden service name for nanochan, but this will probably take quite a long time since 8-character v3 onion names are apparently much harder to generate than v2 onion names, and the recent hyperthreading performance slashes in openbsd haven't made that easier. Hopefully it gets finished around the time sakamoto does.
>>1253 Nothing wrong with the site right now, I just wanted to increase my autism levels and practice my C skills (also muh speeeeed). There are a few design issues that I'm looking to fix, but nothing major or severe.
I made a nifty captcha in C using graphicsmagick, didn't use it for anything yet, but if you don't plan on porting your current captcha (which would be piss easy), I can send it over.
>>1259 I disabled the captcha. So far, spammer just hasn't come back, idk why. maybe he got bored. But it still works.
>>1258 thanks, if you could send it that would be good, although porting the existing one probably isn't super hard.
>>1252 >rewrite Nanochan in C
One of the few imageboards to be written in C? Please do it.
If you're using superior OpenBSD, make sure to use pledge(2) and unveil(2) to harden your software -- it will make nanochan/sakamoto much more secure because the program won't be able to access files outside of a specified directory or make system calls you haven't approved of.
In fact if you did that it might be even more secure than the Lua version.
How are you going to handle the formatting? By writing a parser/state machine? I see the Lua implementation is rather inefficient, having to scan the entire string each time looking for a small number of chars.
>>1399 >Blazechan
>Django
>Python
I have extreme difficulty believing that it's actually fast.
"Web frameworks" are pajeet cancer. Their entire purpose is just to include a bunch of useless features so that pajeets don't need to find software libraries to meet their requirements.
>>1396 Hakase is obviously a white man.
He could never achieve the level of failure of mason pig farmer, his mutt monkey son, a cripple potato and a drug addict.
Quick update on the situation.
The C rewrite kind of worked, but it was not noticeably faster than the Lua version with regard to posting speeds. As such I have abandoned that idea because there is no advantage.
I have, however, reworked the Lua version of nanochan to be a static page generator. This has resulted in some changes to the directory/file layout.
The static generation of pages slightly reduces CPU load on my server, allows me to use compression (which speeds up page loading), and allows me to use revalidated caching (which also speeds up page loading). Most people won't notice a huge difference because the latency of the tor network is the major contributor.
>>1447 Additionally:
1. The database and software is more or less 100% compatible with the old non-static version. If this solution turns out to be absolute shit for some reason, it can be reverted.
2. The cucknet is still blocked.
>>1450 I'm leaving them there. They do no harm and as you said, it's hard to remove them now. It's not as if they magically give all users mod powers or something.
Hiding them with CSS wouldn't be possible because CSS cannot check if a user is logged in as a mod.
>>1447 >writes tons of code
>discards it
Inspirational in more ways than one. Release the C source so that we have something to look at. Also how did you measure speeds to be sure the C variant wasn't better?
>>1452 it was pajeet code I'm not releasing it
it took over 3000 lines of code to get some piece of shit which didn't yet have file uploads
>how did you measure speeds
$ time curl -F 'blah blah' http://localhost:1488/Nano/post
>>1451 >CSS cannot check if a user is logged in as a mod.
you could have a non-static bit of css (~3 lines) that would vary based on login status. Probably more trouble than it's worth though.
>>1462 This. Haksay isn't even better than Chodemonkey in terms of programming ability. At least Codemonkey knows how to use JavaScript and advanced web technologies properly.
>>1469 How do you know that Hakass is white anyway?
>his pooscript usage is not remarkable
yes, because javascript is a simple, easy and modern web technology. the fact that hackass doesn't know how to use it means he's dumb.
>>1470 Well learning how to most effectively take dick in your ass is quite easy too, but I'm sure most people have better things to spend their time on.
>>1475 It's not supposed to be an insult (unless you take it as so like that dick in your ass), it was only supposed to point out how retarded your argument is
>>1447 Thanks for discontinuing your efforts to re-write Nanochan to C, because if you did it'd be unmaintainable for anyone besides you since no-one would be motivated to work on a image board written in C I assume
>latency of the tor network
I have been using Tor for so long I can't be bothered by it, nor do I think a 1 second latency is too much...
Here's a quick update on what's going on with the software side of things.
1. I've started to rewrite Nanochan in C, under the name `sakamoto`. This will be released as a more "proper" software package which people can use for their own imageboards, although of course the main priority will be its use on nanochan. Expect this to be done in maybe a month or two (or three) - I won't be making major improvements to the lua version in that timeframe.
2. I have begun to generate a v3 hidden service name for nanochan, but this will probably take quite a long time since 8-character v3 onion names are apparently much harder to generate than v2 onion names, and the recent hyperthreading performance slashes in openbsd haven't made that easier. Hopefully it gets finished around the time sakamoto does.