Location service is a crucial capability of mobile devices. While enjoying all the advantages like direction service, checking the nearest inventory during online shopping, I am always concerned about how much and how detailed my data is collected. Using a VPN or turning off location service is insufficient to completely protect our identity and cause lots of hassle.
Today we will explore how to use the Web API to access the geolocation and get rid of being tracked by tech providers.
The wave of Web 2.0, alongside the advance of mobile devices and the Internet infrastructure a decade ago, embraced a new paradigm of creating web and mobile application. It has changed our digital life to the next level, so do the skills we’ve learnt and used.
While technologies keep evolving rapidly, digital citizens have been accumulating a broad spectrum of skills throughout the journey. It is a challenge to match skills among job hunters and employers. …
Kubernetes has gained tremendous popularity and becomes the de-facto container orchestration tool because it provides load balancing, auto-scaling, automatic redeployment, health checking, and most important, vendor agnostic.
It empowers micro services shops to run zero-downtime application and became a crucial skill for developers. Nonetheless, the learning curve of Kubernetes is steep, not only because of the giant ecosystem and complex architecture but also the high monetary cost of provisioning infrastructure. Minikube is helpful to simulate how Kubernetes works on a local machine. It is the best for development but not ideal if you want to experiment on a real multi-node…
If you haven’t read Part 1, I strongly encourage you to work out the groundwork with it.
In Part 2, we’re going to power it up with a practical and fascinating function to impress your audience by presenting your remarkable achievement visually.
Section 1: Menu bar
Section 2: Popup window
Section 3: A small tidy-up
Section 4: Custom domain
The recruitment domain has been advancing by more accurate employers and employees matching using Machine Learning algorithms in recent years. Ridiculously when we get into the details of the candidates, the information presented in the old A4 MS Word format is still enormously popular.
Google Doc is a viable option to create a blank new CV. Unfortunately, if you have been working for a while, updating the current CV written in MS Word is a more direct approach. However, transforming formats from one tool to others can screw you up when you manage the sophisticated page break, section break, header…
Get rid of the dependencies with ease
Importing libraries to extend software capabilities is a productive approach in development. As described in the DRY (Don’t Repeat Yourself) principle, it is not sensible to reinvent the wheels in most cases. Building application with libraries makes much sense. However, in TDD, testing your functions depending on third party libraries could be tricky if it lacks planning.
Let’s warm up by writing a simple Typescript function to hit an external REST service SpaceX-API and retrieve the response’s name attribute. We will leverage the popular Rest library ‘Axios’ and ride on the get() function…
In 2021 one of our team priorities is to move toward Serverless architecture. It is tricky to build the unit tests on top of the AWS services. It dragged me a couple of hours to figure out the most comfortable way to mock the DynamoDB functionality.
aws-sdk-mock has a pretty detailed readme and examples for a quick start. The approach is intuitive and clean. When I messed around it in Typescript and Jest, there were a few hiccups that paused me a while without a useful error message. Then I realized that the order of invocation caused unexpected behavior.
以手機為例，當你撳相機快門一刻，相片除左記低影像之外，還有一大堆資料，叫做Exif，Exchangeable image file format。以下係用 verexif.com 示範查看Exif。