пятница, 9 октября 2009 г.

Rewrite everything

Somewhere in the middle of June or so, our great strategic group decided that we'll be writing all the new components on c#. Yeah, we were writing everything on VB.Net or even worse - on VB6 before. Almost none of us have written on c# before, so the group hadn't met this decision with a lot of enthusiasm.

Till September we hadn't got any c# components. Moreover - we've got a brand new one on... guess what? VB6! :)

But since then we've some kind of avalanche in our team - since the first c# thing was just introduced (at the end of September), we've a couple of ideas about rewriting several - 2 or 3 - of our old stuff on c#! And those ideas were accepted! In spite of the thing, that we are running out of time with our upcoming project! :)

Who can explain the reasons for that? :)

пятница, 2 октября 2009 г.

Alter Radio

Started tweaking the page that controls our internet-radio.

For some reason DJ Random - almost random playlist generator - started playing very good music since then :)


..btw jQuery autocompleter has a disgusting feature - after you've chosen an item from a list you can't submit a form by hitting an enter or clicking on a submit button. Only when you do click a second time the form is submitted.

Realy ugly. I wish I had time to find/integrate something similar but without this nice "feature"

среда, 30 сентября 2009 г.

File not found but downloaded

Imagine that you have a path to video file in your database. That file downloads perfectly through the web-face, but your mencoder-wrapper fails to convert it.

Both wrapper-script and web-face take the path from the same place/field/table/database/row/whatever :)

Detailed look at the logs from mencoder and... file not found!

Try downloading again and take a preciser look at the url:

http://altervideos.ru/video/Theatre%20of%20Tragedy%20-%20Let%20You%20Down.MPG

Nothing strange. Really?

Except that "%20" are not the converted spaces :) They were stored as is in the database! For sure real file-name was with spaces and my browser automatically converted them back to spaces also!