<mark_weaver>if it's fixed, it would be nice to do so without making it too slow though. <civodul>yeah but string-locale-upcase does it right, we just have to do the same ***Gues_____ is now known as Guest25947
***zacts is now known as yoda`
***yoda` is now known as zacts
***sneek_ is now known as sneek
<aoi^>i've been starting to look at stuff like wookie on CL and wondering if there is something similar on guile? <nalaginrut>aoi^: or you just need web-framework with sinatra like route? <CaptainLex>nalaginrut: Is there a stable webstack for Scheme? <CaptainLex>I was thinking of using compojure for my Lisp In Summer Projects submission, but I'd love to use Scheme instead <CaptainLex>Hmm, these look like they require more server-side knowledge than I had hoped for <CaptainLex>And it is probably a good idea to at least learn clojure if I ever hope to be employed <CaptainLex>By giving Guile the libraries and applications that make it a real-world development choice, you are doing the Lord's own work :D <nalaginrut>CaptainLex: If you would like to be more helpful, could you list the things you expected? <CaptainLex>nalaginrut: I'm definitely not at a place where I could give you that kind of feedback, I'm afraid. Perhaps, indeed, I spoke too quickly <aoi^>nalaginrut: i was thinking about an async layer like clasync that wookie uses, yes <aoi^>nalaginrut: but doesn't have to be <aoi^>ok, i will have a look at that <nalaginrut>aoi^: well, sinatra is for Ruby, I mean sinatra like route <CaptainLex>nalaginrut: I once thought that all I ever needed in a web framework was routing and layouts <aoi^>ok, i did a little hacking on apps with Mojolicious on Perl <aoi^>sort of like that style of framework <nalaginrut>CaptainLex: there's routing and template in artanis, but session & cookie is not completed, and I'm working on relational mapping <aoi^>session and cookie isn't that difficult to add ? <CaptainLex>nalaginrut: Well, if I decided to try to make a website with it this summer, would I be able to bug you for support? ;) <CaptainLex>nalaginrut: Are you aware of Lisp In Summer Projects? <nalaginrut>CaptainLex: yes, I know it, I'm planing to do a blog-engine for that, based on artanis, so you may choose another <CaptainLex>CaptainLex: I was planning on doing a very specific website that was a database for the 99 problems and their solutions in various functional languages <aoi^>nalaginrut: that sounds really useful =) <nalaginrut>I'll do more things auto-generated, not barely Artanis <nalaginrut>I need more guys to do web things in Scheme, so that I can talk/learn things from each other <aoi^>nalaginrut: yeah, me too =) <CaptainLex>aoi^: Do you know about Lisp In Summer Projects also, then? <aoi^>CaptainLex: no, have not heard of it before <aoi^>i assume summer in the northern hemisphere? <nalaginrut>hah, we should talk about Lisp in summer projects, in case we choose the same thing to try ;-P <CaptainLex>nalaginrut: I'm not sure that it is allowed, but I like the idea of all of us working on different projects and bouncing off each other <nalaginrut>if we could be a team, I could stick to the web-framework itself *aoi^ will have all next week to hack on code while on holiday =) <aoi^>specifically i'd like to get something webby and db driven... *aoi^ would like to use more lisp/scheme/guile at work *CaptainLex gets to code in Scheme all summer long <nalaginrut>but anyway, a global participation sounds cool, but not easy, maybe next time hmm.. <aoi^>CaptainLex: summer is that week between chrismas and new years =/ <aoi^>as in thats my typical holidays for the year =P <CaptainLex>I'm in my last summer before graduating from university <CaptainLex>and it looks like I'll be doing Google Summer of Code! <aoi^>but this weenend is mothers day, so i am taking time off to see family and travel a bit and hack on code =) <aoi^>nalaginrut: but we can hack on code for web apps any time =D <CaptainLex>aoi^: It's package manager (and, eventually, a distro) written in Guile <aoi^>my end goal using guile is to write a number of ncurses and web apps for an embedded platorm <aoi^>at this stage most probably on the raspberry pi <aoi^>mobile being core; vehicle/bicycle/walking <aoi^>also network visualisation is part of that... <nalaginrut>aoi^: YES! we can! And I want to finish Artanis as a stable web-framework <CaptainLex>nalaginrut: How long do you think that would take? How much is left? <nalaginrut>the genesis is just I want to build my own site/blog in pure Scheme way ***aoi^ is now known as aoi-
<nalaginrut>CaptainLex: artanis is guile potluck project, it just took 1 week to be done, and I'm improving it these months <nalaginrut>since there's no users before, I just do it slowly <aoi->nalaginrut: you say on the git hub page; "sinatra like style route" <aoi->are routes like the Mojolocious routeS? *aoi- hasn't heard of sinatra before, so .. <nalaginrut>I think the rest of work is to make sure session&cookie work fine, and relational mapping <nalaginrut>others is OK I think. And I think it's all basic for a web-framework <CaptainLex>I'm with aoi-: what do you mean by relational mapping? <nalaginrut>aoi-: yes, we use ORM often, but I'd like to try a way for FP-RM <nalaginrut>CaptainLex: do you know Object relational mapping? <nalaginrut>aoi-: it's my idea, just drop object-oriented, just FP way <aoi->FP == functional programming ? <CaptainLex>nalaginrut: I understand it as a database scheme; I don't know what needs to be implemented in the framework itself <CaptainLex>You mean, as a means of bypassing sql programming? <nalaginrut>actually, the web-framework is very lightweight, just handle the request, and routing/template <CaptainLex>you'd be implementing FP-RM as an optional feature? <nalaginrut>yes, RM/template is actually optional for users, they may use others <CaptainLex>nalaginrut: Although I admit I wouldn't really know how to make others work with it, so I'm glad you're working onit <nalaginrut>someday, guildhall has more packages contribution, users may use other template/RM, to work with artanis <nalaginrut>but for now, it's easy to work with Artanis' additional one <aoi->nalaginrut: do you have the idea of templates in Artanis ? <nalaginrut>one is sxml, '(html (body (@ (bg "asfd.jpg"))) ==> <html> <body bg="asdf.jpg"> </body> </html> <nalaginrut>besides, with Guile's local-eval, you may define the things in routing, but use it in TPL <nalaginrut>I'll show this magic to implement MVC in my blog-engine <nalaginrut>I wish the blog-engine could be easily to use like RoR <CaptainLex>Wouldn't you want the whole framework to be as easy as RoR? <nalaginrut>no, actually, for RoR, there would be Glow project (Guile launch on web) *nalaginrut is having lunch... <CaptainLex>I guess I don't know what kinds of features the larger frameworks have <nalaginrut>I don't know it too, so do artanis is first step <nalaginrut>when we get enough needs, there'd be more things added <nalaginrut>maybe no, the design of artanis is too lightweight <nalaginrut>but there're many things to be reused from artanis <CaptainLex>Nice! I like to see other people looking so many steps ahead <nalaginrut>CaptainLex: it'll be cool if you try artanis to write something you like, and feedback/contribute to artanis <CaptainLex>nalaginrut: Like I said, I'll try to do my Summer Projects submission in artanis <nalaginrut>CaptainLex: is it constrained? I can't do any coding till June 1? <CaptainLex>nalaginrut: Yeah, submissions to Summer Projects need to be written only after June 1 <CaptainLex>nalaginrut: But also, I am very busy until June 1! <nalaginrut>CaptainLex: is it confirmed that you're participated in guix? <nalaginrut>and I'm busy also since I'm working on adding Guile to GDB... ahh~so busy summer day... <CaptainLex>nalaginrut: I should know within a few days, plus there official announcements aren't until the end of May <CaptainLex>to GDB the Guile debugger? That sounds pretty rad! <nalaginrut>no, not to debug Guile, just add Guile as debugging script language to GDB <nalaginrut>and Guile debugger in GDB is another work could do <nalaginrut>aoi-: I know less about perl things, but wookie in CL uses the same routing style <CaptainLex>nalaginrut: It was a pleasure scheming with you! <aoi->nalaginrut: that sounds good to me <aoi->one of the things that i do a lot at work is setup redirects from old page paths to their new location <aoi->so a short cut wat to do that would be handy =) *aoi- would like to write an engine to do that to replace the crufty old perl one =) <nalaginrut>in Artanis, redirect-to does the work, (redirect-to rc "/login") <aoi->at some point i would like to setup an admin page that holds a bunch of them in a table <nalaginrut>rc is the only parameter passed into routing handler <aoi->or a nice web admin friendly way so other folks can add and remove them <nalaginrut>I'll use third-party web admin plugin, there're a lot <aoi->first i need to get my head around guile <aoi->i'm still quite new to scheme <aoi->something that fits into the web framework <aoi->prefer something that i can write and understand <nalaginrut>aoi-: actually, Scheme is easy to learn/use, if not so academic *aoi- will read through the git repo of artanis and examples... <nalaginrut>hmm, web-admin is not suit to add into web-framework, but could be a new project based on artanis <aoi->my thoughts on a 'webadmin' is a way to manage virtual domains and our idea of subsites *nalaginrut is not familiar about web front-end, too tricky <aoi->we have many people editing the one "web site" but many individual sub-sites that they maintain <nalaginrut>aoi-: is there any example project from other language? <aoi->we use perl here, but its not published as open source =( <aoi->so much legacy code we do not want to reuse or can't <aoi->your routing looks like perl/mojolicous <aoi->example of web admin, not that i am aware of. <aoi->it is an app that i would need to design carefully as our app is complex and creates apache config files and pushes content from the Dev server to the Production server *aoi- needs to start on something smaller than that first =) <aoi->yeah, for sets of different servers, and apps running behind them <aoi->it is a mess, and way too complicated <aoi->our new servers are less complicated <nalaginrut>well, that's why I need an example, or a list of the needs <aoi->but we need to rewrite all sorts of apps that don't use this crusty old perl code <aoi->nalaginrut: understood =) <Chaos`Eternal>guile-scsh has just released it's 0.2 version, running on top of guile-2.x <aoi->Chaos`Eternal: scripting is not that same as a web app that allows you to set system config <aoi->but i see where you are coming from <aoi->we have a specific up that manages our users and web sites <aoi->it allows ftp access to put content up and allows a web interface to push content from DEV -> PRd <aoi->it also manages domains and redirects <aoi->so its a complicated webapp, db and dozens of scripts run from cron <aoi->nalaginrut: most of last decade yes <aoi->nalaginrut: its artanis support UTF8 ? <nalaginrut>aoi-: since Guile itself use UTF-8 in default, so I think yes <aoi->nalaginrut: ok cool. might pay for me to do some testing =) <nalaginrut>aoi-: for a mention, artanis based on guile-2.0.9+ <aoi->i think i am running 2.0.5 <b4283>excuse me, where can i find guile-scsh <nalaginrut>2.0.9 is the most stable version for Guile2, and I feel very nice with it <aoi->nalaginrut: means i'll actually have to build something from source ... i normally use debian packages by default <aoi->Chaos`Eternal: if you are ever in Adelaide, let me know, I can schedule you in for a talk at our monthly tech meet =D <nalaginrut>aoi-: it's worthy working on a one-click script to build all stuff from scratch, but I don't have time for it <aoi->nalaginrut: i did try to build 2.0.7 from source, but there were some issues with building some of the dependencies. <nalaginrut>aoi-: yes, guile's dependencies is messy, so a one-click building script is fine <nalaginrut>since Guile uses many GNU own stuff, anyway, it's GNU official language <nalaginrut>but for any mainstream distro, next release will include guile-2.0.9 I think <nalaginrut>I think 2.0.9 MAYBE worthy Artanis being stick to...I haven't found any problem in web for it <aoi->debian wheezy includes 2.0.5 <aoi->now that wheezy is released as stable, guile 2.0.5 will get more use <aoi->what is missing in 2.0.5? <nalaginrut>aoi-: I don't know exactly, but some guys tested Artanis in 2.0.5, something did miss <aoi->thats what was missing; bdw-gc <aoi->hasn't been integrated yet <aoi->ok , i have the most recent package instaleld from debian/squeeze which is 6.8 <aoi->but its not finding it =/ <aoi->might have to move development to a new VM based on debian/wheezy <aoi->there seems like a lot of dependencies to install =) <aoi->ok, so configure runs on wheezy, but now squeeze. <nalaginrut>yes, and MAYBE newer libtool/autoconf/automake/getext/m4 <aoi->i knew that the old debian stable would have problems, its pretty old now <aoi->ok, so centos 6 is about the same vintage, if not older than squeeze <nalaginrut>anyway, not the blog-engine I'll do in Lisp contest <aoi->we use Nginx -> varnish -> apache -> mod_perl + mod_php <aoi->nalaginrut: yeah, but forwards to an internal process <aoi->is that process threaded? or is it async? <nalaginrut>aoi-: Artanis uses Guile inner server which is threaded currently <nalaginrut>anyway, since Guile has good delimited-continuation support, I'll start my own Actor-model project for an async server <aoi->at some point i would like to use ZeroMQ or write something similar in guile <aoi->or a client library wrapper? <nalaginrut>anyway, when you uses Artanis, don't care about the server, I'll take care of it ;-P <nalaginrut>maybe it's bad question, when you're working on ethread I asked 'how about rtl', and now you're working on rtl... <aoi->ok, so 2.0.9 is installed \\0/ <aoi->just took a while on the laptop =) <aoi->"server" at home was built in 2004! <aoi->server at work was built 2011 <aoi->my aim is to get this all working on a raspberry pi with 512MB of RAM <nalaginrut>aoi-: that's my aim to run artanis in raspberryPI, for a home-site <aoi->nalaginrut: which part of the world are you in? <nalaginrut>I believe one definitely needs cross-compiling for Giule <aoi->ok, cool, i'm in australia <aoi->nalaginrut: even i've heard of shen zhen! <aoi->lots of australians in shen zhen ? <nalaginrut>and one of my friend in our hackerspace comes from shenzhen <aoi->some guys from our hacker space have been to shenzhen <aoi->i have heard of mitch, not had the chance to meet him though <aoi->i believe he was at Linux.Conf.Au this year too =) <aoi->linux conf is always wonderfuil <aoi->thats why i am working with folks here in Adelaide to run one in 2015 or 2016 <aoi->i will be bvack in a couple of hours <wingo>nalaginrut: on the back burner for now :) <aoi->ok, now working my way through the dependencies for guile-dbi =) <aoi->i have downloaded the latest tarballs <aoi->../../include/guile-dbi/guile-dbi.h:26:22: fatal error: libguile.h: No such file or directory <aoi->i am using this to configure with; <aoi->./configure --includedir=/apps/usr/guile/include/guile/2.0/libguile/ --prefix=/apps/usr/guile/ <aoi->but the include path isn't appearing in the arguments to gcc <nalaginrut>well, I think you just need --prefix=/usr not /usr/guile <aoi->i have my web environment in /apps/ <aoi->installing guile has put that missing include file here; <aoi->/apps/usr/guile/include/guile/2.0/libguile.h <nalaginrut>I have to go in few minutes, tonight is our hackspace party <aoi->nalaginrut: thanks for you help =) ***nalaginrut is now known as nalaginrut-leavi
***nalaginrut-leavi is now known as nalaginrut-left
<aoi->libtool doesn't appear to be passing the arguments in <dsmith_>aoi-, Guile does run on the rpi nicely. Takes a long time to build though. <dsmith_>aoi-, The libgc in debian is not good enough for 2.0.9 however. Must build that from source <microcode>it'd be interesting if netsurf were to use Guile's ECMAScript implementation ***dsmith_ is now known as dsmith
<dsmith>wingo, Isn't someone working on that? OR was it lua? <wingo>someone might be working on it <wingo>but i lack the godly power to conjure code into being with words <wingo>if wishes were fishes we'd have a lovely aquarium :) <dsmith>wingo, Not what I meant though. istr someone has another git repo. Has a 3 letter nick in here. <wingo>sneek: where is dsmith's memory *dsmith verbalizes laughing sounds <wingo>man, debugging information. what a pain... ***Gues_____ is now known as Guest45234
***ota_ is now known as ota
<mgsk>Can I disabled the "note: blah newer than compiled..."? I tried --no-auto-compile. <thorwil>ouch. guile-clutter-1.10.0/examples/./hello-behaviours.scm:42:16: In procedure module-lookup: Unbound variable: clutter-stage-get-default <cordawyn>could anyone help me with a simple (I hope) thing with macros? <cordawyn>there are two macros, one calling another, and I just cannot figure out which of the available patterns it is supposed to match. <wingo>sounds like somehow your environment is borked <wingo>are you running uninstalled? <wingo>that is a huge macro, i don't have time to grok it :) <wingo>did you see joe marshall's syntax-rules page? <thorwil>wingo: guile-cairo/gnome-platform/clutter build from source, installed to /usr. guile 2.0 as packaged, though <wingo>thorwil: i would run guile-gnome-2 and see if you can import (gnome clutter) <wingo>and see if <clutter-stage> resolves to anything <thorwil>the other 2 examples run. though i don't see what's to see in hello-transition <cordawyn>thanks wingo. I hope that primer helps somehow, although I've read plenty of that stuff already. <wingo>iiuc hello-implicit is the one to use <wingo>cordawyn: there are tricks for debugging syntax-rules macros there *wingo wanders off for a bit <thorwil>wingo: in guile-gnome-2, after importing gnome-2, i can import (gnome clutter) *thorwil wonders what to do about guile-gnome-2 and geiser <wingo>thorwil: you can try --fresh-auto-compile, if it fixes anything <wingo>guile-gnome-2 is the same as guile, but with (gnome-2) imported <thorwil>after looking at the man page, i assumed it was a little more <wingo>thorwil: probably what happened was that those interfaces are deprecated. i think the whole behaviors thing is deprecated <wingo>and i rashly took the opportunity to just remove them from 1.10 <wingo>since the clutter module didn't have any stability commitment. <wingo>NEWS is terrible in that module <wingo>haha, the last time i touched that module was a year ago today :) <thorwil>ok. no worries, as all i'm looking for is a base from where i can start exploring guile in combination with clutter. as the docs leave me puzzled on how to even draw a rectangle <thorwil>is there stuff involved that will work in a script, but not from a repl? <wingo>of course a main loop conflicts with a repl <wingo>clutter wants the main loop to run <wingo>the best way to use a repl with clutter is to use a script with --listen <thorwil>after an excursion reading about dotted pairs ... i now have a minimal script and managed to change the stage background color from geiser. thank you, wingo! <wingo>heya civodul, and good night! *wingo has a mail about debugging things to send tomorrow; just spent some quality time with the whiteboard :) ***Nick is now known as Guest49433
***dev- is now known as developernotes