HackerTrans
TopNewTrendsCommentsPastAskShowJobs

faassen

no profile record

comments

faassen
·पिछला वर्ष·discuss
A good book about the related topic of novel urban ecosystems is "Darwin Comes to Town: How the Urban Jungle Drives Evolution" by Menno Schilthuizen. For urban ecosystems Schilthuizen argues we should accept it; cities are a new habitat anyway, and we should treasure the novel ecosystem that forms in them.

For non-urban places where thriving existing ecosystems get changed completely due to introductions the picture is more complicated; we should not ignore what has been gained by accident, but also mourn the loss.
faassen
·पिछला वर्ष·discuss
The specifications are certainly not easy to read, and I wouldn't recommend them to learn about XML. But from the perspective of someone implementing them they are quite useful!

As someone who has used many programming languages and who went through the process of implementing this one I have many opinions about XPath and XSLT as programming languages. I myself am more interested in implementing them for others who value using them than using them myself. I do recognize there is a sizeable community of people who do use these tools and are passionate about them - and that's interesting to see and more power to them!
faassen
·पिछला वर्ष·discuss
XSLT has been a goal of this project from the start, as my customer uses it. XSLT 3.0 simply as that's the latest specification. What tooling do you use for XSLT 2.0?
faassen
·पिछला वर्ष·discuss
My hope is that we can get a little collective together that is willing to invest in this tooling, either with time or money. I didn't have much hope, but after seeing the positive response today more than before.
faassen
·पिछला वर्ष·discuss
I myself actually had no idea succinct data structures existed until last December , but then I found a paper that used them in the context of XML. Just to be clear: it's 120% of the original size; as it stands this library still uses more memory than the original document, just not a lot of overhead. Normal tree libraries, even if the tree is immutable, take a parent pointer, and a first child pointer and next and previous sibling pointers per node. Even though some nodes can be stored more compactly it does add up.

I suspect with the right FM-Index Xoz might be able to store huge documents in a smaller size than the original, but that's an experiment for the future.
faassen
·पिछला वर्ष·discuss
Thanks!

Unfortunately at this point there's no HTML parser frontend for Xee (and its underlying library Xot) yet (HTML 5 parser serialization is supported at least in code). It shouldn't be too hard to add at least HTML 5 support using something like html5ever.
faassen
·पिछला वर्ष·discuss
Anything could be supported with sufficient effort, but streaming hasn't been my priority so far and I haven't explored it in detail. I want to get XSLT 3.0 working properly first.

There's a potential alternative to streaming, though - succinct storage of XML in memory:

https://blog.startifact.com/posts/succinct/

I've built a succinct XML library named Xoz (not integrated into Xee yet):

https://github.com/Paligo/xoz

The parsed in memory overhead goes down to 20% of the original XML text in my small experiments.

There's a lot of questions on how this functions in the real world, but this library also has very interesting properties like "jump to the descendant with this tag without going through intermediaries".