The Legendary Next Update (365)

151 Name: Anonymous 2005-10-19 08:57 ID:Heaven [Del]

You may want to consider releasing Kareha & Wakaba under some sort of license at this point, just to make sure that the scripts always stay free for people to use.

http://en.wikipedia.org/wiki/Free_software_license
http://en.wikipedia.org/wiki/Software_License_Types#Free_software_licenses
http://en.wikipedia.org/wiki/Copyleft

9 Name: test 2005-10-12 20:46 ID:Heaven [Del]

> Reintroduction of "Marked for deletion (old)"

I actually don't like that, and think wakaba should no longer use the futaba style of dropping threads by default. Why not use the least-popular option instead? If a thread is in demand, let it live.

54 Name: Anonymous 2005-10-16 09:20 ID:Heaven [Del]

>considering the default prune behaviour of imgboards

One of the parameters Kareha uses to determine pruning is MAX_POSTS, so even if you sage a thread under this new condition, you still add to the board's total postcount and speed up the process for pruning that thread, regardless of MAX_RES. The only flew is this assumes pruning is based on thread creation date, not popularity (because someone could easily bump a shitty thread and save it from deletion).

I also agree that enabling this functionality would further make threads vulnerable to intentional bumping by trolls. I was sorta envisioning it being used in a mature community where trolling is minimal and quickly weeded out by regulars.

Here's a new idea: how about trying this in reverse? Only "sage" posts are counted in MAX_RES, in which case saging can again be used either in protest or as a courtesy to others. The only problem is that people can then freely bump threads without consequence.

119 Name: Anonymous 2005-10-18 04:28 ID:Heaven [Del]

I found this:

fusianasan【ふしあなさん】[名・自スル]
2ちゃんねるに書き込みする際に名前欄に「fusianasan」の文字列を入力すると、その書き込みをした人のリモートホストのIPアドレスがさらされるようになっている。
本来は「(固定ハンドル)@fusianasan」などとして、まだキャップを取得していない固定ハンドルが自らIPをさらすことで騙りを防ぐためのシステムである。
が、裏2ちゃん関係のコピペが横行するに至って、一時期うっかりIPをさらしてしまう。
エロな人間が続出し、fusianasan廃止要望まで唱えられるに至った(当然却下されたが)。
IPをさらすことだけによる危険は、そのIPから手元で使用中のコンピュータを一意に特定でき
(ex:グローバルIPによる常時接続)、かつプロキシ・サーバー、ファイヤーウォールなどの防御策を怠っている場合にしか及ばないので、
fusianasanに引っかかったからといって実はそこまで神経質になることもなかったりする。
……過去にIPから仕事中に政府機関から2ちゃんねるにつないで裏2ちゃんに入ろうとしていた愚か者が釣れてさらされたという事例はあるが。
なお、現在では一部の板でデフォルトの名無しさん(名前欄未記入時の名前)が「fusianasanさん」などfusianasanを含む名前となっている場合がある。
また、串の性能を試すために敢えて裏2ちゃんに引っかかっていると思われる強者もちらほら見受けられる。

類義語:mokorikomo
参照:裏2ちゃん、キャップ

258 Name:   2005-10-22 14:47 ID:Heaven [Del]

Maybe. I just picked something at random.

167 Name:   2005-10-19 18:55 ID:gBva8ggI [Del]

Oh:

> Getting back to inconsequential nitpicking: I find the "___ image replies omitted" phrase to be a bit redundant, and for one it confuses me as to whether or not those image replies are separate from text-only replies. How about simply calling it "images"?

Yes, that's a great idea, which is why I've always done just that. You're thinking of 4chan.

295 Name: !WAHa.06x36 : 2005-10-23 20:39 ID:Heaven [Del]

Hmm, apparently there's some sort of bug in there still, since it's not marking up that.

203 Name: Anonymous 2005-10-20 20:58 ID:Heaven [Del]

>>177

> It's not worth comparing until it doesn't break regularly.

The only problem with it is that it doesn't do paranoid file writes. The fact that the entire server occasionally breaks isn't related to how broken the script itself is.

129 Name: Anonymous 2005-10-18 17:18 ID:Heaven [Del]

