Search found 145 matches

by kanen
Sun Dec 30, 2012 8:51 pm
Forum: newLISP in the real world
Topic: Encrypt output transform, help please?
Replies: 8
Views: 5350

Encrypt output transform, help please?

I am using the newLisp (encrypt) function to encrypt something and need to decrypt it somewhere else, in JavaScript. Then, I have to send back a response from JavaScript and decrypt it in newLisp. My JavaScript is weak-sauce, but here's the gist (cobbled together from the Internets): https://gist.gi...
by kanen
Wed Dec 26, 2012 2:01 am
Forum: newLISP in the real world
Topic: SHA2 Module
Replies: 4
Views: 2711

Re: SHA2 Module

I'm basically thinking of porting this link http://www.movable-type.co.uk/scripts/sha256.html to newLisp.

Unfortunately, I'm waist-deep in Android right now...
by kanen
Wed Dec 26, 2012 1:59 am
Forum: newLISP and the O.S.
Topic: newLisp on Android (redux)
Replies: 6
Views: 6360

Re: newLisp on Android (redux)

As of a few weeks ago, this is done. See the forums for details. :)
by kanen
Tue Dec 25, 2012 9:40 pm
Forum: newLISP in the real world
Topic: SHA2 Module
Replies: 4
Views: 2711

Re: SHA2 Module

I'm trying to do this in newLisp, so I don't ever have to rely on a an external library. You could do a smaller library using those two files: http://www.opensource.apple.com/source/CommonCrypto/CommonCrypto-7/Source/sha2.c?txt http://www.opensource.apple.com/source/CommonCrypto/CommonCrypto-7/Sourc...
by kanen
Tue Dec 25, 2012 7:54 pm
Forum: newLISP in the real world
Topic: SHA2 Module
Replies: 4
Views: 2711

SHA2 Module

Has anyone written an SHA2 module or function that doesn't rely on libcrypto?

I have an MD5 hash function that works, but I'm worried about collisions.

Anyone?
by kanen
Sun Dec 23, 2012 8:25 pm
Forum: newLISP in the real world
Topic: http Proxy Server
Replies: 0
Views: 2256

http Proxy Server

Has anyone written an http/web proxy server?

I'm playing around and want to see if I can make this work with Mozilla/Chrome/etc.

Norman? :)
by kanen
Sat Dec 22, 2012 5:42 am
Forum: newLISP newS
Topic: newLisp on Android
Replies: 6
Views: 13680

Re: newLisp on Android

Lutz wrote:Instructions and download are now online at newlisp.org too:

http://www.newlisp.org/code/ANDROID.html
Small mistake:

Code: Select all

kanen (~/Code/android-sdk/tools)$ ./emulator -avd TrustMe
Should be

Code: Select all

kanen (~/Code/android-sdk/tools)$ ./emulator -avd MyEmulator
by kanen
Fri Dec 21, 2012 7:23 am
Forum: newLISP newS
Topic: newLisp on Android
Replies: 6
Views: 13680

newLisp on Android

We have it working. It's stable. It is missing (semaphore), which requires libraries that do not exist on Android. I'm attaching the full source, hoping Lutz will add everything necessary to make this work as part of the main newlisp download. Steps to compile: 1. Download the android-ndk - http://d...
by kanen
Fri Dec 21, 2012 6:52 am
Forum: newLISP and the O.S.
Topic: Port to Android wanted...
Replies: 1
Views: 2811

Re: Port to Android wanted...

Already done.

I'll post the diffs and the makefile soon. We've had it working on several Android devices for over a week now.
by kanen
Wed Dec 05, 2012 1:25 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 10784

Re: CGI input data disappearing

Thanks to Kirill, there's now a patch that also fixes this problem for web.lsp (part of artful-code).

You can always grab the latest version at:

https://github.com/kanendosei/artful-newlisp
by kanen
Thu Nov 15, 2012 11:44 pm
Forum: newLISP in the real world
Topic: Sublime Text
Replies: 3
Views: 2572

Sublime Text

sublime_newlisp.png I'm in love with Sublime Text 2. It has replaced vim, TextMate and BBEdit completely. With the newLisp bundle & a few tweaks, it's pretty much perfect. Thanks to @curmullion for the syntax file. https://github.com/cormullion/newlisp-sublime-text-2-package http://www.nerdi.net/bl...
by kanen
Wed Nov 14, 2012 11:49 pm
Forum: newLISP in the real world
Topic: newlisp and openwrt
Replies: 9
Views: 4231

Re: newlisp and openwrt

Actually, if you go to https://github.com/kanendosei/kane-box/tree/master/openwrt -- you will see a Makefile for OpenWRT which works and creates a semi-reasonable version of newLisp. You just have to put the newlisp Makefile in the right place ( ~/openwrt/package/newlisp directory ) and it will grab...
by kanen
Wed Nov 14, 2012 11:44 pm
Forum: Anything else we might add?
Topic: We need a app store or cpan !
Replies: 5
Views: 5209

Re: We need a app store or cpan !

I'm massively in favor of this.

Something that would allow newLisp install modules into the current "NEWLISPDIR" + /modules directory if they didn't already exist there.

