freenode/#lisp - IRC Chatlog
Search
22:32:56
edgar-rft
comborico1611, you mean this one? <https://web.archive.org/web/20060105182921/http://www.normal-null.de/lisp_logo.html>
22:36:14
edgar-rft
comborico1611, it once was designed by a guy named Manfred Spiller, AFAIK it was never used by any paricular project, it just was a suggestion how a Lisp Logo could look like. There are several copies of that logo on various GitHub etc. repositories.
22:40:49
edgar-rft
It's the best Lisp Logo I know of :-) think it first appeared in context of this comp.lang.lisp discussion: <https://groups.google.com/forum/#!topic/comp.lang.lisp/dOS2dMSSTHg>
22:49:22
comborico1611
I can't understand the error message. I'm just doing this for a quick fun thing. I've been away from Lisp for a month or so.
22:50:15
comborico1611
You'll need to ignore the perl-ish stuff. Just experiementing with readability a bit.
23:21:21
kukuruznik
Anyone here know about linking C++ files in Emacs? Both the C++ and Emacs IRC channels require this authorization thingy.
0:18:09
iqubic
kukuruznik: you should really just authorize yourself, as this is not the right channel for that.
3:51:02
asarch
From PCL, chapter 11: "To add an element to the end of a resizable vector, you can use the function VECTOR-PUSH. It adds the element at the current value of the fill pointer and then increments the fill pointer by one, returning the index where the new element was added.", however, can you do something a la C: int a[5]; a[3] = some_value; <- In the sense you can use arbitrary the indexes of the array?
4:59:40
iqubic
Actually, better question: Are the talks being recorded/livestreamed or posted to youtube or something?
5:00:53
loke
iqubic: It is happening now. I wanted to go, but no time and it was too much of a hassle to travel.
5:02:27
iqubic
I'm in High School, and have no disposable income, and my parents wouldn't support this.
5:03:14
loke
A lot of people in the US (i.e. your parents) seem to think that just because you're travelling outside the US, it's somehow complicated, expensive and difficult.
5:04:34
iqubic
yeah, but I don't have the time. I'm not sure I can convice my parents that they should spend this money for me to go learn about an obscure programming language.
5:04:51
loke
I was talking to this guy in philadelphia or something, and he was shocked to learn that going to london was faster and easier than going to california
5:05:46
loke
Anyway, hopefully next year it'll be in a better location. If it's in, say, Berlin, it would be a lot easier to go to for everybody
5:06:19
loke
Well, the reason the location ios as obscure as it is is because there is a company doing Lisp work located there, and they're hoping to hire people :-)
5:08:23
loke
iqubic: Well, I just rnadomly checked the cost for a flight from seatlly to berlin, return... and it's just over 1000 USD
5:12:52
loke
I'm just saying that just because an event is in europe that it's difficult for you to attend.
5:15:02
iqubic
Yeah, I don't have a driver's license, so I'd be relying on taxis and other such things.
5:16:00
loke
iqubic: Well, in my case, a train would actually be faster :-) I'm just renting a car since I will meet up with a friend before the even and go on a mountain bike ride on some trails nearby.
5:58:51
jach[m]
iqubic: have you been to the Seajure meetup? I'd bet there's some common lisp people there too.. there was also a Lisp group but they haven't had a meetup since december.
7:42:06
Guest74201
I'm curious if anyone uses alternatives to common CL symbols. e.g. using 'fn' instead of 'lambda', or a version of defun that takes extra lambda arguments for types
7:52:12
Guest74201
For defun, if typechecks are common in a code base, instead of always writing (defun (x y) (declare (type number x) (type string y) ...), you could write something like (defun (x number y string &return string) ...)
7:54:34
Shinmera
A large reason is because we want the code to be readable and understandable for other people
7:56:10
Shinmera
Or, I should say, if your productivity is hampered by how much you have to type then you either don't type fast enough, or you don't spend enough time thinking instead of typing.
7:58:08
Guest74201
Paul Graham on fn vs. lambda: We're going to try not to include any onions in Arc. Everything is open to question. For example, in Arc, lambda is called fn. This idea appalled me at first, but it seemed like fn would be shorter and at least as expressive. What if I was just used to lambda? So, with a queasy sense of duty, I decided to try it. And after a few days I actually liked fn better. Now it seems clear to me that lambda is an
7:59:05
Guest74201
I agree it's not a huge deal. I'm just working on a little DSL and it got me thinking about the builtin symbols.
8:00:06
Guest74201
I'm just curious if there are such shorthand libraries that have caught on in the last 7 years or so.
8:00:41
Shinmera
There's probably quite a few libraries or projects that use such shorthands, but nothing widespread for the reasons I've outlined.
8:04:40
cess11_
I've heard some code editors allow clever code completion technologies. Perhaps that would be an alternative.
8:07:16
jack_rabbit
I would prefer fn to lambda, but I wouldn't ever create such an alias, to avoid obfuscating the code.
8:09:28
ecraven
even shorter than fn, and your editor can show it instead of "lambda", no need to change the source
8:13:04
antoszka
Unless it uses non-ANSI implementation-specific stuff, towards which there may be no guarantees
8:17:27
Guest74201
if anyone has an idea for another name for "slot-value," ideas welcome. Most languages have x.y. (slot-value x 'y) is a bit much. (field x 'y) or (. x y). This is for my little language, not CL.
8:19:49
ecraven
Guest74201: but as Shinmera said, that should only be used for reflection, not for normal access, that's what accessors are for
8:21:30
Shinmera
If you just want to copy the function definition to another symbol you can do (setf (fdefinition 'new) (fdefinition 'old))
8:22:16
ecraven
Shinmera: the only situation where I imagine it makes sense is when the name changes, but you want to keep the old one around for some time
8:23:25
LdBeth
I would like to have the definition of new symbol changes corresponded to the old symbol
8:24:07
Shinmera
Unless you write a macro that updates the new symbol in the same definition as the old one.
8:33:02
Shinmera
LdBeth: if you need to be compatible in a library I suggest just copying the fdefinition.
8:40:28
scymtym
for backward compatible API changes, it can be useful to keep the old function, make it call the new function, mention its deprecation in the documentation string and maybe use a compiler macro or an implementation-specific mechanism to issue compile-time warnings for uses of the old function
9:14:56
jack_rabbit
Has anyone dealt with trying to save an image after compiling a file, the compilation of which causes threads to be spawned?
9:21:25
jack_rabbit
Basically, I've moved some computation to compile-time, but it involves the mcclim library, and it seems to launch CLX threads even if I'm not trying to start an application.
9:29:35
jack_rabbit
Hmmm... It seems CLIM-INTERNALS:FIND-PORT is called when trying to read a bitmap, even though the result is unused.
9:33:32
loke
jack_rabbit: Code here, in case you're brave enough to try: https://github.com/lokedhs/McCLIM/tree/freetype2
9:39:54
loke
In most distributions, Harfbuzz is compiled in together with freetype, but it's an explicit dependency since some distros don't do that.