I am in the process of making a mobile application for a client. The requirements of the app are relatively simple: display product listings, scan barcodes to bring up product information and build orders, and submit orders. For this project I decided to use Django + Tastypie on the server, and ...read more
- This content is encrypted.
Where I currently work, we use PHP extensively; sometimes with CodeIgniter, but usually with Drupal. Before this job, I had zero experience with Drupal, and as a result I had no idea what to expect in terms of performance. After using a few of the Drupal sites that were deployed ...read more
Listed below are a few functions that I commonly use with Django models.
This function will render markdown text from one model field to another each time the model is saved. For example, if I have a
biographyTextField, and users enter markdown in the field, I can create a ...
I had the chore of implementing filtering on a web page the other day. I was originally going to do the filtering on the server, but I figured I might as well do it on the client since it would be faster, and the lists I was filtering weren't ...read more
While showing my friend an example of a recursive solution to a homework problem, I accidentally learned something. The function in question simply tokenizes a string given a list of separators, and it is outlined below.read more
def tokenize(query, seps): ''' A recursive string tokenizer function. query -- The string to tokenize ...
I learned a long time ago that Sean Stewart is quite a popular name. If you search the name on Google, you get the famous author, some actor, Rod Stewart, a bunch of LinkedIn profiles, etc. Somewhere, probably around page 200, I would show up. From this perspective, I'm ...read more
Page 1 / 1