Android quick tip: use System.arraycopy()
Well it’s a well known fact that the java native function System.arraycopy() is a useful way to copy one array to another since it is native, but is that also the case for Android? And if so, how much...
View ArticleAndroid development – Custom Animation
Android developers web site provide you with 2 predefined animation techniques which you can use in your applications – Tween animation and frame animation. They are super easy to implement and work...
View ArticleUse Clover to generate code coverage reports of your integration/automation...
Clover is a great tool for generating code coverage reports from your unit tests. It can be executed as a plugin in Eclipse, Maven or Ant. However, not everyone knows that it can also be used to...
View Article4 JavaScript trivia questions that may help you understand the language a bit...
The next 4 Javascript questions may seem easy to some of you, but I am sure that more than a few will get confused. I believe that these 4 simple questions will help you understand a key feature of the...
View ArticleHow to change pages in a web application in the age of HTML5
More and more web sites stop to use the old way of request-response page switches, where each page switch refreshes the entire page in the browser. Instead they refresh just the data and the page...
View ArticleWeb development for mobile
I gave a short lecture at work about web development for mobile. It is an overview of the current trends and technologies with a few suggestions. Hope you enjoy it. Here is the presentation:...
View ArticleChrome extension: Right-To-Left display in Google Calendar
I love Google Calendar, but one thing bothered me about it; sometimes I add events with Hebrew and sometimes even a mixture of both English and Hebrew. Google Calendar doesn’t support it, when...
View ArticleJavaScript encapsulation & the module pattern
Encapsulation is one of the key features of object oriented programming languages. In languages like Java, it is very straight forward concept to implement. Since I know JavaScript is considered an OO...
View ArticlejQuery Deferred – one step closer to desktop apps
Every time I forget why I like jQuery, they keep reminding me. Not too long ago I came across jQuery deferred (even though it was added already in JQuery 1.5) and I immediately liked it. I feel this...
View ArticleBest code convention syndrome
Developers often tend to think that one coding convention is better than another in terms of readability. Some people think that adding a break before the curly braces is more coherent. Some like...
View ArticleHow to properly collect AWS EMR metrics?
Working with AWS EMR has a lot of benefits. But when it comes to metrics, AWS currently does not supply a proper solution for collecting cluster metrics from EMRs. Well, there is AWS Cloudwatch of...
View ArticleThe right way to use Spark and JDBC
A while ago I had to read data from a MySQL table, do a bit of manipulations on that data and store the results on the disk. The obvious choice was to use Spark, I was already using it for other stuff...
View ArticleQuick tip: Easily find data on the data lake when using AWS Glue Catalog
Finding data on the data lake can sometimes be a challenge. At my current workplace (ZipRecruiter) we have hundreds of tables on the data lake and it’s growing each day. We store the data on AWS S3...
View ArticleCoalesce with care…Coalesce Vs. Repartition in SparkSQL
Here is a quick Spark SQL riddle for you; what do you think can be problematic in the next spark code (assume that spark session was configured in an ideal way)? sparkSession.sql("select * from...
View ArticleSpark and Small Files
In my previous post I have showed this short code example: sparkSession.sql("select * from my_website_visits where post_id=317456") .write.parquet("s3://reports/visits_report") And I asked what may be...
View ArticleHibernate, lesson 1 – first encounter
Hibernate is one of the most popular java technologies there is and it seems it is not going anywhere for at least 10 years. If you are a java developer you can’t afford not to know it, at least on the...
View ArticleHibernate, lesson2 – Queries
In the last post I have showed you a very basic example of usage in Hibernate. In this post I would like to show you all the different ways of executing a query while using Hibernate. The examples in...
View Article
More Pages to Explore .....