Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JimmyRuska
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
151.
▲
by
JimmyRuska
14y ago
The difference is normal users are able to use this more easily when used as a markup language. People use parenthesis all the time as a delimiter for their ideas (they do this sometimes). So telling them to {i do this sometimes}, isn't muc
152.
▲
by
JimmyRuska
14y ago
I can say html is better than RTF, and I like this syntax more than html. It accepts _style attributes on any tag so I do not encourage command stacking.
153.
▲
by
JimmyRuska
14y ago
It's pretty easy to switch the delimiters. I plan to add it to a roleplay site first because they use parens much more than angle brackets. You can see the old version here, but it's a line by line parser http://rp.eliteskills.com/editing.
154.
▲
by
JimmyRuska
14y ago
A new BR for every enter I press. The goal was to make the text in the textarea readable. Maybe that's why markdown uses 2 line breaks for every <br/> but I'm not sure I want to do that.
155.
▲
by
JimmyRuska
14y ago
I set it to parse attributes with this syntax {b_class="text"_id="foo" content}. It only supports the style attribute at the moment, because I was worried about people using stuff like onclick or inheriting a class with a huge width. I stru
156.
▲
by
JimmyRuska
14y ago
Line by line parsers are extremely limited and markdown makes use of everyday characters we use in text for their formatting. The page itself uses style tags at the top so not sure what you mean. This is just showing off my progress so far
157.
▲
by
JimmyRuska
14y ago
but curl is a programming language itself. This is intended to be safe and primarily for markup. I did change from parens to angle brackets because of curl. It made much more sense because brackets are much less used in everyday chat, on no
158.
▲
by
JimmyRuska
14y ago
Line by line parsers are much much more limited. This can support syntax transformations and html attributes. This is more of an html-alternative in terms of capability. Markdown links are ugly and you need double space instead of single sp
159.
▲
by
JimmyRuska
14y ago
you can use the _style attribute with any element. For example {b_style="font-size:20;font-family:Courier New" content}. I intended it to work with other html attributes, so using multiple attributes would look like this {b_attr1='asdf'_att
160.
▲
by
JimmyRuska
14y ago
Err, replacement is maybe too strong a word. I should have said alternative. I don't have any such ambitions, but I plan to use this instead of bbcode on all my personal sites from now on. There's a lot of room for convenience in the form o
161.
▲
Lisp-like html as a replacement to bbcode/markup/textile
(94.249.190.129)
133 points
by
JimmyRuska
14y ago
|
79 comments
162.
▲
by
JimmyRuska
14y ago
This is my new parser. You change stuff in textarea and click submit to view changes. Sorry if it's not 100% there and the way I present it is simple, just was excited to share somewhere. I will use it to replace bbcode/markup/textile on fu
163.
▲
What I wish html was like: S-expression based with macros/special forms
(94.249.190.129)
2 points
by
JimmyRuska
14y ago
|
1 comments
164.
▲
by
JimmyRuska
14y ago
This is my new parser. You change stuff in textarea and click submit to view changes. Sorry if it's not 100% there and the way I present it is simple, just was excited to share somewhere. I will use it to replace bbcode/markup/textile on fu
165.
▲
by
JimmyRuska
16y ago
Gabest of mediaplayer classic, whoever that may be. Avery Lee of virtualdub.
166.
▲
by
JimmyRuska
16y ago
This is what happened with monster.com and a lot of other big sites that got hacked. I bet most don't even make it public, much less email their members. They work so hard on brand reputation and image, then it all goes down the drain becau
167.
▲
by
JimmyRuska
16y ago
I like Joe's, and the o'reilly book better. The examples aren't that great on this one and unlike the book claims the other books do cover some OTP. Read this one only after you've read the first two books, but even then I don't know if it
168.
▲
by
JimmyRuska
16y ago
PHP is a pretty decent lazy language, it just could give rise to bad habits. It also has a few odd irregularities in the naming of functions/argument order. It's just a massive arsenal of functions for everything. For example if people want
169.
▲
by
JimmyRuska
16y ago
I do do that. "LastMessage" var of the tuple in the dict. It's not enough if they make multiple windows all spamming in a loop. Some of the messages get through
170.
▲
by
JimmyRuska
16y ago
Tiles are from secret of mana 3 if I remember correctly. Chrono used just because of the sprite availability, it was one of my favorite games as a kid
171.
▲
by
JimmyRuska
16y ago
It does have a flood filter, your thing just spams so it gets in the post every chance. I can only make the flood count longer. That's the problem with javascript, kinda hard to prevent people from screwing around and editing it in-place.
172.
▲
by
JimmyRuska
16y ago
Here's source http://github.com/jimmyrcom/websockets-RPG-map-thing Gotta fix the flooding issues, there's still something that can make it crash too.
173.
▲
by
JimmyRuska
16y ago
Just view source, it's not obfuscated. If there's interest I can post the erlang code for the server on github.
174.
▲
Old school RPG style map in HTML5 canvas using websockets.
62 points
by
JimmyRuska
16y ago
|
42 comments