Kareha recent posts

1 2020-01-26 06:50

Can we have a recent posts section in an Kareha-using textboard?
Like Bienvenido a Internet has. But it uses Weabot.

2 2020-01-26 12:33


uses captcha




do not edit these


Go(lang) Thread

1 2019-12-25 23:35

Is any of you using it? If so, what are you building?

At the moment I'm trying to replicate this website. It's the first time I'm using Go and I'm finding it pretty amusing.


14 2020-01-15 00:24

I like the syntax and the standard library but I hate messing with slices. You need to do the following to add an item to a slice:

a = append(a, item)

But when it comes to removing an item there's no

remove(a, index)

to remove an item.

15 2020-01-21 03:49 *


16 2020-01-22 22:51

Yeah, that's wierd but the trick is to re-use append when removing like this:

a = append(a[:index], a[:index+1]...)

as described here:

17 2020-01-22 22:51

>>16 was meant for >>14

18 2020-01-24 21:26

>>16 I have this wiki in a cheatsheet but it's rather uncomfortable to write this syntax. Nevertheless I find Go pretty cool to write toy projects on.



do not edit these


Hypertextizing Legislature

1 2020-01-09 18:06

Much legislature is a web of references (to definitions of terms, some law repealing or altering another law,,) But they're not hyperlinked. Their being made/maintained by stupid bureaucratic monopolists (i.e. government) has it understandable. (But not excusable.) Despite this, legislative texts are often (semi-) rigourously formed, so (some) automated hypertextization may be possible. Hypertextizing the (whichever appropriate) legislature would help legislative laïty (and non-laïty) by reducing or removing reference-digging work necessary to have a complete understanding of a law.

2 2020-01-13 05:54

You over estimate the amount of free time white collar government workers have.

Ever time I have to deal with a bureaucracy I think, "shit, I need to pay more taxes."

3 2020-01-14 21:02


Ever time I have to deal with a bureaucracy I think, "shit, I need to pay more taxes."

Every time I have to deal with a bureucracy, I think: "shit, I wish there was competition, so that I wouldn't have to pay these idiots!"

You over estimate the amount of free time white collar government workers have.

What do white-collar government workers have to do with any of this?

It would also be nice to have a local copy of such a database, which is kepy up-to-date with new legislature. Although, is the idea to make the interface between person and government more efficient misguided? Woulndn't it be more effective to consider how to transition society away from monopolistic government? Or would ``hypertextizing'' legislation be a step in that direction? I think it might help: by making it easier to understand the government, more people would understand it, thereby adding more manpower towards the goal. How much more manpower would be added towards the goal, than towards maintaining the status quo?



do not edit these


I2 Can P

1 2020-01-13 05:35

What do you think of I2P?
This is nice btw. I may have found a new home.



do not edit these


javashit redirect script

1 2020-01-08 09:17

What the script is meant to do, redirect to version of target website, in this case, then stop.

What it actually does, endless recursion til timeout.

