Search found 296 matches

by xytroxon
Mon Apr 18, 2011 8:36 am
Forum: Anything else we might add?
Topic: The Definition of Simple is a Complex Thing...
Replies: 2
Views: 3128

The Definition of Simple is a Complex Thing...

Carl Sassenrath, CTO of REBOL Technologies has posted this long, complicated blog article on the Definition of Simple... http://www.rebol.com/article/0509.html Simple is: 1. Clear abstraction: smart, well-drawn layers of "knowledge focus" that allow hiding of details. 2. Clean expression: meaningful...
by xytroxon
Mon Apr 18, 2011 7:50 am
Forum: newLISP in the real world
Topic: Replacing HTML codes
Replies: 4
Views: 2371

Re: Replacing HTML codes

It's a little more complicated then what I posted from memory... Handling all the HTML special entity codes in html or rss docs is a pain! Besides decimal codes, there are... hexadecimal codes -> � ... ÿ ... &0x150; etc... common codes -> & < >   etc... foreign language -> ¡ &iq...
by xytroxon
Sun Apr 17, 2011 8:50 pm
Forum: newLISP in the real world
Topic: Replacing HTML codes
Replies: 4
Views: 2371

Re: Replacing HTML codes

Code: Select all

(setq text "Telef&#243;nica to Sell Spanish Assets")

; regex flag = 0
(replace "&#.*?;" text (char (int (2 -1 $it))) 0)
(println text)
;-> Telefónica to Sell Spanish Assets
(exit)
-- xytroxon
by xytroxon
Fri Apr 15, 2011 4:33 pm
Forum: newLISP in the real world
Topic: Faster than find?
Replies: 5
Views: 2763

Re: Faster than find?

