equwal has quit [Remote host closed the connection]
equwal has joined #lisp
nicht has joined #lisp
nicht has quit [Max SendQ exceeded]
skidd0 has joined #lisp
<skidd0>
Has anyone here used Postmodern to create postgres databases and users? I would like to take care of that with code so my end-user doesn't have to.
equwal has quit [Ping timeout: 244 seconds]
pierpal has quit [Read error: Connection reset by peer]
equwal has joined #lisp
<skidd0>
actually, does anyone know of a way to include postgres with a dumped core using SBCL?
<skidd0>
or is that something i'm going to have to instruct end-users to install and setup
<jeosol>
I am not sure you can pack postgres into SBCL core
<skidd0>
that's my thought, too
<jeosol>
but the core can contain all the postgres, postmodern or whatever ORM you are using to interact with the DB etc
<skidd0>
then using that core depends on having postgres on whatever machine
<jeosol>
that is, everything on the postgres interaction (functions) can be in the core
<jeosol>
yes, that is true.
<skidd0>
because the core communicates with postgres over some protocol
<skidd0>
that the installed postgrescommunicates with
<JuanDaugherty>
ok sorry, responding inappropriately across generations (again); my bad
JuanDaugherty has quit [Quit: Exeunt]
<skidd0>
?
<jeosol>
skidd0: is the app a desktop type that requires postgres?
<skidd0>
yes
<jeosol>
I suspected.
<skidd0>
because the app can't itself contain all of postgres
<jeosol>
linux and windows?
<skidd0>
does postgres support windows?
<jeosol>
I think postgres will be big to add in your app.
<skidd0>
i'm now wondering if theres an easy way to test whether postgres is installed or not
<skidd0>
and exit with a warning informing of the dependancy
equwal has quit [Remote host closed the connection]
<skidd0>
okay so back to the original question. Has anyone (using postmodern or not) been able to use lisp to create a postgres user and database?
<skidd0>
and not need to manually set it up
<jeosol>
I am sure there is a way. most guys aren't here now. I have used mostly clsql to do that, but I remember the info for doing that with postmodern wasn't very clear
<jeosol>
I have mostly followed info sabra's website
pierpal has joined #lisp
<skidd0>
is that sabrac ?
Fare has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
equwal has joined #lisp
karlosz has quit [Quit: karlosz]
<jeosol>
I am not sabra. I am just saying he has a lot of info on postmodern on his site, and he is probably also maintain the repo now. I am subscribed to the repo feed.
Fare has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
Fare has joined #lisp
robotoad has quit [Quit: robotoad]
rumbler31 has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 276 seconds]
robotoad has joined #lisp
Kundry_Wag has joined #lisp
karlosz has joined #lisp
erratic has joined #lisp
eschatologist has quit [Quit: ZNC 1.6.6+deb1 - http://znc.in]
Kundry_Wag has quit [Ping timeout: 240 seconds]
eschatologist has joined #lisp
pierpa has quit [Quit: Page closed]
nullniverse has joined #lisp
fikka has joined #lisp
eli_oat1 has joined #lisp
karlosz has quit [Quit: karlosz]
pierpal has joined #lisp
karlosz has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
Kundry_Wag has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Ping timeout: 244 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
karlosz has quit [Ping timeout: 276 seconds]
saki has joined #lisp
brendyn has joined #lisp
saki has quit [Ping timeout: 240 seconds]
equwal has quit [Remote host closed the connection]
equwal has joined #lisp
equwal has quit [Remote host closed the connection]
equwal has joined #lisp
wigust has joined #lisp
eli_oat1 has quit [Quit: Leaving.]
wigust- has quit [Ping timeout: 244 seconds]
SaganMan has quit [Quit: WeeChat 1.6]
MoziM has quit [Ping timeout: 260 seconds]
SaganMan has joined #lisp
saki has joined #lisp
MoziM has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
ikki has quit [Ping timeout: 240 seconds]
sauvin has joined #lisp
saki has quit [Ping timeout: 240 seconds]
caltelt has joined #lisp
Cthulhux has quit [Ping timeout: 240 seconds]
Inline has quit [Read error: Connection reset by peer]
red-dot has quit [Remote host closed the connection]
Inline has joined #lisp
charh has quit [Ping timeout: 244 seconds]
Cthulhux has joined #lisp
quazimodo has quit [Ping timeout: 268 seconds]
graphene has quit [Remote host closed the connection]
JuanDaugherty has joined #lisp
graphene has joined #lisp
SaganMan has quit [Quit: WeeChat 1.6]
dddddd has quit [Remote host closed the connection]
<sabrac>
skiddo: Hi
quazimodo has joined #lisp
JuanDaugherty has quit [Quit: Exeunt]
kori has left #lisp ["WeeChat 2.1"]
eschatologist has quit [Ping timeout: 276 seconds]
eschatologist has joined #lisp
<PuercoPop>
sabrac: Hi, I was wondering if you still intend to publish a Roadmap for postmodern
<sabrac>
PuercoPop: Yes, working on it now
<PuercoPop>
sabrac: awesome!
rpi has quit [Remote host closed the connection]
<sabrac>
Is there anything you would like to see in the roadmap?
<sabrac>
I have to say that skiddo's request for a postgresql installer in lisp probably will not be on the roadmap
<sabrac>
skiddo: Is your app for windows, OSX, linux or what?
<PuercoPop>
sabrac: Not particularly. One thing that I've been trying to tackle is #70 but the DAO code seems mostly needlessly complex, but then again synthesizing new methods with the MOP is not something straightforward in my experience. One thing that would be good, in theory, would be a way to extend the client authentication mechanisms but that is not something that I need. Mostly want to see how could I chip in.
<sabrac>
PuercoPop: One thing that nyef was complaining about some years ago was transaction failures on connections and reconnections. Ever dealt with reconnections in usocket?
scottj has joined #lisp
<PuercoPop>
can't say I have
<sabrac>
I looked at #70, but there was no immediately obvious solution so set it aside for the moment. I am not sure that I really understand #111
<sabrac>
PuercoPop: Any interest in working on json and jsonb support?
asarch has joined #lisp
<asarch>
One stupid question: I could do: '(a b c) or even (quote a b c). Is there something similar (in English words) for `(a b c) (quasiquoting)?
<Bike>
"He said to disassemble that car", maybe?
<PuercoPop>
sabrac: yeah, I was thinking of porting a PoC wiki from disk to a 'document' store using JSONB.
<Bike>
paraphrasing
<sabrac>
PuercoPop: ok. Give the jsonb support some thought. I will try to get the draft roadmap out in the next 48 hours along with a bunch of s-sql stuff that got triggered in the process of fixing #68
Bike has quit [Quit: Lost terminal]
<PuercoPop>
sabrac: will do! I'm off to sleep now.
nika has joined #lisp
fikka has joined #lisp
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Ping timeout: 244 seconds]
quazimodo has quit [Ping timeout: 276 seconds]
<LdBeth[m]>
asarch: (quote a b c) isn’t a thing
<asarch>
D'oh! My mistake..
lemoinem has quit [Ping timeout: 256 seconds]
<LdBeth[m]>
And you can’t do (quasiquote (a b ,c)) since phase quasiquote form requires to be at read time
<aeth>
If you need to do something like that you should just think about what the quasiquotation is trying to do. In that case, (list 'a 'b c) or one of the other dozen ways to get the same result.
<aeth>
Sometimes it winds up being clearer, too
lemoinem has joined #lisp
<beach>
Good morning everyone!
newbie54 has quit [Read error: Connection reset by peer]
newbie35 has quit [Read error: Connection reset by peer]
lemoinem has quit [Ping timeout: 256 seconds]
<zigpaw>
morning!
<zigpaw>
skidd0 - maybe look how chocolatey does progresql installation, you might use their tool or their scripts - they are windows based, if you need it for linux you can look at gentoo's portage scripts and for mac os x you can look how brew does it. Still not ideal solution but kinda automated one.
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
lemoinem has joined #lisp
nowhere_man has quit [Read error: Connection reset by peer]
<skidd0>
thanks zigpaw
<skidd0>
sabrac: the app is for linux for now
skidd0 has quit [Quit: WeeChat 2.1]
vlatkoB has joined #lisp
asarch has quit [Quit: Leaving]
nowhere_man has joined #lisp
elfmacs has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
lemoinem has quit [Ping timeout: 276 seconds]
orivej has joined #lisp
lemoinem has joined #lisp
saki has joined #lisp
terpri has quit [Ping timeout: 256 seconds]
reverse_light has joined #lisp
vaporatorius has joined #lisp
vap1 has joined #lisp
lemoinem has quit [Ping timeout: 276 seconds]
vaporatorius has quit [Client Quit]
reverse_1ight has quit [Ping timeout: 244 seconds]
slyrus1 has quit [Ping timeout: 268 seconds]
slyrus_ has quit [Ping timeout: 244 seconds]
anewuser has quit [Quit: anewuser]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #lisp
Inline has quit [Read error: Connection reset by peer]
lemoinem has joined #lisp
Inline has joined #lisp
saki has quit [Ping timeout: 276 seconds]
slyrus_ has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
FreeBirdLjj has joined #lisp
Kundry_Wag has joined #lisp
angavrilov has joined #lisp
aindilis has quit [Ping timeout: 260 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
Kundry_Wag has quit [Ping timeout: 276 seconds]
vlad_ has joined #lisp
quazimodo has joined #lisp
pfdietz has quit [Ping timeout: 240 seconds]
robotoad has quit [Quit: robotoad]
pfdietz has joined #lisp
fikka has joined #lisp
fiddlerwoaroof has quit [Read error: Connection reset by peer]
knx has quit [Remote host closed the connection]
equwal has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 264 seconds]
fiddlerwoaroof has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
haom has joined #lisp
milanj has joined #lisp
milanj has quit [Remote host closed the connection]
milanj has joined #lisp
makomo has joined #lisp
shka1 has joined #lisp
kajo has quit [Ping timeout: 256 seconds]
kajo has joined #lisp
puchacz has joined #lisp
puchacz has quit [Client Quit]
makomo has quit [Ping timeout: 264 seconds]
zigpaw has quit [Remote host closed the connection]
zigpaw has joined #lisp
terpri has joined #lisp
acolarh has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 276 seconds]
acolarh has joined #lisp
quazimodo has quit [Ping timeout: 244 seconds]
quazimodo has joined #lisp
lumm has joined #lisp
random-nick has joined #lisp
MoziM has quit [Quit: WeeChat 2.2]
LdBeth[m] is now known as LdBeth
rumbler31 has joined #lisp
varjag has joined #lisp
rumbler31 has quit [Ping timeout: 276 seconds]
Kundry_Wag has joined #lisp
DemolitionMan has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
saki has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
saki has quit [Ping timeout: 276 seconds]
jfb4` has joined #lisp
jfb4 has quit [Ping timeout: 276 seconds]
lemoinem has quit [Ping timeout: 244 seconds]
lemoinem has joined #lisp
<drduck`>
What is used in common lisp as a log/data aggregation tool that is analagous to apache kafka?
rozenglass has quit [Remote host closed the connection]
nika has quit [Quit: Leaving...]
quazimodo has quit [Ping timeout: 244 seconds]
Inline has quit [Quit: Leaving]
MoziM has joined #lisp
pioneer42 has left #lisp [#lisp]
MoziM has quit [Client Quit]
lemoinem has quit [Ping timeout: 276 seconds]
lemoinem has joined #lisp
Bike has joined #lisp
makomo has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
JuanDaugherty has quit [Quit: Exeunt]
aindilis has joined #lisp
<LdBeth>
drduck`: it uses POSIX’s system logging facilities
<LdBeth>
So it’s actually limited to what can be used to analyze Unix’s system log
Kundry_Wag has joined #lisp
caltelt has quit [Ping timeout: 240 seconds]
varjag has quit [Ping timeout: 276 seconds]
Kundry_Wag has quit [Ping timeout: 248 seconds]
lemo has joined #lisp
lemoinem has quit [Ping timeout: 244 seconds]
lemoinem has joined #lisp
Inline has joined #lisp
lumm has quit [Quit: lumm]
lumm has joined #lisp
lumm has quit [Read error: Connection reset by peer]
orivej has joined #lisp
jfb4` has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
Ven`` has joined #lisp
smurfrobot has joined #lisp
lumm has joined #lisp
markoong has joined #lisp
Cthulhux has quit [Changing host]
Cthulhux has joined #lisp
smurfrobot has quit [Remote host closed the connection]
Ven`` has quit [Ping timeout: 248 seconds]
Ven`` has joined #lisp
saki has quit [Quit: saki]
lemoinem has quit [Ping timeout: 276 seconds]
lemoinem has joined #lisp
schweers has joined #lisp
Bike has quit [Ping timeout: 264 seconds]
smurfrobot has joined #lisp
graphene has quit [Remote host closed the connection]
milanj has quit [Quit: This computer has gone to sleep]
graphene has joined #lisp
jasmith has quit [Quit: Leaving]
saki has joined #lisp
nowhere_man has quit [Read error: Connection reset by peer]
EvW has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
nowhere_man has joined #lisp
skeuomorf has joined #lisp
skeuomorf has left #lisp [#lisp]
nowhere_man has quit [Ping timeout: 256 seconds]
nowhere_man has joined #lisp
rippa has joined #lisp
schweers has quit [Remote host closed the connection]
lumm has quit [Quit: lumm]
lumm has joined #lisp
drduck_2 has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
<drduck_2>
I'd like to create a web service in common lisp that can be targeted by a web application and mobile application. What would be the appropriate library that would help the most for this?
<drduck_2>
I was wondering if caveman would be what I wanted, but it looks like it looks like it is biased towards/built for just web applications.
smurfrobot has quit [Remote host closed the connection]
<drduck_2>
I may be wrong. Seeing html-specific portions made me think so, though.
<drduck_2>
I guess I don't have to use those portions. I will just play with it and see if I can configure it, unless there are any suggestions.
haom has left #lisp [#lisp]
<drduck_2>
New to common lisp and web development, pretty much, so I'm kinda blind here. :P
smurfrobot has joined #lisp
<beach>
I suggest you talk to Shinmera.
<pjb>
drduck_2: I would do the thing myself. Why do you want to rely on dependencies that may or may not match your needs. If you're new you don't even know what you need! Develop it yourself and see what your need is!
ykm has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
<drduck_2>
Well I'd like to get it up and running as quickly as possible. Building it myself would be a humongous time sink, I think.
fikka has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 240 seconds]
<drduck_2>
If there's a library, like Flask or something, for common lisp where I can use it as a web service framework and not a web application framework, that would be great.
<drduck_2>
Where does one find this Shinmera, beach?
<beach>
I think he has his own IRC channel. I forget the name of it though.
<beach>
#shirakumo
jmercouris has joined #lisp
graphene has quit [Remote host closed the connection]
quazimodo has joined #lisp
graphene has joined #lisp
jmercouris has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
<drduck_2>
Anyone here ever made a web service in common lisp?
<drduck_2>
And used a framework?
<beach>
Yes, Shinmera has.
<beach>
His channel is named #shirakumo
<drduck_2>
I went and asked him.
saki has quit [Ping timeout: 244 seconds]
<drduck_2>
I guess he's sleep.
<beach>
It's the weekend. He may be having some social activity.
lumm has quit [Read error: Connection reset by peer]
<shka1>
drduck_2: also caveman
<shka1>
and webblcoks
<shka1>
and few others
<shka1>
there are multiple web frameworks
lumm has joined #lisp
<shka1>
there is even a web framework for cobol!
<shka1>
web frameworks are just not that hard :P
Kundry_Wag has quit [Ping timeout: 240 seconds]
<drduck_2>
Does caveman force you to couple the web service with the browser webapp? I thought from the looks of it, it did. I may be totally wrong, and it's just providing options incase you decide to.
<trittweiler>
What's the pasting service de vogue, paste.lisp.org seems no longer available
<flip214>
trittweiler: pastebin.org
caltelt has joined #lisp
<esthlos>
sorry, in and out right now
slyrus2 has quit [Ping timeout: 268 seconds]
slyrus_ has quit [Ping timeout: 276 seconds]
<esthlos>
beach: that's an interesting idea. I have to constantly make new vectors. question then is what costs more: creating the wrapped-bitvector, or the dumb rotation with a loop and setf
<esthlos>
I'll do some timing tests and check it out
<esthlos>
obviously your method scales far better, but these bit vectors are capped at 2^7 in length
<flip214>
esthlos: do you need to rotate by single bits, or only by octets?
<flip214>
anyway, I'd suggest to create the underlying-bitvector with double the size, and setting bit N and (+ N size) at each SETF.
<flip214>
then retrieving any bit sequence can be done with a single call with the offset, no need to check for wraparound
<flip214>
depending on the actual things you need to do a vector of 2^(7+1) bytes where only a single bit is used might be even easier -- though not as L1 cache efficient ;)
<flip214>
esthlos: if it's really only 2^7 bits, why not keep them in a BIGNUM (or, if you have enough control, in one SSE or two CPU registers)?
slyrus1 has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
terpri has joined #lisp
JuanDaugherty has joined #lisp
Achylles has joined #lisp
slyrus_ has joined #lisp
caltelt has quit [Remote host closed the connection]
msmith has joined #lisp
serviteur has joined #lisp
serviteur has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
serviteur has joined #lisp
<esthlos>
flip214: the rotation is by single bits. keeping them in a bignum is also an interesting idea. though I'm trying to be very transparent about bitwise operations in the code itself
graphene has joined #lisp
<esthlos>
bitvector-wise operations, I should say
<msmith>
has anyone compared NTP timestamps to the output of get-universal-time? I seems like the latter is just the first 32 bits of the former. is this correct? by that I mean they both equal the seconds relative to 0h on 1 January 1900 and should be identical
fikka has quit [Ping timeout: 240 seconds]
ikki has quit [Ping timeout: 276 seconds]
caltelt has joined #lisp
msmith has left #lisp [#lisp]
cgay_ has joined #lisp
caltelt_ has joined #lisp
ikki has joined #lisp
runix_1 has joined #lisp
caltelt_ has quit [Remote host closed the connection]
cgay_ has quit [Ping timeout: 240 seconds]
nika has quit [Quit: Leaving...]
fikka has joined #lisp
caltelt_ has joined #lisp
dddddd has joined #lisp
graphene has quit [Remote host closed the connection]
JuanDaugherty has quit [Quit: Exeunt]
karlosz has joined #lisp
graphene has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
patlv has joined #lisp
glv has joined #lisp
FreeBirdLjj has quit [Ping timeout: 276 seconds]
milanj has joined #lisp
glv has quit [Quit: Leaving]
<_death>
the value of g-u-t does not have a fixed bound.. and it ignores leap seconds
varjag has joined #lisp
karlosz has quit [Quit: karlosz]
lumm has joined #lisp
fikka has joined #lisp
aindilis has quit [Ping timeout: 240 seconds]
ayda has joined #lisp
karlosz has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
Achylles has quit [Ping timeout: 256 seconds]
nullniverse has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
Jesin has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
fikka has joined #lisp
karlosz has quit [Quit: karlosz]
fikka has quit [Ping timeout: 264 seconds]
slyrus1 has quit [Remote host closed the connection]
slyrus1 has joined #lisp
karlosz has joined #lisp
fikka has joined #lisp
pagnol has joined #lisp
housel has quit [Read error: Connection reset by peer]
ayda has quit [Ping timeout: 264 seconds]
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
patlv has quit [Ping timeout: 276 seconds]
FreeBirdLjj has quit [Ping timeout: 276 seconds]
Oberon4278 has joined #lisp
fikka has joined #lisp
eminhi has joined #lisp
EvW has joined #lisp
patlv has joined #lisp
aindilis has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
angavrilov has quit [Remote host closed the connection]
gravicappa has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 256 seconds]
aeth has quit [Ping timeout: 260 seconds]
<gendl>
Hi, in CL is there a standard way to specify the default :element-type for opening a file?
<gendl>
or does it always have to be specified explicitly with :element-type on the call to open (or with-open-file etc)?
<shka1>
it defaults to text IIRC
aeth has joined #lisp
<PuercoPop>
gendl: I think there are implementation specific special variables you can bind
<PuercoPop>
but not a portable way to do so
<sjl>
anyone have a link to that paper that talked about simplifying operations on bytes in cl compilers?
<gendl>
PuercoPop: thanks.
<runix_1>
In CL when I want to "clear" an array, is it then basically enough to just set the fill-pointer to 0 and put in values again, or is there something to also consider when doing this? I suppose the alternative would be to create a new array and let the GC collect the old one?
haom has left #lisp [#lisp]
vlatkoB has quit [Remote host closed the connection]
fikka has joined #lisp
<sjl>
runix_1: if you just set the fill pointer, the other elements won't be able to be GC'ed until they get replaced
<sjl>
If you want to clear out all the values to allow them to be GC'ed, you could do (fill array nil) or something similar
<gendl>
PuercoPop: according to the CLHS, "the default is character."http://clhs.lisp.se/Body/f_open.htm. So I guess any implementation which lets you change that default would be violating the standard.
<gendl>
By the way, I heard there's a "specbot" in here, for bringing up pieces of the spec?
patlv has quit [Ping timeout: 276 seconds]
<PuercoPop>
gendl: yeah, you are right. I was thinking of a default encoding instead
<PuercoPop>
weird that a bot doesn't work when the message is directed to them. Btw gendl it can query clhs mop and 'lp' which I'm not sure what it stands for