Skip to content

u/samstr

In this archive from Dec 2010 to Nov 2011

0
posts
24
comments
0
media
68
score

Make the header, subheader UI less tall.

I'm not sure how you'll go about implementing that custom scroll bar. Subclassing won't do it, as far as I know.

The "500 comments, Share, Save, Hide, Report" icons are way too small. The fingers I would use to type are too fat to use these in a suitable manner. I would make this a swipe gesture that brings up a UIActionSheet or adds a new row under the cell with larger options.

The 'Messages (2)' icon won't allow for double, triple digits very easily without some real customization. Native UITabBarControllers support badges that make it easy.. custom tabs are a pain to create badges with.

Cells can have less padding.

4 points

Use memcached as a caching layer around your database query. The concept is pretty easy.. when you get results serialize them and save them to memcache (for 1 hour/1 day, depending on how often you expect your data to change).

You query memcached before you query MySQL. If memcached returns results from memory - unserialize them and return these results.

If memcached has no record.. then query the database (and save to memcache)


You can also install and configure Sphinx which is a very fast fulltext search.

You setup your indexes (tell it to rebuild the 'items' table every hour) via a cron job.. and rather than query the database you get your speedy results from Sphinx's fulltext engine.

These are a few options on speeding up the server side. Follow everyone elses instructions for the client-side optimisation. Reset the timer onkeyup. Making a HTTP request for every keystroke is a real bitch.

(PS. Someone may want to correct me about using BOTH Sphinx and Memcached... it may be best to use just one or the other).

1 points

Listen to motivational music and daydream of how successful the website will inevitably be.

Also, look at competitors websites and make yourself so jealously angry and frustrated that you fire up your editor and code like a boss in order to destroy them.

4 points

Yep. If it's a permissions problem then your webhost should be able to chmod/chown the necessary directories so they have write permissions.

It could always be a bug with the panel, in which case the creator can help

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.