~/devreads

28 Jun 2024

1 min read

Learn how we implemented a new timeseries indexing strategy when the amount of data we ingested increased significantly.

27 Jun 2024

Christian Holler 2 min read

Process separation remains one of the most important parts of the Firefox security model and securing our IPC (Inter-Process Communication) interfaces is crucial to keep privileges in the different processes separated. We take a more detailed look at our newest tool for finding vulnerabilities in these interfaces – snapshot fuzzing. The post Snapshots for IPC Fuzzing appeared first on Mozilla…

featured articlefirefoxfuzzingmozillaopen source

26 Jun 2024

25 Jun 2024

1 min read

A quick note: you can use C++11 templates to detect struct fields by name and type, and statically branch on them. I first heard of this solution from breeze1990. Say I want to detect if a struct has a field size of type int. Create two template instantiations of the same name, here HasStaticSize that defaults to false. #include <type_traits>…

Stephen Hood 2 min read

Today we’re proud to announce the next Mozilla Builders project: sqlite-vec. Led by independent developer Alex Garcia, this project brings vector search functionality to the beloved SQLite embedded database. Alex has been working on this problem for a while, and we think his latest approach will have a great impact by providing application developers with a powerful new tool for…

artificial intelligencefeatured articlemozillaaidiscord

Rob 1 min read

When I write integration tests with PHPUnit, I find it helpful use Monolog's TestHandler to check that the logs I expect are generated. It's reasonably common that classes that write to a log take a PSR\Log\LoggerInterface in their constructor and then use that for logging. This usually logs to the error handler for pushing to Sentry or whatnot. This makes…

php

24 Jun 2024

vladmihalcea 1 min read

Introduction In this article, we are going to see how we can map Java Enum to custom values when using JPA and Hibernate. While Hibernate provides several options to save Enum values, having the option to customize this mechanism is even better, as it will allow you to better deal with legacy applications or use cases that require you to…

hibernatecustomenumjpa

Ryan Slama 9 min read

Slack uses cookies to track session states for users on slack.com and the Slack Desktop app. The ever-present cookie banners have made cookies mainstream, but as a quick refresher, cookies are a little piece of client-side state associated with a website that is sent up to the web server on every request. Websites use this…

uncategorizedsecurity

23 Jun 2024

jonskeet 9 min read

Introduction I don’t know much about my blog readership, so let’s start off with two facts that you may not be aware of: I live in the UK. The UK has a general election on July 4th 2024. I’m politically engaged, and this is a particularly interesting election. The Conservative party have been in office … Continue reading Building an…

c#

0xADADA 1 min read

Drawing from Debord and Heidegger, this film examines our subjective experience of time throughout history. It reveals how the relentless pursuit of productivity has shaped society and our perceptions of time, creating a perpetual present driven by an autonomous economy and accelerated by surveillance capitalism. The film explores the societal obsession with busyness and advocates for reclaiming time and leisure…

autonomous-spectacleairspaceperpetual-presentzeitzombieneoliberalism

21 Jun 2024

1 min read

