Unfortunately, that won't work for us. We want to create the entire file in one go, because cleaning up fifty million text files between test runs takes forever.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/sH4EZukozdM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
Some friends of mine and I are writing a program that outputs a metric crapton of text, and we stumbled across TiddlyWiki whilst looking for an easy way to store and view the data. It seems perfect, except for one tiny detail: creating the file. To clarify, we are talking literally millions of wiki entries at once - somewhere in the neighbourhood of fifty to one hundred and fifty million entries per run. Clearly, we don't want to manually import.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
I agree that expecting to load all that into a single browser page might be a stretch, but it's worth a try.
On 14-03-03 05:56 PM, PMario wrote:
> How does your data look like?
The data consists of a tree-like structure. The program generates a
continent for a fantasy role-playing game, creating nations within the
continent, counties within the nations, communities within the counties,
and so on down to the individual people.
The output is still up in the air, but generally, will be text-like data.
> Is your data kind of sorted?
Not really. Tree-like structure.
> Why don't you use a database to store your data?
As far as I know - and this information comes from our team member with
web development background - using a database requires a server-side
solution. Our goal is to make this program dump everything to [a|many]
local file[s], to be browsed locally only. The end user should not need
to install a full LAMP stack just to view the output.
We started with just a massive stack of web pages, but this proved to be
unmanageable for a number of reasons, one of which was that it could
take up to a half an hour to delete the output from a test run, and we
still had two more levels of detail to add. So we're looking for some
kind of single-file solution, that is compatible with our programming
language of choice (Object Pascal).
The data consists of a tree-like structure. The program generates a
continent for a fantasy role-playing game, creating nations within the
continent, counties within the nations, communities within the counties,
and so on down to the individual people.
I see. interesting :)
The probelm here is. TW doesn't use a tree like structure to store its data.
So it should be for a PC?
>So it should be for a PC?
Target system is PC (Windows and Linux), though we would like the output readable on a Mac, Android, iOS, etc. However, functional under Windows and Linux is our first goal.
On Tuesday, March 4, 2014 3:48:49 PM UTC+1, Timothy Groves wrote:>So it should be for a PC?
Target system is PC (Windows and Linux), though we would like the output readable on a Mac, Android, iOS, etc. However, functional under Windows and Linux is our first goal.
So if your data is not dynamic, you could split it to several TWs :) as I wrote. It may be good for up to 20k tiddlers. Not at the moment, but with some tweaking :)
... but what I don't understand, why do you need to create all the data up front?
on computers, that had a fraction of the power of a mobile phone, I'd deffinitely go this route.
on computers, that had a fraction of the power of a mobile phone, I'd definitely go this route.
Unfortunately, information from the top down to the county level must exist in order to generate information below the county level...neighbours must be known, Voronoi diagrams created, Dijkstra's Algorithm run, and such. We considered that, but it would mean that the start-up time would be sluggish, needing about 1 minute on my i7-2600. Since we would be using the output data on an Atom, the performance is not good enough.
An open-source database with a flexible data model for
documents,
graphs,
and key-values.
Build high performance applications using a
convenient sql-like query language or JavaScript extensions.
Unfortunately, information from the top down to the county level must exist in order to generate information below the county level...neighbours must be known, Voronoi diagrams created, Dijkstra's Algorithm run, and such.
<div created="20130909151600000" modified="20140226202356584" tags="mytag anothertag [[and one more tag]]" title="TheTitleOfThisTiddler" type="text/vnd.tiddlywiki"> <pre>*> This is the text of the tiddler - note that it is HTML encoded </pre> </div>
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
As mario suggested, the easiest way to get started is to use tiddlywiki.com/empty.html to create one or two tiddlers and then save the wiki.
-m
But in the meantime, can anyone suggest a better solution?
[...]