While I'm wishing, I'd add versioning to the modules, so we know if one has been updated.
by kanen
Wed Nov 14, 2012 11:36 pm
Forum: newLISP in the real world
Topic: crypto.lsp extention RIPEMD160
Replies: 3
Views: 2492

Re: crypto.lsp extention RIPEMD160

Anyone ever get Blowfish working in crypto?
by kanen
Thu Oct 25, 2012 7:45 am
Forum: newLISP in the real world
Topic: newLisp and DynamoDB (Amazon)
Replies: 2
Views: 2328

newLisp and DynamoDB (Amazon)

Anyone have this working? If not, I'm likely going to write a module, as I need this functionality. It looks like it's possible to query DynamoDB through an http/https standard request - http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/MakingHTTPRequests.html . This seems simil...
by kanen
Wed Oct 17, 2012 6:37 pm
Forum: newLISP and the O.S.
Topic: newLisp on Android (redux)
Replies: 6
Views: 6360

newLisp on Android (redux)

I am very interested in having newLisp running on Android (especially the mobile version). Ice Cream Sandwich or higher is fine.

Anyone made this work yet?

Let me know. I'd love to collaborate and/or figure out how to make it happen.
by kanen
Tue May 01, 2012 2:39 am
Forum: newLISP and the O.S.
Topic: BBedit run bindings on OSX Lion
Replies: 6
Views: 5402

Re: BBedit run bindings on OSX Lion

Care to share? Mine is old and crappy and doesn't support any of the new keywords or proper variable highlighting as part of its syntax. I've been sticking with TextMate because the newLisp language Bundle just works (and I can add words and fix it when it doesn't, without having to figure out Ph.D....
by kanen
Tue May 01, 2012 2:35 am
Forum: newLISP newS
Topic: Artful Code
Replies: 0
Views: 3240

Artful Code

As you likely already know, I'm hosting and supporting the "Artful Code" modules. Recently, because of some security problems with github, the repository location has changed. Please go to http://ScruffyThinking.com/artful or visit the github page directly at https://github.com/kanendosei/artful-new...
by kanen
Fri Mar 16, 2012 6:19 am
Forum: newLISP in the real world
Topic: (parse x {\n}) vs (parse x "\n")
Replies: 1
Views: 1481

(parse x {\n}) vs (parse x "\n")

The title says it all.

I have a file called "foo"

Code: Select all

foo
bar
baz
bif
doodle

Code: Select all

> (length (parse (read-file "foo") "\n"))
6
> (length (parse (read-file "foo") {\n}))
1
What am I missing in this behavior?
by kanen
Sat Mar 10, 2012 1:23 am
Forum: newLISP and the O.S.
Topic: BBedit run bindings on OSX Lion
Replies: 6
Views: 5402

Re: BBedit run bindings on OSX Lion

What code less module are you using in BBEdit for syntax highlighting?

I've tried to move to BBEdit for newLisp and I keep going back to TextMate for various reasons, not the least of which is auto-paren matching.
by kanen
Thu Dec 15, 2011 10:16 pm
Forum: So, what can you actually DO with newLISP?
Topic: Web-based arbitrary file grab?
Replies: 2
Views: 5357

Re: Web-based arbitrary file grab?

I'm invoking newLisp and DragonFly directly: /usr/bin/newlisp" /var/web/framework/newlisp-redirection.lsp -http -d 8080 -w /var/web Short of writing a pre-processor prior to the url-rewrites in DragonFly, I just don't see any way to fix this issue, which only happens when I double slash for a root f...
by kanen
Wed Dec 14, 2011 11:03 pm
Forum: So, what can you actually DO with newLISP?
Topic: Web-based arbitrary file grab?
Replies: 2
Views: 5357

Web-based arbitrary file grab?

When running newLisp in web mode and using the DragonFly framework, I've noticed redirection works fine, except when someone types something like: http://server//root-file In this case, it grabs the /root-file contents and displays them as plain text in the browser. Am I missing some obvious setting...
by kanen
Thu Aug 18, 2011 3:52 pm
Forum: newLISP newS
Topic: Artful Code
Replies: 12
Views: 10192

Re: Artful Code

I love Dragonfly. I use it every single day. Having said that, the framework is heavier than I would want and has a bit of a learning curve for normal users. In a perfect world, I can imagine a single module which acts as a kind of preprocessor for all web-based (and .cgi) interactions in the system...
by kanen
Wed Aug 17, 2011 12:31 am
Forum: newLISP newS
Topic: Artful Code
Replies: 12
Views: 10192

Re: Artful Code

My gawd. I'd love to.

I use web.lsp and Dragonfly nearly every single day in my coding work. I'd love to merge parts of Dragonfly into a new project and add parts of Artful Web.

We need a canonical, updated version of a web framework for newLisp. :)
by kanen
Tue Aug 16, 2011 8:32 pm
Forum: newLISP newS
Topic: Artful Code
Replies: 12
Views: 10192

Artful Code

I have taken over maintenance and coding for all the Artful Code modules and plan some pretty significant updates to them over the next months. The new location is at http://www.ScruffyThinking.com/ under "Artful Code" heading. The project has been permanently moved to ScruffyThinking and to github....