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

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Re: How to know if your data has been exposed

Monday, December 23, 2024

Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action immediately. Surfshark Alert does just that. It helps you stay