Re: Re: Lingo-l Digest, Vol 4, Issue 25
Kurt Griffin wrote: I sent him a message with the list admin link (right after I started this thread... see, I am a professional... sort of... well, not really). Whether it will get through his creative spam filters, is a question for another thread. I replied to the first autoresponder and CC'd it to [EMAIL PROTECTED], but I got a bounce message back saying that email address doesn't exist. I seem to recall having the same problem a few months ago, so it's not a temporary thing. I don't know who actually administers this list: if anyone does, perhaps they could let them know they need to fix that (or remove the address from the mail footer). - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Re: Lingo-l Digest, Vol 4, Issue 21
Henning Pertiet <[EMAIL PROTECTED]> wrote: sorry... but your mail has been killed because I am no longer a member of your list WTF? Is this some new type of autoresponder, designed to piss people off even more than normal autoresponders? Please, someone unsubscribe this moron. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: MultiUser Xtra
Bertil Flink wrote: Am I the only one getting these spams after posting to lingo-l? Attached is the posting itself ("Re: MultiUser Xtra" in this case). [snip] - The following addresses had permanent fatal errors - <[EMAIL PROTECTED]> No, I have been getting them too. They aren't actually spams, but bounce messages because someone is subscribed to the list with a non-existent email address. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Off the topic but could be useful
Pedja wrote: I've stumbled across this web page few days ago: http://www.doc.ic.ac.uk/~jab00/mouse/ (don't read if you are of a sensitive disposition) LOL! This just makes me glad I gave up having desktop PCs years ago. "Yes, I do now realise it was a mistake to loose that ATX back plate. I recommend nobody else does this." I should think so. Everyone knows what a backplate is for: 1 - RF shielding to comply with FCC or CE rules. 2 - Proper air circulation for cooling. 3 - Avoiding dead rodents in the PC. He should have known better. Though admittedly, when I had an ATX PC I never bothered with a backplate either. Or for that matter, on one AT system (for a couple of months) any insulation on the power switch. But I don't recommend that either. It hurt. A lot. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Build Scripts (i.e. Publishing from a commandline)[Direct-L cross-post]
Pedja wrote: Maybe even start a secret "Undocumented Lingo Society" with all secret "Undocumented" rituals, meeting places, handshakes, symbols...the works!:) Secret Lingo Society? What a preposterous idea! Let's never mention such silliness ever again! - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: [OT] Throwing in the towel (was: Build Scripts)
Troy Rollins wrote: Right. Which is extremely cool... but not quite as cool as still having Christophe involved on a day to day basis. True. I hadn't actually realised that Christophe had totally given up on Director until I started reading his new blog. It's a shame, but I can understand his reasons. I've personally been doing less and less professional Director work and if the next version is as uninspiring as the last two then I may be inclined to stop investing so much of my free time in it as well. I love Director and Lingo, but there are lots of other interesting and more cutting-edge things out there, and unfortunately, each day only has 24 hours. One of the best things about Director is the community that exists around it, but if good people keep leaving that community then there will be less and less reason for the rest of us to hang around. All we can hope is that Tom will pull the most kick-ass Director ever out of the bag for the next release. If that happens, it might even bring some people back. If not then I wonder how many of the rest of us will be doing the same thing that Christophe has done. :-( - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Build Scripts (i.e. Publishing from a command line) [Direct-L cross-post]
duck wrote: Oxymorons aside, you could of course try this: www.google.com/search?q=director+undocumented+lingo Turns up more than a few sites listing various undocumented lingo! BTW, the main source has always been Christophe Leske's site, www.director3d.de. Anyone who hasn't looked at the site recently should do so now because he's replaced the old blog with a very nice SW3D cityscape flight demo. Ooh! FWIW, I'm working on an undocumented (but known!) reference, but it's far from finished right now. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: OT: Apple and X-Platform
Troy Rollins wrote: Dude, you are twisting the intent of the original statement for your own argumentative purposes. Sorry you are taking it that way, I didn't mean for this conversation to get quite so argumentative, so perhaps we should agree to disagree on the parts we don't agree on, and agree on the original point you were making. I only made the point because your original statement, as I said previously, was rather general - perhaps too easy to take out of context, if you like. You may not have intended to say that Apple specialises in interoperability, but that was, in fact, what you wrote, so you can hardly blame me for interpreting it that way. Anyway enough of this because it is quite far removed from the point and I'm not trying to be an open-source zealot or pigeon-hole you as a Mac zealot. The whole argument is pointless because we agree on the basic points, we're just arguing from different perspectives, primarily about each other's writing styles. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: OT: Apple and X-Platform (was: DirMX Type & Creator codes for DXR files)
Troy Rollins wrote: Basically, if you buy something from iTunes you are very limited in terms of what it will play on, other than the [Apple] iTunes software or an [Apple] iPod. Robert, I said nothing about Apple being open-source, or even having altruistic motivation. Only that Apple (for their own reasons) makes stuff which is compatible with Windows far better than the other way around. We all know why that is... does that make a difference? Yes, I totally agree with that part. However, your original statement was that "Macs specialize in being x-plat compatible" which is quite the opposite of the truth. Apple specialises in locking its customers in, just as Microsoft does. Unfortunately it cannot ignore that other 95% of the market, but it doesn't have to support it any more than will help attract more customers to _it's_ platform, with the intention of locking them into that instead of Windows. I don't think we're in disagreement here, it's just that your statement was a bit too general and made it sound like Apple do have an incentive and to maintain open standards (note: not the same as open source), which they do not; in fact they have done the complete opposite throughout their history. I'm not trying to go off on an off-topic Apple bashing session here and I don't think you can blame any company for trying to make as much profit as possible. I just thought your original statement was a bit misleading and needed correcting. If anyone is considering an alternative OS for interoperability then in the long run, something open source is going to be a far better bet than anything from *either* Apple or Microsoft. I don't think it's fair to condemn Microsoft for poor interoperability without pointing out that Apple is just as bad, except where they have been forced to concede because of Microsoft's total market dominance. Of course, for Director, given that it only runs on two OSes at the moment (not counting OSX separately), Apple is probably the lesser of two evils. I wouldn't generalise it much further than that though. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: OT: Linux (was: DirMX Type & Creator codes for DXR files)
KLGC Studio wrote: It is the primary nature of any successful entrepreneur to wake up each morning scheming to create a monopoly =-O That said, the real point is that if Director will ever play as a projector on Linux I was thinking of getting a cheepo Linux PC also for testing. Better yet, I'm keeping and networking my current Windows PC with the new Mac and it would be nice if I were smart enough (if it is possible) to just make the XP PC a dual boot system - XP and Linux :-\ I believe it will run under WINE, but not perfectly. I have yet to test this myself, but will put up a webpage on the subject when I know more facts about it. I'm keeping a Windows machine primarily for Director, but will be trying to move everything else over to open-source alternatives like OpenOffice instead of MS Office (I've tested it a few times on Windows already and found it to be less than perfect, but I've decided that things are catching up quickly and now is the time to start more seriously experimenting with these things). You can set up a dual-boot system quite easily. Just install Windows first, then Linux. Linux should be able to resize the partitions for you, but I personally wouldn't trust it and would instead partition during the Windows install, leaving two spare - one for Linux and one for swap: Linux really needs a separate swap partition, roughly equal in size to the amount of system RAM. If need be though, you can set it up without the swap partition. Linux will also install Lilo or similar dual-boot manager so you can boot into either OS. Don't install the other way around because Windows will wipe the boot sector and make life a lot harder for you. One of the things I'm playing with that you might like, if your PC will boot from USB, is Linux on Flash. It boots _really_ fast and saves installing anything on the hard drive. Unfortunately it doesn't seem to like the only PC of mine that will boot from USB, but I'll mess around with it some more and see if I can sort it out. If you're interested in this route, google for Damn Small Linux, Feather Linux and Puppy Linux, all of which have USB and "Live" CD-ROM versions. They are also all completely free distributions - just download the ISO and burn onto a CD. So far, I've only got Feather to boot from USB and it crashes pretty quickly, but this whole USB booting thing is quite new so such problems are to be expected. Oh, if you want a CD-ROM version (quite slow compared to USB, but it works quite reliably) then Knoppix is the main distribution for that. Some of the very tiny ones that will fit on a USB drive (or in the case of DSL, something as small as a business card CD) are based on Knoppix, with some of the stuff taken out to save space. A live CD is certainly a very good way to get started with Linux because you can boot into it, play around with it, and you won't break the OS because it's read-only. Only trouble is that configuring them is a bit more complicated than usual, so you are really missing out on the real power of *nix (i.e., flexibility). I don't know what your chances are of getting Director to run under one of these "off the shelf" distributions, but some of them seem quite geared to Windows users and so might already have good support for Windows applications under WINE. I really need to try it and see what happens. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: DirMX Type & Creator codes for DXR files
Troy Rollins wrote: Look at iTunes, how? The best FREE jukebox on Windows. What about it? I mean iTunes the shop and AAC DRM, not the iTunes software specifically (which, btw, was, along with the iPod, Mac only for a relatively long time). It uses proprietary DRM, which Apple keeps changing, refuses to license to anyone, and doesn't work on any hardware other than the iPod. OK, they have very recently licensed it to (IIRC) HP for their player (mainly to avoid an imminent lawsuit, I believe), but it is still hardly what you'd call an "open standard". Basically, if you buy something from iTunes you are very limited in terms of what it will play on, other than the [Apple] iTunes software or an [Apple] iPod. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: DirMX Type & Creator codes for DXR files
Troy Rollins wrote: The "best"? That would come with an Apple logo on it somewhere. I'm not just saying that. I think you will honestly find that to be the best solution. Macs specialize in being x-plat compatible... Windows "doesn't have to." To be fair, Apple are as bad as Microsoft for monopolistic practises, the only difference is that they are less successful at actually having and maintaining their monopoly. That doesn't mean they have the incentive to be x-platform compatible, quite the opposite in fact (look at iTunes, for instance). The Mac is the best platform for creating hybrid CDs, but only because because the Mac filesystem is difficult to reproduce on Windows. Not sure, but I think Linux or BSD might work too, since they do have native support for HFS and genuinely do, by their very nature, have a reason to be x-platform. A dual-boot PC might be a cheaper solution for anyone who needs to burn dual-format discs without actually having their own Mac to hand (of course you should still test it on a Mac, but that's a whole different thing). I'm currently evaluating a move over to BSD or Linux as my primary OS, so this is something I might take a look into later. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: shockwave file manipulation and xtras
- Original Message - From: "Mike Gralish" <[EMAIL PROTECTED]> > > Thanks, Robert - but the tricky bit is that I have to package the > application and resources for running on multiple unknown servers (some > intranet only) It doesn't matter whether the server is internet or intranet, so long as it is a web server. What may be a problem for you is if the servers are going to be all sorts of different platforms: Windows/IIS, Linux/Apache, perhaps others? These could cause you problems. You'll need to find a cross-platform solution that will work on all your *servers*. Remember that Shockwave is running client-side in a web-page, so most of the work has to be done on the server. You can pass a lot of the workload onto Shockwave, but you still need to make sure that your servers are passing the same data to Shockwave. Even something like a directory listing will come out differently on an Apache versus an IIS webserver, so you'll need something to ensure the data gets sent in the same format on all servers. You might find a compiled language like C is a good choice for your CGI script because it can run without any dependencies like Perl, PHP or ASP being installed. However you might also find that is a nightmare to get running x-platform. > If this does need a cgi or other sort of server application I may have to > compile a text file that lists the resources/paths instead testing files. A text file would be fine, so long as you can produce the file on all platforms. If the contents aren't going to change much, then perhaps you will update it by FTP at the same time that the dependent files are changed, or something similar. > Is there much problems with switching linked external casts in shockwave? I've never tried, but as far as I know it should work. You might need to use preloadNetThing to make sure the external file is actually available locally before you try to use it. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: shockwave file manipulation and xtras
- Original Message - From: "Mike Gralish" <[EMAIL PROTECTED]> > > What is the best way for a shockwave application to catalog subfiles > (text, crc's, jpg's etc.) on the server? Do it through a CGI application, i.e., something written in PHP or similar. A good place to start for that sort of thing is: http://www.shocknet.org.uk/ - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: number of sprite channels.
- Original Message - From: "Lee Blinco" <[EMAIL PROTECTED]> > > In the help (dirMX) it clearly states that up to a 1000 channels cann be > used, i am only allowed to use 150 though, the score window stops at this > number. Does anyone know if it is a setting i've missed or if the help > has led me up the garden path, Go to the movie properties - you'll see a box with 150 in it, which is the number of score channels. Increase the number to 300, or whatever you need, up to a maximum of 1000. > i need to get 2500 (only upto 300 at a time) Are you saying you need 300 channels, or you need 2500 channels? Director won't allow more than 1000, but you can use LDMs or imaging lingo to get more objects onscreen at once. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Lingo repeat loop versus other languages
- Original Message - From: "Tim Welford" <[EMAIL PROTECTED]> > > So, after more than 10 versions, does anybody have any idea why the > backend is still so inefficient? Because C is compiled into machine code. Lingo is not. A fairer comparison would be against a Java VM, which works a lot more like Lingo (hint: it is slower because it needs to be cross-platform compatible, which compiled C is not). Admittedly, I think Lingo could be made a lot faster, but for what most people use it for, it is good enough; certainly, it is a lot faster than Flash. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Multidimensional list from tree structure
- Original Message - From: "Valentin Schmidt" <[EMAIL PROTECTED]> > I would suggest to store the tree as > simple "flat" property list with the filenames as keys and the > corresponding path as values, like This approach assumes that no two files in different locations happen to have the same filename. In the original example, there are two "Untitled.txt"'s, so I assume that makes it unusable. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: RE: How change screen resolution
I'm just going to quickly add my usual obligatory rant to this thread about how switching resolutions is dangerous, so you should not do it unless the user specifically requests it - except in kiosks, or perhaps anything where it is implicit that the user knows what is going to happen and won't end up complaining about a dead monitor or whatever. That is all. Everything else can be found on Google easily enough. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Hyperlinks, database and CMS
- Original Message - From: "Benjamin (Dir)" <[EMAIL PROTECTED]> > > The problem is that I want articles to have links in them. I need three > different ones. 1. Links to websites, 2. links that contain popup info to > explain the word (don't know exactly what, but I'm thinking of textballoons > in flash which appear when you hover the links), and 3. links to other > articles on the database. You can invent your own pseudo-protocols and give them special handling in Director. Using an HTML member, you can have links like: "http://..."; -> open browser "tip://..."; -> open popup tooltip "article://..." -> link within DB. Just attach a script to the sprite like so (btw, this is a slightly modified version of a handler straight out of my last project - I've used buddyAPI for the browser handling as it is more reliable than gotoNetPage): on hyperlinkClicked me, aURL vError = 0 if( ( aURL starts "http://"; ) \ OR ( aURL starts "https://"; ) \ OR ( aURL starts "mailto:"; ) ) then vCode = baOpenURL( aURL, "Maximised" ) if( vCode = 0 ) then vError = "Sorry, your browser could not be detected, or was unable to handle the requested link." end if else if( aURL starts "tip://"; ) then vTarget = aURL.char[7..aURL.char.count] vError = showTooltip( vTarget ) else if( aURL starts "article://" ) then vTarget = aURL.char[11..aURL.char.count] vError = navigateWithinDatabase( vTarget ) else vError = "Sorry, this link is invalid. Contact customer support." end if if( vError <> 0 ) then alert( vError ) end - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Extended real number
- Original Message - From: "Petro Bochan" <[EMAIL PROTECTED]> > > So, I've got an assignment to write an application that would display a > decimal value in the extended format. I don't think there is such a thing. The extended *set* is just a mathematical convenience. Infinity is not normally considered to be a real number, but the extended set contains it anyway. > the topic of the assignment is: The computers' representation of real > numbers. Computers normally represent numbers in the extended real set using IEEE-754 floating point. Perhaps the assignment has something to do with the structure of this format. There's a good page about it here: http://www.psc.edu/general/software/packages/ieee/ieee.html Floating-point numbers are stored as a mantissa plus an exponent, which is similar to scientific notation, e.g. 1.5e6 = 1,500,000. The big difference is that computers store the values in binary, not decimal. Floating point numbers can also have the values NaN (not a number), +INF and -INF. > I came up to the teacher at the unversity for an explanation but he didn't > want to do this Not very nice of him, eh? I don't really see how you can do anything without some clarification of what the problem actually is. Certainly I don't think anyone on this list will be able to offer any more help than this. If you have some notes then maybe you should re-read them after you've read the page about floating-point representation and see if things make any more sense. - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Extended real number
- Original Message - From: "Petro Bochan" <[EMAIL PROTECTED]> > > I've googled the internet to find some info on how to represent the > extended real number, but didn't find any useful info. All I could find > was this formula: R[-infinity sign, +infinity sign], but damn, I couldn't > have found any real examples (let's say 2+2). Can you help? 2+2 = 4. HTH ;-) Can you elaborate a bit on what exactly is the problem? Floating point numbers can represent all real numbers within precision limits, and can also have values +INF and -INF (which you will get as the result of an overflow, such as power( 9, 999 ) ). - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: Re: Lingo-l Digest, Vol 1, Issue 2
- Original Message - From: "Zebin Ayinikat" <[EMAIL PROTECTED]> > > Well you said it right Tony . > People normally reply to the post so the previous text gets added its > just a matter of deleting itis it And also remember to change the subject line when replying to digests!! - Robert [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]