As said over and over again, Google’s genious is no bring tecnhology to masses and make it easily, promptly and free os costos for everybody. They’re business model moves around the number of users, as all advertising business models normally do.
Everybody nows about they’re new feature in Google Maps, the Street View, this enable business to show their brick and mortar stoe-ront to prospective customer and let you navigate you easily. But what if you played some games like monopoly or “Buscando Prostutitas con el Street View” (Searching for sluts with Street View)?
One of the fanciest things in Magento is the uploader in Flash, allowing you to upload multiple files and giving you nice upload status bar. You can find it in Catalog > Products > Images
The file upload is triggered via an AJAX call and you can pass whatever variables you want.
As a functionality for my employer, Widetail, passing the selected store (”Choose Store View” in the upper left corner) because I want to upload files to different directories according to the selected store view.
First in the Block file app/code/core/Mage/Adminhtml/Block/Media/Uploader.php which constructs the file File Uploader Widget:
Around line :45 replace: $this->getConfig()->setParams(array('form_key' => $this->getFormKey()));
by $this->getConfig()->setParams(array('form_key' => $this->getFormKey(), 'storeId' => Mage::helper('adminhtml/catalog_product_edit_action_attribute')->getSelectedStoreId()));
Browse to the Controller which is executed by the AJAX call, app/code/core/Mage/Adminhtml/controllers/Catalog/Product/GalleryController.php, and around line :37.
public function uploadAction()
{
$result = array();
request the parameters you passed before with:
public function uploadAction()
{
Mage::register('widetail_store_id',$this->getRequest()->getParam('storeId'));
$result = array();
In case you need some debugging here, make a cold print and you’ll get a Javascript pop-up in the adminpanel after uploading an image.
Google keeps surprising us. They’re next toy is Google Auto-Captions… it basically uses speech-to-text technology from Google Voice and brings it to the millions of YouTube videos. It can also be combined with Google Translator resulting in an array of subtitle languages. It is isn’t perfect but it’s better than nothing, for sure.
This brings me to mind the two distinct beliefs towards an universal language, some belive that with time, we will be able to understand each other using a dominant language, let’s say English or Spanish, or via some lingua franca, like English and Chines with some bits of Spanish and other languages, as we travel and mingle more with other cultures.
Others, like myself, believe there won’t be a need for that, machines will be able to translate from and to any targeted language. All emails written in English will be presented to me in Portuguese and I will be able to pick up a German customer phone call and hear only English if I am pleased.
I hope this new Google product brings more sense to this reality.
If you just want to check some code out of Magento Extensions or you don’t give a shit about Magento Connect you should use PEAR installer, the underlying system managing our ecommerce framework of election.
Just get to your terminal and move to your Magento root directory and list the PEAR channels. Remember we are executing Magento local PEAR file not your general system one…
$ cd ~/public_html/magento/
$ ./pear list-channels
as you can see there is no mention to Magento in your registered PEAR channels. So add this:
$ ./pear mage-setup
$ ./pear list-channels
and finnaly “download” or even “install” you extension. $ ./pear download magento-community/you_extension_key_here
$ ./pear install magento-community/you_extension_key_here
If you wish to upgrade your Magento to the last version why not:
The way Apple runs the App Store has harmed their reputation with programmers more than anything else they’ve ever done. Their reputation with programmers used to be great. It used to be the most common complaint you heard about Apple was that their fans admired them too uncritically. The App Store has changed that. Now a lot of programmers have started to see Apple as evil.
How did Apple get into this mess? Their fundamental problem is that they don’t understand software.
and I completely agree with it. Since two years ago I have converted myself from a life time Windows user to an Apple fan and by far their policy with the iPhone applications is what bugs me most.
Also by far, the iTunes and now Apple Store have been their golden egg’s chicken:
Developers get 70 percent of any revenue they make from app sales, with the remaining 30 percent going to Apple.
most surprising, or not, Nokia lanched Nokia Store, grabbing the same 30% of the sale value but:
In contrast to Apple’s previous App Store approval policy, Savander says Nokia will reject “objectionable” content, such as porn, but won’t block services that compete with its own products.
Well… it was 2007 and I was in Germany. By then I already knew everything will be web-based. Forget about MS Office and Windows being sold in big card boxes. Everything is uploaded and downloaded… So finally you have it:
Use a team of three for version 1.0
For the first version of your app, start with only three people. That’s the magic number that will give you enough manpower yet allow you to stay streamlined and agile. Start with a developer, a designer, and a sweeper (someone who can roam between both worlds).
Informamos que a Associação de Estudantes da Faculdade de Ciências da U.Porto (AEFCUP) vai organizar na próxima quinta-feira, 19 de Novembro, uma palestra sobre Voluntariado Jovem, com a presença de responsáveis das associações GAS`África e Ataca. Esta sessão é aberta a toda comunidade académica, especialmente àqueles que gostavam de viver uma experiência de voluntariado num país africano.
Nesta sessão, os participantes vão ficar a conhecer os vários projectos promovidos pelas duas instituições de solidariedade convidadas, um pouco por toda a África. Será também uma oportunidade para ouvir o testemunho de voluntários que já passaram por este tipo de projectos e, quem sabe, seguir-lhes o exemplo.
O GAS`África é um grupo de acção social ligado à Universidade Católica Portuguesa, composto por jovens estudantes dos mais variados cursos e faculdades. Actualmente, promove projectos de voluntariado em Angola, Moçambique, Guiné-Bissau e S. Tomé e Príncipe e em Portugal (na ilha da Madeira).
A Ataca é uma associação de solidariedade social sem fins lucrativos que “visa o desenvolvimento humano das regiões do mundo mais desfavorecidas, nomeadamente em África”. Com vários projectos a decorrer em Moçambique, promove igualmente o Projecto Tutor à Distância (PTàD), iniciativa que visa mobilizar cidadãos portugueses a tornarem-se Tutores à Distância (TàD) de uma criança ou jovem africanos.
A palestra terá lugar pelas 22h00, no Anfiteatro 0.41 do Departamento de Biologia da FCUP (Rua do Campo Alegre).
A entrada é livre.
Veja o cartaz.
Well, everybody sayd life is about giving and taking… why don’t you something back for a change?
All items take the following time measured in developer-hours.
2, 4, 6, 8, 12, 16: These increments work for 80% of feature additions.
Anything over 16 hours proceeds in increments of 8 until 40 hours. 24, 32, 40
After 40 hours 1 week of one developers time, start to increase by 12.
This is because anything over a week now has a higher probability of being affected by outside sources now. I can easily shield any developer on my team from outside distractions for 1 week, but its impossible to push off a person entirely after that. You may absolutely need them for something else with a higher priority or deadline.
After crossing 60 hours, I increase by 16 hours at a time.
We usually stop at 120 hours.
Very few projects get estimates past 80 hours anymore, but its not impossible. After 120 hours, we break the project into smaller, more digestible pieces of 80 hrs and under. I recently estimated a very large project at 300 developer hours, but it was really 3-4 smaller projects of 60-100 hours each. With practice you will find natural ‘breaks’ in a project for estimates. Maybe its database, back-end, and front-end. Etc…