Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Graham Samuel
Thanks to Roger Eller and Mike Bonner - shell is a function! Of course it is, it says so in the LS documentation, even though the examples don't show it embedded in a function-using script. I got it wrong because I didn't read the docs closely enough - I imagined that it was a handler that act

Re: Simple web page commenting via on-rev?

2011-10-29 Thread stephen barncard
Again if one is creating a blog or CMS in Livecode I'd recommend *RevIgniter *. It's a complete toolbox of everything you'd find in the best CMSs in the world, except the documentation, code, and stability are better. There's a learning curve, but it's all logical. On 29 October 2011 12:43, Alex T

Re: "image rendering" in RevServer?

2011-10-29 Thread Richard Gaskin
stephen barncard wrote: Richard, I had the Revolution 3.5 cgi running fine on Dreamhost, I just prefer the new Livecode server, which also runs fine on my shared Dreamhost account. (thanks Andre) It's almost there. One can put and take stuff from fields now. Re images I imagine it's mostly abo

Re: Simple web page commenting via on-rev?

2011-10-29 Thread Alex Tweedly
I think the overall descriptive article is still there - http://andregarzia.com/page/bootstrappingacms though there is no detail about the comment system (and no code - I don't remember if it was ever available or not). -- Alex. On 29/10/2011 19:09, stephen barncard wrote: I was going to s

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread stephen barncard
thanks guys. Phil's snippet in the archives was educational: There are always variations of unix commands that will do what one wants. sqb On 29 October 2011 12:11, Phil Davis wrote: > You can get the Shell Command Help plugin from Rev Online. I use it almost > every day. :-) > > Phil > > > >

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Phil Davis
You can get the Shell Command Help plugin from Rev Online. I use it almost every day. :-) Phil On 10/29/11 11:53 AM, Warren Samples wrote: On 10/29/2011 12:59 PM, stephen barncard wrote: on a side note regarding shell - I just ran this from the message box: put shell("man zip") and got

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Warren Samples
On 10/29/2011 12:59 PM, stephen barncard wrote: on a side note regarding shell - I just ran this from the message box: put shell("man zip") and got this text: Not an answer to your question, but that doesn't happen here running Linux. Here is something from discussion of Phil Davis' Shell

Re: Simple web page commenting via on-rev?

