Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ishpeck

#1
I've been wanting this for quite a while.  I tried a few times to make it but never had the determination.  Too bad I've sworn Geany off in favor of Emacs already.
#2
Whither newLISP? / Re: Why dynamic scope?
June 02, 2012, 07:39:04 AM
Quote from: "arquebus"I also plan to learn emacs which means I will learn elisp, so I am now much more motivated to thoroughly understand elisp now...


emacs is my very best friend.  



Be sure to get newlisp mode for emacs.

http://www.artfulcode.net/projects/">http://www.artfulcode.net/projects/



It's delightful.
#3
Anything else we might add? / What we need is a patch...
February 28, 2012, 03:11:59 PM
http://www.custompatches.net/">http://www.custompatches.net/



Wondering if anybody would throw a hissy-fit if I took the dragon fly logos in the art section ( http://www.newlisp.org/index.cgi?page=Art">http://www.newlisp.org/index.cgi?page=Art ) and made embroidered patches out of them.



I'd love to sew one into my backpack.
#4
Personally, I wanted SOPA to pass.  Then I want Facebook to get shut down.  It'll be precisely the motivation we need to push for decentralized DNS, heavy crypto, signatures on all data, and other things that I believe the Internet needs.
#5
newLISP newS / Re: newLISP Stable Release v.10.4.0
February 16, 2012, 07:34:54 PM
Running Arch Linux x86_64, had the following.


In file included from newlisp.c:20:0:
newlisp.h:37:56: fatal error: x86_64-linux-gnu/ffi.h: No such file or directory
compilation terminated.


Changed newlisp.h to get it compiling.


[ishpeck@kiyoshi newlisp-10.4.0]$ export C_INCLUDE_PATH=/usr/lib/libffi-3.0.10/include:/usr/include
[ishpeck@kiyoshi web]$ diff newlisp.h newlisp-10.4.0/newlisp.h
37,38c37
< /*#  include <x86_64-linux-gnu/ffi.h>*/    /* ubuntu_x64 */
< #include <ffi.h>
---
> #  include <x86_64-linux-gnu/ffi.h>    /* ubuntu_x64 */


Seems to work now.
#6
Wait a second... this is not only not terrible, it's actually pretty durned good!
#7
When I use exec or ! to run a shell command, I want to get strings containing the contents of stdout and stderr (even if empty) as well as the exit code of the program.



I could direct the output in the command like so:

(! "ls 2>/tmp/err >/tmp/out")



And then just read those files but that seems horribly crufty.

 

Now exec gives me stdout but I still  want exit code and stderr.



Is there a better way to see what is happening with the programs I run?
#8
You can never have too many text editors.  I collect them like my wife collects shoes.
#9
Whither newLISP? / Re: Why no closures?
October 24, 2011, 03:43:01 PM
It's good to see that I'm the one who's the moron.



Thanks for the help, all.
#10
Whither newLISP? / Why no closures?
October 21, 2011, 01:18:45 PM
I'm really quite surprised that this isn't in the FAQ.



Why don't we have closures now?


> (define (foo x) (lambda (y) (+ x y)))
(lambda (x) (lambda (y) (+ x y)))
> ((foo 3) 4)

ERR: value expected in function + : x


I can do this in Common Lisp:
[16]> (defun foo (x) (lambda (y) (+ x y)))
FOO
[17]> (apply (foo 3) '(5))
8




Was this part of the design philosophy or have we just not done it yet?
#11
newLISP newS / Re: Helping where I can - Stylish Theme
October 04, 2011, 08:32:44 PM
Yeah, I abuse the crap out of Stylish.  I can't browse the web without it anymores.
#12
newLISP newS / Helping where I can - Stylish Theme
September 23, 2011, 09:59:04 PM
http://userstyles.org/styles/54032/newlisp-dark">//http://userstyles.org/styles/54032/newlisp-dark

White backgrounds make my eyeballs cry out in agony.  Accordingly, made this.
#13
Why have I never seen this before?



Now I know why my life, up to this point, has been so empty.



I approve.
#14
Noticed a similar problem on my OpenBSD 4.9 system.  



/usr/local/share/newlisp-10.2.16/modules/mysql.lsp had a line like...


"/usr/local/lib/libmysqlclient.so.19.0" ; OpenBSD 4.6

I changed it like so:


"/usr/local/lib/libmysqlclient.so.20.0" ; OpenBSD 4.9

And now it works.   You'd think the package maintainers would'a caught that.  :P