We like Kareha here. What have you noticed in kareha? Have you made any hacks or otherwise made use of it?
I saw that Storlek used Kareha as a base for his blog in the past. This seems sane to me, and not all too hard to do. When you think about it, Kareha is (in essence) a community blog.
Entering "fusianasan" in the name field or "2ch-sep93" in config.pl's date field do two quite obvious things.
pseud0ch.css, interestingly enough, does not support italics by default.
Over at sageru.org I use a hacked verson of Kareha that removes dates and makes the rules section user-editable [1]. It also scrambles the thread identifiers (which are normally the thread creation time) so the age of threads cannot be inferred.
It also has a couple custom CSS stylesheets, mainly 7chan, Overchan, and MWN. Feel free to take the first two for your site, if interested.
>>2
is the code for that rule changer thing available anywhere?
also, it seems i've found a bug:
>Traceback (most recent call last):
>File "index.cgi", line 21, in <module>
>main()
>File "index.cgi", line 15, in main
>do_get()
>File "/home/meltingwax/sageru.org/rules/handlers.py", line 60, in do_get
>""" % raw
>UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffe' in position 869: ordinal not in range(128)
>>3
i should probably explain how to reproduce that bug...
>>4
Thanks for reporting that bug. Even when you don't change the page encoding, it doesn't support unicode.
If you want the code to the rules, it's at this link:
http://meltingwax.net/stuph/rules.tar.gz
To install:
<div id="rules-to-be-loaded" /><script type="text/javascript">
$.getJSON('/rules/store.json', function(data) {
$('#rules-to-be-loaded').html(data.message);
Kareha with PSGI/Plack support: https://github.com/marlencrabapple/kareha-psgi
Surprised it took this long for someone to do this. Its at least 10x faster than vanilla Kareha when run with starman behind nginx.
>>6
So instead of ~2 seconds of cpu time per year, your board uses ~0.2 seconds of cpu time per year?
>>7
Its bi-annual on some sites. It might even be monthly here.
>>2
Seriously though, why did you remove the dates? What purpose did that serve?
penis
>>9
all posts on sageru.org are timeless classics.
Discuss.
I don't have one
"Freedom" only really has meaning in context. Freedom to do something, freedom not to have something done to you. On it's own it's an empty ideal.
Seeing as this is a programming board, I assume you mean "freedom" in a free software context, in which case my vote for free license goes to the MIT license. Simple and to the point, and not "copyleft" (which IMO is just trading one master for an arguably more benevolent one.)
>>6
Your opinion is not appreciated. GPLv3 is the only license. We don't need shitty companies. We need transparency. Freedom as in free. The end.
But what if I want the freedom to have my work ripped off and exploited for commercial gain by leading companies such as Apple?
>>9
That happens already on their side since they just ignore licences anyway, but if you really want such freedom, just upload your code on the interbutts without a licence.
>>10
In some countries, that's rather difficult. Luckily, the WTFPL covers such cases.
Freedom = being able to show Micro$oft, Apple and Stallman the middle finger whenever I want to.
It is my definition of freedom ^^
penis
What are your (current) hobby projects? What languages or libraries are you using? How usable or complete is it? What makes what you're doing novel or great?
No need to be smug or anything, or get all angry at other people for using <thing you hate>. Just share what you're up to. Add a URL if it's public too, if you want.
I'll start. I'm writing a stack-based language in Racket for use in embedded devices. It's already got Hindley-Milner style type inference, it just needs to actually produce output.
I'm also planning a modal text editor that feels like vim and a music-making program somehow.
But enough about me. Let's get some actual content on the front page of /code/.
fag
I've started a little handheld GPS tracking/plotting app/script...
Rather modest at the moment, just a save/load function + current path plot..
Uses Js / Droidscript
>EXPERT HTML PROGRAMMER
4-ch.net/code
<?test ><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html><?test ><!-- ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?test --><?test ?>
<head>
<?test >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- ?>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<?test --> <?test ?>
<title>HTML or XML?</title>
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
>"http://www.w3.org/TR/html4/strict.dtd">
who uses html 4 these days?
<!DOCTYPE html><html>...
>>5
That's XHTML 1.0.
Well, actually it's both.
That trick isn't possible with HTML5, because HTML5 isn't XML or SGML.
IMO, once they decided to ditch XML and SGML, they really should have gone with a more sensible style of markup... maybe something like RTF. But I guess there's some unwritten law that standards can't be sensible.
>>6
prefix hypertext markup with continue indications
(leltype!!! phm)
(phm
(charset shift_jis)
(parse until (end)))
(title standards@4ch)
...
(fuck wakabamark)
>>7
It doesn't have to be strictly prefix though, so likely another name..
>>7,8
S-expressions are a thing, you guys.
>>10
I guess you don't write Lisp. Semantic formatting is the antithesis of brevity, expressiveness, and beauty of code. S-expressions, on the other hand, deliberately make syntax not matter at all, by virtue of there being practically none.
If you want a layout-looking markup language then use markdown or whatever other shit is currently popular.
Fuck your lazy shit
gaynal sex
gaynus - 1. (n) The anus of a gay male. exp: "Ouch, right in the [b]gaynus[/b][i]![/i]"
gaynal - 1. (adj) relating to the anus of a gay male. exp: "Let's have some [b]gaynal[/b] sex[i]![/i]" exp: "I'm in the mood for some [b]gaynal[/b] fisting[i]![/i]"
fag
[b][i][u][o]this board is more dead than[/o][/u] [spoiler][sup]/prog/[/sup][/spoiler][/i][/b]
fag
How would I use wget to backup all a users tweets into a html file? There's 20 tweets per page so you need to iterate { TWEETS/20 } times
>>2
Someone did it just in BASH without the API.
Then some guy defaced his site :(
$ man wget
fag