Search found 557 matches

by AxWald
Mon Jul 05, 2021 2:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linux Mint or Linux Ubuntu for Livecode
Replies: 52
Views: 55737

Re: Linux Mint or Linux Ubuntu for Livecode

Hi, in the screen where there's "For all users", "For you only" & "Custom", when you choose "For you only" you get the correct path. In the screen after choosing "Custom", there's always "/opt/..." selected. It doesn't change when you select "For you only" here , and it doesn't give you a warning, a...
by AxWald
Mon Jul 05, 2021 2:00 pm
Forum: Android Deployment
Topic: FTP Upload Issues.
Replies: 16
Views: 7792

Re: FTP Upload Issues.

Hi, FTP is great for what it was designed for, ad hoc traversal of remote file stores. As in " I am trying to put a simple string into a file on an FTP Server "? But for anything more specific, it offers too much access with too few ways to limit it. Seems I'm doing it wrong. I'm using FTP/SFTP just...
by AxWald
Mon Jul 05, 2021 12:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linux Mint or Linux Ubuntu for Livecode
Replies: 52
Views: 55737

Re: Linux Mint or Linux Ubuntu for Livecode

Hi, That's definitely bizarre behavior you're running into. Yup. Actually it's more for the entertainment of the esteemed community that I wrote the above. After all, it's an unsupported Linux I'm using. Unbelievable, the latest Ubuntu that LC lists is already out of support :/ I realize this won't ...
by AxWald
Sun Jul 04, 2021 8:03 pm
Forum: Android Deployment
Topic: FTP Upload Issues.
Replies: 16
Views: 7792

Re: FTP Upload Issues.

Hi, Does Android allow non-SSL connections? "Starting with Android 9 (API level 28), cleartext support is disabled by default. (Panos Merakos in the bug report )" And why FTP instead of HTTP? I know, you're a big fan of HTTP, but what's so bad about FTP/SFTP actually? So: Why bother with HTTP when t...
by AxWald
Sun Jul 04, 2021 4:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linux Mint or Linux Ubuntu for Livecode
Replies: 52
Views: 55737

Re: Linux Mint or Linux Ubuntu for Livecode

Oh sh... I was spending the week finishing the installer for my business suite on Windows - so when the task "start an installer" came up I just didn't think of that it's not "me & Win" but "RunRev & Linux". When I'm on Linux Mate (not often, admitted) I'm so used to be asked for my password over & ...
by AxWald
Sun Jul 04, 2021 11:35 am
Forum: Android Deployment
Topic: FTP Upload Issues.
Replies: 16
Views: 7792

Re: FTP Upload Issues.

Hi,

the cmd looks OK. Idea:

You're compiling for new android versions? There's the problem that "http://" doesn't work anymore. Maybe "ftp://" has a related problem?

Test: Can you "get" a "http://" URL?

Have fun!
by AxWald
Sun Jul 04, 2021 11:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linux Mint or Linux Ubuntu for Livecode
Replies: 52
Views: 55737

Re: Linux Mint or Linux Ubuntu for Livecode

Hi, quick report for Linux Mint 20.1 Mate 64-bit: Trying to install LC 9.6.2 fails: Unable to create required folder at '/opt/livecode/ ...' No matter if for "you only" or "all users". Installing elsewhere (here: '/home/User/Documents') works, though. Still, having checked "Lauch Livecode" at the en...
by AxWald
Sun Jul 04, 2021 9:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Protected Code license
Replies: 6
Views: 3633

Re: Protected Code license

Hi, it's like "ioncube. com" in php? In short, yes. It's not available in the Community versions (= Open Source), only in the proprietary abo versions. where is the documentation for doing "Protected Code" ? Search for "password" in the dictionary: If the password property of a stack is not empty, a...
by AxWald
Sat Jun 12, 2021 8:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Replace text of any characters between parentheses with a space
Replies: 23
Views: 11962

Re: Replace text of any characters between parentheses with a space

Hi, on mouseUp get fld "f1_fld" put false into mySkip repeat for each char C in it if C = "(" then put true into mySkip put space after myRes -- the "single space" else if C = ")" then put false into mySkip else if not mySkip then put C after myRes end if end repeat replace " " with " " in myRes -- ...
by AxWald
Sat Jun 05, 2021 5:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resetting SQLite auto-increment values
Replies: 9
Views: 6312

Re: resetting SQLite auto-increment values

Hi, as Mark said. You cannot coerce SQLite to fill in missing ids "in between" if you use AUTOINCREMENT - independent of the value of "sqlite_sequence.seq", a new id will be always > max(id). So, if you deleted records at the end of the table, just setting the "seq" to 0 or 1 will cause max(id)+1 to...
by AxWald
Sat Jun 05, 2021 12:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resetting SQLite auto-increment values
Replies: 9
Views: 6312

Re: resetting SQLite auto-increment values

Hi, a.) "thinkDB" really is the table as it should be? b.) You missed a space before "WHERE", and no need for a line break here. c.) "revdb_queryList()" will not run an "UPDATE ..." statement, use "revdb_execute()" instead. Or "revExecuteSQL" as command, as you did in the following line. So skip thi...
by AxWald
Sat Jun 05, 2021 8:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resetting SQLite auto-increment values
Replies: 9
Views: 6312

Re: resetting SQLite auto-increment values

Hi, tried manually. Judging by the statement that SQLite Manager created, this should work: UPDATE `main`.`sqlite_sequence` SET `seq` = '1' WHERE `name` = 't_table' (You forgot a WHERE clause/ row selector ...) Besides, using autoincrement for anything but invisible id's isn't this good an idea. Thi...
by AxWald
Tue Jun 01, 2021 7:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Randomize Lines of a Large Text File
Replies: 21
Views: 8406

Re: Randomize Lines of a Large Text File

Ooops, hadn't read that: well, my program checks every line in a text file based on some given condition, and gets me the lines according to the condition given This isn't a problem: Finding matching lines is easy. There's some techniques to do this really fast. But what does this mean? what I need ...
by AxWald
Tue Jun 01, 2021 1:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Randomize Lines of a Large Text File
Replies: 21
Views: 8406

Re: Randomize Lines of a Large Text File

Hi, guess it's sorting a big bunch of data that's the problem here. So just avoid sorting a big bunch of data ;-) This looked interesting, so I played with it a bit. See my results: To avoid having to sort huge amounts of data I create an array with the line numbers as keys at first, and add 2 rando...
by AxWald
Mon May 31, 2021 2:41 pm
Forum: CGIs and the Server
Topic: LC Server database connection
Replies: 15
Views: 10521

Re: LC Server database connection

Hi,

filed this as a bug.

Have fun!

Go to advanced search