Search found 6204 matches

by FourthWorld
Tue Dec 18, 2018 10:00 pm
Forum: Talking LiveCode
Topic: File written to disk truncated to multiples of 4096 chars
Replies: 8
Views: 82

Re: File written to disk truncated to multiples of 4096 chars

kaveh1000 wrote:
Tue Dec 18, 2018 9:32 pm
I have an "on idle" handler running while testing. I wonder if that could be the reason.
Depends on what it does. Please consider posting the simplest stack you can come up with which exhibits the problem.
by FourthWorld
Tue Dec 18, 2018 9:15 pm
Forum: Talking LiveCode
Topic: File written to disk truncated to multiples of 4096 chars
Replies: 8
Views: 82

Re: File written to disk truncated to multiples of 4096 chars

Number of characters or number of bytes? How are you assessing that?

If assessment is from the file manager that's normal, as most OSes ship with a file system that uses a 4k block size by default.

That assumes, of course, that the number you're seeing is rounding up, rather than down, yes?
by FourthWorld
Tue Dec 18, 2018 5:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Export CSV with carriage returns
Replies: 4
Views: 59

Re: Export CSV with carriage returns

Removing the carriage returns will break the integrity of the data. They can be replaced with rare characters (I very much prefer the ones FileMaker uses), or escaped. The difficulty with escaping is that there is no single CSV spec, so there's no guarantee that any of the various escape conventions...
by FourthWorld
Tue Dec 18, 2018 5:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Export CSV with carriage returns
Replies: 4
Views: 59

Re: Export CSV with carriage returns

What process will be consuming the data, and does it strictly require CSV specifically?
by FourthWorld
Tue Dec 18, 2018 5:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 14
Views: 360

Re: Report in LiveCode

Yes, when you have a fixed number of elements becomes much less daunting. It's when you have to dynamically place N number of elements, with N number of subsummaries, that the generalization required becomes time consuming.
by FourthWorld
Mon Dec 17, 2018 9:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 14
Views: 360

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. Nah, the hide/show metho...
by FourthWorld
Mon Dec 17, 2018 5:53 pm
Forum: Off-Topic
Topic: BB Private Message storage limits...
Replies: 8
Views: 337

Re: BB Private Message storage limits...

Yes, most questions have an actual audience larger than the number of people who write it. Personally, I've spent most of my time on things either essential to my work or with a larger number of requests behind them, so I haven't made this a priority for myself. But you're welcome to write Support a...
by FourthWorld
Mon Dec 17, 2018 5:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Strategy to construct a Stack
Replies: 13
Views: 189

Re: Strategy to construct a Stack

Will the system be used exclusively on your local network, or will any users connect over the Internet?
by FourthWorld
Mon Dec 17, 2018 8:41 am
Forum: Internet
Topic: HTML Wysywig Editor
Replies: 2
Views: 78

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

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: 10
Views: 278

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: 14
Views: 360

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

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: 14
Views: 360

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

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.

Go to advanced search