#lisp - Sun 20 May 2007 between 05:02 and 06:35

NY Lost Funds



GresPSo I get control but things are still hanging there in memory, even queries continue to run
ModiusYikes
GresPYes, it was with Java, about 1.5 yrs ago. In the end I we dumped the MS SQL server drivers and went for a third party one
Is there any path to use a native route, rather than through ODBC?
ModiusCall into dotnet through RDNZL - it'll be a pain :(
jeffzor use the jdbc drivers through foil or something
ModiusI'll use the dotnet ones as I know they work
GresPYeah, I've previously leapt through hoops to avoid the odbc layer.
ModiusGrr - yep, looks like I'm calling into the dotnet
GresPI seem to remember doing something weird like linking in the tables to an MS Access database using the native SQL Server drivers, then using ODBC to connect to the access database. The Jet drivers seemed to iron out a lot of wrinkles ... probably not what you want for production though!!
Anyone have any idea what I'm doing wrong ... I load a package using (asdf:oos 'asdf:load-op :testit) (use-package :testit) (in-package :cl-user), everytime I compile under slime I have to resolve conflicts. How do I avoid that?
Zhivagowhat kind of conflicts?
msinghin a profile report under slime - what units are the entries under "Total Cons" - bytes or cons?
lukegomost probably bytes, but it may depend on which lisp you're using
msinghok thanks
manicwhat's the sub topic?
rkrushHmm, if anyone is familiar with hunchentoot, what should be the request argument to DEFAULT-DISPATCHER be? hunchetoot:*request* seems to be unbound for whatever reason.
Nevermind
GresPIt was symbol conflicts in cl-users. It seems I needed to do the in-package before use-package. Seems have solved it.
manicanybody home?
Dazhboghow can I use a macro (which generates a defun) in a loop?
manicwhat do you mean, you want to make a bunch of defuns?
Dazhbogyes
e.g. from a list
manic`(progn ,@(loop for form in forms collect form))
kinda like ,@body i guess, but you would do some logic on em i suppose
Dazhbogheh, that crossed my mind but somehow I thought the defuns can't be inside a progn
manicreally? naw
DazhbogI'll do it that way .. thank you =)
I don't know if it's wise to generate defuns but I'm doing something quick'n'dirty way
manici generate defmethods
i mean, you can always use the functional interface (setf (symbol-function function-name) #'(lambda (foo) foo))
it's either that or fdefinition, i'm getting tired
then (compile 'function-name)
DazhbogI see =)
manicmy lisp is doing some computations right now so i am going on strained memory
once you figure out common lisp you figure out that you'll never figure it out
Dazhboggreat .. this works now
manicwhich way, the macro, or the setf?
Dazhbogthe macro

Page: 2 9 

IrcArchive

NY Lost Funds