Re: Ideal Unicode?

2011-08-15 Thread Jeff Massung
On Mon, Aug 15, 2011 at 3:32 PM, Kee Nethery k...@kagi.com 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 割劥

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. ___

Re: How to check for duplicate usernames?

2011-08-04 Thread Jeff Massung
On Thu, Aug 4, 2011 at 10:32 AM, Bob Sneidar b...@twft.com 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

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

Re: User Interface Question

2011-07-30 Thread Jeff Massung
at 11:48 AM, Jeff Massung mass...@gmail.com wrote: 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

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

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: What is the fastest database?

2011-07-25 Thread Jeff Massung
- From: Jeff Massung mass...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com** Sent: Monday, July 25, 2011 5:00 PM Subject: Re: What is the fastest database? That amount of data is ridiculously small. If you don't care about many thousands of concurrent connections

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 your

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

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,

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 mass...@gmail.com wrote: I'm sure I saw this before somewhere, but Google hasn't been kind to me. Is there an easy

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

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

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 p...@mollysrevenge.comwrote:

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 6:11 AM, David Bovill da...@vaudevillecourt.tvwrote: 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

Re: File naming convention

2011-01-25 Thread Jeff Massung
On Tue, Jan 25, 2011 at 4:26 PM, David Bovill da...@vaudevillecourt.tvwrote: 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

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 ATT limits 3G app downloads to 20 MB. If you are talking about an insane number of images (think something like a

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 warrenk...@gmail.com 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

Re: An idea on multithreading implementation

2011-01-18 Thread Jeff Massung
On Tue, Jan 18, 2011 at 2:57 PM, Bob Sneidar b...@twft.com 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.

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

Re: LiveCode Newbie questions

2011-01-13 Thread Jeff Massung
Calvin, On Thu, Jan 13, 2011 at 3:05 PM, Calvin Waterbury c...@eml.cc 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

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

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

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