Tagged Questions
3
votes
2answers
117 views
Javascript Coding Wager
I have two scripts written by my co-workers for auto-filling a form with information from the facebook graph-api. I am trying to figure out which has been coded in a more efficient style?
This is the ...
1
vote
1answer
190 views
Optimizing Rails 3 query code
I am working on a Rails 3 application, and am having some trouble with my user/edit view. In this application, Users can subscribe to Categories. Users and Categories have a has_and_belongs_to_many ...
1
vote
2answers
158 views
How to Improve This Program, Add Comments, etc.?
Do you have any suggestions to improve or extend this script? Any ideas for removing or adding comments/docstrings?
import dbm
import subprocess
import time
subprocess.call("clear")
try:
# Tries ...
3
votes
1answer
123 views
Song database query optimization
I am relatively inexperienced with MySQL and have a query which to my eyes appears relatively complex:
SELECT SQL_CALC_FOUND_ROWS
songsID, song_name, artist_band_name, author, song_artwork, ...
1
vote
1answer
246 views
Newsletter SQL query optimization
I want to build a small newsletter like tool which sends mails in pre-defined timespans. First after registration, second 14 days later, third 7 days later etc.
I came across for two database designs ...