Search found 6196 matches

by FourthWorld
Mon Dec 17, 2018 8:41 am
Forum: Internet
Topic: HTML Wysywig Editor
Replies: 1
Views: 18

Re: HTML Wysywig Editor

It's a tremendous amount of work. Very few exist, and with few exceptions only the biggest companies do well in that space. Are you sure you want to proceed?
by FourthWorld
Mon Dec 17, 2018 2:01 am
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 21
Views: 489

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

True, with a 512k block size running a custom-scripted MD5 would be slow, in addition to being tedious to script. But that would only be needed if the consumer of the hash needs to compare it to output from md5sum. If your own systems are the consumer, hashing the aggregate of hashes will produce re...
by FourthWorld
Mon Dec 17, 2018 1:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Priority Queue Exercise
Replies: 9
Views: 209

Re: Priority Queue Exercise

A single post from an account opened two months ago, and the only thing posted here isn't relevant to LC.

I try to give the benefit of the doubt, but if the post was made in earnest the OP will be back and explain what's up. If I see no such explanation within a couple days I'll nix this thread.
by FourthWorld
Sun Dec 16, 2018 8:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 9
Views: 242

Re: Report in LiveCode

It's more than just adding numbers. Some sections get repeated, with sums below those, and then a master total at the end. This means creating groups elsewhere, copying them in as needed, diligently positioning them, populating them with data, and then doing the arithmetic. Doable in LC, but it's se...
by FourthWorld
Sun Dec 16, 2018 8:06 pm
Forum: Talking LiveCode
Topic: [Solved] md5digest of large files, how reliable is it?
Replies: 21
Views: 489

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

Thank you Richard! I wasn't aware of the sysError function. It yielded system error code 8, which translates to insufficient memory. Error checking after I/O is such a valuable habit I'm surprised it isn't part of every tutorial on the subject. I can now conclude that in order for the md5Digest fun...
by FourthWorld
Sun Dec 16, 2018 8:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 9
Views: 242

Re: Report in LiveCode

The trick here is that his report has summaries and sub-summaries. FMP's reporting is quite excellent. This is all doable in LC, but would have to be scripted; in FMP it's right there in the box, and the work to recreate it is non-trivial.
by FourthWorld
Fri Dec 14, 2018 11:18 pm
Forum: CGIs and the Server
Topic: Audit log in livecode server
Replies: 4
Views: 173

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: 21
Views: 489

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: 5
Views: 153

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: 798

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: 5
Views: 153

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: 21
Views: 489

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: 401

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: 21
Views: 489

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: 796

Re: 64 bit windows version

Good to know - thanks, Trevor.

Has Microsoft begun removing support for 32-bit apps in Win10?

Go to advanced search