In my studies of the Remez algorithm, I learned about the barycentric Lagrange interpolation formula. The context is finding a polynomial of degree at most $n$ that passes through $n+1$ points $(x_0, y_0), \dots, (x_n, y_n)$. The classical Lagrange interpolation formula is what you’d write down if you “just did it.” $$f(x) = \sum_{i=0}^n y_i \cdot \prod_{j \neq i}\frac{x -…

Javier Liébana 13 min read

In the world of financial services, the bank or financial institution’s relationship with the customer relies on digital trust , which is anchored in two fundamental principles. First, it must ensure the person engaging through digital banking channels is genuinely the individual they claim to be. Second, it must confirm that this person is authorized to complete the intended financial…

feedzaidigital-trustonline-fraud-preventionmachine-learningresearch

20 Jun 2024

Erlang Solutions Team 5 min read

Discover the key trends driving the rapid evolution of digital payments and their impact on the global economy. The post Exploring Key Trends in Digital Payments appeared first on Erlang Solutions.

digital paymentsmongooseim

1 min read

Diffusion models have significantly advanced the fields of image, audio, and video generation, but they depend on an iterative sampling process that causes slow generation.

research

In this course, you'll delve into the fundamentals of networking and concurrency in iOS development. You'll gain a thorough understanding of network communication protocols, asynchronous programming techniques, and best practices for building high-performance iOS apps. This course is designed for beginners who want to gain confidence in the intricacies of networking and concurrency in the context of iOS development.

In this course, you will delve into the intricacies of data flow and data binding in SwiftUI, gaining an understanding of how to seamlessly transfer information between different views. You will also explore state management strategies and data persistence techniques.

The Kodeco Beginning iOS & Swift program provides a comprehensive learning experience guided by experienced industry professionals. Gain the in-demand skills you need to excel in building modern iOS apps using Apple’s revolutionary UI framework, SwiftUI. You’ll begin with an introduction to Apple’s Swift programming language, Xcode, and version control. Once you have the fundamental concepts you will learn SwiftUI…

This course introduces the fundamental concepts of SwiftUI, Apple’s declarative user interface framework for building iOS applications. You'll delve into the world of SwiftUI, learning how to create responsive user interfaces with ease. The course covers essential topics such as views, hierarchies and navigation providing a solid foundation for developing iOS apps.

19 Jun 2024

David Walsh 1 min read

CSS selectors never cease to amaze me in how powerful they can be in matching complex patterns. Most of that flexibility is in parent/child/sibling relationships, very seldomly in value matching. Consider my surprise when I learned that CSS allows matching attribute values regardless off case! Adding a {space}i to the attribute selector brackets will make the attribute value search case…

18 Jun 2024

Rob 1 min read

When writing a shell script recently, I realised that it would be really handy to get the the status code from a curl command in addition to the body. Usually, I call curl like this: body=$(curl -s "http://localhost:8888/") echo "Curl exit code: $?" echo "Body: $body" This works well, but no status code is available as curl's exit code is…

shell scripting

vladmihalcea 1 min read

Introduction In this article, we are going to see how the Hibernate JAVA_TIME_USE_DIRECT_JDBC setting works and what JDBC Driver supports this feature. This setting can be set programmatically, as illustrated by the following Spring Java-based configuration: Or you can set it declaratively in the Spring Boot application.properties configuration file like this: Domain Model To test how the Hibernate JAVA_TIME_USE_DIRECT_JDBC setting…

hibernatejdbclocaldatetimeoffsetdatetimesetting

1 min read

Paf adopted ChatGPT Enterprise across its entire company, with engineers using custom GPTs on a daily basis to speed up routine development tasks. Paf also integrated ChatGPT Enterprise into the grit:lab coding academy (gritlab.ax), training the next generation of software developers using an AI-augmented, systems-architecture mindset from day one. In addition to the wide range of use cases for developers…

story

17 Jun 2024

Rasha Ardati, Mariot Chauvin 1 min read

Recently, colleagues across the product and engineering department, as well as other parts of the organisation, came together for another exciting hack day For our first hack day of 2024 we kicked off with a grand theme around all the major events of the world, including sport and upcoming elections around the world. Hackers played around with the idea of…

David Walsh 1 min read

Working on a web extension that ships to an app store and isn’t immediately modifiable, like a website, can be difficult. Since you cannot immediately deploy updates, you sometimes need to bake in hardcoded date-based logic. Testing future dates can be difficult if you don’t know how to quickly change the date on your local machine. To change the current…

1 min read

Color Health is working with OpenAI to pioneer a new way of accelerating cancer patients’ access to treatment. Their new Cancer Copilot application uses GPT-4o to identify missing diagnostics and create tailored workup plans, enabling healthcare providers to make evidence-based decisions about cancer screening and treatment.

story

16 Jun 2024

34 min read

There've been regular viral stories about ML/AI bias with LLMs and generative AI for the past couple years. One thing I find interesting about discussions of bias is how different the reaction is in the LLM and generative AI case when compared to "classical" bugs in cases where there's a clear bug. In particular, if you look at forums or…

15 Jun 2024

Clément Labbe 10 min read

In a previous blog post—A Simple Kubernetes Admission Webhook—I discussed the process of creating a Kubernetes webhook without relying on Kubebuilder. At Slack, we use this webhook for various tasks, like helping us support long-lived Pods (see Supporting Long-Lived Pods), and today, I delve once more into the topic of long-lived Pods, focusing on our…

uncategorizedkubernetes

14 Jun 2024

13 Jun 2024

vladmihalcea 1 min read

Introduction In this article, we are going to see how the Hibernate WITH RECURSIVE query works and how we can use it to fetch hierarchical data structures. Domain Model Let’s consider we have the following post and post_comment tables: The post_comment child table has a one-to-many table relationship with the parent post table via the post_id Foreign Key column in…

hibernatecterecursivewith

Serverless Team 1 min read

Discover the power of Serverless Framework V.4! Native TypeScript support, revamped Dev Mode, and seamless integration with HashiCorp Terraform and Vault. Enjoy faster development, enhanced security, and powerful new features like advanced AWS Lambda logging. Get started now via GitHub or npm.

news

Stanko 6 min read

If you encountered a case where you wanted to run multiple commands in parallel, the usual suggestion is to use the shell's & operator to send commands to the background. This approach kind of works, but it has its quirks. I often ended up with a process hanging in the background, multiple outputs being mangled, or the output of some…

12 Jun 2024

Jitendra Kumar 4 min read

Introduction In today’s world, effective communication plays an important role in the success of businesses and organizations. With the rise of mobile devices and messaging, businesses continue to find new ways to connect and interact with customers. Gupshup is an interactive platform that provides a powerful API that allows businesses to connect resources in their applications, websites or systems. In…

gupshupwhatsapp-marketinglead-generation

Jitendra Kumar 4 min read

What is Socket.io ? Socket.IO is a server-side library for nodejs that enables low-latency , bidirectional and event-based communication between a client and a server using client-server architecture while it is a wrapper around WebSockets For Node.js, it is super easy and simple to use especially when dealing with chat messages or Real-time data. Socket Client-Server Architecture How persistent bi-directional…

Jitendra Kumar 6 min read

In the dynamic world of web development, where user experience reigns supreme, having a web application that functions seamlessly even in offline mode is no longer a luxury but a necessity. Enter service workers — the unsung heroes behind the scenes, making this magic possible. In this blog post, we’ll delve into the world of service workers, exploring what they…

Anuj Saini 2 min read

2D image (left), 3D rendered image (right) Are you looking to breathe life into your 2D floorplans and visualise them in immersive 3D? With the power of Blender and our innovative process, you can seamlessly convert flat blueprints into dynamic 3D models. Follow along as we unveil the secrets behind this transformative journey. Step 1: Manual Tracing The journey begins…

housingsocietyproperty3dhome

MapTiler (Jaroslav Polacek) 1 min read

MapTiler Engine 13.3 has been released! This latest version brings great new features that help you to open and process your data faster, and merge two or more tilesets together.

11 Jun 2024

Will Haltom 6 min read

What happens when you push to GitHub? The answer, “My repository gets my changes” or maybe, “The refs on my remote get updated” is pretty much right—and that is a really important thing that happens, but there’s a whole lot more that goes on after that. To name a few examples: Pull requests are synchronized, meaning the diff and commits…

Rob 1 min read

I recently released a new version of rst2pdf. We don't do this frequently and it would be very easy to get it wrong. As a result, we have a RELEASE_PROCESS.rst document in our repo that provides a step-by-step list of what to do. I can't emphasise enough how useful such a document is and every project should have one and…

development

10 Jun 2024

8 Jun 2024

7 Jun 2024

6 Jun 2024

1 min read

I added Twitter syndication, and because I have nothing to test it with I’ll share some random life updates. My daughter was born recently, which means I’m on paternity leave for a few months. Hopefully in the liminal hours of sleep training, I’ll have some time to work on my book. Or at least catch up on reading. I finally…

Courtney Webster 3 min read

The June 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include an experimental Python REPL with Intellisense and syntax highlighting, and pytest improvements on the testing rewrite. Keep reading to learn more! The post Python in Visual Studio Code – June 2024 Release appeared first on Microsoft for Python Developers…

python

5 Jun 2024

This learning path is a comprehensive overview of networking and concurrency in Kotlin. In this learning path, users will learn how to run operations in the background and communicate over the network using common libraries and data formats.

4 Jun 2024

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 week is this article from Gergely Orosz about designing and scaling Bluesky. You will learn about favoring flexibility,…

newsletterhibernatejavajpapostgresql

Rob 4 min read

My accountant recently moved my business accounts system over to FreeAgent. One thing I like to do is keep a copy of every invoice PDF that I issue in a folder on my computer as a back up, just in case the online systems let me down. As I was learning new systems, I took advantage of this time to…

shell scripting

3 Jun 2024

Stephen Glass 3 min read

GitHub Actions 🤝 GitHub for iOS The GitHub iOS and GitHub Actions macOS runner teams are integral parts of each other’s development inner loop. Each team partners on testing new runner images and hardware long before the features land in the hands of developers. GitHub Actions has been working hard at bringing the latest Mac hardware to the community. Apple…

lukaseder 1 min read

A cool standard SQL:2003 feature is the aggregate FILTER clause, which is supported natively by at least these RDBMS: The following aggregate function computes the number of rows per group which satifsy the FILTER clause: This is useful for pivot style queries, where multiple aggregate values are computed in one go. For most basic types … Continue reading Emulating SQL…

sqlaggregate functionsfilterfilter clausejson

31 May 2024

Tarek Ziadé 9 min read

Firefox 130 will introduce an experimental new capability to automatically generate alt-text for images using a fully private on-device AI model. The feature will be available as part of Firefox’s built-in PDF editor, and our end goal is to make it available in general browsing for users with screen readers. The post Experimenting with local alt text generation in Firefox…

artificial intelligencefeaturefeatured articlefirefoxinference

30 May 2024

jgamblin 2 min read

The Last 100+ Days The NVD posted the notice below on its webpage in mid-February. Since then, nearly 13,000 CVEs have not been enriched with CWE, CVSS, and CPE data. The vulnerability management community was told that it would be addressed at Vulncon this year. At the conference, we were told the enrichment would restart “in the next couple of…

uncategorized

Erlang Solutions Team 13 min read

In the concluding part of our blockchain series, explore how the seven core principles of blockchain are transforming businesses. The post 7 Key Blockchain Principles for Business appeared first on Erlang Solutions.

blockchain

29 May 2024

vladmihalcea 1 min read

Introduction In this article, we are going to see how the Hibernate ON CONFLICT DO clause works, and how we can use it to execute an SQL UPSERT statement in a portable way. Upsert As I explained in this article, if you have this use case where you need to either INSERT or UPDATE a table record based on whether…

hibernatejpamergemysqlon conflict

1 min read

MavenAGI is a new software company for the AI era. They recently launched an AI customer service agent, built on the flexibility of GPT-4, which a number of companies like Tripadvisor, Clickup and Rho are already using to save time and better serve their customers.

story

1 min read

The Atlantic is announcing a strategic content and product partnership with OpenAI, which positions The Atlantic as a premium news source within OpenAI. The Atlantic’s articles will be discoverable within OpenAI’s products, including ChatGPT, and as a partner, The Atlantic will help to shape how news is surfaced and presented in future real-time discovery products.

company

28 May 2024

Rob 2 min read

One thing that I like to do is write a script for seemingly trivial things that I do more than once. I do this as it turns out that I end up needing them again. One example is a pair of script I use when testing rst2pdf. rst2pdf's tests work by creating a PDF and then comparing this to a…

shell scripting

27 May 2024

1 min read

Become a generalist engineer early in your career to build a strong foundation, then specialize later for expertise and impact. Learn how!

26 May 2024

137 min read

From 2011-2012, the FTC investigated the possibility of pursuing antitrust action against Google. The FTC decided to close the investigation and not much was publicly known about what happened until Politico released 312 pages of internal FTC memos that from the investigation a decade later. As someone who works in tech, on reading the memos, the most striking thing is…

24 May 2024

8 min read

I needed a bit of a break from “real work” recently, so I started a new programming project that was low-stakes and purely recreational. On April 21st, I set out to see how much of a Unix-like operating system for x86_64 targets that I could put together in about a month. The result is Bunnix. Not including days I didn’t…

23 May 2024