Damn, I was about to plug >>96 when I saw you uploaded the new version. Thanks for listening WAHa, you're awesome. :D

(Does this work like rules.html in mode_image? Is the board title inserted automatically in templates.pl or is it part of that separate html file?)

Already a few nitpicks though: (1) index.html#menu and index.html#1 links should be automatically inserted to the right of the board title (or below if you're looking at it without CSS), and (2) the "Create new thread" title isn't really necessary, since the widget button already explains its function (like with the reply box).

Unrelated: in 2ch thread lists, position numbers are followed by colons, not periods.

72 Name: Anonymous 2005-10-17 08:19 ID:Heaven [Del]

Oh, and please bring back MAX_LINES.

116 Name: dmpk2k!hinhT6kz2E 2005-10-18 03:53 ID:Heaven [Del]

What does "fusianasan" mean?

220 Name:   2005-10-21 15:45 ID:Heaven [Del]

Kareha can't use different layouts for posts on different pages, except by CSS trickery. I could add the second colon, though.

Also, I've implemented optional thread closing now, but there's no extra post. That would just be a total mess to implement, and would make re-opening threads annoying, if such a feature was requested. It replaces the posting form with a notice that the thread has been closed, instead.

256 Name: Anonymous 2005-10-22 13:23 ID:Heaven [Del]

>>255
By replacing it with AN EVEN DUMBER PUN!

64 Name:   2005-10-17 05:03 ID:gBva8ggI [Del]

Ah, there was an XHTML error in the cutesy capcode, and of Safari won't handle XHTML correctly and die on errors. Gah. Fixed.

243 Name:   2005-10-22 10:54 ID:Heaven [Del]

If you want to have a look at what the code actually does to dig out flaws, here is the current version:

sub sanitize_html($%)
{
my ($html,%tags)=@_;
my (@stack,$clean);
my $entity_re=qr/&(?!\#[0-9]+;|\#x[0-9a-fA-F]+;|amp;)/;

while($html=~/(?:([^<]+)|<([^<>]*)>?)/g)
{
my ($text,$tag)=($1,$2);

if($text)
{
$text=~s/$entity_re/&amp;/g;
$text=~s/>/&gt;/g;
$clean.=$text;
}
else
{
if($tag=~m!^\s*(/?)\s*([a-z0-9_:\-\.]+)(?:\s+(.*?)|)\s*(/?)\s*$!si)
{
my ($closing,$name,$args,$implicit)=($1,lc($2),$3,$4);

if($tags{$name})
{
if($closing)
{
if(grep { $_ eq $name } @stack)
{
my $entry;

do {
$entry=pop @stack;
$clean.="</$entry>";
} until $entry eq $name;
}
}
else
{
my %args;

$args=~s/\s/ /sg;

while($args=~/([a-z0-9_:\-\.]+)(?:\s*=\s*(?:'([^']*?)'|"([^"]*?)"|['"]?([^'" ]*))|)/gi)
{
my ($arg,$value)=(lc($1),defined($2)?$2:defined($3)?$3:$4);
$value=$arg unless defined($value);

my $type=$tags{$name}{args}{$arg};

if($type)
{
my $passes=1;

if($type=~/url/i) { $passes=0 unless $value=~/(?:^$protocol_re:|^[^:]+$)/ }
if($type=~/number/i) { $passes=0 unless $value=~/^[0-9]+$/ }

if($passes)
{
$value=~s/$entity_re/&amp;/g;

if($value=~/"/) { $value="'$value'" }
else { $value="\"$value\"" }

$args{$arg}=$value;
}
}
}

my $cleanargs=join " ",map { "$_=$args{$_}" } keys %args;

$implicit="/" if($tags{$name}{empty});

push @stack,$name unless $implicit;

$clean.="<$name";
$clean.=" $cleanargs" if $cleanargs;
$clean.=" $implicit" if $implicit;
$clean.=">";
}
}
}
}
}

my $entry;
while($entry=pop @stack) { $clean.="</$entry>" }

return $clean;
}

23 Name: Anonymous 2005-10-13 22:46 ID:0dCD+kFU [Del]

The point is to make a portable file, so you do not /have/ to compile it on the host. Statically linked lets you use libraries that the host does not have.

Sure, doing it in perl is an option though.

247 Name: Anonymous 2005-10-22 12:15 ID:Heaven [Del]

Why would there be any use in writing actual HTML in posts? Seems to me like it's just inviting abuse.

64 Name:   2005-10-17 05:03 ID:gBva8ggI [Del]

Ah, there was an XHTML error in the cutesy capcode, and of Safari won't handle XHTML correctly and die on errors. Gah. Fixed.

3 Name: Anonymous 2005-10-12 16:58 ID:Heaven [Del]

Kareha:

  • Conforming of navigation to 0ch standards for conveniency, efficiency, etc., i.e.
  • Navigation links also at the bottom of the thread pages
  • "First 100" to be replaced with "Next 100" (and "Previous 100") in thread pages
  • First post always showing up, even for later quoted ranges. Currently, you can supress this on 0ch by identing "n" before the post range.
  • Default l50 links in all lists
  • Automated archiving, i.e.
  • Automatic thread closing at a configured number of replies and/or thread size (recommended default values: 1000 posts or 512KB)
  • Automatic closing and moving of threads that do not get any activity in a certain timeframe (based on average activity frequency of the board)
  • Bonus features (not really important):
  • Fusianasan (reveal hostname by entering fusianasan or [string] into Name field)
  • Customizable Capcodes (please more than just "Admin", perhaps fancy colours)

24 Name: 19 2005-10-14 00:36 ID:Heaven [Del]

>>20
"|" is not "¦"

240 Name: 214 2005-10-22 09:22 ID:Heaven [Del]

Let's get to 1000 by "I want a pretty pony" only! ヽ(´ー`)ノ

321 Name: !WAHa.06x36 : 2005-10-26 09:17 ID:SjmelPTB [Del]

About rel=nofollow: What links should have it? Obviously not the "entire thread" link, but the l50 links in the thread list sort of need it, otherwise the search engine will never find them in the first place. But that means the l50 links will end up in the index.

217 Name: 214 2005-10-21 15:06 ID:Heaven [Del]

> More information on the all threads page [...] file size?

If (optional) closing on filesize should be implemented, this would probably be a good idea.

248 Name: 214 2005-10-22 12:23 ID:Heaven [Del]

It's also more markup when even the existing one isn't working as well as it should.

187 Name: Anonymous 2005-10-20 10:13 ID:Heaven [Del]

Another topic: since dynamic pages eat up CPU in order to rebuild pages according to URL parameters, what would be the likelihood of the current dynamic thread subpages having a significantly adverse effect in this aspect if a board were to grow to 2ch-sized proportions? Should there be a consideration to make these pages as static as the front page?

Also, let's put out a partition to kill secure tripcodes (unless they originated from 0ch/Futaba) and captcha (until we find a way to implement similar functionality without requiring it in the form of a GIF/PNG image), and add functionality for multiple uploads in one post.

And is there any practical way that Kareha can be modified to run multiple (even nested) boards in a single installation?

118 Name:   2005-10-18 04:21 ID:Heaven [Del]

>>116

Apparently it's not Japanese, because it's supposed to be pronounced as an English word. I have no clue, though.

91 Name: Anonymous 2005-10-17 13:55 ID:hjzD4Li4 [Del]

Put the Entire thread link on the top of the thread, not the bottom.

110 Name: anon!21anon4H3U 2005-10-17 20:22 ID:Heaven (Image: 1024x768 png, 36 kb) [Del]

src/1129602164301.png: 1024x768, 36 kb

WAHa, WAHa, it's a bug!

Pressed back after creating an error message in karaha (trying to reply to this thread, forgetting to type something in here), refresh does nothing!

107 Name: dhcp125.engglab.ualberta.ca 2005-10-17 17:28 ID:Heaven [Del]

fusianasan + sage test

273 Name: Anonymous : 2005-10-23 16:34 ID:Heaven [Del]

Oh, and "AA mode" should be changed to "Text art mode" so we won't be incessantly quibbling about the difference between ASCII and SJIS art.

This thread has been closed. You cannot post in this thread any longer.