Go to Post I feel like we should get karma points for "Inspiration via Q&A". - JVN [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 11-03-2010, 16:15
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: API for FMS twitter feed

Quote:
Originally Posted by Fletch1373 View Post
Luke, Looks like you're at the spot I was a week or so ago... I chose to switch my txt "cache" file to a mysql database for efficiency reasons

also, just out of curiosity, what do you need shell_exec for?
I basically dump semi-parsed data to stdout so I can use simple UNIX utils to add it to the existing cache, via:
PHP Code:
shell_exec("echo '".$data."' | cat - cache_file.txt | sort | uniq > cache_file.txt"); 
Quote:
Originally Posted by michandrz View Post
Luke, you finally stated to use mysql, I am shocked. oh and just to let you know it wouldn't take any of the stress off of the servers because the SQL database is on serva as well, all servb is running is NFS so serva can get to it
1) no, I didn't start useing MySQL. What gave you that impression?
2) it would take less HDD space, and not have to check for updates every minute, because it is using HTTP to get google's cache. Though, I didn't do this, I did write my own cache.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Twitter Hash Tags for the Regionals Justin Regional Competitions 13 05-03-2011 16:28
Twitter for FRC dk5sm5luigi General Forum 0 09-01-2010 08:02
HOT ITEM: Qualifications Ranking program needed for FMS Lite Andy Baker General Forum 2 17-10-2009 12:54
Strange data in FMS Twitter feed rsisk Technical Discussion 1 15-05-2009 09:53
New Vex API for MCC18: LibVexBot outpaddling Programming 2 22-12-2008 09:32


All times are GMT -5. The time now is 15:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi