News for hackers. Stuff that matters.
Re:H5ai - a beautified Apache index by chrisrogers on Monday July 18, 2011 @12:20AM (#2775095)
Apologies for the aside, but another one of this fellow's projects, jquery.fracs, is pretty impressive: https://github.com/lrsjng/jQuery.fracs
Re:H5ai - a beautified Apache index by vdm on Monday July 18, 2011 @11:46AM (#2776742)
Thanks for the link.

This is used in h5ai. I find these views more useful that scroll bars. Its amazing what can be done inside the browser these days.

http://larsjung.de/fracs/

> jQuery.fracs determines the fraction of an HTML element that is currently in the viewport, as well as the fraction it takes of the complete viewport and the fraction of the area that might possibly be visible. It also provides the coordinates of the visible rectangle, absolute (in document space) and relative (in element space).

Re:H5ai - a beautified Apache index by sikhnerd on Sunday July 17, 2011 @11:10PM (#2774953)
Link to source and some screenshots, since the site is quite slow right now: https://github.com/lrsjng/h5ai
Re:H5ai - a beautified Apache index by noibl on Sunday July 17, 2011 @11:31PM (#2775002)
As always, Chrome users, prefix the address in the omnibox with 'cache:' to get

http://webcache.googleusercontent.com/search?q=cache%3Alarsj...

At first I thought this was kind of overkill for such a 'simple' function but the example of Github shows how important effective presentation of a file list can be. To the average web user the default Apache listing can look 'broken' whereas I would have no problem directing a client to the URL of an index that looked like this.

Re:H5ai - a beautified Apache index by moeffju on Monday July 18, 2011 @04:34AM (#2775556)
This is a Google search feature, not a Chrome Omnibox feature, btw.
Re:H5ai - a beautified Apache index by dzuc on Sunday July 17, 2011 @11:24PM (#2774975)
And some full size images: http://goo.gl/LpOgD http://goo.gl/FLm6F
Re:H5ai - a beautified Apache index by dangrossman on Monday July 18, 2011 @02:00AM (#2775267)
Like the live site, these images are 404'ing.
Re:H5ai - a beautified Apache index by overshard on Monday July 18, 2011 @12:09AM (#2775069)
This is quite nice, however, if you are wanting to serve static content I no longer believe Apache the proper tool for the job. Use cherokee, lighttpd or nginx, they are all faster and have decent file interfaces.
Re:H5ai - a beautified Apache index by static_cast on Monday July 18, 2011 @09:12AM (#2776128)
I don't think this is true. Apache with mpm_worker and fastcgi for python/php should perform on a typical dedicated server like nginx till the network is saturated. you also have to consider that .htaccess files are quite cpu intensive because the way apache works they are parsed at every request. put your .htaccess config in the config-file disable unused modules and use mpm worker and I bet the difference is negligible. if you have to count every io operation and you run on small memory nginx may make a difference.

http://nbonvin.wordpress.com/2011/03/14/apache-vs-nginx-vs-v...

Re:H5ai - a beautified Apache index by simcop2387 on Monday July 18, 2011 @12:22AM (#2775105)
Looking at the way it works, I would imagine that this should be usable even on other web servers. The only key lines are the ones that set the header and footer that do the dirty work. I haven't been able to try the demo (nor have I had time to set it up myself yet), so I don't know how well it works but the screen shots make it look like it could be fairly nice for providing a more familiar interface to a non-computer savy users.
Re:H5ai - a beautified Apache index by vegardx on Monday July 18, 2011 @08:34AM (#2776020)
Other web-servers are good, but not that good. People are over-optimizing where there are no needs. One could instead say that you should use a more modern approach to a web-server, and then Nginx or LigHTTPD would be a better solution.

Personally I'd just stick Varnish in front of it and keep using the webserver that I've always felt comfortable with, Apache.

Re:H5ai - a beautified Apache index by retube on Monday July 18, 2011 @05:15AM (#2775624)
I don't get it... It's just a 404 page? Or is this an actual error?
Re:H5ai - a beautified Apache index by sgt on Monday July 18, 2011 @04:32AM (#2775554)
I guess we won't be seeing any screenshots...