Search found 11 matches

by Stiv
Thu Dec 30, 2010 1:30 am
Forum: Common Lisp
Topic: Date operation
Replies: 4
Views: 6741

Re: Date operation

Thanks for reply. Yes I use local-time package, this fn: (local-time::universal-to-timestamp (get-universal-time)) The fn (timestamp...) don't work :( . Thanks very much, bye UPDATE:I solve so: (local-time::timestamp+ (local-time::universal-to-timestamp (get-universal-time)) 10 :day) Thanks very muc...
by Stiv
Wed Dec 29, 2010 9:09 am
Forum: Common Lisp
Topic: Date operation
Replies: 4
Views: 6741

Date operation

Hello all!

I have a problem, I've date in this form: @2010-12-29T17:05:43.000000+01:00

How can I add, for example, 10 days?

Thanks, bye
by Stiv
Wed Dec 29, 2010 3:38 am
Forum: Common Lisp
Topic: Get current month
Replies: 7
Views: 7745

Re: Get current month

Thanks very much :)
by Stiv
Tue Dec 28, 2010 7:45 am
Forum: Common Lisp
Topic: Get current month
Replies: 7
Views: 7745

Re: Get current month

Thanks, it works.
by Stiv
Tue Dec 28, 2010 5:24 am
Forum: Common Lisp
Topic: Get current month
Replies: 7
Views: 7745

Re: Get current month

Thanks very much,

I've done so:

Code: Select all

(multiple-value-bind (s min b gg m a b2 b3 b4) 
     (decode-universal-time (get-universal-time))
   (list m))
but it generates many style-warning, how can I improve it?

Thanks,

Bye
by Stiv
Tue Dec 28, 2010 2:51 am
Forum: Common Lisp
Topic: Get current month
Replies: 7
Views: 7745

Get current month

Hi all,

Sorry but I can't get current month :(.
How can I do it?

Thanks,
bye
by Stiv
Tue Oct 05, 2010 4:12 am
Forum: Common Lisp
Topic: sbcl problem
Replies: 9
Views: 8158

Re: sbcl problem

Ramarren wrote:
Stiv wrote:But the compile doesn't work
In what way does it not work?
Stiv wrote:How can I unistall and reinstall?
Rather obviously

Code: Select all

sudo port uninstall sbcl
sudo port install sbcl +threads
Thanks!
When I reinstalled sbcl I did "sudo mv sbcl.macport sbcl" and now it works.

Thanks!
Bye!
by Stiv
Thu Sep 30, 2010 3:24 am
Forum: Common Lisp
Topic: sbcl problem
Replies: 9
Views: 8158

Re: sbcl problem

This means that you already have install SBCL from Macports, and it will not, by default rebuild only to change variants. You either have to uninstall and reinstall, or maybe do: sudo port upgrade --enforce-variants sbcl +threads Thank you very much for the answers you are very kind and patient. I ...
by Stiv
Thu Sep 30, 2010 1:39 am
Forum: Common Lisp
Topic: sbcl problem
Replies: 9
Views: 8158

Re: sbcl problem

I'm using Mac OS with macport. With Macports you can build a reasonably recent version of SBCL with: port install sbcl +threads Thanks, I already try to do this: $ sudo port install sbcl +threads ---> Computing dependencies for sbcl ---> Cleaning sbcl I didn't undestand this message. But when I try...
by Stiv
Wed Sep 29, 2010 10:01 am
Forum: Common Lisp
Topic: sbcl problem
Replies: 9
Views: 8158

Re: sbcl problem

Thanks for reply, I try to do this: - Download sbcl-1.0.29-x86-darwin-binary-r2.tar.bz2 - Uncompress this file - Created file: customize-target-features.lisp with code - I didn't find make.sh - so I did: "sudo sh install.sh" but it appears the same error. :( I'm using Mac OS with macport. ...