Authentication in web apps using an Estonian ID card with Nginx is pretty straightforward (although quite unstable). Initial setup Simple ID card authentication boils down to: Enable One-Way TLS on your main domain (e.g. app.example.com) Enable Two-Way TLS on a secondary domain (e.g. id.example.com) using the ID card certificate chain. Redirect user from main site […]
Assigning static IP address for Google App Engine
Why? GAE(Google App Engine) is a great choice for developers who want to build and deploy applications in a minute. Thanks to a fully managed serverless platform, you are free from the painful server configuration for deployment as well as automatic scaling. But there is a problem that comes with the cost. Google App Engine […]
SQL Query Performance Optimization
Need of Optimization In most IT systems, the database is an integral part. Data needs to be processed from databases to actually use it — and SQL is the standard interface language used to query the Database for data. Most of the time, SQLs written to communicate with the Database are simple, easy and fast. […]
Using Emscripten/WebAssembly in web workers and interacting with native C/C++ code concurrently
What problem are we trying to solve? JavaScript runs in a single thread per web-page in the browser. This limitation prevents CPU intensive work on client side (encoding/decoding, complex calculations, etc…). Let’s see how WASM and WebWorkers help pull through these problems by porting native C/C++ libraries to the web and interact with them concurrently. […]
Frontend testing focused on behavior rather than implementation
Most of our projects use codecov.io to check code coverage and improve review process. But high code coverage value itself is not telling anything about quality of the code and tests, so we always try to improve the way we test our products. You can read about our mutation testing practices and in this article […]