Общо показвания

юли 26, 2011

One bg

Омръзна ми от регистрации и пароли.

След като jobs.bg са били така велики да създадат one.bg  с цел разширяване на моите бизнес и професионални контакти и са ми написали е-мейл, уведомявайки ме, че съм им присърце, задето ползвам jobs.bg, защо ги е домързяло да направят import линк към one.bg, така че да не се налага на ново да пиша кой съм, с какво се занимавам, къде живея, в коя сфера работя и тям подобни. Нали уж сте едно, какво пречи да се внесат тези данни от другата платформа? Или твърде сложно ви става заданието?

Мързел? Недодяланост? Безхаберие?

Ами няма да се запиша в новия ви сайт! Оправете си го и може да си помисля. Може би, ама надали!

Особено предвид, че наскоро ме накарахте да се регистрирам на ново за да ми се обнови профила към новата ви система!

юли 22, 2011

On script loaders

There is a lot of discussion going on on JavaScript loaders recently.

It is a bit unclear to me how the authors and supporters of this or that loader claim theirs is best, while none of them is doing something more than loading files that are previously 'required'.

Here is what I am talking about:

Usually a loader library/script is used like this:

  • Describe my dependencies 
  • Require my dependencies
  • Run a script when my dependencies are loaded
This is exactly the same as just stating your dependencies in JSON format and load them one after another if you know your stuff (i.e. you know which file depends on which, this is usually the case by the way, because you need to know this to describe the dependencies in the first place). All those fancy loaders come down to simple iteration over list of files and loading them. Some of them try to be smarter and try to load "dependencies" and even check if the dependency is met when the file is loaded (RequireJS for example). Still, this is exactly the same because most developers do not separate each function in a file, instead the functionality is grouped. You end up with a big big description of global objects and its structures for 3 or 4 files. Too much work.

What I really expect to see coming is a loader, that based on actual usage loads the required module(s). This would mean:
  • load scripts only when they are used (and not at the start, in some cases they might never be used in the application if its runtime)
  • catch missing object references and postpone the execution for the time when the module is loaded, then re-run it
This is of course more complicated, but still would be really nice. Maybe some day.

юли 06, 2011

Make your Apple products nicer

If you, for some reason, have been insanely stupid lately and purchased an Apple laptop or tablet, still you can make most of it. By using these stickers!

The last one is probably the original, but I like the zombie ones! You can purchase them on Etsy