Re: Ideal Unicode?

2011-08-15 Thread Jeff Massung
On Mon, Aug 15, 2011 at 3:32 PM, Kee Nethery wrote: > In my perfect programming world ... > > I'd want all characters all the time for any place characters are displayed > to be displayed and entered as unicode characters and represented as UTF8 > bytes. > > If the display version has "割劥" I'd wa

Re: How to check for duplicate usernames?

2011-08-04 Thread Jeff Massung
On Thu, Aug 4, 2011 at 10:32 AM, Bob Sneidar wrote: > Ick! Do stuff that causes SQL to throw errors. I suppose that is a way to > do it, but a simple select will do it cleanly. Keeps the SQL error logs > clean too. If multiuser, lock the SQL database first, then check, insert if > query returns 0

Re: How to check for duplicate usernames?

2011-08-04 Thread Jeff Massung
Instead of checking for a username, mark the UserName field in the table as being UNIQUE. This will cause the DB to error out of a transaction that attempts to insert the same UserName into the table multiple times. Then catch that. Jeff M. ___ use-livec

Re: User Interface Question

2011-07-30 Thread Jeff Massung
#x27;m > doing something wrong! > > > Pete > Molly's Revenge <http://www.mollysrevenge.com> > > > > > On Sat, Jul 30, 2011 at 11:48 AM, Jeff Massung wrote: > > > For dragging, I'd go with "handles" on the left side of the datagrid

Re: User Interface Question

2011-07-30 Thread Jeff Massung
For dragging, I'd go with "handles" on the left side of the datagrid that have hand icon when you hover over them. They've become pretty ubiquitous on webpages. For an example of what I mean: http://jqueryui.com/demos/sortable/ As for a context menu, you be okay with just a tool-tip. People gener

Re: LC 4.6.3 on Linux

2011-07-29 Thread Jeff Massung
I'm running Fedora 15 and it appears to be just fine. But I also haven't tried doing much with it lately. Jeff M. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pr

Re: What is the fastest database?

2011-07-25 Thread Jeff Massung
the future... > > Thanks, > > - Boo > > - Original Message - From: "Jeff Massung" > To: "How to use LiveCode" > Sent: Monday, July 25, 2011 5:00 PM > Subject: Re: What is the fastest database? > > > That amount of data is ridiculously small. If

Re: What is the fastest database?

2011-07-25 Thread Jeff Massung
That amount of data is ridiculously small. If you don't care about many thousands of concurrent connections and having to transform the data set periodically over time, then SQLite3 is probably the easiest to use, but really, for that tiny amount of data, *any* database application will work. I've

Re: Countdown HH:MM:SS

2011-07-19 Thread Jeff Massung
Lookup the "convert" function... dateAndTime and look at the format "dateItems". That probably has what you care about. HTH, Jeff M. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage y

Re: Rev Customer Databased Hacked?

2011-07-11 Thread Jeff Massung
I would just like to say that I haven't been an On-Rev customer for over a year now, and I want to thank the Rev team for still including me in this email (so, yes, I got one, too). Jeff M. ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: DataGrids sharing templates

2011-06-09 Thread Jeff Massung
Nevermind... http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7319-How-Do-I-Use-A-Template-In-Multiple-Data-Grids- On Thu, Jun 9, 2011 at 11:02 AM, Jeff Massung wrote: > I'm sure I saw this before somewhere, but Google hasn't been kind to me. Is > there an

DataGrids sharing templates

2011-06-09 Thread Jeff Massung
I'm sure I saw this before somewhere, but Google hasn't been kind to me. Is there an easy way to make multiple datagrids all use the same template? Jeff M. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, un

Re: CouchDB

2011-05-13 Thread Jeff Massung
Todd, CouchDB (or Mongo, Riak, and other NoSQL alternatives) are excellent databases in the right situation. I haven't used on with LC, but have used CouchDB plenty. Their main benefits lie in A) no schema and B) replication. If you have no need of either, then it might be more work to get working

Re: Please answer my survey on Social Network Libraries for LiveCode

2011-05-06 Thread Jeff Massung
With regard to this library, I'd be very interested, but I'd be mostly interested in it as a method of authentication for other applications and not for Tweeting, wall posting, etc. Is that something you are planning on supporting or not really? Jeff M.

Launch and the working directory

2011-04-29 Thread Jeff Massung
I'd like to somehow set the working directory that I launch an application from. Anyone know how I can do that? Thanks! Jeff M. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your s

Re: Following up on shell(locale) problem

2011-03-01 Thread Jeff Massung
It's possible that when you launch Terminal.app you are using BASH and that LC is using SH (or something other than BASH) that doesn't have the localization environment setup the same? That's just a guess. Jeff M. On Tue, Mar 1, 2011 at 2:00 PM, Peter Haworth wrote: > Hoping someone might come

Re: PASSing out with frustration

2011-02-16 Thread Jeff Massung
Here's what I do for my toolbars... Create a transparent button. Edit the script of the button in the following way: on mouseDown ## do click effect end mouseDown on mouseUp ## undo click effect end mouseUp on mouseRelease mouseUp end mouseRelease Now, hide that button. Make a series of

Re: Send In Time

