<aeth>
I think I found the problem with zpb-ttf and this one font I tried to load. It looks like it only supports format 4 for cmap subtables, but that code never got executed to error message... which is probably because this font file has multiple cmap tables and the first is format 4.
shifty has joined #lisp
LiamH has quit [Quit: Leaving.]
stzsch has quit [Ping timeout: 246 seconds]
vms14 has joined #lisp
<vms14>
guys someone tried a lisp server for production?
<vms14>
and with sbcl+hunchentoot?
<patrixl>
production yes, but was an internal product not facing the wide internet
<vms14>
I really like it and I wonder how would behave being a very busy server, I know it depends of the "kind of server", but would you rely on hunchentoot+sbcl as a standalone server?
<patrixl>
radiance on top of hunchentoot
Oladon has joined #lisp
<patrixl>
so yeah no idea how it would perform as a busy server
<vms14>
I suppose if you compile it, you'd gain some performance
<vms14>
would be better than something like apache+php?
<patrixl>
I suppose so yes
<vms14>
My initial idea is to use nginx as a front end server and serving static files, then reverse proxy to hunchentoot for dynamic stuff
<vms14>
I don't know if makes sense to add another server like apache for some specific things
<vms14>
but it seems nope
stzsch has joined #lisp
stux|RC-only has quit [Quit: Aloha!]
ebrasca` has joined #lisp
ebrasca has quit [Ping timeout: 265 seconds]
ravenousmoose has joined #lisp
Lycurgus has joined #lisp
ravenousmoose has quit [Ping timeout: 252 seconds]
<aeth>
vms14: Afaik, CL's performance is going to be roughly comparable to Java's, except without the diverse selection of quality GCs (unless you use ABCL, of course), and without the warmup time of a JIT since they're mostly AOT compiled.
<aeth>
Of course, the specifics depend on how it's written. You can write slow code in any language.
stux|RC-only has joined #lisp
ravenousmoose has joined #lisp
<vms14>
aeth: you mean the java GC is better than sbcl's or other common lisp implementations?
<vms14>
and I've read a lot of times for a noob lisper is very easy to make slow code
<vms14>
so my code will be slow
<vms14>
I'm aware of consing, but no more
ravenousmoose has quit [Ping timeout: 252 seconds]
aindilis has quit [Read error: Connection reset by peer]
EvW has quit [Ping timeout: 276 seconds]
<housel>
Many of the JVM garbage collectors are very good, because serious research effort has been spent on them; SBCL's is not bad, but still not quite as good (depending on how it's used)
aindilis has joined #lisp
ravenousmoose has joined #lisp
<aeth>
vms14: Specifics tend to be faster than generics. In some languages, "generics" are hard or impossible. On the other hand, in CL, it's often hard to not do something generic. e.g. Save something in a hash-table and then take it right out again and the implementation just lost all of its type inference and it could be anything.
ravenousmoose has quit [Ping timeout: 252 seconds]
<aeth>
Also, CL will (* unless the implementation removes these if you locally set (safety 0)) bounds check if it doesn't know the length of an array. Combine the two. Put an array in a hash-table. Now it must bounds check that array on access if it's accessed via gethash.
<aeth>
Fast code certainly is possible to write, but there's lots of performance pitfalls in CL.
fouric has quit [Quit: WeeChat 2.5]
<aeth>
Ideally, the language would be extended with either more type hints and/or preserving some type inference in mind.
fouric has joined #lisp
lemonpepper24 has joined #lisp
<aeth>
This is kinda micro-optimizing, though. What's more concerning is just how unflexible #'sort is in CL. This means people are more likely to have to copy to sort or sort via some hand-implemented and probably slower way.
<vms14>
btw I'm a bit tempted to try the berkeley database, it's just a hash table database, very fast and mysql was written on top of that some time ago. I like the idea of using hashtables and put lisp code as a string on the values, then read it to have the code again. But it's just an idea
<Bike>
what's the inflexible part
<aeth>
Bike: Sort will only work on sequences (although :key can help a bit), and unlike just about every other sequence function, it doesn't have start and end, so you have to subseq if you only want to sort a subseq.
<Bike>
oh, start and end would be good
<Bike>
i'm not sure what you'd want to sort other than a sequence though
ravenousmoose has joined #lisp
<vms14>
will common lisp have a new standard or alike? to at least add stuff like sockets, ffi, etc?
<aeth>
Bike: e.g. sorting rows in a 2D array
<Bike>
sort a displaced vector? also, in this alternate universe displaed vectors suck like
<Bike>
vms14: probably not
<Bike>
suck less*
<aeth>
Bike: Also, another interesting possibility is sorting multiple sequences to match the order of one sequence. Lots of sequence functions take in an arbitrary number. In this case, there are several options, e.g. only sort based on the order in the first, sort of a key sequence.
<aeth>
Another way to do that would be to have the predicate take in multiple arguments. I guess with the latter you can get the former by having the lambda list (item &rest rest) and ignoring rest
<vms14>
well, I really like the language even knowing I don't know most of it. I think it's fine, but could be great if the standard had some stuff implementations had to implement in a non compatible way
<aeth>
well, actually, there's two items so it'd be a bit trickier
milanj has quit [Quit: This computer has gone to sleep]
semz_ has joined #lisp
semz_ has quit [Changing host]
semz_ has joined #lisp
ravenousmoose has joined #lisp
ravenousmoose has quit [Ping timeout: 276 seconds]
EvW has joined #lisp
ravenousmoose has joined #lisp
ebrasca` has quit [Remote host closed the connection]
ebrasca has joined #lisp
ravenousmoose has quit [Ping timeout: 252 seconds]
ebzzry has quit [Read error: Connection reset by peer]
bacterio has quit [Read error: Connection reset by peer]
nydel has quit [Read error: Connection reset by peer]
Bike has quit [Quit: Lost terminal]
atgreen has quit [Ping timeout: 245 seconds]
EvW has quit [Ping timeout: 245 seconds]
_leb has joined #lisp
atgreen has joined #lisp
gravicappa has joined #lisp
Necktwi has quit [Quit: leaving]
khisanth_ has quit [Ping timeout: 240 seconds]
akoana has joined #lisp
clothespin has joined #lisp
t3rtius has joined #lisp
FreeBirdLjj has joined #lisp
torbo has quit [Remote host closed the connection]
pjb has quit [Remote host closed the connection]
stzsch has quit [Ping timeout: 276 seconds]
pjb has joined #lisp
zmt01 has joined #lisp
<fiddlerwoaroof>
aeth: if it's guaranteed that the sequences are all of the same length, couldn't you use :KEY with something like (let ((idx 0)) (lambda (_) (prog1 (elt other-sequence idx) (incf idx)))) ?
FreeBirdLjj has quit [Ping timeout: 250 seconds]
<fiddlerwoaroof>
Hmm, never mind, that won't work
pjb` has joined #lisp
zmt00 has quit [Ping timeout: 245 seconds]
stzsch has joined #lisp
pjb has quit [Ping timeout: 265 seconds]
stzsch has quit [Ping timeout: 276 seconds]
khisanth_ has joined #lisp
shifty has quit [Ping timeout: 268 seconds]
igemnace has joined #lisp
PuercoPope has quit [Read error: Connection reset by peer]
ravenousmoose has joined #lisp
ravenousmoose has quit [Ping timeout: 245 seconds]
igemnace has quit [Quit: WeeChat 2.6]
stzsch has joined #lisp
vlatkoB has joined #lisp
ggole has joined #lisp
davepdotorg has joined #lisp
davepdotorg has quit [Ping timeout: 240 seconds]
Lycurgus has joined #lisp
stzsch has quit [Ping timeout: 252 seconds]
adip has quit [Ping timeout: 276 seconds]
stzsch has joined #lisp
Necktwi has joined #lisp
flamebeard has joined #lisp
brettgilio has quit [Ping timeout: 276 seconds]
<beach>
Good morning everyone!
<edgar-rft>
Mornings could be significantly improved if they weren't so early.
anewuser has joined #lisp
t3rtius has quit [Remote host closed the connection]
stzsch has quit [Ping timeout: 276 seconds]
enrio has joined #lisp
<aeth>
edgar-rft: mornings are actually really, really late... I only see them if I stay up all night!
rgherdt has joined #lisp
brettgilio has joined #lisp
stzsch has joined #lisp
shka_ has joined #lisp
stzsch has quit [Ping timeout: 276 seconds]
lowryder has quit [Ping timeout: 240 seconds]
lowryder has joined #lisp
stzsch has joined #lisp
dddddd has quit [Remote host closed the connection]
rgherdt has quit [Ping timeout: 246 seconds]
shifty has joined #lisp
_leb has quit []
leb has joined #lisp
jackdaniel has joined #lisp
leb has quit []
Lycurgus has quit [Ping timeout: 276 seconds]
shka_ has quit [Ping timeout: 268 seconds]
sauvin has joined #lisp
krid has quit [Ping timeout: 265 seconds]
keep_learning has joined #lisp
JohnMS_WORK has joined #lisp
milanj has joined #lisp
_whitelogger has joined #lisp
JohnMS_WORK has quit [Read error: Connection reset by peer]
JohnMS_WORK has joined #lisp
Necktwi has quit [Ping timeout: 240 seconds]
akoana has left #lisp ["Leaving"]
Duuqnd has joined #lisp
semz_ has quit [Ping timeout: 250 seconds]
Lycurgus has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
raghavgururajan has quit [Read error: Connection reset by peer]
ralt has joined #lisp
ebzzry has joined #lisp
scymtym has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
<LdBeth>
Most people get John Backus’ FP wrong. FP was inspired by early lisp where the use of higher order function is limit and only a few functions can take function as arguments, such as MAPCAR
ljavorsk has quit [Ping timeout: 245 seconds]
froggey has quit [Ping timeout: 268 seconds]
adip has quit [Ping timeout: 268 seconds]
Necktwi has joined #lisp
gareppa has quit [Quit: Leaving]
Lycurgus has joined #lisp
ljavorsk has joined #lisp
opt9 has joined #lisp
ljavorsk has quit [Remote host closed the connection]
ljavorsk has joined #lisp
ebzzry has quit [Remote host closed the connection]
gabiruh_ has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gabiruh has joined #lisp
ljavorsk has quit [Ping timeout: 245 seconds]
cosimone has quit [Quit: Terminated!]
jonatack has quit [Ping timeout: 276 seconds]
ljavorsk has joined #lisp
davepdotorg has quit [Remote host closed the connection]
opt9 has quit [Ping timeout: 265 seconds]
davepdotorg has joined #lisp
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
ljavorsk has quit [Remote host closed the connection]
ljavorsk has joined #lisp
enrioog has joined #lisp
enrio has quit [Ping timeout: 265 seconds]
capadoodle has quit [Quit: Connection closed for inactivity]
ljavorsk has quit [Ping timeout: 245 seconds]
Fare has quit [Ping timeout: 276 seconds]
ljavorsk has joined #lisp
saturn2 has quit [Ping timeout: 245 seconds]
saturn2 has joined #lisp
eeeeeta has joined #lisp
theBlackDragon has quit [Remote host closed the connection]
ljavorsk has quit [Ping timeout: 245 seconds]
davepdotorg has quit [Remote host closed the connection]
heisig has joined #lisp
davepdotorg has joined #lisp
dra has joined #lisp
enrio has joined #lisp
<dra>
Hi.
amerlyq has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
enrioog has quit [Ping timeout: 250 seconds]
enrioog has joined #lisp
enrioog has quit [Read error: Connection reset by peer]
enrioog has joined #lisp
enrio has quit [Ping timeout: 240 seconds]
enrioog has quit [Read error: Connection reset by peer]
enrioog has joined #lisp
enrioog is now known as enrio
JohnMS has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
amerlyq has quit [Quit: amerlyq]
amerlyq has joined #lisp
amerlyq has quit [Client Quit]
JohnMS_WORK has quit [Ping timeout: 245 seconds]
Inline has quit [Quit: Leaving]
opt9 has joined #lisp
pfdietz has joined #lisp
jonatack has joined #lisp
theBlackDragon has joined #lisp
bitmapper has joined #lisp
milanj has joined #lisp
adip has joined #lisp
lucasb has joined #lisp
orivej has joined #lisp
xkapastel has joined #lisp
__vlgvrs has joined #lisp
EvW has joined #lisp
_paul0 has quit [Ping timeout: 246 seconds]
ljavorsk has joined #lisp
<beach>
Hello dra.
atgreen has quit [Ping timeout: 265 seconds]
amerlyq has joined #lisp
orivej has quit [Ping timeout: 276 seconds]
jonatack has quit [Quit: jonatack]
opt9 has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
amerlyq has quit [Quit: amerlyq]
amerlyq has joined #lisp
wxie has joined #lisp
enrio has quit [Read error: Connection reset by peer]
shifty has quit [Ping timeout: 240 seconds]
enrio has joined #lisp
EvW has quit [Ping timeout: 250 seconds]
cosimone has joined #lisp
louxiu has joined #lisp
Bike has joined #lisp
fivo has joined #lisp
Duuqnd has quit [Ping timeout: 246 seconds]
<fivo>
How do I muffle a defmethod redefinition in sbcl.
bitmapper has quit [Remote host closed the connection]
bitmapper has joined #lisp
bitmapper has quit [Remote host closed the connection]
bitmapper has joined #lisp
bitmapper has quit [Read error: Connection reset by peer]
bitmappe_ has joined #lisp
<Cymew>
It's not a style warning like a DEFUN redefinition? I have a note of this, which I never seems to have entered into my sbclrc for some reason: (declaim (sb-ext:muffle-conditions style-warning))
<Cymew>
Not close to a working sbcl to test right now.
<fivo>
luis: yes I know, that is what I tried. Maybe I need to upgrade sbcl
<luis>
fivo: (defun foo () (declare (sb-ext:muffle-conditions style-warning)) (does-not-exist)) works for me with SBCL 1.5.8, yes.
Fare has joined #lisp
<_death>
(handler-bind ((sb-kernel:redefinition-with-defmethod #'muffle-warning)) (defmethod ...)) works
<luis>
(sorry, I missed you were looking specifically at defmethod redefinitions)
<fivo>
luis: yes, print-object to be more precise
enrio has quit [Ping timeout: 240 seconds]
brettgilio has quit [Ping timeout: 245 seconds]
<luis>
fivo: I believe the method is added to the generic function (and the warning is signalled) when the fasl is loaded, not during compilation. I suppose that's why muffling via declare doesn't work.