Search found 30 matches

by TorstenHolmer
Wed Dec 16, 2020 11:55 pm
Forum: Talking LiveCode
Topic: You cannot trust arithmetic anymore
Replies: 42
Views: 3672

Re: You cannot trust arithmetic anymore

RTFM :D

In the dictionary:
"While using non-integer number and divisor usually produces sensible results, mathematically, integer division is generally defined as a function over the integers, and the results using non-integers may not consistently be what you expect."

Cheers,
Torsten
by TorstenHolmer
Sat Nov 07, 2020 11:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Number between .....
Replies: 4
Views: 2002

Re: Number between .....

If you need the comparison more than once in your code, it is better to create a custom handler :-) numberWithin (2,2,4) --> true numberWithin (5,2,4) --> false function numberWithin pNumber, pMin, pMax if pNumber >= pMin and pNumber <= pMax then return true else return false end if end numberWithin...
by TorstenHolmer
Mon Aug 17, 2020 5:03 pm
Forum: Internet
Topic: Browser widget does not suppüort WebGL2
Replies: 13
Views: 3320

Re: Browser widget does not suppüort WebGL2

Hi Klaus, the problem with Safari in macOS is that WebGL is off by default, but can be activated via developer mode: German version: Menü / Entwickler / Experimentelle Funktionen / WebGL 2.0 Then it works! I have found this discussion about how to enable WebGL in macOS apps: https://stackoverflow.co...
by TorstenHolmer
Sun Aug 16, 2020 12:33 pm
Forum: Internet
Topic: Browser widget does not suppüort WebGL2
Replies: 13
Views: 3320

Browser widget does not suppüort WebGL2

Hi,

I want to test how to display a WebGL-Page in the browser widget, but get this message on this page (https://get.webgl.org/webgl2/) :

"Oh no! We are sorry, but your browser does not seem to support WebGL2."

Is there a way to update the widget?

Chrome does support WebGL 2.0

Cheers,
Torsten
by TorstenHolmer
Tue Aug 11, 2020 9:58 am
Forum: CGIs and the Server
Topic: livecode server URL redirect?
Replies: 10
Views: 5821

Re: livecode server URL redirect?

Hi,

here is the code, I am using and which works on the current Livecode server version:

Code: Select all

<?lc
put "https://theUrlTheBrowserIsRedirectedTo" into tURL
put header "Status: 301"
put header "Location:" && tURL
?>  
Cheers,
Torsten
by TorstenHolmer
Tue Jun 30, 2020 5:53 pm
Forum: Off-Topic
Topic: A small PR rant
Replies: 60
Views: 11796

Re: A small PR rant

Hi Andy, I agree with the website and the blog, this should be improved. But I also think your friend is not the target audience of Livecode. Professional programmers with long time experience have a totally different view on programming. They demand very advanced things which are not relevant for t...
by TorstenHolmer
Wed Jun 17, 2020 6:11 pm
Forum: CGIs and the Server
Topic: Redirecting stdout to file on server
Replies: 0
Views: 1707

Redirecting stdout to file on server

Hi, I use Livecode server as an API for uploading some files from another application with the POST command. The problem is, that I cannot see the error messages, if something fails. In browser based interaction set the errorMode to "inline" is fine, but between apps I cannot see the reply. There se...
by TorstenHolmer
Sat Jan 25, 2020 9:17 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 75
Views: 52580

Re: POLL: LiveCode Server deployment

C: I have an account at www.hostm.com which is one of the very few hosting companies running Livecode server. Up to now I'm using it to create some scripts which work as an API for some mobile apps for scientific projects. I really like that Ii can be creative with Livecode on all platforms and devi...
by TorstenHolmer
Tue Oct 01, 2019 11:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mobileComposeMail not working - Disregard!
Replies: 3
Views: 1173

Re: mobileComposeMail not working - Disregard!

It does not work on my Android device (Android 9) either!

Compiled with Livecode 9.5 and 9.0.3.

Could if be a OS problem with newer OS versions?

Cheers,
Torsten
by TorstenHolmer
Sat Aug 03, 2019 12:16 pm
Forum: Educational Outreach
Topic: Which XPRIZE finalists used Livecode?
Replies: 0
Views: 2956

Which XPRIZE finalists used Livecode?

HI,

in the announcement mail for version 9.5 there is this sentence: "3 of the 5 finalists in the Global Learning XPRIZE competition used LiveCode when creating their apps."

I would like to know which projects used Livecode.

Thanks
Torsten
by TorstenHolmer
Sat Jul 20, 2019 9:43 pm
Forum: Internet
Topic: WebSocket connection with a node.js server
Replies: 2
Views: 2072

Re: WebSocket connection with a node.js server

I think: no.

So I will try to find out how to write a library ;-)
At least I have to understand what the guys who wrote the socket.io did, but it seems a lot of work.
Maybe we find a way to talk on normal sockets instead of websockets...
by TorstenHolmer
Fri Jul 19, 2019 11:25 pm
Forum: Internet
Topic: WebSocket connection with a node.js server
Replies: 2
Views: 2072

WebSocket connection with a node.js server

Hi, I am working on a research project where I try to connect a mobile LiveCode client (Android) to a server which runs node.js. As far as I found out, the client has to connect via WebSockets. * Is there a possibility to use this protocol with Livecode? * Are there any libraries which support WebSo...
by TorstenHolmer
Thu Jul 18, 2019 5:21 pm
Forum: Feature Proposals
Topic: Date and Time in RFC 3339 format
Replies: 10
Views: 4267

Re: Date and Time in RFC 3339 format

Great idea!
Thanks Hermann :-)
by TorstenHolmer
Wed Jul 17, 2019 11:45 am
Forum: Feature Proposals
Topic: Date and Time in RFC 3339 format
Replies: 10
Views: 4267

Re: Date and Time in RFC 3339 format

Ok, I've developed a solution and want to share it here: function ConvertInternetTimeToSeconds tInternetTime -- IN: 2019-07-11T15:15:22.801Z -- OUT: 1562858122 set itemdelimiter to "T" put item 1 of tInternetTime into tDate put item 2 of tInternetTime into tTime set itemdelimiter to "-" put item 1 o...
by TorstenHolmer
Wed Jul 17, 2019 9:18 am
Forum: CGIs and the Server
Topic: tsNet on LC server
Replies: 2
Views: 3249

Re: tsNet on LC server

Hi SparkOut, I have had the same problem. it is an error in the manual, the server has NO tsNet library. But you could use curl as a replacement. This is what my host replied as an asnwer how to use FTP with Livecode: "If you are wanting to programmatically transfer a file to another server, one way...

Go to advanced search