#python - Sat 21 Apr 2007 between 08:52 and 09:03

NY Lost Funds



tieBrend: you just killed free software :)
Brendbuffi: Why?
tie: Most of the best free software was written by people who needed it
buffihttp://projecteuler.net/ <- for an example. this page is great
qebabI know buffi, I've been doing a lot of those
kandinskibtw, I have trouble with this code: http://paste.lisp.org/display/40070
qebabI like your docstring
kandinskiit is a powerset function that I just built (and made work) in scheme
quebab, I talk to myself a lot when I am studying
qebabme too
I randomly put #THIS IS SPARTAAA inside a function called 'combat' the other day
I don't know why, but it was fun when I read it again yesterday
kandinskiwell
the point of this docstring is I NEED IT
Brendkadinski: Why the lambda?
kandinskiit is a young zaphod writing to old zaphod
Brend, I did it that way in lisp
so I am translating
also makes it more readable
Brendkadinski: the last line of your powerset function is broken
list.extend returns None
kandinskihmm
does it return "None" always?
BrendYep
Actually the lambda is broken for the same reason - append returns None
kandinskiI wanted to concatenate two strings
oh
it changes the list, it is not a function
but a method that mutates the whatever
right?
BrendRight
kandinskiI see
BrendMaybe you just want +
kandinskithis is why I am doing SICP in scheme, then in Python
maybe I do
but I wanted to learn about string methods
not use infix + and make a new string
s/string/list/
it was part of the exercise
starGamingreminds me of the "Some Call It Concatenation" dailywtf

Page: 3 10 17 24 31 38 45 52 59 66 

IrcArchive

NY Lost Funds