Experimental IRC log happs-2008-10-17

Available formats: content-negotiated html turtle (see SIOC for the vocabulary)

Back to channel and daily index: content-negotiated html turtle

These logs are provided as an experiment in indexing discussions using IRCHub.py, Irc2RDF.hs, and SIOC.

01:11:07<shemale_fun>hey is happs like working and usible?
01:11:20<shemale_fun>does it basically replace apache php and mysql?
01:11:51<dcoutts>shemale_fun: well, it's not quite so mature, but yes
01:12:33<dcoutts>I've written a web app that replaces an existing version that used apace + cgi + filesystem data storage
01:14:28<shemale_fun>is it fast?
01:18:06<dcoutts>shemale_fun: yes
01:18:23<dcoutts>like 100 concurrent connections with 0.1s latency
01:18:38<dcoutts>but that's with appropriate caching of dynamically generated pages
01:19:10<dcoutts>even a good framework cannot save you from yourself if you make pages that take 0.3s to render
01:19:20<shemale_fun>what if I had a box that was 8 core 2.6ghz amd 64 with 16G ram and 2T disks SATA
01:19:25<dcoutts>the point is it doesn't impose a high overhead
01:19:43<shemale_fun>what kind of pages would take a long time?
01:20:18<dcoutts>that's a very general question :-)
01:20:30<dcoutts>it's easy to write code that will take too long, in any language or system
01:20:38<shemale_fun>hm
01:20:40<dcoutts>shemale_fun: I've not done much benchmarking on multi-core
01:20:43<dcoutts>of happs
01:21:12<shemale_fun>is it like concurrent? threaded or splits of processes?
01:21:18<shemale_fun>off-
01:21:43<dcoutts>the server is threaded, but it only uses a few OS threads
01:22:19<shemale_fun>can it use more than 1 core?
01:22:21<dcoutts>the Haskell runtime system supports 10,000's of lightweight threads and runs them on just a few OS threads
01:22:27<dcoutts>eg the number of cores you've got
01:22:39<shemale_fun>can you use say 1 os thread per core and let haskell thread form there?
01:22:46<shemale_fun>ah
01:22:48<shemale_fun>yes
01:22:48<shemale_fun>ok
01:22:49<shemale_fun>wow
01:22:56<shemale_fun>so you get fully utilized cores
01:22:58<shemale_fun>damn!
01:23:01<shemale_fun>really cool
01:23:04<dcoutts>yep
01:23:06<shemale_fun>sounds scalable
01:23:39<shemale_fun>so i need to run off and learn haskell
01:23:43<shemale_fun>then coem back?
01:25:27<dcoutts>shemale_fun: that'll help
01:26:40<shemale_fun>just theoretically, can happs have all the data in ram but all pics/video files are just url to where they sit on disk?
01:27:05<shemale_fun>so happs must simply sort/compute web pages who then mechanically load media suff from uls
01:27:20<shemale_fun>once client browser load the page
02:48:09<dcoutts>shemale_fun: it's certainly possible to keep some data in memory and large blobs on disk
02:48:28<dcoutts>shemale_fun: that's exactly what I have done for the new hackage server, it serves package tarballs from disk files
02:57:24<shemale_fun>oh
02:57:39<shemale_fun>am i crazy to want to learn haskell and do web raher than php etc.
02:57:47<shemale_fun>or tcl+aolserver or whatever
02:57:50<shemale_fun>python
02:57:56<shemale_fun>..
02:58:02<shemale_fun>i guess Im stubborn
03:10:15<dcoutts>shemale_fun: it's certainly more interesting and fun, but do be aware that it is a less mature or popular technology
03:11:17<dcoutts>not Haskell, that's perfectly mature, but HAppS is less widely used and has less documentation than php python etc
09:20:00<kowey>good morning #happs!
09:20:23<kowey>so I'm wondering... how much work would it take to build something like darcshub with happs?
09:20:25<kowey>http://thread.gmane.org/gmane.comp.version-control.darcs.user/14406/focus=14602
09:21:05<kowey>(see also http://thread.gmane.org/gmane.comp.version-control.darcs.user/14406/focus=14602 where Trent Buck makes the suggestion)
09:38:20<Saizan>ACTION wonders
09:42:46<kowey>it would be a great showcase for HAppS in the real world
09:42:54<Saizan>i think it highly depend on what you use for creating pages, there isn't a clear very good solution for that in haskell yet
09:44:06<kowey>creating pages?
09:45:56<Saizan>rendering your app model into html/js/whatever, possibly in a compositional way
09:47:28<Saizan>maybe you want to post on the happs google group too
09:47:46<kowey>i could do that
09:47:57<kowey>hmm, maybe I could get Trent to do that since he had the idea in the first place
09:51:55<Saizan>i guess there's already code for querying the needed information out of a darcs repo? or we invoke a darcs process?
09:55:15<kowey>you mean for repository browsing?
09:55:32<kowey>there isn't really any code; people (like trac+darcs) tend to just invoke a darcs process
09:56:09<kowey>a standalone hashed pristine walker would be a fairly simple and useful script to write for this purpose
17:19:55<shemale_fun>erg

Back to channel and daily index: content-negotiated html turtle