IRC channel logs

2018-04-19.log

back to list of logs

***fibratio` is now known as fibration
<fibration>is there a way to re-export a whole module?
<longshi>Hello fellow schemers! So, frustrated with the experience of using skyscanner (and similar) to look for very-cheap flight tickets, i thought about making my own little program to use provided by skyscanner api to query their database and send email when the query is ready. My first instinct was to do this in guile, because that is what i know best (i'm a amateur coder and learned lisp by a happy accident)--but
<longshi>I also dabbled with chez, chicken and tried learning some golang. I would love some tips regarding technology choice. I imagine i'm going to need some json libraries, maybe sql and net capabilities to fetch data from the api endpoint.
<longshi>Thank you in advance!
***webshinra_ is now known as webshinra
<lloda>fibration: look here https://github.com/aconchillo/guile-json/blob/a1c323d77ee60f9008e654b02cfe1ed3232d90e1/json.scm#L33
<fibration>lloda: thanks
<lloda>amz3: that doesn't work :D
<chris-l>guile-json is so nice... it should be part of guile
<OrangeShark>hello everyone
<dustyweb>hello everyone, including but not limited to OrangeShark :)
<rain1>hey :)
<OrangeShark>what have you been up to dustyweb?
<janneke>hey dustyweb
<dustyweb>OrangeShark: janneke: hey there :)
<dustyweb>I've been porting 8sync to racket, but simplifying some things so actors "look" more like regular procedures... I'll probably come back and change 8sync to look likewise soon :)
<dustyweb>with class-based actors as an optional but well supported component
<daviid>dustyweb: heya! so, wrt guile-squee, yu still did not merge devel into master, it's been 3 years now :), what is the blocker?
<daviid>didn't know we had a guile-redis binding, which received a few patches recently, cool stuff! if the author is here, I suggest they had an entry, to the wikipedia redis page - the languages binding list...
<dustyweb>daviid: didn't I give you commit access? ;)
<dustyweb>daviid: tbh you should take over guile-squee
<dustyweb>or someone else
<dustyweb>I am unlikely to maintain it
<amz3>longshi: so, what's your plan?
<amz3>longshi: what is skyscanner? #lazyweb
<blurgh>Has the Nash T
<blurgh>TJIT been mainlined yet?
<terpri>blurgh, i don't think it has. the changes from https://github.com/8c6794b6/guile-tjit aren't in guile master afaict
<daviid>dustyweb: sorry, I went away from the kb ... yes have commit acces, but at the time, we decided to talk to each other before to merge, and I thought you would merge ... that is a lng time ago of course ... so, ok, I'll take it over, as time allows, it's too bad you won't further work on it, but I understand, you're 8sync and racket tranfuge now, :)
<dustyweb>sorry :)
<dustyweb>I am awful
<daviid>I really enjoyed the time you were here everyday, pushing ideas and sharing your hacks, goops, squee, 8sync ... jokes, articles, blogs, ...
<longshi>amz3: Well, first to get an API key from skyscanner, which is a flight search engine provider, send some json queries to endpoint try to receive it and process somehow
<longshi>I haven't still gotten to the part of the API documentation saying how big sql queries i can send
<longshi>Because their web interace is simple and limited, doesn't allow you to, for example, ask for the cheapest flight from any place in a given country to any airport another given country.
<longshi>Over one month, for example
<longshi>I think this is because the "heavy" SQL queries take long time, and flight scanners generally get paid by airlines, not the customers.
<dustyweb>daviid: I appreciate the kind words... I'm sorry I've been more absent lately!
<longshi>Yeah, so that's the plan
<dustyweb>I'm still every day a guix, and thus guile, user though :)
<tavoris>So what gods might I have offend to end up with the error 'Unbound variable: fold'? the file read like test.scm:'(fold + 0 '(1 2 3 4))\\n' and is called with 'guile test.scm'