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

JSK Daily for May 4, 2024

Saturday, May 4, 2024

JSK Daily for May 4, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Daily Coding Problem: Problem #1431 [Medium]

Saturday, May 4, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by MongoDB. Given a list of elements, find the majority element, which appears more than

Ranked | The World's Top Media Franchises by All-Time Revenue 📊

Saturday, May 4, 2024

From Pokémon to Star Wars, some media franchises are globally recognizable. How do media franchises compare in terms of all-time revenue? View Online | Subscribe Presented by Voronoi: The App Where

Noonification: Read Code Like a Hacker With the SAST

Saturday, May 4, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 4, 2024? The HackerNoon Newsletter brings the HackerNoon

Weekend Reading — May the fourth

Saturday, May 4, 2024

This week we setup our new Minecraft server, play Spacewar, avoid burnout, wonder about Facebook AI spam, lose our passkeys, and claim stairs on the way back home. 😎 Labnotes (by Assaf Arkin) Weekend

Google lays off workers

Saturday, May 4, 2024

Plus: Tesla cans its Supercharger team and UnitedHealthcare reveals security lapses View this email online in your browser By Kyle Wiggers Saturday, May 4, 2024 Image Credits: Tomohiro Ohsumi / Getty

When It Rains, It Pours ☔

Saturday, May 4, 2024

Why the umbrella's design can't be beat. Here's a version for your browser. Hunting for the end of the long tail • May 04, 2024 Hey there, Ernie here with a refreshed piece about umbrellas

🐍 New Python tutorials on Real Python

Saturday, May 4, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Python's unittest: Writing Unit Tests for

Microsoft Outlook Flaw Exploited by Russia's APT28 to Hack Czech, German Entities

Saturday, May 4, 2024

THN Daily Updates Newsletter cover Webinar -- Data Security is Different at the Petabyte Scale Discover the secrets to securing fast-moving, massive data sets with insights from industry titans

Stop spam texts today!

Saturday, May 4, 2024

Have you been receiving a ton of spam texts lately? In April alone, spammers sent out over 19.2 billion texts. Ever wonder where they get your info to begin with? Data brokers. They sell your address,