Accessibility can enhance the usability for all users, including those with low vision, blindness, hearing impairments, cognitive impairments, motor impairments or situational disabilities (such as a broken arm). In addition to soft input methods (such as on-screen keyboards), Android supports physical keyboards attached to the device. A keyboard offers not only a convenient mode for […]
PySpark Word2Vec – Lessons Learned – Part 3
Another setting that I had to change was the spark.driver.maxResultSize. While training the Word2Vec model, Spark job threw a SparkException “Job aborted due to stage failure: Total size of serialized results of x tasks (y MB) is bigger than spark.driver.maxResultSize (z MB)“. This usually happens during the collect stage as the driver needs more memory. […]
PySpark Word2Vec – Lessons Learned – Part 2
The next setting that I had to change was the spark.rpc.message.maxSize. This was changed when I got the following error. Serialized task XXX:XXX was XXX bytes, which exceeds max allowed: spark.rpc.message.maxSize (XXX bytes). Consider increasing spark.rpc.message.maxSize or using broadcast variables for large values. This error comes if there is large data that is being exchanged […]
PySpark Word2Vec – Lessons Learned – Part 1
Training a language model is an art by itself. There are several factors to consider. I am sharing my experiences as lessons learned here. Model I used PySpark Word2Vec. Data The dataset that I used for training my language model was the CFPB Complaints data. In compressed parquet format this came to about 100 MB. […]
Difference between upload key and app signing key in Android!
Hi all As an android developer publishing to Google Play Store is just another hiccups to solve. I’m sure we all have dealt with many error messages and did some trial and error method to resolve it. Today I going share about the difference between App signing key and Upload key which is often assumed to be the same. Let’s talk about Upload […]
iPhone models, comparing XS, XS Max and XR
The new iPhone models are out. To compare the 3 models XS, XS Max and XR, this link from Apple is a good source. For the average user, this is the summary of key differences: Size XS = 5.8 inch XS Max = 6.5 inch XR = 6.1 inch Screen XS & XS Max = […]
Confused about the latest iPhone models?
Apple is very famous for keeping things simple. Or at least that used to be the case. Even with earlier iPhones, things were simple, iPhone 3, 4, 5 etc. Then came the world of Plus from iPhone 6. Things got slightly complex. Today with launch of new models today, we have iPhone X, Xr, Xs, […]