What I've tried, putting in a break clause, but I think my syntax was wrong.

    if (url.indexOf('') !== - 1) {
            {break; }

10 2020-01-09 16:01

Thanks guys.

Finally it works!

11 2020-01-09 16:17

Ok this is the finished version. Only problem is, the whole purpose of it is to prevent loading pages from the variable ```sites```. And this script seems to load the page first then redirect to I think the iteration of the sites array is slowing things down. Can the code be optimized? What if instead of the iteration I just copy pasted the code for each site? Would that quicken things?

var url = window.location.toString();

var sites = ['','','',''];

// Redirecting 

for (i=0;i<sites.length;i++) {

   if (url.indexOf(sites[i]) != - 1) {

12 2020-01-09 23:31

Compatibility: Limited support in Greasemonkey 4.0.
The default if no value is provided. The script will run after the main page is loaded, but before other resources (images, style sheets, etc.) have loaded. The only guaranteed working value in Greasemonkey 4.x."""

So the documentation disclaims any hard guarantees about document-start. You could check whether Violentmonkey or Tampermonkey might work better for your use case. Also:

for (site of sites) {
13 2020-01-09 23:48


// @require

your script can't run before its requirements are loaded, so try removing that jquery line to speed up the loading time.

14 2020-01-10 01:06

So in the 3.x series you can have proper document-start with the patch from
but you give up on GM_addStyle. In the current version (4.9) the script invocation lives in
and proper document_start is in the TODO stage:
This file is responsible for observing content navigation events and triggering
content script executions.
TODO: Make document_start execution time work as intended.



do not edit these


Why are comfy venues like this so dead?

1 2019-12-02 16:26

As far as my taste goes, this board would rank as the top spot for prog chit-chat, over the faux-cypherpunk style imageboards and naturally over the well-known and much more popular and frequented not-so-anon/ephemeral vote-each-others places with account names.

But why is this so niche? A small handful of threads a day would be just nice without overloading our capacities, but it looks more like an even smaller handful of threads a month here.

Programming continues to grow leaps and bounds in terms of "quantity of players" as it has since it first arrived on the planet as an activity, yet proper comfy places like this whither and scramble. Though they're much better suited for focusing on topic with much less or regard to to others' or own identity/ego (votes / account names / avatar pics etc). Not to kick off the good ole obvious quantity/quality discussion (though.. why not, it's quiet enough already here)...

Text-based, pure content & knowledge, identifying truths and falsehoods. Weren't those the "pillars of programmers" once? Why are they all peacocking around elsewhere, debating the relative bells & whistles, glitz & glamour of various semi-related shiny-hypes-of-the-moment..

Sure, then there's the crowd that just lives in code because all chit-chat is ultimately leading nowhere. Fair enough, that's me 99.9% of the time. And other leisurely diversions for the occasional badly-needed brain-recharge abound. Still, I was pondering and since not much talk pervades this place (peaceful, in a way), why not share the pondering, like once in a decade..


6 2019-12-26 05:25 *

You have to dig a lot to find this BBS. First you have to hear about japanese anonymous textboards, then search for alive western 2ch-clones and so on. An even harder way would be to look for software that has been developed with MIT Scheme. I am still marveling at the fact that this place is even alive.

7 2019-12-29 16:16

most anons just aren't in the habit of starting new threads themselves.

I would think that it's healthier for a forum to have many more replies than initial posts. The whole point being discussion, and all that.

8 2019-12-30 20:45


I am still marveling at the fact that this place is even alive.

Same here and I wish it stays like this.

9 2020-01-10 00:04

I'll see her one day

10 2020-01-10 01:30 *

Medusa: I hope so.



do not edit these



1 2019-12-31 16:44

i need help, i wanna kill maself


3 2019-12-31 21:05


Rei laughed and reached in her back pocket, revealing a stack of printed out pictures from the game. She plopped it into Mamoru's hand, smirking. The taller man began to flip through the pictures, eyebrows raising at the blatantly sexual images and violent deaths of a blonde in a blue, skin-tight body suit.

"Has she done something to you in another life?" he asked, amused, as he held up a picture that showed the blonde woman being horrifically beaten by a large turtle looking thing, a green skinned ogre looking man, and a fat, pudgey little creature, with a weird mustache.

"No," Rei snorted, finishing off her coffee and ordering another. "Something about her just rubs me the wrong way. Can't stand the bitch."

"Uh-huh," Mamoru sighed, handing back the pictures. "You're something else, Rei."

"And you love me for it."

"Tolerate you. I tolerate you. You and your-hey!" He snapped his fingers in front of her face as her eyes followed the trail of a curvy blonde with a shocking resemblance to Usagi. "No checking out other women when I'm present."

"Meh," Rei snorted. "I'm still single, if you haven't noticed, so I can check out other women if I want."

"If you were gay," Mamoru began in a whisper, grinning like a fool. Rei rolled her eyes at the sound of that stupid song.

"Already am, too late for that."

"Well, damn Rei," The man leaned back, holding his heart. "Shot down before I had a chance to humiliate you? I'm hurt."

"And you're a moron," Rei said sweetly. "And, my friend, if you were queer I'd still be here-"

"Ha. Ha. You're hilarious." Mamoru frowned darkly, causing Rei to erupt into a fit of giggles.

"It's not that far off," she snickered. "Remember Fiore?"

Mamoru blushed. "You're a bitch, Rei."

"Guilty," Rei held up her hand, smirking. "But would you want me any other way?"

"Yes," he said. "I would prefer to see you as Usagi's bitch, once in a while. Because I would be a happy, happy man if that happened."

"Oh please, Chiba, you'd be a happy man if you saw Setsuna and Minako goin' at it."

"I have." At Rei's stunned silence, Mamoru cleared his throat, shifted uncomfortably. "To be honest, it's not that great. Then again, my memory is still a bit hazy from Setsuna clobering me over the head with that goddamn staff of hers. Which, by the way, hurts."

"You, my friend, are a hero," the miko said soundly, clapping him on the back. "And, lord above shoot me down now for saying this, but I am actually honored to be in your prescence."

"Oh stop," Mamoru said, brushing her hand away from him. "No, I lie, go on, stroke my ego. It purrs from your words."

"...And people wonder why I'm gay."

"Are you insinuating I have to power to turn girls gay, simply by them being in my prescence?"

"I would never insinuate such a thing" Rei patted his hand. "I'm just stating plain ol' fact."

"...This power is awesome," he said flatly. "I might just become a super hero."

4 2019-12-31 21:06


"Oh, I can see it now," Rei sneered, looping an arm through his and gesturing out into the air. "'Rose-Man! Gifted with the ability to turn girls gay! Coloring the rainbow, one lesbian at a time!'"

"And people wonder why we hate each other," Mamoru said fondly, patting Rei's head. Truth be told, the miko was more of a sister to him, than anything else. A sarcastic, snarky, rude, mean, loyal, strong, and annoying sister, but a sister nonetheless.

"Aww, they think that?" Rei gasped. She clung to his arm, blinking up at him with doe eyes. "But I wuvs mah Mamo-baka."

"Okay, no. Just no," Mamoru laughed, shoving Rei away from him; the miko was already clamping a hand over her mouth to stifle her laughter. "Stick to the women, Rei."

"Can do," she replied suavely. " I can do her and her and her..." she continued, pointing out random women from the cafe. Her eyes lit up as she noticed Usagi stomping towards the door of the cafe, her face scrunched up cutely. "Oooh. Can definitely do her."

"Innocent, virgin ears," Mamoru reminded her in a sing-song tone.

"Don't really care," Rei replied with the same tone. Usagi finally made her way into the cafe; Rei spread her arms with a cheeky grin as Usagi neared them. "Usagi! C'mere and give us a kiss!" she said with a joking tone.

Mamoru's eyebrows joined his hairline as Usagi fisted the top of Rei's shirt and yanked the miko into a bruising kiss. Then he whipped out his camera phone and started snapping away at the scene.

"Why would you just leave?" Usagi hissed when they parted. "When I'm trying to seduce you, you just don't get up and leave me."

"...hubba-wha?" Rei squeaked. Mamoru could have sworn there was a bit of grey matter leaking from her ears.

"Rule one," the blonde held up a finger. "When I sleep over, you follow whatever instincts you have and ravish me beyond belief. Understood?"

Rei nodded.

"Rule two," Usagi leaned in closer. "When you sleep over, I pin you to the bed, and we do it until you're making sounds only dogs can hear."

"Can I sleep over tonight?" Rei asked quickly.

"Say yes," Mamoru added in, having switched from camera mode to video mode. Usagi turned to him and smiled sweetly, chirping him a hello before her mood switched again.

"Did you think I would give you a choice?" Usagi smirked. "You're sleping over whether you want to or not."

"I want to," Rei supplied, ensnared. "Can we go now?"

"Duh." Usagi merely hooked a finger in Rei's jacket and began to tug her to the door. "Bye Mamoru-kun," she called over her shoulder. Rei looked over and pumped her arm, mouthing, "FUCK YES" at him.

"Have fun ladies," he called after them, grinning. He looked at his camera smiling evily. "And now that I have evidence of Rei being the bitch of the two," he said aloud. "I can be a happy man again."

Good luck, Rei. You're gonna need it.

5 2020-01-03 08:18

You, as an informatic chattel, are much too valuable for us to permit any act resulting in your death. Unless you, having agreed to the appropriate commercial advertising conditions, stream an entertaining self-execution. Naturally, we require a security deposit sufficient to cover whatever costs shall be caused in the event of your performance being insufficiently entertaining.

6 2020-01-07 11:00

donut do it

7 2020-01-09 01:46

Always try to cheer up your donuts. They have a hole at the center of their being.



do not edit these


Software disenchantment

1 2020-01-08 20:32

The guy has some good points. I was talking to a friend some days ago about how disposable our software is today. You need to build it as fast as you can without thinking about performance or even in some cases they don't even plan to make the software last. You just need to profit on the hype of your "app" or program and that's it.

What do you think about it?



do not edit these


What's the internet's __worst__ kept secret?

1 2019-12-26 22:32

methinks CGI, because the ``secret'' isn't even kept (too much misinformation) and it's not even secret: instead of serving data of a file, serving data of output of an executable (with a way to input (i.e. reading (and parsing formatted) stdin, and special environment variables), and a small restriction regarding output (i.e. Content-type: X/Y\n\n))


5 2019-12-28 00:30

What he's trying to say is that the function that formats text does not consider headline on it.

6 2019-12-28 04:45 *

It's not a big deal. Underscores are often used in plain text to mark an emphasis, so, the lack of formatting your headline degraded gracefully.

CGI starts a new process every time it's invoked which is expansive. FastCGI is a complex protocol. In the end it's simpler to parse the http request directly.

7 2019-12-29 15:24

As I understand it, CGI works thusly:
HTTP_client -HTTP_request-> HTTP_server -CGI_request-> CGI_server -program_request-> program -program_result-> CGI_server -CGI_result-> HTTP_server -HTTP_result> HTTP_client.
The expensiveness of CGI was in that it started a new instance of the CGI server for each CGI request, and terminated it as soon as it gave out the result. FastCGI is the same as CGI, but it stays running, listening for new CGI requests, even after it's done giving out the results of all extant requests.

In the end it's simpler to parse the http request directly.

Perhaps in some cases. Some persons may misinterpret such a statement as a generality. Also, what had you meant by ``parse the http request directly''? Perhaps you had meant that the end program, instead of httpd, should do the work of talking the HTTP protocol, listening on various ports, handling the traffic,, as well as doing the work to generate the HTTP result. That would be the direct interpretation of ``parse the http request directly'', but that is not good general advice. Perhaps in some cases, it is more efficient.
Perhaps you meant that httpd should just serve static files. That would be sane default advice.

8 2019-12-31 08:33 *

Perhaps you meant that httpd should just serve static files. That would be sane default advice.

I understand your point but httpd is supposed to serve resources, which as far as I know were never defined as merely static files. Let's forget for a while the abomination of the use of a web browser as a universal virtual machine to run anything (there, I'm sure we share the same point of view). There's nothing wrong with dynamically generated content: statistics, lists of recently updated contents etc.

As I understand it, CGI works thusly:

HTTP_client -HTTP_request-> HTTP_server -CGI_request-> CGI_server -program_request-> program -program_result-> CGI_server -CGI_result-> HTTP_server -HTTP_result> HTTP_client.

What I was trying to argue is that transforming the HTTP requests into a CGI request might be an unnecessary step and is now frequently replaced with :

HTTP_client -HTTP_request-> HTTP_server -HTTP_request(forwarded) -> "Application Server" -program_request-> program -program_result-> "Application Server" -HTTP_result-> HTTP_server -HTTP_result (forwarded, eventually reformated) -> HTTP_client.

Do you really need to translate HTTP requests into CGI requests? Is it a necessary step? Requests forwarded from the HTTP server ought to be clean and consistent enough and you really don't have to implement the whole HTTP specs into your application server.

What follows might need a trigger warning because that's absolutely against the elementary separation of concepts and I have a feeling that you're not going to appreciate it much. You can even use the web server itself to serve dynamic content. Lua is trivial to embed in a C server and when you're looking at raw performance, this way of building things has proven to be very efficient. Chinese programmers are into this. We didn't have a lot of code coming from them on github before that. Take a look at the OpenResty project for instance: You have the fast non blocking event loop of nginx and the ability to generate dynamic content with the speed of LuaJIT. Why not building web applications this way, if you have to deal with huge loads? That's the solution Alibaba, the giant chinese marketplace came up with.

Under really high load you can come up with even more radical approaches like embedding a primitive web server into your content application: (and here's another chinese project that I found "inspiring")
sample application:

9 2020-01-03 08:05

the lack of formatting your headline degraded gracefully.

This forum being slow, concurrent visitors are unlikely. >>2 was published (I assume the time displayed is the time of publication of the post) within minutes (2019-12-26 22:32--34) of >>1. The author of >>1 and the author of >>2 are probably only one person. Assuming that >>1 and >>2 are idemauteuric, his saying ``Is there not slant formatting in headline?'', would seem to suggest that he would have preferred to omit target-text underscore-based formatting, perhaps on aesthetic grounds. I know certainly that 1 such person exists. So the lack of formatting in his headline may have degraded, though gracefully, illy.



do not edit these



1 2019-05-02 17:37

Rejoice, Guix v1.0.0 has finally been officially released!

I've been using this as my primary OS for 2-3 years now and cannot recommend it highly enough - Best thing that's ever happened to my computing life.

Now we're just waiting on GNUnet and Hurd ( ._.)


28 2019-11-11 15:17

>>27 templeos vs guix article when?

29 2019-12-25 16:49


30 2019-12-26 07:49 *

Why, of OSes, exist only Windowses or Unices? Oughtn't exist better competition?

31 2019-12-26 15:32

I'll try it in QEMU:

32 2019-12-31 08:54

Btw, would a GuixSD virtual machine be a sensible alternative to docker?



do not edit these

New Thread

do not edit these