<koz_>mark_weaver: And if I'm hashing numbers, should it be hashq or hashv? <davexunit>oh jeeze, just hearing the horrific news from paris. civodul doesn't live in paris, right? <madsy>One would think the french had taken their share after the Charlie Hebdo attacks <mark_weaver>koz_: for numbers, it has to be hashv, and that works for symbols as well. <koz_>Yeah, terrible news indeed. <koz_>mark_weaver: But for symbols, hashq will be more efficient, right? <mark_weaver>civodul works in Bordeaux, so I guess he's not too close to Paris. <koz_>mark_weaver: I see, thanks. <koz_>I've just defined a module and loaded its file into the REPL, but I can't seem to play with its functions. <koz_>(even the exported ones) <paroneayea>basically argues that even though racket has so many sequence datastructures, almost everyone just uses linked lists because so many operations support them, even when other structures are clearly better <paroneayea>and provides a library that has a unified API for many common sequence operations based off of clojure's similar library <koz_>I've just defined a module and loaded its file into the REPL, but I can't seem to play with its functions. <koz_>(even the exported ones) <koz_>What do I need to do to make this possible? <koz_>daviid: Yeah, I use Geiser, and I loaded the file with C-c C-b. <daviid>could you try ,use (<module name>) <daviid>if the path is in %load-path of course ... <koz_>Back to rewriting my tree structure as a state machine. <daviid>koz_: i was curious, the ,use and ,friend commands do not depend on geiser, there are guile repl 'special' commands [see the manual for others...] <koz_>daviid: As an Emacs user, I could hardly *not* use Geiser. <koz_>Also, Geiser is not responding too well to the vhash-cons* functions. I get this prompt in the minibuffer: ((ice-9 vlist):vhash-consv t-118636 t-118637 t-118638) <koz_>Can I use vlist-append to combine two vhashes, and will that destroy their vhashness? Assume there are no overlapping keys. <paroneayea>wingo: heya, you suggested I pass in a patch to the (make-promise) arity check thing ***heroux_ is now known as heroux
***cataska_ is now known as cataska
***healer` is now known as healer
***mario-go` is now known as mario-goulart
***sbp_ is now known as sbp
***ft_ is now known as ft
***add^__ is now known as add^_
<jralls>mark_weaver: There's an interesting problem with guild on OSX 10.11: Apple has this protection called SIP and it prevents passing DYLD_LIBRARY_PATH to subshells so guild can't link dependencies. <jralls>mark_weaver: One work-around is to disable SIP. Another is to build bash and change guild's shebang. <jralls>mark_weaver: Neither is especially palatable. Can you think of something better? Could Guild be converted to a proper executable? <jralls>mark_weaver: Or made so that env guile is the shebang? <taylan>is there a way to determine if a port is a void port? <cpc26_>yeah, I need a new distro or better hardware - I like the keyboards and the use of natural materials. Dislike the company and OS. <koz_>cpc26_: What do you mean by 'use of natural materials'? <koz_>Ah, you mean 'use of non-petrochemical materials'. <cpc26_>plus I like it when the battery does not feel like it will fall out <koz_>Frankly, the way I see it, Apple has the blood of suicide victims on its hands. <koz_>I know that the way these things are manufactured isn't good in general, but Apple leads the pack for horribleness in *that* department. <koz_>Crapple's anti-GPL crusade is also quite morally off-putting IMHO. <cpc26_>I agree Apple is horrible people <koz_>I'd sell it on to a Crapple cultist personally. <cpc26_>yeah - would like to find something decent as I do use laptops <koz_>cpc26_: Are you in need of extreme power, or would something more modest do? <koz_>Also, where in the universe are you located? <cpc26_>I dev so I need something decent but I go to desktop when I need real horsepower. I am in the USA <koz_>Petit_Dejeuner: I love that your name literally means 'breakfast'. <Petit_Dejeuner>"And as corporations encourage the development of these new liberal licenses, we find that Stallman is being exorcised as an aging hippy, not 'with it', an embarrassment, uncouth, and so on." <koz_>Petit_Dejeuner: I learned French at high school, from a pretty good teacher. <koz_>This particular rant is written by the same guy who tried to use the free release of the source of Shen as a hostage to make money. <koz_>Nothing he says is either relevant or significant. <koz_>Citing a lack of debate for being accused of being a troll is also hilarious beyond words. <koz_>As far as I'm concerned, he's wilfully ignorant at best, a corporate asshole-licker at worst. <koz_>He's against software freedom generally-speaking, by the sounds of it. :P <Petit_Dejeuner>He's against open source and free software in general. The point I'm trying to make is that he's right about the anti-GPL crusade. <koz_>Well, Crapple are pretty unique in being that thorough, and that targeted. <koz_>I suspect it's because The Cult of Steve is upset that legally-speaking, RMS was right about GNUStep or whatever the fuck that thing nobody cares about was. <koz_>They're not moving away from Objective C or pouring millions of dollars into Clang because they care about quality. :P <koz_>(hell, I'm pretty sure the move of OS X towards POSIX compliance was an accident of theft) <koz_>Also, if you guys had to implement a state machine in Guile, how would you go about it? <koz_>Every time I try to do it, I seem to get tangled in my own code. <koz_>Petit_Dejeuner: That's not really something sensible. That's like answering the question 'How do I implement a state machine in C?' with 'iteration'. <davexunit>koz_: in some cases it can be modeled using mutually recursive procedures <koz_>davexunit: I've tried doing it using vhashes and assoc-lists, but in both cases, I ended up with a really wacky codebase that misbehaved severely. <koz_>Whenever I run up against this in any Lisp, this is a sign that I haven't understood the problem properly. <sea``>Define your state machine as a graph, pass that graph and the current state as inputs to a transition function that selects an edge returns the new state. Call this function repeatedly and you're done <koz_>sea``: How would suggest I implement this graph in terms of Guile data structures? <sea``>Either an adjacency list or an adjacency matrix, depending on the density of the graph <koz_>Petit_Dejeuner: Link please? <koz_>Inefficiency can be fixed, lol. :P <Petit_Dejeuner>I think it would take a big rewrite to implement what sea`` mentioned. <sea``>uhm you can do it in like 3 lines <madsy>Petit_Dejeuner: Wow.. so many bogus claims and strawmen in that anti-FOSS rant <koz_>madsy: Yeah, once again, the guy who wrote it is a bit of a derp. <Petit_Dejeuner>sea``: I don't meant that it would be hard, but that I have so little code it would basically be a rewrite. <madsy>And spelling "Microsoft" as "M$".. seriously? Who does that? :D <koz_>Petit_Dejeuner: I think that was directed to me. <koz_>madsy: I am fond of 'Micro$atan' myself. :P <koz_>Petit_Dejeuner: You mean µ$atan, no? :P <koz_>But then again, I've made parody logos of a lot of organizations I dislike. <koz_>(Crapple is still missing one, because I suck at design) <koz_>Well, organizations and tools. <koz_>Also, would anyone have any clue as to why my Geiser seems to assume my Guile code is Chicken code sometimes?