If these are IPv4 addresses, the numbers are always 8 bit bytes (000 - 255 decimal ie: 00-FF hexadecimal) and can be turned into shorter (faster to search) hex char strings (8 chars for hexadecimal vs 12 chars for decimal)... (set 'n (rand 256 4)) (H (format "%02X%02X%02X%02X" n) 0) n = ( 000 000 00...
by xytroxon
Fri Apr 08, 2011 6:41 pm
Forum: newLISP newS
Topic: dotree, or not to dotree, that is the question!
Replies: 3
Views: 3465

dotree, or not to dotree, that is the question!

Hi Lutz! I'm having problems / confusion when using dotree in a database program. dotree either doesn't work or is of little or no value. The simplified working program below creates, lists, and deletes database tree items using dotree. (new Tree 'pet-db) (pet-db "dog" "King") (pet-db "cat" "Fluffy"...
by xytroxon
Sun Feb 06, 2011 7:05 pm
Forum: So, what can you actually DO with newLISP?
Topic: "52 Lessons in Lisp" project
Replies: 4
Views: 7780

Re: "52 Lessons in Lisp" project

Should be an interesting journey!!!

-- xytroxon
by xytroxon
Sun Feb 06, 2011 7:01 pm
Forum: So, what can you actually DO with newLISP?
Topic: Unbalanced Parentheses discontinued.
Replies: 1
Views: 4098

Re: Unbalanced Parentheses discontinued.

:(

Let's hope he is just upgrading his server scripts to the latest version of newLISP!!!

-- xytroxon
by xytroxon
Fri Sep 17, 2010 7:11 am
Forum: newLISP and the O.S.
Topic: Benchmarking newLISP
Replies: 28
Views: 26679

Re: Benchmarking newLISP

I upgraded over the summer...

2.1GHz AMD Athlon II Dual-Core P320

Image

Number One... Engage...

-- xytroxon ;)
by xytroxon
Wed Aug 11, 2010 6:54 am
Forum: newLISP and the O.S.
Topic: newLISP 'really' on the iPhone...?
Replies: 16
Views: 12388

Re: newLISP 'really' on the iPhone...?

If you send me the total dollar cost of shipping it to you, you can have my old rotary dial phone... Then you can "break" walnut shells open with the handset, without fear of Steve Jobs or Apple lawyers coming after you... Wait a minute... Got him!!! $#*@ mosquitoes... Never mind, I just found anoth...
by xytroxon
Sat Jul 03, 2010 7:09 am
Forum: newLISP in the real world
Topic: SBCL to newLISP
Replies: 19
Views: 6569

Re: SBCL to newLISP

setq setf ! syntax: (setq place-1 exp-1 [place-2 exp-2 ... ]) setq and setf work alike in newLISP and set the contents of a symbol, list, array or string or of a list, array or string place reference. Like set, setq and setf can take multiple argument pairs. Although both setq and setf point to the ...
by xytroxon
Thu Jun 17, 2010 3:57 pm
Forum: newLISP in the real world
Topic: newLISP web server with SSL
Replies: 3
Views: 2106

Re: newLISP web server with SSL

Any suggestions, or am I stuck running Apache or Lighttpd or similar to make this happen? Why do you consider that "stuck"? newLISP's built-in web server isn't exactly designed to serve as a replacement for Apache or lighttpd, it's primarily for testing purposes. Or is this just a matter of conveni...
by xytroxon
Mon Jun 14, 2010 7:08 pm
Forum: newLISP in the real world
Topic: Getting my current function name
Replies: 10
Views: 3787

Re: Getting my current function name

Thanks!!! I decided to use a string based "template function" and use eval-string to dynamically create the desired functions... Each function name being listed once in a list and so is now correctly spelled in the three places it is used in the function... This replaces hand writing dozens of (defi...
by xytroxon
Fri Jun 11, 2010 9:45 pm
Forum: newLISP in the real world
Topic: Getting my current function name
Replies: 10
Views: 3787

Re: Getting my current function name

I thought I found something that might (should?) work... newLISP manual: sym Because the function sym returns the symbol looked up or created, expressions with sym can be embedded directly in other expressions that use symbols as arguments. (setq $fn "myfuncname") (context 'test) (define ((sym $fn '...
by xytroxon
Thu Jun 03, 2010 4:36 pm
Forum: Whither newLISP?
Topic: Lisp and "symbols": difference with Python or other script!
Replies: 9
Views: 5913

Re: Lisp and "symbols": difference with Python or other script!

This Paul Graham piece: "Revenge of the Nerds", gives a good over view... http://www.paulgraham.com/icad.html So the short explanation of why this 1950s language is not obsolete is that it was not technology but math, and math doesn't get stale. The right thing to compare Lisp to is not 1950s hardwa...
by xytroxon
Wed May 12, 2010 9:30 pm
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19407

Re: Manual Notes 10.2.1

Code Patterms

17. Semaphores, shared memory

Allthough controlling processes

should be

Although controlling processes

-- xytroxon
by xytroxon
Sun May 09, 2010 3:26 pm
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19407

Re: Manual Notes 10.2.1

Spelling (again ;p) Acccesses - Accesses Addtionally - Additionally Insteead - Instead I have posted these words (several times) before (in lowercase), we must of had a case sensitively mismatch ;p) ---------- For each function definition you have: <h2><span class="function"> There are two more plac...
by xytroxon
Thu May 06, 2010 12:49 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19407

Re: Manual Notes 10.2.1

Contents User Manual ... 15. Contexts * Symbol creation in contexts * Creating contexts -> anchor not found Change <a href="#scope_context"> To <a href="#creating_contexts"> ===================== Spelling: acccesses - accesses addtionally - additionally comforms - conforms datatype - data type inste...
by xytroxon
Thu Apr 08, 2010 9:14 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19407

Re: Manual Notes 10.2.1

After three hours, I think I narrowed it down to two sections... <b>></b> needs to be changed to <b>></b> An evaluated context (no quote) can be given as an argument: > (context 'FOO) FOO FOO> (context MAIN) MAIN > (set 'old FOO) FOO > (context 'BAR) BAR BAR> (context MAIN:old) FOO FOO> And -> needs...
by xytroxon
Wed Apr 07, 2010 5:56 pm
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19407

Re: Manual Notes 10.2.1

Thank you very much Johu, an updated revision 5 is online here: http://www.newlisp.org/downloads/newlisp_manual.html The xhtml parsing routine (per the post below) now fails... http://newlispfanclub.alh.net/forum/viewtopic.php?p=17931#p17931 ========== newLISP REPL - (Read Execute Print Loop). Pres...
by xytroxon
Sat Apr 03, 2010 6:53 am
Forum: Anything else we might add?
Topic: Grand Unified Theory of AI?
Replies: 1
Views: 2494

Re: Grand Unified Theory of AI?

Interesting.

I ran across this link this week:

Fast Artificial Neural Network Library (FANN)
http://leenissen.dk/fann/

After looking at FANN, it might explain why my smart toaster hasn't taken out the trash this week...

-- xytroxon
by xytroxon
Sat Apr 03, 2010 6:40 am
Forum: Anything else we might add?
Topic: newlisp as a General Purpose java front end.
Replies: 7
Views: 5802

Re: newlisp as a General Purpose java front end.

The Struggle To Keep Java Relevant http://slashdot.org/palm/8/10/04/03/0147255_1.shtml from the onions-on-your-belt dept. posted by timothy on 2010-04-03 03:36:00 snydeq writes "Fatal Exception's Neil McAllister questions Oracle's ability to revive interest in Java in the wake of Oracle VP Jeet Kau...
by xytroxon
Sun Mar 21, 2010 12:51 am
Forum: Anything else we might add?
Topic: newlisp as a General Purpose java front end.
Replies: 7
Views: 5802

Re: newlisp as a General Purpose java front end.

A it's simplest, a "newL J SP" front end would convert newLISP code to Java source code (middle end) that would then be compiled to Java byte code that then would run on the JVM back end... Problems include: o Getting newLISP's C programming paradigm to conform to the Java programming paradigm... o ...
by xytroxon
Sun Mar 14, 2010 7:42 pm
Forum: newLISP newS
Topic: Manual and release notes for upcoming 10.2.0
Replies: 31
Views: 16039

Re: Manual and release notes for upcoming 10.2.0

Spelling errors in Code Patterns 10.1.12 02-23-2010 allthough -> although chracter -> character controlls -> controls conventsions -> conventions distibuted -> distributed fucntion -> function libararies -> libraries mesaging ->messaging messsages -> messages mulitple -> multiple persisten -> persis...
by xytroxon
Sun Mar 14, 2010 12:05 am
Forum: newLISP newS
Topic: Manual and release notes for upcoming 10.2.0
Replies: 31
Views: 16039

Re: Manual and release notes for upcoming 10.2.0

newLISP manual spelling errors: addtionally -> additionally arithmetik -> arithmetic beginnig -> beginning charcaters -> characters comforms -> conforms comminicate -> communicate directoy -> directory Erros -> errors errror -> errors espressions -> expressions exspired -> expired fucntion -> functi...