Search found 173 matches

by joejoe
Thu Jan 07, 2016 7:28 am
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

Re: scaling list addressing

Super, got you 100% Ted!

Correct me if better,

Get going with the cookie here:

http://www.newlisp.org/syntax.cgi?code/cookie-cgi.txt

and tie it to the user form login info? Then use both to authenicate schedule access?

Thanks again!
by joejoe
Thu Jan 07, 2016 4:29 am
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

Re: scaling list addressing

Ok big thanks Ted!

I understand the code above to test whether a script is public, and allow it if so.

Am I on a good line of thinking to have a user/pass/cookie allow private schedules to display?

Thanks again! :)
by joejoe
Wed Jan 06, 2016 1:15 am
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

Re: scaling list addressing

So your data model is like this: Every schedule is unique, will have a unique name or key. Every schedule will have a creator/owner. Every schedule will be either public or private. Then I propose that the schedules format is like this: ;; (schedule "schedule1" "owner1" 'public 1 2 3 4 ...) That ma...
by joejoe
Sat Jan 02, 2016 9:40 pm
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

Re: scaling list addressing

Thanks again TedWalther! Too vague. How would "other" users access a users schedule? What would they do with it? [...] When a user creates a schedule, that user can set that schedule to be private or public. Users could create their own schedule or they could browse and use public schedules. Each us...
by joejoe
Thu Dec 31, 2015 4:29 am
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

Re: scaling list addressing

TedWalther, I appreciate the "contexts as dictionaries", thanks and it makes great sense! So the question is, is a schedule unique. Yes, every is schedule unique. What do you mean by "allow another user to access the schedule". I mean, any user could access another's schedules. Does a schedule alway...
by joejoe
Thu Dec 31, 2015 3:04 am
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

Re: scaling list addressing

Swiss Army Ted! Greatest improvement! Thank you for this! I like that your schedules:add method allows me to put in more list elements if needed! I also appreciate how this method creates a nested list of usernames with their associated data. How then would be best to use implicit indexing to call u...
by joejoe
Sun Dec 27, 2015 11:21 pm
Forum: newLISP in the real world
Topic: scaling list addressing
Replies: 12
Views: 9826

scaling list addressing

Hi and thanks! I would like to associate a username with a bunch of schedules (lists), or vice versa. Would anyone please direct towards an efficient way to scale this type of data structure: ; Format: Schedule# (Username, Schedule Name, Start Time, Interval in Seconds, Expiry). (set 'S0 '("Username...
by joejoe
Sun Nov 29, 2015 11:40 pm
Forum: newLISP in the real world
Topic: Finding infos in search engines
Replies: 3
Views: 5183

Re: Finding infos in search engines

I think you will have to wait until there are more newLISP web sites out there.

I see at keywordspy.com that linux is searched for

37,200,000/month

and newLISP is searched for

2,900/month

But maybe you can create the first newLISP search engine, written in newLISP :D
by joejoe
Wed Nov 25, 2015 10:46 pm
Forum: newLISP in the real world
Topic: Finding infos in search engines
Replies: 3
Views: 5183

Re: Finding infos in search engines

Hi Darth, If you go to google, and put this into the search box: site:http://www.newlispfanclub.alh.net/forum/ set-ref-all you will see results for the search 'set-ref-all'' of newLISP Fan Club site. Want to search for the function 'dostring' on the newLISP.org site, try this search: site:http://new...
by joejoe
Mon Nov 23, 2015 12:07 am
Forum: newLISP in the real world
Topic: nL with Snappy Ubuntu Core
Replies: 3
Views: 5673

Re: nL with Snappy Ubuntu Core

Hi ralph!

Thats great to hear! Cant beat the "nothing not possible"! :0)

And thanks for the starting pointers on where to put nL and the script!

Ill report back with my progress on this. Much appreaciated again, ralph!
by joejoe
Sun Nov 22, 2015 5:50 am
Forum: newLISP in the real world
Topic: nL with Snappy Ubuntu Core
Replies: 3
Views: 5673

nL with Snappy Ubuntu Core

Hi, I would like to create Ubuntu Snappy apps with newLISP and am not sure if it's possible or how best to do this. http://developer.ubuntu.com/en/snappy/build-apps/ http://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/ Any pointers or general direction on this would be greatly appreciat...
by joejoe
Fri Nov 13, 2015 7:47 pm
Forum: newLISP in the real world
Topic: ANNOUNCE: wb, an Aviation Weight/Balance Calculator
Replies: 4
Views: 9194

Re: ANNOUNCE: wb, an Aviation Weight/Balance Calculator

Looks great! Thanks for sharing the code! :)
by joejoe
Tue May 20, 2014 1:50 am
Forum: newLISP in the real world
Topic: Installing nL on Rockets gives index.cgi text
Replies: 5
Views: 3614

Re: Installing nL on Rockets gives index.cgi text

Hi rickyboy! Thanks for the help with this! :D I did try Jeremy's suggestion. It did not work for me. My (Debian) Linux Mint said I had to add "+" symbols before everything after Options. I did that and was able to restart Apache2 successfully. After trying his Apache config file additions, I got an...
by joejoe
Thu May 08, 2014 12:45 am
Forum: newLISP in the real world
Topic: Installing nL on Rockets gives index.cgi text
Replies: 5
Views: 3614

Re: Installing nL on Rockets gives index.cgi text

Hi and thanks for the quick thoughts and suggestions! I have done here what rickyboy suggested and I think apache user sees nL no problem. joe@kvskn /var/www $ grep APACHE_RUN_USER /etc/apache2/envvars export APACHE_RUN_USER=www-data [...] $ /usr/bin/env newlisp newLISP v.10.6.0 64-bit on Linux IPv4...
by joejoe
Wed May 07, 2014 2:53 am
Forum: newLISP in the real world
Topic: Installing nL on Rockets gives index.cgi text
Replies: 5
Views: 3614

Installing nL on Rockets gives index.cgi text

Hi! I am running a Debian (Linux Mint) and have installed apache2, sqlite3 and downloaded all the requirements for Rockets from here: http://newlisponrockets.com/rockets-item.lsp?p=99 I am seeing the text of the index.cgi that I have unpacked into /var/www of Rockets when I go to: http://localhost/i...
by joejoe
Mon Apr 08, 2013 3:32 am
Forum: Anything else we might add?
Topic: Some topics not appearing in "View Active Topics"?
Replies: 3
Views: 3649

Re: Some topics not appearing in "View Active Topics"?

Ryon, thanks for keeping this site alive and kickin! You rock!
by joejoe
Sat Nov 03, 2012 7:58 am
Forum: newLISP newS
Topic: new documentation revisions
Replies: 7
Views: 8057

Re: new documentation revisions

Yeah! Thanks denis for the pdf of Code Patterns!

Was this manually done or fully-automated? Thanks again!
by joejoe
Wed Jun 27, 2012 7:49 pm
Forum: newLISP in the real world
Topic: filter or find-all different results w/ diff nL versions
Replies: 3
Views: 1875

Re: filter or find-all different results w/ diff nL versions

Thanks Lutz!

I grazed through the release notes but perhaps a little too fast.

Thanks for the cross version examples and explanation!

Ive been looking for a way to try out the curry. ;0)
by joejoe
Wed Jun 27, 2012 6:35 am
Forum: newLISP in the real world
Topic: filter or find-all different results w/ diff nL versions
Replies: 3
Views: 1875

filter or find-all different results w/ diff nL versions

Hi - When I try this on my computer, it works fine: newLISP v.10.3.3 on Linux IPv4/6 UTF-8 (set 'a '("oneone" "two" "twotwotwo" "three" "threethree")) (println (filter (fn (x) (find-all {\w{6,12}} x)) a)) ;-> ("oneone" "twotwotwo" "threethree") but when I try on NearlyFreeSpeech.net newLISP v.10.2.8...
by joejoe
Mon Jun 18, 2012 8:54 pm
Forum: newLISP in the real world
Topic: Creating an html form
Replies: 2
Views: 1609

Re: Creating an html form

Biggest thanks cormullion! :D

That post was so helpful I added it to your newLISP Wikibook on "The Internet".

https://en.wikibooks.org/w/index.php?ti ... e_Internet

Much appreciated, as always.
by joejoe
Mon Jun 18, 2012 6:13 am
Forum: newLISP in the real world
Topic: Creating an html form
Replies: 2
Views: 1609

Creating an html form

Hi, I would like to create an html form on my index.cgi. For example, I would like to have a search on my site and use the term searched for to build my page. Do I just create the form html, and have it post to mysite.com/index.cgi?search=xyz ? What do I need to do inside of index.cgi in order to be...
by joejoe
Mon Jun 11, 2012 5:19 am
Forum: newLISP in the real world
Topic: int does not like 08 and 09?
Replies: 5
Views: 2936

Re: int does not like 08 and 09?

Gotcha both on that, saulgoode and Patrick,

Never heard of octals but now I know better. :0)

Thanks again for pointing it out exactly!
by joejoe
Mon Jun 11, 2012 3:06 am
Forum: newLISP in the real world
Topic: int does not like 08 and 09?
Replies: 5
Views: 2936

int does not like 08 and 09?

> (int 00) 0 > (int 01) 1 > (int 02) 2 > (int 03) 3 > (int 04) 4 > (int 05) 5 > (int 06) 6 > (int 07) 7 > (int 08) 0 > (int 09) 0 > (int 10) 10 > (int 11) 11 ok. nL is playing tricks on me! ;0) Manual says: If exp evaluates to a string, the string must start with a digit; one or more spaces; or the...
by joejoe
Sun Jun 10, 2012 8:39 pm
Forum: newLISP in the real world
Topic: Geany editor newLISP definition file
Replies: 4
Views: 3251

Re: Geany editor newLISP definition file

Thanks PapoAnaya!

I will take your advice on putting comparison function predicates in the special keywords list.

.lsp seems standard, too, so I will use that. Much appreciated!