jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
damke has joined #lisp
markong has quit [Ping timeout: 248 seconds]
markong has joined #lisp
eSVG has joined #lisp
damke_ has quit [Ping timeout: 263 seconds]
fikka has joined #lisp
kristof has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 268 seconds]
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<matzy_> so i was reading through a thread on r/lisp about a guy choosing between learning racket and cl
<matzy_> i've been learning racket (and elisp) for a few months now, and really love them both, but i keep hearing people say youre missing out on the interactive programming of cl
<matzy_> what exactly does that mean? i know it has to do with slime and the tooling around cl, but what's so different/great about it?
<matzy_> fwiw, i do hate that i cant really debug racket in emacs and have to use dr racket to step through
<pierpa_> when you use elisp you are not missing any interactive programming.
<pierpa_> you are missing a better language, though
<matzy_> i havent written anything that big in elisp yet to need anything more than a simple eval of sexeps
markong has quit [Ping timeout: 240 seconds]
<matzy_> all my bigger programs i've written in racket
<pierpa_> in racket you don't have a permanent state at the repl
<pierpa_> you edit your source files, and restart from zero every time
<matzy_> so like, you just evaluating the individual blocks, it doesnt have access to everything else in the program?
<matzy_> my one question was how people use a repl that effectively. it's isolated and while you can test small i/o functions, you cant really test a big program with different interacting parts
<pierpa_> in CL (and elisp) you evaluate an piece of code you want
<Bike> you can write a file, compile and load it, test it with some calls, find it doesn't work, rewrite a function in the file, recompile and reload that particular function, and try it again.
<pierpa_> *any
<Bike> you don't (usually) write large functions in the repl, you just use the repl for interface stuff.
shifty has joined #lisp
<matzy_> ok i see what you mean now about permanent state
<matzy_> thats cool
<matzy_> can you debug cl in emacs? or do you not need to with the repl?
<Bike> well, that's what i'm describing, though you can do it without emacs if you really want
<matzy_> so is the permanent state in the repl what everyone is talking about with how interactive programming in cl is?
<pierpa_> probably
<matzy_> ok
<matzy_> so do you just use a repl with cl in emacs or does it have an actual step-through cl debugger?
kristof has joined #lisp
kristof has quit [Client Quit]
<pierpa_> the first one
Kaisyu7 has joined #lisp
<Bike> SLIME is an emacs library that connects to a running lisp
caffe has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
presiden has quit [Ping timeout: 245 seconds]
<rme> You can't compile and run functions in Racket? That seems incredible. I must be misunderstanding.
drot has quit [Ping timeout: 246 seconds]
<matzy_> ohhh, i see
<matzy_> i can send racket functions to the repl in emacs
<rme> e.g, like with C-c C-c in slime
<Bike> similar, then.
<pierpa_> rme: I don't think you can
<pierpa_> not in a sensible way
<pierpa_> racket functions live in modules, which modules must be compiled at once
<matzy_> for example, i wrote a simple-ish chatbot, and i couldnt really test it in the repl cause it needed to take user input
mikecheck has joined #lisp
<Bike> well yeah, for that kind of thing you can only test parts
<Bike> for instance, if you have something to parse wire messages, you could pass that a string to see if it parses correctly
<matzy_> right, but i had a bunch of different functions analyzing the string to determine a response
<Bike> what, like it tries one function at a time?
<matzy_> some were nested, if it was this type of question, then it had sub-queries it ran through
fikka has quit [Ping timeout: 260 seconds]
<matzy_> if it was a statement, then these functions which broke it down further to give a specific response
<Bike> i don't think this makes what i'm describing impossible or anything
<Bike> just a matter of breaking things into parts
rumbler31 has joined #lisp
<matzy_> so what about user input? just test with the variable set directly?
<Bike> fake it
<Bike> these are basically the same concerns as with, like, unit testing
<matzy_> ironically, something that i have also been trying to learn recently
<matzy_> well thanks for the help
paul0 has joined #lisp
<matzy_> think i might give cl a try, do you guys have an opinion on it vs racket? is it a better experience for an emacs guy?
Kundry_Wag has joined #lisp
<pierpa_> you in the CL channel. What do you expect to be told? :)
<pierpa_> *you are
fikka has joined #lisp
<matzy_> clearly i'm seeking the most objective opinions! ;)
<pierpa_> if you like interactive , exploratory development, then CL is better
<matzy_> it does sound very nice, yes!
kajo has quit [Quit: WeeChat 2.1]
<pierpa_> otoh, racket is a research language, and incorporates some newer ideas
kajo has joined #lisp
<pierpa_> some of which turns out to be good and some other not so good
<matzy_> hmm intereseting
<matzy_> i havent learned the whole language, i didnt get to macros and only lightly touched objects, so i didnt get super deep
<matzy_> i've heard most people think rackets macros are far superior. is cl bad for learning macros then?
fikka has quit [Ping timeout: 276 seconds]
<pierpa_> you heard some great exagerations :)
cods has joined #lisp
<Bike> i think racket has hygenic macros, which are pretty different from lisp's.
<Bike> huh, nope, looks it has general macros too
<Bike> but with some... thing happening here
<matzy_> ok i'm glad to hear that
<matzy_> so cl macros are fine for learning the concept for the first time?
<pierpa_> yes
<matzy_> awesome
<matzy_> thanks for all the help
<matzy_> i'll get it setup in emacs and give it a shot. curious to see how working in it is
fikka has joined #lisp
megalography has quit [Ping timeout: 260 seconds]
<pierpa_> ;)
jason_m has joined #lisp
<matzy_> i'm expecting to be like, sucked into the matrix through this repl fyi
fikka has quit [Ping timeout: 268 seconds]
<pierpa_> you will be assimilated
comborico1611 has quit [Quit: Konversation terminated!]
Kundry_Wag has quit [Ping timeout: 276 seconds]
megalography has joined #lisp
Cymew has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
matzy_ has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 248 seconds]
DataLinkDroid_ is now known as DataLinkDroid
DataLinkDroid has quit [Quit: Ex-Chat]
nowhere_man has joined #lisp
DataLinkDroid has joined #lisp
nowhereman_ has quit [Read error: Connection reset by peer]
nmajo has quit [Ping timeout: 256 seconds]
vtomole has joined #lisp
vtcoo has joined #lisp
nowhereman_ has joined #lisp
zotan has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
pioneer42 has joined #lisp
nmajo has joined #lisp
megalography has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 260 seconds]
troydm has quit [Ping timeout: 260 seconds]
nydel has joined #lisp
fikka has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
logicmoo has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 246 seconds]
dented42 has joined #lisp
zotan has joined #lisp
d4ryus1 has joined #lisp
fikka has joined #lisp
vtcoo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d4ryus has quit [Ping timeout: 264 seconds]
nowhere_man has joined #lisp
DVSSA has quit [Ping timeout: 256 seconds]
Kundry_Wag has joined #lisp
logicmoo has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
earl-ducaine has joined #lisp
mikecheck has quit [Remote host closed the connection]
nowhereman_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
Kundry_Wag has quit [Ping timeout: 276 seconds]
damke has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
msb has quit [Ping timeout: 260 seconds]
damke_ has quit [Ping timeout: 264 seconds]
msb has joined #lisp
fikka has joined #lisp
msb has quit [Ping timeout: 264 seconds]
msb has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
figurehe4d has joined #lisp
figurehe4d has quit [Remote host closed the connection]
pierpa_ has quit [Quit: Page closed]
fikka has joined #lisp
msb has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
DVSSA has joined #lisp
msb has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
DVSSA has quit [Ping timeout: 240 seconds]
dddddd has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 264 seconds]
zyaku has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nika has joined #lisp
fikka has joined #lisp
dented42 has joined #lisp
dented42 has quit [Client Quit]
energizer has quit [Ping timeout: 264 seconds]
raynold has quit [Quit: Connection closed for inactivity]
energizer has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
sjl has joined #lisp
detectiveaoi has joined #lisp
jeosol has joined #lisp
sjl has quit [Ping timeout: 248 seconds]
jdz has quit [Ping timeout: 246 seconds]
jdz has joined #lisp
xaxaac has quit [Quit: Leaving]
BlueRavenGT has joined #lisp
fikka has joined #lisp
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 263 seconds]
BlueRavenGT has quit [Ping timeout: 268 seconds]
raynold has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
damke has quit [Ping timeout: 263 seconds]
jason_m has quit [Ping timeout: 276 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
DVSSA has joined #lisp
Arcaelyx has quit [Read error: Connection reset by peer]
Arcaelyx has joined #lisp
damke has joined #lisp
DVSSA has quit [Ping timeout: 264 seconds]
sigjuice has joined #lisp
fikka has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 265 seconds]
schoppenhauer has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 256 seconds]
damke_ has quit [Ping timeout: 264 seconds]
schoppenhauer has joined #lisp
asarch has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<beach> Good morning everyone!
Kundry_Wag has joined #lisp
pfdietz_ has joined #lisp
<jeosol> morning beach
gz_ has joined #lisp
brucem has quit [Ping timeout: 248 seconds]
sveit has quit [Ping timeout: 248 seconds]
gz has quit [Ping timeout: 248 seconds]
gz_ is now known as gz
pfdietz has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
sveit has joined #lisp
mrSpec has quit [Ping timeout: 240 seconds]
mrSpec has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
mrSpec is now known as Guest89162
brucem has joined #lisp
logicmoo has quit [Ping timeout: 240 seconds]
vtcoo has joined #lisp
<drmeister> Hi beach - do you know Robert Smith who is speaking at ELS? Is he from Rigetti?
Oladon has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 268 seconds]
<rme> I'm not beach, but I know him and is works for Rigetti. He's sometimes here as stylewarning.
Oladon has joined #lisp
<stylewarning> drmeister: that's me
<vtomole> stylewarning: What are you going to speak about at ELS?
<drmeister> stylewarning: Awesome! That's very exciting. I was trying to connect the dots.
<stylewarning> vtomole: computations on the Clifford group & benchmarking of quantum computers, and simulating markovian noise extensibly in a compiler/simulation framework
<stylewarning> the talk i give will probably be a bit higher level than that; but that's what the papers are about
<vtomole> Are they on the arxiv?
<stylewarning> not yet, writing final drafts this week(end)
quazimodo has joined #lisp
<drmeister> What is arxiv?
erwrqwe has joined #lisp
<erwrqwe> 你們好
fikka has joined #lisp
<vtomole> It's where research papers usually go first. Mostly sci/math related.
<drmeister> Ah - thank you.
<drmeister> Right - chemistry is in a parallel universe.
<vtomole> Kinda strange cause Quantitative Biology is there.
<erwrqwe> 這裏有華人嗎
<Bike> biology's got biorxiv
<Bike> dunno if chemistry has any preprint servers
<erwrqwe> lisp越來越不行了
<vtomole> stylewarning: Let me know when the draft is up :)
<alandipert> stylewarning i caught your recent BA lisp talk on youtube, enjoyed it, thanks for it
fikka has quit [Ping timeout: 264 seconds]
<beach> erwrqwe: There might be Chinese people here, but this channel uses English only.
logicmoo has joined #lisp
damke_ has joined #lisp
<stylewarning> alandipert: thanks, glad to hear it; sorry for the audio
thodg has joined #lisp
fikka has joined #lisp
DVSSA has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
DVSSA has quit [Ping timeout: 248 seconds]
erwrqwe has left #lisp [#lisp]
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Quetzal2 has joined #lisp
eSVG has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
<slyrus_> Bike, there's a chemrxiv, if I'm not mistaken
Bike has quit [Quit: Lost terminal]
milanj has joined #lisp
orivej has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
fikka has joined #lisp
sellout- has quit [Ping timeout: 260 seconds]
sellout- has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
Louge has joined #lisp
fikka has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
sauvin has joined #lisp
Kundry_Wag has joined #lisp
DVSSA has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
elderK has joined #lisp
elderK has joined #lisp
elderK has quit [Changing host]
Kundry_Wag has quit [Ping timeout: 276 seconds]
Louge has quit [Quit: Louge]
DVSSA has quit [Ping timeout: 260 seconds]
Guest89162 has quit [Changing host]
Guest89162 has joined #lisp
Guest89162 is now known as mrSpec
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
<asarch> If I do: (defun foo () `(hello from ,(caddr bar) inside the ,(cdr baz) function in Lisp)). Is this a macro (because the ` and ,()?
<vtomole> No
<vtomole> clhs macro
<specbot> Couldn't find anything for macro.
<vtomole> clhs defmacro
shrdlu68 has joined #lisp
<beach> asarch: The backquote facility is orthogonal to macros.
<beach> asarch: It just so happens that it is often useful in macros, but not so useful elsewhere.
fikka has joined #lisp
<asarch> What are they then?
<asarch> Can they be used with defun?
<beach> Sure.
<asarch> What do they do?
<asarch> ...in a defun expression?
<beach> The same thing they do in macro bodies.
<asarch> Thank you
<asarch> Thank you very much guys
<beach> (defun f (x) `(you gave ,x as an argument))
<beach> (f 234)
vtcoo has quit [Read error: Connection reset by peer]
eSVG has joined #lisp
<beach> The backquote and comma characters are "reader macros". When the reader sees `(hello ,x), it returns something equivalent to (list 'hello x).
<elderK> asarch: You may want to check out the HyperSpec. Or look at a CL Macro tutorial.
<elderK> Backquote and comma are useful tools, though.
<elderK> For example, if you 'quote' something, it's considered data. For instance, '(a b c d). That's a list of symbols.
<asarch> 2) Open the book "Land of Lisp"
<elderK> But let's say you want to inject some value into that, from a variable.
<elderK> Well, with stock quote, you can't afaik.
<elderK> THat's where backquote comes in.
<elderK> `(a b c d) is the same as '(a b c d)
<elderK> But `(a b ,c d) is not.
<elderK> The comma before the ,c means "Put the value bound to c here."
<elderK> This is a pretty fast and loose explanation.
<elderK> beach: How far wrong am I?
fikka has quit [Ping timeout: 263 seconds]
<beach> Looks reasonable so far.
<elderK> There are other useful reader macros, too, such as ,@. ,@ differs from , in that if ,@ precedes the name of a variable which is bound to a list, it will directly splice that list in.
<elderK> for instance if x is bound to '(1 2 3) and you have the following : `(a b c ,@x), the result is the list (a b c 1 2 3)
<jackdaniel> is comma and ,@ a reader macro though?
<elderK> That I don't know for sure :)
<elderK> I only know how handy they are:)
<elderK> I'd imagine they are?
<jackdaniel> they are handy, but I think they are not reader macros
<elderK> Ah, not reader macros.
<elderK> You are dead right, jackdaniel
<elderK> Reader macros are dispatched with #?
<jackdaniel> I hope I'm live right though :)
<beach> elderK: No, not necessarily.
<jackdaniel> no, you don't have to have # for reader macro
<beach> I think , is a reader macro.
<beach> clhs ,
<elderK> Yeah, you are both right :)
<elderK> My bad :)_
<elderK> All it says is that you have a dispatching macro character.
Karl_Dscc has joined #lisp
<elderK> asarch: You might find this interesting :)
<elderK> asarch: The CLHS can be a bit tough to read at times but it's a skill you develop :D
<jackdaniel> backquote and comma are referred as standard macro characters, hm
<asarch> 3) Go to the page 73 of the book
* asarch is taking notes...
<beach> jackdaniel: That's what I said.
<elderK> beach: You are right :)
<beach> jackdaniel: It would return something like (unquote ...)
<beach> jackdaniel: or (unquote-splicing ...) when followed by @.
<jackdaniel> you are right
dieggsy has quit [Ping timeout: 276 seconds]
damke has joined #lisp
live__ has quit [Quit: Leaving]
damke_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
dented42 has joined #lisp
jealousmonk has joined #lisp
<asarch> Wow!
<asarch> Thank you beach, elderK and jackdaniel
<asarch> Thank you very much
<asarch> I was stuck at this part at the chapter 8 from PCL
<beach> Anytime.
<asarch> I couldn't understand the correspondence the first time I read the book
<jackdaniel> nothing to thank me for, I've just introduced some unjustified confusion :-)
<asarch> However, the explanation from all of you... God bless you guys :-)
* beach is an atheist.
<shrdlu68> Cod bless you
<jackdaniel> assuming God exists it is independent of personal beliefs, so even atheist will profit from a blessing :-)
fikka has quit [Ping timeout: 256 seconds]
damke has quit [Ping timeout: 265 seconds]
<asarch> ,@ reminds me @ from Perl: my @friends = ("beach", "elderK", "jackdaniel");
<jackdaniel> never knew I'm part of Perl standard
<elderK> Glad to help, asarch
<jackdaniel> I have to tell everybody, see you later \o
<asarch> Get some rest o/
<jackdaniel> actually it is morning, I have to get something done
<asarch> D'oh!
<elderK> :P I am pretty beat. But the kind of beat where you want to do stuff anyway :P
<beach> "rest", what is that?
<asarch> I mean, have a nice day
<elderK> :P Just hit midsemester break :P So, yknow, I want to do ALL THE THINGS :P
<asarch> Reposez-vous?
fikka has joined #lisp
<elderK> ?
<beach> elderK: asarch thinks that French is my native language, so he kindly translates for me.
<asarch> Mother language of beach is French
<beach> It is not, but it's one of the ones I speak fluently.
<asarch> What is your mother language?
orivej has quit [Ping timeout: 260 seconds]
<elderK> For me, C
<elderK> :P
<beach> Swedish. But that's off topic.
Karl_Dscc has quit [Remote host closed the connection]
<asarch> Wow! That's great!
<jackdaniel> -->#lispcafe for offtopic discussions
<elderK> :P So joining :D
detectiveaoi has quit [Read error: Connection reset by peer]
vtomole has quit [Ping timeout: 260 seconds]
<elderK> Guys, what is the idiomatic way to represent say, a DFA or Finite Automata in Lisp?
<elderK> In C likes, I usually use a table.
<beach> Typically with TAGBODY.
<elderK> Analogous to a switch with goto?
<beach> No switch. Just goto.
<beach> Each tag corresponds to a state.
<elderK> Interesting.
fikka has quit [Ping timeout: 248 seconds]
<beach> You can generate the TAGBODY from some description if you want (like regular expressions) but for small ones, it is perfectly fine to write it by hand.
<stylewarning> I myself prefer tail recursive functions. I use LABELS and transition with tail calls, enforced with a nice macro wrapping RETURN-FROM.
paul0 has quit [Remote host closed the connection]
<beach> stylewarning: So you rely on your implementation doing tail-call optimization?
<elderK> I use GOTO in C for various reasons but never for state machines. Just goes to show hard engrained the "GOTO IS EVIL" thing is in the world these days.
<stylewarning> beach: you bet, and it makes life feel good (:
paul0 has joined #lisp
<beach> elderK: There are two functions in there each with a TAGBODY in it.
<elderK> Thanks beach :)
<beach> elderK: Unfortunately, software development is full of myths and magic beliefs, probably because most of the practitioners do not have enough training.
<elderK> Aye.
<elderK> :P Goto is a tool like any other.
* elderK takes a peek at CLHS TAGBODY and linked source
<beach> elderK: And experience doesn't help either. It is said that in software development, people don't have 10 years experience. They have 1 year experience 10 times.
<beach> My observations totally confirms this.
tomlukeywood has joined #lisp
<lieven> another neat trick is that closures work over tags. you can hand another function a (lambda () (go tag)) and it can funcall that to transfer control
<shrdlu68> Nice!
DVSSA has joined #lisp
logicmoo has quit [Read error: Connection reset by peer]
<rme> Note, though, that tags have dynamic extent. Once you exit the tagbody, you can't go to any of its tags.
<lieven> yeah, they're not continuations
<loke> rme: I guess supporting that would be one way to provide a continuations API
<elderK> beach: Mine too, actually.
DVSSA has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
paul0 has quit [Remote host closed the connection]
paul0 has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
logicmoo has joined #lisp
tomlukeywood has quit [Quit: tomlukeywood]
flamebeard has joined #lisp
shka_ has joined #lisp
jeosol has quit [Ping timeout: 260 seconds]
megalography has joined #lisp
<elderK> beach: I remember being very disappointed in what I found when I entered the workforce.
<elderK> I'm back studying now - not having some kind of degree begun to limit opportunity.
<elderK> Still. I hope one day to work with people somewhere that don't constantly make me think of the daily wtf.
shrdlu68 has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
<elderK> I'm not sure why it is that way. I figured the only explanation was that the other people just didn't care enough.
<elderK> They had degrees and stuff that I never had.
<elderK> But they just... didn't care, didn't design. Everything was bandaided together and worked on prayer.
<elderK> Which was horrifying considering I worked for a large financial provider.
<elderK> (eCommerce and payment terminals and bankswitching and stuff)
shrdlu68 has joined #lisp
Cymew has joined #lisp
megalography has quit [Ping timeout: 268 seconds]
<beach> elderK: One explanation was well put by Alan Kay. Many universities have taken upon themselves to train their students in topics demanded by industry. So instead of training students in topics the industry NEEDS, it trains students in topics that industry WANTS. Coupled with the fact that most of the software industry is run by people who don't have a clue, we get total stagnation.
fikka has quit [Ping timeout: 248 seconds]
<elderK> Aye. Reminds me of a conversation I had with an old friend today.
<elderK> Where he basically said the same thing.
<elderK> That CS at our University has effectively become a "Code Bootcamp.
<elderK> And really, it has. And it makes me very sad.
<elderK> Especially when I see so few students genuinely passionate about any of it.
<elderK> Makes me sad.
<elderK> :(
lnostdal has joined #lisp
<Zhivago> Universities face an existential threat as it is.
<beach> They do. And they have to adapt fast, or they will disappear.
<shrdlu68> We live in an age where the tools for autodidactism are ever more accessible and powerful for the studious.
panji has joined #lisp
<Zhivago> What you're complaining about is part of that adaptation process.
<Zhivago> But it doesn't look like it can work in the long run, so they'll have to do something else.
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elderK> Well, where I study, at least amongst the students, you're considered a freak if you're actually interested in the low-level.
<beach> elderK: Maybe you should help me with the planned website to teach Common Lisp. It would be a collection of "topic"s, where each topic contains text, video snippets, exercises, etc. The topics would be linked in a graph that allows different kinds of navigation according to the knowledge by the student.
<elderK> That sounds interesting, beach.
<elderK> Really cool, actually.
<elderK> :)
<elderK> What could I do?
<beach> We can start with the collection of topics and figure out the graph later.
<beach> elderK: I know very little about the web, so I need to figure out how to host this, how to turn it into a wiki, but with filtering so that not anybody can put in anything they want.
<beach> Then, we need to figure out the topics. I can do that.
<elderK> beach: Well, I have webspace.
<beach> Then we need to record video snippets for each topic, etc.
<elderK> beach: Nothing's really established on it other than books.
fikka has joined #lisp
<elderK> But, it suppots like, unlimited DBs and all that junk.
<beach> See, my web knowledge is so bad I don't even know what you are talking about.
<elderK> beach: Then we're almost even :P
<elderK> Web has never been my passion but I've done a fair amount of HTML, CSS and Javascript. Basic exposure to various frameworks for the ecommerce job in the past.
<beach> OK, so then we need for someone else to get it started first.
<elderK> Maybe. It depends on how fancy it needs to be :)
<beach> Ideally, fancy could be added later.
<elderK> As for the videos - we could host them on a YouTube channel.
<beach> Hmm, didn't think about that.
<beach> I am thinking that each video should be at most 5 minutes or so.
<elderK> Seems fair.
<beach> ... given that the target generation has the attention span of a gnat.
<Zhivago> When I see videos I look elsewhere.
<beach> Zhivago: You are not part of the target group.
<Zhivago> They're just too slow to wade through.
<beach> Zhivago: You are not part of the target group.
<elderK> That raises the question of presentation wrt videos. Are we there live streaming something? Are we going to have some nice slides and animations taht show things, like, say, the structure of things?
<elderK> etc.
<elderK> Zhivago: Fair.
megalography has joined #lisp
<Zhivago> I suggest including transcripts, so that you're not limiting yourself to the subliterati.
<elderK> But beach is right: Most people don't seem to read things anymore.
<beach> elderK: No live streaming in my opinion.
<elderK> It's like this Computer Graphics paper I'm taking: We're doing GL. Even the teacher got stuff wrong. SO, the popular guy in the class tried to correct him, was wrong. Later, I suggested he take a peek at the 3.3 Core Spec. And his answer was "I don't read things. It just slows me down."
<beach> elderK: Yes, animation is good. For things like algorithms, stack evolution, etc.
<elderK> Zhivago: That's a good idea.
<elderK> beach: We should probably note some of this stuff down :)
<beach> Yes, definitely duplication of information between text, drawings, videos.
<beach> #lisp is logged.
<elderK> Sweet.
<elderK> If possible, we might want to generate stuff as much as possible, like images and stuff.
<elderK> Say, if we start off with poor looking stuff. When we get better, we can tweak whatever and regenerate.
<elderK> Not necessary but I'm sure things like ImageMagick could make that pretty easy.
<elderK> As for the webpage, that could be done pretty easily provided we build the pages correctly.
<elderK> Just change the CSS or whatever.
<elderK> Or switch themes in whatever CMS we use, if any.
<beach> I am not worried about that. Once the structure exist, people will have opinions about presentation and they will help improve it.
* elderK shrugs
<elderK> Yeah, that's true.
<elderK> :)
<beach> The most important part, I think, is getting some topics up, where each topic is represented by some top-level page.
<elderK> What kind of topics are you thinking?
<beach> Then we can start filling in topics with text, videos, graphics, whatever.
<elderK> Like, kinda... a soft entry into the world of Lisp? Incrementally more difficult and interesting things?
<beach> elderK: I have tons of ideas. Let me enumerate some...
asarch has quit [Quit: Leaving]
lonjil has quit [Ping timeout: 265 seconds]
zooey has quit [Ping timeout: 268 seconds]
<beach> 1. Uniform reference semantics. The fact that that objects are referred to through references and how that influences semantics in various situations.
<beach> 2. Argument passing. Call by value where values are references.
lonjil has joined #lisp
<beach> 3. Representations of lists.
<elderK> (You just reminded me of a question :))
<beach> 4. Packages and how to use them.
<beach> 5. Quicklisp.
<beach> 6. Introduction to Emacs.
<beach> 7. SLIME.
<beach> 8. ASDF basics.
<beach> 9. How to write recursive algorithms in Common Lisp.
<beach> 10. When to use recursion and when to use iteration.
<beach> 11. Iteration in Common Lisp. LOOP etc.
<beach> 12. Special variables and what they are good for.
<beach> 13. Standard classes and how to use them for representing information.
<beach> 14. Generic functions and methods.
<beach> I am just writing down things as I think of them. No particular order.
<beach> 15. Lexical scoping. Functions and variables.
<elderK> Right. Well, I think we may want to have multiple ways to interact with Lisp.
<elderK> As awesome as Emacs is, I've met very few people offline that use it.
<elderK> These days, it's Atom and shit like that. Vim is equally rare as Emacs.
<elderK> I saw a few days ago that there now exist SLIME plugins for Atom.
<beach> The important aspect of a graph of topics is that it should be possible to skip topics that are not needed.
<elderK> Yeah
fikka has quit [Ping timeout: 264 seconds]
zooey has joined #lisp
<beach> Speaking of SLIME: 16 Conventional indentation and spacing.
<elderK> It could be really styley, too :D
<k-hos> 16. goto 11
<elderK> Might be worth having a topic about the kind of data structures that are included in Lisp.
<elderK> A lot of people think Lisp is just lists and such
<beach> Definitely.
<elderK> Maybe introduce them to basic use of defstruct, defclass, hash tables, etc.
<beach> Absolutely.
<elderK> I know I certainly made that mistake when I first started out.
<elderK> Hell. I still can't say I know how to best use CLOS :P
zooey has quit [Remote host closed the connection]
<beach> 17. The concept of a protocol. How to hide implementation details. Modularity.
<elderK> Generic Functions instead of Classes owning methods still is a weird concept for me :P
<beach> 18. Automatic memory management.
<elderK> Yeah, that's an important one :)
zooey has joined #lisp
<beach> 19. Streams and operations on them.
<beach> 20. The Common Lisp evaluation model.
<beach> 21. How the reader works.
shrdlu68 has quit [Ping timeout: 276 seconds]
<beach> 22. Reader macros. Standard ones and how and when to write your own.
<beach> can I stop now?
shrdlu68 has joined #lisp
<beach> Those are just for starters.
krwq has joined #lisp
<beach> Oh, very important: 23 naming conventions and other coding conventions.
Kundry_Wag has joined #lisp
<beach> 24. Comments.
<elderK> Keep it coming. I still think we should have this organized somewhere.
<elderK> Logs are great and all.
<elderK> :P I will inevitably forget to check them
<elderK> :P
<beach> 25. Documentation strings. What is the purpose. How they are different from comments.
<elderK> I'm just thinking about... like... what I'd like to see in topics, if I were BRAND new.
<shrdlu68> Was scope listed?
<elderK> Or hell, even now. I'm not new - but I'm not proficient.
<elderK> Yeah, scope is important
<elderK> Lexical vs. Dynamic.
<elderK> Hell. People ahve trouble with scope in Java
<elderK> :|
<beach> Yes, very important.
<beach> 26. How multiple dispatch works.
<elderK> I've written a note to myself to dump the logs tomorrow and order these or group them.
<elderK> Keeping my fellow students in mind :P
<beach> 27. Method combinations and when to use them.
<elderK> Ooo. I wish I could learn that now :D
<elderK> :)
<beach> 28. Macros.
<beach> 29. The backquote facility.
<beach> 30. Format
<elderK> You've probably covered this in streams... but idiomatic IO
<shrdlu68> CL learners are always confused about producing binaries.
<elderK> How to handle binary files and formats, etc.
<beach> 31. Writing finite-state machines using TAGBODY. :)
<elderK> :D
al-damiri has quit [Quit: Connection closed for inactivity]
<elderK> shrdlu68: Good point.
<beach> 32. How to produce os-specific executables and when to do it. :)
Kundry_Wag has quit [Ping timeout: 240 seconds]
<elderK> We could make use of Roswell, too.
<beach> 33. The concept of compiled (FASL) files.
<shrdlu68> Some newcomers are also confused by the whole implementations things.
<elderK> Y'know, people will probably need to have the idea of an image explained to them.
<beach> 34. The importance of an independent standard and how the standard differs from implementations of it.
<elderK> Since, people are so used to write->compile->run
<elderK> Sure, people use Python. But it's kinda different in Lisp.
shka_ has quit [Ping timeout: 268 seconds]
<beach> 35. The Common Lisp runtime environment and what it contains.
<beach> 36. Environments.
<elderK> Eventually, something about how to interface with foreign code.
DVSSA has joined #lisp
<elderK> And when it's wise to do so rather than write it in CL
<beach> I am not at all interested in that topic, so someone else would have to do it.
<elderK> Well, I'm keen :(
<elderK> *:)
<elderK> I'd be very interested in learning how to efficienlty marshal stuff between languages.
<shrdlu68> Embracing your implementations and using non-standard facilities.
<elderK> Particularly with regards to asynchronous networking
<beach> shrdlu68: Yes, good point.
<elderK> When its wise to do so.
<beach> 37. Gray streams.
<beach> 38 - 50 Building GUI applications using various tools.
mikecheck has joined #lisp
<beach> 51 - 60 Writing web applications in Common Lisp (again, not me).
<shrdlu68> Slime and the power of the repl. It has become one of most endearing features of CL for me.
presiden has joined #lisp
<beach> 61. Writing tests. Using coverage information.
<beach> 62. Profiling and improving performance.
<elderK> beach: Would a topic about say, intro to a few useful libraries be worthwhile? For web types - which there are a zillion - they'll probably be interested in a quick way to say, talk JSON and access DBs.
<elderK> How to debug CL programs
<elderK> :P I still don't know how to do that effectively. Like, breakpoints and stuff.
<shrdlu68> elderK: Probably because you rarely have to.
<beach> Yes, everything is good. It just has to be inserted into the graph of topics so that it can be skipped or (on the contrary) elaborated upon.
DVSSA has quit [Ping timeout: 256 seconds]
<krwq> elderK: (declaim (optimize (debug 3) (safety 2) (speed 1))) and then put (break) in the code
<elderK> Usually stuff my functions are as small as I can make them. So, you aren't staring at giant scrolls of stuff.
<beach> Right. 63. Type declarations and what purpose they serve.
<elderK> krwq: Can you set breakpoints without manually adding break?
fikka has joined #lisp
<elderK> krwq: I guess that isn't that important, when you can easily recompile a single function or expression.
<beach> elderK: Depends on your implementation.
<elderK> beach: How about something about how thing are interned?
<krwq> elderK: I almost never had to use breakpoints since I usually recompile on error
<beach> elderK: "interned"?
<rme> Have I mentioned recently that type declarations are a promise that the programmer makes to the compiler?
<krwq> elderK: not sure if there is a nicer way - let me know if you find it
<elderK> Well. Being aware of how what you enter into the REPL, can effect the environment. And also, how a symbol can name many things.
<beach> krwq: You are missing out on a very important debugging tool then. Sorry to hear that.
<shrdlu68> I've never had to do that sort of debugging in CL. No segfaults to deal with.
<beach> rme: Yes, a few times. :)
<krwq> beach: how do you do it then?
Patzy has quit [Quit: leaving]
<elderK> beach: I'm not sure how real a problem it is, but I remember on #scheme, someone was badmouthing CL because of "Not being able to define something because of previously interned stuff"
<beach> krwq: How do you set breakpoints?
<elderK> I never hit that myself.
<elderK> But I've always remembered it.
<beach> krwq: Unfortunately, you probably have to insert (break) into your code.
<elderK> beach: Can you step from that point onwards?
<beach> I think in SBCL you can now.
<elderK> Cool :)
<beach> Free Common Lisp implementation really don't have that great debugging support.
<beach> Many the commercial ones don't either. I don't know.
<Shinmera> I'm not aware of any of them having out-of-process debugging, or breakpoints.
<elderK> Well, that just highlights the importance of writing small functions that are concerned with one thing :P
<elderK> Rather than 10k LOC monstrosities.
<elderK> God. I've seen that too many times in the workforce: |
* elderK shudders
<beach> elderK: It also highlights the absolute necessity of improving the current situation.
<elderK> Yes, it does.
Patzy has joined #lisp
<krwq> beach: how do you step? I've just created simple function with (break) and 2x (format ...), debugger pops up, I click `s` which apparently steps but it steps into some weird place
milanj has quit [Ping timeout: 264 seconds]
thodg has quit [Ping timeout: 260 seconds]
<krwq> if this is how it is supposed to work then in most of the cases I'm better with just printing stuff out or using repl directly to print results
shka_ has joined #lisp
<beach> krwq: It might have to do with your DEBUG settings.
<beach> krwq: Are you using the default ones?
shifty has joined #lisp
<krwq> I've put (declaim (optimize (debug 3) (safety 2) (speed 1))) as first instruction in my sbclrc
<beach> That should work.
<beach> I don't remember the details of stepping in SBCL. I know I am often surprised by what it does, like you.
<krwq> will try following that
<krwq> it's late though my try tomorrow
<krwq> I usually write fairly short functions so that is not a problem most of the time but ocassionally would be really handy
<beach> I agree.
porky11 has joined #lisp
<krwq> still being able to inspect code of pretty much anything wins over most of the languages
sellout- has quit [Ping timeout: 240 seconds]
<beach> If that is true, then it is very very sad.
<Shinmera> If you have sources, you can inspect code in most languages.
<krwq> yes, if you have sources and symbols
<Shinmera> Right. Same in Lisp.
<krwq> and they match then most of the time it works
<krwq> in lisp almost everything is open source
<beach> Oh?
sellout- has joined #lisp
<Shinmera> That's not a language thing though, but a cultural one.
hhdave has joined #lisp
<krwq> Is there even a mechanism to consume lisp code non through code? Compile to library and ffi?
<beach> Implementation dependent.
<Shinmera> Obfuscation is always a way.
<krwq> i only couldn't see sources for sbcl when I wasn't building from sources
damke has joined #lisp
<krwq> the lisp culture is much better than any other lanugage I've seen
<krwq> I haven't used so much open source before lisp
<krwq> lisp just makes it super easy
<Shinmera> Most libraries in other languages are also open source from what I can tell.
damke_ has joined #lisp
<krwq> Shinmera: I got different experience since I came from windows enviroment
<Shinmera> Code inspection really isn't something that's unique to CL. The live environment aspect is.
hhdave has quit [Ping timeout: 246 seconds]
<krwq> I like that I can just M-. into anything and change it if I need to
hhdave has joined #lisp
damke has quit [Ping timeout: 264 seconds]
panji has left #lisp [#lisp]
heisig has joined #lisp
<krwq> Ok, got to go, it's 1AM here :) See you!
hajovonta has joined #lisp
krwq has quit [Remote host closed the connection]
<hajovonta> hello
<beach> Hello hajovonta.
shka_ has quit [Ping timeout: 240 seconds]
drot has joined #lisp
DVSSA has joined #lisp
milanj has joined #lisp
DVSSA has quit [Ping timeout: 248 seconds]
nydel has quit [Read error: Connection reset by peer]
nydel has joined #lisp
nowhere_man has joined #lisp
mflem has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
nowhereman_ has joined #lisp
nowhere_man has quit [Read error: Connection reset by peer]
Patzy has quit [Quit: leaving]
Patzy has joined #lisp
Patzy has quit [Client Quit]
Patzy has joined #lisp
energizer has quit [Ping timeout: 240 seconds]
mikecheck has left #lisp ["part"]
nowhere_man has joined #lisp
milanj has quit [Ping timeout: 264 seconds]
EvW has joined #lisp
nowhereman_ has quit [Ping timeout: 252 seconds]
xrash has joined #lisp
makomo_ has quit [Quit: WeeChat 2.0.1]
makomo has joined #lisp
_cosmonaut_ has joined #lisp
EvW has quit [Remote host closed the connection]
tomlukeywood has joined #lisp
attila_lendvai has joined #lisp
EvW has joined #lisp
<makomo> hello
<beach> Hello makomo.
<makomo> hi beach
EvW has quit [Ping timeout: 276 seconds]
<makomo> scymtym: can you take a look at this "problem" i'm having with esrap. it's pretty trivial but i can't get it to work. i want to parse text like "{$ hello $}" where "{$" and "$}" are tag delimiters, i.e. they mark the beginning and the end of the tag. " hello " is the text within the tag which can contain any character except for the tag end sequence
<makomo> so i have (esrap:defrule tag-begin "{$") and (esrap:defrule tag-end "$}")
<makomo> and for the text i have (esrap:defrule tag-text (esrap:* (and character (esrap:! tag-end)))) but i'm not sure this is correct
<makomo> the tag itself is (esrap:defrule tag (and tag-begin tag-text tag-end))
<makomo> trying (esrap:parse 'tag "{$ hello $}") gives me an error at (Line 1, Column 8, Position 8) saying "While parsing TAG-TEXT. Expected: anything but the string "$}""
eSVG has quit [Ping timeout: 276 seconds]
damke has joined #lisp
<makomo> it seems like tag-text wants to continue and match more character instead of stopping and letting tag-end match "$}"?
<makomo> characters*
tomlukeywood has quit [Quit: tomlukeywood]
damke_ has quit [Ping timeout: 264 seconds]
megalography has quit [Ping timeout: 252 seconds]
troydm has joined #lisp
<scymtym> makomo: try (esrap:defrule tag-text (* (not tag-end)))
<scymtym> and maybe, depending on what you need, (esrap:defrule tag-text (* (not tag-end)) (:text t))
dddddd has joined #lisp
<makomo> scymtym: works! any idea why my attempt failed?
<Shinmera> Your tag-text rule says: an arbitrary number of repetitions of: a character followed by something that isn't the end tag.
<scymtym> (* (and character (! tag-end))) fails at the final space before the tag-end: character consumes the space but then (! tag-end) fails because there is something matching tag-end at that position. so (and ...) fails and the repetition stops, position is still at the final space. then tag-end fails at the space
<makomo> scymtym: ah right, the whole and fails, not just the !, makes sense
<makomo> thanks :-)
<makomo> scymtym: also, how come symbols used in defrule like "*" and "!" are part of the esrap package but "and" and "or" are not?
DVSSA has joined #lisp
<scymtym> makomo: esrap reuses cl symbols where possible. from your list, only ! is not in the cl package (otherwise my suggestion wouldn't have worked)
<scymtym> makomo: also, when debugging grammars, try using (esrap:trace-rule 'tag :recursive t)
<makomo> scymtym: ah i see. yup, i've used trace-rule, neat feature
<makomo> scymtym: one thing that i don't understand (because i'm not that familiar with PEGs perhaps) is why, when and fails, why does the * fail too? shouldn't it stop at the first fail and just return what it managed to parse?
<Shinmera> makomo: the * does not fail, but the $} can't parse, so the outer and fails.
<makomo> ohh, because it stopped at the space?
<Shinmera> yes
megalography has joined #lisp
<makomo> Shinmera: makes sense, thanks
DVSSA has quit [Ping timeout: 248 seconds]
nydel has quit [Read error: Connection reset by peer]
lnostdal has quit [Ping timeout: 240 seconds]
easye has quit [Remote host closed the connection]
easye has joined #lisp
lnostdal has joined #lisp
<onion> are non-exported symbols saved in the image? and are images part of the spec at all?
makomo has quit [Ping timeout: 256 seconds]
<Shinmera> An image is a copy of the memory, so yes.
EvW has joined #lisp
<Shinmera> And no, images are not part of the spec.
<Shinmera> memory isn't even part of the spec.
markong has joined #lisp
<shka> sometimes i wonder if it could be
<Shinmera> If what could be
<shka> memory
<Shinmera> What advantage would be gained by having it be part of the spec
<beach> Nah, you would turn Common Lisp into just another C.
<Shinmera> I'm quite sure memory was a deliberate exclusion on part of the designers.
<shka> Shinmera: I think you are right here
DVSSA has joined #lisp
lnostdal has quit [Ping timeout: 240 seconds]
<onion> ah interesting=) and usually images are not even close to being cross-impl right?
<shka> you don't even need to have images to begin with
<shka> they are so common just because they are useful
<onion> ok, makes sense
MetaYan has quit [Ping timeout: 240 seconds]
<Shinmera> onion: an image /is/ your implementation. how could it be cross anything
MetaYan has joined #lisp
megalography has quit [Ping timeout: 264 seconds]
lnostdal has joined #lisp
z3t0 has quit [Ping timeout: 264 seconds]
z3t0 has joined #lisp
damke has quit [Ping timeout: 264 seconds]
Fade has quit [Ping timeout: 264 seconds]
Fade has joined #lisp
ericmathison has quit [Ping timeout: 264 seconds]
ericmathison has joined #lisp
damke has joined #lisp
wigust has joined #lisp
<onion> right, ok
Kundry_Wag has joined #lisp
DataLinkDroid has quit [Ping timeout: 248 seconds]
BitPuffin has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
Patzy has quit [Quit: leaving]
Patzy has joined #lisp
Patzy has quit [Client Quit]
Patzy has joined #lisp
milanj has joined #lisp
d4ryus1 is now known as d4ryus
fikka has quit [Ping timeout: 245 seconds]
attila_lendvai has quit [Ping timeout: 260 seconds]
m00natic has joined #lisp
attila_lendvai has joined #lisp
nika has quit [Remote host closed the connection]
nika has joined #lisp
tomlukeywood has joined #lisp
megalography has joined #lisp
nika has quit [Ping timeout: 248 seconds]
dddddd has quit [Ping timeout: 264 seconds]
megalography has quit [Ping timeout: 240 seconds]
inoperable has quit [Quit: ZNC 1.6.6 - http://znc.in]
inoperable has joined #lisp
inoperable has quit [Remote host closed the connection]
inoperable has joined #lisp
fikka has joined #lisp
felideon has quit [Ping timeout: 240 seconds]
megalography has joined #lisp
<MetaYan> Does SLDB in SLIME provide some way of storing or exporting the complete error state? (With expanded backtrace)
<MetaYan> Sort of an "error report"?
_cosmonaut_ has quit [Ping timeout: 248 seconds]
<Shinmera> You can use M-x sldb-end-of-backtrace to expand it, and then save it like any other emacs buffer.
dddddd has joined #lisp
<MetaYan> Oh man, yes, thank you. It's an editor, after all... :)
Kundry_Wag has joined #lisp
Zhivago has quit [Ping timeout: 256 seconds]
Kundry_Wag has quit [Ping timeout: 264 seconds]
python476 has joined #lisp
_cosmonaut_ has joined #lisp
Cymew has quit [Remote host closed the connection]
Bike has joined #lisp
orivej has joined #lisp
EvW has quit [Quit: EvW]
shrdlu68 has quit [Ping timeout: 248 seconds]
shrdlu68 has joined #lisp
pioneer42 has left #lisp [#lisp]
_cosmonaut_ has quit [Ping timeout: 248 seconds]
jason_m has joined #lisp
<shka> what people use here for tensor algebra?
<shka> what system, that is
<pierpa> not many tensor algebrists present, I suppose
<flip214> hmmm... I open a file, then some threads print debug data into strings (FORMAT NIL ...) and do (BT:WITH-LOCK-HELD (*debug-output-lock*) (PRINC dbg-string *debug-stream*) (FINISH-OUTPUT *debug-stream*))
<shka> dunno, people here do literally everything
damke_ has joined #lisp
<flip214> but still the output lines are mixed up and corrupted. What else do I need to do, apart from using a lock?
<shrdlu68> flip214: Maybe flush?
<flip214> shrdlu68: doesn't FINISH-OUTPUT do that?
<flip214> apart from that, I wouldn't even care for that to reach stable storage; if it's in right order, I'm satisfied
tomlukeywood has quit [Quit: tomlukeywood]
damke has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 260 seconds]
<pierpa> Maybe you are not using the lock in some places?
<shrdlu68> flip214: It should. Strange, maybe something's wrong with the debug strings themselves are corrupted.
<flip214> pierpa: already grepped my sources. only 3 places use that special var - the initial assignment, and the (IF *debug-output* (print ... *debug-output*))
<jackdaniel> flip214: use force-output
<flip214> jackdaniel: no difference
wxie has joined #lisp
<shrdlu68> finish-output is actually better because it doesn't release the lock until all the ouput is flushed.
<jackdaniel> well, true
<shrdlu68> flip214: Can you try to actually cause a race condition?
Patzy has quit [Quit: leaving]
_cosmonaut_ has joined #lisp
Patzy has joined #lisp
attila_lendvai has quit [Quit: Page closed]
BlueRavenGT has joined #lisp
<flip214> thanks people, my fault again. thanks for being here!
Patzy has quit [Quit: leaving]
<jackdaniel> what was the problem?
Patzy has joined #lisp
fikka has joined #lisp
<flip214> completely unrelated... because /dev/null can't be removed or renamed, I had :if-does-exist :append and looked at the early log lines again and again
Bike is now known as Bicyclidine
wxie has quit [Remote host closed the connection]
wxie has joined #lisp
<flip214> :supersede tries to delete, :rename-and-delete doesn't work, too, :overwrite doesn't truncate... ain't there a simple "overwrite and truncate" included?
Misha_B has joined #lisp
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wxie has quit [Ping timeout: 248 seconds]
agspathis has joined #lisp
elderK has quit [Quit: WeeChat 1.9]
wxie has joined #lisp
hiroaki has quit [Ping timeout: 240 seconds]
Patzy has quit [Quit: leaving]
Patzy has joined #lisp
<pierpa> :)
wxie has quit [Remote host closed the connection]
wxie has joined #lisp
safe has joined #lisp
<pierpa> BTW why do you need /dev/null? Do you know about make-broadcast-stream?
<flip214> pierpa: hmm, yes, thanks... don't remember now whether there was a good reason for /dev/null
<flip214> thanks for the reminder
hiroaki has joined #lisp
<pierpa> ;)
<flip214> but the problem stays the same - either a pipe etc. can't be used, or the contents are kept. well, perhaps I'll just have to truncate manually
<pierpa> but why can't you use :supersedes?
<pierpa> I missed this point
megalography has quit [Ping timeout: 276 seconds]
quazimodo has quit [Ping timeout: 268 seconds]
wigust has quit [Ping timeout: 248 seconds]
milanj has quit [Quit: This computer has gone to sleep]
<pierpa> Ok, pipes...
jason_m has quit [Quit: Leaving]
megalography has joined #lisp
shrdlu68 has quit [Ping timeout: 260 seconds]
wxie has quit [Remote host closed the connection]
shrdlu68 has joined #lisp
Bike has joined #lisp
milanj has joined #lisp
BlueRavenGT has quit [Read error: Connection reset by peer]
Guest6344 has joined #lisp
ghard` has joined #lisp
ghard has quit [Remote host closed the connection]
__rumbler31 has joined #lisp
attila_lendvai has joined #lisp
troydm has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Cymew has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
rippa has joined #lisp
Kaisyu has quit [Quit: Connection closed for inactivity]
flamebeard has quit [Quit: Leaving]
ghard` has quit [Ping timeout: 240 seconds]
troydm has joined #lisp
JuanDaugherty has joined #lisp
zbir has joined #lisp
fikka has quit [Ping timeout: 245 seconds]
damke has joined #lisp
damke_ has quit [Ping timeout: 265 seconds]
Oddity has quit [Ping timeout: 240 seconds]
semz has joined #lisp
damke_ has joined #lisp
agspathis has quit [Remote host closed the connection]
Oddity has joined #lisp
Oddity has joined #lisp
Oddity has quit [Changing host]
sjl has joined #lisp
yeticry has quit [Ping timeout: 256 seconds]
damke has quit [Ping timeout: 264 seconds]
yeticry has joined #lisp
sjl has quit [Ping timeout: 246 seconds]
sjl has joined #lisp
mareskeg has joined #lisp
pierpa_ has joined #lisp
pierpa has quit [Ping timeout: 260 seconds]
SaganMan has joined #lisp
jeosol has joined #lisp
fikka has joined #lisp
attila_lendvai has quit [Quit: Page closed]
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
zbir has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
asarch has joined #lisp
attila_lendvai has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
heisig has quit [Quit: Leaving]
Kundry_Wag has quit [Remote host closed the connection]
fikka has joined #lisp
zbir has joined #lisp
thallia has quit [Ping timeout: 264 seconds]
thallia has joined #lisp
BitPuffin has quit [Remote host closed the connection]
f32ff has quit [Remote host closed the connection]
<Xach> pfdietz_: Is your random form tester online somewhere?
hajovonta has quit [Remote host closed the connection]
zbir has quit [Ping timeout: 240 seconds]
kark has quit [Ping timeout: 260 seconds]
pfdietz has joined #lisp
pierpa_ has quit [Ping timeout: 260 seconds]
<pfdietz> There's an older version in ansi-tests which is in got hub somewhere. I've been extending it since then.
<pfdietz> "github"
<Xach> Do you know offhand if emarsden is using the same thing?
<pfdietz> His was forked off at some point.
<Xach> ok
<pfdietz> Since then I tweaked it to do "swarm testing"
<pfdietz> That alters the didtributio
<Xach> Are you inclined to share the tweaks and extensions?
EvW1 has joined #lisp
<pfdietz> Distribution of generated forms
<pfdietz> I do intend to make it available.
<pfdietz> It also has a tester for random type decks for various built in to test type - based optimizations.
<pfdietz> "Decls"
<pfdietz> Recently I have been doing mutation of code trawler from ql and elsewhere, looking for compiler internal errors.
smokeink has joined #lisp
al-damiri has joined #lisp
pierpa has joined #lisp
Bike has quit [Ping timeout: 260 seconds]
smokeink has quit [Remote host closed the connection]
__rumbler31 has quit [Ping timeout: 264 seconds]
pfdietz has quit [Ping timeout: 276 seconds]
pfdietz has joined #lisp
oleo has joined #lisp
megalography has quit [Ping timeout: 264 seconds]
pfdietz has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 240 seconds]
<beach> Does anyone know what the RESOURCE parameter of xmpp:auth is?
wigust has joined #lisp
shrdlu68 has quit [Ping timeout: 240 seconds]
pfdietz has joined #lisp
nsrahmad has joined #lisp
troydm has quit [Ping timeout: 276 seconds]
pfdietz has quit [Ping timeout: 276 seconds]
Bike has joined #lisp
FreeBirdLjj has joined #lisp
__rumbler31 has joined #lisp
Kundry_Wag has joined #lisp
mflem has joined #lisp
mareskeg has quit [Quit: mareskeg]
mareskeg has joined #lisp
fikka has joined #lisp
troydm has joined #lisp
<dlowe> yes
Kundry_Wag has quit [Ping timeout: 248 seconds]
<dlowe> it's a nonce used to disambiguate different clients
Fare has joined #lisp
ebrasca` has joined #lisp
mareskeg has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 256 seconds]
ebrasca has quit [Ping timeout: 264 seconds]
nsrahmad has quit [Quit: Leaving]
xrash has quit [Remote host closed the connection]
nhandler has joined #lisp
LiamH has joined #lisp
fikka has joined #lisp
vtomole has joined #lisp
troydm has quit [Ping timeout: 260 seconds]
damke has joined #lisp
dan64 has quit [Ping timeout: 245 seconds]
damke_ has quit [Ping timeout: 264 seconds]
earl-ducaine has quit [Read error: Connection reset by peer]
RNBW has joined #lisp
scheme_rzadzi has joined #lisp
jealousmonk has quit [Quit: Leaving]
dan64 has joined #lisp
earl-ducaine has joined #lisp
RNBW has quit [Ping timeout: 256 seconds]
<beach> dlowe: Thanks.
<dlowe> typically it is user configurable so you can put something in like "desktop"
troydm has joined #lisp
Kundry_Wag has joined #lisp
energizer has joined #lisp
terpri has quit [Ping timeout: 256 seconds]
earl-ducaine has quit [Read error: Connection reset by peer]
earl-ducaine has joined #lisp
karswell has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
scheme_rzadzi has quit [Quit: Leaving]
lnostdal has quit [Ping timeout: 264 seconds]
damke_ has joined #lisp
Cymew has joined #lisp
<beach> dlowe: I see, thanks.
troydm has quit [Ping timeout: 260 seconds]
<beach> It wasn't obvious from the "documentation".
TCZ has joined #lisp
FreeBirdLjj has quit [Ping timeout: 256 seconds]
<Shinmera> beach: Out of curiosity, what are you looking at XMPP for?
hhdave has quit [Ping timeout: 248 seconds]
damke has quit [Ping timeout: 264 seconds]
earl-ducaine has quit [Ping timeout: 276 seconds]
earl-ducaine_ has joined #lisp
TCZ has quit [Client Quit]
Cymew has quit [Ping timeout: 260 seconds]
wheelsucker has joined #lisp
pjb has joined #lisp
k-stz has joined #lisp
jealousmonk has joined #lisp
<bjorkintosh> to make a clim client of course!
<bjorkintosh> *McClim client.
earl-ducaine_ has quit [Read error: Connection reset by peer]
ebrasca` is now known as ebrasca
Bike has quit [Ping timeout: 260 seconds]
earl-ducaine has joined #lisp
jealousmonk has quit [Quit: Leaving]
<jackdaniel> McJabber? :)
<bjorkintosh> yes. McJibberJabber!
<pjb> Jibber McJibberJabberface.
shifty has quit [Ping timeout: 264 seconds]
Bike has joined #lisp
earl-ducaine has quit [Ping timeout: 240 seconds]
earl-ducaine has joined #lisp
Fare has quit [Ping timeout: 248 seconds]
Kundry_Wag has quit [Remote host closed the connection]
vtomole has quit [Ping timeout: 260 seconds]
zbir has joined #lisp
m00natic has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
troydm has joined #lisp
hiroaki has quit [Ping timeout: 240 seconds]
zbir has quit [Remote host closed the connection]
zbir has joined #lisp
lnostdal has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Posterdati has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Satou has joined #lisp
lnostdal has quit [Ping timeout: 240 seconds]
zbir has quit [Ping timeout: 240 seconds]
Posterdati has quit [Ping timeout: 256 seconds]
zbir has joined #lisp
<k-stz> now that's funny, and its even an innocent joke
hiroaki has joined #lisp
zbir has quit [Remote host closed the connection]
zbir has joined #lisp
Mat4 has joined #lisp
zbir` has joined #lisp
lnostdal has joined #lisp
Bronsa has joined #lisp
Posterdati has joined #lisp
zbir has quit [Ping timeout: 248 seconds]
zbir` has quit [Remote host closed the connection]
zbir` has joined #lisp
_cosmonaut_ has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Posterdati has quit [Ping timeout: 240 seconds]
zbir` has quit [Remote host closed the connection]
zbir` has joined #lisp
megalography has joined #lisp
<beach> Shinmera: I need to use Google Talk in a more sophisticated way than the browser client I am currently using.
damke has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Misha_B has quit [Remote host closed the connection]
Arcaelyx has joined #lisp
Mat4 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<beach> But I can tell that I won't be able to use cl-xmpp. It has no documentation to speak of, and the examples didn't work.
damke_ has quit [Ping timeout: 264 seconds]
<beach> I got some cryptic error message that I don't know what to do with nor why I got it.
fikka has joined #lisp
lnostdal has quit [Ping timeout: 240 seconds]
ericmathison has left #lisp [#lisp]
megalography has quit [Ping timeout: 268 seconds]
shka_ has joined #lisp
lnostdal has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
megalography has joined #lisp
Posterdati has joined #lisp
sauvin has quit [Remote host closed the connection]
mareskeg has joined #lisp
Kundry_Wag has joined #lisp
megalography has quit [Ping timeout: 248 seconds]
zbir` is now known as zbir
Kundry_Wag has quit [Remote host closed the connection]
fikka has joined #lisp
makomo has joined #lisp
Posterdati has quit [Ping timeout: 276 seconds]
Kundry_Wag has joined #lisp
earl-ducaine has quit [Read error: Connection reset by peer]
terpri has joined #lisp
earl-ducaine has joined #lisp
Fare has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Posterdati has joined #lisp
pierpa has quit [Ping timeout: 260 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Posterdati has quit [Ping timeout: 240 seconds]
<flip214> https://groups.google.com/forum/#!topic/comp.lang.lisp/9ZkIZkDdBhM ... discussion about :supersede :overwrite etc. missing the :truncate option
<flip214> and there's no sb-ext:truncate anymore, is there?
<pjb> Well, when you discuss about comparing :supersede and :overwrite, I don't see the point of talking about :truncate.
<flip214> and there's no (SETF FILE-LENGTH) ...
<flip214> pjb: there's no value for :if-exists that will give you an empty file _and_ works with /dev/null, a pipe, a writable file in a read-only directory, and other special cases.
fikka has joined #lisp
EvW1 has quit [Ping timeout: 276 seconds]
mareskeg has quit [Quit: mareskeg]
<flip214> pjb: :supersede doesn't work if the file can't be renamed and deleted. Eg. /dev/null.
<pjb> but indeed, /dev/null is different, you don't have supersede or overwrite access rights.
<pjb> Often you have to special case devices; they're not true files anyways.
<pjb> eg. file-length can't apply on /dev/zero
<flip214> pjb: well, unix philosophy is to open and write to them. that's what I'd like to do.
<pjb> and file-length should be incremented when you write on files, but it cannot when you write on /dev/null!
<pjb> flip214: do that, with :io
<flip214> my point is that if the user gives /dev/null (w-o-f ( :supersede) ) won't work
<flip214> and :io won't change that, right?
k-hos has quit [Read error: Connection reset by peer]
Posterdati has joined #lisp
pierpa has joined #lisp
<pjb> You have to use different values for if-exists, depending on the kind of thing.
k-hos has joined #lisp
<pjb> you may also have surprises in /proc !
Posterdati has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
vtomole has joined #lisp
dented42 has joined #lisp
Posterdati has joined #lisp
nhandler has quit [Quit: leaving]
fluxit has quit [Quit: ...]
megalography has joined #lisp
dented42 has quit [Ping timeout: 240 seconds]
Satou has quit [Quit: Cya soon guys!]
makomo has quit [Quit: WeeChat 2.0.1]
milanj has quit [Quit: This computer has gone to sleep]
Bronsa has quit [Ping timeout: 248 seconds]
megalography has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
fikka has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 276 seconds]
shka_ has quit [Ping timeout: 240 seconds]
varjag has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
dented42 has joined #lisp
megalography has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
fikka has joined #lisp
Kundry_Wag has joined #lisp
warweasle has quit [Quit: later]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
damke_ has joined #lisp
nhandler has joined #lisp
milanj has joined #lisp
zbir has quit [Ping timeout: 260 seconds]
damke has quit [Ping timeout: 264 seconds]
lnostdal has quit [Ping timeout: 260 seconds]
Karl_Dscc has joined #lisp
varjag has quit [Ping timeout: 256 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
lnostdal has joined #lisp
Kundry_Wag has joined #lisp
python476 has quit [Ping timeout: 268 seconds]
<Shinmera> beach: I see. I'm planning on getting back to my chat UI using Maiden soon, and since Maiden has a protocol for arbitrary chat systems, I might even add XMPP support some day. I haven't done so so far, since XMPP is a gigantic protocol that scares the hell out of me.
comborico1611 has joined #lisp
zotan has quit [Ping timeout: 256 seconds]
zotan has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
porky11 has quit [Ping timeout: 240 seconds]
dmiles has quit [Ping timeout: 256 seconds]
lnostdal has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
Cymew has joined #lisp
nowhereman_ has joined #lisp
zbir has joined #lisp
arrdem has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Ping timeout: 264 seconds]
jmercouris has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
zbir` has joined #lisp
<phoe> Which ELS hotel is recommended by #lisp?
<Xach> phoe: I didn't hear a recommendation, so I picked Fuerte Marbella.
<Xach> it is not too far from the venue
lnostdal has joined #lisp
<jmercouris> A strong choice that
<jmercouris> *badumm tshhh*
zbir` has quit [Ping timeout: 240 seconds]
zbir has quit [Ping timeout: 260 seconds]
<phoe> Xach: okay, will try to book it tomorrow.
<Xach> ich sprechen nein deutsch
malice` has joined #lisp
<hjudt> if i have one slime repl running, can i take it over from another slime-connection in another emacs, similar to gnu screen? if i disconnect, what will happen if a function is executed that moment?
comborico has joined #lisp
<rme> I chose http://www.lavillamarbella.com and I hope it's OK and close to the conference venue.
vtomole has quit [Ping timeout: 260 seconds]
comborico1611 has quit [Ping timeout: 276 seconds]
dmiles has joined #lisp
<jmercouris> Xach: ich spreche kein deutsch - also that was spanish
<jmercouris> fuerte means "strong"
<Shinmera> I don't have a personal recommendation because I got an apartment deal thing.
Guest6344 has quit [Ping timeout: 276 seconds]
zbir` has joined #lisp
megalography has quit [Ping timeout: 264 seconds]
pyx has joined #lisp
zbir` has quit [Ping timeout: 248 seconds]
Achylles has joined #lisp
loli has quit [Quit: WeeChat 2.0.1]
Karl_Dscc has quit [Remote host closed the connection]
zbir` has joined #lisp
<Xach> how many will fit?
TCZ has joined #lisp
nydel has joined #lisp
zbir` has quit [Ping timeout: 256 seconds]
raynold has joined #lisp
<Shinmera> In the apartment? Only two.
<Shinmera> And they're already booked by me and my friend.
comborico has quit [Quit: Konversation terminated!]
wigust has quit [Ping timeout: 256 seconds]
terpri has quit [Ping timeout: 248 seconds]
<phoe> Shinmera: thanks
equwal has joined #lisp
Achylles has quit [Quit: Leaving]
earl-ducaine has quit [Remote host closed the connection]
Bike has quit [Ping timeout: 260 seconds]
nonlinear has quit [Remote host closed the connection]
ryanbw has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
Quetzal2 has quit [Read error: Connection reset by peer]
equwal has quit [Remote host closed the connection]
equwal` has joined #lisp
megalography has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
__rumbler31 has quit [Ping timeout: 260 seconds]
pioneer42 has joined #lisp
asarch has quit [Quit: Leaving]
Bicyclidine is now known as Bike
nowhere_man has joined #lisp
nowhereman_ has quit [Ping timeout: 260 seconds]
sjl has quit [Ping timeout: 276 seconds]
patrixl` is now known as patrixl
pjb has quit [Ping timeout: 256 seconds]
karswell has joined #lisp
rumbler31 has quit [Remote host closed the connection]
cuso4 has joined #lisp
jmercouris has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
cuso4 has quit [Ping timeout: 264 seconds]
equwal` has quit [Ping timeout: 268 seconds]
zyaku_ has joined #lisp
malice` has quit [Ping timeout: 264 seconds]
pjb has joined #lisp
zyaku_ has quit [Quit: Page closed]
xaxaac has joined #lisp
damke has quit [Ping timeout: 265 seconds]
megalography has quit [Quit: Leaving.]
foom2 has joined #lisp
kajo has quit [Quit: WeeChat 2.1]
DataLinkDroid has joined #lisp
foom has quit [Ping timeout: 240 seconds]
hiroaki has quit [Ping timeout: 248 seconds]
fluxit has joined #lisp
kajo has joined #lisp
markong has quit [Ping timeout: 276 seconds]
LiamH has quit [Quit: Leaving.]
onion has quit [Read error: No route to host]
onion has joined #lisp
onion is now known as whoman
whoman is now known as onion
Kaisyu has joined #lisp
attila_lendvai has quit [Ping timeout: 260 seconds]
rumbler31 has joined #lisp
pyx has quit [Quit: WeeChat 2.1]
terpri has joined #lisp
BlueRavenGT has joined #lisp
Naergon has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
DVSSA has quit [Ping timeout: 240 seconds]
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Kaisyu7 has joined #lisp
EvW has joined #lisp
lnostdal has quit [Ping timeout: 264 seconds]
shifty has quit [Ping timeout: 240 seconds]
SuperJen has joined #lisp
JenElizabeth has quit [Read error: Connection reset by peer]
lnostdal has joined #lisp
Chream_ has joined #lisp
Chream_ has quit [Read error: Connection reset by peer]
Chream_ has joined #lisp