~/devreads

13 Mar 2023

10 Mar 2023

vladmihalcea 1 min read

Introduction In this article, we are going to see what is the best way to use the amazing SQL NOWAIT feature that allows us to avoid blocking when acquiring a row-level lock. Since all the top major database support this functionality, Hibernate offers a NOWAIT option that allows you to render the proper database-specific syntax associated with this feature without…

sqlblockingfor updatelockingno wait

9 Mar 2023

Ole Begemann 1 min read

I rarely participate actively in the Swift Evolution process, but I frequently refer to evolution proposals for my work, often multiple times per week. The proposals aren’t always easy to read, but they’re the most comprehensive (and sometimes only) documentation we have for many Swift features. For years, my tool of choice for searching Swift Evolution proposals has been Karoy…

Peter Bengtsson 10 min read

Until recently, the site-search on GitHub Docs was an in-memory solution. While it was a great starting point, we ultimately needed a solution that would scale with our growing needs, so we rewrote it in Elasticsearch. In this blog post, we share how the implementation works and how you can impress users with your site-search by doing the same. How…

8 Mar 2023

lukaseder 1 min read

DiagnosticsListener improvements A lot of additional diagnostics have been added, including the automated detection of pattern replacements, helping you lint your SQL queries irrespective of whether you’re using jOOQ to write your SQL, or if you’re using it as a JDBC / R2DBC proxy for an existing application. A lot of these diagnostics are available … Continue reading 3.18.0 Release…

uncategorized

7 min read

This is not my usual blog fodder, but there’s too much material here for even a Mastodon thread. The basic question is why assorted early microcomputers—and all of today’s computers—use 8-bit bytes. A lot of this material is based on personal experience; some of it is what I learned in a Computer Architecture course (and probably other courses) I took…

7 Mar 2023

Akash Vishwakarma 4 min read

Make your reports faster: A beginner’s guide to Tableau Optimisation In today’s world, given the pace at which data operates, we need a tool that can help us to generate reports faster and bring out insights within milliseconds. In order to solve this challenge, several companies have started utilising a few Business Intelligence (BI) tools such as Tableau/Power BI/Superset/Looker/Qlikview, etc.…

tableaudatadata-analysisdata-visualizationreporting

Darryn Campbell 1 min read

PubNub offers two solutions for event-driven processing: Events & Actions and Functions, both of which are useful in different circumstances

Rob 2 min read

TL;DR: If someone sees you enter your passcode on your phone and then steals your phone, they can lock you out of your Apple account, losing access to all your iCloud data, including photos. Treat your phone passcode as carefully as the secret it is. The problem I heard about "A Basic iPhone Feature Helps Criminals Steal Your Entire Digital…

computing

6 Mar 2023

David Walsh 1 min read

A user’s clipboard is a “catch all” between the operating system and the apps employed on it. When you use a web browser, you can highlight text or right-click an image and select “Copy Image”. That made me think about how developers can detect what is in the clipboard. You can retrieve the contents of the user’s clipboard using the…

5 Mar 2023

3 Mar 2023

Omari Thompson-Edwards 5 min read

What is the Context API? The Context API lets developers pass data down the component tree without having to use props. It is a way to share data across multiple components without having to pass props through each level of the component hierarchy, i.e. to avoid “Prop Drilling” The Context API consists of two parts: […]

next.js

Omari Thompson-Edwards 4 min read

Next.js is a popular open-source framework used for building web applications with React. One crucial aspect of web applications is authentication and authorization, which can be a complicated process to implement. This is where Auth0 steps in. Auth0 is a cloud-based identity platform that simplifies the process of adding authentication and authorization to web applications. […]

next.js

Omari Thompson-Edwards 2 min read

Optional chaining is a powerful feature introduced in TypeScript 3.7. It lets you safely access properties and methods of an object without having to worry about the object being null or undefined. This can help prevent runtime errors and make code more concise and readable. The Problem One of the most common problems in programming […]

typescript

2 Mar 2023

Courtney Webster 3 min read

The March 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes "back" and "cancel" support for the "Create Environment" command, isort no longer being shipped by default with the Python extension, improvements to the kernel picker experience in Jupyter, and the Python for VS Code team as guests on the Python…

python

Ferenc Hámori 10 min read

Learn how we use GPT-based products as tools in a professional webdev setting. The post ChatGPT use case examples for programming appeared first on RisingStack Engineering.

ai

lukaseder 1 min read

jOOQ 3.15 introduced the concept of an ad-hoc converter, a converter that is applied “ad-hoc” to a single query. It uses the same underlying mechanisms as any ordinary Converter that is attached to generated code for use in every query. An example of such an ad-hoc converter is this: While there are other ways to … Continue reading How to…

jooq-in-usead-hoc converterconverterjooqmultiset

1 Mar 2023

vladmihalcea 1 min read

Introduction Welcome to a new issue of the High-Performance Java Persistence Newsletter in which we share articles, videos, workshops, and StackOverflow answers that are very relevant to any developer who interacts with a database system using Java. Articles The pick of this edition is this article that explains why an SQL Server query executed by an application can have a…

newsletterhibernatejavajpamysql

28 Feb 2023

Omari Thompson-Edwards 2 min read

When developing TypeScript applications, you may need to delay the execution of a function for a certain amount of time. Delaying function execution can be useful for a variety of reasons, such as waiting for an animation to complete or for an API request to finish. In this article, I’ll show you how to delay […]

typescript

Omari Thompson-Edwards 5 min read

Hey there! If you’re a web developer, you know that navigation bars are a crucial part of any website. In this article, I’ll show how you how to build a nav bar in Next.js, from setting up your project to creating components styling with TailwindCSS, and animations with Framer Motion. Setting Up First, we’ll need […]

next.js

Marianne McDonough Chrisos 1 min read

To build anything, you need tools. To solve problems, you need solutions. From building a security infrastructure to modernizing our networks to accelerating digital transformation – everything requires a bridge to take us from here to there. We live in a world of resources, and we take advantage of the solutions that present themselves as […] The post Embrace SASE…

products services

27 Feb 2023

Ole Begemann 2 min read

Foundation overloads the pattern matching operator ~= to enable matching against error codes in catch clauses. catch clauses in Swift support pattern matching, using the same patterns you’d use in a case clause inside a switch or in an if case … statement. For example, to handle a file-not-found error you might write: import Foundation do { let fileURL =…

1 min read

In this article I’ll derive a trick used in FHE called sample extraction. In brief, it allows one to partially convert a ciphertext in the Ring Learning With Errors (RLWE) scheme to the Learning With Errors (LWE) scheme. Here are some other articles I’ve written about other FHE building blocks, though they are not prerequisites for this article. Modulus Switching…

26 Feb 2023

24 Feb 2023

lukaseder 1 min read

One of the more frequent questions about jOOQ is how to write a derived table (or a CTE). The jOOQ manual shows a simple example of a derived table: In SQL: In jOOQ: And that’s pretty much it. The question usually arises from the fact that there’s a surprising lack of type safety when working … Continue reading How to…

jooq-in-usesqlctederived tablejooq

23 Feb 2023

ericlippert 3 min read

Before getting into the details of how my combinator-inspired source code transformation system works, I should say first, what is a general overview of the system? and second, why did I build it at all? In my experience, a typical … Continue reading →

uncategorized