Search found 2706 matches

by mwieder
Thu Jan 31, 2019 5:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Introduction - Me and LiveCode
Replies: 35
Views: 846

Re: Introduction - Me and LiveCode

But, I am like a tree: my bark is worse than my bite! :D
...and he doesn't leave until spring.
What is the number of hours for?
I'm guessing the next number is 48.
But that numeric string occurs at the 182965th position in pi.
http://www.angio.net/pi/
by mwieder
Thu Jan 31, 2019 1:10 am
Forum: Bug Triage
Topic: Whatś this message i linux Ubuntu Mate 64bits
Replies: 18
Views: 599

Re: Whatś this message i linux Ubuntu Mate 64bits

Oooo... I take back the part about it not crashing LC.
That's pretty dramatic.
Luckily I didn't have anything else open at the time.
by mwieder
Tue Jan 29, 2019 6:06 pm
Forum: Bug Triage
Topic: Whatś this message i linux Ubuntu Mate 64bits
Replies: 18
Views: 599

Re: Whatś this message i linux Ubuntu Mate 64bits

FWIW I have *never* gotten the Browser widget to work on linux. At least it no longer crashes LC when it doesn't work.

https://quality.livecode.com/show_bug.cgi?id=20791
by mwieder
Sat Jan 26, 2019 5:38 pm
Forum: Linux
Topic: Backdrop is currently useless
Replies: 10
Views: 1596

Re: Backdrop is currently useless

/sigh... I submitted a fix for this almost a year ago. If anyone wants to pick this up and resubmit it, feel free.

https://github.com/livecode/livecode/pull/6496
by mwieder
Thu Jan 17, 2019 6:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Streaming Audo Player?
Replies: 15
Views: 893

Re: Streaming Audo Player?

Alejandro- that chromium discussion link is about supporting HTTP/0.9 long-term, while the server in question here is using HTTP/1.0. But the shoutcast audio stream content is audio/x-scpls in spite of the web site saying that it's audio/mpeg. So unless the target computer can handle this type of st...
by mwieder
Wed Jan 16, 2019 5:41 am
Forum: Feature Requests
Topic: Audio and Video export possibilities
Replies: 33
Views: 1420

Re: Audio and Video export possibilities

Most handle it by writing interfaces to OS APIs, just as we can do in LC.
Interfacing to OS APIs requires at least proficiency in LCB, and at worst requires writing external libraries in something closer to the metal. It's not a simple matter of scripting

export mySound as "mp3"
by mwieder
Tue Jan 15, 2019 9:44 pm
Forum: SoCal LiveCode Group
Topic: Meeting: Feb 7, Pasadena
Replies: 2
Views: 697

Re: Meeting: Feb 7, Pasadena

Looking forward to the March meeting on the 7th to tie in with SCaLE.
by mwieder
Tue Jan 15, 2019 9:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: jsonExport converts number to scientific notation
Replies: 6
Views: 213

Re: jsonExport converts number to scientific notation

I would consider this a bug in LCB JSON formatting. The code in the JSONExport handler in json.lcb is public handler JsonExport(in pValue as optional any) returns String if pValue is a string then return JsonExportString(pValue) else if pValue is a number then return JsonExportNumber(pValue) else if...
by mwieder
Tue Jan 15, 2019 7:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: jsonExport converts number to scientific notation
Replies: 6
Views: 213

Re: jsonExport converts number to scientific notation

Ah, I see - you're doing an import first, and then an export. Yes, LC is internally flagging the input value as numeric rather than performing a default string conversion. Interestingly, examining the resulting internal arrays shows no difference. It's JSONExport that's doing the internal conversion...
by mwieder
Tue Jan 15, 2019 6:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Refactoring
Replies: 27
Views: 947

Re: Refactoring

TIL - thanks for that. Although I admit to being partial to the quantum of time being the time required for light to travel the Planck length.
by mwieder
Tue Jan 15, 2019 6:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: jsonExport converts number to scientific notation
Replies: 6
Views: 213

Re: jsonExport converts number to scientific notation

Well, neither JSONImport nor JSONexport are doing number conversion, so that's not where your problem lies. Here's a simple test that shows that the result of exporting and importing gives identical arrays. on mouseUp pMouseButton local tJSON local tJSONArray, tOutputArray put 7873356 into tJSONArra...
by mwieder
Mon Jan 14, 2019 9:54 pm
Forum: Feature Requests
Topic: Audio and Video export possibilities
Replies: 33
Views: 1420

Re: Audio and Video export possibilities

Same.
And I think the import/export facility will fall out naturally when this happens.
by mwieder
Fri Dec 21, 2018 6:33 pm
Forum: Feature Requests
Topic: Reworked Tool Palette
Replies: 15
Views: 1059

Re: Reworked Tool Palette

BTW, I submitted a PR to fix the linux backdrop thing back in April. If anyone wants to pick it up and run with it, please do - it's basically a one-line fix (two lines if you want to be pedantic about it).

https://github.com/livecode/livecode/pull/6496
by mwieder
Fri Dec 21, 2018 6:23 pm
Forum: Off-Topic
Topic: sqlite-vulnerability
Replies: 2
Views: 558

Re: sqlite-vulnerability

Happily, Chrome 71 fixes this vulnerability. Thanks to Tencent for finding the bug.

You can test your browser at https://worthdoingbadly.com/sqlitebug/
by mwieder
Tue Sep 25, 2018 7:45 pm
Forum: Feature Requests
Topic: Alternative to PUT value INTO variable
Replies: 38
Views: 5925

Re: Alternative to PUT value INTO variable

Yah, that's the one thing that bugs me about python programming. But a good IDE will enforce proper indentation to help keep you out of trouble. ... and don't forget ruby's spaceship operator (<=>). It's actually a very useful operator, and one that would help solve a lot of the numeric/string compa...

Go to advanced search