IRC channel logs

2014-07-23.log

back to list of logs

***dirtystache is now known as Twirlystache
***DeeEff_ is now known as DeeEff_[is_ded]
***DeeEff_[is_ded] is now known as DeeEff
<nalaginrut>morning guilers~
***petercom1and is now known as petercommand
<ArneBab>mark_weaver: nice to see you here again! (that’s all I wanted to say ☺)
<mark_weaver>:)
<nalaginrut>;-D
<dsmith-work>Morning Greetings, Guileers
<civodul>Hello Guilers!
<stis>Hej civodul!
<davexunit>hello!
<davexunit>hey guilers.
<davexunit>trying to understand some of the changes in guile master.
<davexunit>I understand that the stack no longer has a hard limit.
<mark_weaver>davexunit: yes, wingolog has a post about it
<davexunit>which allows us to define a procedure like 'map' using it's natural recursion
<mark_weaver>yes
<davexunit>I read that, maybe I should read it again.
<davexunit>I'm wondering about very large input lists exhausting the heap.
<ijp>davexunit: if a list is too big for the heap, that's a problem anyway
<mark_weaver>well, if you can make a procedure less than O(N) in space by using tail recursion, you still probably should.
<mark_weaver>(if you need scalability, which maybe you don't)
<mark_weaver>however, in the case of 'map', you either need to use the stack or create a reversed list of results anyway, so you might as well use the stack.
<davexunit>yeah, that makes sense. thanks.
<ijp>so, I decided to stop being an idiot, and use git-new-workdir so I could have a directory for guile stable and one for master
<mark_weaver>ijp: yes, I discovered that a while ago and it has markedly improved my life :)
<davexunit>whoa, what is this magic?
*davexunit searches
<mark_weaver>get-new-workdir is in the git source tree, as a contributed script, last I checked.
<ijp>still is
<mark_weaver>it creates another working directory attached to the same underlying git store, so you can have multiple branches checked out simultaneously.
<davexunit>awesome!
<mark_weaver>the way it works is that in the .git subdirectory of the new working dir, many of the things are symbolic links to the original working directory.
<ijp>right, it reuses most of the same .git rather than being a second clone
<davexunit>ah, so that way you don't need another copy of the repo
<davexunit>cool
<mark_weaver>so don't forget that the first working directory you had is the one that really has the git data in it, so make sure not to delete it
<mark_weaver>(though the other working dirs have their copies of a well-chosen subset of the git state)
<mark_weaver>s/their/their own/
<ijp>my system was long overdue an upgrade, so I took the time to fix all these little niggling things
<davexunit>my system is overdue for an upgrade... to guix
<mark_weaver>ijp: heh, I've overdue to do what you're doing right now... my server needs upgrading, and the way I deal with email needs an overhaul.
<ArneBab>ijp: so git-new-workdir is something like hg share?
<civodul>oh, git-new-workdir looks cool
<lloda>are you guys using master?
<ijp>lloda: usually we recommend stable-2.0