And djangodash is ended…

June 11th, 2008

And I’ve been 6th. So I won a shared 2 host­ing plan at web­fac­tion and a 12 pack of G33K B33R caf­feinated root beer (still trying to under­stand what this is exactly, anyway) from bawls. Anyway, here fol­lows a short resume of what hap­pened from Sat­ur­day through Tues­day (if you’re asking your­self why it didn’t ended on Sunday, well, keep reading).

The com­pe­ti­tion began very well, I worked nor­mally for the first part of the day but then I had to stop for a while. When I came back, svn and djan­go­dash web­site was not work­ing any­more. I ini­tially thought that it was some con­nec­tion issue but when I saw that other sites were work­ing prop­erly so they def­i­nitely had some problems.

(Con­tinue reading…)

0 Comments, tagged with Coding, Django, Python, Web

Let meet at djangodash

May 4th, 2008

As prob­a­bly many of you already knows, on May 31 will begin the Django dash com­pe­ti­tion. Djan­go­dash is:

[…] is a chance for Django enthu­si­asts to flex their coding skills a little and put a fine point on “per­fec­tion­ists with dead­lines” by giving you a REAL dead­line. 48 hours from start to stop to pro­duce the best app you can and have a little fun in the process.

I’ll be par­tic­i­pat­ing, so if you haven’t reg­is­tered yet, do it now! And don’t forget to check out the cool prizes :)

0 Comments, tagged with Coding, Django, Python, Web

Forcing ImageField width/height in django

March 2nd, 2008

Ultimately I had to force the size of a uploaded image in the django admin area to a fixed dimen­sion of 620x250px. Even if it could look a simple thing, in fact it isn’t.

The main issue is that even if an Image­Field has a width_field/height_field option that refers to (pre­sum­ably) inte­ger fields that will be auto-​filled with the image size, we can’t ran a val­ida­tor across those fields (we can do so only in a form, but my prob­lem was to val­i­date the image in the admin area). So we have to man­u­ally load the image in memory and run a custom val­ida­tor that uses PIL to get the needed infor­ma­tion and val­i­date the image.

(Con­tinue reading…)

0 Comments, tagged with Coding, Django, Web

When the “Python Vs PHP” war matters

February 21st, 2008

Yesterday I had a meet­ing with a cus­tomer about a new site I should develop for them. Since they’re a book pub­lisher, they wanted an online book store. Apart from the tech­ni­cal details (the site isn’t as simple as you may believe, they need a lot of not-so-easy-to-do stuff), the most impor­tant point we focused on is the fact that they have an inter­nal IT tech­ni­cian that han­dles all their com­puter needs. If you’re asking your­self why this mat­ters, keep reading:

  • me (to be precise, my company) stopped development of PHP sites about one year ago in favor of Python
  • we release the web site’s code to them
  • for this project, we haven’t been asked any kind of future support; this means that when the site is finished, we won’t touch the product anymore (unless they don’t pay us to do the modifies they need)
  • but they don’t want to pay us to these modifies, because they have their internal IT technician
  • their technician knows only PHP (and he never even known the Python’s existence until yesterday)

(Con­tinue reading…)

9 Comments, tagged with Coding, Django, PHP, Python, Web

« Previous PageNext Page »

Microblogging

July 29th

twitter (feed #2)
Python's date & time functions are horrible. Really. [krat]
2:31pm via Twitter
twitter (feed #2)
Wondering whether I should buy a new set of hearphones or if I should try to fix the old ones [krat]
11:13am via Twitter

July 28th

twitter (feed #2)
discovered beeseek (http://beeseek.org), looks like a very interesting project [krat]
6:08pm via Twitter

July 26th

twitter (feed #2)
just wrote down some help numbers for my next trip, the most important one being the italy's embassy [krat]
2:12pm via Twitter

July 24th

twitter (feed #2)
that's what I call hot weather [krat]
2:00pm via Twitter

July 23rd

twitter (feed #2)
Looking for an (italian|english)<->bulgarian dictionary [krat]
2:05pm via Twitter
twitter (feed #2)
home, sweet home. [krat]
10:10am via Twitter

July 22nd

twitter (feed #2)
Heading to bulgaria (sunny beach) this summer. Not one of the classical holidays places, that's for sure. [krat]
8:50am via Twitter

July 19th

twitter (feed #2)
I hate hotels. [krat]
2:32pm via Twitter

July 17th

twitter (feed #2)
Back in Italy. Discovered this P3 disgusting thing. Want to go back in Spain. [krat]
12:20pm via Twitter

Powered by Lifestream.

Search

« Authored by Giuliani Vito Ivan »