Tips for Meaningful Interviews with Developers

Lately I’ve been recruiting people for our Front-End team at Up2 Technology. I am quite satisfied with the process so I decided to share it with you. This is a non-extensive list with the guidelines I’m trying to follow in order to have an interviewing process satisfying for both me and the people applying. Empathy… Continue reading Tips for Meaningful Interviews with Developers

AWS S3 and it’s informative errors – 404, “NoSuchUpload”

I’m continuing with my exploration in the AWS world 🙂 For the last couple of days, I have been occasionally receiving the weird error “NSuckUpload” when I try to either upload a part to an S3 Multipart upload or try to complete the upload with given UploadId. S3 Multipart Upload is the way you upload… Continue reading AWS S3 and it’s informative errors – 404, “NoSuchUpload”

Node.js Streams and why sometimes they don’t pause()

TL; DR:  If you pipe your node.js streams, make sure you pause the last one in the chain. The longer story: We’re building a node.js application that ingests data from multiple data sources for a client of ours. Since they are quite big in size and in user base (we’re going to process data for… Continue reading Node.js Streams and why sometimes they don’t pause()

Testing with Jest in a node and ReactJS monorepo (and getting rid of environment.teardown error)

Big number of the applications we develop have at least one ReactJS UI, that is held in one repo and an API, held in another. If we need to reuse some part of the code, we do so by moving it to another repository and adding it as a git submodule For our latest project… Continue reading Testing with Jest in a node and ReactJS monorepo (and getting rid of environment.teardown error)

The new react hooks useShiny

Recently a new proposal have been released to the ReactJS community – for React Hooks.  Roughly, the React Hooks are new ways to utilize the react features, that were previously available only via the JS class syntax.  I cannot hide my excitement for the hooks because they: Simplify the code that is written Make the… Continue reading The new react hooks useShiny

JS variable loaded using wp_localize_script is no longer available

TL;DR: Call the wp_localize_script after registering/enqueuing the script you are localizing. Recently (WP 4.1.4 / WP 4.2) my ajax scripts stopped working. I’ve noticed that it was caused by the fact that the variable for the ajax_url was undefined so for some reason it ws no longer loaded to the page. The reason turned out… Continue reading JS variable loaded using wp_localize_script is no longer available

Retrieving data from a form created with Contact Form 7

If you want to get the data from a form created with Contact Form 7 you can use the ‘wpcf7_before_send_mail’ hook. In your functions.php or from your plugin add action like follows: add_action( ‘wpcf7_before_send_mail’, ‘my_plugin_wpcf7_before_send_mail’ ); function my_plugin_wpcf7_before_send_mail ( $contact_form ) { // TODO: get the data } Since version 3.9 Contact Form 7 removed $contact_form->posted data so… Continue reading Retrieving data from a form created with Contact Form 7