Search found 145 matches

by kanen
Tue May 25, 2010 5:26 pm
Forum: Whither newLISP?
Topic: Developing commercial software
Replies: 38
Views: 24601

Re: Developing commercial software

I have long considered this argument, as the creator of commercial software, which used newLISP. In the previous case, we had a search engine and it did not require us to share the source code or distribute anything to a client, it was all server-side. This worked, but we were considering the idea o...
by kanen
Mon May 17, 2010 7:33 pm
Forum: newLISP newS
Topic: カネ|BOX WHITE PAPER & DOCUMENTATION
Replies: 2
Views: 3389

Re: カネ|BOX WHITE PAPER & DOCUMENTATION

Thanks! Will be fixed in the next revision.
m35 wrote:May 15, 2010 version, page 20
The カネ|box Engine requires every module to function properly, is it passes complex, (often)
encrypted information between modules
p26
Creating a new Training Set is requires a set of gathered traffic
by kanen
Sun May 16, 2010 1:59 am
Forum: newLISP newS
Topic: カネ|BOX WHITE PAPER & DOCUMENTATION
Replies: 2
Views: 3389

カネ|BOX WHITE PAPER & DOCUMENTATION

A pre-release of the カネ|BOX WHITE PAPER & DOCUMENTATION is available at http://www.kane-box.com or at http://www.lifezero.org (always the latest pre-release version). I am sharing this because: a) It's fun b) I want feedback c) カネ|box was written entirely in newLISP Feel free to send me your comment...
by kanen
Fri May 07, 2010 6:42 am
Forum: newLISP in the real world
Topic: Show all contexts?
Replies: 1
Views: 1374

Show all contexts?

I am certain this has already been answered somewhere, but... I cannot find the answer.

How would one go about listing all the contexts one has created?
by kanen
Wed May 05, 2010 4:48 pm
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19539

Re: Manual Notes 10.2.1

In the manual; member syntax: (member exp list) syntax: (member str str-key [num-option]) Shouldn't this be: syntax: (member str-key str [num-option]) Because the format is actually; (member "f" "a b c d e f") Where "f" is the key to search for and "a b c d e f" is the string. Or, does str-key mean ...
by kanen
Tue May 04, 2010 5:53 am
Forum: newLISP in the real world
Topic: Fast find, between two numbers, in a list
Replies: 15
Views: 4768

Re: Fast find, between two numbers, in a list

Yes, the data looks like Cormullion suggested. Here's an example; (set 'loc '( ("41.0.0.0" "2097152" 687865856 689963008 "ZA") ("41.32.0.0" "1048576" 689963008 691011584 "EG") ("41.48.0.0" "524288" 691011584 691535872 "ZA") ("41.56.0.0" "65536" 691535872 691601408 "ZA") ("41.57.0.0" "65536" 69160140...
by kanen
Mon May 03, 2010 2:57 am
Forum: newLISP in the real world
Topic: Fast find, between two numbers, in a list
Replies: 15
Views: 4768

Fast find, between two numbers, in a list

I have a very large list, over 100,000 entries. It's in the form: ("name" number1 number2) I'd like to take a value and find the "name" that occurs between the two numbers. For example; ("kanen" 100 200) Such that, the number 150 would fall within the above range and return "kanen" I've tried severa...
by kanen
Tue Apr 27, 2010 9:38 am
Forum: newLISP newS
Topic: new 'net-packet' for low level network packet configuration
Replies: 3
Views: 3388

Re: new 'net-packet' for low level network packet configuration

On Sunday, I'll have access to a Mac OS 10.6.x Intel machine and can test, if necessary. I have a new 'net-packet' working on Linux Intel (little-endian) and PPC G4 Mac OSX Tiger (big-endian), not yet on OSX Snow Leopard on Intel. Unfortunately these are the only machines, I have root/sudo access to...
by kanen
Sun Apr 25, 2010 11:03 pm
Forum: newLISP newS
Topic: new 'net-packet' for low level network packet configuration
Replies: 3
Views: 3388

Re: new 'net-packet' for low level network packet configuration

And, among the users of newLISP, massive joy followed...
by kanen
Sun Apr 25, 2010 8:42 pm
Forum: newLISP and the O.S.
Topic: newLISP on a chip - is it possible?
Replies: 3
Views: 4046

Re: newLISP on a chip - is it possible?

Not quite "on a chip" -- but, fundamentally the same thing. Movitz is a small (almost) ANSI complete Common Lisp which runs on bare x86 http://common-lisp.net/project/movitz/ http://en.wikipedia.org/wiki/Movitz http://kmkeen.com/tiny-code/index.html Seems like we could do this with newLISP as well. ...
by kanen
Sun Apr 25, 2010 8:13 pm
Forum: newLISP in the real world
Topic: (save) is SLOW
Replies: 1
Views: 1320

(save) is SLOW

Using (save) is very, very slow for some reason. (load) on the other hand, is quite fast. I understand (save) is doing slightly more work in the following example, but the speed difference is staggering. And, for large lists... the speed difference makes me want to use (write-file) and do conversion...
by kanen
Sat Apr 24, 2010 7:03 pm
Forum: newLISP in the real world
Topic: util/link.lsp (and modules)
Replies: 5
Views: 2675

Re: util/link.lsp (and modules)

I actually do not have to release my source code. This has been a long-standing debate among users of the gcc compiler, which is licensed under GPL, but allows you to write (and then compile) your non-GPL source code and distribute it as a binary. If everyone who used gcc had to release their code, ...
by kanen
Fri Apr 23, 2010 6:43 am
Forum: newLISP in the real world
Topic: util/link.lsp (and modules)
Replies: 5
Views: 2675

Re: util/link.lsp (and modules)

