mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #commonlisp
random-nick has quit [Ping timeout: 268 seconds]
<skin>
Shinmera, prepared statements do help with SQL injection but I thought their primary purpose was performance optimization
<skin>
we have this app at work that's elixir and it uses prepared statements everywhere and each one is cashed in memory on the post gres instance
<yottabyte>
Now I found caveman2, which is also done by Fukamachi https://github.com/fukamachi/caveman, the same guy who did Clack + Lack and Woo, so now I'm really confused hahaha
<ixelp>
GitHub - fukamachi/caveman: Lightweight web application framework for Common Lisp.
<skin>
but I guess they totally work for that too
<yottabyte>
But caveman2 seems to be like the simplest one around
<yottabyte>
I guess they're very specialized cases but it seems quite redundant from the outside looking in
<skin>
every language it seems makes a web framework that does all the things and at least one so-called micro framework
<skin>
python has Django and flask Ruby has rails and Sinatra
<skin>
I don't know about the micro framework for Elixir but Phoenix is the kitchen sink one
<skin>
I would imagine in common lisp of the web Frameworks are similar and perform similar needs that way
<skin>
feels like caveman2 might be the micro framework and clack/woo the kitchen sink
char has joined #commonlisp
theruran has joined #commonlisp
<yottabyte>
I see
<jmercouris>
Is there a way to pin dependency versions in an ASD file?
<jmercouris>
for example, to a specific commit?
<jmercouris>
or to a specific version?
triffid has quit [Quit: triffid]
<bike>
jmercouris: «A minimal version can be specified for a component you depend on (typically another system), by specifying (:version "other-system" "1.2.3") instead of simply "other-system" as the dependency.» from the manual
Pixel_Outlaw has joined #commonlisp
char has quit [Ping timeout: 264 seconds]
<jmercouris>
bike: so no :-(, that's what i thought
triffid has joined #commonlisp
<jmercouris>
the problem of course being that many libraries follow different versioning rules, or sometimes none
lucasta has quit [Quit: Leaving]
char has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 252 seconds]
pillton has joined #commonlisp
brokkoli_origin has joined #commonlisp
<jmercouris>
I still think CLPM may be a good solution
<jmercouris>
does anyone have any experience/feedback about CLPM?
<char>
jmercouris I know guix can specify a specific version. They both still use asdf still though. I also recall reading that asdf will not attempt to load the specified version if a lower version is already loaded (by another system).
josrr has quit [Remote host closed the connection]
<jmercouris>
char: I have guix, but not everyone does
<jmercouris>
furthermore Guix is only available on Linux
<char>
Not everyone has clpm either. Everyone has asdf though.
<jmercouris>
This is true.
<char>
Perhaps you could write an asdf extension that uses semantic versioning for its depends-on. That means that the major version would have to match and the minor version and patch would be minimum.
<jmercouris>
char: yes... I could modify NASDF for this purpose
rtypo has quit [Ping timeout: 272 seconds]
istewart has quit [Quit: Konversation terminated!]
genera_ has joined #commonlisp
char has quit [Quit: Connection closed]
genera has quit [Ping timeout: 240 seconds]
admich1 has quit [Ping timeout: 240 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
triffid has quit [Remote host closed the connection]
augfab has quit [Remote host closed the connection]
triffid has joined #commonlisp
chomwitt has joined #commonlisp
pfdietz has quit [Quit: Client closed]
decweb has quit [Ping timeout: 260 seconds]
hineios235 has joined #commonlisp
hineios23 has quit [Ping timeout: 256 seconds]
hineios235 is now known as hineios23
prokhor_ has joined #commonlisp
prokhor has quit [Read error: Connection reset by peer]
<ixelp>
fix: proper external package for sb-int:once-only by hraban · Pull Request #46 · slburson/fset · GitHub
<beach>
Maybe FSET is :USEing SB-EXT.
thonkpod_ has quit [Ping timeout: 256 seconds]
<beach>
pranav: Oh, I see. Bad idea that too.
thonkpod_ has joined #commonlisp
<Josh_2>
pranav: thanks
<pranav>
beach: I haven't used the once-only macro yet. Is the one defined in alexandria a better idea?
<beach>
Sounds better than using a symbol that is not documented from SBCL.
<jackdaniel>
I will make a dubious statement without anything to back it up: most projects rely on alexandria two pull three or four 5-line macros with-gensyms, once-only, if-let and when-let
<jackdaniel>
s/two pull/to pull/
<Josh_2>
Pretty much
<Josh_2>
pranav: yes
<Josh_2>
dbotton: are you around?
<beach>
Maybe this is a good time to repeat my suggestion to split Alexandria into smaller per-theme systems, and to make the alexandria system depend on the others for backwards compatibility.
chiselfuse has quit [Remote host closed the connection]
anticomputer has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
anticomputer has joined #commonlisp
qhong has quit [Ping timeout: 256 seconds]
<hayley>
Hey, I use ALEXANDRIA:SET-EQUAL.
amb007 has quit [Ping timeout: 256 seconds]
<pillton>
TYPE= and REMOVEF-FROM-PLIST are good ones too.
<pillton>
Doh.. REMOVE-FROM-PLISTF.
<pillton>
Oh.. SWITCH is another one.
amb007 has joined #commonlisp
<jackdaniel>
I've meant 90% libraries, that approximation is 20% accurate , 5% of the time that is
<pillton>
Sure, I was joining in on the which functions in Alexandria I use wagon.
<jackdaniel>
btw, one function that /should/ be part of CL standard is MAPPEND, but oh well
<jackdaniel>
let's make a new standard, quick
<pillton>
Yeah quick, throw in TYPE=, TYPE-EXPAND.
hay has joined #commonlisp
shka has joined #commonlisp
<pillton>
Is there a way to avoid replicating the prefix parameter in situations like this: (format nil "~{~10,vf~}" '(3 3.456789 3 4.56789 3 5.67890)) ?
pve has joined #commonlisp
Alfr has quit [Quit: Leaving]
waleee has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 264 seconds]
varjag has joined #commonlisp
hay has quit [Quit: Konversation terminated!]
admich1 has quit [Ping timeout: 268 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
synchromesh has quit [Read error: Connection reset by peer]
<Josh_2>
idk what your output is supposed to look like
Alfr has joined #commonlisp
donleo has joined #commonlisp
<pillton>
What I wrote above will produce the same output as (format nil "~{10,3f~}" '(3.456789 4.56789 5.67890)).
<pillton>
I ask the question because I like making the number of decimal digits to print an argument of the function which produces the output. I am trying to figure out the best way to get the argument in to the control string.
<pillton>
Anyway, I must be off. I'll check the logs tomorrow.
pillton has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
mivanchev has joined #commonlisp
kagevf has quit [Ping timeout: 260 seconds]
kagevf has joined #commonlisp
kagevf has quit [Ping timeout: 260 seconds]
kagevf has joined #commonlisp
anticomputer has quit [Remote host closed the connection]
ec has quit [Read error: Connection reset by peer]
triffid has quit [Read error: Connection reset by peer]
ec has joined #commonlisp
anticomputer has joined #commonlisp
triffid has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
<dbotton>
Josh_2: yes
<Josh_2>
Hey
<Josh_2>
CLOG has randomly stopped working on a site of mine, just like before
<Josh_2>
I have not restarted it
<Josh_2>
I can dm you a link to the site
_cymew_ has joined #commonlisp
<dbotton>
Ok
<dbotton>
If can and send me any logs might have close to last time up
<Josh_2>
I will check
<dbotton>
Also if can tell me what version of CLOG
<Josh_2>
well
<Josh_2>
its pretty obvious what the problem is
<dbotton>
Hope so :)
Inline has quit [Quit: Leaving]
<Josh_2>
Condition caught in handle-new-connection - The value -1 is not of type (UNSIGNED-BYTE 64) when setting slot CL-ISAAC::RANDCNT of structure CL-ISAAC:ISAAC64-CTX.
<Josh_2>
I guess I can go and report that to cl-isaac dev
<skin>
jmercouris: You should _totally_ check out ocicl. I have been very pleased with it. Will likely serve your needs and those of your team :) DM me if you'd like to hear my experience report.
AetherWind has joined #commonlisp
AetherWi1d has joined #commonlisp
josrr has joined #commonlisp
awlygj has quit [Ping timeout: 256 seconds]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chomwitt has joined #commonlisp
AetherWind has quit [Quit: Lost terminal]
tok has quit [Remote host closed the connection]
tok has joined #commonlisp
wacki has joined #commonlisp
_cymew_ has quit [Read error: Connection reset by peer]
_cymew_ has joined #commonlisp
admich1 has quit [Ping timeout: 246 seconds]
admich1 has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
<ixelp>
awesome-cl | A curated list of awesome Common Lisp frameworks, libraries and other shiny stuff.
piethesailor has joined #commonlisp
<beach>
subhuman: What is wrong with the symbol LAMBDA?
<_death>
it's not obfuscated enough
<subhuman>
I didn't say there was anything wrong with it
<subhuman>
I was just curious
<beach>
OK.
<piethesailor>
Anyone ever use sly-connect to open a repl connection and then use org-mode blocks to send code to that running repl?
<yitzi>
Early onset COBOL fingers.
<piethesailor>
I am having some trouble
<piethesailor>
My C-c C-c'ing the common-lisp code block returns an error saying there is no org-babel-execute function for common lisp
<_death>
piethesailor: I don't use sly, but looking at ob-lisp you may want to check out org-babel-lisp-eval-fn
tok has quit [Remote host closed the connection]
<piethesailor>
yeah. I already (setf org-babel-lisp-eval-fn 'sly-eval) with no luck
<piethesailor>
maybe I need to #'sly-eval?
<piethesailor>
nope never mind
varjag has joined #commonlisp
nybble has joined #commonlisp
admich1 has quit [Ping timeout: 268 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
kevingal has quit [Ping timeout: 246 seconds]
AetherWi1d has quit [Quit: leaving]
admich1 has quit [Remote host closed the connection]
admich1 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
piethesailor has quit [Remote host closed the connection]
alcor has joined #commonlisp
amb007 has joined #commonlisp
mgl_ has quit [Ping timeout: 268 seconds]
Catie has joined #commonlisp
ym has joined #commonlisp
ronald has joined #commonlisp
ronald_ has quit [Ping timeout: 256 seconds]
waleee has joined #commonlisp
Guest25 has joined #commonlisp
quadrantoracle has joined #commonlisp
Guest25 has left #commonlisp [#commonlisp]
ronald_ has joined #commonlisp
ronald has quit [Read error: Connection reset by peer]
ronald has joined #commonlisp
ronald_ has quit [Ping timeout: 252 seconds]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
yitzi has quit [Remote host closed the connection]
wacki has joined #commonlisp
ronald has quit [Read error: Connection reset by peer]
ronald_ has joined #commonlisp
msavoritias has quit [Ping timeout: 255 seconds]
ronald has joined #commonlisp
ronald_ has quit [Ping timeout: 260 seconds]
piethesailor has joined #commonlisp
<piethesailor>
Had to hop off for a bit. not sure if any one had posted any tips for the org-mode block CL issue I am having
<piethesailor>
there was inbetween now and then, id appreciate a repost from someone!
<subhuman>
piethesailor: If you can't get it to work now with org babel then maybe make your own hack
<subhuman>
There's an Emacs pacakge called glue which simplifies the process of sending Lisp code to the sly server
<piethesailor>
perfect! thank you subhuman
<piethesailor>
will give that a try
josrr has quit [Remote host closed the connection]
<subhuman>
I was going to tell you about it earlier but you most likely want a fully-integrated solution with org babel and I don't blame you for that caues who wants a crude solution
ronald has quit [Read error: Connection reset by peer]
<subhuman>
But it's temporary solution for now so I don't really think that should be a issue
ronald_ has joined #commonlisp
<piethesailor>
Honestly, whatever gets me going at this point would be swell.haha
<piethesailor>
just installed glue and giving it a look over
<subhuman>
Make sure to set `glue-interaction' to 'sly
<subhuman>
Then you can use `glue--sly-send-async' and give it a FORM and CONTINUATION
<subhuman>
If you use the synchronous version then you don't need to pass the continuation and you'll have the result retrieved to you
<subhuman>
(let ((glue-interaction 'sly))
<subhuman>
(glue--sly-send-sync
<subhuman>
`(+ 1 2 3)))
<subhuman>
Just make sure to have a sly session already running
<piethesailor>
I think the issue I might be having is that while I do have a sly session running, it is connected to different CL process.
<piethesailor>
specifically I am running the nyxt browser and connecting to it via slynk
<piethesailor>
and so I want to send common lisp code to that session
benjaminl has quit [Remote host closed the connection]
<piethesailor>
maybe that does not matter and I have a different issue
<subhuman>
That shouldn't be an issue, sly communicates with `sly-default-connection', all you have to do is set that variable to your nyxt process
benjaminl has joined #commonlisp
<subhuman>
If you had only one sly session then that would be the default connection, if you have multiple then I'm pretty sure you'd have to use `sly-select-connection' which takes an Emacs process
<subhuman>
Or the easier way is to just set `sly-default-connection' to your desired sly session
<piethesailor>
I am only using one session, so then that is not the issue.. interesting
<piethesailor>
I had to kill nyxt and restart so that is maybe why it is at 2 now
<subhuman>
`sly-default-connection'?
<piethesailor>
problem occured before kill also
<subhuman>
I doubt it's set to a dead process though? No idea
<piethesailor>
=> #<process sly-2>
<subhuman>
What happens when you evaluate with sly sync?
<piethesailor>
you mean with glue--sly-send-sync?
<subhuman>
Yes
<piethesailor>
Odd, that function does not exist
<subhuman>
Do (require 'glue)
<piethesailor>
I ran package-install glue
<piethesailor>
right
<piethesailor>
yeah that works
<piethesailor>
I can at least build on that
<piethesailor>
let me make sure of something
<subhuman>
It works in the appropriate session?
<piethesailor>
my thoughts exactly, one sec
<subhuman>
Also maybe there's an added plus to using glue for this kind of integration
<subhuman>
I don't think #+RESULTS gives you sly introspection
<piethesailor>
Yes! okay so I set a variable in the repl and called it accurately from sly sync in ielm
<subhuman>
Whenever you use `glue--sly-send-sync' the output is flushed to the sly mrepl so that beneficial for object introspection
<piethesailor>
So really I am good to just make an elisp code block and wrap my CL code in the glue--sync function
<subhuman>
Yeah for now
<subhuman>
Unless...?
<piethesailor>
to your point, getting RESULTS: back with the return and info to the repl is quite nice
Eoco has joined #commonlisp
<piethesailor>
weird but nice
<subhuman>
piethesailor: How come you didn't ask this question in #emacs?
<subhuman>
Not trying to be an ass
<piethesailor>
...
<subhuman>
I meant I'm not trying to be an ass
<piethesailor>
I don't know. That would have been a lot smarter XD
<piethesailor>
No offense takem
<subhuman>
piethesailor: Tbh #emacs kinda sucks sometimes
<subhuman>
Off topic talk seems to take more priority than actual emacs-related stuff
<piethesailor>
Many CL users use emacs and so I figured I was more likely to find someone whose had the same problem before
<piethesailor>
That might have been another unconcious reason too subhuman
<piethesailor>
haha
<subhuman>
Haha, you've visited #emacs before?
<piethesailor>
oh yeah
<subhuman>
Were you ignored?
<piethesailor>
sometimes, I feel like there is soo much going on there sometimes it can be hard to stay focused on the topic at hand
<piethesailor>
though here I am blowing up #commonlisp
<piethesailor>
:|
<subhuman>
I think it's fine
<subhuman>
#emacs is way worse
<piethesailor>
For emacs things I got to #systemcrafters
<piethesailor>
It is off topic usually, but ppl jump quick to help typically.
ym has quit [Ping timeout: 255 seconds]
<piethesailor>
or are happy to move back to emacs topics
<piethesailor>
Its a good community
<piethesailor>
for emacs/guile/guix things
<subhuman>
Over at #emacs some dinosaur member that's out of touch spams some fsbot commands and then everybody jumps in on it and discusses the output of the fsbot
<subhuman>
#emacs is brain rot for boomers
<subhuman>
Maybe I'm exaggerating but yeah
<piethesailor>
lol I am going to hop over there and tell them you said that
<subhuman>
Lol don't
<subhuman>
But it's true
<piethesailor>
haha
quadrantoracle has quit [Quit: quadrantoracle]
<subhuman>
Asked a question? Too bad, it won't be seen nor approached cause everyone is foaming at the mouth over some low effort fsbot bullshit
quadrantoracle has joined #commonlisp
<piethesailor>
yeah it can be a wild place
<aeth>
I haven't been to #emacs in a while... sometimes drama leaks and I regret it, but it's just so noisy of a channel if nothing's changed
<aeth>
sounds like nothing's changed
<aeth>
"a while"... being 5 or so years? maybe 10. :-p
<piethesailor>
not for me
<aeth>
afaik, one of the reasons why #lisp exists for Lisp-the-family independent of #commonlisp is so Emacs Lisp users have a place to go
<piethesailor>
omg I never knew that. that makes sense
<aeth>
because #lisp-on-freenode sometimes had elisp questions, which was just confusing for everyone
<aeth>
every other Lisp, you can tell right away
<aeth>
elisp looks enough like CL...
akoana has joined #commonlisp
mgl_ has joined #commonlisp
enzuru has quit [Read error: Connection reset by peer]
admich1 has quit [Ping timeout: 268 seconds]
enzuru has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
pfdietz has joined #commonlisp
Alfr has quit [Remote host closed the connection]
Alfr has joined #commonlisp
brokkoli_origin has joined #commonlisp
<Shinmera>
#lisp exists because it was annoying to have to explain that freenode/#lisp was only commonlisp for historical raisins
jmdaemon has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.3]
brokkoli_origin has quit [Quit: (Leaving)]
<piethesailor>
¯\_(ツ)_/¯
mgl_ has quit [Ping timeout: 252 seconds]
admich1 has joined #commonlisp
brokkoli_origin has joined #commonlisp
quadrantoracle has quit [Quit: quadrantoracle]
quadrantoracle has joined #commonlisp
_cymew_ has quit [Ping timeout: 268 seconds]
robin has quit [Quit: Leaving]
piethesailor has quit [Remote host closed the connection]
varjag has quit [Ping timeout: 264 seconds]
robin has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]