3) The web interface could use a face lift, as well as some HTML5 functionality.
I've got a lot of web development experience and would love to contribute in this area, also.
All of the work on the JSON APIs is a great step toward making the entire interface XHR compatible. What are the community's feelings on jQuery? I get the gist that externals are trying to be avoided, so that's why I'm asking,
I would love to write a library that turns the current site in to a highly interactive version without touching the HTML or CSS at all.
[...]
> 3) The web interface could use a face lift, as well as some HTML5
> functionality.
>
> I've got a lot of web development experience and would love to
> contribute in this area, also.
>
> All of the work on the JSON APIs is a great step toward making the
> entire interface XHR compatible. What are the community's feelings on
> jQuery? I get the gist that externals are trying to be avoided, so
> that's why I'm asking, I would love to write a library that turns the
> current site in to a highly interactive version without touching the
> HTML or CSS at all.
I strongly disagree.
First, please don't fix what's not broken.
Web UI does what it's intended to do, and does it well. JS usage is
constrained to what can't be done without it (those arrows in the
timeline view), and it's even usable with JS turned off.
P.S.
I'm one of those crazy folks who usually has NoScript turned on except
for the intranet sites, so yes, I'm biased.
_______________________________________________
fossil-users mailing list
fossil...@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> P.S.
> I'm one of those crazy folks who usually has NoScript turned on except
> for the intranet sites, so yes, I'm biased.
>
Yes, so am I ...
Same here. I don't think we should require c89 and
html5-browsers-with-javascript at once.
Regards,
Lluís.
On 10/26/2011 10:59 AM, Konstantin Khomoutov wrote:Agree 100%
> I strongly disagree.
> First, please don't fix what's not broken.
I think that things of that nature would be computationally intensive,
and better suited to a separate utility using e.g. your JSON interface
to query data to present.
I think a well-made js-enabled UI could be a wonderful improvement over
the current static one. I'd love to see what you have in mind. (in
other words, I'm not one of those noscript people..;) )
LZMA is good for release tarballs, but has unacceptable speed and
memory requirements for version control systems.
Note that due to self-checks, Fossil compresses and then extracts and
verifies content before committing it:
http://www.fossil-scm.org/index.html/doc/trunk/www/selfcheck.wiki
I'd say DEFLATE is a good compromise between LZO/SNAPPY and LZMA for our use.
--
Dmitry Chestnykh
Note that Fossil in CGI mode is executed for each request, so with UPX
it would have to decompress itself on each request. The first time you
run it, it may be faster (due to smaller disk reads compared to
uncompressed version), but for each subsequent request, once Fossil is
in RAM, it would be slower and require more CPU.
Forking and executing is not the same thing. I don't know in Windows, but in
unix, a fork of a upx program should be the same as a non-upx program.
--
Dmitry Chestnykh
Ah right, for the CGI yes. My fault :)
> On Tue, 25 Oct 2011 18:51:05 -0700 Caleb Gray <ca...@calebgray.com> wrote:
>>> [trimmed ...] What are the community's feelings on
>>> jQuery? I get the gist that externals are trying to be avoided, so
>>> that's why I'm asking, I would love to write a library that turns the
>>> current site in to a highly interactive version without touching the
>>> HTML or CSS at all.
>
> I think a well-made js-enabled UI could be a wonderful improvement over the current static one. I'd love to see what you have in mind. (in other words, I'm not one of those noscript people..;) )
I'm one of the noscript people, but I'm also for a nice html5 ui. But it'd better be standalone using the json api.
Kind regards,
Remigiusz Modrzejewski
I'm one of the noscript people, but I'm also for a nice html5 ui. But it'd better be standalone using the json api.
API we'll almost certainly create a separate interface (quite possibly as a separate
project)
like to see: hooks, and the ability to query the internal database and output the results into a page.
Anyhow, I mention the "year" bit because I'm sensitive to not wanting to bloat Fossil, and to establish that I don't have ten other feature requests waiting in the wings. The new JSON support is awesome, but I also hope that we see some way to make the current HTML interface a bit more dynamic, if only a little.
> The topic of "real" hooks has come up many times, and the main reason it
> hasn't been added so far is platform portability. (Sorry, i don't mean to
> start another dead-horse-beating thread.)
Nope, this has already been resolved. The reason now is "there is not enough programmer throughput in the project". Or however it was worded.
Kind regards,
Remigiusz Modrzejewski
On Wed, Oct 26, 2011 at 11:37 PM, Nolan Darilek <no...@thewordnerd.info> wrote:
like to see: hooks, and the ability to query the internal database and output the results into a page.The JSON API provides a "query" command[1] which allows you to run arbitrary queries and get the results as JSON, but it requires admin access (because it allows one to do anything with the db).
The topic of "real" hooks has come up many times, and the main reason it hasn't been added so far is platform portability. (Sorry, i don't mean to start another dead-horse-beating thread.)
> @Dmitry Chestnykh:
> I just wrote a script for testing the speed and size difference
> between the different compressions available, find the results here:
> http://uploads.calebgray.com/contributions/compression/index.html
Thanks! I grepped a bit, and found out that Fossil uses 9 level for
deflate, which seem to me _not_ a good balance; and LZMA 1
level outperforms it in both compression ratio and speed.
Plus I've heard that xz is for some reason slower than 7zip:
http://ck-hack.blogspot.com/2011/04/quick-lrzip-comparison.html
BTW, how LZMA performs for tiny files? I ask because most blobs in
Fossil in normal operation (source code) are tiny due to
delta compression.
> As far as I know, memory usage depends entirely on dictionary size...
> so shouldn't DEFLATE and LZMA use the same amount of memory if
> configured correctly?
Not sure, but I thought a good part of why LZMA is so good is that it
has a large dictionary size. Though, maybe low compression levels don't
require a lot of memory.
> I'm used to 500KiB/s download speed, but my only choice at home is
> Clearwire (which is true, I'm sure, for more than just myself).
> Unfortunately, it's not rare for me to get 20KiB/s download speeds on
> it, if the Fossil releases were UPX compressed, that would have saved
> me ~5 seconds over the ZIP. Obviously, this isn't doesn't seem like a
> big deal, but keep in mind that the people in Australia/New Zealand
> have to pay for their bandwidth. It's not just time we're saving
> people, it's money too, in the long run.
Sure, I understand. When I lived in Russia, the first Ethernet
connection I got was pretty expensive: $0.15 per megabyte or so (with
average income in Moscow ~$500 at that time). Today a lot of places
in the world have expensive mobile internet.
Still, 500 KB difference in a world of torrents, 500 MB text
editors, and 2 GB software updates? Come on! :-)
> UPX has zero effect on memory usage, and would probably add a
> millisecond or two to each request, leaving CPU as the only truly
> impacted factor... I suppose that if a Pentium 133 uncompressed at
> ~10MB/s as they claim on their homepage... then if you're getting 10
> requests a second on a 1MB executable... your server would begin
> seeing the performance impact of Fossil being compressed using UPX.
> Anyway, I'm not a huge proponent to the idea, it was just a thought.
UPX works by allocating a buffer of original executable size, then
uncompressing the file to it, and executing this buffer. The statically
compiled fossil running on my server (amd64) is ~5 MB. This means that
on each request, if I packed it with UPX, I'd get 5 MB allocation --
not good for my little VPS :-)
--
Dmitry Chestnykh
http://www.codingrobots.com
Awesome, I didn't find either the JSON demo or "The Doc" while reading through everything. Thanks for the links!
You are exactly on track with what I was envisioning for the JS enhancements with: http://mbostock.github.com/d3/talk/20111018/#8
> You are exactly on track with what I was envisioning for the JS
> enhancements with: http://mbostock.github.com/d3/talk/20111018/#8
+1: d3 is the best for the SVG part in my eyes too, it seems even more
powerful than his famous predecessor - protovis.org (and can be seen
also as smart XSLT like engine - thus, can have more applications than
just SVG drawing for fossil UX applications - i.e. "live" JSON->DOM
templates for non-SVG enhanced pages also)
Kind Regards,
Alek
On 10/26/2011 04:50 PM, Stephan Beal wrote:On Wed, Oct 26, 2011 at 11:37 PM, Nolan Darilek <no...@thewordnerd.info> wrote:
like to see: hooks, and the ability to query the internal database and output the results into a page.The JSON API provides a "query" command[1] which allows you to run arbitrary queries and get the results as JSON, but it requires admin access (because it allows one to do anything with the db).
Right, I understand that. I was hoping for an extension of TH1 that would allow for something like selecting the most X Y (where Y == commits, events, tickets, etc.) and displaying properties of those objects, such that the default generated page automatically included the most recent news items or whatever. This would eliminate the need for client-side rendering, and would make those pages searchable via Google, etc. I know that I've mentioned this before, and there has seemed to be some interest, but not enough to take it up and I unfortunately lack the skill/time. So it isn't a complaint, more a "here's something I wish I could have."