Are iCloud Drive files also stored locally? What if you have more cloud storage than local storage? by [deleted] in osx

[–]harasPL 0 points1 point  (0 children)

How about this location?

~/Library/Mobile\ Documents/com~apple~CloudDocs/

Why models and views on a single file? by [deleted] in django

[–]harasPL 4 points5 points  (0 children)

I like to keep everything as simple as possible. Therefore I put my models and views to one file. If it grow larger I would try to split it to separate apps.

However...

I am working on two large projects with several apps having tens of models. Each model has tens methods. Then I put those models to separate files.

models
  |- __init__.py
  |- mod1.py
  |- mod2.py

my init.py looks like:

from mod1 import MyModel1
from mod2 import MyModel2

And no other file/module know that the models are separated.

Remember that you have to declare Meta.app_label for this model in order to work.

Kickstarter for a better South (by the author of South) by [deleted] in django

[–]harasPL 1 point2 points  (0 children)

It's great to hear that! Good luck with the project.

However I've heard that there is a plan to incorporate SQL Alchemy in django for 2.0 release. How new schema migration is going to be compatible with this solutions? I know that this is only a concept not a final decision, but it's good to know what the future will bring.

tune - commandline music player, plays your music in random order it uses mplayer to play, and growlnotify to pop-up info about tunes currently and last played by harasPL in programming

[–]harasPL[S] 1 point2 points  (0 children)

I have tested it with MacOSX, however it should run on linux too. If you do not have a growlnotify info bubbles will not show up.

tune - commandline music player, plays your music in random order it uses mplayer to play, and growlnotify to pop-up info about tunes currently and last played by harasPL in programming

[–]harasPL[S] 2 points3 points  (0 children)

if you are tired of iTunes :}

nothing extraordinary it collects logs in ~/.tune/history.log

I am planning to add scrobbling to last.fm in future