Re: on-rev mail server
Thanks, I'm still having issues so I'll email livecodehosting. Thanks Matthias for the link. On Tue, Oct 11, 2022 at 6:13 PM Andy Marshman via use-livecode wrote: > > Hi, > > I'm using the mail servers on Silica and both seem to be working fine for me. > I can also log into my cpanel account without issue. > > If it helps I'm based in the UK > > Regards > Andy > > 11 Oct 2022 07:59:41 matthias rebbe via use-livecode > : > > > Unfortunately i am not on Silica, but on Quartz. So i could just test with > > "my" server. > > I am able to login. > > > > So it is not a general problem, but only one with Silica. Maybe the db > > server part has problems. > > > > Anyway, if you think it's not urgent, then you could send an email to > > livecodehost...@livecode.com <mailto:livecodehost...@livecode.com> > > > > > > If you think it's urgent, then you can send an email to > > livecodehost...@livecode.com <mailto:livecodehost...@livecode.com> and put > > the word URGENT into the subject line at the beginning. This will speed the > > things a little bit up. > > > > Regards, > > Matthias > > > > > > > >> Am 11.10.2022 um 08:07 schrieb Kay C Lan via use-livecode > >> : > >> > >> Is anyone having troubles with on-rev IMAP and SMTP servers? > >> > >> I've just upgraded my OS and all the passwords for the servers were > >> blank but when I input them I don't get a connection. > >> > >> I restarted using my back-up HDD, which has all the boxes filled in, > >> but it can't connect to the mail servers either. > >> > >> I thought I'd log in using cPanel to see if there was a hint there but > >> I can't access the 'silica' server either; which led me to believe > >> that the servers may be down but I can access all my web pages. > >> > >> Anyone else having issues or should I be contacting Heather? > >> > >> Thanks > >> > >> ___ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
on-rev mail server
Is anyone having troubles with on-rev IMAP and SMTP servers? I've just upgraded my OS and all the passwords for the servers were blank but when I input them I don't get a connection. I restarted using my back-up HDD, which has all the boxes filled in, but it can't connect to the mail servers either. I thought I'd log in using cPanel to see if there was a hint there but I can't access the 'silica' server either; which led me to believe that the servers may be down but I can access all my web pages. Anyone else having issues or should I be contacting Heather? Thanks ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: global is empty
On Sun, Jan 20, 2019 at 8:30 AM JJS via use-livecode wrote: > Because with another stack the same principe is working correct. Using > LC902. In the odd cases where I've seen this happen (not your problem, but where the same code works in one stack but not another) my fallback strategy is to: clone the stack select the ENTIRE object's script, not just the function/command that is misbehaving, and paste it into a text editor. Delete the script from the object and Save. ie. the script of the object is now empty. If your text editor has the function 'Zap Gremlins' (or whatever it's equivalent is to remove non ASCII characters) use it. In 99% of my cases none are found and this is probably completely redundant but it's belts and braces to ensure only ASCII goes back. Copy and Paste the script back into it's object. Save your Stack again. This has worked for me on many occasions that it's just second nature now. Please don't take from that that I do this on a regular basis; in the early days of 8 & 9, maybe; I'm currently finding the latest LC9 very usable and haven't needed the above for a good 6-9 months. I think only once have I ever had to resort to applying the above to every script of the stack*; but fortunately I had available to me a very capable scripting language that was able to make very short work of exporting every script of every object into their own text file ;-) Once cleaned, and since Revolution 6.7 scriptLimits have been removed, it was also very easy to reset all the scripts of all the objects. It worked! As your case involves Globals you may need to 'clean' every script. *In reality it probably didn't need to be every script of the stack, there was probably some logical connection with the message path and the scripts involved; but time wise it was much quicker just to export every script than try to figure out the message path that may or may not involve 'the target', behaviour scripts, library scripts, send, etc etc. HTH ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Refactoring is your friend / moving from 6.x to 9.x
On Mon, Jan 7, 2019 at 4:26 AM Richard Gaskin via use-livecode wrote: > > Simon Knight wrote: > > One question why does this thread refer to RQCC ? > Richard Replied: > Old habits. The bug database used to be called the "Revolution Quality > Control Center", and the acronym is forever stuck in my typing fingers. And a spookily well timed questions; it's as if the late great Bill Marriot hearkens from the grave. Bill was responsible for the focus that took a very flakey Revolution, create the RQCC and develop what is clearly a much more effective process for reporting, processing, tracking and ultimately eliminating Bugs. For those who were there before Bill can attest, the Team these days does an extraordinary job of Bug reduction. Not perfect but a lot lot better than before the RQCC. I think tomorrow marks the anniversary of Bill's passing. RIP, and thank you. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Refactoring is your friend / moving from 6.x to 9.x
On Sat, Jan 5, 2019 at 10:13 AM Bob Sneidar via use-livecode wrote: > > I just finished a little utility that takes accounting data export from > Toshiba copiers ...The customer LOVES us. OT You might want to contact the Cuyahoga County Recorder's Office in Ohio as they clearly have problems with staff and photocopiers: https://www.youtube.com/watch?v=PZbqAMEwtOE Emily Maya Mills plays her role to perfection! There should be Acadmy Awards for YouTube™ reenactments. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Refactoring is your friend / moving from 6.x to 9.x
On Fri, Jan 4, 2019 at 6:03 PM Richard Gaskin via use-livecode wrote: > Is there an actual list of concrete concerns here that the team may be > able to take action on ... I think the closest would be: >Malte wrote: >Not yet fixable for me: >Array operations on larger data sets still slower than they were Which leads me to the post titled: On Performance of Array Access posted 31 Aug 2018 relating specifically to large array data sets. >The wise Mark Wa (on a 2018MBP) wrote: >Generally, I don't tend to like to 'jump the gun' on anything related to >optimization lest it is not what it seems when running in the real world >but... His scripts used for the tests are all public, repeatable and objective, but if you don't want to bother finding that Post here are the results (PR6671 refers to a GitHub Pull Request into the LC9 engine) >LC6.7.11: 1117ms >LC9.0.1: 4020ms >PR6671: 1017ms >6.7.11: 1055ms >9.0.1: 3281ms >PR6671: 497ms >6.7.11: 16872ms >9.0.1: 8305ms >PR6671: 4315ms >6.7.11: 16508ms >9.0.1: 6397ms >PR6671: 3001ms >REAL WORLD CASE >Now, I'm always a little skeptical about using synthetic benchmarks for >performance. However, both of the above are actually real-world >examples. Furthermore, when running a rather large LCS project on an >engine with PR6671, I got a 2x speed up - one particular input took >3mins to process, rather than 6mins (one phase of processing actually >saw a 5x speed up!). So what I can't confirm is whether PR6671 has been implemented into a current version of LC9, but what I will say is this, if it hasn't then Malte can look forward to an eventual speed improvement in large Array operations as Mark Wa has already identified this problem and is working on a fix. If it has been implemented then Malte needs to take a look at Mark Wa examples and see where he can use some of Mark Wa's good code to replace his own poorly performing code. How this thread diverged from a problem that was clearly resolved by fixing poor code, to, what seems to me, 'our poor code should run just as fast in LC9 as LC5', I don't know. Sorry. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Refactoring is your friend / moving from 6.x to 9.x
On Mon, Dec 31, 2018 at 9:17 AM Mark Wieder via use-livecode wrote: > > Yes, it is definitely a change in behavior. I want to strongly disagree with your conclusion here ;-) > > This isn't the only place where the dictionary is wrong. My 9.0.2 Dictionary quite clearly states for the property 'lockScreen' that it was introduced and hasn't changed since version 1.0. Which means, as Craig said, it's exactly the same as it was in HC. The Dictionary also clearly states: "LiveCode keeps count of how many times the screen has been locked. You must balance each unlock with a lock; if you lock the screen twice and then unlock it once, the screen remains locked." Yes it is unfortunate that that important statement doesn't appear in the other relevant lock screen and unlock screen entries. I'm with Herman, learnt a long long time ago to use a simple if statement to keep the lockScreen count to 1. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How to find the offset of the last instance of a repeating character in a string?
On Tue, Oct 30, 2018 at 2:33 AM Keith Clarke via use-livecode wrote: > > I’m trying to separate paths & pages from a list of URLs and so looking to > identify the position of the last ‘/‘ character. > If that is all you are after then I think setting the itemDelimiter to "/" and separating the 'item -1' (page) from 'items 1 to -2' (path) would give you a very simple a readable solution. The only problem is if you have the unlikely but not impossible situation where you have paths that contain no pages. Because of the known gotcha with LC and how it counts items when the last item is empty you may need to include and 'if' statement. Try this, create a new Stack with a field and a button. Into the field load the following text: https://www.my.org/assets/general/february/ https://www.my.org/assets/general/march/ https://www.my.org/assets/general/april/2018.zip https://www.my.org/assets/general/may/2018.zip https://www.my.org/assets/general/june/2018.zip https://www.my.org/assets/general/july/2018.zip https://www.my.org/assets/general/july/2017.html https://www.my.org/assets/general/july/2016.text https://www.my.org/assets/general/july/2015.jpg https://www.my.org/assets/general/august/2018.zip https://www.my.org/assets/general/september/2018.zip https://www.my.org/assets/general/october/2018.zip https://www.my.org/assets/general/november/ https://www.my.org/assets/general/december/ Into the button load the following script (be careful of line breaks there are 16 lines of code): on mouseUp put fld 1 into tText set the itemDelimiter to "/" repeat for each line tLine in tText if (char -1 of tLine = "/") then --usual problem with dealing with empty last items put empty into tPath[tLine] else if (tPath[item 1 to -2 of tLine] = empty) then --initial entry put item -1 of tLine into tPath[item 1 to -2 of tLine] else --multiple entries put tPath[item 1 to -2 of tLine] & cr & item -1 of tLine into tPath[item 1 to -2 of tLine] end if end if end repeat breakpoint end mouseUp There is breakpoint at the end so the script will pause and you can inspect the variables. You'll see that an array is created with each unique path as a key and each page its element. In the case of 'july' you will see that four pages are all listed, one per line. From there it should open a world of possibilities to arrange, sort and sift through the paths. HTH ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Showing four options in a menu?
On Tue, Oct 16, 2018 at 7:58 AM Geoff Canyon via use-livecode wrote: > > > 1. the property is not boolean -- display nothing with the menu. > 2. the property is boolean and is true for all the selected controls -- > display a !c check. > 3. the property is boolean and is false for all the selected controls -- > display ??? > 4. the property is boolean and is false for some of the selected controls > and true for others -- display ??? > For may programs, particularly with reference to Font settings, if you select text containing a multitude of font formats it will show a minus sign '-' as it can't show multiple values. If it were me: 2 = tick in the Box 3 = x in the Box 4 = - in the Box. It might not be quite standard but I think most people would figure it out pretty quickly. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [off] Do me a solid
On Sun, Sep 30, 2018 at 10:11 AM Mark Wieder via use-livecode wrote: > > > Is this the same Tim Berners-Lee who, in his capacity as Director of the > World Wide Web Consortium, a year ago overruled all objections and added > standardized DRM to the open web standards? Sided with trillions of > dollars worth of corporate muscle against accessibility groups, security > experts, browser startups, public interest groups, human rights groups, > archivists, research institutions, etc? > > Pass. Unfortunately I think the Free Software Foundation backed the wrong horse. Whilst it's mission to promote computer user freedom is commendable, doing it via OSS in a world where the Internet is driven by trillions of dollars, web search engines are driven by billions of dollars and both of these are influenced by media giants and governments with political agendas almost make the fact that you have OSS on your device irrelevant. I think individual freedom, let alone computer user freedom, would better be served if, like linux, there were a couple of versions of the WWW, some of which were truly Open Source. Although I use DuckDuckGo in deference to Google, I think we'd all be better off with a few viable OS Web Search Engines - the current ones are too small. I think in the future we'll look back and realise that having a purely open Search Engine and purely open Internet will be far more important to us than whether the code of the app we are using, to take advantage of what is available across the internet, is open or closed. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [ANN] animationEngine is free now
On Sat, Sep 29, 2018 at 7:27 AM John McKenzie via use-livecode wrote:> > You are right, if it is GPL it is so forever, but the original author > can also release/re-release it with another licence. THE GPL version > with all the terms that go with it still exists though. The original > author cannot make you pick one licence or the other. Users with the GPL > continue to have all the rights of the GPL. Those users can choose to > download a copy with the other licence if they want though, as long as > they obey the terms of that licence. Thank you John for expressing this so succinctly as strangely I don't think it's a concept LiveCode the company fully understands, or is happy that licensing is a generally confusing issue for Users. It has been expressed on the odd occasion that a couple of students can't each download the Community version of LC and develop a game and then one of them who has a rich Dad buy a Commercial version and then upload their App to the Apple Store; but this is perfectly legitimate if they jump through a few hoops. As long as all the students release all their code to the public under GPLv3 and then, maybe even via this List, release all their code under another license - I currently have a particular liking to the JSON license which is GPL incompatible but is AppStore compatible - then you, me, and Student No 3 with a Commercial license can take that code and do with it what we like. LiveCode can not prevent Malte from releasing his GPL code additionally to the Public Domain. The FOSS can not prevent any GPL code from also being released under another license. This is exactly how VLC was originally pulled from the Apple Store but eventually made it's way back because all the contributors who wanted VLC to be released without the restrictions of GPL, simply re-released their code under a different Apple compatible license (MIT I think). So it is legal for a group of impoverished developers (aren't they all;-) to all grab a copy of Community LC and develop away to their hearts content releasing all their code to the Public Domain (which is GPLv3 compatible but irritates certain FOSS zealots) and at some stage scrounge up enough money for a single Indy license and release their Killer App on the App Store. The company may wish all the contributing developers purchased an Indy license but there is no legal or practical way that they could enforce that desire. As long as the LC User abides by their License, and the Receiver abides by the License of the code they receive and the LC License they have, then you are good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stacks whose names start with "rev"
On Fri, Sep 28, 2018 at 8:48 AM J. Landman Gay via use-livecode wrote: > > The reason the stack name can't be changed is because the whole > multi-stack system uses the stack name for internal display in dozens of > places (glossaries, gradebooks, student notes, reading history, lookups, > etc.) and I'd have to add exceptions everywhere to accomodate just a > couple of problem names. We only want to do an occasional edit without > upsetting the whole IDE. > I appreciate that this will not solve 'the problem' but would solve your 'current problem'; why not give the stack the correct name "The Revelation" *. That way ALL your glossaries, student notes and other references would show the correct title of the book. Please note there is no 's' at the end, and by adopting the correct name you may go some way in helping the students win trivia bets as to whether the last book of the Bible is called "Revelations". * At least in my copy of the King James Bible it's called "The Revelation - of St John the Divine"; other versions of the Bible may have colloquially translated that to Revelations. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: 64 bit LC
Surprised that no one has replied to this so I'll just offer a bit of advice. Whilst on the surface your assumption is correct, 64bit will allow more accuracy than 32 bit, what you need to be aware of is the same gotchas still apply to 64 bit LC as 32 bit LC. Try this in the msg box: put 283.67-150.00-133.67 you should get 0. Now try this in the msg box: put 283.67-150.00-133.67=0 You will get 'false' when you know you wanted true; whether in 32bit or 64 bit LC (Python, JBScript and some other languages) in some cases you don't get the answer you know is correct. The answer can be found in the Dictionary entry for NumberFormat: Note: Since LiveCode does not use decimal numbers for its internal calculations (for reasons of speed), the decimal representation of a number is sometimes slightly off the correct number. For example, 10^-1 is equal to 0.1, but is calculated (to eighteen decimal places) as 0.16. Because of this, setting the numberFormat to specify many decimal places after the decimal point may produce unexpected results in a statement that tests for an exact number. To prevent this, either avoid setting the numberFormat to a value more precise than you need, or use the abs function instead of the = operator to test equality: put abs(283.67-150.00-133.67)=0 but we still don't get the answer we are expecting. NumberFormat is not the only LC property/command/function that is effected by the use of 'decimal representation'; trunc is another that comes to mind. But as can be seen by my example ALL math within LC is effected by the way LC treats decimal values. If you do a search of this mailing list for 'decimal floating point' you will find plenty of examples of people who have been caught out by this 'computing gotcha' - again it is not just LC that suffers from this. For any and all 'precision' math within LC, be it 32 or 64 bit, special attention will need to be made to account for these fringe cases. Good luck. On Mon, Jul 16, 2018 at 4:44 AM, Tom Glod via use-livecode wrote: > Hi folks, am I correct to assume that a 64 bit build of livecode will > enable the engine to do more precise math? I want to build a tool that > requires precise division with really small decimals and multiplication of > large numbers I want to know the number of digits is can reliably count on > on both sides of 0, and get 100% accurate result every time. > > Thank you for any clarification on this subject. I defer to your greater > wisdom. > > I can't test LC linux on right now, and I don't have a mac ..or i would > test this myself. :) > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Put URL into variable and textEncoding
No, nothing has changed. The Dictionary entry for textEncode and textDecode still contains this note: It is highly recommended that any time you interface with things outside LiveCode (files, network sockets, processes, etc) that you explicitly textEncode any text you send outside LiveCode and textDecode all text received into LiveCode. If this doesnt happen, a platform-dependent encoding will be used (which normally does not support Unicode text). Of course, the URL you use today might work fine without textDecode, but another URL and another day you might not be so lucky. put textDecode(URL "http://www.some/service/endpoint","UTF8;) into tVariable is still only a single line of code and I very much doubt that you will notice the extra cpu cycles. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Open stack "MyStack" Not working
What is the line before your "open stack" line? Is there any chance that the stack "myStack" has accidently had it's name changed: " myStack", "myStack ", " myStack " or "my Stack" - note the spaces What happens when you enter the command into the Message Box, does that open the Stack? If not, can you use the command to open some other Stack? If so, does "myStack" really still exist? On Tue, Jan 30, 2018 at 4:56 AM, Roger Guay via use-livecodewrote: > All of a sudden, today, > > open stack “myStack” > > Does not work. I results in this error: > > Message execution error: > > Error description: Handler: error in statement > > Hint: message > > > So far, I’ve tried restarting my Mac (OS 10.13.2) a number of times and I’ve > tried ditching the prefs, all to no avail. I get the same result on LC 7.1.3, > 8.1.7 and 8.1.8. > > Any ideas? > > Thanks, > Roger > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone else got two-monitor issues with LC9 on Mac?
I should have also noted that I didn't see the problem with a small misalignment of the tops in the Display Preference Pane; the tops had to be quite far apart. Also, what was strange was that just because the additional monitors may have been set to above the central MBP in the Display Preference Pane, it didn't always result in an 'offset high' situation - the Click occurring above the visible position of the Mouse. Sometimes it was offset high, sometimes low. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone else got two-monitor issues with LC9 on Mac?
On Sat, Jan 13, 2018 at 11:14 PM, Graham Samuel via use-livecodewrote: > > This is the essence of the issue - there may be other variants with the Tool > palette etc but I’m trying to keep it simple. > After some testing I can confirm it's exactly the same as the Tool Palette problem related to the tops of monitors not being aligned in the Display Preference Pane. I typically use 2 additional monitors. My set up is: Main screen (middle) 15" MBP Retina set to 1920 x 1200 Left Monitor 21" Samsung SyncMaster set to 1440 x 900 (default) Right Monitor 24" Benq set to 1920 x 1080 (default) The MBP is running 10.11.6 I do NOT use the Spaces feature of OS X LC 9.0.0 dp 11 Graham, when you see this, open the Tool Palette (TP), move it so it's directly adjacent to the PB with the tops aligned. As you move the mouse over the TP you'll notice that the wrong icons will highlite. So for instance in one test I did, I had the mouse over the 'Player' icon, yet the 'Clock' icon highlited (offset high). In another test I had the mouse over the 'Pointer tool' yet the 'Check Box' icon highlited (offset low). With this knowledge you can easily get the PB to work. Move the mouse over the TP until an icon horizontally aligned with the +/- icon (or any of the Tree view objects listed) is highlited, then move the mouse horizontally into the PB until it's directly above/below the +/- icon (or any other object listed) and Click. The offset of where the click actually occurs in comparison to where the mouse visibly is is exactly the same in the PB as the TP. Of course this is a silly way to work. The whole lot can be fixed simply as others have pointed out, align the tops of the monitors in the Display Preference Pane. I just wanted to prove it's the same issue. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Announcement: SVG Icon Tool
Very nice! Thank you so much:-) On Mon, Jan 15, 2018 at 7:33 AM, J. Landman Gay via use-livecodewrote: > Anyone who hasn't looked at this stack really should. It's what we've needed > ever since SVG was introduced to LC. > > > On 1/13/18 11:25 PM, Brian Milby via use-livecode wrote: >> >> I've posted an updated version of my SVG Icon Tool to my server with a >> large number of icons included (everything from >> https://leungwensen.github.io/svg-icon except the flags which needed >> color). I've also included the feather icons that were mentioned. >> >> Direct link to the download: >> https://milby.us/lc/SvgIconTool.180113-2301.zip >> >> Latest forum post on the tool: >> http://forums.livecode.com/viewtopic.php?f=10=30411=162655#p162655 >> >> Once the SVG Icon Library is updated to allow loading other icon families, >> this tool can be used to help manage icon sets for applications. There >> should be no reason the LCB file in my PR couldn't be compiled in LC8, but >> I've been working on it in LC9DP11 & develop. >> It exports encoded LC arrays that are in the format needed for the >> library. >> >> Thanks, >> Brian >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Was I hallucinating? Totally OT, perhaps relevant
On Thu, Nov 9, 2017 at 6:23 AM, Richard Gaskin via use-livecodewrote: > > But there's no question that all voice-activated systems (Apple's Siri, > Amazon's Alexa, Microsoft's Corana, Google's voice navigation) must listen > at all times in order to be able to know when you call them by name. > What a timely thread. Wednesday I watched a TV show that was talking about Siri, Alexa, Assistant and Corana. What I found most interesting was that from this 'expert panel' they all agreed that Amazon was years ahead of the game and that this wasn't so much a technology race but an advertising trend, demographic, revenue game where Amazon had the experience and data that covered all demographics and all interests. I remember reading about how KMart in one of their early studies into buyer habits and predicting future purchases got into trouble from one angry parent because KMart had sent a flyer focused on pre/early maternity to their 15y/o daughter. A couple of weeks later the parent had to come in and apologise to the store manager as it turned out his daughter was in fact pregnant. Everything we search/buy/discuss/bookmark/hyperlink to is being monitored and this is then used to determine what ads get peppered around our screens. Amazon is currently King; not just at accurately predicting, but actually turning those ads into actual purchases. But the reason I find this thread so timely is that on Tuesday I went for a road trip with my brother, 4 hrs out to a business meeting and 4 hrs back. One of the conversation included the fact that I'd recently sleep in the back of my station wagon (estate car). I'd simply placed a mattress in there, there was plenty of room and slept very nicely. I typically use Firefox with the NoScripts extension; no cookies, no javascript - so no ads, no distractions. Unfortunately every now an then I come across a site that won't work enough for me to get what I need so I typically just crank up Safari and copy the URL across. On Wednesday I had to do that, and there up popped all those ads; USB microscopes, robotic arms, Arduino boards, Pi's etc - unsurprisingly based on my recent purchase of a USB Endoscope. What was surprising was there in amongst them was ad for a wall to wall mattress with cushioned side wings specifically to fit in the back of a station wagon! Now the USB Endoscope I researched and bought online so I know full well I left a truckload of data points in my wake that the marketing algorithms could quickly determine what other areas I might be persuaded to make purchases. But the wagon mattress? I simply dragged it out of the loft, threw into the back of the car, slept on it, and put it back when I got back home. I had a 2 minute conversation about it with my brother whilst hurtling down the road at well 'under' the speed limit. The other 7hrs 58min was spent talking about a wide variety of topics; politics and a current News item probably taking up most of the time. I have an iPhone with Siri usually turned Off, but after I recently upgraded to iOS11 I hadn't picked up that Siri had been turned On - it's now back Off. I'd like to think it was coincidence... but how many of you have EVER seen an online advert for a mattress specifically for station wagons? If the technology is there, I wouldn't put it past these revenue hungry behemoths to softly play the well known jingle of your favourite fast food outlet exactly 10min prior to the time you'd need to order so that it arrives right on dinner time! If you happen to have a Huawei phone, and so impractical for the local Dai pai dong to deliver to your door, the next revenue stream is 'Alibaba' ;-) Whilst I do not consider there is any conspiracy here, and this stuff does not bother me and if fact can be quite helpful occasionally, I will continue to leave Siri Off and run NoScripts with Firefox. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Markdown ultra-lite
On Tue, Nov 7, 2017 at 2:20 AM, Trevor DeVore via use-livecodewrote: > > Here is some old code I used in the past which was modified from some other > converted I had written for Textile and BBCode. Trevor, thank you very much. >If I were writing the > converter today I would use the styledText array to do it. It is great for > converting to other formats. > Yes, that is what my initial, very basic, play around has used. The nice thing about having your code is that I can feed some HTML in, see what comes out of your code and then compare that against my own results. It's I nice check to confirm I understand what I think the markdown spec is saying;-) It'll save me time so thanks again. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Markdown ultra-lite
On Sun, Nov 5, 2017 at 1:39 AM, Alex Tweedly via use-livecodewrote: > > (*) I read about Markdown; it was interesting; I learned something - no > hours were truly "wasted" > Nor was I aware that mergMardownToXHMTL existed, so thank you for raising this thread so James could enlighten us. Now all I need is someone to tell me there is similar function that converts HTML (or more specifically the LC subset of HTML used by Fields) to Markdown otherwise I too will be reading more about Markdown (thanks for the link) and learning something new. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: The coming of SVG
On Sat, Nov 4, 2017 at 7:19 AM, hh via use-livecodewrote: > > Probably we could call it "artwork"? > (If all the promises realise it is indeed a software artwork!) Beat me to it. But considering LC takes the hard work out of cross platform programing. And considering Jacques comments about Mark not being fond of abbreviations. Lets just take the work out of artwork and call it 'art';-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Script Editor Autocomplete Optional?
On Fri, Sep 15, 2017 at 3:09 AM, Mark Waddingham via use-livecode > Engage enhancement request - > http://quality.livecode.com/show_bug.cgi?id=20397 :) > I've just added the following comment: It may be useful to clarify is this going to be the 'Documentation' pane that already exists at the bottom of the SE or is it going to be a different pane. Also, how is the content/functionality going to be different from the current Documentation pane. >From my own perspective, I already use the Documentation pane as an aide-memoire and if necessary I can copy the example and paste it into the SE. What I'd like to see is rather than the single most complex example given, a list of examples from simplest to most complex and instead of having to revert to the mouse to copy and paste, option-1, option-2 etc to copy the chosen variation into the line where the insertion point is. To me this allows 'autocompletion' to be turned On or Off by selection of the pane (be it the Documentation or some other named pane), the location of the suggestions is constant and less invasive, and the keystrokes to use is always just two (option + a number); no navigating down a list then typing the activation key. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: new license type
On Thu, Sep 14, 2017 at 7:37 AM, Roger Guay via use-livecodewrote: > How did I miss this? What new license type”? Yeah I thought I'd missed it too. Got the email about the new Autocomplete and Live Errors in LC 8.2 and there was the mention of LC Community Plus I know I've been extremely busy lately and haven't been able to spend time on the List (or with LC) as much as I'd like, but I still skim through the List and figured I couldn't miss something this big. I definitely like the idea and am sure it's a move in the right direction. $79 I'm not so sure about, but I don't have a marketing team behind me and Kevin does. Either way, down the track if it needs tweaking I'm sure that's exactly what will happen because one thing is quite clear, the LC Team listens to this community and it's customers and they respond on all the opinions and feedback; not just from the vocal minority. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New "Make Docset" stack uploaded
On Wed, Sep 13, 2017 at 5:17 PM, James Hale via use-livecodewrote: > Note: Currently Dash does not recognise "glossary" nor "Control Structure" as > an entry type > I have written to ask these types be included. I like your style. Fingers crossed and thanks again. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode docset for Dash
James, Just wanted to say thanks so much for creating this. I'm a Dash user, always have it open with LC and this will help the LC workflow tremendously. Just a note, when I double clicked on the docset to activate it, it started Xcode. I'd hope anyone who is using LC would be able to figure out how to fix that but it may be worth mentioning in your instructions. As far as your 'sw' title for your switch snippet goes, that's easy to fix: sw3b --switch statement with 3 case and no default (b = break or blank however it helps to remember) sw3d --switch statement with 3 case and default (d = default) .. sw6b --you get the picture sw6d No chance of false activation this way, massive typing time saver :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac PPC
Can confirm that LC 6.6.5 will run on a PPC running Leopard 10.5.8. On Tue, Jun 13, 2017 at 5:37 PM, Mark Waddingham via use-livecodewrote: > 6.6.x I think was the last version to support PPC - 10.4+. > > Mark > > Sent from my iPhone > >> On 13 Jun 2017, at 08:32, Richmond Mathewson via use-livecode >> wrote: >> >> I wonder (to save me trawling endlessly though release notes) if >> anyone can tell me the last LC version to run on Mac PPC? >> >> Richmond. >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Writing Extensions
1 or 2 or 3 > -- do something > end choose > > choose tValue > when 1\ > or 2\ > or 3 > -- do something > end choose > > On Wed, May 24, 2017 at 9:03 AM, Kay C Lan via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On Wed, May 24, 2017 at 8:25 PM, Mark Waddingham via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> > >> Thanks Mark for the explanation. >> >> > choose tValue >> > when 1 >> > when 2 >> > when 3 >> > -- executes if tValue is 1, 2 or 3 >> > -- never falls through >> > >> > when 4 >> > -- never falls through >> > >> > default >> > end choose >> > >> > This caters for both cases (1) and (2) and is unambiguous. >> > >> Whilst I certainly like the above and think it an improvement, if I >> were to 'step back' and redesign Switch I think I'd make it clearer >> that 'fall through' is just an OR - it took me ages to realise and >> I've have very very long: case (() OR () OR () ) which >> were extremely long and very hard to read until I rewrote them as >> >> case >> case >> case >> case >> ---do something >> break >> >> What I can't currently solve is the many case ((.) AND () AND >> () AND (...)... ) >> >> So, again if I were reinventing Switch: >> >> choose tVale >> when 1 >> or 2 >> or 3 >> --do something >> -- no further fall through >> when > 6 >> and < 60 >> and even >> --do something else >> --no further fall through >> when 4 >> --do another thing >> default >> --some other thing >> end choose >> >> Just makes it clear that fall through is being used to combine the >> statements, but in my design it isn't just restricted to OR. >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, >and did a little diving. > And God said, "This is good." > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Writing Extensions
On Wed, May 24, 2017 at 8:25 PM, Mark Waddingham via use-livecodewrote: > Thanks Mark for the explanation. > choose tValue > when 1 > when 2 > when 3 > -- executes if tValue is 1, 2 or 3 > -- never falls through > > when 4 > -- never falls through > > default > end choose > > This caters for both cases (1) and (2) and is unambiguous. > Whilst I certainly like the above and think it an improvement, if I were to 'step back' and redesign Switch I think I'd make it clearer that 'fall through' is just an OR - it took me ages to realise and I've have very very long: case (() OR () OR () ) which were extremely long and very hard to read until I rewrote them as case case case case ---do something break What I can't currently solve is the many case ((.) AND () AND () AND (...)... ) So, again if I were reinventing Switch: choose tVale when 1 or 2 or 3 --do something -- no further fall through when > 6 and < 60 and even --do something else --no further fall through when 4 --do another thing default --some other thing end choose Just makes it clear that fall through is being used to combine the statements, but in my design it isn't just restricted to OR. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Writing Extensions
On Wed, May 24, 2017 at 2:49 AM, Mark Waddingham via use-livecodewrote: > On 2017-05-23 18:02, Mark Wieder via use-livecode wrote: > > In regards to 'switch' - 'switch' in LiveCode copied the C 'switch' which > is pretty much universally considered to be one of the worst designs of > such a thing and we didn't want to repeat that 'mistake'. > I apologise for straying off topic but as one who found HyperCard to be a revelation, and then stumbled across Switch in Revolution and was just blown away (I'm pretty sure HC didn't have Switch) and now use it EVERY time I script I was wondering if you'd be kind enough to elaborate on what's wrong with LCs Switch. I tried to google 'faults with C implementation of switch statement' and other similar searches but didn't find any smoking gun: https://www.codeproject.com/Articles/100473/Something-You-May-Not-Know-About-the-Switch-Statem https://softwareengineering.stackexchange.com/questions/162615/why-dont-languages-use-explicit-fall-through-on-switch-statements In that last one the only inference I could find was that due to the probability that in 97% of use 'fall through' is not intended, a whole heap of typing could be saved if no keyword (break) was required for the 97%, and a keyword was only used to activate fall through. i.e. switch yourName case "Mark" -- do something break case "John" case "Jon" -- do somethingElse break case "Ali" -- do anotherThing break end switch would become switch yourName case "Mark" -- do something case "John" fall --or some other keyword case "Jon" -- do somethingElse case "Ali" -- do anotherThing end switch 11 less character to write. Is this the only problem with the current implementation of Switch? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: WannaCry [OT]
On Tue, May 16, 2017 at 6:46 PM, Mark Waddingham via use-livecodewrote: > > I'd at least hope that 'smart cars' software is engineered to a much > higher standard than other places: > Well it may not even be 'smart' cars, even just modern cars may have problems depending on circumstances. This article also raises an interesting issue with regard to Uber and/or similar: https://www.theguardian.com/technology/2015/aug/12/hack-car-brakes-sms-text ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: WannaCry [OT]
On Tue, May 16, 2017 at 3:13 AM, Richard Gaskin via use-livecodewrote: > > Might it be (again, we can't know for sure until we talk with each vendor) > that they simply soldered too little RAM onto the motherboard and provided > no means of updating the OS because they weren't thinking long-term? > Hmmm sounds so simply, but I think when you are talking about any machine worth more than $1000, especially from any reputable provider (i.e. one that would win a government contract) then a huge amount of thought and design has gone into all the compromises necessary to achieve the 'current objective' whilst achieving an acceptable ROI. In every case, I'm sure there'd be a desire to make it more modular, add more RAM, add more software features, or make it smaller or lighter, but just like the other Post about Tom Pitman and his need to reduce 257bytes of code down to 256 because that was all that was physically available; there will always be some constraint where today's technology and hindsight make it easy to say 'if only they did this/that/the other'. > > If hardware vendors are looking for control over their platforms, perhaps > they should be looking at open source OSes so they have access to the source > code, ensuring that it will do always be able to do what they need. > Again it sounds good but my own prediction is that open source OSes for 'the internet of everything' will be opening the floodgates for exploitations that will effect a wider portion of the community, more and more often. I'm particularly thinking of cheap Chinese smart phones and TVs. My parents have gone through several cheap Chinese smart phones (Huwei to name one brand) that have all ended up getting to an OS version and then can no longer be upgraded. The phone still makes phone calls; no software makes a phone conversation any better. That's all my parents, and the vast majority of the population needs. They are not going to buy another phone just because the OS has EOLed. The phone gets upgraded only when it's no longer fit for purpose - battery doesn't last long enough. Same with Smart TVs but on a much worse scale. Few companies, and certainly no cheap Chinese brand company has any interest, once they've sold you a TV and made a slim margin of profit on it, in keeping the OSes up to date. How often does Linux get a security update, yet how often does your Smart TV tell you you need to update it's Linux based OS? You really think the population is regularly going to check the Smart TV Firmware date and as soon as it gets to the point it no longer can be updated, or is 6/8/12 months behind Linux, they'll trash it and buy a new one? In most cases it's not even the device that tells you it's OS has EOLed, it's some other vendor's software (Google Maps/Neflix) that tells you you can't download the latest version because you aren't running the latest OS. Cars, cameras, fridges and a whole heap more are starting to run Linux/Android and be network connected; unfortunately the bottom line, not security, is the driving factor for this choice. As I said, I predict this will increase the number of EOLed OSes available to unscrupulous entities to exploit. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: new team member
On Fri, May 12, 2017 at 5:45 AM, Dr. Hawkins via use-livecodewrote: > > We found that at about 10 lbs, they hold enough food to sleep through the > night. > ...oh, so that why this lady waited for hers to be 16lb 4 oz: http://now100fm.cbslocal.com/2017/05/10/woman-gives-birth-to-16-pound-baby-pics/ Is there any chance the hospital uses gitbub; maybe you can push your current repo of baby and pull it once it hit's the 10lb milestone ;-) Ali, congrats to you and your wife. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OT (?): Bookmarking GPS coords
On Sun, Apr 9, 2017 at 10:58 AM, Alex Tweedly via use-livecodewrote: > I'm looking for any help or suggestions for existing apps that can do > (something like) what I want to do - could even be a clever way to use a > feature I've not found in Google maps, or pple maps, or ... > Hi Alex, I'm not exactly sure what you are trying to achieve but here is a scenario that might address some of your needs: You have a local Scout group and you want all the children in the group to know where all the other kids and group leaders live so you want to produce a map with place markers that can be easily shared. So I'd get all the kids to go home, get onto Google Maps and find their own home using Street View. Once they've found their home, they take a copy of the URL and have them email it to you. The entire URL will look like this: https://www.google.com.au/maps/@52.7810059,-1.7254772,3a,75y,38.54h,87.5t,358.22r/data=!3m6!1e1!3m4!1sNB14D3D9SvOQvL8Efe9h8w!2e0!7i13312!8i6656!6m1!1e1 The format is pretty straight forward to decipher, the two numbers directly after the @ is the latitude and longitude. It would be easy to write an LC utility to strip the address to just the Lat and Long. Take this Lat and Long and paste it into Google Earth. Note I started out in "Maps" because of Street View - it is much easier to find your own home in Maps vs Earth. Obviously pasting the Lat Long into Earth will take you to exactly the same spot. In Earth you can then place multiple 'Placemarkers' and give them appropriate names and descriptions - that are like pop up tooltips. I'd name the Placemarkers after the kid's name, and for the description enter their proper address. Once you've entered all the Placemarker details, you can scale your view to cover just the area that includes all your Placemarkers. You can then save this as a .kmz file and send it out to everyone. When anyone opens the file they'll see exactly what you saw when you saved it; but it doesn't preclude them from zooming in and out or panning around. Google Earth is available on all the popular desktop and mobile OSes and is free. Lastly, .kmz files are basically an xml file as defined by Google. Again the format is pretty simple to decipher - or you could look it up on the internet and have it precisely described to you. I would think it would be relatively simple to define a procedure (less simple to have the kids actually follow it) where the kids send you an email with the body is in a format like: URL: qerpoqueoruqweouqeoruqoru Your fullname: oiu lh mnbmb Your Full address: 765 hohjjkl jhgjgh ouyiuy UYT 432 FHG and then have LC read the email, extract the relevant data and then automatically add the Placemarker data into the .kmz file. One problem I see is that someone might join who lives outside the original zoomed level of your custom kmz map so with each update to the kmz file you would have to actually open it and look at it in Google Earth and determine that the zoom level is correct to ensure that everyone is still within the bounds of display; before saving the file and sending it out as an update to everyone. Also, Google Earth allows you to create your own 'Tracks' that can be saved and shared. So for instance, you could save a Scout hiking trip and share it and so parents would know where to drop kids off and pick them up, and theoretically the kids can't get too lost on the route in between;-) HTH ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mysterious customer
I have a Retina display, I downloaded your app and it's as Roger deduced: If, via System Preferences -> Displays I change my usual setting of 'More Space' to 'Larger Text' the Retina Display is effectively turned into a 1024 x 640 display; you App is magnified and doesn't fit and it can't be made to. If I select the next setting up, it's effectively a 1280 x 800 display and still your App doesn't fit. Any setting from 'Default' up to the full resolution of 'More Space' handles your app just fine. That should help Artie but I tend to agree with Roger. If you are catering for people like yourself, who may hold onto computers until they actually die (the computer, not the user;-) then a height no taller than 756 px should reduce your support calls. On Wed, Apr 5, 2017 at 3:51 AM, Richmond Mathewson via use-livecodewrote: > "Artie" says: > > "I wonder if, suspect, actually, that this has something to do with my > Retina screen." > > I have no access to a retina screen, so would be grateful if anyone who has > would go to the MacUpdate website and > download my "CHAR REF" standalone and see what happens. > > Richmond. > > On 4/4/17 7:45 pm, Peter Bogdanoff via use-livecode wrote: >> >> My application is 728 high. This covers 99% of users. I know that you’re >> not releasing it for Windows, but there are Windows users with 11” screens. >> If the OS reports screen resolution < 800 I hide the Taskbar as well. >> >> Peter Bogdanoff >> >> >> On Apr 4, 2017, at 6:30 AM, Rick Harrison via use-livecode >> wrote: >> >>> Hi Roger, >>> >>> I think you have hit upon the real problem, >>> and the correct solution. If he is looking at >>> his Mac at a resolution of either 1024 x 640 >>> or 1280 by 800 then Richmond’s app wouldn’t >>> fit at all properly on the screen. >>> >>> For my everyday use I usually have my screen >>> set to 1280 by 800 because I don’t like >>> the small text. When I work on an app >>> I always switch to 1920 by 1200. >>> >>> Good catch! >>> >>> Rick >>> >>> >>> That sounds like the answer On Apr 4, 2017, at 8:06 AM, Roger Eller via use-livecode wrote: Is it possible that "Artie" has his display set to a lower resolution to compensate for vision impairment? ~Roger On Tue, Apr 4, 2017 at 6:49 AM, Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > I pumped out a 32-bit Mac standalone from my Char Ref stack and > > released it through MacUpdate as a freebie, and have had a series of > e-mails from > > someone called "Artie" who says that the standalone (886 pixels high) > won't fit on his > > Mac Laptop that has a screen res of 2880 x 1880. > > This seems odd to say the least. > > Richmond. > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> ___ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: codePointToNum
On Sat, Apr 1, 2017 at 4:11 AM, Richmond Mathewson via use-livecodewrote: > put baseConvert(codePointToNum("&"), 10, 16) > > BUT it go "all stuffy" about the codePointToum, so I did this: > > put codePointToNum("&") into NUMM > put baseConvert(NUMM, 10, 16) > On my Mac 10.11.6 using LC 9.0.0 dp4 both of those code snippets produce '26' in an egalitarian manner. There should be no reason why: put baseConvert(codePointToNum("&"), 10, 16) should make your computer "all stuffy". If it is then there is a bug to report. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: What has changed in MacOS 10.12 in handling code pages?
On Wed, Jan 18, 2017 at 3:58 PM, Tiemo Hollmann TB via use-livecodewrote: >So the issue is solved for my current > development, but is a great annoyance for all my customers out there with > old versions, because this bug makes my program unusable for all of them. So isn't that normal software evolution? With every OS X upgrade most software vendors have to tweak their product to make it compatible with the latest and greatest. I usually wait until OS x.2 before scanning the websites of my most needed software to confirm they are compatible before I'll consider upgrading my OS. I think some software developers bank on this 'need to update' to maintain a revenue stream. Granted, having fonts display abnormally isn't something I've ever heard of before. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: What has changed in MacOS 10.12 in handling code pages?
On Fri, Jan 20, 2017 at 2:52 AM, J. Landman Gay via use-livecodewrote: > > These are special font names introduced recently, explained in the > dictionary under "fontnames". Ah, I see, in the Dictionary entry for textFont I should have followed the link to fontNames. Thanks for the heads up. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: What has changed in MacOS 10.12 in handling code pages?
What I should have added: If you set a font for your stack, does that fix the problem, i.e. you still leave the font setting for Menus and Fields empty. If not, if you specify a font for your Menus and Fields does that fix the problem? Obviously you have to choose a font you know has Umlaut etc. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: What has changed in MacOS 10.12 in handling code pages?
I was thinking that this might have something to do with the installed fonts you have and maybe some sort of substitution if the font you used with your pre-10.12 install is not available with your new install. Interestingly I've just done a test and got a rather unusual result when trying to test this theory. In LC 6.6.5 on OS X 10.11.6 I created a new stack, dragged a field onto it (i.e. no font specified for the field) and then in the msg box: put the effective textFont of field 1 --the result is 'Lucidia Grande' In LC 9.0.0 dp4 on the same machine if I do the same thing the result is '(Text)' If I go into the LC 9 Object Inspector to set the Font of the newly created field there are a bunch of entries at the top, which you don't get in 6.6.5, like: (Default) (System) (Text) (Styled Text) If I choose a specific font then understandably doing: put the effective textFont of field 1 -- result is whatever specific font I've chosen. In the Dictionary the LC6 entry differs from the LC9 entry but both contain this statement: On Mac OS systems, if the specified font isn't available, the system font (which is set in the Appearance control panel and specifies the font used for menus) is used. I think that is an old reference to the Classic OS as there is no such thing as an Appearance Control Panel anymore and you can't set the font of menus. I'm still leaning towards what fonts you have installed, maybe 10.12 handles substitution differently than 10.11 and earlier. And somewhere along the way LC has changed the way it handles and reports situations where no font is specified - as there are obviously now more default possibilities and the Dictionary doesn't explain how you might end up with (Default) as opposed to (Text) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: AW: AW: Why do I still need MacToISO, when working with UTF-8?
On Tue, Jan 17, 2017 at 1:24 AM, Mark Waddingham via use-livecodewrote: > > However, the 'endpoints' (i.e. where the developer can 'see' encoded text > output - e.g. when writing to a file, or encoding for a URL) had to remain > as before otherwise all existing applications using anything other than > ASCII text would have broken when moving from 6.7 -> 7.0. > But isn't that the point of Tiemo's confusion - his scripts broke when moving to 7.0! Prior to 7.0 he didn't have to do anything, it all 'just worked'. When he moved to 7.0 where 'unicode' was suppose to 'just work' on all platforms, he's used textEncode/textDecode to/from UTF8 and it's not working for him (on Mac), instead he's found macToISO (MacRoman to Latin 1) is working for him, which seems to be a step backwards. There must be something more hidden in his scripts or PHP. I wonder if he replaced macToISO(myFile) with textEncode(myFile,"CP1252") he'd get the same result. If so, it may suggest that everything is expecting Latin 1, not unicode. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I need help with UTF-8
We may need to see your actual scripts to determine where the problem may be. Also, how do you know that your MySQL db data is corrupt? What program are you using to look at it? How was the db set up in the first place; what character set and collation? Is it possible that your Windows db Client is set to UTF8 whilst your Mac db Client is set to MacRoman? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Not Corruption
On Thu, Jan 5, 2017 at 9:09 AM, Dr. Hawkinswrote: > > And my first stint of practicing law led to Hawkins' Second Law: There is > no lower bound to human intelligence. > > (I've forgotten the first law; it was a special case of the second) > I'm assuming the old "The difference between genius and stupidity is that genius has it's limits". ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode