Search found 6190 matches

by FourthWorld
Fri Dec 14, 2018 11:18 pm
Forum: CGIs and the Server
Topic: Audit log in livecode server
Replies: 3
Views: 125

Re: Audit log in livecode server

Shared host:
Any folder in your home folder, above your web root.

Dedicated/VPS:
/var/log/ is the standard place for logs. You could create a folder there, and assign a group with write permissions to it, and set permissions for your process as a member of that group.
by FourthWorld
Fri Dec 14, 2018 11:15 pm
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 18
Views: 381

Re: md5digest of large files, how reliable is it?

Update: The problem where I get the same result on two different files occur only when the file size exeeds 504 MB. function fileMd5Digest pFilePath local tCheckSum local tData put url ("binfile:" & pFilePath) into tData get binarydecode("H*", md5digest(tData), tCheckSum) return tCheckSum end fileM...
by FourthWorld
Fri Dec 14, 2018 11:12 pm
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 4
Views: 109

Re: Mobile Sharing an Image via Whatsapp

It seems WhatsApp also supports a urlScheme:
https://faq.whatsapp.com/en/iphone/23559013
by FourthWorld
Fri Dec 14, 2018 10:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading Binaries int8, int32 etc.
Replies: 4
Views: 793

Re: Reading Binaries int8, int32 etc.

These are standard terms:
uint1 = 1 byte
uint2 = 2 bytes
unit4 - 4 bytes

To read 4 bytes from a file you could ask it for that:

Code: Select all

read from file tFile for 4 bytes
Or read as uint4:

Code: Select all

read from file tFile for 1 unit4
You may also find LiveCode's binaryDecode function useful.
by FourthWorld
Thu Dec 13, 2018 6:20 pm
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 4
Views: 109

Re: Mobile Sharing an Image via Whatsapp

UrlSchemes were cross platform, and still the go-to mechanism for inter-app stuff on Android. Apple was pushing for an alternative, and may still be, but check their docs as UrlSchemes may still be well supported.
by FourthWorld
Thu Dec 13, 2018 10:53 am
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 18
Views: 381

Re: md5digest of large files, how reliable is it?

After some more testing, I also discovered that the binarydecode function swaps the hex characters in the result when asked to decode binary data to hex data, e.g. it yields 9c0f8f59bf89ba19955ff10d92e732d6 instead of c9f0f895fb98ab9159f51fd0297e236d Why on earth would it do that? Or is the md5Dige...
by FourthWorld
Thu Dec 13, 2018 4:36 am
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 384

Re: erratic movement of controls with repeat

dunbarx wrote:
Thu Dec 13, 2018 3:34 am
Is there any value to pursuing this?
I don't know. I can't see the problem here. Maybe just confirming that it appears to be limited to one machine is enough.
by FourthWorld
Thu Dec 13, 2018 2:07 am
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 18
Views: 381

Re: md5digest of large files, how reliable is it?

I don't know Richard. I would guess not. I've only used it in situations where I ran the same function on all files. Thanks. That's why I was asking about usage above. Solutions are easy to come by when the producer and the consumer of information is the same party. But if the scenario was to provi...
by FourthWorld
Thu Dec 13, 2018 2:01 am
Forum: Feature Requests
Topic: 64 bit windows version
Replies: 5
Views: 767

Re: 64 bit windows version

Good to know - thanks, Trevor.

Has Microsoft begun removing support for 32-bit apps in Win10?
by FourthWorld
Thu Dec 13, 2018 1:46 am
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 18
Views: 381

Re: md5digest of large files, how reliable is it?

Thanks, Trevor. Is that chunksize and aggregating method the same as used by macOS's md5 command?
by FourthWorld
Thu Dec 13, 2018 1:42 am
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 384

Re: erratic movement of controls with repeat

dunbarx wrote:
Thu Dec 13, 2018 12:28 am
Is it possible to post a video? I just ran this again, and the differences between runs are startling.
You can post a link to a video.
by FourthWorld
Wed Dec 12, 2018 11:23 pm
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 18
Views: 381

Re: md5digest of large files, how reliable is it?

How large is "large"? Files that are too large to be loaded entirely into RAM, I guess. Which OS are you using? Many provide hashing functions that can be called from the command line via LC's shell function. Once generated, how is the md5 value being used? I would like to use the md5 value to veri...
by FourthWorld
Wed Dec 12, 2018 10:34 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 384

Re: erratic movement of controls with repeat

I will try this handler at home on a macBook Air. Please report back what you find. But it does show the pitfalls of trying to accommodate all these OS's, processors, etc. What would one do if most customers were happy with an app, but one guy was complaining all day long, and nobody took him serio...
by FourthWorld
Wed Dec 12, 2018 7:54 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 384

Re: erratic movement of controls with repeat

richmond62 wrote:
Wed Dec 12, 2018 7:50 pm
Good diagnostic thinking.
Possibly; but the problem is going to be how to work out whether the problem is the engine,
the OS, or the interaction between them...
The testing checklist I posted a short while ago may help reduce the solution space considerably.
by FourthWorld
Wed Dec 12, 2018 7:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading Binaries int8, int32 etc.
Replies: 4
Views: 793

Re: Reading Binaries int8, int32 etc.

FWIW "uint1", uint2", and "uint4" are valid chunk types that can be used with reading and writing files and parsing data. See those Dictionary entries for examples.

Go to advanced search