Programmer Weekly - Programmer Weekly - Issue 185

View this email in your browser

Programmer Weekly

Welcome to issue 185 of Programmer Weekly. Let's get straight to the links this week.
Quote of the Week 

"There are two methods in software design. One is to make the program so simple, there are obviously no errors. The other is to make it so complicated, there are no obvious errors." - Tony Hoare


Reading List

Zero downtime Postgres upgrades
We recently upgraded from Postgres 11.9 to 15.3 with zero downtime by using logical replication, a suite of support scripts, and tools in Elixir & Erlang’s BEAM virtual machine. This post will go into far too much detail explaining how we did it, and considerations you might need to make along the way if you try to do the same.

Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
While Large Language Models (LLMs) exhibit versatile capabilities, they often produce harmful and biased content, exemplified by human-designed jailbreaks. This study introduces Tree of Attacks with Pruning (TAP), an automated approach utilizing tree-of-thought reasoning to iteratively refine prompts, requiring only black-box access to the target LLM. TAP assesses and prunes prompts before sending them, demonstrating superior effectiveness in generating jailbreaks for state-of-the-art LLMs with minimal queries, surpassing previous black-box methods.

You are never taught how to build quality software
Learning how to build quality software is not part of computer science education. How do we learn it?

GPU-Accelerated Fractal Explorer
Using OpenGL's compute shaders to dispatch fractal computation to the GPU and render in realtime.

Postgres Language Server: implementing the Parser
A detailed analysis of our iterations to implement a Parser for Postgres.

Mounting git commits as folders with NFS
The article explores the concept of representing Git commits as folders in a filesystem, providing insight into the similarities between Git commits and folders. The author discusses the challenges faced and the motivation behind creating a project called git-commit-folders, which allows the mounting of filesystems using both FUSE and NFS, offering an experimental approach to understanding the underlying structure of Git. The article also mentions the existence of other similar projects such as giblefs, GitMounter, and git9 for Plan 9, and reflects on the practicality and utility of the project.

The quiet plan to make the internet feel faster
Engineers and major companies are pushing a technology called L4S that they say could make the web feel dramatically faster. But how?

Upgrading GitHub.com to MySQL 8.0
This is the story of how we upgraded our fleet of 1200+ MySQL hosts to 8.0. Upgrading the fleet with no impact to our Service Level Objectives (SLO) was no small feat–planning, testing and the upgrade itself took over a year and collaboration across multiple teams within GitHub.

Best Practices for Query Optimization on PostgreSQL
Explore the optimization of PostgreSQL queries using tactics such as efficient indexing and partitioning and judicious use of data types.

Explaining ChatGPT to Anyone in <20 Minutes
Distilling the core components of generative LLMs into an accessible framework.


Watch and Listen

Vector Search RAG Tutorial – Combine Your Data with LLMs with Advanced Search
Learn how to use vector search and embeddings to easily combine your data with large language models like GPT-4. You will first learn the concepts and then create three projects.

Demystifying Kubernetes Resource Management
During this talk, we'll explore Kubernetes resource management, including its basics, best practices, and real-world situations. We'll discuss how requests and limits simplify Linux kernel capabilities and affect Kubernetes scheduling. We'll cover Quality of Service (QoS) classes, explaining how Kubernetes measures usage and handles node pressure. Finally, we'll demonstrate how to use Resource Quotas and Limit Ranges to manage large-scale Kubernetes deployments.

DevSecOps Tutorial | CI Pipeline with GitHub Actions and Docker Scout
This video serves as a comprehensive introduction to DevSecOps, illustrating its integration of security throughout the software development lifecycle. Emphasizing automation through tools like Chef compliance and GitHub actions, it provides practical insights into security checks, Docker image scanning, and the significance of vulnerability management, offering valuable guidance for those looking to enhance their skills in DevSecOps.

Using SRE to Solve the Obvious Problems
Laura Nolan, Principal Software Engineer at Stanza, shares expertise with Corey on Screaming in the Cloud about leveraging SRE to prevent significant production delays. She emphasizes addressing major issues over day-to-day challenges, discusses the impact of system transparency on new engineers, and explains her dedication to opposing companies like Google involved in inefficient government target selection during conflicts.


Books

Data Engineering Design Patterns
The book is a work in progress, with the author planning to release new chapters steadily and integrate feedback to create a comprehensive resource on data engineering design patterns. The book aims to explore how design patterns can help data engineers solve common challenges, providing insights into problem statements, solutions, implementations, use cases, advantages, limitations, variations, relationships to other patterns, best practices, and further reading.


Interesting Projects, Tools and Libraries

MemoryCache
An experimental development project to turn a local desktop environment into an on-device AI agent.

Rinf
Rust for native business logic, Flutter for flexible and beautiful GUI.

headscale
An open source, self-hosted implementation of the Tailscale control server.

SecureAI-Tools
Private and secure AI tools for everyone's productivity. 

rot
Future proof secrets management. 

trippy
A network diagnostic tool.

netfetch
Kubernetes CLI tool for scanning clusters for network policies and identifying unprotected workloads.

kftray
The application simplifies the process of initiating and terminating multiple port forwarding configurations through a user-friendly interface.

daedalOS
Desktop environment in the browser.
 
Our Other Newsletters
Python Weekly - A free weekly newsletter featuring the best hand curated news, articles, tools and libraries, new releases, jobs etc related to Python.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
Copyright © 2023 Programmer Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.ProgrammerWeekly.com

Our mailing address is:
Programmer Weekly
Brooklyn
Brooklyn, NY 11228

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Programmer Weekly - Issue 184

Thursday, December 7, 2023

View this email in your browser Programmer Weekly Welcome to issue 184 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Software is eating the world, but AI

Programmer Weekly - Issue 183

Thursday, November 30, 2023

View this email in your browser Programmer Weekly Welcome to issue 183 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "When you feel the need to write a

Programmer Weekly - Issue 182

Thursday, November 23, 2023

View this email in your browser Programmer Weekly Welcome to issue 182 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Dynamic typing: The belief that you

Programmer Weekly - Issue 180

Thursday, November 9, 2023

View this email in your browser Programmer Weekly Welcome to issue 180 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Beyond basic mathematical aptitude,

Programmer Weekly - Issue 179

Thursday, November 2, 2023

View this email in your browser Programmer Weekly Welcome to issue 179 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Rarely is anyone thanked for the work

You Might Also Like

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer