p_l changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | ASDF 3.3.4
prince1 has joined #lisp
rumbler31 has quit [Ping timeout: 260 seconds]
rumbler31 has joined #lisp
prince1 has quit [Ping timeout: 250 seconds]
GeissT has joined #lisp
cosimone_ is now known as cosimone
prince1 has joined #lisp
Inline has quit [Quit: Leaving]
karlosz has joined #lisp
adam4567 has joined #lisp
libertyprime has joined #lisp
bitmapper has quit []
cosimone has quit [Quit: Quit.]
space_otter has joined #lisp
orivej has joined #lisp
orivej_ has quit [Ping timeout: 258 seconds]
ahungry has joined #lisp
shangul has joined #lisp
v0|d has quit [Read error: Connection reset by peer]
akoana has left #lisp ["Leaving"]
markoong has quit [Ping timeout: 256 seconds]
v0|d has joined #lisp
EvW has quit [Ping timeout: 252 seconds]
adam4567 has left #lisp ["ERC (IRC client for Emacs 26.3)"]
FennecCode has quit [Quit: ERC (IRC client for Emacs 26.2)]
torbo has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
FennecCode has joined #lisp
efm__ has joined #lisp
bm has joined #lisp
efm has quit [Ping timeout: 264 seconds]
efm__ has quit [Client Quit]
bm is now known as Guest86266
dale has quit [Quit: My computer has gone to sleep]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
dale has joined #lisp
efm has joined #lisp
jprajzne has quit [Client Quit]
Steinberg2010 has joined #lisp
jprajzne has joined #lisp
Guest86266 has quit [Remote host closed the connection]
bmansurov has joined #lisp
bmansurov is now known as Guest82649
Guest82649 has quit [Client Quit]
Steinberg2010 has quit [Ping timeout: 246 seconds]
nckx has quit [Ping timeout: 264 seconds]
nckx has joined #lisp
sloanr has joined #lisp
nckx has quit [Client Quit]
nckx has joined #lisp
nckx has quit [Remote host closed the connection]
nckx has joined #lisp
bmansurov_ has joined #lisp
Oladon has quit [Quit: Leaving.]
nckx has quit [Remote host closed the connection]
bmansurov_ has quit [Client Quit]
bmansurov_ has joined #lisp
bmansurov_ has left #lisp [#lisp]
Oladon has joined #lisp
sloanr has left #lisp ["ERC (IRC client for Emacs 26.3)"]
gioyik_ has joined #lisp
gioyik has quit [Ping timeout: 260 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
edgar-rft has quit [Quit: Leaving]
nckx has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
Bike has quit [Quit: Lost terminal]
twelvemonkeys has quit [Ping timeout: 265 seconds]
twelvemonkeys has joined #lisp
gravicappa has joined #lisp
FennecCode has quit [Quit: ERC (IRC client for Emacs 26.2)]
pilne has quit [Quit: REALITY.SYS Corrupted: Re-boot universe? (Y/N/Q)]
parjanya` has quit [Remote host closed the connection]
ArthurStrong has quit [Quit: leaving]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
zaquest has quit [Ping timeout: 246 seconds]
gravicappa has quit [Ping timeout: 265 seconds]
asarch has joined #lisp
parjanya has joined #lisp
<beach> Good morning everyone!
ahungry has quit [Remote host closed the connection]
torbo has quit [Remote host closed the connection]
_whitelogger has joined #lisp
hjudt_ has quit [Ping timeout: 256 seconds]
loli has quit [Ping timeout: 240 seconds]
LdBeth has quit [Quit: issued !quit command]
LdBeth has joined #lisp
narimiran has joined #lisp
<no-defun-allowed> LdBeth: Try parting and joining again?
gravicappa has joined #lisp
ldb has joined #lisp
dale has quit [Quit: dale]
LdBeth has quit [Changing host]
LdBeth has joined #lisp
LdBeth has joined #lisp
LdBeth has quit [Changing host]
LdBeth has left #lisp ["User left"]
<no-defun-allowed> Usually you get kicked if you need verification.
LdBeth has joined #lisp
<LdBeth> Now it should works
<pjb> It better be!
<LdBeth> equwal: thank you btw
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #lisp
LdBeth has quit [Quit: authenticating]
LdBeth has joined #lisp
loli has joined #lisp
gravicappa has quit [Ping timeout: 256 seconds]
ldb has left #lisp [#lisp]
zaquest has joined #lisp
jeosol has joined #lisp
<jeosol> Good morning all
_whitelogger has joined #lisp
<beach> Hello jeosol.
<jeosol> Hi beach. Been a while. Hope you are doing well with all this pandemic stuff going on.
<beach> So far so good. Thanks. You too I hope.
<jeosol> side topic: As I am learning french, I was able to follow some French debat regarding chloroquinine use. Interesting how the french debate on TV.
<jeosol> Yeah I am ok for now.
karlosz has quit [Quit: karlosz]
<jeosol> I see that that the Els conf was cancelled at least for now.
<jeosol> Regarding CL, I wanted to discuss merits of different ways of organizing defmethods. I recently updated to SBCL 2.0.3 and noticed some errors that were not caught with previous version. It was mainly package errors where I am implement a defmethod for class a file but prefaced with the package name where the defgeneric is defined.
vlatkoB has joined #lisp
gravicappa has joined #lisp
hjudt has joined #lisp
asarch has quit [Quit: Leaving]
orivej has quit [Ping timeout: 265 seconds]
<beach> Why would that be a package error?
<jeosol> I think there was an issue loading my systems. Before the recent changes, I was referencing some functions via the package names in some other files (I know bad design) and it complained about that. In another case (my question) above, my defmethods are scattered across several files
Khisanth has quit [Ping timeout: 252 seconds]
<jeosol> And a system that needed a specific defmethod (specialized on eql) could not be found
heisig has joined #lisp
<beach> There is nothing bad about having different methods defined in different files and different packages.
<jeosol> It was my fault not SBCL's. except that it wasn't caught in the previous version. Perhaps I need another tutorial
<jeosol> beach: I agree, that's the functionality I used through my project. It helps me keeps better separated.
<jeosol> As things get larger and larger, I think I am not doing a good job with my system loading. It's probably getting sloppier.
random-nick has joined #lisp
<jeosol> I had a discussion with Fare about extracting ASDF dependency graph with POIU but he said it will some amount work to do that.
Khisanth has joined #lisp
jprajzne has quit [Quit: jprajzne]
hlavaty has joined #lisp
hiroaki has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
tcr has joined #lisp
ebzzry has joined #lisp
edgar-rft has joined #lisp
bendersteed has joined #lisp
Cymew has quit [Remote host closed the connection]
Cymew has joined #lisp
rixard__ has quit []
jprajzne has joined #lisp
lxbarbosa has joined #lisp
Codaraxis has quit [Ping timeout: 260 seconds]
ebzzry has quit [Read error: Connection reset by peer]
hajovonta has joined #lisp
<hajovonta> hello
<phoe> heyy
<no-defun-allowed> Hello phoe and hajovonta.
<hajovonta> From a macro, I need to generate something like this: (mypackage::foo param1 param2)
<hajovonta> Can I generate fully qualified function names somehow?
<no-defun-allowed> `(mypackage::foo ,i ,struggle ,to ,see ,the ,problem?)
ozzloy has quit [Remote host closed the connection]
<phoe> hajovonta: in the worst case, `(,(or (find-symbol "FOO" "MYPACKAGE") (error "Macro error - symbol not found")) param1 param2)
<Krystof> or if the name of the symbol is a parameter, `(,(intern x "MYPACKAGE") ...)
<phoe> or use intern if you want to create symbols
rixard has joined #lisp
<hajovonta> the problem is when I'm (in-package) and run the macro from there, I lose the package qualifier
<phoe> hajovonta: what do you mean, lose
<phoe> it simply isn't printed because the symbol is accessible in the current package
<phoe> the symbol is still the same - FOO from package MYPACKAGE
<hajovonta> yes, but I need to use it from another thread where it's not present
<phoe> where *what* is not present
hiroaki has joined #lisp
<hajovonta> that symbol
<phoe> impossible, symbols are global
<hajovonta> ok, but it's on another machine
<hajovonta> in another REPL
<phoe> oooh, that's a different issue
<hajovonta> but the package itself is loaded
<hajovonta> so if I could generate it fully qualified, I could call it
<hajovonta> :)
<phoe> how do you pass symbols between REPLs?
<phoe> swank-crew or something similar?
<hajovonta> no, I print them
<hajovonta> as a string
<phoe> then you either need to print from a package that has an empty :USE or create your own printer
<phoe> the former hack causes all symbols to be explicitly qualified, which should be enough for symbols
<phoe> (defpackage #:my-print-package (:use)) (let ((*package* (find-package #:my-print-package))) (print-stuff-to-string))
<hajovonta> aha, thankss for the idea
<phoe> and I wholeheartedly suggest swank-crew or lfarm instead
<phoe> they take care of that layer
<hajovonta> or maybe, can I (in-package) out of the package for the macro definition?
<phoe> it won't work
<Krystof> you don't need to make a package with an empty use
lxbarbosa has quit [Read error: Connection reset by peer]
<hajovonta> yes, but create restrictions on the connection protocol
<phoe> your issue isn't about macroexpansion, your issue is about printing
<Krystof> use the keyword package
<hajovonta> yes, the macro is generated properly, and it works from the current REPL
<phoe> ooooh right, :KEYWORD already has an empty :USE list
<phoe> that's even more of a hack, nice
<hajovonta> how do I do that?
<phoe> (let ((*package* (find-package :keyword))) ...)
<Krystof> phoe: not only does keyword have an empty use list, it is explicitly special-cased
<Krystof> it is not a hack; it is by design
hiroaki has quit [Ping timeout: 256 seconds]
ljavorsk_ has joined #lisp
<phoe> Krystof: is that the proper page? this one only mentions keywords in context of printing them with a preceding colon, so :FOO instead of KEYWORD:FOO
<Krystof> well, no, :FOO instead of FOO
<phoe> oh right, that thing
<Krystof> if the keyword package is the current package, normally you would print a keyword without a package prefix
<phoe> correct
<Krystof> so without that special-case you can't use the keyword package to guarantee readable package prefixes on all symbols; with it, you can
<Krystof> I learnt this from Erik Naggum, 20 years ago
amerlyq has joined #lisp
<hajovonta> no easy path for me
<hajovonta> but at least I can always fix it with some string manipulation :D
iAmDecim has joined #lisp
ebzzry has joined #lisp
quazimod1 has joined #lisp
quazimodo has quit [Ping timeout: 265 seconds]
zaquest has quit [Read error: No route to host]
enrio has joined #lisp
_Posterdati_ has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
tsrt^ has joined #lisp
bendersteed has quit [Remote host closed the connection]
bendersteed has joined #lisp
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
zaquest has joined #lisp
_whitelogger has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
<splittist> Any suggestions for lisp-related papers to read while the ACM library is free to access?
<beach> That's a tough question.
<beach> There are so many papers.
tcr has quit [Remote host closed the connection]
<splittist> storage is cheap (: time is not ):
Lord_of_Life_ has joined #lisp
<beach> Paul Wilson's allocator survey is one of my favorites.
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<aeth> splittist: You might want to ask in #scheme (for Schmes) and ##lisp (for all the Lisps) because a lot of the papers wouldn't be specific to Common Lisp.
<aeth> There might be a slightly different crowd with different recommendations
<splittist> beach: lots of his stuff at ftp://ftp.cs.utexas.edu/pub/garbage
<splittist> aeth: true
<beach> splittist: Ah, yes, you don't need ACM for that.
space_otter has quit [Remote host closed the connection]
<splittist> I see I can get "Fast Generic Dispatch for Common Lisp" for Free!
<Shinmera> All of the ELS papers are available on the els website already
<splittist> Shinmera: yes.
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
Posterdati has joined #lisp
gioyik_ has quit [Ping timeout: 256 seconds]
enrio has quit [Ping timeout: 256 seconds]
<White_Flame> I like that there's useful stuff in a directory named "garbage"
<phoe> White_Flame: "/pub/garbage on cs.utexas.edu holds papers about garbage collection, persistence, and memory hierarchy implementation."
<phoe> from the README
<White_Flame> yes, obviously :)
enrio has joined #lisp
<phoe> the name is amusing though, I agree :D
<no-defun-allowed> One who downloads all the papers from that directory is a...
<phoe> no
<phoe> please no
* no-defun-allowed deallocates herself
hajovonta has quit [Ping timeout: 265 seconds]
<White_Flame> is a copying garbage collector?
cosimone has quit [Quit: Terminated!]
<White_Flame> if they do it with their kids, it's even generational
<no-defun-allowed> If they interleave that with actually useful work (provided they don't study memory management for work), it might be incremental.
enrioog has joined #lisp
enrio has quit [Ping timeout: 256 seconds]
whiteline has quit [Read error: Connection reset by peer]
whiteline_ has joined #lisp
* splittist is sorry he wasn't here to pun in real time
snits has quit [Ping timeout: 265 seconds]
snits has joined #lisp
vanjulio has joined #lisp
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 252 seconds]
shangul has quit [Remote host closed the connection]
jeosol has quit [Remote host closed the connection]
shangul has joined #lisp
snits has quit [Ping timeout: 265 seconds]
snits has joined #lisp
Khisanth has quit [Ping timeout: 240 seconds]
rippa has joined #lisp
ukari has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
ukari has joined #lisp
enrio has joined #lisp
enrioog has quit [Ping timeout: 265 seconds]
FreeBirdLjj has quit [Ping timeout: 264 seconds]
iAmDecim has quit [Ping timeout: 258 seconds]
markoong has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
JetJej has joined #lisp
iAmDecim has joined #lisp
peterhil` has joined #lisp
peterhil has quit [Read error: Connection reset by peer]
<phoe> Is there a portability library that defines a common condition type for errors signaled by no-applicable-method?
markong has joined #lisp
<phoe> or should I write my own method for #'no-applicable-method and signal my own error if I want it?
markoong has quit [Ping timeout: 260 seconds]
<Shinmera> the latter.
<Shinmera> the error you can signal there will be more meaningful, too.
<Shinmera> provided of course you don't specialise on T.
<phoe> I can't specialize on T without going against the standard
<phoe> there's already a system method defined on T
Khisanth has joined #lisp
ukari has quit [Remote host closed the connection]
iAmDecim has quit [Ping timeout: 250 seconds]
hiroaki has joined #lisp
vaporatorius has quit [Ping timeout: 260 seconds]
ukari has joined #lisp
cosimone has joined #lisp
whiteline_ has quit [Remote host closed the connection]
whiteline has joined #lisp
gareppa has joined #lisp
gareppa has quit [Remote host closed the connection]
gareppa has joined #lisp
Khisanth has quit [Ping timeout: 256 seconds]
lavaflow has quit [Ping timeout: 256 seconds]
libertyprime has quit [Read error: No route to host]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
Inline has joined #lisp
snits has quit [Ping timeout: 265 seconds]
libertyprime has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
snits has joined #lisp
enrioog has joined #lisp
bitmapper has joined #lisp
enrio has quit [Ping timeout: 264 seconds]
cosimone has quit [Quit: Terminated!]
prince1 has joined #lisp
ggole has joined #lisp
prince1 has quit [Ping timeout: 260 seconds]
xkapastel has joined #lisp
Bourne has quit [Read error: Connection reset by peer]
gko has joined #lisp
gigetoo has quit [Ping timeout: 246 seconds]
libertyprime has quit [Ping timeout: 260 seconds]
gigetoo has joined #lisp
libertyprime has joined #lisp
orivej has joined #lisp
Steinberg2010 has joined #lisp
dokma has joined #lisp
<dokma> How do I alter (add-hook 'cuda-mode-hook 'linum-mode) to set linum-mode to relative ??
nicktick has joined #lisp
<beach> dokma: add-hook is not a Common Lisp function.
<dokma> it isn't
<beach> So where did you see it.
<beach> ?
<dokma> in spacemacs config
<beach> Sorry, this channel is dedicated to Common Lisp.
<dokma> but #spacemacs is dead
<dokma> so I'm trying to get help here
<beach> But it's off topic here. Sorry about that.
<dokma> the question is general
<dokma> function names are irrelevant
Steinberg2010 has quit [Ping timeout: 252 seconds]
<dokma> how would you do it in common lisp?
<beach> Common Lisp doesn't have anything like a "cuda mode".
<dokma> beach: is that really relevant? I'm just trying to set a value
<dokma> all I need is the syntax
<splittist> dokma: (serapeum:add-hook hook fun &key append) . You can see the implementation here: https://github.com/ruricolist/serapeum/blob/64f0c4a161bbbda7c275012ca1415b4293b9e169/hooks.lisp#L6 . Or it could be - and has been - implemented in CL many different ways.
<scymtym> dokma: common lisp has the builtin macroexpand hook which works differently compared to emacs' concept of hooks. there are libraries for hooks in common lisp as pointed out by splittist. the emacs lisp code you are looking for might be (add-hook 'cuda-mode-hook (lambda () (display-line-numbers-mode 1) (setf display-line-numbers 'relative)))
dddddd has joined #lisp
cosimone has joined #lisp
tutti has joined #lisp
vanjulio has quit [Remote host closed the connection]
srandon111 has quit [Quit: leaving]
libertyprime has quit [Read error: Connection reset by peer]
gareppa has quit [Quit: Leaving]
epony has quit [Quit: reconf]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
libertyprime has joined #lisp
epony has joined #lisp
EvW has joined #lisp
fookara has joined #lisp
snits has quit [Ping timeout: 250 seconds]
quazimod1 has quit [Ping timeout: 256 seconds]
<phoe> dokma: #emacs is not dead though
<phoe> spacemacs is an emacs distribution, and your question is definitely an emacs one
snits has joined #lisp
quazimodo has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
wxie has joined #lisp
Bike has joined #lisp
userself has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #lisp
<phoe> ...ironclad is not the most trivial library to grok
* phoe reads up on authenticated encryption
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
jmercouris has joined #lisp
enrioog has quit [Quit: Leaving]
prince1 has joined #lisp
whiteline_ has joined #lisp
whiteline has quit [Read error: Connection reset by peer]
prince1 has quit [Ping timeout: 240 seconds]
Khisanth has joined #lisp
<phoe> There was a slime command that evaluated an expression and inserted the eval result next to it. What was it?
<random-nick> maybe slime-eval-print-last-expression
<random-nick> or slime-eval-pprint-last-expression
<phoe> random-nick: that one, thank you
akoana has joined #lisp
lucasb has joined #lisp
wxie has quit [Ping timeout: 252 seconds]
whiteline_ has quit [Quit: Leaving]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
whiteline has joined #lisp
shangul has quit [Ping timeout: 264 seconds]
akoana has quit [Quit: leaving]
libertyprime has quit [Read error: Connection reset by peer]
chip2n has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 246 seconds]
<pjb> dokma: if you appeal to generalities, in general, I would RTFM.
<pjb> dokma: what does the documentation of add-hook say?
sonologico has joined #lisp
<pjb> dokma: what does the documentation of linum-mode say?
Bourne has joined #lisp
ukari has quit [Remote host closed the connection]
mjsir911 has quit [Quit: Goodbye, World!]
ukari has joined #lisp
mjsir911 has joined #lisp
jmercouris has quit [Ping timeout: 265 seconds]
sabrac has joined #lisp
cosimone has quit [Remote host closed the connection]
lavaflow has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
cosimone has joined #lisp
cosimone_ has joined #lisp
cosimone has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 265 seconds]
jmercouris has joined #lisp
shka_ has joined #lisp
Khisanth has joined #lisp
<sabrac> why does ironclad:prng-random-data open /dev/urandom and never provide a way to close it? Or am I missing something?
jackhill_ is now known as jackhill
iAmDecim has joined #lisp
monokrom has joined #lisp
<_death> why would you need to close it?
jprajzne has quit [Quit: Leaving.]
<_death> a common criticism of /dev/urandom is that it can become unavailable when there are no file descriptors available
<sabrac> stress testing an update to postmodern triggered a "too many open files to /dev/urandom" error. And it became unavailable as you just said.
ljavorsk_ has quit [Remote host closed the connection]
ljavorsk_ has joined #lisp
<_death> do you create new OS prngs all the time?
<sabrac> Yes. If I do not, I trigger another error claiming a private thread violation. Still trying to figure that one out.
<_death> indeed the code in that file looks a bit strange, since it creates one for each thread :/
lxbarbosa has joined #lisp
Necktwi has joined #lisp
chip2n has joined #lisp
Khisanth has quit [Ping timeout: 258 seconds]
rippa has quit [Read error: Connection reset by peer]
iAmDecim has quit [Ping timeout: 256 seconds]
sonologico has quit [Remote host closed the connection]
sonologico has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
iAmDecim has joined #lisp
lxbarbosa has quit [Remote host closed the connection]
<_death> (I believe it's safe for multiple threads to read from the same urandom fd.. see also https://stackoverflow.com/questions/12245054/linux-3-5-safe-to-read2-from-same-fd-open2-dev-urandom-from-multiple )
KDr21 has quit [Remote host closed the connection]
cosimone_ has quit [Remote host closed the connection]
cosimone_ has joined #lisp
<_death> I guess the fix there is to have :allocation :class for the slot
KDr21 has joined #lisp
cosimone_ has quit [Client Quit]
sonologico__ has joined #lisp
sonologico has quit [Ping timeout: 246 seconds]
gko has quit [Ping timeout: 250 seconds]
chip2n has quit [Quit: ZNC 1.7.5 - https://znc.in]
chip2n has joined #lisp
jmercouris has quit [Remote host closed the connection]
<phoe> or provide a WITH-PRNG for testing purposers
prince1 has joined #lisp
<phoe> in order to close the fd
<_death> closing the file descriptor means you may need to reopen urandom, leading to a greater chance of failure
ljavorsk__ has joined #lisp
prince1 has quit [Ping timeout: 260 seconds]
ljavorsk_ has quit [Ping timeout: 265 seconds]
tutti has quit [Ping timeout: 240 seconds]
<Shinmera> sabrac: I have run into that too.
<Shinmera> I think in my web framework I have an explicit workaround where I bind each thread to a new rng
<Shinmera> cause otherwise you get sporadic, really nasty errors in random places
<Xach> random!
<jackdaniel> random topics are forbidden on this channel :)
sjl_ has joined #lisp
vsync has quit [Ping timeout: 256 seconds]
Khisanth has joined #lisp
<_death> I guess it could fail because of read-sequence (and not posix read).. maybe specifying that the stream is not buffered would make sense on some implementations, or maybe straight posix calls is a better alternative.. choices
iAmDecim has quit [Ping timeout: 265 seconds]
ym555 has joined #lisp
<_death> seems dl.acm.org removed my IP ban ;).. I'm gonna create a list of the stuff I wanna download and slowleech it
<Xach> lispy stuff?
<_death> oh, wrong channel :).. yes, lispy stuff from old CACM issues
<_death> I got up to 1972 yesterday when they banned the IP for downloading around 100 pdfs
<Xach> nikodemus got banned as well
iAmDecim has joined #lisp
jprajzne has joined #lisp
<_death> people with univ access could get a hold of it easily, I guess..
iAmDecim has quit [Ping timeout: 256 seconds]
<_death> I should use a Poisson process to determine the download times..
ym555 has quit [Quit: leaving...]
stepnem has quit [Ping timeout: 240 seconds]
stepnem has joined #lisp
karlosz has joined #lisp
fookara has quit [Remote host closed the connection]
kopiyka has joined #lisp
fookara has joined #lisp
fookara has quit [Remote host closed the connection]
EvW has joined #lisp
jmercouris has joined #lisp
<jmercouris> so, according to this: https://doc.qt.io/qt-5/qkeyevent.html, we get a keycode
<jmercouris> in my case 65 = a
<jmercouris> I know this to be ascii
<jmercouris> however, can I use Lisp to somehow introspect what the keycode actually is as a character when printed on screen?
<jmercouris> some library that exists?
<jmercouris> char-code and the like are not guaranteed to work
<jmercouris> I believe I would need to know what kind of keyboard the user has, as well as what operating system they are on
FreeBirdLjj has quit [Remote host closed the connection]
<_death> according to the documentation they have their own mapping
<Bike> characters aren't the same as keyboard keys, anyway
<_death> in ascii, 65 = #\A
mercourisj has joined #lisp
jmercouris has quit [Ping timeout: 256 seconds]
<mercourisj> I know this is a Lisp channel, but why do other languages use such varied syntax for function calls and data passing
<mercourisj> what is the purported advantage of this?
slyrus_ has joined #lisp
<mercourisj> I'm just thinking for example about the << operator in C++, and wondering why you would possibly need it
<mercourisj> BTW, thanks for the feedback about chars, I decided to do it in C++, but my message did not go through about that
<mercourisj> I will use whatever facilities they have to try to get it to work reliably...
mercourisj is now known as jmercouris
slyrus__ has quit [Ping timeout: 256 seconds]
<jmercouris> I'm just struggling to imagine a justification for this, I always accepted it when I first learned the languages, but now I am wondering why anyone would do that
<_death> you can find the answer in a book called The Design & Evolution of C++
<jmercouris> I'm sure I'll get some bullshit answer, anyone can justify any decision
<jmercouris> I'm looking for some overarching reasoning behind the justification of different calling conventions in languages
<jmercouris> why this strange syntax? do language authors believe it helps in some way?
<jackdaniel> homoiconity is great and all, but it is not that elaborate syntax is without merit - good syntactic sugar gives your code a well justified mold
<jackdaniel> "ordinary" function calling notation is directly inherited from standard math notation
<jackdaniel> s/from/from the/
<jmercouris> you could then take the question one step further
<jmercouris> who decided the syntax of math
<jmercouris> and why did they think it was a wise idea to combine so many notations and patterns?
<jackdaniel> it is well offtopic now.
efm has quit [Ping timeout: 265 seconds]
efm has joined #lisp
<_death> nobody decided the syntax of math, people came up with their own notations and some prevailed over others, sometimes for good reasons, other times not
<_death> (of course, there is no one math syntax..)
akoana has joined #lisp
fanta1 has joined #lisp
hlavaty has quit [Remote host closed the connection]
dokma has quit [Quit: WeeChat 2.3]
<pjb> jmercouris: you can use com.informatimago.common-lisp.cesarum.ascii:ascii-code and code-ascii.
<pjb> jmercouris: note: ascii-control-code-p ascii-printable-code-p code-ascii-digit-p
<jmercouris> 1
<pjb> and (com.informatimago.common-lisp.cesarum.character:standard-character-is-ascii-coded-p) #| --> t |#
jmercouris has quit [Remote host closed the connection]
ggole has quit [Quit: Leaving]
rippa has joined #lisp
fookara has joined #lisp
prince1 has joined #lisp
fookara has quit [Client Quit]
fookara has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
prince1 has quit [Ping timeout: 258 seconds]
Bourne has quit [Ping timeout: 240 seconds]
jeosol has joined #lisp
fookara has left #lisp ["ERC (IRC client for Emacs 28.0.50)"]
fookara has joined #lisp
cosimone has joined #lisp
Bourne has joined #lisp
tutti has joined #lisp
fookara has quit [Remote host closed the connection]
fanta1 has quit [Quit: fanta1]
cosimone has quit [Client Quit]
fookara has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
fookara has left #lisp [#lisp]
Khisanth has quit [Ping timeout: 256 seconds]
fookara has joined #lisp
gxt has quit [Ping timeout: 240 seconds]
mn3m has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
vlatkoB has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hiroaki has quit [Ping timeout: 240 seconds]
Khisanth has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
ljavorsk__ has quit [Remote host closed the connection]
ljavorsk has joined #lisp
sonologico__ has quit [Remote host closed the connection]
sonologico__ has joined #lisp
hiroaki has joined #lisp
Khisanth has quit [Ping timeout: 265 seconds]
sonologico__ has quit [Remote host closed the connection]
sonologico__ has joined #lisp
cosimone has joined #lisp
iAmDecim has joined #lisp
Khisanth has joined #lisp
sonologico__ has quit [Remote host closed the connection]
sonologico__ has joined #lisp
ArthurStrong has joined #lisp
tutti has quit [Ping timeout: 252 seconds]
lisper29 has joined #lisp
shka_ has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 240 seconds]
iAmDecim has quit [Ping timeout: 260 seconds]
EvW has joined #lisp
sjl has quit [Quit: WeeChat 2.2-dev]
bitmapper has quit [Remote host closed the connection]
narimiran has quit [Ping timeout: 256 seconds]
bitmapper has joined #lisp
efm_ has joined #lisp
efm_ has quit [Client Quit]
prince1 has joined #lisp
efm has quit [Ping timeout: 260 seconds]
prince1 has quit [Ping timeout: 260 seconds]
fookara has left #lisp ["ERC (IRC client for Emacs 28.0.50)"]
fookara has joined #lisp
bitmapper has quit [Ping timeout: 256 seconds]
fookara has quit [Remote host closed the connection]
heisig has quit [Ping timeout: 264 seconds]
fookara has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
fookara has quit [Remote host closed the connection]
ljavorsk has quit [Remote host closed the connection]
fookara has joined #lisp
ljavorsk has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
ukari has quit [Remote host closed the connection]
pilne has joined #lisp
fookara has quit [Remote host closed the connection]
ukari has joined #lisp
lxbarbosa has joined #lisp
bitmapper has joined #lisp
lxbarbosa has quit [Remote host closed the connection]
lxbarbosa has joined #lisp
efm has joined #lisp
sz0 has quit []
sz0 has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<lxbarbosa> hey any one knows any language different of most as lisp? eg: haskell...
<ArthurStrong> lxbarbosa: C++? can you be more specific?
<lxbarbosa> any other? pls exclude scheme-ones
<aeth> do you mean closest? if you're saying Haskell and excluding Scheme
<lxbarbosa> ArthurStrong: I mean one that is different of most modern languages.
<White_Flame> forth
<ArthurStrong> Prolog
<ArthurStrong> APL
<ArthurStrong> loads of them!
<lxbarbosa> haha, cool! dig on!
<lxbarbosa> thanks
<pjb> lxbarbosa: eiffel
<lxbarbosa> pjb: heard about that one... cool
<pjb> lxbarbosa: and of course, there are a ton of esoteric programming languages. Piet, BrainFuck, etc.
<lxbarbosa> pjb: I will skip brainfuck :D
<pjb> lxbarbosa: even Life. Have a look at life in life: https://www.youtube.com/watch?v=xP5-iIeKXE8
gravicappa has quit [Ping timeout: 265 seconds]
<lxbarbosa> cool
<phoe> lxbarbosa: SQL
<lxbarbosa> phoe: fair.
tutti has joined #lisp
<aeth> The furthest mainstream languages are probably C++ or Java in terms of OOP with the object system being incompatible with CL's, while being very massive so compatibility would be a lot of work. A lot of these other "far" languages can be (and sometimes have been) implemented in CL.
<xristos> APL
<xristos> Forth
<xristos> K
<jcowan> They don't have OOP constructions
<aeth> jcowan: Well, yes, I mean in the sense that both CL and C++/Java are "OOP" languages, but only if you use different definitions of OOP.
<aeth> They don't just have incompatible object systems, they have incompatible definitions of OOP.
ljavorsk_ has joined #lisp
ljavorsk has quit [Ping timeout: 256 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<LdBeth> good morning #lisp
<ArthurStrong> LdBeth: good morning indeed
<phoe> heyyy
<LdBeth> jcowan: both APL and Forth has their OOP variants/extensions
Pegasso has joined #lisp
Pegasso has left #lisp [#lisp]
jeosol has quit [Remote host closed the connection]
prince1 has joined #lisp
random-nick has quit [Ping timeout: 240 seconds]
prince1 has quit [Ping timeout: 265 seconds]
<pjb> ocaml too has an oo system, similar to an OO system in prolog, IIRC.
<jcowan> I remember an OO system in Prolog where the objects are theories (collections of predicates)
<jcowan> a theory could inherit from another theory in several ways
<jcowan> the subtheory could add its rules to the supertheory's rules for a given predicate, or only add whole predicates
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
slyrus__ has joined #lisp
tutti has quit [Ping timeout: 252 seconds]
drainful has joined #lisp
fookara has joined #lisp
slyrus_ has quit [Ping timeout: 256 seconds]
<lxbarbosa> Good morning? Japan?
<lxbarbosa> :D
<lxbarbosa> OOOhhh, Coq... never heard of it
monokrom has quit [Read error: Connection reset by peer]
lalilulelo has quit [Quit: Leaving]
gxt has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
ljavorsk_ has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
loli has quit [Quit: WeeChat 2.7.1]
lucasb has quit [Quit: Connection closed for inactivity]
loli has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
twelvemonkeys has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
twelvemonkeys has joined #lisp
orivej has quit [Client Quit]
loli has quit [Quit: WeeChat 2.7.1]
orivej has joined #lisp
ukari has quit [Remote host closed the connection]
cosimone has quit [Ping timeout: 252 seconds]
ukari has joined #lisp
amerlyq has quit [Quit: amerlyq]
orivej has quit [Quit: No Ping reply in 180 seconds.]
v_m_v has joined #lisp
fookara has quit [Remote host closed the connection]
terpri_ has joined #lisp
terpri has quit [Read error: Connection reset by peer]
v_m_v has quit [Remote host closed the connection]
fookara has joined #lisp
loli has joined #lisp
<stylewarning> Hey Lisp folks. Just wanted to advertise the sale of my Lisp machines. Thanks! http://watrophy.com/files/lispm/lisp-sale.html
loli has quit [Read error: Connection reset by peer]
loli has joined #lisp
orivej has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
X-Scale has quit [Ping timeout: 258 seconds]
X-Scale` has joined #lisp
X-Scale` is now known as X-Scale
SGASAU has joined #lisp
KDr22 has joined #lisp
KDr21 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 265 seconds]
<pjb> stylewarning: I guess you've posted this message to comp.lang.lisp too.
iAmDecim has joined #lisp
v_m_v has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
sabrac has quit [Quit: Konversation terminated!]
<stylewarning> pjb: I haven’t. I’d appreciate if somebody would.
SGASAU has quit [Remote host closed the connection]
SGASAU` has joined #lisp
v_m_v has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
iAmDecim has quit [Ping timeout: 265 seconds]
aap_ has joined #lisp
aap has quit [Ping timeout: 240 seconds]
<lxbarbosa> for Lispers that know enough of Haskell, does it offers singular features that Lispers "must know about"? I mean, Lisp has a lot of interesting points that I did not see in .NET/Python, and I want to learn new paradigms and perspectives.