2011-01-28 Thread Jeff Massung
I don't know about the "idle" part, but yes, it isn't parallel. It's easy enough to test... see if helloWorld ever happens: on mouseUp send "myInfiniteLoop" to me in 5 seconds send "helloWorld" to me in 10 seconds end on myInfiniteLoop put "About to hose LC..." repeat forever

Re: File naming convention

2011-01-25 Thread Jeff Massung
On Tue, Jan 25, 2011 at 4:26 PM, David Bovill wrote: > Thanks for the notes everyone > > > - Renaming source files (documentation "link" now broken) > > - Moving of source files to a new location ("link" broken) > > > > These are the headaches. One thought I've had is to use the revision > con

Re: File naming convention

2011-01-25 Thread Jeff Massung
On Tue, Jan 25, 2011 at 6:11 AM, David Bovill wrote: > I have the need for an ugly file name hack. I need to store documentation > about arbitrary files (.html, .png, .livecode etc files) in a separate > folder (called "docs"). These files will be served by a web server - and > map > directly to t

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Jeff Massung
On Wed, Jan 19, 2011 at 11:37 AM, Richard Gaskin wrote: > Scott Rossi wrote: > > Recently, Richard Gaskin wrote: >> >> the on-device shop limits the size of apps available trough it. the itunes shop does not. >>> >>> Is this noted on the AT&T site? >>> >>> I need a URL to an auth

Re: Efficient Way To Check If Certain Characters Exist in Variable

2011-01-19 Thread Jeff Massung
On Wed, Jan 19, 2011 at 11:34 AM, Warren Kuhl wrote: > What would be the most efficient way to check a variable and replace any of > the characters with empty if the character is not a alpha (upper or lower), > numeric (0-9) or a '-'? > > The only way I can think of doing this is a repeat loop an

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Jeff Massung
I think it would depend on what you consider to be "large". Also keep in mind that the number of images (and the size of your stack) will directly impact any potential sales since AT&T limits 3G app downloads to 20 MB. If you are talking about an insane number of images (think something like a med

Re: An idea on multithreading implementation

2011-01-18 Thread Jeff Massung
On Tue, Jan 18, 2011 at 2:57 PM, Bob Sneidar wrote: > Hey I had a great idea on how to implement multithreading without jacking > up anyone's legacy code. Have LiveCode work along a single thread as usual, > but add the keywords "in new thread" to the do command or open stack > command. That way

Re: Debugging VB vs LC

2011-01-13 Thread Jeff Massung
Calvin, I think you'll be pleasantly surprised at how much less debugging you'll be spending in LC vs. VB (or C# or other compiled languages). Most debugging (in VB, ...) is based around inspecting variables and objects, because those things are only available to you while the program is actually

Re: OT: Are Microsoft really at it again!

2011-01-13 Thread Jeff Massung
On Thu, Jan 13, 2011 at 4:29 PM, Douglas wrote: > Remember when Microsoft lost their European court cases about unfair > business practices etc.? > > One of the conditions of being allowed to continue to supply Internet > Explorer in boxed Windows 7 packs in the EU. was that they would add a > "B

Re: LiveCode Newbie questions

2011-01-13 Thread Jeff Massung
Calvin, On Thu, Jan 13, 2011 at 3:05 PM, Calvin Waterbury wrote: > Hi Jeff, > > In regard to the end product, the user doesn't even have to install > anything? Simply zip the exec and the "externals" folder and send it? Am I > understanding you correctly? > Yes, that's all I do. You can writ

Re: LiveCode Newbie questions

2011-01-13 Thread Jeff Massung
Calvin, Don't let the vent thread scare you. Some here have been using LC for quite a while, and usually it's the little things that make you want to vent. The big things Rev has been doing a great job with! LC apps do compile to an EXE. It's not 100% self-encompassing, though, meaning it may nee

Re: Vent!

2011-01-12 Thread Jeff Massung
I know it's a vent/rant, and while LC is completely awesome in -many- I have to completely agree with this... I don't know how many times I've been bitten switching to the pointer tool and think I'm typing something in a field only to change the name of the stack w/o realizing it and cause myself 1

Re: Some thoughts on duck typing

2011-01-12 Thread Jeff Massung
On Wed, Jan 12, 2011 at 4:37 AM, David Bovill wrote: > If it quacks like a duck it is a duck. > > So I have some data in a variable that I want to display. I can use is an > array/number/date - but for other types of data I'm wandering... xml should > be easy, but harder would be to distinguish lo

Re: LineSize

2010-12-06 Thread Jeff Massung
It's been a while since I've had to do anything with a printer (so things may be better now?). But, back in the day, there were lots of problems drawing graphics to a printer because of unit conversions. Simply put, the printer has a *much* higher resolution per page than whatever it is that you ar

Re: Error numbers

2010-11-30 Thread Jeff Massung
Honestly, this is something that's always urked me about Rev. With [almost] everything else being so user-friendly, error reporting is definitely not one of them. How hard could it possibly be to convert that into object, function name, line #? Jeff M. On Tue, Nov 30, 2010 at 11:05 AM, Ton Cardo

Re: Advantages of LC as high level language--examples

2010-11-29 Thread Jeff Massung
On Mon, Nov 29, 2010 at 1:29 PM, Devin Asay wrote: > Hello all, > > In trying to explain to students how high level languages such as LiveCode > can make development faster, I would like to give concrete examples of how > single-line LC commands actually execute dozens of C++ commands in the > en