Recent Posts
posted 13 years ago
Andrew Stacey
118 posts
|
Forum: Instiki – Topic: Feature Requests It would still just be one entry in the database. But it would mean that there actually was an entry in the database if “Foo” only links to an anchor on “Bar”. Having to do it via hyperlinks would mean that the pages weren’t officially linked. My idea (no idea how practical) would be:
So then at the point of sorting out the database, instiki doesn’t care about the anchors and just registers the link to page “Bar”. |
posted 13 years ago
distler
123 posts
edited 13 years ago |
Forum: Instiki – Topic: Feature Requests
Indeed, there is. And that’s why there are no anchors allowed. If page “Foo” has multiple WikiLinks to [[Bar]], there’s still only one corresponding entry in the database. That could no longer be true if “Foo” could link to [[Bar]] and to [[Bar#baz]]. What you want is a hyperlink, and Markdown provide a syntax for hyperlinks which permits anchors. Update:On reflection, I suppose that allowing the presence of anchors doesn’t strictly conflict with having just one entry in the database. I should think some more … |
posted 13 years ago
Andrew Stacey
118 posts
|
Forum: Instiki – Topic: Feature Requests Here’s something I’d find useful: allowing for anchors in wikilinks. So that I could type I feel that there is a qualitative difference between a wikilink and a hyperlink, and links to anchors on particular pages should be in the wikilink category. |
posted 13 years ago
distler
123 posts
edited 13 years ago |
You’re probably correct. The rule is that pages with Flash messages on them (like the one that tells you that the file was successfully-uploaded) are not cached. So you get to see the correct page once, but if the incorrect one wasn’t deleted from the cache, that’s what you’ll see the second time. Fixed in |
posted 13 years ago
Andrew Stacey
118 posts
|
New bug! I think that the page view is not getting “expired” (is that the right term?) when a file is uploaded. Here’s the “steps to reproduce”:
Because of that last, my guess is that the pre-upload version is still in the cache, but that the page shown when the file is uploaded doesn’t read the cache version. So long as the cache hasn’t been expired, you can see this at http://ncatlab.org/doriath/show/uploads+and+caches. If you click on the question mark, you should get a copy of the Snake Lemma. |
posted 13 years ago
distler
123 posts
edited 13 years ago |
Forum: Heterotic Beast – Topic: Rails 3.1.0 I upgraded Heterotic Beast to Rails 3.1.0. Despite all my prior testing, the process didn’t go as smoothly as I would have liked, and this forum was pretty disrupted for most of Friday. Should be back to normal now. But leave a comment here, if something’s still broken for you. The main new feature is the Asset pipeline, which supposedly speeds the delivery of static files (CSS, javascript, and images). Unfortunately, the result seems buggy.
Other minor bugs include:
|
posted 13 years ago
Andrew Stacey
118 posts
|
I reserve the right to be stupid! |
posted 13 years ago
distler
123 posts
|
Of course they are different.
In X(HT)ML, the latter is equivalent to ” The short-tag construction does not exist in HTML and all browsers interpret the latter as the opening tag, ” |
posted 13 years ago
Andrew Stacey
118 posts
|
I’m afraid I’m not very well informed on the differences between XHTML and HTML. I probably ought to be (I found the w3c page on it which was useful). So Text Text Text Text) The reason why I’m using these is that in a LaTeX document, whenever a counter is stepped then |
posted 13 years ago
distler
123 posts
|
would not have triggered the bug. Only empty elements (which get converted to short-tag syntax, |
posted 13 years ago
Andrew Stacey
118 posts
|
Yet again: thanks! Though I dispute the “equally useless”. I was using the empty anchor tag to put an anchor at a particular place on the page when there wasn’t an obvious thing to “hang” it on. Of course, I could always find something to put it with, but it was coming from my automatic LaTeX-to-iTeX package and it’s much easier to have an empty anchor than try to figure out automatically where it can be put. |
posted 13 years ago
distler
123 posts
|
Same thing happen(ed) when you typed (the equally useless)
Fixed in Revision 744. |
posted 13 years ago
Andrew Stacey
118 posts
|
Next bug. For some strange reason, empty anchors mess up wikilinks:
means that Instiki does not process the wikilink. If I put text in the anchor, then it’s fine. If I replace the This does feel a bit like a “when I bang my head on the wall then it hurts” bug, but still it is strange behaviour particularly given the tag-dependence. (See http://ncatlab.org/nlab/show/Sandbox for some experiments.) |
posted 13 years ago
Andrew Stacey
118 posts
|
If you can’t remember, then I’ll experiment with taking it out and see who complains, and about what. |
posted 13 years ago
admin
63 posts
|
Ah. I see. I was deceived by your example TheoremThis is italic text. But this is not.
In general, the more specific CSS selector wins, and there was some circumstance where inheritance from |
posted 13 years ago
Andrew Stacey
118 posts
|
Great! I’ll apply those tomorrow morning. (And I learnt a new word. Doubt I’ll be able to get it in to Boggle, though.) |
posted 13 years ago
Andrew Stacey
118 posts
|
It’s about inheritance. Let me do my example again.
TheoremThis is italic text. This is normal, but this is not.. The link should inherit the |
posted 13 years ago
admin
63 posts
|
Works for me. TheoremThis is in italics. This is normal. And this is italic, again. This whole paragraph is normal. This paragraph is in italics. was generated by
Aside from the kludgy bit about applying styles to spans, I have no idea what your issue is. |
posted 13 years ago
admin
63 posts
edited 13 years ago |
Thanks for the report. Fixed in Revision 742. I think this bug was a long-standing one. The other, fixed in that Revision, was completely iatrogenic. Oh, and your double-escaping bug is fixed in Revision 743. |
posted 13 years ago
Andrew Stacey
118 posts
|
(Not so much a bug, but also not a feature request, so gets put here.) Is there a reason why the italic style in theorems is done via:
rather than:
The
will come up as italic, I think. Actually, I can test it here: TheoremYes, it did. So the normal CSS inheritance is effectively bypassed by the I’m generally reluctant to modify stuff that you’ve put in place! Is there a reason for the |
posted 13 years ago
Andrew Stacey
118 posts
|
Okay, next one. I’m recording the error message first. It’ll take me a few minutes to track down exactly what is causing it.
Actually, didn’t take long at all. The last line of the document was I guess that getting a more sensible error (this causes smoke) would involve hacking maruku more than you’d like. |
posted 13 years ago
Andrew Stacey
118 posts
|
I originally thought that this one was due to old browsers, but I’m now using FF6.0 so it can’t be that. Anyway, when I create a new page, the “Page X does not exist” is getting escaped once too often and I see:
|
posted 13 years ago
Andrew Stacey
118 posts
|
Thanks! I’ve updated the nLab and Azimuth Project. That’s great. |
posted 13 years ago
admin
63 posts
|
Fixed in Revision 736. |
posted 13 years ago
Andrew Stacey
118 posts
|
Forum: Heterotic Beast – Topic: Bugs Long lines (of code?) make the posts a bit wide. Currently, my view on http://golem.ph.utexas.edu/forum/forums/instiki/topics/bugs#post_77 has all the posts reaching in to the grey region on the right-hand side. |
posted 13 years ago
Andrew Stacey
118 posts
edited 13 years ago |
Maruku doesn’t like starting bold text with bizarre unicode symbols, or named entities (presumably these are converted to unicode symbols). Example This causes a crash in instiki:
PS: This showed up after I installed the latest version of instiki. |
posted 13 years ago
admin
63 posts
|
Forum: itex2MML – Topic: Feature Requests What should |
posted 13 years ago
admin
63 posts
|
Discuss bugs in itex2MML. |
posted 13 years ago
distler
123 posts
edited 13 years ago |
Forum: Heterotic Beast – Topic: Bugs No it doesn’t. Deleting the only post in a topic, also deletes the topic. Possibly, the redirect (which normally goes to |
posted 13 years ago
distler
123 posts
edited 13 years ago |
The former. You’re trading off workload on the server for stale data. Since computers are supposed to serve humans, rather than the other way around, the question is: does this improve the user experience? Say you implement the above suggestion. On the one hand, the user always (or almost always, depending on implementation) receives the cached page, i.e. gets a quick response. On the other hand, the data is invariably stale. Leaving these alone, the user is guaranteed to receive fresh data, but there could be a significant delay, if the page has to be regenerated. What percentage of requests for these pages hit the cache? A better solution is to pull in the As to moving away from Maruku, to some
|