SexpCode+ revision
1
Name:
2010-06-27 17:48
Each character should refer to a single-character atom rather than having these dot things to differentiate between each single-character atom.
NO EXCEPTIONS
[b][i][o][u]NO EXCEPTIONS[/u][/o][/i][/b]
{b.i.o.u NO EXCEPTIONS}
becomes
{biou NO EXCEPTIONS}
But, in the case of a multi-char atom like tt, spoiler, sub, sup, quote, or img, we should make use of the dot things.
A dot should be used to denote the start of a multi-character atom and optionally the end of the atom, e.g.
fioc user
[sub]fioc user[/sub]
{sub fioc user}
becomes
{.sub fioc user}
and
/b/
[i][sup][b]/b/[/b][/sup][/i]
{i.sup.b /b/}
becomes
{i.sup.b /b/}
2
Name:
Anonymous
2010-06-27 17:56
3
Name:
Anonymous
2010-06-27 18:07
I would ask someone to convert all posts in /prog/ to both formats, and then see which format, on average, produces shorter strings. I will not do this because I'm lazy.
4
Name:
Anonymous
2010-06-27 18:08
Sexpcode+ considered harmful
5
Name:
Anonymous
2010-06-27 18:11
If you really want to get your changes into the SexpCode standard, it's probably more effective to discuss them in #bbcode.
This particular suggestion is awful, though.
6
Name:
Anonymous
2010-06-27 18:14
. is the function composition operator, not some mere tag delimiter. Clearly you have not yet reached Satori.
7
Name:
Anonymous
2010-06-27 18:17
>>6
And thus we see the dangers of
infix syntax .
8
Name:
2010-06-27 18:18
>>6
In
>>1 -san's perspective, the very notation of a character being next another represents a composition.
9
Name:
Anonymous
2010-06-27 18:21
>>8
And that's stupid. It's in violation of a million years of mathematical convention. It's as stupid as that guy on {b Xarn}'s blog suggesting SexpCode should be using commas instead of periods because that's how CSS does it.
10
Name:
Anonymous
2010-06-27 18:28
>>9
In mathematical convention they use open dots ∘, arrows →, and the parentheses notation f(g(x)). Stop being obtuse.
11
Name:
Anonymous
2010-06-27 18:31
>>10
If my keyboard had it I’d use ∘ instead. A period is as far as I’m willing to compromise.
http://cairnarvon.rotahall.org/2010/05/25/towards-a-better-bbcode/#comment-46713
Haskell also uses periods for function composition. As do mathematicians when communicating over media that don't allow for the full range of Unicode.
12
Name:
Anonymous
2010-06-27 18:33
13
Name:
Anonymous
2010-06-27 18:42
>>11
Most mathematicians use LaTeX, Microsoft Equation Editor, or MathML when communicating math over a computer.
Are you on your period or is there something else justifying your lack of intuition?
14
Name:
Anonymous
2010-06-27 18:44
Last time I checked, fg(x) was equivalent to f(g(x)) .
15
Name:
Anonymous
2010-06-27 18:47
>>10
The equivalent of the parentheses would be nested SexpCode function application:
{f {g x}}
It's not exactly composition.
16
Name:
Anonymous
2010-06-27 18:48
>>14
I don't know where you checked that, but your source is wrong.
17
Name:
Anonymous
2010-06-27 18:49
>>13
intuition
You don't even know what that word means.
18
Name:
Anonymous
2010-06-27 18:52
>>17
Well at the least, I'm not on my period
!
19
Name:
Anonymous
2010-06-27 19:10
fg(x) is equivalent to \t. f(t)*g[x](t). Read SICM they use this notation all the time
20
Name:
Anonymous
2010-06-27 19:27
Read SICM
21
Name:
Anonymous
2010-06-27 19:36
>>6
. is the function composition operator, not some mere tag delimiter.
Null-space is being using as the composition operator in the proposed SexpCode, while dots are being used as delimiters for the functions themselves (and ``functions'' longer than 1 character at that). Do you understand?
22
Name:
Anonymous
2010-06-27 20:06
unicode 202E should be used instead, everything else is considered harmful.
23
Name:
Anonymous
2010-06-27 20:09
{b.i.o.u NO EXCEPTIONS}
now becomes
{biou NO EXCEPTIONS}
24
Name:
Anonymous
2010-06-27 20:13
>>21
Except that there's no ZWSP character between the functions there, and if there were, there would be no need for delimiting.
25
Name:
Anonymous
2010-06-27 20:33
>>24
Null-space referring to the lack of anything (space) separating separating the characters.
26
Name:
Anonymous
2010-06-27 20:40
>>25
That's stupid and so are you.
27
Name:
Anonymous
2010-06-27 20:44
28
Name:
Anonymous
2010-06-27 21:31
>>27
Presumably because null space means something different.
29
Name:
Anonymous
2010-06-27 22:44
>>29
Well, is there a word for the space/lack of space that we use to separate characters?
30
Name:
Anonymous
2010-06-28 0:23
Is there a badge or banner I can put on my website to show support for this project? (Like a Get Firefox icon?)
31
Name:
Anonymous
2010-06-28 1:15
>>30
I'm cynical if this is sarcasm or not. Hopefully sarcasm.
32
Name:
Anonymous
2010-06-28 3:34
>>30
data:text/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPAgMAAAAOp6AcAAAAAXNSR0IArs4
c6QAAAAxQTFRFAAEABH8BZWZk/v/8GPZQHQAAAJZJREFUGNNt0EEKwjAQBdDcwCPlFCE75xTiKvQ+ceF
exCw8Q+kyVxBkKAST7yQVbGn+8vEZfqJ8JypglyKYxNmsclThla4fvUKu+MYFmoexAvEGuaE7bdHOU2Q
2mTgLHuDx5IEcyLGNbo61Wbw0bczuh2h4E5yikaY7C44LBs2wkJtykBht5+O+7KT/eKQSsMPO23u/9AU
E5sunlYDSNQAAAABJRU5ErkJggg==
33
Name:
Anonymous
2010-06-28 3:39
34
Name:
Anonymous
2010-06-28 3:54
>>32
I think I just
came a little.
35
Name:
Anonymous
2010-06-28 3:59
>>32
It's amazing how small that is, and yet how much further it could still be compressed. PNG is magic.
36
Name:
Anonymous
2010-06-28 4:03
data:image/gif;base64,R0lGODlhUAAPAJEAAP7//AR/AWVmZAABACH5BAAAAAAALAA
AAABQAA8AAAKxlI+py+0PD5i02ouz3rwbLXXBSJbmiaYqCnzVMEyIBVvrjatT2gq0FaLEKi
RijkVZ7VguIbA5GSYDS8DxVFVamb7Xs+s0Lou7qlW8LU2p03VPKKXMXlLytnxu59kmPN
9fBQUQl+BlRMamh+intgcoJkjoAxV3N8J4qWh2+ee4pxZZ8RFUmTl2kZmYpmpqd9cWO
RTiUnN4lXqb85bRJGh7O5ar5NtRbHyMLBOxzNzsnFAAADs=
37
Name:
Anonymous
2010-06-28 4:17
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPCAMAAABEF7i9AAAADFBMVEUAAQ
AEfwFlZmT+//wY9lAdAAAAiklEQVR42rXTgQqAIAwE0Ln7/3+Ojdw1NaFhR0kGPpep6OGI4mieoGrGWy
EBijjIzicQmMFUY4CvLgAUQL/fSiqCFnu+u3xv4Wd4S1BcGFexjwASBXCi4RorVEv0OCisLYgViAyicX
ioHZ/La0tQQZD/mhr5aQ0x70NrNvvQzW2Gk9Ib1ME/zvLhXN7rCbIAYLHXAAAAAElFTkSuQmCC
38
Name:
Anonymous
2010-06-28 4:44
>>30
Made for netscape navigator
39
Name:
Anonymous
2010-06-28 4:52
bold(italic(overline(underline("No exceptions.\n")))).print();
40
Name:
Anonymous
2010-06-28 5:03
One thing I must ask is, how do you escape the '{', '}', and '.' characters? What if I want to put some C code in a code tag?
Newer Posts