Upload single file to FTP with PhpStorm

To upload a single file to the FTP, or a group of files, this is what you have to do. Go to:

Tools -> Deployment -> Configuration...

Press the plus + to add a new configuration. Give it a name and select its type. Fill then all the info for the connection.

When finished, press the test button to check if the configuration is correct, and then go to the Mappings tab to see if all paths are filled.

You can then select a file in the project browser, and click on it with the secondary button to do:

Deployment -> Upload to <server name>

Watch order for Monogatari Series anime episodes

[UPDATE 2]: Added Owarimonogatari.

[UPDATE]: Added Hanamonogatari and Tsukimonogatari.

With already four completed seasons, another to be aired later this year and a movie that will premiere sometime in the future, it can get a little confusing what is the correct order to watch all Monogatari episodes. These are the most common proposals:

By airing date:

1. Bakemonogatari (15 episodes)
2. Nisemonogatari (11 episodes)
3. Nekomonogatari: Kuro (4 episodes)
4. Monogatari Series Second Season (26 episodes)
5. Hanamonogatari (5 episodes)
6. Tsukimonogatari (4 episodes)
7. Owarimonogatari
8. Kizumonogatari (Premiere date not confirmed)

By chronological order:

1. Kizumonogatari
2. Nekomonogatari: Kuro
3. Bakemonogatari
4. Nisemonogatari
5. Owarimonogatari (Ougi Formula, Sodachi Riddle, Sodachi Lost)
6. Monogatari Series Second Season
7. Tsukimonogatari
8. Hanamonogatari

And lastly, I will propose a third option. This one follows the publishing order of the light novels by Nisio Ishin.

By light novel publishing date:

1. Bakemonogatari
2. Kizumonogatari
3. Nisemonogatari
4. Nekomonogatari: Kuro
5. Monogatari Series Second Season (Nekomonogatari (Shiro), Kabukimonogatari)
6. Hanamonogatari
7. Monogatari Series Second Season (Otorimonogatari, Onimonogatari, Koimonogatari)
8. Tsukimonogatari
9. Owarimonogatari

Use BeautifulSoup with Spyder

I have been trying various IDE for working with Python on my Mac and I have finally decided for using Spyder. I would be using Ninja IDE since I had previous experience with it in Windows and Linux, but for whatever reason, it has no compiled build for Mac, and I was not in the mood to try and build it myself from source code, so I'm going with Spyder.

I'm linking it quite a bit. Al least for the simple projects I'm working on it's more than enough. I'm also using the BeautifulSoup library to extract web page info, and after following the installation instructions in it's web page, my script in Spyder did not find the library.

After a little research, problems seems to be that Spyder uses it's own version of Python, so it could not detect the Python libraries I had installed. To solve it, we have to tell Spyder to use the Python we have installed. We go to:

Spyder -> Preferences… -> Console -> Advanced settings

Then we select the Use the following Python interpreter option, and in my case, the path is /usr/bin/python

Blog sobre programación, Japón y chorradas varias