Search found 92 matches
- Fri Jan 18, 2013 2:49 pm
- Forum: newLISP newS
- Topic: sqlite3 module: how to maintain lib paths
- Replies: 10
- Views: 18245
Re: sqlite3 module: how to maintain lib paths
On Ubuntu 12.10, I have two .so files on /usr/lib/x86_64-linux-gnu/: libsqlite3.so.0 libsqlite3.so.0.8.6 I chose the first, but I confess to have hovered over that: can one assume that 0.8.6 is an advance on the other? I tend to trust cosy integers when it comes to version numbers (if that is what t...
- Fri Jan 18, 2013 10:01 am
- Forum: newLISP in the real world
- Topic: Elements: periodic_table sqlite example in User Guide
- Replies: 22
- Views: 8188
Re: Elements: periodic_table sqlite example in User Guide
I ran Cormullion's elements.lsp code under Win XP at work: it ran without a hitch. That's Windows 2, Ubuntu 0. Sigh. I foresee some bloodshot eyes ahead, trying to figure out why it will not work under Ubuntu 12.10. I built newLISP from source for Ubuntu 12.04 64 bit around July 2012, after a prompt...
- Thu Jan 17, 2013 7:35 pm
- Forum: newLISP newS
- Topic: sqlite3 module: how to maintain lib paths
- Replies: 10
- Views: 18245
Re: sqlite3 module: how to maintain lib paths
Thanks, rickyboy, it's good to have that in print so we can search for it. As an Ubuntu user, I have had to do this many times. In fact, the location of the .so file has even changed at least once that I can remember on Ubuntu itself. I did not think of putting it in print here - perhaps I have a lo...
- Thu Jan 17, 2013 1:56 pm
- Forum: newLISP in the real world
- Topic: Elements: periodic_table sqlite example in User Guide
- Replies: 22
- Views: 8188
Re: Elements: periodic_table sqlite example in User Guide
Well, thanks for your attentions, Cormullion - your fuller program works straight off on my Win 76 64 bit setup - I commented out the chdir to /tmp line (too impatient to go creating it), but that is the only change I made. All element data was inserted, and all the queries worked. The attempt made ...
- Thu Jan 17, 2013 12:15 pm
- Forum: newLISP in the real world
- Topic: Elements: periodic_table sqlite example in User Guide
- Replies: 22
- Views: 8188
Re: Elements: periodic_table sqlite example in User Guide
I ran the fuller example, but it - first it reports this: create table t1 (number INTEGER, atomic_weight FLOAT, element TEXT, symbol TEXT, mp FLOAT, bp FLOAT, density FLOAT, earth_crust FLOAT, discovered INTEGER, egroup INTEGER, ionization FLOAT); created table ... Ok then comes up with this: ERR: d...
- Thu Jan 17, 2013 12:07 pm
- Forum: newLISP in the real world
- Topic: Elements: periodic_table sqlite example in User Guide
- Replies: 22
- Views: 8188
Re: Elements: periodic_table sqlite example in User Guide
Thanks, Cormullion. Snap. After closing down, I realised that empty line was probably it, but you got there before me!
I will try your fuller example.
I will try your fuller example.
- Thu Jan 17, 2013 8:21 am
- Forum: newLISP in the real world
- Topic: Elements: periodic_table sqlite example in User Guide
- Replies: 22
- Views: 8188
Elements: periodic_table sqlite example in User Guide
I have never been able to get this to work. After tweaking the elements string to ensure there are 11 items in each line (I take out the ellipsis in the example, and shorten the list to 5 lines just for testing), it never has yet inserted the elements into sqlite3, yet it also does not report an err...
- Thu Jan 17, 2013 5:34 am
- Forum: newLISP in the real world
- Topic: cgi again
- Replies: 12
- Views: 4667
Re: cgi again
Thanks too, to RickyBoy. Popcorn is back in the cupboard, waiting for next time
- Thu Jan 17, 2013 5:31 am
- Forum: newLISP in the real world
- Topic: cgi again
- Replies: 12
- Views: 4667
Re: cgi again
Thanks again, Bairui. You did spot some other errors: they were corrected in the code you posted. I had used (single quoted) symbols for arguments when defining the two queries "insrt" and "rslt". The modules had been working the way I loaded them before, but your code looks so much better. It was t...
- Wed Jan 16, 2013 7:33 pm
- Forum: newLISP newS
- Topic: newLisp on Android
- Replies: 6
- Views: 13745
Re: newLisp on Android
This is very exciting. I recently bought my first smartphone, a bottom range model, and invested some money in Basic4Android. I have played with that a bit, but then life intervened ... and then the festive season, and then .... Does this newLISP implementation permit making buttons, views etc in th...
- Wed Jan 16, 2013 7:20 pm
- Forum: newLISP in the real world
- Topic: cgi again
- Replies: 12
- Views: 4667
Re: cgi again
Well, Bairui, what can I say? You nailed my funnies there, and it works fine now. Apart from removing the single quote where I had a symbol as an argument, you also used a NULL for the AUTOINCREMENT. In the past, I have successfully used an empty string, but NULLS as well. I just forgot. Did you mak...
- Wed Jan 16, 2013 2:26 pm
- Forum: newLISP in the real world
- Topic: cgi again
- Replies: 12
- Views: 4667
Re: cgi again
Thanks for your input. I will give those changes a try, and report back. I too, am making a note to buy some popcorn ...
- Wed Jan 16, 2013 10:52 am
- Forum: newLISP in the real world
- Topic: cgi again
- Replies: 12
- Views: 4667
cgi again
I have never got the example in the User Guide to work. I can get it to list a result set if I manually insert rows into the Elements Sqlite3 database, but nothing gets written via code. Lately, I have been basing an attempt to write to a simple user, email database, from a webform. This is what I w...
- Wed Jan 16, 2013 10:40 am
- Forum: Whither newLISP?
- Topic: How to get newLISP popular?
- Replies: 11
- Views: 13131
Re: How to get newLISP popular?
Thanks to Lutz in particular and everyone who helped make this such great language. As to making it more popular, it would need to be "ubiquitous". Lua is, python is, in their respective territories, but newLISP hasn't really got a "turf" yet. "Hello World" is SO last century. Why not make the botto...
- Fri Jul 20, 2012 10:42 am
- Forum: newLISP in the real world
- Topic: goalseek (as in Excel)
- Replies: 3
- Views: 2405
Re: goalseek (as in Excel)
Thanks, xytroxon. I will have to roll my own Goal Seek. Perhaps some of these functions will help.
- Tue Jul 17, 2012 8:52 pm
- Forum: newLISP and the O.S.
- Topic: Ubuntu 12.04 64 bit
- Replies: 4
- Views: 3918
Re: Ubuntu 12.04 64 bit
I lied. I did not give up :) Working on the same basis as with libffi-dev to find a .h header file, I took a flying, lucky guess, and tried installing libreadline-dev. That worked - then, both make and sudo make install proceeded without a hitch. After that, the guiserver.jar file was not found. Ins...
- Tue Jul 17, 2012 7:44 pm
- Forum: newLISP and the O.S.
- Topic: Ubuntu 12.04 64 bit
- Replies: 4
- Views: 3918
Re: Ubuntu 12.04 64 bit
Finally had time to try to build on 64-bit. It did indeed choke on ffi. After installing libffi, it then choked on readline/readline.h. In the past, I have often installed libreadline5, but that didn't help, because it is no longer used. I then followed some googled instructions about libreadline5-d...
- Wed May 30, 2012 8:54 pm
- Forum: newLISP in the real world
- Topic: goalseek (as in Excel)
- Replies: 3
- Views: 2405
goalseek (as in Excel)
I use GoalSeek a fair amount in spreadsheets. It's fast enough, but I confess I don't understand how it works. Googling produced discussions about Newton Rhapson, something that Computer Science and Math students seem to know about. Having last looked at math a half century ago on finishing my schoo...
- Thu May 10, 2012 2:33 pm
- Forum: newLISP and the O.S.
- Topic: Ubuntu 12.04 64 bit
- Replies: 4
- Views: 3918
Re: Ubuntu 12.04 64 bit
Thanks. I have just bought a new 64 bit system. Will try the suggestion when I have some spare time.
- Wed May 09, 2012 6:23 pm
- Forum: newLISP and the O.S.
- Topic: Ubuntu 12.04 64 bit
- Replies: 4
- Views: 3918
Ubuntu 12.04 64 bit
I couldn't get a good install of newLISP on Precise Pangolin 64 bit. I can see newlisp and its files on /usr/bin/newlisp, but when trying I get I assume one uses the 32 bit installer under Ubuntu 64 bit, right?
Code: Select all
newlisp-edit
Code: Select all
/usr/bin/newlisp - bad interpreter: No such file or directory
- Wed May 02, 2012 2:10 pm
- Forum: So, what can you actually DO with newLISP?
- Topic: Nikhil Marathe, Newlisp Bindings for Redis Database
- Replies: 4
- Views: 6659
Re: Nikhil Marathe, Newlisp Bindings for Redis Database
Thanks once again, Lutz.
I have not done any FOOP. Seems like I am about to start! Because it appears a few tweaks of redis.lsp will be needed.
I have not done any FOOP. Seems like I am about to start! Because it appears a few tweaks of redis.lsp will be needed.
- Tue May 01, 2012 8:22 pm
- Forum: So, what can you actually DO with newLISP?
- Topic: Nikhil Marathe, Newlisp Bindings for Redis Database
- Replies: 4
- Views: 6659
Re: Nikhil Marathe, Newlisp Bindings for Redis Database
I was really pleased to find this, and I am very keen to use it. However, to quote the old song "I can't get started". I have started redis-server, and have redis-cli running. Then I try to run the little sample from redis.lsp: (load "/home/myname/newlisp-redis/redis.lsp") (setf 'conn (redis)) (:pin...
- Tue May 01, 2012 1:32 pm
- Forum: newLISP Graphics & Sound
- Topic: java message on GS load
- Replies: 6
- Views: 9557
Midi demos on Ubuntu 12.04
Without making any changes since upgrading, both newLISP midi demos at least now do something . midi-demo.lsp brings up a message box gs:midi-patch - instrument not known When I press OK, it then plays the programmed scale sequence, on a piano. But maybe the piano is a default. midi2-demo.lsp does t...
- Mon Apr 30, 2012 5:32 pm
- Forum: newLISP Graphics & Sound
- Topic: java message on GS load
- Replies: 6
- Views: 9557
Re: java message on GS load
Thanks to you too. I had not noticed a problem, but checked now to find I had already switched to "radiance".
As to sound, I have always struggled with both midi demo programs, and in fact with sound on Ubuntu, throughout the years. I will give them a try, and report back.
As to sound, I have always struggled with both midi demo programs, and in fact with sound on Ubuntu, throughout the years. I will give them a try, and report back.
- Sun Apr 29, 2012 8:46 pm
- Forum: newLISP Graphics & Sound
- Topic: java message on GS load
- Replies: 6
- Views: 9557
solved java errors - Ubuntu Precise Pangolin
After Ubuntu Precise Pangolin solved the java GTK message problem, it was otherwise a very pleasant upgrade for me. The Unity loader works without problems now, but what's really great is the new Heads Up Display replacing menus. I click the Windows key, and the HUD overlays the desktop in transpare...