Migrating to TanStack Query v5
BigBinary Blog
by Gaagul C Gigi
3w ago
TanStack Query is a powerful data-fetchingand state management library. Since the release of TanStack Query v5, manydevelopers upgrading to the new version have faced challenges in migrating theirexisting functionality. While the official documentation covers all the details,it can be overwhelming, making it easy to miss important updates. In this blog, well explain the main updates in TanStack Query v5 and show howto make the switch smoothly. For a complete list of changes, check out theTanStack Query v5 Migration Guide. Simplified Function Signatures In previous versions of React Query, func ..read more
Visit website
Benchmarking caching in Rails with Redis vs the alternatives
BigBinary Blog
by Sandip Mane
2M ago
Recently, we have seen the rise of Redis alternatives. Some of them claimedsubstantial performance gains. We did this benchmarking to see how muchperformance gain one would get by switching from Redis to one of thealternatives. We explored several new contenders like Valkey,DragonflyDB, and DiceDB,which serve as drop-in Redis replacements. We also looked at Rails' ownSolidCache, which challenges in-memorystorage by favoring database-based approach. For this comparison, we included atuned SolidCache for PostgreSQL,as suggested by Andrew Atkinson. We also includedSolidCache with sqlite3,inspired ..read more
Visit website
How to remotely EV code-sign a windows application using ssl.com
BigBinary Blog
by Farhan CK
3M ago
Recently, we built NeetoRecord, a loomalternative. The desktop application was built using Electron. In a series ofblogs, we capture how we built the desktop application and the challenges we raninto. This blog is part 9 of the blog series. You can also read aboutpart 1,part 2,part 3,part 4,part 5,part 6,part 7and part 8. Code-signing allows Windows to verify the identity of an application'spublisher, making it authentic and trustworthy. Additionally, code-signing helpsapplications comply with Windows security policies, avoiding warnings andinstallation blocks, ultimately building user confide ..read more
Visit website
Using native modules in Electron
BigBinary Blog
by Farhan CK
4M ago
Recently, we built NeetoRecord, a loomalternative. The desktop application was built using Electron. In a series ofblogs, we capture how we built the desktop application and the challenges we raninto. This blog is part 8 of the blog series. You can also read aboutpart 1,part 2,part 3,part 4,part 5,part 6 andpart 7. Native modules allow developers to access low-level APIs like hardwareinteraction, native GUI components, or other system-specific features. BecauseElectron applications run across different platforms (Windows, macOS, Linux),native modules must be compiled for each target platform ..read more
Visit website
Requesting camera and microphone permission in an Electron app
BigBinary Blog
by Farhan CK
4M ago
Recently, we built NeetoRecord, a loomalternative. The desktop application was built using Electron. In a series ofblogs, we capture how we built the desktop application and the challenges we raninto. This blog is part 7 of the blog series. You can also read aboutpart 1,part 2,part 3,part 4,part 5 andpart 6. When developing an Electron app, handling permissions for the camera andmicrophone varies from platform to platform. On macOS, apps are denied access tothe camera and microphone by default. To gain access, we must explicitly requestthese permissions from the user. On the other hand, Window ..read more
Visit website
Building deep-links in Electron application
BigBinary Blog
by Farhan CK
4M ago
Recently, we built NeetoRecord, a loomalternative. The desktop application was built using Electron. In a series ofblogs, we capture how we built the desktop application and the challenges we raninto. This blog is part 6 of the blog series. You can also read aboutpart 1,part 2,part 3,part 4 andpart 5. When developing a desktop application, including every feature directly withinthe app is often unnecessary. Instead, we can offload some tasks such aslogin/signup to a web application. And from the web app, create deep-links tothe desktop app. We can also create sharable links that opens specific ..read more
Visit website
How to code-sign and notarize an Electron application for macOS
BigBinary Blog
by Farhan CK
4M ago
Recently, we built NeetoRecord, a loomalternative. The desktop application was built using Electron. In a series ofblogs, we capture how we built the desktop application and the challenges we raninto. This blog is part 5 of the blog series. You can also read aboutpart 1,part 2,part 3 andpart 4. macOS identifies applications that are not code-signed and notarized as beingfrom unknown publishers and blocks their installation. Code-signing allows macOSto recognize the creator of the application. Notarization, an additional step,provides extra credibility and security, ensuring a safer experience ..read more
Visit website
Configuring webpack to handle multiple browser windows in Electron
BigBinary Blog
by Farhan CK
5M ago
When developing desktop applications with Electron, managing multiple browserwindows within a single app is often necessary. Whether we need to displaydifferent types of content or create a more complex user interface, handlingmultiple windows efficiently can be challenging. In this blog, we'll explore how to configure Webpack to manage multiple browserwindows in our Electron application, ensuring that each window operates smoothlyin our project. Configuring Webpack for a Single Browser Window Before diving into the setup for multiple windows, let's first review how toconfigure Webpack for a s ..read more
Visit website
Creating blurred or virtual backgrounds in real-time video in React apps
BigBinary Blog
by Farhan CK
5M ago
Modern tools like Zoom and Google Meet allow us to blur or completely replaceour background in real-time video, creating a polished and distraction-freeenvironment regardless of where we are. This is possible because of advancements in machine learning. In this blog,we'll explore how to achieve real-time background blurring and replacement usingTensorFlow's body segmentation capabilities. Tensorflow body segmentation TensorFlow body segmentation is a computer vision technique that involvesdividing an image into distinct regions corresponding to different parts of ahuman body. It typically empl ..read more
Visit website
Improving search experience using Elasticsearch
BigBinary Blog
by Sayooj Surendran
5M ago
We use Elasticsearch in NeetoCourse for oursearching needs. Recently, we have made some changes to Elasticsearch config toimprove the search experience. In this blog, we will share the changes we madeand what we learned during the process. Definitions These are some of the terminologies in Elasticsearch that we use in this blog. Document: A document in Elasticsearch is similiar to a row in a databasetable. It is a collection of key-value pairs. Index: An index is a collection of documents. It is similar to a databasetable. Indexing is the process of creating the said index, and we canconfi ..read more
Visit website

Follow BigBinary Blog on FeedSpot

Continue with Google
Continue with Apple
OR