Hacker Newsnew | past | comments | ask | show | jobs | submit | dshap's commentslogin

Doesn't "git blame" take care of your timestamps for you?


no. vc will only take care if you have the history and know what you are looking. if you publish a final version only like this all that is lost. if you run a interpreted language you can't find the place of the old code while debugging at runtime.

there are many reasons to leave code comments besides neglect. though in this case it's neglect :)


Somewhat related: If you're looking for feedback from great designers in the context of improving your own design skills, head over to http://trydesignlab.com to check out our online design course that includes one-on-one mentorship.


I haven't used Jammit before, but I highly recommend checking out django-pipeline for the same purpose: https://github.com/cyberdelia/django-pipeline


Specifically for me, pipeline fits into django's collectstatic way of doing things. And because of this it works fantastically with django-storages as well. My projects are set up so that `python manage.py collectstatic` trawls all my apps static folders, compiles everything if required (r.js, sass) and uploads any changes to an S3 bucket. And in development it compiles over the wire (except r.js, we let requirejs do the async loading thing in development).


Ditto regarding everything up until your last sentence - it is a pretty great setup.

What do you mean it "compiles over the wire" in development? In development, pipeline just renders individual js/css tags for each of your static files, un-compiled...


That when we're developing, you edit a sass file, and when you request the CSS file it compiles the SASS to CSS before serving the file. It has been a little while since I set it all up but I think for the SASS example I've made a gist[1] showing the settings you need to make it work. If I recall correctly the key bit is using the .scss as the source file. Then, in production make sure to set `PIPELINE = True` to stop compiling per request.

[1]: https://gist.github.com/Bockit/5408958


Gotcha


Thanks for your thoughts.

In the "advertisement" posts that I've made on some college/university forums, I've been describing it as a tool to find photos of people you're not Facebook friends with - the "creepy" marketing version if you will.

I also made this demo video, which I admit is extremely amateur but I guess serves the purpose of demonstrating the use of the app (http://www.youtube.com/watch?v=09klp_Lw6w8).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: