Nicolas Fränkel

Playwright: My First Steps With the Browser Automation Tool | HackerNoon

In my previous company, I developed a batch job that tracked metrics across social media, such as Twitter, LinkedIn, Mastodon, Bluesky, Reddit, etc. Then I realized I could duplicate it for my own “persona.” The problem is that some media don’t provide an HTTP API for the metrics I want. Here are the metrics I want on LinkedIn: It translates into the following code: from playwright.sync_api import Browser, Locator, Page, sync_playwright with (sync_playwright() as pw):

Read More »

The Home Assistant Companion App: How to Integrate it to Your Device | HackerNoon

Besides a regular webapp and a Mac app, which uses the same endpoints as the webapp, Home Assistant also provides mobile apps. In this post, I want to describe its advantages over the former. I’ll use iOS to do this: Samsung’s French partner to recycle used mobiles tricked me once, and I moved away from Samsung. I decided to buy Apple for better integration since I’ve had Mac computers for the last few years. Installing

Read More »

Adaptive Lighting – An Example of HACS | HackerNoon

In the previous post of this focus, we replaced Philips Hue automation with the one from Home Assistant. One significant gap we noticed was that Home Assistant doesn’t automatically adjust the brightness according to the time of the day, a feature Philips Hue offers. In this post, we are going to address this gap. The first step when wanting to add a feature to Home Assistant is to browse through available integrations. While there was

Read More »
Software

Why Choose Home Assistant? | HackerNoon

Last June, I spoke at Berlin Buzzwords. In all honesty, I rarely attend others’ talks for a variety of reasons: lack of time, lack of energy, no interest in the proposed subjects, etc. When I do, I go either for subjects I know and want to deepen my understanding of or for subjects I know nothing about to get a foot in the door. This time, I attended Monitoring your home, with DevOps observability tools.

Read More »
Software

What You Need to Know About Vaadin – The Battery-Included Server-Side AJAX Framework | HackerNoon

I’ve written a lot about Vaadin. I was so enthusiastic that I wrote the first book about it (besides the Book of Vaadin), its updated edition for Vaadin 7, and a companion website. Still, I’m amazed that so many people in the JVM world never heard of it. In this post, I’d like to introduce Vaadin in the context of AJAX and SSR. A Short Introduction to Vaadin The beauty of Vaadin lies in its

Read More »
Software

How to Server-Side Render With Spring Boot | HackerNoon

Understanding the shared steps in the project setup is crucial before delving into the specifics of each client-augmenting technology. My requirements from the last post were quite straightforward: I’ll assume the viewpoint of a backend developer No front-end build step: no TypeScript, no minification, etc. All dependencies are managed from the backend app, i.e., Maven It’s important to note that the technology I’ll be detailing, except Vaadin, follows a similar approach. Vaadin, with its unique

Read More »
Software

Advanced Routing and Cookie Management with Apache APISIX | HackerNoon

My ideas for blog posts inevitably start to dry up after over two years at Apache APISIX. Hence, I did some triage on the APISIX repo. I stumbled upon this one question: We have a requirement to use a plugin, where we need to route the traffic on percentage basis. I’ll give an example for better understanding. We have an URL https://xyz.com/ca/fr/index.html where ca is country (canada) and fr is french language. Now the traffic

Read More »