2011-10-29 Thread stephen barncard
I was going to suggest you check out Andre Garzia's article about RevImpossible, a CMS system he set out to build in 24 hours (or was it 48?) and he described about all the methods and shortcuts he devised, including a very simple comment system for his blog. Basically it looked as good as a Joomla

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread stephen barncard
on a side note regarding shell - I just ran this from the message box: put shell("man zip") and got this text: (clip) ZIP(1L) ZIP(1L) NNAAMMEE zip - package and compress (archive) files SSYYNNOOPPSSIISS zziipp [

Re: "image rendering" in RevServer?

2011-10-29 Thread stephen barncard
Richard, I had the Revolution 3.5 cgi running fine on Dreamhost, I just prefer the new Livecode server, which also runs fine on my shared Dreamhost account. (thanks Andre) It's almost there. One can put and take stuff from fields now. Re images I imagine it's mostly about error trapping and remap

Re: [ANN] LiveCode.tv event #41

2011-10-29 Thread Björnke von Gierke
Andre will show us his facebook integration in about an hour, so please join chatrev soon: http://bjoernke.com/chatrev/ On 28 Oct 2011, at 23:11, Björnke von Gierke wrote: > We do have an event tomorrow, but I don't know who will present. Most likely > it will be a single presentation. > > >

Re: Base64 weirdness

2011-10-29 Thread Maarten Koopmans
On Saturday, October 29, 2011, Richard Gaskin wrote: > Maarten Koopmans wrote: >> >> You're right, but i've found that other languages don't ignore them, >> whether they are c-based string wrapped scripting languages or compile to >> the JVM for instance. >> >> I think LC follows the RFC bette

Re: Base64 weirdness

2011-10-29 Thread Richard Gaskin
Maarten Koopmans wrote: You're right, but i've found that other languages don't ignore them, whether they are c-based string wrapped scripting languages or compile to the JVM for instance. I think LC follows the RFC better, but not necessarily better interoprable. Anuway, another recent thre

Re: Base64 weirdness

2011-10-29 Thread Maarten Koopmans
You're right, but i've found that other languages don't ignore them, whether they are c-based string wrapped scripting languages or compile to the JVM for instance. I think LC follows the RFC better, but not necessarily better interoprable. Anuway, another recent thread turned out to have a so

ANN: Installer Maker 1.7b01

2011-10-29 Thread Mark Schonewille
Hi LiveCoders, It is a pleasure to announce a new version of the Installer Maker Plugin for LiveCode. ALthough still in beta stage, this version ought to be good enough to release into the wild. We made many changes, the most important new feature being the possibility to run scripts (includin

Re: OT: Command-line blues (ImageMagick)

2011-10-29 Thread Warren Samples
On 10/28/2011 07:33 AM, Graham Samuel wrote: [As an aside I would NOT recommend IM on a Mac to anyone who has only worked within a GUI environment. The installation of IM for Mac took longer (and appeared to use more resources) than installing Lion on my Mac, even if you take into account my m

RE: Inertial Scolling

2011-10-29 Thread John Dixon
I was staring at 'the right web page at the right time'...:-) > Thanks for the quick response. Much appreciated. > > -= Mike ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

RE: Inertial Scolling

2011-10-29 Thread Mike Doub
Thanks for the quick response. Much appreciated. -= Mike -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of John Dixon Sent: Saturday, October 29, 2011 11:55 AM To: use-livecode@lists.runrev.com Subject: RE: Inerti

RE: Inertial Scolling

2011-10-29 Thread John Dixon
Yes it does... decelerationRate read/write Determines the rate at which scrolling decelerates when a finger is lifted (maps to the UIScrollView decelerationRate property). This can be either normal, fast or a real number. Dixie > From: m...@doub.com > To: use-livecode@lists.runrev.com > Subject:

Inertial Scolling

2011-10-29 Thread Mike Doub
Can some doing development on the mobile platforms tell me if livecode supports inertial scrolling? (when you flick the screen is scrolls fast then slows down) Thanks Mike ___ use-livecode mailing list use-livecode@lists.runrev.com Please vis

Re: adding text in one field and automatically to another

2011-10-29 Thread william humphrey
That "just works" as the master said. Thank you very much for helping. The "on key up" it instantly put the next number in the telephone field. On Thu, Oct 27, 2011 at 4:19 PM, Phil Davis wrote: > on keyDown pKey >if pKey is an integer >then pass keyDown >else beep > end keyDown > >

Re: Simple web page commenting via on-rev?

2011-10-29 Thread Pierre Sahores
A good way to have such feature available to your on-rev app is to include the free http://disqus.com/ comments service to any or the selection of pages you want... HTH, Le 29 oct. 2011 à 17:34, Tim Selander a écrit : > I joined on-rev.com as a founder when they were getting started as it was

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Mike Bonner
Ah k yep. the double dash help is a pretty common unix'y thing, haven't used IM to convert and no mac so couldn't test. Thx for clarifying! On Sat, Oct 29, 2011 at 9:34 AM, Warren Samples wrote: > On 10/29/2011 09:40 AM, Graham Samuel wrote: > > shell(/opt/local/bin/convert) >> > > Mike's res

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Warren Samples
On 10/29/2011 09:40 AM, Graham Samuel wrote: shell(/opt/local/bin/convert) Mike's response contains all the correct information, but it can be distilled to this: change what you what you type into the message box to: put shell("/opt/local/bin/convert") This should display in the messa

Simple web page commenting via on-rev?

2011-10-29 Thread Tim Selander
I joined on-rev.com as a founder when they were getting started as it was a great deal on hosting, but have not done a lot with the .irev scripting... Today I was looking for an easy way to let users leave comments on web pages I host on on-rev... very low traffic stuff, basically letting old

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Roger Eller
On Sat, Oct 29, 2011 at 10:40 AM, Graham Samuel wrote: > Thanks to all who replied. > > in Terminal, and got: > > /opt/local/bin/convert > > I don't exactly know what 'opt' is, but I can open /opt/local/bin/ in the > Mac Finder, so it exists OK, and it contains a file 'convert' as expected. > Any

Re: "image rendering" in RevServer?

2011-10-29 Thread Mike Bonner
Not to divert this thread too awful much, but i'm hoping for integration with the gd library, similar to how php does it, but hopefully in a more livecodey way. http://www.boutell.com/gd/ How php does it: http://php.net/manual/en/book.image.php On Sat, Oct 29, 2011 at 9:02 AM, Richard Gaskin wro

Re: "image rendering" in RevServer?

2011-10-29 Thread Richard Gaskin
I've seen tutorials for setting up RevServer on Dreamhost, but none for using this new undocumented "image rendering" capability. Since DH uses Debian Server, which is faceless, how can we expect the necessary GUI libs to be in place for such rendering? Björnke von Gierke wrote: should work

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Mike Bonner
Wasn't real clear there.. Yes shell is a function, but livecode uses subtle clues to interpret what is what. So a function on a line by itself with no way to handle the output is instead seen as a handler because the engine is making its best guess. And since there is no handler named shell() you

Re: Base64 weirdness

2011-10-29 Thread Richard Gaskin
Maarten Koopmans wrote: Sorry for the cross-post from the forum, but this (silly) thing is becoming a blocker. A (to me) subtle question, which has to do with the base64 encoding. A base 64 encoded binary needs to be a multiple of 4. It' what all other implementation seem to do as well (tested

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Mike Bonner
shell is a function, you have to actually do something with what is returned. notice if you do the following from the message box: shell() with nothing, you get handler not found If you do this instead put shell() you get bad parameter because you didn't give the function anything to work with.

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-29 Thread Graham Samuel
Thanks to all who replied. Just a brief reminder that I found I could invoke ImageMagick from Terminal on my Mac, but not via 'shell' within an LC program on the same machine. I really hoped that Andre's insight was right and that it was a path issue - really because I understand what one of th

Re: "image rendering" in RevServer?

2011-10-29 Thread Björnke von Gierke
should work, there's a dreamhost tutorial on the forum somewhere, i think. On 29 Oct 2011, at 16:10, Richard Gaskin wrote: > Andre wrote: > >> On Fri, Oct 28, 2011 at 11:57 PM, stephen barncard wrote: >> >>> yeah, it would be nice if we could use some of the image-processing >>> features we hav

Re: "image rendering" in RevServer?

2011-10-29 Thread Richard Gaskin
Andre wrote: On Fri, Oct 28, 2011 at 11:57 PM, stephen barncard wrote: yeah, it would be nice if we could use some of the image-processing features we have on the desktop. We could create bitmap images like characters, barcodes, graphs and charts in real time and then display them. if you'r

Re: Base64 weirdness

2011-10-29 Thread Colin Holgate
It could be not just that LC uses carriage return and line feed, but that some tools don't even break the results up into lines. You base64 encode things to make sure they can travel ok, or perhaps to hide what the text really says. For most cases you may not need to split the results into lines

Re: Base64 weirdness

2011-10-29 Thread Mark Schonewille
Hi Maarten, The difference in the number of bytes of your base 64 encoded strings equals the number of lines of these strings. Apparently, LC uses crlf where other languages use either cr or lf. I assume you are on Windows. Try reading the file as file instead of binfile and the problem should

Base64 weirdness

2011-10-29 Thread Maarten Koopmans
Sorry for the cross-post from the forum, but this (silly) thing is becoming a blocker. A (to me) subtle question, which has to do with the base64 encoding. A base 64 encoded binary needs to be a multiple of 4. It' what all other implementation seem to do as well (tested Scala (JVM) and REBOL (C un

Re: TIP: Using Unicode chars as icons

2011-10-29 Thread Richmond Mathewson
On 10/29/2011 04:02 AM, Pete wrote: Any recommendations for fonts to take a look at? So far, I've been through Zapf Dingbats, WIngdings, and Webdings. Still looking for a calendar and a search (magnifying glass?) Pete Molly's Revenge Frankly, if you are lookin

Re: "image rendering" in RevServer?

2011-10-29 Thread Andre Garzia
On Fri, Oct 28, 2011 at 11:57 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > yeah, it would be nice if we could use some of the image-processing > features > we have on the desktop. We could create bitmap images like characters, > barcodes, graphs and charts in real time and the