Search found 2687 matches

by mwieder
Thu Jan 17, 2019 6:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Streaming Audo Player?
Replies: 15
Views: 774

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

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: 1
Views: 280

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

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

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

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

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

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

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

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

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...
by mwieder
Tue Sep 25, 2018 3:00 am
Forum: Feature Requests
Topic: Alternative to PUT value INTO variable
Replies: 38
Views: 5651

Re: Alternative to PUT value INTO variable

Heh. How about "==="?
by mwieder
Mon Sep 24, 2018 3:59 am
Forum: Feature Requests
Topic: On/Off auto-type in preferences
Replies: 33
Views: 1985

Re: On/Off auto-type in preferences

Interesting. I don't think I ever noticed that forum. From the looks of things, I'm not sure anybody actually reads or replies to that. But read this for the place to report bugs:

Code: Select all

http://forums.livecode.com/viewtopic.php?f=104&t=23404
by mwieder
Sun Sep 23, 2018 9:10 pm
Forum: Feature Requests
Topic: On/Off auto-type in preferences
Replies: 33
Views: 1985

Re: On/Off auto-type in preferences

My thoughts on this run this way - I don't think the behavior is intended, so I do think it is a 'bug'. What I'm guessing from the behavior I see is that when you turn off formatting, and insert spaces instead of a tab, there is no handler setup to correctly handle that. In that case, it defaults t...
by mwieder
Sat Sep 22, 2018 7:09 pm
Forum: Feature Requests
Topic: On/Off auto-type in preferences
Replies: 33
Views: 1985

Re: On/Off auto-type in preferences

First, when I insert a tab, it occupies eight columns, even though I've set the indentation level in Preferences to 2. That's pretty bizarre. It's still sounding to me like your preferences file is borked. I use Lucida Console, which is fixed spacing I use SourceCode Pro, which is also a fixed-spac...

Go to advanced search