IRC channel logs

2016-03-01.log

back to list of logs

<ozzloy>does something like clojurescript's figwheel exist for skribilo?
<ozzloy>(or guile)
<davexunit>ozzloy: can you explain what figwheel is?
<ozzloy>just a sec
<ozzloy> https://www.youtube.com/watch?v=KZjFVdU8VLI every time you save, page reacts, only loading exactly whatever changed
<ozzloy>and also, a configuration that makes this all go, and an example of it
<davexunit>ozzloy: this is clojurescript
<davexunit>guile doesn't compile to javascript
<ozzloy>i'll take that as a "no"
<davexunit>interactive programming in guile is done via the REPL
<ozzloy>right
<davexunit>but there's no compiler backend that produces javascript that can be run in a web browser.
<ozzloy>ok, cool
<davexunit>someone did start work on one as a google summer of code project
<ozzloy>oh?
<davexunit>but it's not usable or anything.
<davexunit>I don't know where it left off.
<ozzloy>kk
<ozzloy>you know the name?
<davexunit> https://gitlab.com/ijp/guile/commits/compile-to-js
<ozzloy>icic
<davexunit>never used it, I don't think it can do much that is practical yet.
<davexunit>but it's a nice effort.
<ozzloy>hmm
<davexunit>got the link from this mailing list post https://lists.gnu.org/archive/html/guile-user/2015-06/msg00007.html
<ozzloy>there's a compile-to-js2 in there too
<davexunit>maybe it's the successor to the other branch
<ozzloy>it looks like maybe a cleanup of the first branch
<ozzloy>2 days later
<ozzloy>(after just a quick glance, not looking at it now)
<davexunit>surely a far cry from Clojurescript ;)
<ozzloy>i've heard far cry is a pretty good game
<Jookia>number two was okay but i mainly bought in to it for its lukewarm grass burning tech
<ozzloy>ACTION heads out now
<ozzloy>thanks davexunit
<davexunit>np ozzloy
<davexunit>happy hacking
<cojy>funny, i was thinking about doing scheme to c again soon
<cojy>js*
<cojy>doing figwheel for skribilo wouldnt need compile to js,
<cojy>just a running webserver and extension to skribilo that pulls changes from it and updates with react or something
<nalaginrut>afternoon guilers~
<civodul>Hello Guilers!
<wingo>mark_weaver: i think changing vectors to be backed by bytevectors or implemented in terms of bytevectors probably doesn't make sense -- bytevectors are not traced by gc.
<wingo>but making nominal data types built on bytevectors sounds like maybe a good idea
<wingo>morning civodul :)
<civodul>hey, wingo
<Bobbejaantje>wingo, are you the proud owner of a majestic unixbeard?
<wingo>majestic hackers come in many forms, beards are not required :)
<wleslie>they are fairly cleanly-shaven at the moment.
<Bobbejaantje>That's like such disrespect to one's cultural heritage.
<Bobbejaantje>Stallman still plays the GNU/song of his people.
<wingo>ACTION srug
<wingo>*shrug
<wleslie>right now he's on compilers, so he's doing the grace hopper style
<Jookia>It's hard to tell what code is supposed to be put in an 'mbegin' block and what's not :(
<taylan>Bobbejaantje: there's also a bit of an issue with gender when it comes to beards ^^
<Bobbejaantje>taylan, if people can dye their hair in a different colour and wear wigs, they can just put on a fake one though.
<Bobbejaantje>It's about the image you radiate in the end.
***johndau` is now known as johndau
<rain1>I heard the guile random number generator shouldn't be used as a cryptographically secure one
<rain1>but what about if I make a interface to the new linux system call for getting randomness?
<wingo>rain1: easiest thing is to make an interface to read bytes from /dev/urandom
<wingo>dunno if you have a nice way to wrap system calls, i think guix has such a thing but dunno
<yuqian>Who knows what data structure is like [#:fragment=#f]? I have read it in the manual.
<amz3`>yuqian: where did you read it ?
<taylan>yuqian: the text [#:fragment=#f] means that some procedure takes the optional keyword-argument #:fragment and it has the default value #f when not provided
<taylan>it's a notation specific to the documentation
<taylan>so if that's the documentation of the procedure foo, it means you can call (foo ... #:fragment 'blah ...)
<guile-guest7>hello. when will there be guile bindings to webkitgtk? chicken bindings already exist http://www.chust.org/fossils/webkit/index
<davexunit>guile-guest7: whenever someone writes them.
<guile-guest7>davexunit: ok^^
<davexunit>could perhaps be incorporated to the guile-gnome project
<ozzloy>davexunit, thanks
<ozzloy>davexunit, you too
***alexei_ is now known as amgarching
<kristofer>if my module exports a hash-table is that symbol globally available?
<davexunit>kristofer: you need to import that module
<davexunit>in the places you want to use that symbol
<fhmgufs>Hi! I really want to learn Scheme (using Guile) now. But I don't know how to start. I can't find any tutorials on Scheme. How did you learn it?
<wingo>welcome :)
<wingo>for me it has been too long since i learned but i hope someone who has learned more recently has a good suggestion :)
<kristofer> https://mitpress.mit.edu/sicp/
<wingo>sometimes i hear that sicp can be a bit of a rough beginning; dunno
<kristofer>fhmgufs: I started with that.. didn't get all the way through ha!
<fhmgufs>Thanks a lot.
<kristofer>then I started the little schemer - https://7chan.org/pr/src/The_Little_Schemer_4th_2.pdf
<davexunit>The Little Schemer is a great introduction
<kristofer>it's a lot easier to work through
<fhmgufs>I'll look through these.
<fhmgufs>Maybe if I learned it and used it I am able to write a tutorial. :)
<kristofer>fhmgufs: http://web-artanis.com/scheme.html
<kristofer>nalaginrut gives a brief scheme introduction ^^
<fhmgufs>This one looks good to me.
<fhmgufs>Ok, thanks for your tips. I like Scheme very much! :)
<fhmgufs>Good night for now.