While doing my freelancer projects I keep on monitoring what frameworks are out there. I have been working with Java for many years but have landed on PHP as smaller projects are much faster and easier to get off the ground. The more I observe Google Trends the more obvious it gets that Laravel isRead more about Which framework to use in PHP[…]
Thinking, Fast and Slow by Daniel Kahneman is a very long with book 533 pages and it is packed tight of useful scientific text. Although this book is a goldmine it takes a long time to process. Once you have finished reading this book you know all of the most common judgement errors that everyoneRead more about Thinking fast and slow[…]
Recently I helped a company to build e-commerce website with Magento. She had existing shops already and she uses Erply with almost 10000 items which she wanted to import into e-shop.
Even though Erply and Magento both are market leaders then importing the data from Erply to Magento was poorly supported. I took existing github project, forked it, upgraded to magento connect version and fixed many issues in it. It is still not fully stable but usable, expert help is still advised. You download the plugin from here https://github.com/smartman/magento-integration
Simplest way to integrate Erply and magento is to:
- Install Erply plugin from Magento Connect service http://www.magentocommerce.com/magento-connect/erply-inventory-management-for-magento-1.html
- Download source of fixed plugin from https://github.com/smartman/magento-integration/archive/master.zip
- Copy/merge folders design, code and etc from magento-integration-master/erply/app/ to app folder in your magento installatation. This overwrites old broken files.
Issues fixed are:
- Missing price, description and some other fields import
- Fixed big number of product import
- Fixed category import
- Many more small things
Issue with large number of product import was that it takes very long time. PHP script execution may time out and process never finishes. Read more about Simple Erply and Magento integration plugin …
What is the biggest problem causing many great people not to start successful startups? The answer is making the first step out of safety of good salary and into uncertainty with no income. How government can help to resolve the problem? It is actually very easy, support similar to unemployment benefits will help. Here isRead more about Best measure to get more successful startups.[…]
Lets say you are running low budget campaign and new ad starts to perform really well. You want to increase budget to take use of it but if you do it without thinking then you will jsut waste your money. I had Facebook campaign and it was running 2EUR a day. Ad for my latestRead more about Never do sudden changes in Google or Facebook ads[…]
Paypal error messages are very unfriendly. It can say “Timeout processing request” without delay like 2012-12-20 19:45:34 INFO – Paypal call: https://api-3t.sandbox.paypal.com/nvp?VERSION=74.0&USER=username&PWD=12345&SIGNATURE=12345&METHOD=SetExpressCheckout&RETURNURL=http%3A%2F%2Fttawidget.dev%2Findex.php%2Fpayments%2Fpaypal%2Fsuccess&CANCELURL=http%3A%2F%2Fttawidget.dev%2Findex.php%2Fpayments%2Fpaypal%2Fcancel&L_PAYMENTREQUEST_0_AMT=2.00&L_PAYMENTREQUEST_0_ITEMAMT=2.00&L_PAYMENTREQUEST_0_CURRENCYCODE=EUR&L_PAYMENTREQUEST_0_DESC=payment+description 2012-12-20 19:45:34 INFO – PayPal call response: Array ( [TIMESTAMP] => 2012-12-20T19:45:34Z [CORRELATIONID] => cdea44429896f [ACK] => Failure [L_ERRORCODE0] => 10001 [L_SHORTMESSAGE0] => Internal Error [L_LONGMESSAGE0] =>Read more about Paypal [L_SHORTMESSAGE0] => Internal Error [L_LONGMESSAGE0] => Timeout processing request[…]
Most important thing in every new release is the rollback procedure. Once you discover issues in new version then you need to be able to swithc back to previous version until you work on a fix. I have developed shell script to handle the automated deployment process and which allows quick and simple rollbacks if there are no database changes that dont allow easy rollback. Main idea is to
- download code from SVN, GIT or similar
- copy all code to new folder
- replace all configuration with environment related conf
- use symlink to switch between code versions
Here is example script that handles the automated deployment for you Read more about Application code deployment from SVN with fast and simple rollback …
Importance of software testing=quality assurance=QA cannot be stressed enough. Here is experience from my startup regarding good quality testing process.
The goal of testing is to guarantee that the released code does not contain any critical issues. This is contrary to understanding that this is just finding as many defects as possible. There are 2 main types of testing: a) testing new features and bug fixes b) regression testing to validate that old code is still working.
When issue is discovered then it is important that it will be very easily understandable and reproducible. Making extra effort to report issues in understandable format means that development team will be able to fix the issue much faster. Recommended format for reporting bugs is: Read more about Quality software testing guidelines (for startups) …
I have a few webapps where I am using google login. When you are running the app in different domain then you will get error like Error:redirect_uri_mismatch The redirect URI in request: http://mywebsite.com/ did not match registered redirect URI. Also you might want to create new app for google oauth2 login. Anyway it is forRead more about Error: redirect_uri_mismatch – Reset google authentication oauth api secret[…]
If you are running Ubuntu virtualbox guest then you cannot access the shared folder under /media/shared with regular user. However you can fix this by adding your user to vboxsf additional group.
Important! make sure you append the additional group so that other groups are not removed! Run te command below as exactly as seen and replace you username. If the permission is not applied immediately then reboot.
usermod -a -G vboxsf username
In case you forgot flag -a then it is bad but not hopeless 🙂 Read more about Access virtualbox shared folders from Ubuntu and fix ruined ubuntu installation. …