So... this adds another module for me to write. :) I understand the security issue of people being able to reverse it, I just want to be able to create a pre-compiled version for different operating systems to make life easier for everyone. Thanks. Yes, the only way is, too merge the modules into on...
by kanen
Thu Apr 22, 2010 7:48 pm
Forum: newLISP in the real world
Topic: util/link.lsp (and modules)
Replies: 5
Views: 2675

Re: util/link.lsp (and modules)

bump
by kanen
Wed Apr 21, 2010 8:25 pm
Forum: newLISP in the real world
Topic: append demands a string
Replies: 1
Views: 1419

append demands a string

Most of newLISP is forgiving, not so with append. newLISP v.10.2.4 on Linux IPv4 UTF-8, execute 'newlisp -h' for more info. > (set 'foo 4) 4 > (println "foo is: " foo) foo is: 4 4 > (println (append "foo is: " foo)) ERR: string expected in function append : foo > (println (append "foo is: " (string ...
by kanen
Wed Apr 21, 2010 8:27 am
Forum: newLISP in the real world
Topic: (parse) oddness
Replies: 7
Views: 3374

Re: (parse) oddness

Like on Win XP with 10.2.1 it runs correctly on UNIX too with all versions of newLISP. Vi adds extra line feed character(s) on Windows and on UNIX, even if not typed in and not visible in vi. Yes it does, because vi added a ":set binary" or a "-b" command-line option. This might be enough to migrat...
by kanen
Wed Apr 21, 2010 3:37 am
Forum: newLISP and the O.S.
Topic: newLISP on a chip - is it possible?
Replies: 3
Views: 4046

Re: newLISP on a chip - is it possible?

I find this topic fascinating. When we were doing kozoru, we basically did the same thing, but with iron. We had custom OpenBSD kernels, on flash drives, that would boot directly into newLISP with no operating system at all, other than the newLISP interpreter. It went from the Unix kernel to newLISP...
by kanen
Tue Apr 20, 2010 11:06 pm
Forum: newLISP in the real world
Topic: (parse) oddness
Replies: 7
Views: 3374

Re: (parse) oddness

Makes sense as to what is happening - (read-file) adding a trailing newline. I consider this to be a bug, though, unless someone can correct my thinking. Perhaps I should be reading the file differently? If there isn't a trailing "\n" in "sites-sm.txt", then is one being appended in (read-file "site...
by kanen
Tue Apr 20, 2010 10:42 pm
Forum: newLISP in the real world
Topic: (parse) oddness
Replies: 7
Views: 3374

Re: (parse) oddness

I thought the same thing, but... unless I completely misunderstand how (parse) works, I can tell you there is no trailing newlines in the file. Opening it in vim or another editor shows only a newline after each entry, but not an extra, trailing newline. Yes, your solution fixes the problem, but the...
by kanen
Tue Apr 20, 2010 8:39 pm
Forum: newLISP in the real world
Topic: (parse) oddness
Replies: 7
Views: 3374

(parse) oddness

I have a problem, where parse is returning an extra item. I have attached code for this problem, with comments. ;; sites-sm.txt [text] ;; copy below to sites-sm.txt 1 google.com 2 facebook.com 3 yahoo.com 4 youtube.com 5 live.com 6 wikipedia.org 7 blogger.com 8 baidu.com 9 msn.com 10 yahoo.co.jp [/t...
by kanen
Tue Apr 20, 2010 7:27 pm
Forum: newLISP and the O.S.
Topic: sniff.lsp "Core Dump" on 10.2.4-dev
Replies: 2
Views: 2843

Re: sniff.lsp "Core Dump" on 10.2.4-dev

You are correct, sir. I assumed an offline file would be exactly the same as traffic. Turns out there's a slight difference which was causing the fault/dump. That's what I get for assuming. The original sniff works fine for me using v.10.2.4 on UBUNTU 9.10. I guess it has to do with the pcap_open_of...
by kanen
Tue Apr 20, 2010 7:25 pm
Forum: newLISP in the real world
Topic: More sniff.lsp woes...
Replies: 2
Views: 1640

Re: More sniff.lsp woes...

Yes, that's basically what I have been looking at doing. Right now, I am simply throwing the packet away, just to keep everything from falling apart. But, I will need to handle all protocols soon and that has become a high priority for me. Thanks for looking at this and responding. I really apprecia...
by kanen
Mon Apr 19, 2010 8:52 pm
Forum: newLISP in the real world
Topic: More sniff.lsp woes...
Replies: 2
Views: 1640

More sniff.lsp woes...

Without sounding like I am complaining about it... sniff.lsp has given me nothing but trouble. I suspect I will have a complete rewrite of this code by the time kane|box is released. As you know, I added pcap_open_offline so I could open pcap files instead of sniff traffic, which allows me to better...
by kanen
Mon Apr 19, 2010 5:37 pm
Forum: newLISP and the O.S.
Topic: sniff.lsp "Core Dump" on 10.2.4-dev
Replies: 2
Views: 2843

sniff.lsp "Core Dump" on 10.2.4-dev

Yep. $ newlisp sniff.lsp wlan0 Segmentation fault (core dumped) I ran another program (sniffex.c) which I compiled after this happened and it runs just fine. Something is broken in newLISP 10.2.4. Anything you need from me to help find and fix this issue? Thanks. Linux openkane 2.6.32-21-generic #32...
by kanen
Sun Apr 18, 2010 6:29 pm
Forum: newLISP newS
Topic: development version newLISP v.10.2.4
Replies: 2
Views: 2894

Re: development version newLISP v.10.2.4

In 10.2.4, "loaded file" prints to console/shell when I load files now? Is this a bug?

Code: Select all

> (load "module-name.lsp")
loaded file
I believe the default should be to not print "loaded file" to STDOUT.