Home About Forums Listen Gallery Gear
The Switched ON Show -

Go Back   The Switched ON Show - Community > Announcements > Announcements

Announcements Official Show and Site Announcements

Reply
 
Thread Tools Search this Thread
  #21  
Old 10-25-2009
digitaltopia's Avatar
digitaltopia digitaltopia is offline
Senior Member
switched:ON
 
Join Date: May 2006
Posts: 1,285
Default

The way I would handle the above exceptions is to create an array full of the exceptions and at some point in the processing have the word after "a" compared to the list of exceptions. In Python this would be pretty easy to do by building a list of exceptions, throwing the word at it and it'd tell you if that word existed in the list, but I don't know if it'd be so easy in PHP.
Reply With Quote
  #22  
Old 10-25-2009
Version3's Avatar
Version3 Version3 is offline
Captain
switched:ON
 
Join Date: Apr 2006
Posts: 3,708
Send a message via Skype™ to Version3
Default

Probably would, but probably a different approach. I'd prefer to keep the structure of these word objects (arrays) the same as the others. In 6 months it would still be easy for me (the non-coder) to see what I'm doing with exception words, rather than handling things for pronunciation. I'd rather just see a mistake when it loads (if I didn't catch it when I populated it), and move it to the appropriate container. In some cases, this is really important, because it may be used in more than one place. There is some similar logic being used for plurals, since not only are many plurals not "s", but some just don't work well, and are not even allowed in the container. Like "Earth" for example.
Reply With Quote
  #23  
Old 10-25-2009
digitaltopia's Avatar
digitaltopia digitaltopia is offline
Senior Member
switched:ON
 
Join Date: May 2006
Posts: 1,285
Default

It all reminds me of when I created a translation program a long time ago in Java. Inspired by those programs that would convert your sentence to slang and such, I created a translation program with user-editable pluggable dictionaries so anyone could create any sort of translation system they wished and plug it in.
Reply With Quote
  #24  
Old 10-25-2009
Version3's Avatar
Version3 Version3 is offline
Captain
switched:ON
 
Join Date: Apr 2006
Posts: 3,708
Send a message via Skype™ to Version3
Default

I'm working on some other stuff to use this for. Most of it is just more fun SOS stuff.
Reply With Quote
  #25  
Old 10-25-2009
digitaltopia's Avatar
digitaltopia digitaltopia is offline
Senior Member
switched:ON
 
Join Date: May 2006
Posts: 1,285
Default

I do have a book on PHP I haven't read yet. Once I do, the first thing I'm going to try to create is a dice rolling web page. I know such things already exist, but I want to create one myself.
Reply With Quote
  #26  
Old 10-25-2009
Version3's Avatar
Version3 Version3 is offline
Captain
switched:ON
 
Join Date: Apr 2006
Posts: 3,708
Send a message via Skype™ to Version3
Default

Yeah, not hard. It will make sense to you, you just need to get in there and do it.
Reply With Quote
  #27  
Old 10-25-2009
Version3's Avatar
Version3 Version3 is offline
Captain
switched:ON
 
Join Date: Apr 2006
Posts: 3,708
Send a message via Skype™ to Version3
Default

And, you guys should have a working FF version of the page now. While having this discussion I bothered to look into the problem. It was the way I was performing the refresh function by ID... FF just didn't like the function. Now I'm identifying the frame ID better, and calling it by ID during the refresh in a manner more friendly with FF. I've got it working on Safari, FF, and Opera.

Let me know if it still doesn't work for anyone.
Reply With Quote
  #28  
Old 10-25-2009
digitaltopia's Avatar
digitaltopia digitaltopia is offline
Senior Member
switched:ON
 
Join Date: May 2006
Posts: 1,285
Default

It works great now .

I think the trickiest part of my project will be linking it to a MySQL database to save all the dice results.

as aggressive as a Pillipino in a darkness factory
Reply With Quote
  #29  
Old 10-25-2009
Version3's Avatar
Version3 Version3 is offline
Captain
switched:ON
 
Join Date: Apr 2006
Posts: 3,708
Send a message via Skype™ to Version3
Default

Nah, that will be easy too. Reading and writing to MySQL is the easy stuff. At least you have a project in mind, just get in there and do that shit, yo!

It'll be as dreamy as a swarm of foreign goal oriented accountants on an active volcano!
Reply With Quote
  #30  
Old 10-25-2009
digitaltopia's Avatar
digitaltopia digitaltopia is offline
Senior Member
switched:ON
 
Join Date: May 2006
Posts: 1,285
Default

You're right. After all, it should be as oblivious as a tri-nippled shoeless door to door 18-inch rubber cock salesman at the end.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 02:32 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2005-2009 Switched ON
Site Navigation
Home             About             Forums             Listen             Gallery             Gear
©2005-2009 The Switched ON Show
Dallas - Fort Worth, Texas - USA